.form_errors{

}
.ui-state-highlight div{
    display: block;
    height: 100%;
}


.wrapTable .ui-state-highlight,
.scrollbox .ui-state-highlight{
    background: #fffa6f !important;
}

select.jsMultioption{
    display: none;
}

.form-group .ui-state-highlight {
    /*Comento esto porque crea conflicto con el datepicker del calendar de holidays*/
    /*min-height: 185px;*/
}
.ui-sortable-helper,
.form-group .ui-sortable-helper {
    opacity:.6;
}


#contentMain .mce-branding-powered-by{
    display: none !important;
    opacity:0 !important;
    visibility: hidden !important;
}

.social .controls > div{
    margin-left: 39px;
}

.social .controls > div:before{
    position: absolute;
    top: 1px;
    left: 1px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    background: #4e68b9;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 31px;
    text-align: center;
    font-size: 15px;
    border-radius: 30px;
}
.social.facebook .controls > div:before{
    content: "\f09a";
}
.social.twitter .controls > div:before{
    content: "\f099";
    background: #1da1f2;
}
.social.googleplus .controls > div:before{
    content: "\f0d5";
    background: #db4437;
}
.social.youtube .controls > div:before{
    content: "\f167";
    background: #c51a1e;
    font-size: 21px;
}
.social.pinterest .controls > div:before{
    content: "\f0d2";
    background: #bd081c;
}
.social.flickr .controls > div:before{
    content: "\f16e";
    /*background: #1c9be9;*/
    background: #ff0084;
}

.social.linkedin .controls > div:before{
    content: "\f0e1";
    background: #1d87be;
}

