/* Resolution md and above */
@media (min-width:992px) {

    .buttons-wrapper {
        padding-bottom: 0;
    }
    
    .liftup-wrapper {
        margin-bottom: 10px;
    }

    .buttons-wrapper .col-lg-4,
    .liftup-wrapper .col-lg-4 {
        margin-bottom: 20px;
    }
    
    .liftup-box .button {
        background: #fff;
        bottom: 20px;
        left: 0;
        padding: 0 20px;
        position: absolute;
    }
    
    .liftup-box .button:before {
        background: -moz-linear-gradient(top,  rgba(255,255,255,0.1) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,1)));
        background: -webkit-linear-gradient(top,  rgba(255,255,255,0.1) 0%,rgba(255,255,255,1) 100%);
        background: -o-linear-gradient(top,  rgba(255,255,255,0.1) 0%,rgba(255,255,255,1) 100%);
        background: -ms-linear-gradient(top,  rgba(255,255,255,0.1) 0%,rgba(255,255,255,1) 100%);
        background: linear-gradient(to bottom,  rgba(255,255,255,0.1) 0%,rgba(255,255,255,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66ffffff', endColorstr='#ffffff',GradientType=0 );
        content: "";
        display: block;
        height: 20px;
        position: absolute;
        top: -20px;
        width: 100%;
    }
    
    .back-to-top {
        display: none !important;
    }

}

/* Resolution sm and below */
@media (max-width:991px) {

    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .liftup-wrapper {
        margin-bottom: 20px;
    }
    
    .front #main {
        margin: 0 0 20px;
    }
    
    .liftup-box .image img {
        width: 100%;
    }
    
    .liftup-box .title,
    .liftup-box .title {
        min-height: 0;
    }
    
    .liftup-box .inner,
    .liftup-box .inner {
        height: auto;
        min-height: 0;
    }
    
    .banner .inner {
        height: auto;
        min-height: 0;
    }
    
    .banner .content {
        height: auto;
    }
    
    .liftup-box .content {
        min-height: 0;
    }
    
    .buttons-wrapper > * {
        margin-bottom: 10px;
    }
    
    .buttons-wrapper > *:last-child {
        margin-bottom: 0;
    }
    
    .liftup-wrapper > * {
        margin-bottom: 20px;
    }
    
    .liftup-wrapper > *:last-child {
        margin-bottom: 0;
    }
    
    .col-xs-12 .banner,
    .col-sm-12 .banner {
        margin-left: auto;
        margin-right: auto;
    }
    
    .front .tabpanel {
        max-width: 100%;
    }
    
    .border-bottom {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    footer .col-border {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    footer .col-lg-4.col-border {
        border-left: none;
        margin-bottom: 0;
        overflow: hidden;
        padding-bottom: 0;
    }
    
    footer .row > .col-lg-4.col-border:last-of-type {
        border-right: none;
    }
    
    footer .col-sm-12.col-border {
        border-top: 1px solid #85b0b9;
        padding-top: 15px;
    }
    
    footer .col-sm-12 h2 {
        text-align: center;
    }
    
}

/* Resolution xs */
@media screen and (max-width:767px) {

    #header {
        border-bottom: 1px solid #106477;
    }

    .site-search .search-toggle {
        padding: 6px;
    }
    
    .custom-search form {
        display: inline-block;
        width: 100%;
    }
    
    .custom-search .multi-input .form-group {
        float: left;
        width: 45%;
    }

    .custom-search .multi-input .form-group:first-of-type {
        width: 100%;
    }
    
    .banner h2.title {
        font-size: 43px;
        line-height: 45px;
    }
    
    .news-item {
        margin: 0 0 20px;
    }
    
    footer .table-responsive {
        border: none;
    }
    
    footer .col-xs-12.col-border {
        border-top: 1px solid #85b0b9;
        padding-top: 15px;
    }
    
    footer .col-xs-12.col-border:first-of-type {
        border-top: none;
        padding-top: 0;
    }
    
    footer .col-xs-12 h2 {
        text-align: left;
    }

}