
#agreement {
    max-width: 350px;
    width: 100%;
}

#agreement .text {
    display: inline-block;
    padding-left: 35px;
}

#agreement label{
    -webkit-box-shadow: none;
    box-shadow: none;

}
#agreement .btn span.glyphicon {
    opacity: 0;
}
#agreement .btn.active span.glyphicon {
    opacity: 1;
}
#agreement .btn-default {
    color: #333;
    background-color: #f5f5f5;
    border-color: #8c8c8c;
    text-align:center !important;

}
#agreement .btn {
    font-size:11px;
    border-radius:4px;
    height:auto;
    padding:3px 7px;
}
body {
    background-color:#fff;
    background-image:none;
    padding-bottom:70px;
}
h2 {
    margin-top:0px;
}
.content_box{
    font-weight:600;
    text-align:left;

}

.content_box p{
    text-indent: 2em;
    text-align:justify;
    line-height:1.7em;
}
.content_section {
    padding:10px 10px 10px 70px;
    background-position:60px 90px;
    background-repeat:no-repeat;
}

.content_section .header_page {

    font-weight: bold;font-size:3.2em
}
.content_section .pre_content_section {

    padding-left:40px;
}

.contactForm  select {
    -webkit-appearance: none;
    /* background-image: url('/images/stories/select-arrow-pink.png'); */
    background-position: right center;
    background-repeat: no-repeat;
    line-height: 1em;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    -ms-appearance: none;
    appearance: none !important;
}



/* MOBILE STYLE */
@media screen and (max-width: 768px) {

    .content_section {
        padding:10px 10px;
        background-image:none;
    }
    .content_section .pre_content_section {
        padding-left:0px;
    }
    .content_section .header_page {
        font-weight: bold;
        font-size:2em
    }


}


/* ---SLIDER STYLE-- */
input[type=range] {
    -webkit-appearance: none;
    margin: 2px 0;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #999, 0px 0px 0px #0d0d0d;
    background: #000;
    border-radius: 25px;
    border: 0px solid #000101;
}
input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 1px solid #000000;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -12px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffee3e;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #999;
    border-radius: 25px;
    border: 0px solid #000101;
}
input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 1px solid #000000;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: auto;
    height: 5px;

    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;

    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 15px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #999;
    border-radius: 5px;
}
input[type=range]::-ms-fill-upper {
    background: #999;
    border-radius: 5px;
}
input[type=range]::-ms-thumb {
    border: 1px solid #000;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #000;
    margin-top:-2px;
}
input[type=range]:focus::-ms-fill-lower {
    background: #ffeb7e;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ffeb7e;
}


/* ---FORM STYLE-- */
.input-group input {
    border-right:0px;
}
.input-group .input-group-addon {
    background-color:transparent;
    font-size: 22px;
    color: #cbcbcb;
}


.contactForm input {

    display:inline-block;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: 0px;
    outline-offset: none;
}

/*CALC TABLE*/
.calc_info{
    display:inline-block;
    font-size:0.9em;
    font-weight:bold;
    border:1px solid #000;
    margin-top: -10px;
}
.calc_item{
    display:inline-block;
    margin:15px;

}
.calc_item span{
    font-size:1.8em;
    color:#f06417;
}
/*PAYMENTA BOX*/


#payments .form-group {
    width: 100px;
    height: 90px;

}
#payments .btn {
    margin-top: 0px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    border:none;
}
#payments .btn span{
    color:#fff;
    border:1px solid #999;
}
#payments .btn.active, .btn:active {-webkit-box-shadow: none;
    box-shadow: none;}

#payments label.active {
    margin-top: 0px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}
#payments label.active span{ opacity:1;
    border:1px solid #999;
    color:#f00;
}

.has-success .form-control:focus {
    border-color: none;
    outline: 0;
    -webkit-box-shadow:none;
    box-shadow: none;
}
.has-error .form-control:focus {
    border-color: none;
    outline: 0;
    -webkit-box-shadow:none;
    box-shadow: none;

}

.success .bootstrap-select .dropdown-toggle, .has-success .bootstrap-select .dropdown-toggle {
    border-color: #3c763d;
}

.btn {
    height:40px;
    font-weight:bold;
    border-radius:0px;
}
.help_block{
    width:100%;background-color: #f06417;
    color: white;
    padding-top:20px;padding:20px 40px;margin:20px 0px;
    font-size:14px;
    font-weight: normal;
}
/*WIZARD*/
.wizard li{
    margin:10px 30px 30px 30px;
}

.main-checkbox input[type="checkbox"] {
    display: none!important;
}
.main-checkbox label {
    position: relative;
    z-index:5;
    margin-left: 10px;
    margin-right: 10px;
    text-align: left;
}
.main-checkbox label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #666666;
    vertical-align: middle;
    margin-right: 6px;
    cursor: pointer;
    position: absolute;

}

.main-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #666666;
    box-shadow: inset 0 0 0 4px white;
}

.main-checkbox input[type="checkbox"]:not(:checked) + label .vis {
    position: absolute;
    left: 0;
    z-index:-5;
}

