.header{
    position: relative;
    background-color: #910D10;
}
#home-breadcrumb{
    margin-top: 20px;
}
#d-gallery{
    margin-top: 20px;
}
#home-contact{
    background-color: #910d10;
    color: white;
    margin-bottom: 0;
    padding: 0px;
}
#home-contact h3{
    font-size: 1.2em;
}
#home-contact h1{
    font-size: 2em;
    font-weight: bold;
}
#gallery{
    position: relative;
}
#galleria{
    height:550px;
}
.full-screen #gallery{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 31px);
    z-index: 999999;
}
#primary .row{
    margin: 0;
}
#primary .info{
    margin: 20px 0 30px 0;
}
#primary [class*=col-]{
    /*padding: 0;*/
}
#primary .info h5{
    color: #910d10;
}
#primary .info h5 i{
    color: #910d10;
    font-size: 1.2em;
    margin-right: 5px;
}
#primary .info .right{
    text-align: right;
}
#primary .info .right h1{
    color: #910d10;
    font-weight: normal;
}
#primary .info .right h1 sup{
    font-size: 0.7em;
}
#primary .detail [class*=box-detail]{
    background-color: white;
    border: 1px solid #e4e4e4;
    margin-bottom: 30px;
}
#primary .detail .box-detail-left{
    padding: 33px 40px 50px 40px;
    -webkit-box-shadow: 0px 0px 5px 2px #e4e4e4;
    -moz-box-shadow: 0px 0px 5px 2px #e4e4e4;
    box-shadow: 0px 0px 5px 2px #e4e4e4;
}
#primary .detail .box-detail-left h3{
    margin: 0 0 20px 0;
}
#primary .detail .box-detail-left p{
    margin: 0 0 15px 0;
}
#primary .detail .description p{
    text-align: justify;
}
#primary .detail .right{
    padding-left: 30px;
}
#primary .detail .editor img{
    max-width: 100% !important;
    height: auto !important;
}
#primary .detail .editor iframe{
    max-width: 100% !important;
}
#primary .detail .box-detail-right{
    padding: 30px;
}
#primary .detail .box-detail-right h4{
    margin: 0 0 20px 0;
    font-weight: normal;
}
#primary .detail .staff ul li{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 20px 0;
}
#primary .detail .staff ul li img{
    margin-right: 20px;
}
#primary .detail .staff ul li .info{
    margin: 0;
}
#primary .detail .staff ul li .info p:first-child{
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}
#primary .detail .staff ul li .info p i{
    color: #910d10;
}
#primary .detail .highlights .item{
    position: relative;
    margin-bottom: 30px;
}
#primary .detail .highlights .item:last-child{
    margin-bottom: 30px;
}
#primary .detail .highlights .desc{
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    width: 100%;
    height: 37px;
    background: rgba(0,0,0, 0.8);
    display: flex;
    justify-content: center;
    align-items:center;
    flex-direction: column;
    transition: background 0.5s ease, height 0.5s ease;
}
#primary .detail .highlights .desc h3{
    font-size: 1em;
    margin: 0;
    padding: 10px 0;
}
#primary .detail .highlights .desc p{
    font-size: 0.9em;
    margin-bottom: 5px;
    display: none;
    transition: display 0.5s ease;
}

#primary .detail .highlights .item:hover .desc p{
    display: block;
    transition: display 0.5s ease;
}

#primary .detail .highlights .item:hover .desc{
    height: 100%;
    background: rgba(0,0,0, 0.5);
    transition: background 0.5s ease, height 0.5s ease;
}


