/*
Theme Name: MyTheme
Theme URI:
Author:
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI:
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1.  header
	2. 	footer
	3. 	front-page
	4. 	About
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
    line-height: 1.5;
    font-family: "Damase_v", sans-serif ;
}
p{
    font-size: 19px;
}

@font-face {
    font-family: 'Damase_v';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/damase_v.2.ttf') format('truetype');
}

/* -------------------------------------------------------------------------- */

/*	1.header
/* -------------------------------------------------------------------------- */
#header, #home_header{
    position: fixed;
    width:100%;
    z-index: 10000;
    transition: 0.6s ease-in-out;
    top: 0;
}
/*#home_header .nav-link{*/
/*    color: white;*/
/*    transition: 0.3s ease-in-out;*/
/*    font-size: 17px;*/
/*}*/
.nav-link{
    color: #151d31;
    transition: 0.6s ease-in-out;
    /*background-color: #ffffff;*/
    /*box-shadow:0 0 10px rgba(0,0,0,0.3);*/
    font-size: 17px;
}
#header, .nav_colored {
    background-color: #ffffff;
    box-shadow:0 0 10px rgba(0,0,0,0.3);
}
.nav_colored .nav-link{
    color: #151d31!important;
}
.nav_colored .nav-link:hover, #header .nav-link:hover{
    color: #344472 !important;
}

.menu_cont{
    height: 100px;
}
.navbar{
    height: inherit;
}
.modal_form_but{
    margin-left: 1rem;
}
.main_logo{
    position: absolute;
    top: 0;
    height: 98px;
}
/*#home_header .logo {*/
/*    opacity: 1;*/
/*    transition: opacity 0.6s ease-in-out;*/
/*}*/
/*#home_header.nav_colored .logo {*/
/*    opacity: 1;*/
/*}*/

/*.white_logo {*/
/*    opacity: 1;*/
/*    transition: opacity 0.6s ease-in-out;*/
/*}*/

/*.nav_colored .white_logo {*/
/*    opacity: 0;*/
/*}*/

@media only screen and (min-width: 1200px){
    .menu_cont{
        max-width: 1400px;
    }
}

@media only screen and (min-width: 992px) {
    .mob_logo, .burger, .close_menu{
        display: none;
    }

     .nav-link:after{
        content: "";
        display: block;
        position: relative;
        top: 10px;
        width: 0;
        transition: 0.5s;
        margin: 0 auto;
    }
    /*#home_header .nav-link:after{*/
    /*    border-bottom: 2px solid #FFFFFF;*/

    /*}*/
    .nav-link:after, .nav_colored .nav-link:after{
        border-bottom: 2px solid #e2a326!important;
    }
    .nav-link:hover:after{
        width: 100%;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 991px) {
    .menu_cont{
        height: 50px;
        border-bottom: 1px solid #FFFFFF;
    }
    .main_menu{
        display: block;
        position: fixed;
        background-color: #d9d9d9;
        width: 100vw;
        height: 100vh;
        top: 0;
        text-align: center;
        font-size: 20px;
        z-index: 9;
    }
    .open_mob_menu{
        left: 0;
        transition: left 1s ease-in-out;
        transition-timing-function: ease-in-out;
    }
    .close_mob_menu{
        left: 100%;
        transition: left 1s ease-in-out;
        transition-timing-function: ease-in-out;
    }
    .main_logo.dis_no{
         display: none;
    }
    .main_logo, .mob_logo{
        height: 50px;
    }
    .close_menu{
        text-align: end;
        margin: 10px 50px;
        font-size: 30px;
    }
    .fa-close{
        cursor: pointer;
    }
    .modal_form_but{
        margin: 0 auto;
    }
}
/* -------------------------------------------------------------------------- */

/*	2. footer
/* -------------------------------------------------------------------------- */
#footer{
    background-color: #FFFFFF;
    padding-bottom: 50px;
    font-family: "Damase_v", sans-serif ;
    color: #787979;
    font-size: 16px;
}
#footer .container{
    border-top: 2px solid #d3d3d3;
}
.f_head{
    padding: 0;
    border-bottom: 1px solid;
}
.footer_logo{
    max-height: 84px;
}
.footer_title{
    padding: 30px 10px 15px;
}
.footer_sec{
    display: flex;
    margin-top: 15px;
}
.footer_cont{
    width: 33%;
    padding: .5rem 1rem;
}
.f_text{
    margin-bottom: 20px;
    font-size: 16px;
}
.f_soc_icon_text{
    font-size: 16px;
}
.f_soc_icon{
    margin: 0 4px;
}
.f_soc{
    margin: 0 4px;
}
.f_soc_icon a{
    text-decoration: none;
    color: #151d31;
}

