/*------------------------------------------------------------------------------------*/
/*------------------------------  YOUR CUSTOM CSS STYLE  -----------------------------*/

@media screen and (max-width: 640px) {
    #main-content {
        width: 100%;
        padding: 10px 0 !important;
        background-color: #dfe5e9;
    }
}

.slim {
	max-height: 250px;
  border-radius: 10px;
} 

.dropzone {
  background-color: #eee;
  -webkit-transition: background-color .25s;
  transition: background-color .25s;
  padding-bottom: .025px;
  border-radius: 10px;
  border: 0 !important;
}

.dropzone .dz-message {
  text-align: center;
  margin: 3.5em 0;
}

.dropzone .dz-preview.dz-image-preview {
  background: unset !important;
}

.dropzone:hover {
  background-color: #ddd;
}

.img-fluid {
  display: block;
  max-width: 100%;
  height: auto;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border: unset !important;
    border-radius: 2px
}

table.dataTable thead>tr>th {
    max-width: 250px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #333 !important;
    background: unset;
    background-color: #e4e7ea !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important;
    border: unset !important;
    background: unset;
    background-color: #2b2e33 !important;
    border-color: #2b2e33 !important;
}

@media screen and (min-width: 640px) {
    .dataTables_wrapper .dataTables_filter {
        float: left;
        margin-right: 20px;
        width: 50%;
    }
    .dataTables_wrapper .dataTables_filter label {
        width: 100%;
    }
}

@media screen and (max-width: 1034px) {
    .mhide {
        display: none;
    }
    .mshow {
        display: block;
    }
    .modal-body .mshow {
        display: none;
    }
    .modal-body .mhide {
        display: block;
    }
}

@media screen and (min-width: 1034px) {
    .mhide {
        display: block;
    }
    .mshow {
        display: none;
    }
}

div.dataTables_paginate {
	float: right;
	margin: 0;
}

div.dataTables_paginate ul.pagination {
	margin: 2px 0;
	white-space: nowrap;
}

