/* @see https://github.com/google/material-design-icons/blob/master/iconfont/material-icons.css */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-icons/MaterialIcons-Regular.eot'); /* For IE6-8 */
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url('../fonts/material-icons/MaterialIcons-Regular.woff2') format('woff2'),
       url('../fonts/material-icons/MaterialIcons-Regular.woff') format('woff'),
       url('../fonts/material-icons/MaterialIcons-Regular.ttf') format('truetype');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  -webkit-font-feature-settings: 'liga';
          font-feature-settings: 'liga';
}



/* OVERRIDE WP CUSTOMIZER */

/* FOR LEVEL TREE AND TEMPLATE GALLERY */
/* space for the Level Tree and template gallery */
#customize-preview iframe, #nimble-level-tree {
  -webkit-transition: top 0.3s ease-in-out;
  -moz-transition: top, 0.3s ease-in-out;
  -ms-transition: top, 0.3s ease-in-out;
  -o-transition: top, 0.3s ease-in-out;
  transition: top 0.3s ease-in-out;
}
#customize-preview iframe {
  z-index: 1;
}

ul[id*="sub-accordion-section-__nimble__"] {
    background: #F2F2F2!important;
}
/* No sliding transition needed when switching from a section to another when generating the UI's */
#customize-theme-controls .customize-pane-child[id*="__nimble__"] {
    -webkit-transition: unset;
    -o-transition: unset;
    transition: unset;
}
/* CONTROLS */
li[id*="__nimble__"].customize-control {
    margin: 4px 0;
    padding: 2px;
    width: calc( 100% - 4px );
    border: 1px solid rgba(221, 221, 221, 0.43);
    box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);
    -webkit-box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);
    background-color: #fff;
}
li[id*="__nimble__"].customize-control .customize-control-title {
  font-size: 13.5px;
  line-height: 1.5em;
  font-weight: normal;
  margin-bottom: 4px;
}
li[id*="__nimble__"].customize-control label {
  cursor: pointer;
}
li[id*="__nimble__"].customize-control span.customize-control-title:first-child {
  margin-left: 21px;
}

/* SECTIONS */
/* nov 2019 => experimental fix for experimental fix for https://github.com/presscustomizr/nimble-builder/issues/539 */
#customize-theme-controls ul[id*="sub-accordion-section-__nimble__"].open {
  top: 0!important;
}


/* VARIOUS HELPER CLASSES */
.sek-float-right {float: right;}
.sek-float-left { float: left;}
.sek-flex-vertical-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}


/* FRONT MODULE UI */
li[id^="accordion-section-__nimble__"] {
  margin-top: 16px;
}
li[id^="accordion-section-__nimble__"] > h3 {
  border-top:1px solid #ddd;
}

/* MODULE AND SECTION PICKER INPUT */
[data-sek-content-type] {
    float: left;
    padding: 0%;
    margin: 1.8%;
    text-align: center;
    cursor: move;
    /*cursor: -webkit-grab;*/
    /*background: #eee;*/
    -webkit-transition: -webkit-box-shadow .2s ease;
    transition: -webkit-box-shadow .2s ease;
    -o-transition: box-shadow .2s ease;
    transition: box-shadow .2s ease;
    transition: box-shadow .2s ease, -webkit-box-shadow .2s ease;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.25);
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
    border-radius: 4px;
}
[data-sek-content-type="module"] {
  width: 29%;
  height: 130px;
  position: relative;
}
.sek-is-pro {
  position: absolute;
  top: 5px;
  z-index: 10;
  right: 5px;
  height: 20px;
  width: 28px;
}
.sek-is-pro-template {
  position: absolute;
  top: 0px;
  z-index: 10;
  right: 5px;
  width: 40px;
}
[data-sek-content-type="preset_section"]:hover .sek-is-pro img, [data-sek-tmpl-item-id]:hover .sek-is-pro img {
  opacity: 0.5;
}


/* When sections are displayed in the module picker. Typically the columns sections */
li[id*="sek_draggable_modules"] [data-sek-content-type="preset_section"] {
  width: 29%;
  height: 130px;
}

.sek-content-type-wrapper [data-sek-content-type="preset_section"] {
  width: 95%;
  height: 165px;
  position: relative;
  overflow: hidden;
}