.main-checkbox input[type="checkbox"]:not(:checked) + label .vis::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    animation: progress 2.2s infinite ease-in-out;
    width: 40px;
    height: 40px;
    border: 1px solid #ffb300;
    border-radius: 50%;
    background: #fff3c2;
    opacity: 1!important;
    margin-left:0px;
    margin-top: 0px;
    z-index: 0;
}

.main-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #666666;
    box-shadow: inset 0 0 0 4px white;
}

.main-checkbox input[type="checkbox"]:not(:checked) + label .vis {
    position: absolute;
    left: 0;
    z-index:-5;
}


.main-checkbox input[type="checkbox"]:not(:checked) + label:hover  .vis::before{
    border: 1px solid #3390ab;
    background: #9ddaec;
}

@keyframes progress {
    0%,100% {
        -webkit-transform: rotate(0) scale(0.6) skew(1deg);
        transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.2;
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        transform: rotate(0) scale(1.2) skew(1deg);
        opacity: 0.2;
    }
}

.calc_info {
    background: white;
}

.btn-nav {
    background: url(../assets/img/hamburger-icon-black.svg) no-repeat center;
    background-size: 26px;
    position: static;
    transform: none;
}




.payment-method [type="radio"] {
    display: none;
}

.payment-method .payment-method-selected {
    display: none;
}

.payment-method.min .payment-method-selected,
.payment-method.min .payment-method-item {
    background-color: rgb(250, 250, 250);
    border: 1px solid rgb(210, 210, 210);
}

.payment-method.min .payment-method-selected {
    display: block;
    outline: none;
    box-shadow: 0 0 2px 1px #e79a13;
    border: none;
    position: relative;
    z-index: 1;
}

.payment-method.min .payment-method-selected::after {
    position: absolute;
    border: solid #e79a13;
    border-width: 0 3px 3px 0;
    padding: 3px;
    transform: translateY(-50%) rotate(45deg);
    content: "";
    right: 15px;
    top: 50%;
}

.payment-method.min .payment-method-selected.active::after {
    transform: translateY(-50%) rotate(225deg);
}

.payment-method.min .payment-method-selected,
.payment-method.min label {
    display: block;
    box-sizing: border-box;

    height: 45px;

    margin: 0;
    padding: 0 15px;

    text-align: left;
    line-height: 45px;
}

.payment-method .payment-method-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;

    list-style-type: none;
}

.payment-method.min .payment-method-list {
    display: none;
    flex-direction: column;
}

.payment-method.min .payment-method-list.active {
    display: flex;
}

.payment-method-item {
    user-select: none;
}

.payment-method:not(.min) .payment-method-item label {
    padding: 10px;
}

.payment-method:not(.min) .payment-method-item label:hover,
.payment-method:not(.min) .payment-method-item label:focus {
    background-color: rgb(245, 245, 245);
}

.payment-method-item label {
    outline: none;
}

.payment-method.min .payment-method-item {
    border-top: none;
}

.payment-method.min .payment-method-item:hover {
    background-color: rgb(240, 240, 240);
}