.dataTables_filter input[type=search] {
    display: block;
    width: 100%;
    height: auto;
    padding: 8px 12px;
    font-size: 13px;
    color: #555;
    background-color: #FFF !important;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    -moz-transition: all .2s linear 0,box-shadow .2s linear 0;
    -o-transition: all .2s linear 0,box-shadow .2s linear 0;
    transition: all .2s linear 0,box-shadow .2s linear 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dataTables_filter {
    margin: 0;
}

.mr-2, .mx-2 {
    margin-right: 0.5rem !important;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid #ECF0F3;
    border-radius: 0.42rem; }
    .card > hr {
      margin-right: 0;
      margin-left: 0; }
    .card > .list-group {
      border-top: inherit;
      border-bottom: inherit; }
      .card > .list-group:first-child {
        border-top-width: 0;
        border-top-left-radius: calc(0.42rem - 1px);
        border-top-right-radius: calc(0.42rem - 1px); }
      .card > .list-group:last-child {
        border-bottom-width: 0;
        border-bottom-right-radius: calc(0.42rem - 1px);
        border-bottom-left-radius: calc(0.42rem - 1px); }
  
  .card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 2.25rem; }
  
  .card-title {
    margin-bottom: 2rem; }
  
  .card-subtitle {
    margin-top: -1rem;
    margin-bottom: 0; }
  
  .card-text:last-child {
    margin-bottom: 0; }
  
  .card-link:hover {
    text-decoration: none; }
  
  .card-link + .card-link {
    margin-left: 2.25rem; }
  
  .card-header {
    padding: 2rem 2.25rem;
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #ECF0F3; }
    .card-header:first-child {
      border-radius: calc(0.42rem - 1px) calc(0.42rem - 1px) 0 0; }
    .card-header + .list-group .list-group-item:first-child {
      border-top: 0; }
  
  .card-footer {
    padding: 2rem 2.25rem;
    background-color: #ffffff;
    border-top: 1px solid #ECF0F3; }
    .card-footer:last-child {
      border-radius: 0 0 calc(0.42rem - 1px) calc(0.42rem - 1px); }
  
  .card-header-tabs {
    margin-right: -1.125rem;
    margin-bottom: -2rem;
    margin-left: -1.125rem;
    border-bottom: 0; }
  
  .card-header-pills {
    margin-right: -1.125rem;
    margin-left: -1.125rem; }
  
  .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem; }
  
  .card-img,
  .card-img-top,
  .card-img-bottom {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%; }
  
  .card-img,
  .card-img-top {
    border-top-left-radius: calc(0.42rem - 1px);
    border-top-right-radius: calc(0.42rem - 1px); }
  
  .card-img,
  .card-img-bottom {
    border-bottom-right-radius: calc(0.42rem - 1px);
    border-bottom-left-radius: calc(0.42rem - 1px); }
  
  .card-deck .card {
    margin-bottom: 12.5px; }
  
  @media (min-width: 576px) {
    .card-deck {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
      flex-flow: row wrap;
      margin-right: -12.5px;
      margin-left: -12.5px; }
      .card-deck .card {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-right: 12.5px;
        margin-bottom: 0;
        margin-left: 12.5px; } }
  
  .card-group > .card {
    margin-bottom: 12.5px; }
  
  @media (min-width: 576px) {
    .card-group {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
      flex-flow: row wrap; }
      .card-group > .card {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-bottom: 0; }
        .card-group > .card + .card {
          margin-left: 0;
          border-left: 0; }
        .card-group > .card:not(:last-child) {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0; }
          .card-group > .card:not(:last-child) .card-img-top,
          .card-group > .card:not(:last-child) .card-header {
            border-top-right-radius: 0; }
          .card-group > .card:not(:last-child) .card-img-bottom,
          .card-group > .card:not(:last-child) .card-footer {
            border-bottom-right-radius: 0; }
        .card-group > .card:not(:first-child) {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0; }
          .card-group > .card:not(:first-child) .card-img-top,
          .card-group > .card:not(:first-child) .card-header {
            border-top-left-radius: 0; }
          .card-group > .card:not(:first-child) .card-img-bottom,
          .card-group > .card:not(:first-child) .card-footer {
            border-bottom-left-radius: 0; } }
  
  .card-columns .card {
    margin-bottom: 2rem; }
  
  @media (min-width: 576px) {
    .card-columns {
      -webkit-column-count: 3;
      -moz-column-count: 3;
      column-count: 3;
      -webkit-column-gap: 1.25rem;
      -moz-column-gap: 1.25rem;
      column-gap: 1.25rem;
      orphans: 1;
      widows: 1; }
      .card-columns .card {
        display: inline-block;
        width: 100%; } }
  
  .accordion > .card {
    overflow: hidden; }
    .accordion > .card:not(:last-of-type) {
      border-bottom: 0;
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0; }
    .accordion > .card:not(:first-of-type) {
      border-top-left-radius: 0;
      border-top-right-radius: 0; }
    .accordion > .card > .card-header {
      border-radius: 0;
      margin-bottom: -1px; }

.gutter-b {
    margin-bottom: 25px;
}

.alert.alert-custom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-flow: wrap;
    padding: 1.5rem 2rem;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9 {
    padding-bottom: 55%;
}

@media (max-width: 756px) {
  .embed-responsive-16by9 {
    padding-bottom: 190% !important;
  }
}

@media (max-width: 1201px) {
  .embed-responsive-16by9 {
    padding-bottom: 115.78%;
  }
}

.embed-responsive-1by1 {
  padding-top:100%
}

.embed-responsive-9by16 {
  padding-bottom: 177.78%;
}

.embed-responsive-tt {
  padding-bottom: 115.78%;
}

.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.other-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
  
.other-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

@media (max-width: 850px) {
    .alert-buttons {
        display: block !important;
        margin-top: 10px;
    }
}

.alert.alert-custom .alert-text {
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin: 0 !important;
}

.btn.btn-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    height: calc(1.5em + 1.3rem + 2px);
    width: calc(1.5em + 1.3rem + 2px);
}

.btn.btn-icon.btn-sm, .btn-group-sm > .btn.btn-icon {
    height: calc(1.35em + 1.1rem + 2px);
    width: calc(1.35em + 1.1rem + 2px);
}

.draggable .draggable-handle {
    cursor: move;
}

.mb-3, .my-3 {
    margin-bottom: 0.75rem !important;
}

.rounded {
    border-radius: 0.42rem !important;
}

#content-builder {
    padding: 15px;
    margin: 0 auto;
}

#viewPort {
  margin: 0 auto;
}

#viewPort.view-desktop {
  width: 100%;
}

#viewPort.view-mobile {
  max-width: 600px;
}

#viewPort.view-mobile .alert-text {
  text-align: center; 
}

#viewPort.view-mobile .alert-buttons {
  display: block;
  text-align: center;    
  margin: 0 auto;
  padding-top: 10px;
}

#viewPort.view-mobile .card .card-title {
  width: 100%;
  display: block;
  margin: 0 auto;
  text-align: center; 
  padding-top: 10px;
  padding-bottom: 10px;
}