/* SEPT 2020 : LINK TO DEMO SECTION */
.sek-demo-link {
    position: absolute;
    bottom: -22px;
    z-index: 20;
    height: 18px;
    width: 100%;
    padding: 2px 0;
    background: #000000;
    background-color: rgba(0,0,0,.5);
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    -webkit-transition: bottom 0.2s ease-in-out;
    -moz-transition: bottom, 0.2s ease-in-out;
    -ms-transition: bottom, 0.2s ease-in-out;
    -o-transition: bottom, 0.2s ease-in-out;
    transition: bottom 0.2s ease-in-out;
}
.sek-demo-link i, .sek-demo-link a, .sek-demo-link a:focus, .sek-demo-link a:visited{color:#ffffff;}
.sek-demo-link a {text-decoration: none;text-transform: uppercase;font-size: 12px;}
.sek-demo-link a:hover {color:#ffffff;text-decoration: underline;}
[data-sek-content-type="preset_section"]:hover .sek-demo-link {
  bottom: 0px;
}

[data-sek-content-type="preset_section"] .sek-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0;
    -webkit-transition: opacity .35s ease;
    transition: opacity .35s ease;
    -o-transition: opacity .35s ease;
}
[data-sek-content-type="preset_section"]:hover .sek-overlay {
    opacity: 0.15;
}
/* don't elevate inactive modules ( introduced but not yet implemented ) */
[data-sek-content-type][draggable="true"]:hover {
  -webkit-box-shadow: 0 12px 20px rgba(0,0,0,.2);
  box-shadow: 0 12px 20px rgba(0,0,0,.2);
}
[data-sek-content-type][draggable="false"] {
  background: #eee;
  opacity: 0.8;
}



/* JUNE 2020 style for user sections */
/* USER SECTIONS */
.sek-user-section-wrapper {
  margin-bottom: 15px;
  float: left;
  width: 100%
}
.sek-user-section-wrapper [data-sek-content-type="preset_section"] .sek-overlay {
  opacity: 0.40;
}
.sek-user-section-wrapper [data-sek-content-type="preset_section"]:hover .sek-overlay {
    opacity: 0.50;
}
.sek-user-section-wrapper [data-sek-is-user-section="true"] {
  height: 165px;
  margin: 0;
  width: 97%;
}

.sek-user-section-wrapper .sek-sec-thumb {
  position: absolute;
  opacity: 0.5;
  z-index: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
}
.sek-user-section-wrapper .sek-sec-info {
  position: relative;
  color: #ffffff;
  padding: 2%;
  overflow: hidden;
  height: 100%;
  max-height: 138px;
  padding: 10px;
}

.sek-sec-info .sec-title {
  color: #ffffff;
  margin: 0;
  line-height: 20px;
  max-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sek-sec-info .sec-date, .sek-sec-info .sec-desc {
  margin:0;
  margin-top: 5px;
  font-size: 12px;
}
.sek-sec-info .sec-date {
  font-size: italic;
}

.sek-sec-info > .remove-user-sec, .sek-sec-info > .edit-user-sec {
  cursor: pointer;
  font-size: 16px;
  width: 30px;
  height: 30px;
  color: #535353;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  opacity: 0.3;
  -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.2);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  -webkit-transition: all .20s ease;
  -o-transition: all .20s ease;
  transition: all .20s ease;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
}
.sek-sec-info > .remove-user-sec {
  bottom: 0px;
  right: 5px;
}
.sek-sec-info > .edit-user-sec {
  bottom: 0px;
  left: 5px;
}
.sek-sec-info:hover > .remove-user-sec {
    opacity: 0.7;
}
.sek-sec-info:hover > .edit-user-sec {
  opacity: 0.7;
}
.sek-sec-info > .remove-user-sec:hover {
    opacity: 0.95;
    color: red;
}
.sek-sec-info > .edit-user-sec:hover {
  opacity: 0.95;
  color: #000000;
}
/* DRAGGING STUFFS */
.sek-dragging [data-sek-content-type] {
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
  box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
}
.sek-dragged {
  background: #33b3db3d;
  background: rgba(51, 179, 219, 0.24);
}

[data-sek-content-type] .sek-module-icon {
  display: block;
  padding: 0;
}
[data-sek-content-type] .sek-module-icon .nimble-module-icons {
  font-size: 3rem;
  max-width: 100%;/*60%!important;*/
  color: #878787;
  max-height: 86px;
}

/* Specific for advanced list module */
.sek-content-type-wrapper [data-sek-content-id="czr_advanced_list_module"] .sek-module-icon {
  height: 66%;
  display: flex;
  padding: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sek-content-type-wrapper [data-sek-content-id="czr_advanced_list_module"] .sek-module-icon img {
  height: 60%;
}

/* when the module icon is a font icon */
[data-sek-content-type] .sek-module-icon.is-font-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  min-height: 70%;
}
[data-sek-content-type] .sek-module-icon.is-font-icon i {
  font-size: 35px;
}
[data-sek-content-type] .sek-module-title {
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 6px 0px;
  font-size: 0.75rem;
  height: 45px;
  justify-content: center;
  position: relative;
  top: -18px;
}
/*.sek-grabbing {
  cursor: -webkit-grabbing;
}
*/
.sek-centered-module-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sek-new-label {
    background: #ffff00;
    border: 1px solid yellow;
    color: #000000;
    padding: 3px 4px;
    line-height: 12px;
    border-radius: 8px;
    font-size: 11px;
    max-width: 100px;
    display: inline-block;
}

/* inspired by WP core .button-see-me css class
This button bounce twice
*/
.button-see-me-twice {
  -webkit-animation: bounce .7s 2;
  animation: bounce .7s 2;
  -webkit-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
}/* ACCORDION MODULE */
.sek-accord-title {
  color: #4b4a4a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
  height: 23px;
  line-height: 22px;
  font-size: 13px;
  float: left;
  padding-left: 10px;
}


/* PADDING MARGIN SPACING INPUT */
.sek-pad-marg-inner {
    font-size: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 10px auto 10px auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0;
    background-color: #e6e6e6;
    border: 1px solid #c5c5c5;
    height: 192px;
    width: 232px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}
.sek-pm-top-bottom-wrap {
    height: 46px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.sek-flex-center-stretch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.sek-pm-input {
    width: 35px;
    height: 15px;
    padding: 0;
    text-align: center;
    font-family: Source Sans Pro;
    padding: 5px;
    border-radius: 3px;
    text-align: left;
    font-size: 13px;
    outline: none;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15);
            box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid #CED6D9;
}
.sek-pm-input-parent .sek-pm-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    display: block;
    margin: auto 3px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 1px 3px;
    font-size: 12px;
    font-weight: 300;
    min-width: 34px;
    min-height: 20px;
    color: #313131;
}
.sek-pm-middle-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.sek-pm-margin-left, .sek-pm-margin-right {
    width: 46px;
}