.social.instagram .controls > div:before{
    content: "\f16d";
    background: -webkit-radial-gradient(circle farthest-corner at 35% 90%, #fec564, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(circle farthest-corner at 0 140%, #fec564, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, rgba(0, 0, 0, 0)), -webkit-linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
    background: radial-gradient(circle farthest-corner at 35% 90%, #fec564, rgba(0, 0, 0, 0) 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, rgba(0, 0, 0, 0) 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, rgba(0, 0, 0, 0) 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, rgba(0, 0, 0, 0) 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, rgba(0, 0, 0, 0) 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, rgba(0, 0, 0, 0) 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, rgba(0, 0, 0, 0)), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}

.social.telegram .controls > div:before{
    content: "\f2c6";
    background: #0aa8d2;
}
.social.whatsapp .controls > div:before{
    content: "\f232";
    background: #2fc303;
}


.scrollbox .ui-state-highlight2 {
    float: left !important;
    background: #fffa6f !important;
}
.ui-sortable-helper,
.scrollbox .ui-sortable-helper {
    opacity:.6;
}


/*SCROLLBOX*/
.scrollbox {
    clear: both;
    display: block;
    height: 350px;
    border: 1px solid #eee;
    overflow: auto;
    background: #f9f9f9;
    -moz-box-shadow:    inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow:         inset 0 0 10px #000000;
}

.scrollbox .item{
    position: relative;
    /* width: 25%; */
    /* float: left; */
    padding: 0;
    overflow: hidden;
    background: #fff;
}
.scrollbox .item .complexCell{
    padding-top: 6px;
    padding-right: 22px;
}
.scrollbox a.modalLink{
    display: block;
    font-size: 11px;
    color: rgb(68, 68, 68);
    line-height: 16px;
    position: absolute;
    cursor: move;
    top: 14px;
    left: 23px;
    right: 23px;
}

.scrollbox img{
    border: 2px solid #fff;
    float: left;
    width: 50px;
    /* cursor: pointer; */
    height: auto;
}

.scrollbox img:hover{
    /* border-color: #0f0; */
}


.scrollbox .handle{
    top: 0;
    left: 0;
    /*width: 100%;*/
    height: 82px;
    margin-top: 0;
    margin-left: 0;
    border: 1px dotted #aaa;
    position: relative;
    cursor: move;
}



.scrollbox .bool{
    position: absolute;
    top: 6px;
    width: auto !important;
    margin: 0;
    right: -12px;
    text-align: left;
    display: inline;
    display: block;
}

.handle i.fa-arrows{
    background: none !important;
    color: #999 !important;
    cursor: move;
}
.handle:hover i.fa-arrows{
    color: #000 !important;
}
.scrollbox .handle .fa-arrows{
    left: 2px;
    position: absolute;
    top: 3px;
    z-index: 9999999;
}


.scrollbox .control_group_checkbox label {
    float: none !important;
    display: block !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    margin-left: 16px !important;
}
.scrollbox .control_group_checkbox input {
    position: relative;
    float: left;
    padding: 0;
    top: 9px;
}
.scrollbox .control_group_checkbox {
    clear: both;
    overflow: hidden;
    height: 28px;
    line-height: 28px;
    padding: 0 4px;
    white-space: nowrap;
    display: block;
    position: relative;
    margin-left: 6px;
}

.scrollbox .ui-state-highlight{
    /*display: none !important;*/
}

.scrollbox > div:nth-child(odd){
    /*background: #E4EEF7;*/
}



.scrollbox_removeline {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    z-index:99;
    cursor: pointer;
    color: #999;
    border-radius: 53px;
    font-size: 14px;
    opacity: 1;
    font-weight: normal;
    line-height: 15px;
    display: inline-block;
    text-align: center;
}
.scrollbox_removeline:hover{
    color: #000;
    text-decoration: none;
}

.scrollbox .control_group_radio {
    float: none !important;
    margin: 0 !important;
}



/*RELATED TO MANY*/
.related_to_many_controls .scrollbox {
    margin-top: 20px;
    padding: 3px;
}


.ui-autocomplete .ui-menu-item{
    overflow: hidden;
    cursor: pointer;
}
.ui-autocomplete .ui-menu-item img{
    float: left;
    margin-right: 3px;
    max-width: 48px !important;
    max-height: 48px !important;
}

.ui-autocomplete.ui-menu .ui-menu-item a{
    line-height: normal;
    overflow: hidden;
    padding: 0 3px 3px 3px;
    font-size: 11px;
}

.ui-autocomplete .ui-menu-item.ui-state-focus{
    background: #efefef;
    border: none;
}

/*SELECT MULTIPLE*/
.selectMultiple {
    width: 370px;
    height: 84px !important;
}


/* EL FINDER MULTIPLE */
.elfinder_multiple_img_cnta {
    float: left;
    position: relative;
    border: 1px solid white;
}
.elfinder_multiple_img_cnta i{
    display: none;
}
.elfinder_multiple_img_cnta:hover {
    border-color:#aaa;
    cursor: pointer;
}
.elfinder_multiple_img_cnta:hover i{
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}
.elfinder_multiple_img_cnta.s {
    border-color:#444;
}


/* RADIO */
.control_group_radio label,
.control_group_radio_img label {
    cursor: pointer;
    display: inline-block !important;
}



.control_group_checkbox label{
    display: inline-block !important;
    position: relative;
    top: 2px;
    margin-left: 5px;
}



.control_group_checkboxes.horizontal .control_group_checkbox{
    float: left;
    margin-right: 25px;
}



/* BOXES REPEATED */
.ft_boxes_repeated .box2{
    margin-left: 0;
    margin-bottom: 20px;
}




.control_group_elfinder_multiple .btn{
    float: right;
}


.control_group_checkbox_img,
.control_group_radio_img{
    width: 100px;
    float: left;
    margin-right: 27px;
    border: 1px solid #d6d6d6;
    /* padding: 10px; */
    background: #fff;
    height: 100px;
    margin-bottom: 10px;
}
.control_group_radio_img input[type="checkbox"],
.control_group_radio_img input[type="radio"]{
    float: left;
    position: absolute;
    top: -10000px;
    display: n;
}
.control_group_radio_img .JSimageModal{

}
.control_group_checkbox_img img,
.control_group_radio_img img{
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%) translateX(-50%);
}

.control_group_checkbox_img label,
.control_group_radio_img label{
    width: 100px;
    height: 100px;
    text-align: center;
    margin: 0px;
    overflow: hidden;
    position: relative;
}

.control_group_checkbox_img input:checked + label,
.control_group_radio_img input:checked + label{
    border: 4px solid #007ead;
}


.ft_agroupated_repeated_btns {
    float: right;
    margin: 10px 0;
}



.control_group_elfinder_doc .btn{
    float: right;
    margin-left: 10px;
    height: 34px;
    /* line-height: 25px; */
    padding: 0 15px;
}
.control_group_elfinder_doc div {
    overflow: hidden;
}



.control_group_uploadfile .btn{
    float: right;
    margin-left: 10px;
    height: 25px;
    line-height: 25px;
    padding: 0 15px;
}
.control_group_uploadfile div {
    overflow: hidden;
}

.fileupload_btn input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    direction: ltr;
    cursor: pointer;
}
.fileupload_btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
}


