body,
html {
    margin: 0;
    padding: 0;
}
*{
    font-family: 'Roboto Condensed', sans-serif;
    box-sizing: border-box;
}
.wrapper {
    width: 100%;
}
.headerBox {
    background: none;
}
.headerBoxTwo {
    background: rgba(0, 0, 0, 0.9);
}
.nav_li a{
    font-family: 'Roboto Condensed', sans-serif;
}
#sOne .about_product {
    /*padding-top: 100px;*/
    box-sizing: border-box;
}
.mask {
    width: 100%;
    box-shadow: 0 0 120px 70px #181818;
    z-index: 300;
    position: relative;
}

header {
    height: 60px;
    /*background: rgba(0, 0, 0, 0.5);*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: fixed;
    z-index: 302;
    top: 0;
    left: 0;
    box-sizing: border-box;
}
.yellow_bg {
    position: fixed;
    top: 0;
    right: 60px;
    width: 240px;
    height: 90px;
    background: rgba(255, 204, 0, 0.8);
}
.left_block {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding-left: 20px;
    height: 100%;
    position: relative;
    z-index: 301;
}
.right_block {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
}
.center_block{
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
    cursor: pointer;
}
.center_block_text{
    color: #FFCC00;
    margin-left: 10px;
}
.menu_open {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}
.menu_open:hover {
    cursor: pointer;
}
.line {
    width: 32px;
    height: 3px;
    background: #FFCC00;
    margin-top: 7px;
    border-radius: 2px;
}
.menu .line {
    background: #181818;
}
.line:first-child {
    margin-top: 0;
}

/* Виїздне меню*/

.menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    background: rgba(255, 204, 0, 1.0);
    overflow: hidden;
    z-index: 1000;
}

.menu_flex {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 60px;
    position: absolute;
    background: rgba(255, 204, 0, 0.8);
    width: 450px;
    top: 0;
    left: 0;
}

.sidebar_nav {
    margin-top: 60px;
}

.menu .menu_open {
    padding-left: 20px;
}

.header_nav {
    z-index: 301;
}

.nav_ul {
    display: flex;
    flex-direction: row;
}

.nav_li {
    list-style-type: none;
    margin-right: 30px;
}

.sidebar_nav li {
    list-style-type: none;
    margin-top: 10px;
}

.sidebar_nav a {
    text-decoration: none;
    color: #181818;
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}
#aktive {
    margin-left: 20px;
}

.sidebar_nav a:hover {
    text-decoration: underline;
}

.sidebar_nav {
    text-align: left;
    width: 100%;
    min-width: 450px;
}

.hr {
    width: 100%;
    min-width: 320px;
    height: 2px;
    background: #181818;
    position: relative;
    z-index: 400;
}
.sidebar_nav ul {
    margin-left: 20px;
}

.nav_li a {
    text-decoration: none;
    color: #FFCC00;
    font-size: 1.2em;
}

.menu .nav_li a {
    color: #181818;
}

.phone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 40px;
}

.number {
    /*color: #181818;*/
    color: white;
    text-decoration: none;
    z-index: 300;
}

.logo {
    margin-right: 0;
    z-index: 300;
    height: 100%;
}

.logo img {
    height: 60px;
}

.flex_block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.product_img {
    width: 50%;
    overflow: hidden;
}
.product_img img {
    width: 100%;
}
.about_product {
    width: 50%;
    overflow: hidden;
    background: #181818;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 0 30px;
}

.about_product h2,
.about_product h2 > a {
    color: #FFCC00;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 44px;
}

.about_product h2 a:hover {
    text-decoration: underline;
}

.about_product p {
    color: white;
    font-size: 16px;
    width: 80%;
    font-family: 'Roboto Condensed', sans-serif;
}
hr {
    border: none;
    height: 1px; line-height: 1px;
    background: #E5E5E5;
    margin-bottom: 20px;
    padding: 0;
}

.product_img img {
    margin-bottom: -5px;
}

.line_yellow {
    height: 4px;
    width: 100%;
    background: #FFCC00;
}

#yellow {
    padding: 0;
}

#yellow h2,
#yellow p {
    margin: 30px;
}
#imgSix {
    margin-bottom: -5px;
    padding: 0;
}

footer {
    height: 90px;
    background: #FFCC00;
    color: #181818;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
    z-index: 1000;
    margin-bottom: 0;
}

.footer_copy,
.designed {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer_logo {
    max-width: 250px;
    overflow: hidden;
    margin-left: -100px;
}

.footer_logo img {
    width: 100%;
}

@media (min-width: 961px) and (max-width: 1500px) {
    #sOne, #sTwo, #sThree, #sFour, #sFive, #sSix {
	max-height: 350px;
}
}


