

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
::-moz-focus-inner { border: 0; padding: 0; }
body { margin:0; padding:0;}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

div{ margin:0; outline:0;}
ul {outline:0;}
a:active,
a:hover {
  outline: 0;
}
/*убираем бордюры*/
img, a:link img, a:visited img, a:hover img, a:active img { border: 0; }
a:focus { border:0px; }
/*общее оформление ссылок*/
a { color: #1f83d8; text-decoration: underline; }
a:hover { color:#1f83d8; text-decoration:underline; }


/*бэкграунд*/
html {
    background:#fff url(besedka-fon.jpg) center no-repeat fixed;
    background-size:cover;
}
body {font-size: 16px; line-height: 1.3; color:#000; font-weight:normal;}
 
/*разделитель*/
.clear { height:0px; width:100%; clear:both; }

/*все дивы в бокссайз бордер бокс*/
div {
	box-sizing: border-box;
}

/* обновите браузер*/
.browserupgrade {
	text-align:center;
	padding:10px;
	background:#fff;
	border-bottom:3px solid #000;
}
.browserupgrade a {
	color:#ff0000;
	font-weight:bold;
	text-decoration:underline;
}


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

/*центрируем блоки*/
.center-box {
	margin:0 auto;
	width:1240px;
	position:relative;
	padding:50px 0;
}


.main {
    width:100%;
    height:auto;
}

h2 {
    
    
    color: #08355e;
    font-size: 30px;
    line-height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
}
h2 .logo {
    float: left;
    height: 100px;
    display:block;
}
h2 span {
    color:#ff7600;
}

.title_box {
    width: 100%;
    color: white;
    margin: 0 auto;
    border-left: 5px solid #FFA53C;
    margin-top: 50px;
    border-radius: 20px 0 0 0;
}

.title_box_thanks {
    width: 100%;
    color: white;
    margin: 0 auto;
    border: 5px solid #FFA53C;
    margin-top: 50px;
    border-radius: 20px 0 20px 0;
}

.tb {
    padding:20px;
    display: flex;
    width: 75%;
    justify-content: space-between;
}

.telephon {
    display: flex;
    align-items: center;
}

.telephon a {
    text-decoration: none;
    color: #ffffff;
}

.title_box h1 {
    margin: 0;
    font-size: 2em;
    font-family: 'PT Serif Caption', serif;
    font-weight: 700;
}

.text_under {
    margin: 0 auto;
    width: 100%;
    text-align: end;
    border-top: 5px solid #FFA53C;
    border-right: 5px solid #FFA53C;
    border-radius: 0 0 20px 0;
    margin-bottom: 50px;
}

.footer {
    margin: 0;
    padding: 40px 20px;
    background: #ffffff;
    color: #08355e;
    font-size: 24px;
    line-height: 36px;
    font-weight:bold;
    overflow: hidden;
}
.footer a {
    display:inline-block;
    font-size: 32px;
}

.phone {
    width: 35px;
    margin-bottom: -5px;
    margin-right: 10px;
}


.kviz-step {

    display:none;
}
.kviz-step.active {
    display:block;
}

.kviz-box {
    /*background: rgba(255,255,255,0.7);*/
    overflow: hidden;
    /*border: 1px solid #1f83d8;*/
    padding:0;
    
}
.kviz-box img {
    max-width:100%;
    height:auto;
}
    .kviz-nav {
        width:100%;
        height:auto;
        overflow:hidden;
        border-top: 1px solid #FFA53C;
        margin-top: 20px;
    }
        .kviz-nav-btn  {
            float:left;
            width:20%;
            margin:10px 5%;
            text-align:center;
            font-size:22px;
            line-height:24px;
            padding:13px 10px;
            cursor:pointer;
            background: #FFA53C;
            color:#000;
            border-radius:10px;
            transition: 0.5s;
        }
        .kviz-nav-btn:hover  {
           background: #ffb25a;
        }
        .kviz-nav-btn.disactive  {
            color:#bbb;
            background:transparent;
        }
        .kviz-nav-btn.kviz-next  {
            float:right;
        }
        .kviz-nav-btn-start {
            width: 35%;
        }
    
        .kviz-telefon {
            margin:10px 5%;
            text-align:center;
            font-size:22px;
            line-height:24px;
            padding:13px 10px;
            cursor:pointer;
            border-radius:10px;
            
        }


    .kviz-options {
        float:none;
        margin:20px 0;
        height:auto;
        /*overflow-y:auto;*/
    }
        .kviz-answer {
            font-size:28px;
            font-weight:bold;
            padding-bottom:10px;
            border-bottom:1px solid #FFA53C;
            margin-bottom:20px;
            color: #FFA53C;
        }
        .kviz-line {
        /*height:340px;*/
        height:auto;
        padding:0 10px;
        /*overflow-y:auto;*/
        }
        .kviz-item {
            margin-bottom:5px;
            background:#fff;
            cursor:pointer;
            overflow:hidden;
            line-height:30px;
            border-radius:10px;
            color: #000;
            
        }

        .kviz-flex {
            display: flex;
            flex-direction: column;
        }

        .br {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        

        .kviz-item input[type="checkbox"] {
            width:25px;
            height:25px;
            float: left;
            display: block;
            margin:0 10px 0 0;
        }
        .kviz-item:hover {
            background:#FFA53C;
            color:#000;
        }
        .kviz-item.ki-img {
            float:left;
            width:24%;
            margin:10px 5px;
        }
        .kviz-item.ki-img img {
            display:block;
            width:100%;
            height:auto;
        }
            .kviz-item-title {
                padding:20px;
                font-size:16px;
            }
            .kviz-item.ki-img .kviz-item-title {
                padding:20px 15px;
            }
            .kviz-item-title .subtitle {
                font-size:12px;
                color: #000;
            }
            .input-label {
                font-size:21px;
                margin-top:15px;
                text-align: center;
            }
        
        .kviz-item.active {
            background:#FFA53C;
            color:#000;
        }
    
.kviz-step-title {
    color: #FFA53C;
}
      
.kviz-step-numb {
    color: #FFFFFF;
}

.kviz-box {
    width: 75%;
    margin: 0 auto;
}

.kviz-box input[type=text] {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #9d9d9d;
    box-sizing:border-box;
}
.kviz-box input[type=number] {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #9d9d9d;
    box-sizing:border-box;
}
.kviz-box input[type=range] {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px auto;
    text-align: center;
    border: 1px solid #9d9d9d;
    box-sizing:border-box;
}
.kviz-box input[type=submit] {
    width: 100%;
    max-width: 350px;
    padding: 10px 15px;
    font-size: 16px;
    display: block;
    margin: 15px 0;
    background: #fff;
    border: 0;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}
.kviz-box .gift {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px 0;
    background: #fff;
    border: 0;
    text-transform: uppercase;
    text-align:center;
}
.kviz-box .answer {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px 0;
    border: 0;
    text-transform: uppercase;
    text-align:center;
    color: #FFA53C;
}

.kviz-box .show-promo {
    width: 100%;
    max-width: 600px;
    padding: 15px 30px;
    font-size: 21px;
    display: block;
    margin: 15px 0;
    background: #FFA53C;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    text-align:center;
    transition: 0.5s;
}
.kviz-box .show-promo:hover {
    background: #ffb25a;
}

.kviz-line .text {
        padding: 1em;
        font-size:32px;
        color: white;
    }
img.bonus {
    display:block;
    max-width:100%;
    margin:50px auto;
    height:auto;
    width:300px;
    border-radius:20px 0 20px 0;
    cursor:pointer;
    box-shadow: 0px -1px 66px #FFA53C;
    background-color: rgba(255, 255, 255, .5);
    padding: 20px;
}

.kviz-line-ct {
    margin: 0 auto;
}

@media screen and (max-width: 1780px) {


    .title_box h1 {
        text-align: left;
        font-size: 1.5em;
    }

    .phone {
        width: 25px;
    }

    .telephon a {
        font-size: 23px;
    }

    .kviz-nav-btn-start {
        font-size: 19px;
    }

    .kviz-wrap {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
        .kviz-options {
            float:none;
            width:auto;
            margin:10px;
            height:auto;
            min-height:unset;
        }
        .kviz-item.ki-img {
            float:none;
            width:30%;
            margin:10px 5px;
        }
        .kviz-line .text {
            padding-right:30px;
            text-align: right;
            font-size:24px;
        }

        html {
            height: 100%;
        }
        
}

@media screen and (max-width:900px) {

    .title_box h1 {
        font-size: 2em;
        text-align: center;
    }

    .tb {
        flex-wrap: wrap;
        padding: 0;
        justify-content: center;
        width: 100%;
        padding-top: 10px;
    }

    .phone {
        width: 25px;
    }

    .telephon {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
    }

    .telephon a {
        font-size: 23px;
    }

    .kviz-nav-btn-start {
        font-size: 10px;
    }

    .kviz-box {
        width: 100%;
    }

    .kviz-wrap {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
        .kviz-options {
            float:none;
            width:auto;
            margin:10px;
            height:auto;
            min-height:unset;
        }
        .kviz-item.ki-img {
            float:none;
            width:100%;
            margin:10px 5px;
        }
        .kviz-line .text {
            padding-right:30px;
            text-align: center;
            font-size:1em;
        }

        .kviz-nav-btn  {
            font-size:16px;
        }

        .hd {
            display: none;
        }
}

.before {
    /*background-color: rgba(255, 221, 45, .2);*/
    background-color: rgba(0, 0, 0, .5);
    height: 100%;
}