.f_soc_icon a:hover{
    color: #e5aa3a;
    transition: all 0.5s;
}
.f_menu_title{
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 20px 38px;
}
.f_contacts_title{
    font-size: 17px;
    font-weight: bold;
    padding: 0 0 20px 0;
}
.f_menu{
    line-height: 1.5;
}
.f_menu_item{
    font-size: 17px;
    /*font-weight: 600;*/
    list-style: none;
}

.f_phones{
    padding: 0;

}
.f_phones_cont{
    float: right;
    width: 85%;
}
.f_phone_item{
    font-size: 17px;
    /*font-weight: 600;*/
    list-style: none;
}
.f_phone_item a{
     color: #e5aa3a;
     padding-right: 15px;
 }
.f_phone_item a{
    color:  #e5aa3a;

}
.f_icon{
    width: 15%;
    max-width: 40px;
    display: inline-flex;
}
.f_column{
    display: flex;
}
.fa-envelope-o{
    line-height: 24px;
}

.copyright{
    margin-top: 40px;
    text-align: center;
}
@media only screen and (max-width: 991px) {
    .f_soc{
        margin: 0 12px 0 0;
    }
}
@media only screen and (max-width: 767px) {
    .f_sec_2{
        display: none;
    }
    .footer_cont{
        width: 33%;
    }
    .f_soc_icon_text{
        font-weight: 600;
    }
}
@media only screen and (max-width: 576px) {
    .footer_sec{
        display: block;
    }
    .footer_cont{
        width: 100%;
        margin: 30px auto;
    }
    .f_icon{
        width: 10%;
        min-width: 22px;
        max-width: none;
    }
    .f_phones_cont{
        width: 88%;
    }
}
@media only screen and (max-width: 420px) {
    .f_modal_form_but{
        margin: 0 auto;
    }
    .f_none{
        display: none;
    }
}

/* -------------------------------------------------------------------------- */

/*	3. 	front-page
/* -------------------------------------------------------------------------- */

.section_1{
    background-image: url("img/Window-1.jpg") ;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
}
.section_1 .container{
    padding-top: 90px;
    height: 48vw;
}

.home-row{
    width: 100vw;
}

.home-row-text{
    width: 60vw;
    display: inline-block;
    vertical-align: middle;
}
.home-row-img{
    width: 39.5vw;
    display: inline-block;
    vertical-align: middle;
}
.home-row-img img{
    display: block;
    width: 100%;
    height: auto;
}

.section_2 .home-text-logo{
    background-image: url("img/202300122_Promenade-Windows_Logo_Dark_Transparency.png") ;
    background-repeat: no-repeat;
    /*background-size: 100%;*/
    background-position: center;
    min-height: 300px;
}
.section_3 h2{
    color: #e5aa3a;
}

.section_3 .home-text-logo, .section_4 .home-text-logo{
    background-image: url("img/Contemporary-bay-window.jpg") ;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    min-height: 300px;
    height: 100%;
}

