@media (min-width: 768px) and (max-width: 991px) {
  .company-thumb {
    text-align: left!important;
  }
}

@media (min-width: 992px) {
  .navbar-custom {
    border-bottom: none;
    letter-spacing: 1px;
    -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
/*
    background: rgba(0,0,0,0);
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 77%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.5)), color-stop(77%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 77%, rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 77%, rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 77%, rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 77%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
*/
  }
  
  .navbar-custom.top-nav-collapse {
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
  }
  
/*
  .navbar-custom .nav > li > a {
    text-shadow: 0 0 5px #000;
  }
*/
  
  .navbar-custom.top-nav-collapse li a {
    color: #555;
    text-shadow: none;
  }
}

@media (min-width: 1200px) {
/*
  .navbar-custom .navbar-right {
    margin-top: 15px;
  }
*/
  
  .navbar-custom.top-nav-collapse .navbar-right {
    margin-top: 0;
  }
  
  .navbar-custom .navbar-right > li > a {
    padding: 30px 10px;
  }
  
  .navbar-custom.top-nav-collapse .navbar-right > li > a {
    padding: 27px 10px;
  }
}

@media (max-width: 1199px) {
  .form-title {
    margin-bottom: 0;
  }
  
  .project-thumb .title {
    margin-bottom: 0;
  }
  
  .box-header {
    height: 300px;
  }
  
  .title-standard {
    font-size: 28px;
  }
  
  .contact-desc {
    font-size: 24px;
  }
  
  .service-top {
    padding: 20px 0;
  }
  
  .service-top > div {
    padding: 0 20px;
  }
  
  .service-title {
    height: auto!important;
    text-align: left;
  }
  
  .service-title .title span {
    display: inline;
  }
  
  .navbar-brand img {
    width: 260px!important;
  }
  
  .navbar-custom .nav > li > a {
    padding: 25px 7px;
    font-size: 14px;
  }
  
  .home-carousel .item {
    height: 500px;
  }
  
  .text-slider,
  .title-bordered,
  .title-white {
    font-size: 30px;
  }
  
  .service-thumb .title-bordered {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .company-thumb {
    height: auto!important;
    text-align: center;
  }
  
  .box-thanks {
    padding-top: 40px;
    height: 400px;
  }
  
  .title-line .title {
    font-size: 30px;
  }
  
  .title-line img {
    width: 130px;
  }
  
  .box-header {
    padding-top: 0;
    height: 200px;
  }
  
  .text-slider,
  .title-white,
  .title-standard {
    font-size: 28px;
  }
  
  .title-header {
    font-size: 32px;
  }
  
  .service-thumb .title-bordered {
    font-size: 20px;
  }
  
  .home-carousel .item {
    height: 450px;
  }
  
  .contact-desc {
    font-size: 24px;
  }
  
  .map-holder {
    margin-top: -15px;
    padding: 0;
  }
  
  .box-office {
    padding: 30px 15px;
    padding-left: 50px;
  }
  
  .box-office:before {
    left: 10px;
  }
  
  .box-office:after {
    left: 0;
  }
  
  .box-office-left {
    padding: 30px 15px;
    padding-right: 50px;
  }
  
  .box-office-left:before {
    right: 10px;
  }
  
  .box-office-left:after {
    right: 0;
  }
  
  .service-top > div {
    height: auto!important;
  }
  
  .service-desc {
    margin-bottom: 20px;
  }
  
  /*NAVBAR*/
  .navbar-header {
    float: none;
  }
  
  .navbar-left,.navbar-right {
    float: none !important;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .navbar-fixed-top {
    position: static;
  }
  
  .navbar-collapse {
    border-top: 1px solid #ddd;
    max-height: none!important;
  }
  
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  
  .navbar-collapse.collapse {
    display: none!important;
  }
  
  .navbar-nav {
    float: none!important;
  }
  
  .navbar-nav>li {
    float: none;
    text-align: left;
  }
  
  .navbar-nav>li>a {
    padding: 10px 15px!important;
    font-weight: 400;
  }
  
  .collapse.in{
    bottom: 15px;
    display:block !important;
  }
  
  .navbar-brand img {
    width: 250px;
  }
  
  .navbar-default .navbar-toggle {
    margin-top: 16px;
  }
  
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: 0;
  }
  
  .navbar-default .navbar-toggle {
    border-radius: 0;
  }
  
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent;
  }
  
  .navbar-custom {
    background-color: #fff!important;
    background: none;
  }
  
  .navbar-custom .navbar-nav > li > a,
  .navbar-custom .navbar-nav > li > a > span {
    color: #666!important;
    text-shadow: none;
  }
  
  .navbar-custom .dropdown-menu {
    float: none;
    background-color: #efefef!important;
    position: static;
    transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    -moz-transform: none;
    text-align: left;
  }
  
  .navbar-custom .dropdown .dropdown-menu {
    -webkit-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -moz-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -ms-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -o-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;

    max-height: 0;
    display: block;
    overflow: hidden;
    box-shadow: none!important;
    border: none!important;
  }

  .navbar-custom .dropdown.open .dropdown-menu {
    -webkit-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -moz-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -ms-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -o-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    transition: max-height 0.3s, opacity 0.2s, visibility 0s;

    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-custom .dropdown-menu li + li {
    border-top: 1px solid #ddd;
  }
  
  .navbar-custom .dropdown-menu > li > a {
    text-transform: none;
    color: #777;
  }
  
  .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 10px 15px 10px 30px;
  }
  
  .container-resp-md {
    max-width: 480px;
  }
  
  .project-description {
    text-align: left!important;
  }
  
  .project-detail {
    margin-top: 30px;
    padding-right: 0;
  }
  
  .project-video {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .values-height,
  .about-height {
    height: auto!important;
    margin-bottom: 10px;
  }
  
  .project-image {
    margin-bottom: 20px;
  }
  
  .title-line img {
    margin-right: 10px;
    width: 100px;
  }
  
  .title-line .title {
    font-size: 28px;
  }
  
  .philosophy-desc {
    height: auto;
    background-image: none!important;
  }
  
  .philosophy-desc > div {
    padding: 30px 0 0 0;
    background-color: rgba(255,255,255,.5);
  }
  
  .owner-opening-text {
    font-size: 18px;
  }
  
  .owner-height {
    height: auto!important;
  }
  
  .vision-col,
  .mission-col {
    height: auto!important;
    border: none!important;
    padding: 5px 15px;
    text-align: left!important;
  }
  
  .title-overview {
    font-size: 36px;
  }
  
  .container-resp-sm {
    max-width: 480px;
  }
  
  .box-white-desc {
    padding: 30px 15px;
    height: auto;
  }
  
  .box-welcome:before {
    display: none;
  }
  
  .title-welcome {
    padding: 15px;
    margin-bottom: 10px;
  }
  
  .text-slider,
  .title-bordered,
  .title-white {
    font-size: 24px;
  }
  
  .title-welcome:before {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  .list-welcome {
    padding: 15px;
    background-color: #efefef;
    text-align: left;
  }
  
  .welcome-desc {
    padding: 0;
  }
  
  .project-display {
    height: 400px;
  }
  
  .project-display.desc {
    padding: 40px 15px;
    height: auto;
  }
  
  .service-thumb {
    margin-bottom: 8px;
    height: 150px;
  }
  
  .box-header {
    height: 200px;
  }
  
  .title-header {
    font-size: 28px;
  }
  
  .contact-desc {
    font-size: 20px;
  }
  
  .title-standard {
    font-size: 24px;
  }
  
  .navbar-nav {
    margin: 0;
  }
  
  .navbar-collapse {
    padding: 0;
  }
  
  .box-bg-bottom-grey:before {
    background-image: url('../images/bg-bottom-sm-grey.jpg');
  }
  
  .service-thumb-desc:before {
    left: 0;
    top: 0;
  }
  
  .test-name {
    font-size: 20px;
  }
  
  .team-height {
    height: auto!important;
  }
  
  .team-desc .box-mid-in {
    padding: 30px 15px;
  }
  
  .team-desc:before {
    left: 0;
    top: 0;
    bottom: 0;
  }
  
  .company-title {
    margin-bottom: 30px;
    padding: 40px 15px 40px 60px;
    text-align: left;
  }
  
  .company-title:after {
    left: 30px;
    right: auto;
  }
}

@media (max-width: 479px) {
  .font-20 {
    font-size: 16px;
  }
  
  .home-carousel .item {
    height: 300px;
  }
  
  .title-line .title {
    font-size: 24px;
  }
  
  .pillars-thumb .col-xs-4,
  .pillars-thumb .col-xs-8 {
    width: 100%!important;
  }
  
  .pillars-thumb img {
    margin-bottom: 10px;
  }
  
  .pillars-height {
    height: auto!important;
    text-align: center;
  }
  
  .project-thumb .title {
    font-size: 16px;
  }
  
  .act-thumb {
    padding-left: 80px;
  }
  
  .act-thumb:before {
    width: 60px;
  }
  
  .act-thumb:after {
    width: 60px;
    font-size: 36px;
  }
  
  .box-office:after {
    display: none;
  }
  
  .box-office:before {
    left: 0;
    display: none;
  }
  
  .box-office {
    padding: 30px 0;
  }
  
  .text-slider {
    font-size: 20px;
  }
  
  .project-display {
    height: 300px;
  }
  
  .contact-desc {
    font-size: 18px;
  }
  
  .navbar-brand img {
    width: 230px!important;
  }
  
  .navbar-custom .navbar-toggle {
    margin-top: 13px;
  }
  
  .xs-custom {
    width: 100%;
  }
  
  .list-project:before {
    display: none;
  }
  
  .list-project {
    padding: 15px;
  }
}