:root {
  --main-color: #ffcf40;
  --main-color-2: #ffde69;
  --main-color-3: #fffef0;
  --main-color-box-shadow: 0 0 0 0.2rem rgba(255, 207, 64, 0.25);
}


body {
  background-color: white; }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9000; }
  .overlay .custom-modal {
    background: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 80%;
    z-index: 9001;
    border-radius: 5px; }
    .overlay .custom-modal .custom-modal-header {
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 10px 20px;
      border-bottom: 1px solid black; }
      .overlay .custom-modal .custom-modal-header div {
        cursor: pointer; }
    .overlay .custom-modal .custom-modal-content {
      padding: 20px 20px;
        overflow-y: auto;
        max-height: 500px;
    }
    /* width */
.overlay .custom-modal .custom-modal-content::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.overlay .custom-modal .custom-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
.overlay .custom-modal .custom-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
.overlay .custom-modal .custom-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
      .overlay .custom-modal .custom-modal-content .row {
        padding: 10px 0; }
        .overlay .custom-modal .custom-modal-content .row .props-inputs.select {
          display: none !important; }
      .overlay .custom-modal .custom-modal-content .bottom-button {
        margin-top: 50px; }

#box-main {
  margin: 0; }

.box {
  flex-grow: 1;
  min-height: 100px;
  position: relative;
  border: 2px solid var(--main-color);
  background-color: #fff5d9;
  background-blend-mode: difference;
  border-radius: 5px;
  padding: 10px;
  margin: 10px; }
  .box.second {
    border-color: #d4d4d4;
    background-color: #f2f2f2; }
  .box button {
    height: 22px;
    width: 22px;
    padding: 0;
    border: 1px solid black;
    border-radius: 3px;
    font-family: initial;
    font-size: initial;
    line-height: initial;
    background-color: transparent;
    cursor: pointer; }
    .box button:hover {
      background-color: rgba(0, 0, 0, 0.2); }
    .box button.add {
      margin-right: 5px; }
    .box button.negation {
      margin-right: 5px; }
  .box .children {
    margin: 0 -5px;
    display: flex;
    flex-wrap: wrap; }
  .box .controls {
    display: flex;
    margin-bottom: 10px; }
.box .controls .options {
      flex-grow: 1;
      display: flex;
      margin: -5px 0 -5px -5px;
}

.box .controls .options .option {
        margin: 5px;
        padding: 0 5px;
        border: 1px solid black;
        border-radius: 3px;
}

.box .controls .options .option:first-of-type {
    font-weight: bold;
}

.box .controls .options .option.clearable {
          position: relative;
          padding-right: 20px;
}

.box .controls .options .option.clearable .remove-option {
       position: absolute;
       top: 0;
       right: 5px;
       cursor: pointer;
}

.box .controls .options .add-option {
      margin: 5px;
}

.box .controls .negation {
}

.box .controls .negation.active {
    background-color: #1abc9c;
}

.ui-selectmenu-menu {
  z-index: 9002; }

.font-large {
  font-size: 2rem; }

.font-medium {
  font-size: 1.5rem; }

#loading {
  position: fixed;
  top: 50%;
  left: calc(100% / 2);
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  color: white;
  text-align: center;
  z-index: 999; }

body.sidebar-lg-show #loading {
  left: calc((100% - 200px) / 2 + 200px); }

#cke_id_body, .django-ckeditor-widget {
  width: 100% !important; }

.sidebar,
.sidebar .nav-dropdown.open {
  /*background-color: white;*/
}
.sidebar .nav-link, .sidebar .nav-dropdown.open .nav-link {
    color: #444444;
}

.sidebar .nav-link .nav-icon, .sidebar .nav-dropdown.open .nav-link .nav-icon {
    color: #444444;
}

.sidebar .nav-link:hover, .sidebar .nav-dropdown.open .nav-link:hover {
      background-color: #fafafa;
      color: var(--main-color);
}

.sidebar .nav-dropdown.open .nav-link .nav-icon {
      background-color: transparent;
      /*color: var(--main-color);*/
      font-weight: bold;
}

.sidebar .nav-dropdown.open .nav-link i {
      background-color: transparent;
      color: var(--main-color);
}

.sidebar .nav-link:hover .nav-icon, .sidebar .nav-dropdown.open .nav-link:hover .nav-icon {
        color: var(--main-color);
}
.sidebar .nav-link:hover.nav-dropdown-toggle::before, .sidebar .nav-dropdown.open .nav-link:hover.nav-dropdown-toggle::before {
        background-color: #fff;
}
        /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%2373818f' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); */