.sek-pm-padding-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: white;
    border: 1px solid #CED6D9;
    height: 100px;
    width: 140px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 5px;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: auto;
}
.sek-flex-justify-center {
    min-height: 0;
    min-width: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.sek-flex-space-between {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.sek-pm-input-parent {
   /* width: 100%;*/
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.sek-pm-input-parent .sek-pm-input {
    min-height: 25px;
    min-width: 40px;
    background-color: white;
}
.sek-pm-input-parent .sek-pm-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    display: block;
    margin: auto 3px!important;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 1px 3px;
    font-size: 12px;
    font-weight: 300;
    min-width: 34px;
    min-height: 20px;
    color: #313131;
    width: 40px!important;
    text-align: center;
}


.sek-pm-padding-wrapper label {
    margin: 0;
}
.sek-pad-marg-inner label {
    -webkit-box-flex: 0;
        -ms-flex: 0;
            flex: 0;
}
.reset-spacing-wrap {
    padding: 10px 0 0;
    font-size: 0.8em;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
}
.reset-spacing-wrap:hover {
  color: #006799;
}
















/* BACKGROUND POSITION INPUT */
.sek-bg-pos-wrapper {
    padding: 10px;
    text-align: center;
    display: inline-block;
    width: 90px;
    height: 90px;
}
.sek-bg-pos-wrapper {
    display: inline-block;
    width: 90px;
    height: 90px;
}
.sek-bg-pos-wrapper .sek-bg-pos {
    cursor: pointer;
    width: 24px;
    height: 24px;
    margin: 3px;
    float: left;
}
.sek-bg-pos-wrapper input[type="radio"] {
    display: none;
}
.sek-bg-pos-wrapper .sek-bg-pos span {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #e6e6e6 no-repeat center;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

/* hover*/
.sek-bg-pos-wrapper .sek-bg-pos span:hover {
    background-color: #33b3db;
}

.sek-bg-pos-wrapper .sek-bg-pos span:hover svg {
    visibility: visible;
}
/* checked */
.sek-bg-pos-wrapper .sek-bg-pos input[type="radio"]:checked + span {
    background-color: #33b3db;
}
.sek-bg-pos-wrapper .sek-bg-pos input[type="radio"]:checked + span svg {
    visibility: visible;
}

.sek-bg-pos-wrapper .sek-bg-pos span svg {
    visibility: hidden;
    shape-rendering: crispEdges;
}


.sek-bg-pos-wrapper .sek-svg-bg-pos {
    fill: #fff;
}










/* H and V ALIGNMENT INPUT */
div[data-sek-align] {
    margin: 0 5px;
    padding: 4px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    position: relative;
    text-align: center;
    width: 23px;
    height: 24px;
    top: -4px;
    border-radius: 4px;
    cursor: pointer;
}
div[data-input-type="horizTextAlignmentWithDeviceSwitcher"] .czr-input {
  text-align: center;
}
div[data-input-type="horizTextAlignmentWithDeviceSwitcher"] .sek-h-align-wrapper {
  display: inline-block;
}
div[data-input-type="horizAlignmentWithDeviceSwitcher"] .czr-input {
  text-align: center;
}
div[data-input-type="horizAlignmentWithDeviceSwitcher"] .sek-h-align-wrapper {
  display: inline-block;
}
.sek-h-align-wrapper .sek-align-icons {
  float: right
}

div[data-sek-align]:hover {
    -webkit-box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
            box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
}
div[data-sek-align].selected {
    outline: none;
    color: #fff;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: #555d66;
}

/* POST GRID LAYOUT PICKER */
div[data-sek-grid-layout] {
    margin: 0 5px;
    padding: 1px 3px 1px 1px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    position: relative;
    text-align: center;
    /*width: 25px;
    height: 24px;*/
    /*top: -4px;*/
    border-radius: 4px;
    cursor: pointer;
}
div[data-sek-grid-layout] i {
  font-size: 50px;
}
div[data-input-type="grid_layout"] .czr-input {
  text-align: center;
}
div[data-input-type="grid_layout"] .sek-grid-layout-wrapper {
  display: inline-block;
}
.sek-grid-layout-wrapper .sek-grid-icons {
  float: right
}

div[data-sek-grid-layout]:hover {
    -webkit-box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
            box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
}
div[data-sek-grid-layout].selected {
    outline: none;
    color: #fff;
    -webkit-box-shadow: none;
            box-shadow: none;
    /*background: #555d66;*/
    background: #33b3db;
}



/* CATEGORY PICKER */
.customize-control select[data-czrtype="categories"] {
    height: 28px;
}


/* DEVICE SWITCHER */
.sek-input-device-switcher .sek-switcher:before, .sek-mobile-device-icons .sek-switcher:before {
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 20px/30px "dashicons";
  vertical-align: top;
/*  margin: 3px 0;
  padding: 4px 8px;*/
  color: #656a6f;
  position: relative;
  top: -5px
}
.sek-input-device-switcher .sek-switcher {
    cursor: pointer;
}
.sek-input-device-switcher .sek-switcher, .sek-mobile-device-icons .sek-switcher {
  background: transparent;
  border: none;
  padding: 0 1px;
  margin: 0 0 0 -2px;
  box-shadow: none;
  border-top: 1px solid transparent;
  border-bottom: 4px solid transparent;
  -webkit-transition: .15s color ease-in-out,
              .15s background-color ease-in-out,
              .15s border-color ease-in-out;
  -o-transition: .15s color ease-in-out,
                .15s background-color ease-in-out,
                .15s border-color ease-in-out;
  transition: .15s color ease-in-out,
                .15s background-color ease-in-out,
                .15s border-color ease-in-out;
}

/*.sek-input-device-switcher .sek-switcher.active {
  color: #0073aa;
}*/

.sek-input-device-switcher .sek-switcher:hover,
.sek-input-device-switcher .sek-switcher:focus {
  background-color: #fff;
}

/*.sek-input-device-switcher .sek-switcher:focus,
.sek-input-device-switcher .sek-switcher.active:hover {
  border-bottom-color: #0073aa;
}*/

.sek-input-device-switcher .sek-switcher.active:before {
  color: #191e23;
}

.sek-input-device-switcher .sek-switcher:hover:before,
.sek-input-device-switcher .sek-switcher:focus:before {
  color: #0073aa;
}

.sek-input-device-switcher .preview-desktop:before, .sek-mobile-device-icons .preview-desktop:before {
  content: "\f472";
}

.sek-input-device-switcher .preview-tablet:before, .sek-mobile-device-icons .preview-tablet:before {
  content: "\f471";
}

.sek-input-device-switcher .preview-mobile:before, .sek-mobile-device-icons .preview-mobile:before {
  content: "\f470";
}

















/* BORDERS AND BORDER RADIUS*/
.sek-borders {
  width: 100%;
  float: left;
  margin-bottom: 8px;
}
.sek-borders > div {float: left;width: 100%}
.sek-borders .sek-range-unit-wrapper > div {float: left;}
.sek-borders .sek-border-type-wrapper {margin-bottom: 5px;}
.sek-borders .sek-range-unit-wrapper {margin-bottom: 5px;}
.sek-borders .sek-range-unit-wrapper .sek-unit-wrapper { float: right;}
.sek-borders .sek-color-wrapper { width:100%;}
.sek-borders .sek-color-wrapper .sek-color-picker{ width: 50%;float: left;}
.sek-borders .sek-color-wrapper .sek-reset-button { width: 50%;float: right;}

[data-sek-radius-type="top_right"] > i.material-icons {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
      transform: rotate(90deg);
}
[data-sek-radius-type="bottom_right"] > i.material-icons {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
      transform: rotate(180deg);
}
[data-sek-radius-type="bottom_left"] > i.material-icons {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
      transform: rotate(270deg);
}









/* RANGE WITH UNIT PICKER */
.sek-range-with-unit-picker-wrapper{
  width: 100%;
  float: left;
  margin-bottom: 8px;
}
.sek-range-with-unit-picker-wrapper .sek-unit-wrapper{ float: right; }
.sek-range-with-unit-picker-wrapper > div { float: left; }


/* RANGE INPUT */
/* This range slider is inspired from the one used in the Gutenberg plugin ( https://github.com/WordPress/gutenberg ), released under GNU General Public License
credits : Gutenberg team @wordpress */
.sek-range-wrapper {
  width: 44%;
  margin-right: 4px;
}
.sek-no-unit-picker .sek-range-wrapper {
  width: 70%;
}
.sek-number-wrapper, .sek-simple-number-wrapper {
  width: 60px;
  margin-right: 5px;
}
.sek-simple-number-wrapper {
  text-align: right;
}

.sek-range-input{
    flex:1;
    width:100%;
    padding:0;
    -webkit-appearance:none;
    background:transparent;
    height: 26px;
}
.sek-range-input::-webkit-slider-thumb{
    -webkit-appearance:none;
    height:20px;
    width:20px;
    border-radius:50%;
    cursor:pointer;
    background:#555d66;
    border:4px solid transparent;
    background-clip:padding-box;
    box-sizing:border-box;
    margin-top:-8px
}
.sek-range-input::-moz-range-thumb{
    height:20px;
    width:20px;
    border-radius:50%;
    cursor:pointer;
    background:#555d66;
    border:4px solid transparent;
    background-clip:padding-box;
    box-sizing:border-box;
    margin-top:-7px
}
.sek-range-input::-ms-thumb{
    height:20px;
    width:20px;
    border-radius:50%;
    cursor:pointer;
    background:#555d66;
    border:4px solid transparent;
    background-clip:padding-box;
    box-sizing:border-box;
    margin-top:-8px
}
/*    margin-top:0;
    height:14px;
    width:14px;
    border:2px solid transparent*/
/*}*/
.sek-range-input:focus{
    outline:none
}
/*.sek-range-input:focus::-webkit-slider-thumb{
    background-color:#fff;
    color:#191e23;
    box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;
    outline:2px solid transparent;
    outline-offset:-2px
}
.sek-range-input:focus::-moz-range-thumb{
    background-color:#fff;
    color:#191e23;
    box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;
    outline:2px solid transparent;
    outline-offset:-2px
}
.sek-range-input:focus::-ms-thumb{
    background-color:#fff;
    color:#191e23;
    box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;
    outline:2px solid transparent;
    outline-offset:-2px
}*/
.sek-range-input::-webkit-slider-runnable-track{
    height:3px;
    cursor:pointer;
    background:#e2e4e7;
    border-radius:1.5px;
    margin-top:-4px
}
.sek-range-input::-moz-range-track{
    height:3px;
    cursor:pointer;
    background:#e2e4e7;
    border-radius:1.5px
}
.sek-range-input::-ms-track{
    margin-top:-4px;
    background:transparent;
    border-color:transparent;
    color:transparent;
    height:3px;
    cursor:pointer;
    background:#e2e4e7;
    border-radius:1.5px
}



/* IMPORT / EXPORT */
.sek-import-btn-wrap {
    padding: 20px 0;
}
.sek-import-btn-wrap input.sek-import-file {
    margin-bottom: 10px;
}
.sek-export-btn-wrap {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.sek-import-file {
    background: #eeeeee;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 12px;
}
.sek-uploading {
    background: #eeeeee;
    display: none;
    margin: 10px 0;
    padding: 10px;
    font-size: 12px;
}
.czr-import-dialog {
  display: none;
  padding: 11px;
}
.czr-import-message {
  padding-bottom: 10px;
}
.sek-import-btn-wrap .czr-import-dialog .czr-import-message {
  font-size: 12px!important;
}
.sek-import-btn-wrap .czr-import-dialog .button {
  margin: 4px 0;
  font-size: 12px!important;
}


/* SLIDE MODULE */
.sek-slide-thumb {
  width: 32px;
  height: 32px;
  overflow: hidden;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
      float: left;
}
.sek-slide-title {
  color: #4b4a4a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
  float: left;
  padding-left: 10px;
}

.sek-pro-notice {
  position: relative;
  padding-left: 36px;
  font-size: 12px;
  font-weight: bold;
}
.sek-pro-notice a, .sek-pro-notice a:hover, .sek-pro-notice a:focus {
  color: #f07829;
  font-weight: bold;
  text-decoration: none;
}
.sek-pro-notice a:hover {
  text-decoration: underline;
}
.sek-pro-icon {
  position: absolute;
  width: 32px;
  left: 0;
  top: -2px;
}
.sek-pro-notice .sek-pro-notice-icon-bef-text {
  display: inline-block;
  width: 23px;
  height: 15px;
  position: relative;
}
.sek-pro-notice .sek-pro-notice-icon-bef-text  img {
  position: absolute;
  top: 0;
}
/* DEFAULT UI BUTTONS STYLE, for unit picker, etc*/
.sek-unit-wrapper {
  text-align: center;
}
.sek-ui-button-group {
    display: inline-block;
}
.sek-ui-button-group .sek-ui-button:first-child {
    border-radius: 3px 0 0 3px;
}
.sek-ui-button-group .sek-ui-button+.sek-ui-button {
    margin-left: -1px;
}
.sek-ui-button-group .sek-ui-button:last-child {
    border-radius: 0 3px 3px 0;
}
.sek-ui-button {
    height: 28px;
    padding: 0 10px 2px;
    border-radius: 3px;
    white-space: nowrap;
    border-width: 1px;
    border-style: solid;
    display: inline-flex;
    text-decoration: none;
    font-size: 12px;
    line-height: 25px;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
    -webkit-appearance: none;
    background: none;
    color: #555;
    border-color: #ccc;
    background: #f7f7f7;
    box-shadow: inset 0 -1px 0 #ccc;
    vertical-align: top;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}


.sek-ui-button:hover {
    background: #fafafa;
    border-color: #999;
    box-shadow: inset 0 -1px 0 #999;
    color: #23282d;
    opacity: 1!important;
}
.sek-ui-button:active:not(:disabled) {
    background: #eee;
    border-color: #999;
    box-shadow: inset 0 1px 0 #999;
}
.sek-ui-button:focus:not(:disabled) {
    background: #fafafa;
    color: #23282d;
    border-color: #999;
    box-shadow: inset 0 -1px 0 #999, 0 0 0 2px #fbfbfb;
    outline: none;
}

.sek-ui-button[aria-pressed="true"] {
    background: #555d66;
    border-color: #555d66;
    box-shadow: inset 0 -1px 0 #555d66;
    color: #fff;
    text-decoration: none;
}
.sek-ui-button[aria-pressed="true"]:focus:not(:disabled), .sek-ui-button[aria-pressed="true"]:hover {
    background: #555d66;
    border-color: #4f4f4f;
    color: #fff;
}
.sek-ui-button[aria-pressed="true"]:focus:not(:disabled) {
  box-shadow: inset 0 -1px 0 #4f4f4f;
}
.sek-ui-button[aria-pressed="true"]:focus:not(:disabled) {
    /*box-shadow: inset 0 -1px 0 #00435d, 0 0 0 2px #bfe7f3;*/
    outline: none;
}



/* Button style for the content type switcher and template dialog */
.sek-content-type-wrapper,
.sek-save-tmpl-mode-switcher,
.sek-save-tmpl-action,
.sek-save-section-mode-switcher,
.sek-save-section-action {
  margin-bottom: 8px;
  width: 100%;
  float: left;
}
.sek-content-type-wrapper .sek-ui-button-group,
.sek-save-tmpl-mode-switcher .sek-ui-button-group,
.sek-save-tmpl-action .sek-ui-button-group,
.sek-save-section-mode-switcher .sek-ui-button-group,
.sek-save-section-action .sek-ui-button-group,
#nimble-tmpl-gallery .sek-ui-button-group {
  display: block;
}
.sek-content-type-wrapper .sek-ui-button,
.sek-save-tmpl-mode-switcher .sek-ui-button,
.sek-save-tmpl-action .sek-ui-button,
.sek-save-section-mode-switcher .sek-ui-button,
.sek-save-section-action .sek-ui-button,
#nimble-tmpl-gallery .sek-ui-button {
    text-align: center;
    display: inline-block;
    padding: 3px 10px;
    height: auto;
    text-transform: uppercase;
}
.sek-content-type-wrapper .sek-ui-button { width: 49%; }
.sek-save-tmpl-mode-switcher .sek-ui-button,
.sek-save-section-mode-switcher .sek-ui-button {
  width: 32%;
}

/* APRIL 2020 added for https://github.com/presscustomizr/nimble-builder/issues/651 */
.sek-content-type-wrapper [data-sek-content-type="template"] {
    width: 98%;
    margin-top: 5px;
}


/* Button style for the option type switcher */
[data-input-type="module_option_switcher"] .sek-content-type-wrapper { margin-bottom: 0}
[data-input-type="module_option_switcher"] [aria-pressed="false"] {
  opacity: 0.7;
}
[data-input-type="module_option_switcher"] [data-sek-option-type] {
  position: relative;
}
.sek-wrap-opt-switch-btn {
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex: 0 0 100%;
    max-width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
[data-input-type="module_option_switcher"] [data-sek-option-type] .sek-wrap-opt-switch-btn > i {
  font-size: 21px;
  line-height: 24px;
}
[data-input-type="module_option_switcher"] [data-sek-option-type] .sek-wrap-opt-switch-btn > span {
  position: relative;
  padding-left: 10px;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align: center;
}



/* RESET BUTTON */
.wp-core-ui .button.sek-reset-button {
  font-size: 11px;
  padding: 0 5px 1px;
  line-height: 18px;
  height: 25px;
  min-height: 25px;
  color: #555;
  border-color: #ccc;
}



/* LEVEL UI CHEVRON ICON NEXT TO TITLE */
.sek-animated-arrow {
  position: absolute;
  left: -20px;
  margin-left: 6px;
  top: 3px;
  font-size: 10px;
  color: #617379;
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
[data-sek-expanded="true"] label > .customize-control-title .sek-animated-arrow {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}
/* underline the control titles of the Nimble controls */
[data-sek-expanded="true"] label > .customize-control-title .sek-ctrl-accordion-title, [data-sek-expanded] label > .customize-control-title .sek-ctrl-accordion-title:hover {
  text-decoration: underline;
  text-underline-position: under;
}

/* style the icon if there's one next to the title */
.customize-control-title .sek-ctrl-accordion-title > i {
  font-size: 1.2em;
  position: relative;
  top: 4px;
  padding-right: 4px;
}

/* STYLE FOR THE LEVEL ICON NEXT TO THE CONTROL TITLE */
.sek-level-option-icon {
  padding-right: 5px;
  min-width: 22px;
  text-align: center;
}

.sek-input-title-icon {
  position: relative;
  top: 6px;
}

/* STYLE FOR THE PRO ICON NEXT TO THE CONTROL TITLE */
.sek-pro-icon-next-title {
  padding: 5px;
  width: 22px;
}


/* HIDE ADD NEW BUTTON IN MULTI-ITEM MODULES WHEN ACCORDION COLLAPSED */
[data-sek-expanded="false"] > .czr-open-pre-add-new { display: none;}
[data-sek-expanded="false"] > .czr-items-wrapper { display: none;}

/* Nimble Logo */
/* this class is added to a .accordion-section-title selector */
.sek-side-nimble-logo-wrapper {
  padding: 4px 25px 0 2px!important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* flex-direction: column; */
  flex: 0 0 100%;
  max-width: 100%;
}
.sek-side-nimble-logo-wrapper .sek-nimble-logo {
  height: 45px;
}
.sek-side-nimble-logo-wrapper .sek-pro-pastil {
  height: 30px;
}

[data-input-type="code_editor"] .czr-input {
    width: 100%;
    float: left;
}


/* TOP BAR */
/* space for the Nimble topbar */
#customize-preview iframe {
  top: 36px;
}

#nimble-top-bar {
  max-height: 36px;
  position: absolute;
  text-align: center;
  right: 0;
  left: 0;
  z-index: 20;
  color: #fff;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all, 0.3s ease-in-out;
  -ms-transition: all, 0.3s ease-in-out;
  -o-transition: all, 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /*visibility: hidden;*/
  opacity: 0.3;
  top : 0%;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px;
  z-index: 99999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
  /* flex-direction: column; */
  flex: 0 0 100%;
  max-width: 100%;
  overflow: hidden;
}

/* fixes https://github.com/presscustomizr/nimble-builder/issues/340 */
.themes-panel-expanded #nimble-top-bar, .outer-section-open #nimble-top-bar {
  display: none;
}

body.nimble-top-bar-visible #nimble-top-bar {
  /*visibility: inherit;*/
  opacity: 1;
}

