body {
    font-family: 'Oswald', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

h1 {
    color: #000;
    font-size: 48px;
    line-height: 70px;
}

h2 {
    font-size: 40px;
}

h2 span {
    font-weight: 300;
}

h3 {
    font-size: 24px;
}

img {
    display: inline-block;
}

p {
    font-size: 18px;
}

.button {
    display: inline-block;
    line-height: 50px;
    background-color: #ff6c17;
    color: #fff;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5x;
}

.button:hover {
    background-color: #ff9054;
    color: #fff;
}

#header {
    padding: 20px;
}

#header a {
    color: #fff;
    text-decoration: none;
}

.logo {
    padding-left: 70px;
}

.phone {
    color: #000;
    font-size: 36px;
}

.btn-callback {
    width: 280px;
    height: 50px;
    border-bottom: 1px dashed #fff;
    text-transform: uppercase;
}

.main-image {
    margin: 40px 0 40px 0;
}

.line {
    position: relative;
    display: block;
    width: 325px;
    height: 4px;
    background-color: #ff6c17;
}

#advantages {
    background: url("../img/kotelnaya-v-chastnom-dome.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#advantages a {
    color: #fff;
    text-decoration: none;
}

.advantage {
    display: block;
    background: url("../img/advantage.png") no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #fff;
    width: 218px;
    height: 213px;
    margin: 100px 0 50px 0;
    padding: 32px 0 0 44px;
}

.advantage span {
    font-size: 20px;
    line-height: 18px;
}

.advantage .number {
    display: block;
    font-size: 64px;
    font-weight: 300;
    line-height: 80px;
}

.btn-large {
    width: 682px;
    height: 68px;
    line-height: 68px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

#choose-us {
    color: #333;
}

#choose-us p {
}

#choose-us .title {
    padding: 70px 0 70px 0;
}

.choice-left,
.choice-right {
    padding-bottom: 100px;
}

.choice-left h3 {
    text-align: left;
    margin-left: 190px;
}

.choice-left img {
    position: absolute;
    width: 158px;
    height: 191px;
}

.choice-left .border {
    border: solid 4px !important;
    margin: 30px 0px 0 60px;
}

.choice-left .inner {
    padding: 50px 30px 40px 130px;
}

.choice-right h3 {
    text-align: right;
    margin-right: 190px;
}

.choice-right img {
    position: absolute;
    right: 15px;
    width: 158px;
    height: 191px;
}

.choice-right .border {
    border: solid 4px !important;
    margin: 30px 60px 0 0px;
}

.choice-right .inner {
    padding: 50px 130px 40px 30px;
}

#calculator {
    background: url("../img/calculatror-stoimosti-otopleniya.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#calculator h2 {
    color: #fff;
    font-size: 36px;
    line-height: 36px;
    padding: 10px;
    text-transform: none;
}

.calc {
    background-color: rgba(0, 0, 0, 0.7);
    border: solid 4px #ff6c17;
    border-radius: 5px;
    margin: 110px 0 110px 0;
}

#footer {
    padding: 0 0 20px 0;
    color: #000;
}

#footer a {
    text-decoration: none;
}

.privacy a {
    color: #000;
    font-size: 18px;
    border-bottom: dotted 1px;
}

.privacy a:hover {
    border-bottom: dashed 1px;
}

.btn-footer {
    width: 280px;
    height: 50px;
    border-bottom: 1px dashed #fff;
    text-transform: uppercase;
}

.footer-phone {
    font-size: 36px;
    font-weight: 100;
}

.footer-phone img {
    padding: 0 0 5px 0;
}

.footer-phone a {
    color: #000;
}

#form .title {
    font-size: 30px;
    padding: 40px 0 10px 0;
}

.mfp-bg {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.mfp-content {
    position: relative;
    vertical-align: middle;
    margin: 0 auto;
    text-align: center !important;
    background: #e1e1e1;
    max-width: 480px;
    max-height: auto;
    z-index: 1000;
    height: auto;
    border-radius: 10px;
}

.putNumber,
.putName,
.putPhone {
    width: 300px !important;
    padding: 10px 10px !important;
    height: 40px !important;
    background: #fff !important;
    margin-bottom: 15px;
    border-radius: 2px !important;
    border: none !important;
    outline: none !important;
    margin: 10px auto;
    font-size: 22px;
}

.btn-form {
    width: 300px;
    margin: 12px 0 50px 0;
    border: none !important;
}

#policy p {
    font-size: 14px;
    padding: 0 15px 0 15px;
    text-align: left;
}


/* overlay at start */

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}


/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}


/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}


/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}


/* content animate it */

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}


/* content animate out */

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.simform {
    position: relative;
    margin: 0 auto;
    padding: 10px 10px 40px 10px;
    max-width: 860px;
    width: 100%;
    text-align: left;
    font-size: 2.5em;
}

.simform .submit {
    display: none;
}


/* Question list style */

.simform ol {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    -webkit-transition: height 0.4s;
    transition: height 0.4s;
}

.simform ol:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2.35em;
}

.questions li {
    font-size: 20px;
    color: #fff;
    z-index: 100;
    position: relative;
    visibility: hidden;
    height: 0;
    -webkit-transition: visibility 0s 0.4s, height 0s 0.4s;
    transition: visibility 0s 0.4s, height 0s 0.4s;
}

