/**
 * Settings page
 */
.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}
@media screen and (max-width:1024px){.row{margin-left:0;margin-right:0}}
.row [class*='col-']{flex-basis:100%;padding-left:15px;padding-right:15px;box-sizing:border-box}
.row .col-1{flex-basis:8.3333333333%;width:8.3333333333%}
.row .col-2{flex-basis:16.6666666667%;width:16.6666666667%}
.row .col-3{flex-basis:25%;width:25%}
.row .col-4{flex-basis:33.3333333333%;width:33.3333333333%}
.row .col-5{flex-basis:41.6666666667%;width:41.6666666667%}
.row .col-6{flex-basis:50%;width:50%}
.row .col-7{flex-basis:58.3333333333%;width:58.3333333333%}
.row .col-8{flex-basis:66.6666666667%;width:66.6666666667%}
.row .col-9{flex-basis:75%;width:75%}
.row .col-10{flex-basis:83.3333333333%;width:83.3333333333%}
.row .col-11{flex-basis:91.6666666667%;width:91.6666666667%}
.row .col-12{flex-basis:100%;width:100%}
.row.no-padding{margin-left:0;margin-right:0}
.row.no-padding [class*='col-']{padding-left:0;padding-right:0}
.row.padding-10{margin-left:-10px;margin-right:-10px}
.row.padding-10 [class*='col-']{padding-left:10px;padding-right:10px}
.row.padding-5{margin-left:0px!important;margin-right:0px!important}
.row.padding-5 > [class*='col-']{padding-left:5px;padding-right:5px}
@media screen and (max-width:320px){.hidden-ss{display:none!important}}
@media screen and (max-width:640px){.row.padding-xs-5{margin-left:-5px;margin-right:-5px}.row.padding-xs-5 > [class*='col-']{padding-left:5px;padding-right:5px}.hidden-xs{display:none!important}}
@media screen and (max-width:1024px){.row .col-sm-1{flex-basis:8.3333333333%;width:8.3333333333%}.row .col-sm-2{flex-basis:16.6666666667%;width:16.6666666667%}.row .col-sm-3{flex-basis:25%;width:25%}.row .col-sm-4{flex-basis:33.3333333333%;width:33.3333333333%}.row .col-sm-5{flex-basis:41.6666666667%;width:41.6666666667%}.row .col-sm-6{flex-basis:50%;width:50%}.row .col-sm-7{flex-basis:58.3333333333%;width:58.3333333333%}.row .col-sm-8{flex-basis:66.6666666667%;width:66.6666666667%}.row .col-sm-9{flex-basis:75%;width:75%}.row .col-sm-10{flex-basis:83.3333333333%;width:83.3333333333%}.row .col-sm-11{flex-basis:91.6666666667%;width:91.6666666667%}.row .col-sm-12{flex-basis:100%;width:100%}.row.no-sm-padding{margin-left:0;margin-right:0}.row.no-sm-padding [class*='col-']{padding-left:0;padding-right:0}.hidden-sm{display:none!important}}
@media screen and (min-width:641px){.row .col-md-1{flex-basis:8.3333333333%;width:8.3333333333%}.row .col-md-2{flex-basis:16.6666666667%;width:16.6666666667%}.row .col-md-3{flex-basis:25%;width:25%}.row .col-md-4{flex-basis:33.3333333333%;width:33.3333333333%}.row .col-md-5{flex-basis:41.6666666667%;width:41.6666666667%}.row .col-md-6{flex-basis:50%;width:50%}.row .col-md-7{flex-basis:58.3333333333%;width:58.3333333333%}.row .col-md-8{flex-basis:66.6666666667%;width:66.6666666667%}.row .col-md-9{flex-basis:75%;width:75%}.row .col-md-10{flex-basis:83.3333333333%;width:83.3333333333%}.row .col-md-11{flex-basis:91.6666666667%;width:91.6666666667%}.row .col-md-12{flex-basis:100%;width:100%}.row.padding-md-10{margin-left:-10px;margin-right:-10px}.row.padding-md-10 [class*='col-']{padding:10px}.hidden-md{display:none!important}.md-order-first{order:-1}}
@media screen and (min-width:1025px){.row .col-lg-1{flex-basis:8.3333333333%;width:8.3333333333%}.row .col-lg-2{flex-basis:16.6666666667%;width:16.6666666667%}.row .col-lg-3{flex-basis:25%;width:25%}.row .col-lg-4{flex-basis:33.3333333333%;width:33.3333333333%}.row .col-lg-5{flex-basis:41.6666666667%;width:41.6666666667%}.row .col-lg-6{flex-basis:50%;width:50%}.row .col-lg-7{flex-basis:58.3333333333%;width:58.3333333333%}.row .col-lg-8{flex-basis:66.6666666667%;width:66.6666666667%}.row .col-lg-9{flex-basis:75%;width:75%}.row .col-lg-10{flex-basis:83.3333333333%;width:83.3333333333%}.row .col-lg-11{flex-basis:91.6666666667%;width:91.6666666667%}.row .col-lg-12{flex-basis:100%;width:100%}.hidden-lg{display:none!important}.row.padding-lg-big{margin-left:-30px;margin-right:-30px}.row.padding-lg-big > [class*='col-']{padding-left:30px;padding-right:30px}}
.text-right{text-align:right}
.text-center{text-align:center}
.text-left{text-align:left}
.float-right{float:right!important}
@media screen and (min-width:1025px){.float-lg-right{float:right!important}}
@media screen and (min-width:641px){.float-md-right{float:right!important}}
#calms_bg{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.7);top:0;left:0;z-index:11;display:none}
.btn-calms{background-color:#DD3333;border:none;margin:10px auto;color:white;font-weight:600;padding:8px 45px;text-align:center;border-radius:4px;text-decoration:none;display:block;font-size:1em;text-transform:none;cursor:pointer;-webkit-animation: buttonms 800ms infinite;
    -moz-animation: buttonms 800ms infinite;
    -o-animation: buttonms 800ms infinite;
    animation: buttonms 800ms infinite;}