#nimble-top-bar:hover {
  background: rgba(0, 0, 0, 0.7);
}

#nimble-top-bar .nimble-top-bar-content {
  display: inline-block;
  line-height: 20px;
  width: 80%;
}

#nimble-top-bar .sek-do-undo .icon:before {
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 20px/30px "dashicons";
  vertical-align: top;
/*  margin: 3px 0;
  padding: 4px 8px;*/
  color: #fff;
}
/* April 2020 : tmpl-saving btn added for https://github.com/presscustomizr/nimble-builder/issues/655 */
#nimble-top-bar .sek-settings, #nimble-top-bar .sek-tmpl-saving, .sek-add-content, .sek-do-undo, .sek-level-tree  {
  font-size: 16px;
  padding: 0 4px;
}

/* vertical separators between option groups */
.sek-level-tree:before, .sek-do-undo:before, #nimble-top-bar .sek-tmpl-saving:before, #nimble-top-bar .sek-settings:before {
  content: '';
  border-left: 1px solid #aaa;
  width: 0px;
  padding: 10px 4px;
  height: 100%;
  position: relative;
}
#nimble-top-bar .sek-tmpl-saving:after {
  content: '';
  border-right: 1px solid #aaa;
  width: 0px;
  padding: 10px 5px;
  height: 100%;
  position: relative;
}