@media (min-width: 768px) and (max-width: 960px) {
    .center_block{
        display: none;
    }
    .contact_block{
        display: flex;
    }

    .headerBox {
        height: 60px;
    }
    .yellow_bg {
        display: none;
    }
    .logo {
        margin: 0;
    }

    .right_block {
        background: #FFCC00;
    }
    .designed {
        display: none;
    }
    .hr {
        width: 100%;
        min-width: 320px;
        height: 1px;
        background: #181818;
        position: relative;
        margin-top: 1px;
        z-index: 400;
    }
    .menu_flex {
        height: 60px;
    }
    .product_img {
        width: 100%;
        overflow: hidden;
    }
    .about_product {
        width: 100%;
    }

    #sOne .about_product {
        padding-top: 30px;
        box-sizing: border-box;
    }
    #sOne,
    #sThree,
    #sFive {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    #sTwo,
    #sFour,
    #sSix {
        flex-direction: column-reverse;
    }
    .footer_logo {
        margin: 0;
    }

    .right_block,
    .left_block {
        width: auto;
    }
    .flex_block footer {
        display: flex;
        flex-direction: row;
    }
    .sidebar_nav {
        margin-top: 60px;
    }
    .menu_flex {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        height: 60px;
        position: absolute;
        background: rgba(255, 204, 0, 0.0);
        width: 100%;
        top: 0;
        left: 0;
    }
    .logo img {
        margin: 0;
        height: 60px;
    }
    .logo {
        position: relative;
        z-index: 500;
    }
    .type_color, .client, .size {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #calculator {
        width: 500px;
        height: 100%;
        background: #FF8C5A;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        border-radius: 20px;
    }
    .name_calc {
        display: none;
    }
    footer{
        margin-bottom: 50px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .center_block{
        display: none;
    }
    .logo img {
        margin: 0;
        height: 60px;
    }
    .logo {
        position: relative;
        z-index: 500;
    }
    .headerBox {
        height: 60px;
    }

    .right_block,
    .left_block {
        width: auto;
    }
    .logo {
        margin: 0;
    }
    .yellow_bg {
        height: 60px;
        width: 20%;
    }
    .hr {
        width: 100%;
        min-width: 320px;
        height: 1px;
        background: #181818;
        position: relative;
        margin-top: 60px;
        z-index: 400;
    }
    s .menu_flex {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        height: 90px;
        position: absolute;
        background: rgba(255, 204, 0, 1.0);
        width: 100%;
        top: 0;
        left: 0;
    }
    .designed {
        display: none;
    }
    .menu_flex {
        height: 60px;
    }
    .sidebar_nav {
        margin-top: 0;
        overflow: auto;
    }
    #sOne,
    #sThree,
    #sFive {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .product_img {
        width: 100%;
        overflow: hidden;
    }
    .about_product {
        width: 100%;
    }
    .menu_flex {
        height: 60px;
    }
    #sTwo,
    #sFour,
    #sSix {
        flex-direction: column-reverse;
    }
    #sOne .about_product {
        padding-top: 30px;
        box-sizing: border-box;
    }
    .yellow_bg,
    .header_nav {
        display: none;
    }
    footer {
        height: auto;
        background: #FFCC00;
        color: #181818;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 20px 20px;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        margin-bottom: 50px;
    }
    .footer_logo {
        width: 100%;
        overflow: hidden;
        margin: 0;
        align-items: right;
    }
    .flex_block footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer_copy {
        font-size: 10px;
    }
    .footer_logo img {
        width: 100%;
    }
    .footer_copy:last-child {
        max-width: 40vw;
        text-align: right;
        overflow: hidden;
    }
    .type_color, .client, .size {
        display: flex;
        flex-direction: column;
    }
    #calculator {
        width: 100vw;
        height: 100%;
        background: #F0F0F0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        border-radius: 20px;
    }
    .name_calc {
        display: none;
    }
    .btn {
        position: absolute;
        left: 50px;
        bottom: 30px;
    }
}



/*Звязок*/
.contact_block{
    height: 40px;
    width: 100%;
    background: #000;
    text-transform: uppercase;
    display: none;
    flex-direction: row;
    justify-content: space-around;
    color: #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
}
@media (min-width: 320px) and (max-width: 767px) {
    .contact_block{
        display: flex;
    }
    footer{
        margin-bottom: 40px;
    }
}
@media (min-width: 768px) and (max-width: 960px) {
    .contact_block{
        display: flex;
    }
    footer{
        margin-bottom: 40px;
    }
}
.calculate, .call_block{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.calculate:hover {
    cursor: pointer;
}
.calc_img, .call_img {
    margin-right: 20px;
}
.call_block>a{
    text-decoration: none;
    color: #FFFFFF;
    text-transform: uppercase;
}
/*вікно форми на прорахунок*/
.form_box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
.calc_form {
    height: 500px;
    width: auto;
    background: #FFEA64;
    position: fixed;
    top: 10%;
    left: 30%;
    z-index: 1000;
    border-radius: 20px;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
    display: none;
}
.calc_form>h3 {
    color: #FFCC00;
    margin-left: 30%;
}
.width, .type_doors, .c_name {
    margin-right: 30px;
}
.type_color, .client, .size {
    display: flex;
    /*flex-direction: row;*/
    justify-content: space-between;
}
.btn{
    position: absolute;
    bottom: 100px;
    left: 180px;
    /*height: 30px;*/
    font-size: 20px;
    border-radius: 4px;
    border: 2px solid black;
    background: yellow;
    padding: 10px 20px;
}
.btn:hover{
    cursor: pointer;
}
#close_form {
    position: absolute;
    right: 20px;
    top: 20px;
}
#close_form:hover{
    cursor: pointer;
    /*overflow: scroll ;*/
}
.calc_form input {
    width: 190px;
}
.calc_form select{
    width: 196px;
}
#myCheck{
    width: auto;
}
#aktive {
    text-decoration-line: underline;
    color: #181818;
}

/*сторінка Дякуємо*/
.thenk {
    text-align: center;
    padding-top: 110px;
}
.thenk h3{
    font-size: 46px;
}
.thenk p{
    font-size: 24px;
}
.bottomt {
    position: fixed;
    bottom: 0;
}
@media (min-width: 320px) and (max-width: 960px) {
    .thenk {
        padding-top: 90px;
    }
    .thenk h3{
        font-size: 28px;
    }
    .thenk p{
        font-size: 18px;
    }
}
@media (min-width: 961px) and (max-width: 1500px) {
    #sOne, #sTwo, #sThree, #sFour, #sFive, #sSix {
	max-height: 350px;
}
}