body{
    overflow-x: hidden;
}
.container-fluid{
    margin-bottom: 120px;
}
#content{
    padding-top:140px
}
.content{
    padding: 40px 8px 40px 8px
}
.content h1{
    margin-bottom: 0;
    width: 100%;
    text-transform: capitalize;
    text-align: center;
}
.content h1 p{
    padding: 0 ;
    margin-bottom: 60px;
}
.content .text{
    width: 100%;
    padding: 45px 0 40px 0 ;
}
.content .text p{
    width: 100%;
    padding: 0;
}
.content .header-img{
    max-width: 110px;
    max-height: 70px;
    margin: -85px auto auto;
    display: flex;
    align-self: center;
}
.content .footer-img{
    max-width: 58px;
    margin-bottom: 0;
    bottom: -70px;
    margin-top: -30px;
}
#last-gallery{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}
#last-gallery .slick-track{
    display: flex!important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: reverse !important;
    -ms-flex-direction: row-reverse !important;
    flex-direction: row-reverse !important;
}
#last-gallery .slick-slide {
    padding-bottom: 15%;
}
.sm-full-width{
    margin-left: -32px;
    width: calc(100% + 64px);
}

.signature{
    margin-top: -8px;
    text-align: right;
    margin-bottom: 20px;
}
#portrait img{
    max-width: 170px ;
    height: auto;
    margin-bottom: 5px;
}
@media(min-width: 992px){

    .content .header-img{
        max-width: 200px;
        max-height: 128px;
        margin-top: -154px;
    }
    .content .footer-img{
        max-width: 127px;
        margin-bottom: 0;
        bottom: -128px;
        margin-top: -70px;
    }
    .container-fluid{
        margin-bottom: 280px;
    }
    .content{
        padding: 105px 20px 60px 20px;
    }
    .content h1{
        padding-left: 100px;
        margin-bottom: 10px;
        width: auto;
        text-align: left;
    }
    .content h1 p{
        padding: 0 ;
    }
    .content .text{
        width: 100%;
        padding: 75px 0 72px 0 ;
    }
    .content p{
        width: 100%;
        padding: 0 76px 0 176px;
    }
    .content  h4{
        text-align: center;
        width: 100%;
        padding: 0 120px 0 200px
    }
    #first-gallery .slick-slide {
        padding-bottom: 10.35%;
    }

    #last-gallery *{
        padding-bottom: 32.8%;
    }

    .gallery-container.sm-full-width{
        margin-left: calc((-100vw/2) + (100% / 2));
    }
    .gallery-container.lg-full-width #last-gallery{
        display: flex;
        justify-content: space-between
    }
    .gallery-container.lg-full-width #last-gallery div{
        width: calc(24.8% - 25.3332px);
        background-size: cover;
        background-position: center center;
    }
    .gallery-container.lg-full-width #last-gallery div:first-child{
        margin-right: 38px;
        width: calc(37.7% - 25.3332px)
    }
    .gallery-container.lg-full-width #last-gallery div:last-child{
        margin-left: 38px;
        width: calc(37.7% - 25.3332px)
    }

    .img.sm-full-width{
        margin-left: auto;
        padding: 0 120px 0 200px;
        width: 100%;
    }
    .sm-full-width img{
        width: 100%;
        height: auto;
    }
    #host-gallery{
        margin-top: 42px;
        margin-bottom: 55px;
    }
    #host-gallery .gallery-row .hostel-photo{
        width: calc(100% - 30px);
        height: 100%;
        background-size: cover;
        background-position: center;
        margin: 15px;
        min-height: auto;
    }
    #host-gallery .gallery-row:first-child .hostel-photo{
        width: calc(100% - 15px);
        margin: 15px 15px 15px 0;
    }
    #host-gallery .gallery-row:last-child .hostel-photo{
        width: calc(100% - 15px);
        margin: 15px 0 15px 15px;
    }
    #host-gallery .gallery-row #chair{
        padding-bottom: 196%;

    }


    .signature{
        margin-top: 8px;
        margin-bottom: 50px;
    }
    #portrait img{
        max-width: 300px ;
        margin-bottom: 25px;

    }
}
@media(min-width: 1200px){
    #content{
        padding-top:290px
    }
}
@media(min-width: 768px){
    .footer-img{
        max-width: 100px !important;
    }
}