.sidebar .nav-link.active, .sidebar .nav-dropdown.open .nav-link.active {
      background-color: var(--main-color-2);
      color: black;
      font-weight: 500;
}

.sidebar .nav-link.active .nav-icon, .sidebar .nav-dropdown.open .nav-link.active .nav-icon {
        color: #000;
}

.sidebar .nav-title, .sidebar .nav-dropdown.open .nav-title {
    color: #444444;
    font-weight: bold;
}

.sidebar .nav-dropdown.open  .nav-dropdown-items{
  /*background-color: rgba(0, 0, 0, 0.05);*/
  /*border-right: 1px solid #c8ced3;*/
  border-right: 1px solid rgb(221, 221, 221);
}

.sidebar .nav-dropdown.open  .nav-dropdown-toggle {
  border-right: 1px solid rgb(221, 221, 221);
  font-weight: bold;
}

.sidebar {
  border-right: 1px solid rgb(221, 221, 221);
}
.sidebar .sidebar-brand {
  text-align: center;
  padding: 20px 0;
  background: #fafafa;
}

.fixed-right {
    position: absolute;
    bottom: 0px; right: 5px;
}

.file_system td:first-of-type {
    text-align: center;
}

.file_system td:last-of-type a {
    color: black !important;
    font-weight: lighter;
}

@media (max-width: 576px) {
    .nav-link .icon {
        display: none;
    }
}

.auto-overflow-x {
    overflow-x: auto;
}


/*.btn-outline-primary {*/
/*  color: #000000;*/
/*  background-color: white;*/
/*  !*border-color: #FFCF40;*!*/
/*}*/
/*.btn-outline-primary:hover, .btn-outline-primary:active {*/
/*    color: #000000;*/
/*}*/
/*    !*background-color: #FFCF40 !important;*!*/
/*    !*border-color: #FFCF40 !important; }*!*/
/*.btn-outline-primary:focus, .btn-outline-primary:active:focus {*/
/*  box-shadow: 0 0 0 0.2rem rgba(251, 174, 65, 0.5) !important;*/
/*}*/

a {
  color: var(--main-color); }

a:hover {
  color: var(--main-color);
}

.pagination .page-link {
  color: #575757; }
  .pagination .page-link:hover {
    color: #575757;
    font-weight: bold; }
  .pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(87, 87, 87, 0); }
.pagination .page-item {
  margin: 0 2px; }
  .pagination .page-item .page-link {
    border: none;
    border-radius: 0.5rem; }
  .pagination .page-item.active .page-link {
    background-color: #575757; }
    .pagination .page-item.active .page-link:hover {
      color: white; }
.pagination .page-item.previous a,
.pagination .page-item.next a {
  position: relative;
  height: 100%;
  width: 32px;
  /*font-size: 0; */
}
  .pagination .page-item.previous a:before,
  .pagination .page-item.next a:before {
    position: absolute;
    content: '\2039';
    font-size: 20px;
    line-height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); }
.pagination .page-item.next a:before {
  content: '\203a'; }

.test_class:focus {
    outline: none !important;
    border:1px solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
}

/*  Templates - preview */

.template_form {
    width: 100%;
}

.template_form textarea, .template_form .custom-select {
    width: 80% !important;
    max-width: 500px;
    resize: none;
}

.form-subject {
    max-width: 800px !important;
    resize: both !important;
}

.template_form textarea:last-of-type {
    margin-bottom: 5px;
}

.template_form .custom-select {
    border: 1px solid var(--main-color) !important;
}

.template_form tr td:first-of-type {
    padding-right: 10px;
}

#code {
    width: 80% !important;
}

.CodeMirror {
  font-size: 17px;
  border: 1px solid var(--main-color);
  border-radius: 0.25rem;
}

/* The Modal (background) */

iframe {
    height: 500px;
    width: 100%;
    border: 0px;
    overflow: hidden;
}

#preview_modal, #modal_alert {
  display: none;
  position: fixed;
  z-index: 100000;
  padding: 100px 0px 100px 0px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}


/* Modal Content */
#preview_modal_content {
  position: relative;
  background-color: #fefefe;
  margin:  auto;
  padding: 0px 0px 30px 0px;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animation_enter;
  -webkit-animation-duration: 0.5s;
  animation-name: animation_enter;
  animation-duration: 0.5s
}