#nimble-top-bar button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
/*  opacity: 0.8;*/
}
#nimble-top-bar button[data-nimble-state="disabled"] {
  cursor: inherit;
  opacity: 0.4!important;
  cursor: not-allowed;
}
#nimble-top-bar .sek-do-undo button:hover {
  opacity: 1;
}
#nimble-top-bar .sek-do-undo button:focus {
  outline: none;
}
#nimble-top-bar .sek-do-undo .icon:before {
  /*top: -6px;*/
  position: relative;
}
#nimble-top-bar .sek-do-undo .icon.undo:before {
  content:"\f171";
    -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
#nimble-top-bar .sek-do-undo .icon.do:before {
  content:"\f172";
    -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
#nimble-top-bar .sek-add-content {
  width: 34px;
}
#nimble-top-bar .sek-add-content button {
  padding-top: 1px;
  padding-left: 5px;
  margin: 0px 4px;
  font-size: 21px;
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: #33b3db;
  border-radius: 30px;
  position: absolute;
  left: 5px;
  top: 3px;
  /* font-size: 28px; */
}
#nimble-top-bar .sek-nimble-doc {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* flex-direction: column; */
  flex: 0 0 100%;
  max-width: 100%;
  font-size: 12px;
}
#nimble-top-bar .sek-nimble-doc .sek-pointer {
  text-decoration: underline;
}
.rtl #nimble-top-bar .sek-nimble-doc {
  left:10px;
  right: auto;
}
#nimble-top-bar .sek-nimble-doc img {
  width: 30px;
  height: 30px;
  position: relative;
  top: 2px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-filter: gray;
  filter: gray;
}
#nimble-top-bar .sek-nimble-doc:hover img {
  -webkit-filter: none;
  filter: none;
}
#nimble-top-bar .sek-notifications {
  max-width: 410px;
  overflow: hidden;
  padding: 0 10px;
  font-size: 12px;
  text-decoration: none;
}
#nimble-top-bar .sek-notifications.is-linked {
  text-decoration: underline;
  cursor: pointer;
}
#nimble-top-bar .sek-goto-site-tmpl-options {
  text-decoration: underline;
  cursor: pointer;
}
/* May 2020 : debug mode notification */
#nimble-top-bar .sek-notifications .debug-mode-notif {
  color:#ff0000;
  line-height:1.5em;
  padding:3px;
  background:#ffffff;
  display: inline-block;
  overflow: hidden;
}

/* TOP SAVE TMPL UI
* introduced april 2020 for https://github.com/presscustomizr/nimble-builder/issues/655
* and TOP SAVE SECTION UI
* introduced June 2020 for for https://github.com/presscustomizr/nimble-builder/issues/520
*/
#nimble-top-tmpl-save-ui,
#nimble-top-section-save-ui {
  height: auto;
  min-height: 300px;
  padding: 20px;
  position: absolute;
  top: -300px;
  /*text-align: center;*/
  right: 0;
  left: 0;
  z-index: 20;
  color: #fff;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all, 0.3s ease-in-out;
  -ms-transition: all, 0.3s ease-in-out;
  -o-transition: all, 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /*visibility: hidden;*/
  opacity: 0.3;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
  flex: 0 0 100%;*/
  max-width: 100%;
  font-size: 16px;
    line-height: 1.5em;
}

#nimble-top-tmpl-save-ui .nb-tmpl-save-inner,
#nimble-top-section-save-ui .nb-section-save-inner {
  max-width: 800px;
  margin: auto;
}

/*#nimble-top-tmpl-save-ui > div {
  width: 100%;
}*/

body.sek-save-tmpl-ui-visible #nimble-top-tmpl-save-ui,
body.sek-save-section-ui-visible #nimble-top-section-save-ui {
  /*visibility: inherit;*/
  opacity: 1;
  top:36px;
}