#viewPort.view-mobile .card .card-toolbar {
  width: 100%;
  display: block;
  text-align: center; 
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 auto;
}

#viewPort.view-mobile .row .col-lg-6 {
  width: 100%;
}

#viewPort.view-mobile .row .col-lg-4 {
  width: 100%;
}

#viewPort.view-mobile .row .col-lg-3 {
  width: 100%;
}

#viewPort.view-mobile .card-toolbar .btn-icon i {
  width: 15px;
}

#viewPort.view-mobile .card-toolbar .fa-arrow-left:before {
  content: "\f062";
}

#viewPort.view-mobile .card-toolbar .fa-arrow-right:before {
  content: "\f063";
}

#viewPort.view-mobile .alert-buttons .btn {   
  margin: 5px auto;
}

.pl-5, .px-5 {
    padding-left: 1.25rem !important;
}

.pr-5, .px-5 {
    padding-right: 1.25rem !important;
}

.card.card-custom {
    -webkit-box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.05);
    box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.05);
    border: 0; }
    .card.card-custom > .card-header {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      -webkit-box-align: stretch;
      -ms-flex-align: stretch;
      align-items: stretch;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      min-height: 70px;
      padding-top: 0;
      padding-bottom: 0;
      background-color: transparent; }
      .card.card-custom > .card-header .card-title {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0.5rem;
        margin-left: 0; }
        .card.card-custom > .card-header .card-title .card-icon {
          margin-right: 0.75rem;
          line-height: 0; }
          .card.card-custom > .card-header .card-title .card-icon i {
            font-size: 1.25rem;
            color: #80808F;
            line-height: 0; }
            .card.card-custom > .card-header .card-title .card-icon i:after, .card.card-custom > .card-header .card-title .card-icon i:before {
              line-height: 0; }
          .card.card-custom > .card-header .card-title .card-icon .svg-icon svg {
            height: 24px;
            width: 24px; }
          .card.card-custom > .card-header .card-title .card-icon .svg-icon svg g [fill] {
            -webkit-transition: fill 0.3s ease;
            transition: fill 0.3s ease;
            fill: #80808F; }
          .card.card-custom > .card-header .card-title .card-icon .svg-icon svg:hover g [fill] {
            -webkit-transition: fill 0.3s ease;
            transition: fill 0.3s ease; }
        .card.card-custom > .card-header .card-title,
        .card.card-custom > .card-header .card-title .card-label {
          font-weight: 500;
          font-size: 1.275rem;
          color: #212121; }
        .card.card-custom > .card-header .card-title .card-label {
          margin: 0 0.75rem 0 0;
          -ms-flex-wrap: wrap;
          flex-wrap: wrap; }
        .card.card-custom > .card-header .card-title small {
          color: #B5B5C3;
          font-size: 1rem; }
      .card.card-custom > .card-header .card-toolbar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0.5rem 0;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap; }
      .card.card-custom > .card-header.card-header-tabs-line {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch; }
        .card.card-custom > .card-header.card-header-tabs-line .card-toolbar {
          margin: 0; }
        .card.card-custom > .card-header.card-header-tabs-line .nav {
          border-bottom-color: transparent; }
          .card.card-custom > .card-header.card-header-tabs-line .nav .nav-item {
            -webkit-box-align: stretch;
            -ms-flex-align: stretch;
            align-items: stretch; }
          .card.card-custom > .card-header.card-header-tabs-line .nav .nav-link {
            padding-top: 2rem;
            padding-bottom: 2rem; }
      .card.card-custom > .card-header.card-header-right {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end; }
    .card.card-custom > .card-body {
      padding: 2rem 2.25rem; }
    .card.card-custom > .card-footer {
      background-color: transparent; }
    .card.card-custom.card-stretch {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
      align-items: stretch !important;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      height: 100%; }
      .card.card-custom.card-stretch.gutter-b {
        height: calc(100% - 25px); }
      .card.card-custom.card-stretch.card-stretch-half {
        height: 50%; }
        .card.card-custom.card-stretch.card-stretch-half.gutter-b {
          height: calc(50% - 25px); }
      .card.card-custom.card-stretch.card-stretch-third {
        height: 33.33%; }
        .card.card-custom.card-stretch.card-stretch-third.gutter-b {
          height: calc(33.33% - 25px); }
      .card.card-custom.card-stretch.card-stretch-fourth {
        height: 25%; }
        .card.card-custom.card-stretch.card-stretch-fourth.gutter-b {
          height: calc(25% - 25px); }
    .card.card-custom.card-fit > .card-header {
      border-bottom: 0; }
    .card.card-custom.card-fit > .card-footer {
      border-top: 0; }
    .card.card-custom.card-space {
      padding-left: 2.25rem;
      padding-right: 2.25rem; }
      .card.card-custom.card-space > .card-header {
        padding-left: 0;
        padding-right: 0; }
      .card.card-custom.card-space > form > .card-body,
      .card.card-custom.card-space > .card-body {
        padding-left: 0;
        padding-right: 0; }
      .card.card-custom.card-space > form > .card-footer,
      .card.card-custom.card-space > .card-footer {
        padding-left: 0;
        padding-right: 0; }
    .card.card-custom.card-sticky > .card-header {
      -webkit-transition: left 0.3s, right 0.3s, height 0.3s;
      transition: left 0.3s, right 0.3s, height 0.3s;
      min-height: 70px; }
    .card-sticky-on .card.card-custom.card-sticky > .card-header {
      -webkit-transition: left 0.3s, right 0.3s, height 0.3s;
      transition: left 0.3s, right 0.3s, height 0.3s;
      position: fixed;
      -webkit-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.1);
      box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.1);
      z-index: 101;
      background: #ffffff; }
    .card.card-custom.card-transparent {
      background-color: transparent; }
    .card.card-custom.card-shadowless {
      -webkit-box-shadow: none;
      box-shadow: none; }
    .card.card-custom.card-border {
      -webkit-box-shadow: none;
      box-shadow: none;
      border: 1px solid #ECF0F3; }
    .card.card-custom .card-scroll {
      position: relative;
      overflow: auto; }
    .card.card-custom.card-collapsed > form,
    .card.card-custom.card-collapsed > .card-body {
      display: none; }
    .card.card-custom .card-header .card-toolbar [data-card-tool="toggle"] i {
      -webkit-transition: all 0.15s ease;
      transition: all 0.15s ease; }
    .card.card-custom.card-collapsed .card-header .card-toolbar [data-card-tool="toggle"] i, .card.card-custom.card-collapse .card-header .card-toolbar [data-card-tool="toggle"] i {
      -webkit-transition: all 0.15s ease;
      transition: all 0.15s ease;
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg); }
  
  .card-spacer {
    padding: 2rem 2.25rem !important; }
  
  .card-spacer-x {
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important; }
  
  .card-spacer-y {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important; }
  
  .card-rounded {
    border-radius: 0.42rem; }
  
  .card-rounded-top {
    border-top-left-radius: 0.42rem;
    border-top-right-radius: 0.42rem; }
  
  .card-rounded-bottom {
    border-bottom-left-radius: 0.42rem;
    border-bottom-right-radius: 0.42rem; }

