@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/RobotoSlab-Bold.eot');
    src: url('../fonts/RobotoSlab-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/RobotoSlab-Bold.woff2') format('woff2'),
        url('../fonts/RobotoSlab-Bold.woff') format('woff'),
        url('../fonts/RobotoSlab-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
body{
    margin: 0;
    font-family: 'Arial', sans-serif;
}
body{
    margin: 0;
    font-family: 'Arial', sans-serif;
}
hr{
    margin: 35px 0;
    margin-top: 0;
    border: none;
    border-top: 1px solid #e4e4ec;
}
figure{
    margin: 0;
}
header{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.hr{
    margin-top: 35px;
}
a{
    position: relative;
}
h1{
    margin-bottom: 22px;
}
.wrapper{
    max-width: 960px;
    margin: 0 auto; 
}

.header{
    background-color: #1f1f56;
    padding: 20px 0;

}
.social a{
    display: block;
    background: url(../images/sprite.png) no-repeat;
    transition: all 0.3s ease;
}
a.fb{
    width: 10px;
    height: 19px;
    background-position: 0 0;
}
a.twitter{
    width: 18px;
    height: 15px;
    background-position: -33px 0;
}
a.instagram{
    width: 19px;
    height: 19px;
    background-position: -12px 0;
}
a.fb:hover{
    background-position: 0 -21px;
}
a.twitter:hover{
    background-position: -33px -21px;
}
a.instagram:hover{
    background-position: -12px -21px;
}
.stick{
    position: relative;
}
.stick:before{
    content: "";
    position: absolute;
    width: 1px;
    height: 51px;
    background-color: #e4e4ec;
    right: -19px;
    top: 15px;
}
.header ul{
    margin: 0 -14px;
    padding-left: 0;
    list-style: none; 
}
.header li{
    display: inline-block;
    margin: 0 14px;
}
.flex-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 10px;
}
.menu a{
    transition: all 0.2s ease;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 24px;
    color: #b1b1d2;
    text-decoration: none;
}
.menu a:hover{
    color: #fd8300;
    text-shadow: 0 0 1px #fd8300;
}
.contact_info{
    padding: 20px 10px;
    transition: all 0.2s ease;
}
.contact_info img{
    margin-right: 10px;
}
.phones a{
    font: bold 18px/24px 'Arial';

    color: #25252c;
    font-weight: bold;
    text-decoration: none;
}
.phones p,
.messengers p{
    margin: 10px 0;
    padding-left: 50px;
}
.messengers a{
    font-size: 16px;
    line-height: 24px;
    color: #25252c;
}
.skype{
    text-decoration: none;
}
.cta a{
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: #25252c;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #fd8300;
    transition: all 0.25s ease;
}
.cta a:hover{
    background-color: #fd8300;
    color: #fff;
}
.header_a{
    transition: all 0.2s ease;
}
.header_a:hover{
    color: #fd8300;
    text-decoration: underline;
}
.all_before:before{
    content: "";
    position: absolute;
    left: -28px;
    top: 2px;
    background: url(../images/sprite.png) no-repeat;
}
.tel:before{
    width: 16px;
    height: 17px;
    background-position: -53px 0;
}
.mail:before{
    height: 13px;
    width: 17px;
    background-position: -71px 0;
}
.skype:before{
    height: 19px;
    width: 18px;
    background-position: -90px 0;
}
main h1{
    font-size: 24px;
    line-height: 24px;
    color: #24242b;
    font-weight: 700;
    font-family: "Roboto Slab";
}
main p{
    font-size: 14px;
    line-height: 24px;
    color: #666;
    font-family: "Arial";
    margin-bottom: 25px;
}
.price{
    height: 100px;
}
.time{
    font-size: 13px;
    line-height: 21px;
    color: #666;
    font-family: "Arial";
    margin-top: 25px;
    margin-bottom: 25px;
}
.pravila{
    font-size: 14px;
    line-height: 24px;
    color: #fd8300;
    font-weight: bold;
    font-family: "Arial";
}
.pravila:hover{
    text-decoration: none;
}
.skype a{
    text-decoration: none;
}
.header_a{
    transition: all 0.2s ease;
}
.popular{
    font-size: 24px;
    line-height: 24px;
    color: #24242b;
    font-weight: 700;
    font-family: "Roboto Slab";
    margin-top: 30px;
    margin-bottom: 30px;
}
.houses{
    display: flex;
    justify-content: space-between;
    margin-left: 0;
    margin-right: 0;
    flex-wrap: wrap;
}
.houses_title{
    margin-bottom: 5px;
    margin: 5px 0 0;    
}
.houses picture{
    vertical-align: bottom;
}
/* .montreal{
    margin: 0 30px;
} */
figcaption{
    position: relative;
    margin: 0;
}
.a{
    position: absolute;
    width: 100%;
    height: 100%;
}
.a:hover~h3{
    text-decoration: underline;
}
.edmonton h3,
.montreal h3,
.calgary h3,
.richmond h3{
    font-size: 14px;
    line-height: 24px;
    color: #1f1f56;
    font-weight: bold;
    font-family: "Arial";
    text-decoration: none;
}

.houses_content{
    font-size: 13px;
    line-height: 18px;
    color: #9999a6;
    font-family: "Arial";
    margin-top: 0;
    margin-bottom: 50px;
}

.col1 a:hover,
.col2 a:hover,
.col3 a:hover,
.col4 a:hover,
.header_a:hover{
    color: #fd8300;
    text-decoration: underline;
}
.footer_all{
    background-color: #ededf5;
}
.copy{
    background-color: #dcdce6;
}
.copyright{
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    color: #9999a6;
    font-family: "Arial";
    padding: 13.5px 0;
}
.cols{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cols img{
    margin-right: 10px;
}
.col1 ul,
.col2 ul,
.col3 ul,
.col4 ul{
    list-style: none;
    padding-left: 0;
}
.col1 a,
.col2 a,
.col3 a,
.col4 a{
    text-decoration: none;
    transition: all 0.2s ease;
}
.col1 a,
.col2 a{
    font-size: 14px;
    line-height: 26px;
    color: #666;
    font-family: "Arial";
}
.col3 a{
    font-size: 18px;
    line-height: 24px;
    color: #25252c;
    font-weight: bold;
    font-family: "Arial";
}
.col4 a{
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    color: #25252c;
    font-family: "Arial";
}

.col1 ul,
.col2 ul,
.col3 ul,
.col4 ul{
    padding: 30px 0 20px;
    margin: 0;
}
.skype a{
    text-decoration: none;
}
.col3 li{
    margin-bottom: 10px;
    padding-left: 40px;
}
.col4 li{
    margin-bottom: 10px;
    padding-left: 40px;
}

.burger{
    position: relative;
}
.checkbox{
    visibility: hidden;
    position: absolute;
}
.checkbox_l{
    padding-right: 20px;
}
.span1,
.span2,
.span3{
    position: absolute;
}
.span1{
    background-color: #fff;
    top: 0;
    width: 20px;
    height: 2px;
    transition: 0.3s all ease;
}
.span2{
    background-color: #fff;
    width: 20px;
    height: 2px;
    top: 7px;
}
.span3{
    background-color: #fff;
    width: 20px;
    height: 2px;
    top: 14px;
    transition: 0.3s all ease;

}
.checkbox:checked+.checkbox_l .span1{
    transform: rotate(45deg);
    top: 9px;
}
.checkbox:checked+.checkbox_l .span2{
    display: none;
}
.checkbox:checked+.checkbox_l .span3{
    transform: rotate(-45deg);
    top: 9px;
}
.logo_img{
    width: 200px;
}
.burger .header_nav{
    display: block;
}
.burger label{
    display: none;
}
.checkbox{
    display: none;
}
.logo_img{
    width: 200px;
}
.messengers p{
    padding-left: 40px;
}
.cta{
    margin-left: 20px;
}
.col1,
.col2,
.col3,
.col4{
    margin: 0 5px;
}
.col2{
    margin: 0 45px;
}

@media screen and  (max-width: 735px){
    .checkbox:checked+.checkbox_l+.header_nav{
        position: absolute;
        display: block;
        width: 100vw;
        background-color: #333;
        top: 40px;
        left: -30px;
        padding: 0;
        margin: 0;
        z-index: 1;
    }
    .checkbox:checked+.checkbox_l+.header_nav li{
        display: block;
        padding-left: 20px;
        padding-right: 0;
        margin-right: 0;
        margin-left: 20px;
        width: 50vw;
    }
    .checkbox:checked+.checkbox_l+.header_nav ul{
        width: 100vw;
    }
}

@media screen and (max-width: 735px){
    .burger .header_nav{
        display: none;
    }
    .burger label{
        display: block;
        padding-right: 20px;
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 911px){
    .contact_info{
        justify-content: center;
    }
    .messengers{
        margin-left: 10px;
    }
    .messengers p{
        padding-left: 50px;
    }
}
@media screen and (max-width: 911px){
    .messengers{
        margin-left: 20px;
    }
}
@media screen and (max-width: 694px){
    .stick:before{
        display: none;
    }
}
@media screen and (max-width: 944px){
    .messengers{
        margin-left: 10px;
    }
}
@media screen and (max-width: 424px){
    .col3 ul{
        padding: 0;
    }
}
@media screen and (max-width: 985px){
    .title{
        padding: 0 20px;
    }
    .text{
        padding: 0 20px;
    }
    .category_menu{
        margin-right: 20px;
    }
    .about{
        padding: 0 20px;
    }
    hr{
        margin-left: 20px;
    }
    .popular{
        padding: 0 20px;
    }
    .houses{
        margin: 0 20px;
    }
    .col1{
        margin-left: 20px;
    }
    .col4{
        margin-right: 20px;
    }
    .header{
        padding: 20px;
    }
    .b_m{
        left: -30px;
    }
    main h1{
        padding: 0 20px;
    }
    main p{
        padding: 0 20px;
    }
    .houses figure{
        margin: 10px;
    }
    .houses_content{
        padding: 0;
    }
}
@media screen and (min-width: 985px){
    .stick:before{
        right: -25px;
    }
}
@media screen and (max-width: 985px){
    .houses{
        justify-content: center;
    }
    .houses img{
        width: 30vw;
    }
    .houses figure{
        margin: 0 20px;
    }
}
@media screen and (max-width: 505px){
    .houses img{
        width: 70vw;
    }
}
@media screen and (max-width: 747px){
    .cols{
        justify-content: center;
    }
}
@media screen and (max-width: 747px){
    .col3 {
        margin-right: 20px;
    }
}
@media screen and (max-width: 455px){
    .col3 ul{
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media screen and (max-width: 307px){
    .col2 ul{
        padding-top: 0;
    }
}