#nimble-top-tmpl-save-ui .sek-close-dialog,
#nimble-top-section-save-ui .sek-close-dialog {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 3px!important;
}

#nimble-top-tmpl-save-ui #sek-saved-tmpl-title.error,
#nimble-top-section-save-ui #sek-saved-section-title.error {
  border: 1px solid #ff0000;
}


/* INPUT STYLE */
.sek-tmpl-title,
.sek-tmpl-description,
select.sek-saved-tmpl-picker,
.sek-section-title,
.sek-section-description,
select.sek-saved-section-picker {
  margin-top: 10px;
  float: left;
  clear: both;
  width: 100%;
}

.sek-tmpl-description textarea,
input#sek-saved-tmpl-title,
select.sek-saved-tmpl-picker,
.sek-section-description textarea,
input#sek-saved-section-title,
select.sek-saved-section-picker {
  width: 97%;
  max-width: none;
  margin-bottom: 10px;
}
.sek-tmpl-description textarea,
.sek-section-description textarea {
  min-height: 100px;
}
.sek-saved-tmpl-picker,
.sek-tmpl-title,
.sek-tmpl-description,
.sek-save-tmpl-action .sek-do-save-tmpl,
.sek-save-tmpl-action .sek-do-update-tmpl,
.sek-save-tmpl-action .sek-open-remove-confirmation,
.sek-saved-section-picker,
.sek-section-title,
.sek-section-description,
.sek-save-section-action .sek-do-save-section,
.sek-save-section-action .sek-do-update-section,
.sek-save-section-action .sek-open-remove-confirmation {
  display: none;
}

/* the template picker is visible when template collection has been ajaxily fetched */
.tmpl-collection-populated .sek-saved-tmpl-picker,
.section-collection-populated .sek-saved-section-picker {
  display:block
}

.sek-tmpl-remove-dialog,
.sek-section-remove-dialog {
  display: none;
  color: red;
  background: #ffffff;
  padding: 5px;
  text-transform: uppercase;
  float: left;
  width: 96%;
}
.sek-tmpl-remove-dialog .sek-do-remove-tmpl,
.sek-section-remove-dialog .sek-do-remove-section {
  color: red;
}

/* TMPL UI VISIBILITY = f(mode) */
[data-sek-tmpl-dialog-mode="save"] [data-tmpl-mode-switcher="remove"] {display: none;}
[data-sek-tmpl-dialog-mode="save"] .sek-saved-tmpl-picker {display: none;}
[data-sek-tmpl-dialog-mode="save"] .sek-tmpl-title {display: block;}
[data-sek-tmpl-dialog-mode="save"] .sek-tmpl-description {display: block;}
[data-sek-tmpl-dialog-mode="save"] .sek-do-save-tmpl {display: block;border-color: #ffff00;background: #f9f9b6f7;border-radius: 3px!important;}

[data-sek-tmpl-dialog-mode="update"] [data-tmpl-mode-switcher="remove"] {display: none;}
[data-sek-tmpl-dialog-mode="update"].sek-tmpl-update-selected .sek-tmpl-title {display: block;}
[data-sek-tmpl-dialog-mode="update"].sek-tmpl-update-selected .sek-tmpl-description {display: block;}
[data-sek-tmpl-dialog-mode="update"].sek-tmpl-update-selected .sek-do-update-tmpl {display: block;}

.sek-save-tmpl-mode-switcher .sek-ui-button[data-tmpl-mode-switcher="edit"] {display: none;}
[data-sek-tmpl-dialog-mode="edit"] [data-tmpl-mode-switcher="edit"] {display: inline-block!important;}
[data-sek-tmpl-dialog-mode="edit"] [data-tmpl-mode-switcher="update"] {display: none;}
[data-sek-tmpl-dialog-mode="edit"] [data-tmpl-mode-switcher="save"] {display: none;}
[data-sek-tmpl-dialog-mode="edit"] [data-tmpl-mode-switcher="remove"] {display: none;}
[data-sek-tmpl-dialog-mode="edit"] .sek-saved-tmpl-picker {display: block;}
[data-sek-tmpl-dialog-mode="edit"] .sek-tmpl-title {display: block;}
[data-sek-tmpl-dialog-mode="edit"] .sek-tmpl-description {display: block;}
[data-sek-tmpl-dialog-mode="edit"] .sek-do-update-tmpl {display: block;}

[data-sek-tmpl-dialog-mode="remove"] [data-tmpl-mode-switcher="update"] {display: none;}
[data-sek-tmpl-dialog-mode="remove"] [data-tmpl-mode-switcher="save"] {display: none;}
[data-sek-tmpl-dialog-mode="remove"].sek-tmpl-remove-selected .sek-open-remove-confirmation {display: block;}
[data-sek-tmpl-dialog-mode="remove"].sek-removal-confirmation-opened .sek-open-remove-confirmation {display: none!important;}
[data-sek-tmpl-dialog-mode="remove"].sek-removal-confirmation-opened .sek-tmpl-remove-dialog { display: block;}

/* SECTION UI VISIBILITY = f(mode) */
[data-sek-section-dialog-mode="save"] [data-section-mode-switcher="remove"] {display: none;}
[data-sek-section-dialog-mode="save"] .sek-saved-section-picker {display: none;}
[data-sek-section-dialog-mode="save"] .sek-section-title {display: block;}
[data-sek-section-dialog-mode="save"] .sek-section-description {display: block;}
[data-sek-section-dialog-mode="save"] .sek-do-save-section {display: block;border-color: #ffff00;background: #f9f9b6f7;border-radius: 3px!important;}

[data-sek-section-dialog-mode="update"] [data-section-mode-switcher="remove"] {display: none;}
[data-sek-section-dialog-mode="update"].sek-section-update-selected .sek-section-title {display: block;}
[data-sek-section-dialog-mode="update"].sek-section-update-selected .sek-section-description {display: block;}
[data-sek-section-dialog-mode="update"].sek-section-update-selected .sek-do-update-section {display: block;}

.sek-save-section-mode-switcher .sek-ui-button[data-section-mode-switcher="edit"] {display: none;}
[data-sek-section-dialog-mode="edit"] [data-section-mode-switcher="edit"] {display: inline-block!important;}
[data-sek-section-dialog-mode="edit"] [data-section-mode-switcher="update"] {display: none;}
[data-sek-section-dialog-mode="edit"] [data-section-mode-switcher="save"] {display: none;}
[data-sek-section-dialog-mode="edit"] [data-section-mode-switcher="remove"] {display: none;}
[data-sek-section-dialog-mode="edit"] .sek-saved-section-picker {display: block;}
[data-sek-section-dialog-mode="edit"] .sek-section-title {display: block;}
[data-sek-section-dialog-mode="edit"] .sek-section-description {display: block;}
[data-sek-section-dialog-mode="edit"] .sek-do-update-section {display: block;}

[data-sek-section-dialog-mode="remove"].sek-section-remove-selected .sek-open-remove-confirmation {display: block;}
[data-sek-section-dialog-mode="remove"].sek-removal-confirmation-opened .sek-open-remove-confirmation {display: none!important;}
[data-sek-section-dialog-mode="remove"].sek-removal-confirmation-opened .sek-section-remove-dialog { display: block;}
[data-sek-section-dialog-mode="remove"].sek-is-removal-only [data-section-mode-switcher="save"], [data-sek-section-dialog-mode="remove"].sek-is-removal-only [data-section-mode-switcher="update"] { display: none;}


#nimble-top-tmpl-save-ui .spinner,
#nimble-top-section-save-ui .spinner {
  display: none;
}

#nimble-top-tmpl-save-ui.nimble-tmpl-processing-ajax .spinner,
#nimble-top-section-save-ui.nimble-section-processing-ajax .spinner {
  display: block;
  visibility: visible;
}















