@media screen and (min-width:1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
            max-width: 1170px;}
}

@media (min-width:992px) and (max-width:1275px){
    #carousel-home-generic .item {
        background-position: right top;
    }
}
@media screen and (max-width:1199px){
    .main-nav-container .navbar-nav a{
        padding: 12px 7px;
        font-size: 12px;
    }
    .toll-free-no a{
        font-size: 13px;
    }
    .home-featured-blocks .item .title{
        font-size: 12px;
	}
    .home-featured-blocks .item .title {
        font-size: 9px;
    }
    .offer_categories ul li{margin: 0 5px 10px 5px;}
}
@media (min-width:768px) and (max-width:992px){
    .cm-img img {
        max-width: 245px;
    }
	.home-featured-blocks .item-container {
	width: auto !important;
}
}
@media (min-width:992px){
    .site-header .h-left{
        width: 78%;
    }
    .site-header .h-right{
        width: 22%;
    }
}
@media (min-width:992px) and (max-width:1199px){
    .home-featured-blocks-main {
        bottom: -11px;
    }
    .home-carousel .carousel-caption {
        max-width: 58%;
    }
    .home-carousel .carousel-caption{
        bottom:0;
    }
    .home-carousel .container.caption-container{
        bottom: 60px;
    }
    .container-sidebar .banner-widget .item-footer .bg-container, .container-sidebar .banner-widget .item-heading a {
        font-size: 12px;
        line-height: 16px;
    }
    .offer_item_wrapper .box{
        margin-top: -1px;
    }
	.home-featured-blocks .item-container {
    width: auto!important; 
}
}
@media screen and (min-width:992px){
    .offer_wrapper li:nth-child(4n+1) {
        clear: both;
    }
}
@media screen and (max-width:991px){
    .custom-logo {
        left: 28px;
    }
    #top-menu > li.menu-item-has-children > a {
        padding: 0 10px;
    }
    #navbar-collapse-top, .h-left {
        padding-right: 0;
    }
    .home-carousel .carousel-caption {
        max-width: 50%;
    }
    #navbar-collapse-footer{
        padding-right: 10px;
		padding-left:10px;
    }
    .navbar.footer-menu #footer-menu a{
        font-size: 12px;
    }
    .home-featured-blocks .item {
        min-height: 68px;
    }
    .home-featured-blocks .item a {
        height: 68px;
    }
    .home-featured-blocks .item .title {
        font-size: 7px;
        line-height: 6px;
    }
	.footer-widget-1 {
        
        text-align:center;
        font-size: 11px;
    }
    /************* Responsive menu change breakpoing **********/
    #top-menu  li.menu-item-has-children ul.sub-menu{
        display: none;
    }
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
        float: left;
    }
    .navbar-toggle .m-title {
        right: -5px;
        top: 5px;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .toll-free-no a {
        font-size: 15px;
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;

        max-height: 300px;
        overflow-y: scroll!important;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }
    .main-nav-container > .container > .row{
        position: relative;
        min-height: 45px;
    }
    .navbar-toggle{
        margin-top: 4px;
        padding-left: 0;
        padding-right: 47px;
    }
    #top-menu {
        margin: 0;
    }
    #top-menu > li.menu-item-has-children > a {
        padding: 0 12px;
    }
    .main-nav-container .navbar-nav > li::after{
        display: none;
    }
    #top-menu.nav > li {
        border-bottom: 1px solid;
    }
    nav .sub-menu {
        display: block;
        top: 0;
        position: relative;
    }
    #top-menu .sub-menu .sub-menu {
        left: 0;
    }
    .h-right {
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
    }
    .h-left {
        padding-right: 15px;
    }
    /******************************************/
    .home-featured-blocks {
        width: 48%;
    }
    .offer_list .offer_container .offer_wrapper li{width: 33%;}
    .offer_wrapper li:nth-child(3n+1) {
        clear: both;
    }
    .offer_list .offer_container .offer_wrapper li .offer_item_wrapper{text-align: center;}
    .offer_item_wrapper .box{margin-top: -1px;}
    .main-nav-container .navbar.main-menu button.navbar-toggler{
        padding: 0;
        border: none;
        outline: none;
        height: 44px;
    }
    .main-nav-container .navbar.main-menu button.navbar-toggler:focus{
        box-shadow: none;
        outline: line
    }
    .main-nav-container .navbar.main-menu button.navbar-toggler i{
        color: #fff;
    }
    .main-nav-container .navbar-nav a, .navbar.footer-menu #footer-menu a {
        padding: 0 10px;
        font-size: 14px;
        display: block;
    }
}
@media screen and (max-width:883px){
    .wp-custom-header img {
        max-width: 388px;
    }
    .custom-logo {
        max-width: 70px;
        height: auto;
    }
    .header-top-container .header-left img {
        max-width: 80px;
    }
    .header-left, .wp-custom-header {
        height: 82px;
    }
    .custom-logo {
        left: 0;
        top: 5px;
    }
	.carousel-inner {
		padding-bottom:6px;
}
    #carousel-home-generic .item{
        background-size: cover !important;
    }
    #navbar-collapse-top {
        margin-top: 10px;
    }
}
@media (min-width:768px) and (max-width:991px){
    .left-banner{padding-right: 268px;}
    /*#carousel-home-generic .item{
        height: 400px;
    }*/
    .banner-widget {
        max-width: 245px;
    }
    .banner-widget .item-footer .bg-container, .banner-widget .item-heading a {
        font-size: 12px;
        line-height: 17px;
    }
    .banner-widget .item-footer{
        padding: 8px;
    }
    .banner-widget .item-heading a::before {
        height: 54px;
        width: 68px;
        left: -43px;
    }
    .home-featured-blocks {
        width: 505px;
    }
    .home-featured-blocks .item .title {
        font-size: 8px;
        line-height: 8px;
    }
    .home-carousel .carousel-caption{
        bottom: 0;
    }
    /*.home-carousel .container.caption-container {
        bottom: 56px;
    }*/
    .home-featured-blocks-main {
        bottom: 1px;
    }
    .home-carousel .carousel-caption {
        max-width: 62%;
    }
    .container-sidebar  .banner-widget .item-heading a::before {
        height: 45px;
        width: 58px;
    }
    .container-sidebar.banner-widget .item-footer .bg-container, .container-sidebar .banner-widget .item-heading a {
        font-size: 10px;
        line-height: 16px;
    }
    .sidebar-widget-container .banner-widget .item-heading a {
        padding-left: 28px;
    }
}
@media screen and (min-width:768px){
    .col-md-7.home-marquee-section {
        width: 54%;
    }
    .col-md-5.home-featured-blocks {
        width: 46%;
    }
    .p-layout .right-block {
        padding-left: 30px;
    }
    /*   .m-t-minus-5 {
          margin-top: 0px;
      } */
}
@media screen and (max-width:768px){
    #fbpicture-gallery .masonryBx, #fbpicture-gallery.columns-4 .masonryBx, #fbpicture-gallery.columns-3 .masonryBx {
        width: 33.33%;
    }
    .custom-logo {
        left: -25px;
    }
    .h1, h1 {
        font-size: 30px;
    }
}
@media screen and (max-width:767px){
    .container{
        width: 100%;
        max-width: 100%;
    }
    .left-banner{padding-right: 0;width: 100%;}
    .home-marquee-section {
        padding-left: 15px;
    }
    .home-featured-blocks {
        width: 100%;
        margin: 0 auto;
        padding: 0 15px 15px 30px;
    }
    .home-featured-blocks .item .title {
        font-size: 14px;
    }
	.home-featured-blocks .item-container {
		width: auto !important;
	}

    .toll-free-no a {
        font-size: 13px;
    }

    .container.banner-widget-container {
        position: inherit;
        transform: none;
    }
    .banner-widget {
        max-width: 100%;
        position: initial;
        top: auto;
        right: auto;
        display: table;
        margin: 5px auto 0;
    }
    .home-carousel .carousel-caption {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .home-carousel .container.caption-container {
        width: 100%;
    }
    .navbar.footer-menu .navbar-nav > li {
        display: inline-block;
    }
    #navbar-collapse-footer {
        display: block;
    }
    #footer-menu {
        margin: 0;
    }
    .navbar.footer-menu #footer-menu a {
        font-size: 13px;
        padding: 6px 8px;
    }
    .footer-menu .container{
        padding-left: 15px !important;
    }
    .footer-widget-1 {
        padding-left: 15px;
    }
    .header-top-container{
        background-image: url('../images/green-bg-mobile.png');
    }
    .custom-logo {
        left: -3px;
    }
    .wp-custom-header img{
        max-width: 100%;
    }
    .navbar-toggle .m-title {
        right: -4px;
        top: 5px;
    }
    .home-carousel .carousel-caption h5.title {
        font-size: 18px;
    }
    .home-carousel .carousel-caption {
        font-size: 12px;
        line-height: 16px;
    }
    /*.home-carousel .container.caption-container {
        bottom: -18px;
    }*/
    .home-carousel .carousel-indicators {
        bottom: -10px;
    }
    .home-carousel .carousel-indicators .active {
        width: 8px;
        height: 8px;
    }
    .sidebar-widget-container {
        padding: 20px 15px 5px;
    }
    .container-sidebar .banner-widget {
        margin-top: 0;
    }
    .container-sidebar {
        margin-bottom: 25px;
    }
    @-moz-document url-prefix() {
        fieldset {
            display: table-cell;
        }
    }
    .footer-widget-2 {
        text-align: left;
        clear: both;
    }

    .home-featured-blocks-main {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 565px;
        margin: 20px auto 10px !important;
        float: none;
    }
    .home-featured-blocks{
        width: 100%;
    }
    .home-carousel .container.caption-container {
        bottom: 0;
        height: 100%;
    }
    /*.home-carousel .carousel-caption{
        bottom: -20px;
    }*/
    .home-featured-blocks .item a {
        height: 108px;
    }
    .container-sidebar .banner-widget {
        display: block;
    }
    .offer_list .offer_container .offer_wrapper li{width: 50%;}
    .offer_item_wrapper .box {min-height: 115px;position: relative;margin-top: 0px;background-repeat: repeat-y;text-align: center !important;margin: 0px auto;background-position: center;background-size: initial;}
    .p-layout .p-image img{
        margin-bottom: 15px;
        max-width: 100%;
        height: auto;
    }
}
@media screen and (max-width:652px){
    .offer_list .offer_container .offer_wrapper li{width: 100%;}
}
@media (min-width:480px) and (max-width:767px){
    .banner-widget .item-heading, .banner-widget .item-footer{
        width: 50%;
        float: left;
        height: 48px;
        margin-top: 20px;
        padding-left: 12px;
    }
    .banner-widget .item-heading {
        border-right: 5px solid #ffffff;
    }
    .banner-widget .item-heading .body{
        margin-top: 10px;
    }
    .banner-widget .item-heading a::before {
        height: 44px;
        width: 57px;
        left: -23px;
    }
    .banner-widget .item-footer .bg-container {
        font-size: 14px;
    }
    .banner-widget .item-heading *, .banner-widget .item-footer * {
        font-size: 12px !important;
        line-height: 13px;
    }
    .footer-widget-1 {
        width: 100%;
        text-align:center;
        font-size: 11px;
    }
    .footer-widget-2 {
        width: 100%;
        clear: none;
        text-align:center;
        margin-top: 30px;
    }
    .footer-widget-1 .widget:last-child {
        width: 100%;
        padding-left: 0;
    }
    .home-featured-blocks{
        max-width: 100%;
        padding: 0;
    }
    .home-featured-blocks .item-container {
        padding-left: 0;
        padding-right: 5px;
    }
    .home-featured-blocks > .row{
        margin-left: 0;
    }
    .home-featured-blocks .item .title {
        font-size: 9px;
        line-height: 9px;
    }
    .container-sidebar{
        padding-bottom: 50px;
    }
}
@media (min-width:480px) and (max-width:548px){
    .sidebar-widget-container .banner-widget .item-heading a {
        padding-left: 26px;
    }
    .container-sidebar .banner-widget .item-footer *, .container-sidebar .banner-widget .item-heading a {
        font-size: 10px !important;
        line-height: 11px;
    }
    .container-sidebar .banner-widget .item-heading .body {
        margin-top: 3px;
    }
}
@media screen and (max-width:756px){
    .footer-menu ul li:first-child a {
        padding-left: 8px !important;
    }
}
@media screen and (max-width:610px){
    .footer-menu ul li:first-child a{
        padding-left: 8px !important;
    }
}
@media screen and (max-width:600px){

}