/* Animation */
@-webkit-keyframes animation_enter {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animation_enter {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

#preview_modal_content input[type=text] {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

#preview_modal_content label {
  margin: 5px 0px 5px 0px;
}

#preview_modal .close, .jumbotron .close, #modal_alert .close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
  margin-bottom: 10px;
}
#preview_modal .close:hover, #modal_alert .close:hover {
  opacity: 1;
}
#preview_modal .close:before, .close:after, .jumbotron .close:before, .jumbotron .close:after, #modal_alert .close:before, #modal_alert .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #333;
}
#preview_modal .close:before, .jumbotron .close:before, #modal_alert .close:before {
  transform: rotate(45deg);
}
#preview_modal .close:after, .jumbotron .close:after, #modal_alert .close:after {
  transform: rotate(-45deg);
}

.formEmail td:first-child {
  margin-bottom: 15px;
}

.formEmail .row, .formEmail .container  {
  max-width: 700px;
}

.formEmail .col-lg-8 input {
  margin-left: 10px;
  width: 180%;
  max-width: 70vw;
}

.formEmail .col-lg-4 input {
  float: left;
  width: 130px;
  background-color: var(--main-color);
}

.formEmail .col-lg-4 button {
  float: right;
}

.underlined {
  padding-bottom: 5px;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(0,0,0,.45);
  /*box-shadow: 0 2px 5px -2px rgba(0,0,0,.15);*/
  box-shadow: 0 8px 4px -6px rgba(0,0,0,.45);
}

.margin-top {
  margin-top: 50px;
}

.chart {
    height: 500px;
}

.chart_loading {
    display: block;
    margin: 220px auto;
}

.narrow_table {
    width: 100% !important;
}


/* TABS */

.nav-tabs {
    margin: 0 0 16px;
    border-bottom: 1px solid #e8e8e8;
    outline: 0;
    transition: padding .3s cubic-bezier(.645,.045,.355,1);
}

.nav-tabs li {
    padding: 12px 16px;
}

.nav-tabs a {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    color: grey;
}

.nav-tabs a:hover {
    color: #ffcf40;
    text-decoration: none;
    transition: color .3s cubic-bezier(.645,.045,.355,1);
}

.nav-tabs li .active {
    /*color: #ffcf40;*/
    color: black;
    background-color: var(--main-color-2);
    font-weight: 500;
    /*border-bottom: 2px solid #ffcf40;*/
    border-bottom: 2px solid  var(--main-color-2);
    padding: 12px 16px;
    /*transition: border-bottom-color .3s cubic-bezier(.645,.045,.355,1);*/
}

.tab-pane {
      background-color: #fafafa;
}

.tooltip-analysis {
    margin-left: 20px;
    fill: black;
}

.tooltip-analysis:hover {
  cursor: pointer;
}

.agregate-number-header {
  height: auto;
}

#create-option-value-row .col-sm-8 a {
  float: right;
  margin: -30px 7px 0px 0px;
}

#create-option-value-row .col-sm-8 a:hover {
  cursor: pointer;
  color: var(--main-color);
}

.custom-modal-content label {
  padding-top: 7px;
}

.custom-label {
  padding: 5px 0px 0px 0px;
  width: 33%;
}

.checkbox-label {
  margin: 5px 5px;
}

.custom-headers {
  display: flex; 
  flex-wrap: wrap;
  position: relative;
  align-items: stretch;
  width: 99%;
}

