﻿/* Editable pagelets UI styles */

.pagelet-layout {
    background-color: #FFF;
}

.pagelet-vstack {
    float: left;   
    min-height: 150px;
}

.pagelet-vstack.last {
    margin-right: 0;
}

.pagelet {
    position: relative;
    margin: 0 0 20px 0;    
    border: 1px solid #4B6C9E;
    background: white;
}

.pagelet .pagelet-header {
    padding: 5px 10px;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFF;
    background: #4B6C9E;
}

.pagelet .pagelet-content {
    padding: 10px;
    color: #444;
    
}
.pagelet .pagelet-resizable-content {
    min-height: 130px;
    overflow: auto;
}

.pagelet .pagelet-resizable-content .ui-resizable-s {
    bottom: 0;
}

.pagelet .pagelet-header.white {
    color: #000;
    background: transparent;
}

.pagelet .pagelet-images {
    width: auto;
}

.pagelet .pagelet-img {
    overflow: hidden;
    vertical-align: bottom;
    height: 100px;
}

.pagelet .pagelet-img img {
    display: block;
}

/* Admin options */

.pagelet .pagelet-options {
    
}

.pagelet .pagelet-options .btn {
    margin: 7px 10px;
    display: inline-block;
}

.pagelet-common-options {
    margin-bottom: 10px;
}

.pagelet-common-options .pagelet-add-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 1em;
    font-weight: bold;
    color: #FFF;
    background: #4B6C9E;
    text-decoration: none;
}

.pagelet-common-options .pagelet-add-btn:hover,
.pagelet-common-options .pagelet-add-btn:active {
    background: #839abc;
}

.pagelet-common-options .pagelet-color-picker {
    position: relative;
    display: inline-block;
    margin-left: 20px;
    padding: 7px;
    vertical-align: middle;
}

.pagelet-common-options .pagelet-color-picker .label {
    display: block;
    float: left;
    clear: none;
    margin: 10px 0;
}

.pagelet-common-options .pagelet-color-picker .picker {
    display: block;
    width: 30px;
    height: 28px;
    margin: 4px 0 0 4px;
    float:left;
}


/* Drag features */

.pagelet-drag-handle {
    cursor: move;
}

.pagelet.ui-sortable-helper {
    box-shadow: 1px 0 10px #666;
}

.pagelet-drop-placeholder {
    margin: 0 0 20px 0;
    min-height: 150px;
    border: 1px solid #999;
    background: #eee;
}

/* Simple themes */
/* inline-header */
.pagelet.inline-header .pagelet-header {
    color: #000;
    background: transparent !important;
}

/* alert-message */
.pagelet.alert-message {
    border-color: #d50000 !important;
}

.pagelet.alert-message .pagelet-header {
    background: #d50000 !important;
}


/* Icons */
.pagelet-icons {
    float: right;
    clear: left;
    _position: absolute;
    margin-right: -7px; /* To cover the necessary header margin */
}

.pagelet-icon {
    display: inline-block;
    float: left;
    width: 20px;
    height: 20px;
    cursor: pointer;
    text-align: center;
    margin: 0 3px 3px 0;
}

.pagelet-icons [class^="icon-"],
.pagelet-icons [class*=" icon-"] {
    background-image: url("images/glyphicons-halflings-white.png");
    margin: 2px auto;
}

.pagelet.inline-header .pagelet-icons [class^="icon-"],
.pagelet.inline-header .pagelet-icons [class*=" icon-"] {
    background-image: url("images/glyphicons-halflings.png");
}

/* Content styling */

.pagelet-content p {
    margin-top: 0;
    margin-bottom: 7px;
}

/* Images gallery */
.image-thumbs {
    margin: 10px 0 5px;
}

.image-thumbs .thumb {
    position: relative;
    float: left;
    width: 70px;
    height: 70px;
    margin: 0 5px 5px 0;
    overflow: hidden;
    background: #ddd;
}

.image-thumbs .thumb .thumb-options {
    position: absolute;
    width: 70px;
    top: 0;
    left: 0;
}

.image-thumbs .thumb .thumb-options [class^="icon-"],
.image-thumbs .thumb .thumb-options [class*=" icon-"] {
    margin: 2px auto;
    cursor: pointer;
}

.thumb-options-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    height: 20px;
    margin: 0 0 3px 3px;
    text-align: center;
    width: 20px;
    background: #000000;
    opacity: 0.5;
}

.thumb-options-icon:hover {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

/* Image table */
.image-table {
    border: none;
}

.image-table tr,
.image-table td {
    border: none;
    padding: 0;
}

.image-table tbody tr {
    border-bottom: 1px dotted #aaa;
}

.image-table .thumb {
    width: 70px;
    height: 70px;
    margin: 5px 0;
    overflow: hidden;
}

.image-table .cell-thumb {
    width: 90px;
}

.image-table .cell-sizes {
    color: #999;
}

.pagelet-icons .pagelet-colorpicker  {
    background: none;
    height: auto;
    width: auto;
  
}
.image-table .cell-options {
    
}
.colorpicker-ckeditor {
    position: absolute;
}
.pagelet-layout-selector {
    display: inline-block;
}

.thumb-selectable{
    cursor: pointer;
    border-style:solid;
    border-width:3px;
    border-color:transparent;
}

.thumb-selectable:hover {
    border-color:black;
}

.pagelet-resize-icon{
    height: 16px !important;
    width: 16px !important;
    left: 50% !important;
    bottom: 0px !important;
    z-index: 1001 !important;
    position: absolute;
    font-size: 0.1px;
    display: block;

}

.pagelet-imageuploadmsg {
    background-color: #fffaf0;
    background-color: rgba(255, 250, 240, 0.7);
    border: thin solid black;
    margin: 12px 3px 10px 4px;
    padding: 10px;
}



.pagelet-selectimage section {
    visibility: visible; 
    padding: 20px; 
   border: thin solid black;
    margin: 12px 3px 10px 4px;
    background: whitesmoke; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #f5f5f5 30%, #cbccfe 79%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(30%,#f5f5f5), color-stop(79%,#cbccfe)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, #f5f5f5 30%,#cbccfe 79%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #f5f5f5 30%,#cbccfe 79%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #f5f5f5 30%,#cbccfe 79%); /* IE10+ */
    background: linear-gradient(135deg, #f5f5f5 30%,#cbccfe 79%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#cbccfe',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.pagelet-selectimage section h3  {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 whitesmoke;
    border-color: -moz-use-text-color -moz-use-text-color gray;
    -webkit-border-image: none;
    -moz-border-image: none;
    -ms-border-image: none;
    -o-border-image: none;
    border-image: none;
    border-style: none none dotted;
    border-width: 0 0 thin;
    margin: -10px -10px 6px;
    padding: 3px 3px 4px 10px;
}

.pagelet-imagelist {
	rgb(100,​ 149,​ 237)	rgb(100,​ 149,​ 237)
}

#frmPagelet div.editor-block {
    background-color: whitesmoke;
    position: relative;
}

#frmPagelet .editor-block .editor-label {
    float: left;
    width: 20%;
}

#frmPagelet .editor-block .editor-field {
    float: right;
    width: 80%;
}