/* OLD TOP SAVE SECTION UI */
/* #nimble-top-section-save-ui {
  height: 300px;
  padding: 20px;
  position: absolute;
  top: -300px;

  right: 0;
  left: 0;
  z-index: 20;
  color: #fff;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all, 0.3s ease-in-out;
  -ms-transition: all, 0.3s ease-in-out;
  -o-transition: all, 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

  opacity: 0.3;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;

  max-width: 100%;
}

#nimble-top-section-save-ui > div {
  width: 100%;
}

body.sek-save-section-ui-visible #nimble-top-section-save-ui {

  opacity: 1;
  top:36px;
}

#nimble-top-section-save-ui .sek-close-dialog {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#nimble-top-section-save-ui #sek-saved-section-title.error {
  border: 1px solid #ff0000;
}
*/
/* TEMPLATE GALLERY */
#nimble-tmpl-gallery, #nimble-tmpl-gallery .sek-tmpl-gal-inject-dialog {
  -webkit-transition: top 0.3s ease-in-out;
  -moz-transition: top, 0.3s ease-in-out;
  -ms-transition: top, 0.3s ease-in-out;
  -o-transition: top, 0.3s ease-in-out;
  transition: top 0.3s ease-in-out;
}

#nimble-tmpl-gallery {
  background: rgba(240, 240, 240, 0.89)!important;
  border-bottom: 1px solid #aaa!important;
  color: #222!important;
  font-size: 12px!important;
  position: absolute;
  top: -100vh;
  right: 0;
  left: 0;
  height: calc(100vh - 36px);
  overflow: auto;
  padding: 15px;
  z-index: 1000;
}
.sek-template-gallery-expanded #nimble-tmpl-gallery {
  top: 36px;
}


/* IMPORT DIALOG BOX */
#nimble-tmpl-gallery .sek-tmpl-gal-inject-dialog {
  background: rgba(240, 240, 240, 0.89)!important;
  border-bottom: 1px solid #aaa!important;
  color: #222!important;
  font-size: 12px!important;
  position: absolute;
  top: -100vh;
  right: 0;
  left: 0;
  height: calc(100vh - 36px);
  overflow: auto;
  padding: 15px;
  z-index: 1001;
}
.sek-tmpl-dialog-expanded #nimble-tmpl-gallery .sek-tmpl-gal-inject-dialog {
  top: 0px;
}
/* Hide template gallery while dialog is open. Otherwise the dialog might not be visible if a template has been clicked too low in the page */
.sek-tmpl-dialog-expanded #nimble-tmpl-gallery .sek-tmpl-gallery-inner {
  display: none;
}


#nimble-tmpl-gallery .sek-tmpl-gallery-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin-right: -10px;
  margin-left: -10px;
  margin-top: 8px;
}
#nimble-tmpl-gallery .sek-tmpl-gallery-inner *, #nimble-tmpl-gallery .sek-tmpl-gallery-inner *:after, #nimble-tmpl-gallery .sek-tmpl-gallery-inner *:before{
  box-sizing: border-box;
}
/* TMPL ITEM  */
.sek-tmpl-gallery-inner .sek-tmpl-item {
  -ms-flex: 0 0 calc(25% - 24px);
  flex: 0 0 calc(25% - 24px);
  max-width: calc(25% - 24px);
  padding: 0px;
  margin: 12px;
  width: 100%;
  height: 380px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
        flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  /* cursor: pointer; */
  -webkit-box-shadow: rgb(0 0 0 / 25%) 0px 3px 11px 0px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;
    box-shadow: rgb(0 0 0 / 25%) 0px 3px 11px 0;
}
@media (max-width: 1300px) {
  .sek-tmpl-gallery-inner .sek-tmpl-item {
    -ms-flex: 0 0 calc(33.333% - 24px);
    flex: 0 0 calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
  }
}
@media (max-width: 1000px) {
  .sek-tmpl-gallery-inner .sek-tmpl-item {
    -ms-flex: 0 0 calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

.tmpl-top-title {
  padding: 10px;
  background: #ffffff;
  width: 100%;
}
.tmpl-top-title h3 {
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5em;
  color: #555;
}

.tmpl-thumb-and-info-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}



.sek-tmpl-info {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  max-height: 100%;
  padding: 10px;
  overflow: hidden;
}
.sek-tmpl-info > p {
  color: #ffffff;
  overflow: hidden;
}
/* .sek-tmpl-info > .tmpl-title {
  font-size: 15px;
  margin: 0.5em 0;
} */
.sek-tmpl-info > p {
  font-size: 13px;
  margin: 0.5em 0;
}
.sek-tmpl-info > p.tmpl-date {
  font-size: 12px;
}

/* USE TMPL BUTTON */
.sek-tmpl-info > .use-tmpl {
    cursor: pointer;
    font-size: 21px;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background: #33b3db;
    border-radius: 30px;
    opacity: 0.2;
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.2);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    -webkit-transition: all .20s ease;
    -o-transition: all .20s ease;
    transition: all .20s ease;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}
.sek-tmpl-info:hover > .use-tmpl {
  opacity: 0.5;
}
.sek-tmpl-info > .use-tmpl:hover {
  opacity: 0.95;
}

/* REMOVE TMPL BUTTON */
.sek-tmpl-info > .remove-tmpl, .sek-tmpl-info > .edit-tmpl {
    cursor: pointer;
    font-size: 16px;
    width: 30px;
    height: 30px;
    color: #535353;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    opacity: 0.4;
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.2);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    -webkit-transition: all .20s ease;
    -o-transition: all .20s ease;
    transition: all .20s ease;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
}
.sek-tmpl-info > .remove-tmpl {
  bottom: 10px;
  right: 10px;
}
.sek-tmpl-info > .edit-tmpl {
  bottom: 10px;
  left: 10px;
}
.sek-tmpl-info:hover > .remove-tmpl, .sek-tmpl-info:hover > .edit-tmpl {
  opacity: 0.7;
}
.sek-tmpl-info > .remove-tmpl:hover{
  opacity: 0.95;
  color: red;
}
.sek-tmpl-info > .edit-tmpl:hover {
  opacity: 0.95;
  color: #000000;
}

.sek-tmpl-demo-link {
  position: absolute;
  bottom: 5px;
  left: 5px;
  text-transform: uppercase;
  color: #ffffff;
}
.sek-tmpl-demo-link a {
  color: #ffffff;
}
.sek-tmpl-demo-link a:hover, .sek-tmpl-demo-link a:visited {
  color: #ffffff;
}

.sek-is-site-template {
  position: absolute;
  bottom: 5px;
  right: 5px;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.5em;
  background: #33b3db;
  color: #ffffff;
  padding: 0 3px;
}