.custom-input {
  display: inline-block;
  width: 100%;
  height: calc(2.0625rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #5c6873;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-input:focus {
  border-color: var(--main-color-2);
  outline: 0;
  box-shadow: var(--main-color-box-shadow);
}

.tooltip_templates { display: none; }
.tooltipster_table {
    background-color: transparent;
    border: 0px;
    box-shadow: none !important;
}

.tooltipster_table tr td:first-of-type {
    font-weight: bold;
    color: white;
}

.tooltipster_table tr td:nth-of-type(2) {
    color: white;
}

.option_content:hover {
    cursor: pointer;
}

/* Alerts */
.custom-alert-heading {
  margin: 10px 0px 0px 30px;
}

.modal-danger {
  background-color: var(--danger) !important;
}

.custom-alert-body {
  background-color: var(--main-color-3);
  min-height: 100px;
  margin-top: 15px;
  padding-top: 20px !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.jumbotron_info {
    background: var(--main-color-2);
    border-radius: 0.3rem;

    padding: 25px 10px 10px 20px;

    margin-bottom: 20px;
}

.jumbotron_warning {
    background: var(--danger);
    border-radius: 0.3rem;

    padding: 25px 10px 10px 20px;

    margin-bottom: 20px;
}


/* Login */
#id_username {
    border-radius: 5px;
}


/* Segment analysis */

.segment_analysis {

}

.segment_analysis .subheader {
    margin-top: 20px;
    margin-bottom: 30px;
}

.segment_analysis select {
    width: 80%;
    max-width: 500px;
}

.campaign_result_loader {
    font-size: 20px;
}

.dashboard-panel, .dashboard-panel-chart {
    position: relative;
    margin: 5px 15px 15px 0;
    padding: 15px;
    float: left;
    background-color: white;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 8px 0px #ececec;
    box-shadow: 0px 0px 8px 0px #ececec;
    /*display: flex;*/
    /*align-items: center;*/
}

.dashboard-panel {
    width: 350px;
    height: 135px;
}

.dashboard-panel-chart {
    width: 100%;
    max-width: 1080px;
    min-height: 450px;
}

.dashboard-panel a.export {
    color: var(--main-color);
}

.dashboard-panel a.export:hover {
    text-decoration: underline;
    cursor: pointer;
    color: var(--main-color);
}

.dashboard-panel p.dashboard-panel-heading, .dashboard-panel-chart .dashboard-panel-heading {
    display: inline;
    font-weight: 500;
    padding: 0;
    padding-left: 4px;
    margin-bottom: 10px;
    /*background-color: var(--red);*/
}

.dashboard-panel .font-large, .dashboard-panel-chart .font-large {
    font-weight: bold;
    margin-bottom: -5px;
    margin-top: 15px;
}

.dashboard-panel a.export, .dashboard-panel-chart a.export {
    position: absolute;
    top: 15px;
    right: 15px;
}

/*.dashboard-panel-hover:hover {*/
/*    cursor: pointer;*/
/*    background-color: var(--main-color-3) !important;*/
/*}*/

.active-dashboard-panel {
    background-color: var(--main-color-2) !important;
}

.dashboard-panel-heading {
    width: 100%;
    padding-top: 5px;
    padding-left: 20px;
    padding-bottom: 10px;
    /*border-bottom: 2px solid #ccc;*/
}

.cursor-pointer:hover {
    cursor: pointer;
}

.round-checkbox {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: none;
}

.no_style_list {
    list-style-type: none;
    padding-left: 0px;
}

.round-checkbox-header {
    background-color: #c8ced340;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 0.25rem;
    margin-bottom: 5px;
    margin-top: 23px;
    -webkit-transition: all 150ms ease-in;
    -ms-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
}

.round-checkbox-header .round-checkbox-selected-counter {
    padding-left: 20px;
}

.round-checkbox-header .round-checkbox-show::before {
    position: absolute;
    top: 44px;
    right: 24px;
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    margin-top: -4px;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='-634 394 13.8 14' style='enable-background:new -634 394 13.8 14;' xml:space='preserve'%3E%3Cpath fill='%2373818f' d='M-631.3,397.3l4.2,4.1l4.1-4.2c0.1-0.1,0.2-0.2,0.4-0.2s0.3,0,0.4,0.1l1.3,1.3c0.1,0.1,0.2,0.2,0.2,0.4s0,0.3-0.1,0.4 l-5.7,5.9c-0.1,0.1-0.2,0.2-0.4,0.2c-0.1,0-0.3,0-0.4-0.1l-5.9-5.7c-0.1-0.1-0.2-0.2-0.2-0.4s0-0.3,0.1-0.4l1.3-1.3 c0.1-0.1,0.2-0.2,0.4-0.2S-631.4,397.3-631.3,397.3z'/%3E %3C/svg%3E");
    fill: black;
    background-repeat: no-repeat;
    background-position: center;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
}

.round-checkbox-header.selected {
    /*background-color: var(--danger);*/
    background-color: var(--main-color);
}

.round-checkbox-header.selected::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 42px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow:
      2px 0 0 white,
      4px 0 0 white,
      4px -2px 0 white,
      4px -4px 0 white,
      4px -6px 0 white,
      4px -8px 0 white;
    transform: rotate(45deg);
}

.round-checkbox li input, .checkbox-tags input {
  /*  Take out checkbox of document flow and hide it*/
  position: absolute;
  opacity: 0;
}