.section_1, .section_2, .section_3, .section_4{
    overflow: hidden;
}
.section_3 .home-row{
    background-color: #151d31;
    color: #FFFFFF;
}
.section_2 .home-text-wrapper, .section_4 .home-text-wrapper{
    color: #787979;
}

.home-title{
    font-family: "Damase_v", sans-serif;
    margin: 30px auto;
    color: #151d31;
    max-width: 1280px;
    padding-left: 40px;
    position: relative;
}
.home-title h1{
    display: inline-block;
    margin-right: 15px;
}

.home-title:after{
    content: "";
    width: 100%;
    display: inline-block;
    height: 2px;
    background: #d3d3d3;
    position: absolute;
    bottom: 10px;
    margin: auto;
}

.home-text-wrapper{
    max-width: 600px;
    margin: auto;
    padding: 10px 40px;
    display: block;
}
.home-text-wrapper h2{
    padding-bottom: 15px;
}
.section_4 .home-text-wrapper h2, .section_2 .home-text-wrapper h2{
    color: #151d31;
}
.section_5{
    background-image: url("img/20221209_153522.JPG") ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.content{
    margin: 0 auto;
    padding: 80px 0;
    color: #787979;
    text-align: center;
}
.section_6 .content{
    padding-bottom: 30px;
}
.content h2{
    margin-bottom: 10px;
    color: #151d31;
}
.wrapper{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 70px;
}
.certifications_wrap{
    display: flex;
    position: relative;
    max-width: 80vw;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 98%;
    margin: 0 auto;
    padding-bottom: 50px;
}
.certifications_wrap img{
    width: 180px;
    padding: 20px;
}
.certifications_wrap .cardinal_glass{
    width: 200px;
}
@media only screen and (max-width: 950px) {
    .home-row-text{
        width: 45%;
    }
    .home-row-img{
        width: 54%;
    }
}
@media only screen and (max-width: 880px) {
    .home-row{
        padding: 40px 0;
    }
    .home-row-text{
        width: 100%;
    }
    .home-row-img{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: block;
        padding: 0 30px;
    }
    .section_2 .home-row-img, .section_3 .home-row-img{
        margin-top: 20px;
    }
    .wrapper{
        padding: 0 40px;
    }
    .content{
        padding: 40px 0;
    }
}

@media only screen and (max-width: 767px) {
    .section_1{
        background-size: 195%;
    }
    .section_1 .container{
        height: 100vw;
    }
}

@media only screen and (max-width: 576px) {
    .home-row{
        padding: 30px 0;
    }

}

@media only screen and (max-width: 475px) {
    .home-text-logo{
        background-size: 100%;
        min-height: 250px;
    }

    .home-title:after {
        display: none;
    }

}


/* -------------------------------------------------------------------------- */

/*	4.  About
/* -------------------------------------------------------------------------- */

#about .section_1,
#windows .section_1,
#doors .section_1,
#contact .section_1{
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    margin-top: 10px;
}
#about .container,
#windows .container,
#doors .container,
#contact .container{
    max-height: 500px;
}
#about .section_1 .container,
#windows .section_1 .container,
#doors .section_1 .container,
#contact .section_1 .container{
    height: 33vw;
}

#about .section_4,
#windows .section_4,
#doors .section_4,
#contact .section_4{
    background-color: #f0efef;
}
#about .section_1{
    background-image: url("img/about-company.png") ;
    background-position: bottom;
}

.title{
    margin: 30px auto;
    color: #151d31;
    max-width: 1000px;
    padding-left: 40px;
    position: relative;
}
.title h1{
    display: inline-block;
    margin-right: 15px;
    font-size: 50px ;
}

.title:after{
    content: "";
    width: 75vw;
    display: inline-block;
    height: 2px;
    background: #d3d3d3;
    position: absolute;
    bottom: 10px;
    margin: auto;
}

.content-wrapper{
    margin: 0 auto 40px;
    padding: 20px;
    color: #787979;
    max-width: 800px;
}