.btn-calms:hover{background-color:#e39725}
.calms-popup{position:fixed;max-width:900px;min-height:50px;background-color:#fff;z-index:16;padding:0;border-radius:5px;display:none}
#calms{border:5px solid #f3f4f7;margin:15px 0 30px}
#calms > .row{margin:0}
#calms .result{background-color:#f3f4f7}
#calms .result h4{font-size:1.5em;margin:.5em 0}
#calms .result .cal1 b{color:#6975C8}
#calms .result .cal2 b{color:#CE68A5}
#calms .result .cal3 b{color:#4AB5C1}
#calms .result #totalcalmsCal{font-size:1.5em;vertical-align:sub;margin-left:1em}
#calms .result .total{padding:.5em 0;border-bottom:1px solid #ededed}
#calms .result .total b{float:right}
#calms .result .months{margin-top:15px}
#calms .result .months [class*='col-']{padding-top:5px;padding-bottom:5px}
#calms .result .months [class*='col-']:nth-child(4n+3),#calms .result .months [class*='col-']:nth-child(4n+4){background-color:#e7e7e7}
#calms .result .months [class*='col-']:nth-child(2n+4){font-weight:700}
#calms .result .months .head{font-weight:700;font-size:.75em;text-transform:uppercase;color:#666;border-bottom:1px solid #ddd}
#calms .calms-block{padding:25px 15px 10px}
#calms #calmsCalBar{margin-left:-2px;margin-right:-2px;margin-bottom:1em}
#calms #calmsCalBar .col-4{padding-left:2px;padding-right:2px;-o-transition:0.8s;-ms-transition:0.8s;-moz-transition:0.8s;-webkit-transition:0.8s;transition:0.8s}
#calms #calmsCalBar .col-4:nth-child(1) .inner-col{background-color:#6975C8}
#calms #calmsCalBar .col-4:nth-child(2) .inner-col{background-color:#CE68A5}
#calms #calmsCalBar .col-4:nth-child(3) .inner-col{background-color:#4AB5C1}
#calms #calmsCalBar .inner-col{height:20px;width:100%;position:relative;-o-transition:0.5s;-ms-transition:0.5s;-moz-transition:0.5s;-webkit-transition:0.5s;transition:0.5s}
#calms #calmsCalBar .inner-col:hover{box-shadow:0 0 0 3px rgba(0,0,0,0.1)}
@media screen and (min-width:1025px){#calms #calmsCalBar .inner-col:hover .calms-tooltip{display:block}}
#calms #calmsCalBar .inner-col .calms-tooltip{position:absolute;font-size:.75em;background:#fff;padding:5px;border-radius:3px;box-shadow:0 2px 2px 2px #0002;left:50%;width:fit-content;z-index:2;bottom:100%;transform:translateX(-50%);min-width:105px;display:none}
#calms #calmsCalBar .inner-col .calms-tooltip:after{content:'';position:absolute;bottom:-5px;left:50%;width:0;height:0;border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}
#calms #calmsCalBar .inner-col .calms-tooltip b{display:block}
#calms .button{font-weight:700;width:fit-content;text-align:center;padding:1em;margin:15px auto;border-radius:3px;display:block}
.range-slider{margin-bottom:20px}
.range-slider input[type="range"]{margin:auto;outline:none;padding:0;width:100%;height:5px;background-color:#dedede;background-image:-webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,#444C59),color-stop(100%,#444C59));background-size:0% 100%;background-repeat:no-repeat;border-radius:10px;cursor:pointer;-webkit-appearance:none;border:0}
.range-slider input[type="range"]::-webkit-slider-runnable-track{box-shadow:none;border:none;background:transparent;-webkit-appearance:none}
.range-slider input[type="range"]::-webkit-slider-thumb{height:25px;width:25px;border:3px solid #444C59;background:#fff;border-radius:50%;box-shadow:0 0 1px 3px rgba(0,0,0,0.1);-webkit-appearance:none}
.range-slider input[type="number"]{padding:5px 30px 5px 10px;max-width:85px}
.range-slider label{display:block;margin-bottom:5px;color:#888}
.range-slider .box-text{position:relative;text-align:right}
.range-slider .box-text .unit{position:absolute;color:#888;font-size:.80em;right:7px;top:10px}
.list-checkbox [type="checkbox"]:checked,.list-checkbox [type="checkbox"]:not(:checked){position:absolute;left:-9999px}
.list-checkbox [type="checkbox"]:checked + span,.list-checkbox [type="checkbox"]:not(:checked) + span{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}
.list-checkbox [type="checkbox"]:checked + span:before,.list-checkbox [type="checkbox"]:not(:checked) + span:before{content:'';position:absolute;left:0;top:0;width:15px;height:15px;border:2px solid #444C59;background:#fff;border-radius:50%}
.list-checkbox [type="checkbox"]:checked + span:after,.list-checkbox [type="checkbox"]:not(:checked) + span:after{content:'';width:7px;height:7px;background:#444C59;position:absolute;top:4px;left:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;border-radius:50%}
.list-checkbox [type="checkbox"]:not(:checked) + span:after{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
.list-checkbox [type="checkbox"]:checked + span:after{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
/*PART2*/
#calms{border:5px solid #f3f4f7;margin:15px 0 30px;& > .row{margin:0}
.result{background-color:#f3f4f7;h4{font-size:1.5em;margin:.5em 0}
.cal1 b{color:#6975C8}
.cal2 b{color:#CE68A5}
.cal3 b{color:#4AB5C1}
#totalcalmsCal{font-size:1.5em;vertical-align:sub;margin-left:1em}
.total{padding:.5em 0;border-bottom:1px solid #ededed;b{float:right}}
.months{margin-top:15px;[class*='col-']{padding-top:5px;padding-bottom:5px;&:nth-child(4n+3),&:nth-child(4n+4){background-color:#e7e7e7}
&:nth-child(2n+4){font-weight:700}}
.head{font-weight:700;font-size:.75em;text-transform:uppercase;color:#666;border-bottom:1px solid #ddd}}}
.calms-block{padding:25px 15px 10px}
#calmsCalBar{margin-left:-2px;margin-right:-2px;margin-bottom:1em;.col-4{padding-left:2px;padding-right:2px;@include trans(.8s);&:nth-child(1){.inner-col{background-color:#6975C8}}
&:nth-child(2){.inner-col{background-color:#CE68A5}}
&:nth-child(3){.inner-col{background-color:#4AB5C1}}}
.inner-col{height:20px;width:100%;position:relative;@include trans(.5s);&:hover{box-shadow:0 0 0 3px rgba(0,0,0,.1);@include lg(){.calms-tooltip{display:block}}}
.calms-tooltip{position:absolute;font-size:.75em;background:#fff;padding:5px;border-radius:3px;box-shadow:0 2px 2px 2px #0002;left:50%;width:fit-content;z-index:2;bottom:100%;transform:translateX(-50%);min-width:105px;display:none;&:after{content:'';position:absolute;bottom:-5px;left:50%;width:0;height:0;border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}
b{display:block}}}}
.button{font-weight:700;width:fit-content;text-align:center;padding:1em;margin:15px auto;border-radius:3px;display:block}}
.range-slider{margin-bottom:20px;input[type="range"]{margin:auto;outline:none;padding:0;width:100%;height:5px;background-color:#dedede;background-image:-webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,#444C59),color-stop(100%,#444C59));background-size:0% 100%;background-repeat:no-repeat;border-radius:10px;cursor:pointer;-webkit-appearance:none;border:0;&::-webkit-slider-runnable-track{box-shadow:none;border:none;background:transparent;-webkit-appearance:none}
&::-webkit-slider-thumb{height:25px;width:25px;border:3px solid #444C59;background:#fff;border-radius:50%;box-shadow:0 0 1px 3px rgba(0,0,0,0.1);-webkit-appearance:none}}
input[type="number"]{padding:5px 30px 5px 10px;max-width:85px}
label{display:block;margin-bottom:5px;color:#888}
.box-text{position:relative;text-align:right;.unit{position:absolute;color:#888;font-size:.85em;right:7px;top:9px}}}
.list-checkbox{[type="checkbox"]:checked,[type="checkbox"]:not(:checked){position:absolute;left:-9999px;& + span{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666;&:before{content:'';position:absolute;left:0;top:0;width:16px;height:16px;border:2px solid #444C59;background:#fff;border-radius:50%}
&:after{content:'';width:8px;height:8px;background:#444C59;position:absolute;top:4px;left:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;border-radius:50%}}}
[type="checkbox"]:not(:checked) + span:after{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
[type="checkbox"]:checked + span:after{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}
@-webkit-keyframes buttonms{0%{color:#000}50%{color:#fff}100%{color:#000}}
@-moz-keyframes buttonms{0%{color:#000}50%{color:#fff}100%{color:#000}}
@-o-keyframes buttonms{0%{color:#000}50%{color:#fff}100%{color:#000}}
@keyframes buttonms{0%{color:#000}50%{color:#fff}100%{color:#000}}

.custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 600px;
  margin: 30px auto;
  max-width: 97%;
}
.custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
    overflow-y: auto;
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -30px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

@media screen and (min-width:800px){
    .custom-model-main:before {
      content: "";
      display: inline-block;
      height: auto;
      vertical-align: middle;
      margin-right: -0px;
      height: 100%;
    }
}
@media screen and (max-width:799px){
  .custom-model-inner{margin-top: 45px;}
}