@media only screen and (max-width : 580px) {
    .header-top-container .header-left img {
        max-width: 70px;
    }
    .wp-custom-header img {
        max-width: 96%;
    }
}

@media only screen and (max-width : 540px) {
    #fbpicture-gallery .masonryBx {
        width: 50%;
    }
    .home-featured-blocks-main{
        width: 337px;
    }
}
@media screen and (max-width:499px){
    header .flag-container, header .logo-container{
        display: none;
    }
    header .title-container{
        width: 100%;
    }
    .header-top-container{
        background-image:  none;
    }
    .wp-custom-header img{
        max-width: 93%;
    }
    /*.home-carousel .carousel-caption{
        display: none;
    }*/
    .mobile-logo{
        display: block;
        text-align: center;
        margin-top: 5px;
    }
    .wp-custom-header {
        height: 30px;
        position: relative;
    }
    .wp-custom-header img {
        max-width: 98%;
    }
    .h1, h1 {
        font-size: 26px;
    }
    .h2, h2 {
        font-size: 20px;
    }

    #footer-menu {
        text-align: center;
    }
    .footer-widget-1, .footer-widget-2{
        text-align: center;
    }
    .banner-widget .item-heading a{
        font-size: 14px;
        padding: 6px 0px 6px 34px;
        display: inline-block;
    }
    .table-extras #printBtn{
        display: none;
    }
}