.questions li.current,
.no-js .questions li {
    visibility: visible;
    height: auto;
    -webkit-transition: none;
    transition: none;
}


/* Labels */

.questions li > span {
    display: block;
    overflow: hidden;
}

.questions li > span label {
    display: block;
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.questions li.current > span label,
.no-js .questions li > span label {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.show-next .questions li.current > span label {
    -webkit-animation: moveUpFromDown 0.4s both;
    animation: moveUpFromDown 0.4s both;
}

@-webkit-keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
    }
}

@keyframes moveUpFromDown {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


/* Input field */

select {
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-appearance: menulist;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    cursor: default;
    border-style: solid;
    border-image: initial;
}

.questions input {
    padding: 8px;
    border: solid 1px #fff;
    border-radius: 3px;
    background: transparent;
    color: #000;
    width: 60%;
    background-color: #fff;
    font-size: 20px;
    line-height: 32px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.questions select {
    padding: 8px;
    border: solid 1px #fff;
    border-radius: 3px;
    background: transparent;
    color: #000;
    width: 60%;
    background-color: #fff;
    font-size: 20px;
    line-height: 30px;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;

}

.questions .current input,
.no-js .questions input {
    opacity: 1;
}

.questions input:focus,
.simform button:focus {
    outline: none;
}


/* Next question button */


/* Next question button */

.next {
    position: absolute;
    right: 10px;
    width: 250px;
    bottom: 42px;
    display: block;
    padding: 0;
    border: none;
    z-index: 200;
}


/* Progress bar */

.simform .progress {
    width: 0%;
    height: 0.15em;
    background: rgba(0, 0, 0, 0.3);
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    opacity: 0;
}

.simform .progress::before {
    position: absolute;
    top: auto;
    width: 100%;
    height: inherit;
    background: rgba(0, 0, 0, 0.05);
    content: '';
}


/* Number indicator */

.simform .number {
    position: absolute;
    right: 0;
    overflow: hidden;
    margin: 0.4em 0;
    width: 3em;
    font-weight: 700;
    font-size: 0.4em;
    opacity: 0;
}

.simform .number:after {
    position: absolute;
    left: 50%;
    content: '/';
    opacity: 0.4;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.simform .number span {
    float: right;
    width: 40%;
    text-align: center;
}

.simform .number .number-current {
    float: left;
}

.simform .number-next {
    position: absolute;
    left: 0;
}

.simform.show-next .number-current {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.simform.show-next .number-next {
    -webkit-animation: moveUpFromDown 0.4s both;
    animation: moveUpFromDown 0.4s both;
}


/* Error and final message */

.simform .error-message,
.simform .final-message {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.simform .error-message {
    padding: 0.4em 3.5em 0 0;
    width: 100%;
    color: rgba(0, 0, 0, 0.7);
    font-style: italic;
    font-size: 0.4em;
}

.final-message {
    top: 30%;
    left: 0;
    padding: 0.5em;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #fff;
}

.error-message.show,
.final-message.show {
    visibility: visible;
    opacity: 1;
    color: #fff;
}

.final-message.show {
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}


/* Final hiding of form / showing message */

.simform-inner.hide {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
    transition: opacity 0.3s, visibility 0s 0.3s;
}


/* No JS Fallback */

.no-js .simform {
    font-size: 1.75em;
}

.no-js .questions li {
    padding: 0 0 2em;
}

.no-js .simform .submit {
    display: block;
    float: right;
    padding: 10px 20px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.4);
}

.no-js .simform .controls {
    display: none;
}


/* Remove IE clear cross */

input[type=text]::-ms-clear {
    display: none;
}



@media (max-width: 768px) {
    h1 {
        font-size: 24px;
        line-height: 40px;
    }
    h3 {
        font-size: 20px;
        line-height: 20px;
    }
    #advantages {
        background-attachment: local;
    }
    .choice-left,
    .choice-right {
        padding-bottom: 50px;
    }
    .choice-left h3 {
        margin-left: 180px;
    }
    .choice-left .border {}
    .choice-left .inner {
        padding: 30px 20px 20px 120px;
    }
    .choice-right h3 {
       margin-right: 183px;
    }
    .choice-right img {
        position: absolute;
        right: 15px;
        width: 158px;
        height: 191px;
    }
    .choice-right .border {}
    .choice-right .inner {
        padding: 30px 120px 20px 20px;
    }
    #calculator {
        background-attachment: local;
    }
    .line {
        width: 175px;
        height: 4px;
        background-color: #ff6c17;
    }
    .btn-large {
        max-width: 320px;
        height: auto;
        line-height: 32px;
        padding: 10px;
        margin: 15px 0 30px 0;
    }
    .advantage {
        margin: 10px 0 10px 0;
    }
    .adv-mobile {
        margin-top: 30px;
    }
    .main-image {
        margin: 20px 0 20px 0;
    }
    
   
}

@media (max-width: 991px) {

    .simform {
        padding: 10px 0px 120px 0px;
        margin: 16px 0 16px 0;
    }

    .questions input, .questions select {
        width: 100%;
    }

    .next {
        width: 100%;
        bottom: 30px;
        left: 0;
    }
}

@media (max-width: 460px) {

    #choose-us h2 {
        font-size: 32px;
    }

    #calculator h2 {
        font-size: 24px;
        padding: 20px 0 0 0;
    }

    .final-message {
        top: 50%;
    }

    .calc {

    margin: 50px 0 50px 0;
    }
}