/*.sek-tmpl-gallery-inner .sek-tmpl-item:after, .sek-tmpl-gallery-inner .sek-tmpl-item:before {
    box-sizing: inherit;
}*/
.sek-tmpl-gallery-inner .sek-tmpl-thumb {
    /* cursor: pointer; */
    position: relative;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:top;
}
.sek-tmpl-thumb img { max-width: 100%; }
.sek-tmpl-gallery-inner .sek-tmpl-thumb::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.40;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.sek-tmpl-gallery-inner .sek-tmpl-item:hover .sek-tmpl-thumb::after {
  opacity: 0.65;
}

/* FILTER AND CLOSE BUTTON*/
#sek-gal-top-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.sek-close-button {
  position: absolute;
  top: 10px;
  right: 20px;
}
.sek-tmpl-filter-wrapper {
  display: none;
  width: 100%;
}
input.sek-filter-tmpl {
  width: 60%;
}
#sek-gal-top-bar .sek-ui-button-group {
  width: 37%;
  text-align: right;
}
.search-active .sek-tmpl-item {
  display: none;
}
.search-active .sek-tmpl-item.search-match {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* TMPL SOURCE SWITCHER */
#sek-tmpl-source-switcher{
  display: none;/* <= rendered only if we could access NB api */
  width:100%;
  padding: 10px 0;
}
#sek-tmpl-source-switcher .sek-ui-button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* flex-direction: column; */
  flex: 0 0 100%;
  max-width: 100%;
}
#sek-tmpl-source-switcher .sek-ui-button[aria-pressed="true"] {
  background: #33b3db;
  border-color: #33b3db;
  box-shadow: inset 0 -1px 0 #2271b1;
}

[data-sek-tmpl-item-source="api_tmpl"] .sek-tmpl-info .tmpl-api-hide {
  opacity: 0;
}
.sek-tmpl-gallery-inner [data-sek-tmpl-item-source="api_tmpl"]:hover .sek-tmpl-info .tmpl-api-hide{
  opacity: 1;
}
.sek-tmpl-gallery-inner [data-sek-tmpl-item-source="api_tmpl"] .sek-tmpl-thumb::after {
  opacity: 0.10;
}
.sek-tmpl-coming-soon p {
  text-transform: uppercase;
  font-style: italic;
  font-weight: bold;
  font-size: 18px;
  color: #555;
}


/* TMPL PICKING */
[data-input-type="site_tmpl_picker"] {
  margin-bottom: 20px;;
}
[data-input-type="site_tmpl_picker"] > .customize-control-title {
  text-transform: uppercase;
}
.sek-current-site-tmpl {
  width: calc(100% - 16px);
  float: left;
  padding: 10px 8px;
  margin: 5px 0;
  border-color: #ccc;
  background: #f7f7f7;
  box-shadow: inset 0 0px 6px #ccc;
  -webkit-box-shadow:inset 0 0px 6px #ccc;
  vertical-align: top;
  margin-bottom: 10px;
  font-size: 12px;
  border-radius: 3px;
}


.sek-has-site-tmpl .sek-current-site-tmpl {
    background: #33b3db;
    border-color: #33b3db;
    -webkit-box-shadow: inset 1px 0px 6px #2c72ab;
    box-shadow: inset 1px 0px 6px #2c72ab;
    color: #ffffff;
    font-size: 13px;
}
.sek-site-tmpl-not-found .sek-current-site-tmpl {
  background: #f49907;
  border-color: #f49907;
  -webkit-box-shadow: inset 1px 0px 6px #b26e01;
  box-shadow: inset 1px 0px 6px #b26e01;
  color: #ffffff;
  font-size: 13px;
}

.sek-site-tmpl-picking-active .sek-ui-button-group .sek-pick-site-tmpl,
.sek-site-tmpl-picking-active .sek-ui-button-group .sek-pick-site-tmpl:focus,
.sek-pick-site-tmpl:hover {
  background: #33b3db;
  border-color: #33b3db;
  box-shadow: inset 0 -1px 0 #2271b1;
  color: #ffffff;
}
.sek-pick-site-tmpl {
  font-weight: bold;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all  0.2s ease-in-out;
  -ms-transition: all  0.2s ease-in-out;
  -o-transition: all  0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

/* Site template picking mode */
.sek-is-site-tmpl-mode [data-sek-api-site-tmpl="false"] {
  display: none!important;
}
#nimble-tmpl-gallery .sek-tmpl-gallery-inner [data-sek-api-site-tmpl="true"] {display: none;}
.sek-is-site-tmpl-mode .sek-tmpl-gallery-inner [data-sek-api-site-tmpl="true"] {
  display: -webkit-box!important;
  display: -ms-flexbox!important;
  display: flex!important;
}/* LEVEL TREE */
#nimble-level-tree {
  -webkit-transition: top 0.3s ease-in-out;
  -moz-transition: top, 0.3s ease-in-out;
  -ms-transition: top, 0.3s ease-in-out;
  -o-transition: top, 0.3s ease-in-out;
  transition: top 0.3s ease-in-out;
}
.sek-level-tree-expanded #customize-preview iframe {
  top: 366px;
  height: calc(100vh - 366px);
}
/* highlight icon */
.sek-level-tree-expanded #nimble-top-bar .sek-level-tree button {
  color: #44b9e2;
}
#nimble-level-tree {
  background: #f0f0f0!important;
  border-bottom: 1px solid #aaa!important;
  color: #222!important;
  font-size: 12px!important;
  position: absolute;
  top: 36px;
  right: 0;
  left: 0;
  height: 299px;
  overflow: auto;
  padding: 15px;
  z-index: 0;
}
/*.sek-level-tree-expanded #nimble-level-tree {
    top: 36px;
    -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all, 0.3s ease-in-out;
  -ms-transition: all, 0.3s ease-in-out;
  -o-transition: all, 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}*/
#nimble-level-tree ul li {
    padding-left: 30px;
    cursor: pointer;
    margin-bottom: 8px;
}
#nimble-level-tree ul li .sek-remove-level {
  font-size: 16px;
  opacity: 0.6;
}
#nimble-level-tree ul li .sek-remove-level:hover{
  opacity: 1;
}
#nimble-level-tree ul li .sek-level-infos {
  line-height: 30px;
  height: 30px;
  padding-left: 33px;
  position: relative;
  width: calc(100% - 25px);
}
.sek-level-infos .sek-inner-level-infos {
    background: inherit;
    width: inherit;
    height: inherit;
    line-height: inherit;
    padding-left: 4px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: background .20s ease;
    transition: background .20s ease;
    -o-transition: background .20s ease;
}

.sek-inner-level-infos:hover {
  color: #000;
  background: white;
}
.sek-close-level-tree {
  position: fixed;
  top: 44px;
  right: 25px;
}

img.sek-svg-mod-icon {
    max-width: 45px;
}

/* TREE */
.sek-level-infos::before {
    position: absolute;
    left: -31px;
    background: #a2aab2;
    width: 63px;
    height: 2px;
    content: "";
    top: calc(50% - 1px);
}
#nimble-level-tree ul > li:first-child::before {
    position: absolute;
    content: "";
    background: #a2aab2;
    top: -15px;
    height: 16px;
    bottom: 0;
    left: -2px;
    width: 2px;
}
#nimble-level-tree ul > li:last-child::after {
    position: absolute;
    content: "";
    background: #f0f0f0;
    top: 16px;
    bottom: 0;
    left: -2px;
    width: 2px;
}
#nimble-level-tree ul {
  border-left: 2px solid #a2aab2;
  position:relative;
}
#nimble-level-tree ul > li:last-child {
   position: relative;
}