.button_link {
    width: 268px;
    height: 56px;
    background-color: #151d31;
    text-align: center;
    line-height: 54px;
    text-transform: uppercase;
    transition: 0.5s;
    margin: 46px auto 0;
}
.button_link a{
    text-transform: uppercase;
    padding: 18px 50px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.5s;
}
.button_link:hover{
    background-color: #e5aa3a;
    transition: 0.5s;
}


@media only screen and (max-width: 767px) {
    #about .section_1,
    #windows .section_1,
    #doors .section_1,
    #contact .section_1{
        background-size: 200%;
    }
    #about .section_1 .container,
    #windows .section_1 .container,
    #doors .section_1 .container,
    #contact .section_1 .container{
        height: 66vw;
    }
}

@media only screen and (max-width: 576px) {
    .home-row{
        padding: 30px 0;
    }

}

@media only screen and (max-width: 475px) {
    .title:after {
        display: none;
    }
    .button_link {
        width: 240px;
    }
}

/* -------------------------------------------------------------------------- */

/*	5.  windows & doors
/* -------------------------------------------------------------------------- */

#windows .section_1{
    background-image: url("img/windows.png") ;
    background-position: bottom;
}

#doors .section_1{
    background-image: url("img/doors.png") ;
    background-position: bottom;
}

#windows .home-row,
#doors .home-row{
    width: 80vw;
    margin: 0 auto;
}

#windows .home-row-text,
#doors .home-row-text{
    width: 50vw;
}

#windows .home-row-img,
#doors .home-row-img{
    width: 29.5vw;
}

#windows .home-row-img img,
#doors .home-row-img img{
    width: 80%;
    margin: 20px;
    max-height: 375px;
    object-fit: contain;
}

@media only screen and (max-width: 880px) {
    #windows .home-row,
    #doors .home-row{
        padding: 40px 0;
        width: 100vw;
    }

    #windows .home-row-text,
    #doors .home-row-text{
        width: 100%;
    }

    #windows .home-row-img,
    #doors .home-row-img{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: block;
        padding: 0 30px;
    }

    #windows .section_2 .home-row-img,
    #doors .section_2 .home-row-img {
        margin-bottom: 20px;
    }
    #windows .section_4 .home-row-img,
    #doors .section_4 .home-row-img {
        margin-top: 20px;
    }
    #windows .home-row-img img,
    #doors .home-row-img img {
        width: 100%;
        margin: 0;
    }
}

/* -------------------------------------------------------------------------- */

/*	6.  gallery
/* -------------------------------------------------------------------------- */

#gallery .section_title {
    margin: 160px auto 60px;
    overflow: hidden;
}
.row-slider{
    max-width: 1400px;
    margin: 0 auto;
}


#bx-pager {
    position: relative;
    margin: 8px 4px;
    text-align: center;
}

#bx-pager a {
    display: inline-block;
    margin: 0 4px;
    width: 100px;
    height: 100px;
}
#bx-pager a.active img, #bx-pager a:hover img{
    opacity: 0.5;
}

#bx-pager a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    opacity: 1;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

#bx-pager a.active img {
    border: solid #5280DD 1px;
}
.sing_img_slider{
    position: relative;
    display: block;
    height: 50vw;
    max-height: 680px;
}

@media only screen and (max-width: 992px) {
    #gallery .section_title {
        margin-top: 90px;
    }
}

/* -------------------------------------------------------------------------- */

/*	7.  contacts
/* -------------------------------------------------------------------------- */

#contact .section_1{
    background-image: url("img/contacts.png") ;
    background-position: bottom;
}

#contact .home-row {
    width: 95vw;
    float: right;
}
#contact .home-row-text {
    width: 36vw;
}
#contact .home-row-img {
    width: 58.5vw;
}
#contact .home-row-img iframe{
    width: inherit;
}
#contact .section_4 span, #contact .section_4 a{
    font-size: 22px;
}