@media only screen and (max-width:240px) {
}

@media only screen and (min-width:241px) and (max-width:480px) {
}

@media only screen and (max-width:479px) {
}

@media only screen and (min-width:481px) and (max-width:729px) {
    .grey-bg { padding:30px 15px;}

}

@media only screen and (min-width:801px) and (max-width:990px) {
}

@media only screen and (max-width:800px) {
}

@media only screen and (min-width:768px) and (max-width:991px) {
    body {padding-top: 80px;}
    .top-navbar li{font-size:16px;padding:6px}
    .navbar-brand {margin-left: 1em;}
    .navbar-toggler {margin-top: 10px;}
    .dropdown-toggle {color: #ffffff;}
    .carousel-indicators {display: none;}
    .carousel-caption {bottom: 20px; }
    .carousel-caption h3 {font-size: 20px;}
    .carousel-caption p {font-size: 14px;}
    .custom-content-left h3 {font-size: 18px;}
    .custom-content-left .free {font-size: 24px;}
    .custom-content-left .custom-sm-text h4 {font-size: 16px;}
    .custom-content-left .content-list {margin-bottom: 4em;}
    .card-content h3, .card-content h4 {font-size: 20px;}
    .widget .btn {font-size: 15px; padding: 16px; margin-bottom: 20px;}
    .gform_wrapper .top_label li.gfield.gf_inline {width: 100%!important;}
}

@media (min-width: 768px) {

    /* show 3 items */
    #postsCarousel .carousel-inner .active,
    #postsCarousel .carousel-inner .active + .carousel-item,
    #postsCarousel .carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }
    
    #postsCarousel .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    #postsCarousel .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
    #postsCarousel .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
        transition: none;
    }
    
    #postsCarousel .carousel-inner .carousel-item-next,
    #postsCarousel .carousel-inner .carousel-item-prev {
      position: relative;
      transform: translate3d(0, 0, 0);
    }
    
    #postsCarousel .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* left or forward direction */
    #postsCarousel .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    #postsCarousel .carousel-item-next.carousel-item-left + .carousel-item,
    #postsCarousel .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
    #postsCarousel .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    
    /* farthest right hidden item must be abso position for animations */
    #postsCarousel .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* right or prev direction */
    #postsCarousel .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    #postsCarousel .carousel-item-prev.carousel-item-right + .carousel-item,
    #postsCarousel .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
    #postsCarousel .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
	 .blog-post {margin-bottom:3em}

}


@media only screen and  (max-width:991px) {
    .hidden-mobile{
        display: none;
    }
    .hidden-web{
        display: block;
        z-index:99;
    }
    .hidden-web {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 99;
    }
    .blog-sidebar { display:none;}
    .blog-post {margin-bottom:3em}
    #ticker-items {margin-left: 10%!important;}
    .card-img img { height:auto;}
    .map iframe { max-height:248px;}
    .bg-primary{
        background-color: #2a576c !important;
    }
    ul.navbar-nav.mr-auto {
        margin-top: 20px;
    }
    .navbar-toggleable-md .navbar-nav .nav-link{
        padding-left: 10px !important;
        text-transform:uppercase;
    }
    .dropdown-toggle { padding:.4rem .7rem 0rem .7rem; text-transform:uppercase;}
    .navbar .dropdown-menu { display:block; position:static!important; background:none; border:none; padding:0;}
    .navbar .dropdown-menu a { color:#fff!important;}
    .dropdown .dropdown-menu .dropdown-item { padding:.1rem;}
    .dropdown .dropdown-menu .dropdown-item .nav-link { color:#fff!important; text-transform:uppercase;}
    .dropdown .dropdown-menu .dropdown-item.active .nav-link,.dropdown-item.active { background:none!important;}

}

@media only screen and (min-width:0px) and (max-width:767px) {
	iframe { max-width:100%;}

    .navbar .container .navbar-toggler-right {
        right: -10px!important;
    }

    .carousel-caption {
        bottom: 45px;
        width: 68%;
    }
    .carousel-caption h3 {
        font-size: 22px;
    }
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .btn {
        font-size: 15px;
        padding: 8px;
    }


    .view img {
        height: 290px;
    }
	 .dropdown-toggle { color:#fff;}
    .dropdown-toggle::after { content:none;}
    a.navbar-brand img {
        width: 240px;
		  height:auto;
    }
    .navbar {
        padding: 10px;
    }

    .banner-bottom-text p {
        font-size: 20px;
    }
    .banner-section{
        padding-bottom: 0px;
    }
    .custom-content-left h3{
        font-size: 20px;
    }
    .free{
        font-size: 25px;
    }
    .our-inspiration h2 {
        padding: 10px 0;
        font-size: 28px;
        margin-top: 30px;
    }
    .card-content h3{
        font-size: 28px;
    }
    .card-content h4{
        font-size: 20px;
    }
    .card-content a{
        padding: 10px 30px;
    }
    .card-content {
        top: 54px;
        left: 38px;
    }
    .card-content.card-content2 {
        top: 54px;
        right: 38px;
    }
    .free-consultation {
        margin: 30px 0;
    }
    .widget {
        margin-left: 0;
        margin-top: 40px;
    }
    .widget .btn {
        padding: 16px 40px;
    }
    .widget h5 {
        width: 100%;
    }
    .widget-text p{
        width: 100%;
    }
    .widget p{
        font-size: 16px;
    }
    .widget h3{
        font-size: 20px;
    }
    nav.top-navbar {
        margin-top: 63px;
        /*border-top: 3px solid #fff;*/
    }

    #postsCarousel .carousel-control-next {
    right: 0;
    }
    #postsCarousel .carousel-control-prev {
        left: 0;
    }
    .pro-banner-text p {
        padding-right: 0px; 
    }
    .all-products h2 {
        margin: 40px 10px;
    }
    .pro-list {
        margin: 0px; 
    }
    .banner-section {
        margin-top: 80px;
        padding-bottom: 25px;

    }
    .our-client{
        padding: 40px 0;; 
    }
    .hd-gallery img{
        width: 100%;
    }
    .gallery-widget img{
        display: block;
        margin: 20px auto 0;
    }
    .wedget ul li a i {
        font-size: 20px;
    }
    .nav-flex-icons .nav-item a {
        width: 42px;
        height: 42px;
        margin: 5px;
        padding: 11px;
    }
    .wedget {
        padding: 0 20px;
    }
    .client-right {
        padding-right: 15px;
    }
    .client-left {
        padding-left: 15px;
    }
	 section.blog-post-top { margin-top:75px;}
    .banner-section h1 {font-size: 1.5rem;}
    .chip.chip-lg { height: 32px; line-height: 32px;border-radius: 16px;}
    .chip.chip-lg img { height: 32px; width: 32px;}
    .chip.chip-lg a {font-size: 12px;}

    .modal-dialog.modal-notify.modal-danger .btn-outline-secondary-modal {
        padding: .36rem;
    }
}