/*
body {
    overflow: hidden;
}

#templater {
    width: 100%;
    height: 100%;
}

#templater-builder {
    height: auto;
    overflow: scroll;
}
*/

.active {
    color: rgb(204, 230, 255) !important;
    font-weight: bold;
}

.active form {
    color: #000 !important;
    font-weight: normal !important;
}

.tab-pane {
    padding-top: 20px;
}

#templater-builder-sidebar {
    padding: 5px;
    float: left;
    position: relative;
    display: block;
}

/*
#templater-builder-sidebar-elements {
    position: fixed;
    display: block;
}
*/

.tb-header {
    width: 100%;
    display: block;
}

.tb-row-edit {
    position: relative;
    /*display: block;*/
}

tr.tb-row-edit {
    position: relative;
    display: block;
}

.tb-move-helper {
    position: absolute;
    height: 30px;
    width: 30px;
    line-height: 30px;
    left: 50%;
    top: 50%;
    text-align: center;
    margin-top: -15px;
    margin-left: -15px;
    color: rgba(255,255,255,1);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-size: 16px;
}

.tb-row-edit-hover {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: default;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.tb-row-edit-hover div {
    width: 33.33%;
    height: 100%;
    float: left;
    cursor: pointer;
    display: block;
    position: relative;
}

.tb-row-edit-hover div.tb-row-edit-hover-move {
    background-color: rgba(0, 0, 0, 0.3);
    /*cursor: move;*/
}

/*.tb-row-edit-hover div.tb-row-edit-hover-move div.tb-row-edit-hover-move-up {
    background-color: rgba(0, 0, 0, 0.0);
}*/

/*.tb-row-edit-hover div.tb-row-edit-hover-move div.tb-row-edit-hover-move-move {
}*/

/*.tb-row-edit-hover div.tb-row-edit-hover-move div.tb-row-edit-hover-move-down {
    background-color: rgba(0, 0, 0, 0.0);

}*/

.tb-row-edit-hover div.tb-row-edit-hover-edit {
    background-color: rgba(0, 0, 0, 0.3);
}

.tb-row-edit-hover div.tb-row-edit-hover-edit i:hover {
    background-color: #2da7d8;
    color:#fff;
}

.tb-row-edit-hover div.tb-row-edit-hover-delete {
    background-color: rgba(0, 0, 0, 0.3);
}

.tb-row-edit-hover div.tb-row-edit-hover-delete i {
    color:#e74c3c;
}

.tb-row-edit-hover div.tb-row-edit-hover-delete i:hover {
    color:#fff;
    background-color: #e74c3c;
}

.tb-row-edit-hover div.tb-row-edit-hover-move:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.tb-row-edit-hover div.tb-row-edit-hover-move i:hover {
    background-color: #2da7d8;
    color:#fff;
}

.tb-row-edit-hover div.tb-row-edit-hover-edit:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.tb-row-edit-hover div.tb-row-edit-hover-delete:hover {
    background-color: rgba(0, 0, 0, 0.4);

}


.tb-row-edit-hover div:hover i {
    background-color: rgba(255, 255, 255, 1);
}

.tb-row-edit-hover div i{
    position: absolute;
    left: 50%;
    top: 50%;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    margin-top: -15px;
    margin-left: -15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: rgb(45, 167, 216);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-size: 16px;
}

.tb-move-highlight {
    width: 100%;
    height: 100px;
    border: 1px rgba(45, 103, 255, 0.8) dashed;
}

.tb-move-highlight-red {
    width: 100%;
    height: 100px;
    border: 1px rgba(255, 18, 62, 0.8) dashed;
}

.tb-header-logo {
    height: 40px;
    overflow: hidden;
}

.tb-row {
    padding: 10px;
    cursor: move;
}

.tb-row-delete {
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.5);
    top: 0px;
    right: -40px;
    position: absolute;
    color: rgba(102,102,102,1);
    opacity: 0;
    text-align: center;
    font-size: 20px;
}

.tb-row-delete i {
    line-height: 40px;
}

.tb-row-delete:hover {
    background-color: rgba(255,0,0,1);
    cursor: pointer;
    color: rgba(255,255,255,1);
}

.tb-row:hover .sim-row-delete {
    opacity: 1;
}

.tb-blue {

}

.tb-blue .tb-section-header {
    background-color: blue;
}

.tb-blue .tb-section-menu {
    background-color: blue;
}

.tb-blue h2 {
    color: blue;
}

.tb-purple {

}

.tb-purple .tb-section-header {
    background-color: purple;
}

.tb-purple .tb-section-menu {
    background-color: purple;
}

.tb-purple h2 {
    color: purple;
}

.tb-green {

}

.tb-green .tb-section-header {
    background-color: green;
}

.tb-green .tb-section-menu {
    background-color: green;
}

.tb-green h2 {
    color: green;
}

#templater-buttons td {
    padding: 5px;
    font-size: 20px;
    cursor: pointer;
}

.templater-buttons-articles {
    background-color: #2d67ff;
}

.templater-buttons-thumbnails {
    background-color: #ff123e;
}