@media screen and (max-width:540px){
	.home-featured-blocks {
        max-width: 100%;
        padding: 0;
    }
    .home-featured-blocks > .row {
        margin-left: 0;
        margin-right: -5px;
    }
    .home-featured-blocks .item .title {
        font-size: 9px;
    }
    .home-featured-blocks .item {
        min-height: 0;
    }
    .home-featured-blocks .item a {
        height: 86px;
    }
}
	
@media screen and (max-width:480px){
    .home-carousel .carousel-caption {
        font-size: 8px;
        line-height: 8px;
    }
    .home-carousel .carousel-caption h5.title {
        font-size: 13px;
        margin-bottom: 5px;
    }
    body {
        font-size: 14px;
        line-height: 19px;
    }
    .banner-widget .item-footer {
        font-size: 12px;
        line-height: 18px;
    }
    .navbar-toggle .m-title {
        right: -1px;
        top: 6px;
    }
    #fbpicture-gallery .masonryBx, #fbpicture-gallery.columns-4 .masonryBx, #fbpicture-gallery.columns-3 .masonryBx {
        width: 50%;
    }
    .h-right{
        width: 70%;
    }
    .toll-free-no a {
        font-size: 12px;
    }
    #carousel-home-generic .item{
        background-position: center center;
    }
    .banner-widget * {
        font-size: 14px;
    }
    .banner-widget .item-footer {
        padding: 8px 8px 8px 17px;
    }
    .footer-widget-1 .widget:last-child {
        width: 100%;
        padding-left: 0;
        line-height: 16px;
        margin-bottom: 5px;
    }
    .home-carousel .carousel-caption p {
        line-height: 10px;
    }
    .home-featured-blocks {
        max-width: 100%;
        padding: 0;
    }
    .home-featured-blocks > .row {
        margin-left: 0;
        margin-right: -5px;
    }
    .home-featured-blocks .item .title {
        font-size: 9px;
    }
    .home-featured-blocks .item {
        min-height: 0;
    }
    .home-featured-blocks .item a {
        height: 86px;
    }
    .banner-widget .item-heading {
        margin-top: 25px;
    }
    .home-featured-blocks-main{
        margin-top: 5px;
    }

}
@media (max-width:379px){
    .home-featured-blocks-main{
        width: 100%;
    }
}
@media (max-width:342px){
    .offer_item_wrapper .box {min-height: 115px;position: relative;margin-top: 0px;background-repeat: repeat-y;text-align: center !important;margin: 0px auto;background-position: center;background-size: contain;}
}