img {
  max-width: 100% !important;
} 

/* #Tablet (Landscape)
================================================== */

@media only screen and (max-width: 1024px) {

.wrapper960, #header_items, #header {width:95% !important;}
#logo {width:100% !important;}

/* Hide default hornav menu */
#hornav {display:none !important;}
/* Show mobile hornav menu */
.slicknav_menu {display:block;}

.j51imagelinkhover .j51container {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	width: 100% !important;
}
.j51imagelinkhover .mask, .j51imagelinkhover_border {width:100% !important;}

}

/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */
    
    
@media only screen and (max-width: 959px) {

#container_slideshow {
	padding-top:0px;
}
.j51-button a {
	display: block;
	margin: 10px;
}
}


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

@media only screen and ( max-width: 767px ) {

#sidecol_a, #sidecol_b {
	width:100% !important;
}
#content_remainder {
	width: 100% !important;
}
.top-1, .top-2, .top-3, .contenttop, .contentbottom, .bottom-1, .bottom-2, .base-1, .base-2 {
	width:100% !important;
}

#container_slideshow {
	padding-top:0px;
}
.top-2 .module .custom img {display:none !important;}

/* Hide Modules */
.breadcrumbs {
	display:none;
}
.maincontent img {
	margin: 0px 5px !important;
}

}

/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

@media only screen and (max-width: 440px) {

.wrapper960 {
	margin: 0;
}
#footermenu {
    float: left;
}

/* Remove Modules */
.breadcrumbs, #search {
	display:none;
}
}