/*.content_section{padding:0px;}*/
/*.content_section .pre_content_section{padding-left20px;}*/
.content_section{background:#FFF;padding: 10px 30px 40px 40px;margin-top:20px;}
.content_section .pre_content_section{padding-left:0px;}
body{background:#ffe98f;}

#credit-tab{
    background-color:#FFF;
    min-height:300px;
}

.method-icon {
    display: flex;
    align-items: center;
}
.payment-method-list .method-icon {
    flex-direction: column;
    align-items: center;
}
.payment-method-list .method-icon {
    filter: grayscale(100%);
}


.payment-method.min .payment-method-list .method-icon {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.payment-method-list [type="radio"]:checked + label .method-icon {
    filter: grayscale(0%);
}

.payment-method:not(.min) label .check-box {
    display: inline-block;
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid rgb(137, 137, 137);
    margin-top: 5px;
}

.payment-method:not(.min) [type="radio"]:checked + label .check-box::after {
    content: "";
    display: block;
    width: 4px;
    height: 12px;
    border-right: 2px solid rgb(107, 185, 240);
    border-bottom: 2px solid rgb(107, 185, 240);
    transform: rotate(45deg);
    position: relative;
    left: 6px;
    top: 1px;
}

.method-icon::before {
    content: "";
    width: 100px;
    height: 45px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 15px;
}

.payment-method.min .method-icon::before {
    width: 40px;
    height: 30px;
    margin-right: 15px;
    margin-bottom: 0;
}

.card-icon::before {
    background-image: url(../img/payments/bk.svg);
}

.cash-icon::before {
    background-image: url(../img/payments/nal.svg);
}

.qiwi-icon::before {
    background-image: url(../img/payments/qiwi.svg);
}

.yd-icon::before {
    background-image: url(../img/payments/yd.svg);
}

.contact-icon::before {
    background-image: url(../img/payments/contact.svg);
}

.creditBlockCalc{}
.creditBlockCalc > span.title, .paymentTypeBlock > span.title{font-size:18px;font-weight:bold;margin-bottom:20px;display:inline-block;}

.creditBlockCalc .rangeBlock{margin-bottom:20px;}
.creditBlockCalc .rangeBlock .rangeItem{margin-bottom:10px;}
.creditBlockCalc .rangeBlock .rangeItem .infoBlock{display:flex;flex-direction: row;jsustify-content: space-between;align-items: baseline;margin-bottom:10px;}
.creditBlockCalc .rangeBlock .rangeItem .infoBlock > span.title{font-size:14px;color:#777777;}
.creditBlockCalc .rangeBlock .rangeItem .infoBlock > span.currentValue{font-size:14px;color:#777777;margin-left:5px;}
.creditBlockCalc .rangeBlock .rangeItem .infoBlock > span.currentValue b{font-size:24px;color:#100f0f;}
.creditBlockCalc .rangeBlock .rangeItem .range{margin-bottom:10px;height:2px;background:#ededed;}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-range-min{background-color: #ffb300;background-image: -webkit-linear-gradient(right, #ffb300, #f48529);background-image: -moz-linear-gradient(right, #ffb300, #f48529);background-image: -o-linear-gradient(right, #ffb300, #f48529);background-image: -ms-linear-gradient(right, #ffb300, #f48529);background-image: linear-gradient(to left, #ffb300, #f48529);height:2px;margin-top:-1px;}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle{width:20px;height:20px;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;background:#ffb300;border:3px solid rgba(251, 236, 93, 0.4);margin-top:-5px;-moz-background-clip: padding;-webkit-background-clip: padding;background-clip: content-box;transition:border-width 200ms;
}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle:target, .creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle:focus{outline:0px;}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-hover, .creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-active{border:6px solid rgba(251, 236, 93, 0.2);-webkit-border-radius: 12.5px;-moz-border-radius: 12.5px;border-radius: 12.5px;width:25px;height:25px;margin-top:-8px;margin-left:-12px;}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-hover{cursor: pointer;}

.creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-active{outline:none;}

.creditBlockCalc .rangeBlock .rangeItem .range > input[type='range']{}
.creditBlockCalc .rangeBlock .rangeItem .helpBlock{display:flex;flex-direction: row;justify-content: space-between;align-items: baseline;}
.creditBlockCalc .rangeBlock .rangeItem .helpBlock > span{color:#999999;font-size:11px;font-weight:lighter;}

.totalInfoBlock{-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;background-color: #ededed;display:flex;flex-direction: row;justify-content: space-around;align-items: baseline;padding:25px 20px 25px 20px;}
.totalInfoBlock .item{display:inline-block;}
.totalInfoBlock .item > span.title{display:inline-block;color:#777777;font-size:14px;width:100%;font-weight:lighter;}

.paymentTypeBlock span.title{margin-bottom:50px;}
.paymentTypeBlock .payment-method-item label{text-align:center;}
.paymentTypeBlock .payment-method{margin-bottom:37px;}
.paymentTypeBlock .nextButtonBlock{text-align:right;}
.paymentTypeBlock .payment-method:not(.min) .payment-method-item label{padding:10px;}

.nextButtonBlock{text-align:center;margin-top:20px;}
.nextButtonBlock button{width: 234px;

    height: 60px;
    display:inline-block;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background-color: #ffcc00;
    background-image: -webkit-linear-gradient(right, #ffcc00, #ffb300);
    background-image: -moz-linear-gradient(right, #ffcc00, #ffb300);
    background-image: -o-linear-gradient(right, #ffcc00, #ffb300);
    background-image: -ms-linear-gradient(right, #ffcc00, #ffb300);
    background-image: linear-gradient(to left, #ffcc00, #ffb300);
    border:none;
    outline:none;
    color:black;
    font-size:16px;
}

.btn_previos{border:1px solid #CCC !important;color:#333  !important;background:#FFF !important;}
.btn_previos:hover{opacity:1 !important;}

@media (max-width: 561px) {

.nextButtonBlock button{
    margin-bottom:10px;
    margin-right:0px;}
}

.help_block{background-color:#ffcc00; color:black;}

@media (max-width: 967px) {

    .paymentTypeBlock span.title{margin-top:30px;}
}

@media(max-width: 768px) {
    .content_box{margin-left:0px;margin-right:0px;}
    .content_section{padding-left:0px;padding-right:0px;margin-left:-15px;margin-right:-15px;margin-top:0px;}

    .paymentTypeBlock .nextButtonBlock{text-align:center;}
    #menu_marker{height:40px;}

    .content_section .pre_content_section {
        padding-left: 10px;
    }

    #contactForm .row{margin-left:0px;margin-right:0px;}
    .totalInfoBlock{margin-left:-25px;margin-right:-15px;padding:15px 10px 15px 10px;}

    .creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle{width:30px;height:30px;-webkit-border-radius:15px;-moz-border-radius: 15px;border-radius: 15px;margin-top:-12px;}
    .creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-hover, .creditBlockCalc .rangeBlock .rangeItem .range .ui-slider-handle.ui-state-active{border:6px solid rgba(255, 0, 0, 0.2);-webkit-border-radius:20px;-moz-border-radius: 20px;border-radius:20px;width:40px;height:40px;margin-top:-5px;margin-left:-14px;margin-top:-15px;}
}