input[disabled="disabled"]{
    background: #ccc !important;
    color: #fff !important;
}

optgroup {
    background-color: gray;
    color: red;
}
option {
    background-color: white;
    color: black;
}
optgroup + optgroup {
    border-top: 1px solid black;
}

.control-group_color_picker .minicolors-swatch{
    top: 1px;
    width: 28px;
    left: 1px;
    height: 30px;
    border: none;
    border-right: 1px solid #efefef;
    cursor: pointer;
}
.control-group_color_picker .minicolors-swatch:hover{
    opacity: 0.7;
}
.control-group_color_picker .minicolors-input{
    padding-left: 42px !important;
}
.control-group.clear{
    clear: both;
}

.related_to_one_controls > div:first-child,
.related_to_one_controls > input:first-child,
.related_to_one_controls > select:first-child{
    width: 74px !important;
    float: right;
}



.related_to_one_controls div:last-child,
.related_to_one_controls > input:last-child{
    margin-right: 74px !important;

}




control-group.bgGrey{
    background: #eaeaea;
}



.control_group_radios_images{
    overflow: hidden;
}

.control_group_radios_buttons {
    padding: 0 0;
}
.control_group_radios_buttons input[type=radio] {
    display: none;
    width: 0px;
    height: 0px;
}
.control_group_radios_buttons > div {
    display: inline;
}
.control_group_radios_buttons label {
    display: -moz-inline-box;
    -moz-box-orient: vertical;
    display: inline-block;
    vertical-align: middle;
    vertical-align: auto;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    text-shadow: white;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #888), color-stop(100%, #bbb));
    background: -webkit-linear-gradient(#888, #bbb);
    background: -moz-linear-gradient(#888, #bbb);
    background: -o-linear-gradient(#888, #bbb);
    background: -ms-linear-gradient(#888, #bbb);
    background: linear-gradient(#BDBDBD, #bbb);
    border: 1px solid #b2b2b2;
    color: #8A8A8A;
    padding: 5px 17px 6px 17px;
    font-size: 13px;
    cursor: pointer;
    font-family: Helvetica;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -o-border-radius: 0px;
    -ms-border-radius: 0px;
    -khtml-border-radius: 0px;
    border-radius: 0px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    margin-right: -5px;
    -webkit-transition: background 0.5s ease;
    -moz-transition: background 0.5s ease;
    -o-transition: background 0.5s ease;
    transition: background 0.5s ease;
    /*border-right: none;*/
    /*border-left: none;*/
}
.control_group_radios_buttons label {
    /*display: inline;*/
    margin-bottom: 0;
}
.control_group_radios_buttons label:hover {


}
.control-group_text .JScharsCountdown{
    position: absolute;
    right: -50px;
    top: 0;
    background: #efefef;
    width: 50px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #ccc;
    border-left: none;
}

.control-group_textarea .JScharsCountdown{
    position: absolute;
    right: 0;
    bottom: 0;
    background: #efefef;
    width: 50px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #ccc;
}

.control_group_radios_buttons label:active,
.control_group_radios_buttons label.active {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4e4e4), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(#e4e4e4, #ffffff);
    background: -moz-linear-gradient(#e4e4e4, #ffffff);
    background: -o-linear-gradient(#e4e4e4, #ffffff);
    background: -ms-linear-gradient(#e4e4e4, #ffffff);
    background: linear-gradient(#e4e4e4, #ffffff);
}
.control_group_radios_buttons label:disabled,
.control_group_radios_buttons label.disabled {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #efefef));
    background: -webkit-linear-gradient(#ffffff, #efefef);
    background: -moz-linear-gradient(#ffffff, #efefef);
    background: -o-linear-gradient(#ffffff, #efefef);
    background: -ms-linear-gradient(#ffffff, #efefef);
    background: linear-gradient(#ffffff, #efefef);
    cursor: default;
    color: #b2b2b2;
    border-color: #cccccc;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
.control_group_radio_button:first-child > label{
    -moz-border-radius-topleft: 4px;
    -webkit-border-top-left-radius: 4px;
    -o-border-top-left-radius: 4px;
    -ms-border-top-left-radius: 4px;
    -khtml-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -o-border-bottom-left-radius: 4px;
    -ms-border-bottom-left-radius: 4px;
    -khtml-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.control_group_radio_button:last-child label {
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    -o-border-top-right-radius: 4px;
    -ms-border-top-right-radius: 4px;
    -khtml-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -o-border-bottom-right-radius: 4px;
    -ms-border-bottom-right-radius: 4px;
    -khtml-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.control_group_radios_buttons input:checked + label,
.control_group_radios_buttons label.selected {
    font-weight: bold;
    /*text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);*/
    background: #65bd63;
    background-image: -webkit-linear-gradient(top, #9dd993, #65bd63);
    background-image: -moz-linear-gradient(top, #9dd993, #65bd63);
    background-image: -o-linear-gradient(top, #9dd993, #65bd63);
    background-image: linear-gradient(to bottom, #9dd993, #65bd63);
    color: #fff;
    box-shadow: none;
    text-shadow: 0 1px 1px rgb(0 0 0 / 45%);
    font-size: 14px;    
}
.control_group_radios_buttons input:disabled + label {
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #efefef));
    background: -webkit-linear-gradient(#ffffff, #efefef);
    background: -moz-linear-gradient(#ffffff, #efefef);
    background: -o-linear-gradient(#ffffff, #efefef);
    background: -ms-linear-gradient(#ffffff, #efefef);
    background: linear-gradient(#ffffff, #efefef);
    cursor: default;
    color: #b2b2b2;
    border-color: #cccccc;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}












input.JS_friendurl{
    border: none !important;
    height: 18px !important;
    padding: 1px 0 0 !important;
    font-style: italic !important;
    color: #777 !important;
    background: transparent !important;
    display: inline !important;
    width: 100% !important;
    position: relative !important;
    top: -2px !important;
}



.JS_toggleTextEditor{
    position: absolute;
    top: 3px;
    right: 2px;
}



/* ============================================================
  COMMON
============================================================ */
.cmn-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
    top: 0;
}
.cmn-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ============================================================
  SWITCH 1 - ROUND
============================================================ */
input.cmn-toggle-round + label {
    padding: 0px;
    display: inline-block;
    width: 29px;
    height: 11px;
    background-color: rgb(9 122 184 / 74%);
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 13px;
    /* overflow: hidden; */
    font-size: 0px;
    padding-left: 4px;
    /* border: 1px solid #ddd; */
    padding-right: 13px;
    margin-bottom: 1px;
}

input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    content: "";
}

input.cmn-toggle-round + label:after{
    top: 0px;
    bottom: 0px;
    /* margin-left: 9px; */
}
input.cmn-toggle-round + label:before {
    right: 0px;
    background-color: #dadada;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 21px;
    -webkit-transition: background 0.2s;
    -moz-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}
input.cmn-toggle-round + label:hover:before{
    background: #9c9c9c;
}
input.cmn-toggle-round + label:hover{
    background-color: rgb(144 210 255);
}
input.cmn-toggle-round + label:after {
    width: 8px;
    width: 15px;
    height: 15px;
    background-color: #fff;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    /* border: 1px solid #000; */
    border-radius: 100%;
    -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 2px rgb(0 0 0 / 30%);
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
    margin-left: -5px;
}
input.cmn-toggle-round:checked + label:before {
    background-color: rgba(255,255,255,0);
}
input.cmn-toggle-round:checked + label:after {
    margin-left: 22px;
}
.switch2{
    text-align: center;
    position: relative;
    margin-top: 6px;
}
.switch2.small input.cmn-toggle-round + label {
    width: 29px;
    height: 13px;
}
.switch2.small input.cmn-toggle-round + label:after {
    width: 13px;
    height: 13px;
}
.switch2.small input.cmn-toggle-round + label:after{
    margin-left: 0px;
}
.switch2.small input.cmn-toggle-round:checked + label:after {
    margin-left: 16px;
}

.JSsortable li{
    position: relative;
    padding-left: 22px;
}
.JSsortable li .JS_handle{
    position: absolute;
    left: 0;
    top: 1px;
    margin: 0;
}



.control-group_json_editor{
    height:inherit;
}
.JSjsonEditor textarea{
    display: none;
}