.templater-buttons-other {
    background-color: #13fffa;
}

#tb-sidebar .tb-row {
    border: 1px rgba(45, 103, 255, 0.8) dashed;
}

#tb-sidebar .paragraph span {
    font-size: 10px;
    line-height: 5px;
}

.templater-base-templates {
    display: none;
}

.tb-color-field {
    width: 20px;
    height: 20px;
    display: block;
}

.tb-section-active {
    border: 1px rgba(255, 18, 62, 0.8) dashed;
}

.tb-section-hover {
    border: 1px rgba(255, 18, 62, 0.8) dashed;
    opacity: 0.8;
}

.tb-tool-content {
    display: none;
}

.tb-tool, .tb-tool-section-row, .tb-tool-header-row {
    padding: 10px;
    z-index: 999;
    /*cursor: move;*/
    /* background-color: #efefef; */
    border-radius: 5px;
    border: 1px dashed #e4e4e4;
    margin: 10px 0px;
}

.tb-tool img {
    width: 100%;
}

.tb-tool-section-row, .tb-tool-header-row {
    padding-bottom: 10px;
    z-index: 999;
    /*cursor: move;*/
}

.tb-tool-section-row img, .tb-tool-header-row img {
    width: 100%;
}

#tb-trashbin {
    width: 100%;
    height: 200px;
    /* background-color: #cccccc; */
    /* background-image: url(/bundles/emaileradmin/templater/trash.png); */
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    border: 2px dashed #e4e4e4;
    border-radius: 5px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}


.ion-trash-a:before {
    content: "\f252";
    color: #e4e4e4;
    font-size: 70px;
    display: block;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    text-align: center;
    padding-top: 62px;
}

.tb-trash-active {
    border: 2px dashed #ffa59b !important;
    border-radius: 5px !important;
    -webkit-transition: all 0.5s !important;
    -moz-transition: all 0.5s !important;
    -o-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.tb-trash-hover {
    color:#ffa59b;
    border: 2px dashed #ffa59b;
    border-radius: 5px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.tb-trash-hover div.ion-trash-a:before {
    content: "\f252";
    color: #ffa59b;
    font-size: 70px;
    display: block;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 62px;
}

/**

#templater-builder-wrap {
    height: 400px;
    overflow: hidden !important;
    position: fixed;
}
**/

.tb-link-edit {
    position: relative;
}

.tb-text-edit {
    position: relative;
}

.ui-sortable-helper {
    opacity: 0.5;
}

input.tb-check-enabled {
    cursor: pointer;
}

input.tb-check-enabled + label {
    text-decoration: line-through;
    cursor: pointer;
}

input.tb-check-enabled + label + input[type="text"] {
    display: none;
}

input.tb-check-enabled + label + div.bs-callout,
input.tb-check-enabled + label + div.tb-textarea-holder {
    display: none;
}

input.tb-check-enabled:checked + label {
    text-decoration: none;
}

input.tb-check-enabled:checked + label + input[type="text"] {
    display: inline;
}

input.tb-check-enabled:checked + label + div.bs-callout,
input.tb-check-enabled:checked + label + div.tb-textarea-holder {
    display: block;
}

.ui-dialog {overflow: visible;}
.ui-front{z-index:0 !important; }
.ui-selectmenu-open {z-index:9999 !important;}

.main-header .sidebar-toggle {
    font-family: FontAwesome !important;
}
#templater-popup-loading {
    z-index: 1051;
}

.no-bottom-border {
    border-bottom: none;
}

.priority {
    font-size: 10px;
}

.priority-size-1 {
    font-size: 6px;
}

.priority-size-2 {
    font-size: 10px;
}

.priority-size-3 {
    font-size: 14px;
}

.priority-1 {
    color: #00ba64;
}

.priority-2 {
    color: #ff9900;
}

.priority-3 {
    color: #ff001e;
}

#templater-builder-live-url{
    overflow: auto;
    max-width: 180px;
}

.modal {
    overflow-y: scroll !important;
}

.panel {
    display: none;
}

.tb-gallery .col-md-1 {
    padding: 0;
    margin-right: 5px;
}

.tb-gallery input[type="radio"] {
    display: none;
}

.tb-gallery input[type="radio"]+label {
    border: 5px solid #efefef;
    border-radius: 3px;
}

.tb-gallery input[type="radio"]:checked+label {
    border: 5px solid #3595bd;
}

.tb-gallery label img {
    width: 100%;
}

.tb-gallery-row {
    margin-left: 15px;
    margin-right: 15px;
}

.tb-gallery-row.collapsed .row {
    display: none;
}

.tb-gallery-row .tb-gallery-title {
    position: relative;
    cursor: pointer;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.tb-gallery-row .tb-gallery-title:before {
    content: "";
    position: absolute;
    top: 8px;
    left: -13px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #000;
    border-top: none;
}

.tb-gallery-row.collapsed .tb-gallery-title:before {
    content: "";
    position: absolute;
    top: 8px;
    left: -13px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
    border-bottom: none;
}