@media (max-width: 991px) {
    #primary .detail .box-detail-left{
        padding: 30px 15px;
    }
}
@media (max-width: 767px) {
    #primary .detail .right{
        padding-left: 0;
    }
    #primary .detail .box-detail-right{
        width: 49%;
        float: left;
        margin: 1%;
    }
    #primary .detail .box-detail-right:first-child{
        margin-left: 0;
    }
    #primary .detail .box-detail-right:last-child{
        margin-right: 0;
    }
    #primary .detail .box-detail-right{
        padding: 15px;
    }
    #primary .detail .highlights .item{
        padding: 0;
    }
    #primary .info .right, #primary .info .left{
        text-align: center;
    }
}
@media (max-width: 550px) {
    #primary .detail .box-detail-right{
        width: 100%;
        margin: 0;
    }
    #primary .detail .highlights{
        margin-bottom: 20px;
    }
    #primary{
        margin-bottom: 0;
    }
}
@media (max-width: 480px) {
    h3.animation{
        font-size: 1.6em;
    }
    #primary .info h1{
        font-size: 2.2em;
    }
    #primary .info h5{
        font-size: 1.2em;
    }
}

.menu-project {
    padding: 20px 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    background: #fff;
}

.menu-project ul {
    padding: 0 15px;
}

.menu-project li {
    margin-right: 40px;
}

.menu-project ul li a {
    font-family: Arial;
    color: #3b3b3b;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    position: relative;
}

.menu-project ul li a.active {
    color: #cc9036 !important;
}

.menu-project ul li a:hover {
    color: #cc9036;
}

.menu-project li a:after {
    content: "";
    width: 0;
    height: 10px;
    border-bottom: 4px solid #cc9036;
    position: absolute;
    left: 0;
    bottom: -22px;
    transition: width 0.3s;
}

.menu-project ul li a.active:after {
    width: 100% !important;
}

.menu-project li a:hover:after {
    width: 100%
}
.main-project {
    /*background: #f6f3ea;*/
    padding: 30px 0 50px;
}
.content-chi-tiet {
    padding: 30px 50px;
    margin-bottom: 30px;
}
.content-chi-tiet .title-before {
    margin-top: 0;
    font-size: 30px;
    background: #910D10;
    color: #fff;
    padding: 10px 0;
    margin-left: -50px;
    margin-right: -50px;
}
.bg-white {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 4px #dddbdb;
}
.fixed {
    position: fixed !important;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 9;
    background: #ffffff;
    box-shadow: 0 0 4px #dddbdb;
}
.menu-project ul {
    padding: 0 15px;
}
.menu-project  ul li {
    display: inline-flex;
}
.menu-project li {
    margin-right: 40px;
}
.menu-project ul li a.active {
    color: #cc9036 !important;
}
.menu-project ul li a {
    font-family: Arial;
    color: #3b3b3b;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    position: relative;
}
.menu-project ul li a.active:after {
    width: 100% !important;
}
.menu-project li a:after {
    content: "";
    width: 0;
    height: 10px;
    border-bottom: 4px solid #cc9036;
    position: absolute;
    left: 0;
    bottom: -22px;
    transition: width 0.3s;
}
.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
}
@media (max-width: 1024px) {
    .menu-project ul li a:hover,
    #location-filter ul li a:hover {
        color: #333;
    }
    .menu-project ul li a:hover:after,
    #location-filter ul li a:hover:after {
        width: 0;
    }
}
@media (max-width: 980px) {
    .menu-project,
    #location {
        white-space: nowrap;
        overflow: scroll;
        /*overflow-y: hidden ;*/
        /*max-height: 60px;*/
    }
    .menu-project::-webkit-scrollbar {
        width: 0px;
        background: transparent;
        /* make scrollbar transparent */
        height: 0;
    }
    .content-chi-tiet {
        padding: 30px 15px;
    }
}
@media (max-width: 768px) {
    .content-chi-tiet .title-before{
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media (max-width: 767px) {
    #location-filter,
    .menu-project {
        padding: 0;
    }
    #location-filter ul {
        padding: 20px 0;
    }
    .menu-project ul {
        padding: 20px 15px;
        position: relative;
    }
    .main-project {
        padding: 10px 0 50px;
    }
    .main-project .col-md-12 {
        padding: 0;
    }
    .main-project .bg-white {
        box-shadow: none;
        border-radius: 0;
    }
    .content-chi-tiet {
        overflow: hidden;
    }
    .content-chi-tiet {
        padding: 15px 0;
    }
}
@media all and (-ms-high-contrast: none),(-ms-high-contrast: active) {
    .menu-project li a:after,
    #location-filter ul li a:after {
        max-width: 100%;
    }
}