.ql-snow .ql-picker.ql-size .ql-picker-label::before, .ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: 'Size';
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12px"]::before {
  content: '12px';
  font-size: 12px !important;
}
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14px"]::before {
  content: '14px';
  font-size: 14px !important;
}
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before {
  content: '16px';
  font-size: 16px !important;
}
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18px"]::before {
  content: '18px';
  font-size: 18px !important;
}
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20px"]::before {
  content: '20px';
  font-size: 20px !important;
}
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24px"]::before {
  content: '24px';
  font-size: 24px !important;
}

.ql-color .ql-picker-options [data-value=color-picker]:before {
  content: 'Pick Color';
}

.ql-color .ql-picker-options [data-value=color-picker] {
  background: none !important;
  width: 100% !important;
  height: 25px !important;
  text-align: center;
  color: #000;
  text-decoration: underline;
}

.ql-snow .ql-colortip {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 5px #ddd;
  color: #444;
  padding: 5px 12px;
  white-space: nowrap;
}

.ql-snow .ql-colortip {
  position: absolute;
  transform: translateY(10px);
}

.ql-snow .ql-colortip.ql-editing input[type=text] {
  display: inline-block;
}

.ql-snow .ql-colortip input[type=text] {
  display: none;
  border: 1px solid #ccc;
  font-size: 13px;
  height: 26px;
  margin: 0px;
  padding: 3px 5px;
  width: 170px;
}
.ql-snow .ql-colortip a {
  line-height: 26px;
  cursor: pointer;
}
.ql-snow .ql-colortip.ql-editing a.ql-action::after {
  border-right: 0px;
  content: 'Save';
  margin-left: 16px;
  padding-right: 0px;
}
.ql-align-right {
	text-align: right;
  	margin-bottom: 10px;
}
.ql-align-center {
	text-align: center;
 	margin-bottom: 10px;
}
.ql-align-left {
	text-align: left;
  	margin-bottom: 10px;
}