/* Styled checkbox */
.round-checkbox li input + label, .checkbox-tags input + label {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 100%;
}

.checkbox-tags label {
    text-transform: capitalize;
}

/* Box.*/
.round-checkbox li input + label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    /*background: white;*/
    background: transparent;
    border-radius: 50%;
  }

/*// Box hover*/
.round-checkbox li input:hover + label {
    border: 1px solid var(--main-color);
  }

.round-checkbox li input:hover + label:before {
    /*background: var(--main-color);*/
  }

/*// Box focus*/
.round-checkbox li input:focus + label:before {
    /*box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);*/
}

/*// Box checked*/
.round-checkbox li input:checked + label:before {
    background: var(--main-color);
    font-weight: bold;
    -webkit-transition: all 100ms ease-in;
    -ms-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    transform-origin: bottom;
}

/*// Disabled state label.*/
.round-checkbox li input:disabled + label {
    color: #b8b8b8;
    cursor: auto;
  }

/*// Disabled box.*/
.round-checkbox li input:disabled + label:before {
    box-shadow: none;
    background: #ddd;
  }

.round-checkbox li input:checked + label {
    /*background-color: var(--main-color);*/
    /*background-color: var(--green);*/
    -webkit-transition: all 100ms ease-in;
    -ms-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    transform-origin: bottom;
    font-weight: bold;
}

/*// Checkmark. Could be replaced with an image*/
.round-checkbox li input:checked + label:after {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow:
      2px 0 0 white,
      4px 0 0 white,
      4px -2px 0 white,
      4px -4px 0 white,
      4px -6px 0 white,
      4px -8px 0 white;
    transform: rotate(45deg);
    -webkit-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

/*  TAGS  */
.checkbox-tags {
    position: relative;
    height: fit-content;
    background-color: #c8ced340;
    padding-top: 6px;

    text-align: center;
    font-weight: bold;
    border-radius: 0.25rem;
    margin-bottom: 5px;
    margin-top: 23px;
    margin-right: 5px;
    -webkit-transition: all 150ms ease-in;
    -ms-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
    /*width: 170px;*/
    line-height: 0.5em;
}

.checkbox-tags.selected {
    /*background-color: var(--danger);*/
    background-color: var(--main-color);
    padding-left: 20px;
}

.checkbox-tags.selected::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 20px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
    transform: rotate(45deg);
}

/* Admin */
.customer-form {
    width: 30rem !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.customer-form-sm {
    width: 15rem !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 5px;
}



.benefits-wrapper {
    display: none;
}

.benefit #validity-from, .benefit #validity-to {
    display: none;
}

.added_benefit_wrapper {
    display: inline-block;
    padding: 15px 10px 10px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    min-width: 70px;
    -webkit-box-shadow: 0px 0px 8px 0px #ececec;
    box-shadow: 0px 0px 8px 0px #ececec;
    background-color: #fff5d9;
    border-radius: 4px;
    text-align: center;
}

.added_benefit_wrapper a:hover {
    cursor: pointer;
}

#customer_form input, #customer_form select, #customer_form textarea {
    width: 300px
}



.radio-div {
   /* Equal to scaleX(2) scaleY(0.5) */
  border: 3px solid;
  cursor: pointer;
  padding: 20px 20px 20px 20px;
  text-align: center;
  vertical-align: middle;
}


.radio-div:hover {
   /* Equal to scaleX(2) scaleY(0.5) */
  border-color: #ffcf40;

}


.radio-div.selected {
   /* Equal to scaleX(2) scaleY(0.5) */
  border: 1px solid;
  border-color: #ffcf40;
  background-color: #ffcf40;
}



.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #666;
  width: 10px;
  height: 10px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}



.page-loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #666;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position:absolute;
  top:50%;
  left:50%;
  z-index: 1000;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preview-modal-nav {
    padding: 15px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 45px;
}

.preview-modal-properties-row {
    display: flex;
}

.preview-modal-properties-row > input {
    max-width: 300px;
    margin: 0 10px 0 10px;
}

.preview-modal-properties-row > label {
    width: 155px;
}

section.preview-modal-template {
    padding: 0 15px;
}

section.preview-modal-template > iframe {
    min-height: 650px;
    -webkit-box-shadow: 0px 0px 8px 0px #ececec;
    box-shadow: 0px 0px 8px 0px #ececec;
}