/* CSS for serving the retina image to devices with a high "device-pixel-ratio" */
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
}

/*  EXTRA-LARGE (XL) Grid: 1200px+
    ---------------- */
@media only screen and (min-width: 1200px) {

	/* HOMEPAGE */

}

/*  LARGE (L) Grid: 1024px - 1199px
    ---------------- */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {


	/* HEADER */

	#header .second-logo {
		width: 125px;
		top: 30px;
		}

	.search_container > form {
		position: relative;
		left: 239px;
		margin-top: -10px;
		z-index: 10;
		}

	.search_container input {
		padding: 5px 10px 5px 30px !important;
		width: 180px;
		}

	.search_container a {
		top:      3px !important;
		}

	/* BLOG */

	img.blogViewImage {
		width: 50%;
		}



}

/*  MEDIUM (M) Grid: 768px - 1023px
    ---------------- */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Widgets */
    .widget_form_row label {
        width: 100%;
        display: block;
    }

    .widget_form_input {
        width: 100%;
    }

    /* Gallery */
    /* Categories */
    #content .gallery_cat_list li {
        margin-bottom: 10px;
    }

    #content .gallery_cat_list li a {
        width: 100%;
    }

    #content .gallery_cat_list li a:hover {
        width: 100%;
        margin: 0;
    }

    .gallery_cat_list li a:hover .gallery_title_label {
        font-size: 14px;
        line-height: 17px;
        font-weight: bold;
        height: 135px; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li,#content .gallery_thumbs li.gallery_last {
        width: 32.6%;
        margin-right: 1%;
    }

    #content .gallery_thumbs li.gallery_tab_last {
        margin-right: 0;
    }

    /* HEADER */

	#header a.logo {
		background-size: 100% auto;
		width: 230px;
	 	margin-top: 9px;
		height: 75px;
		}

	#header .second-logo {
		width: 125px;
		top: 30px;
		}

	#header {
		padding: 0px;
		}

	#header .header_social li {
		margin-left: 0px;
		}

	#header .header_social {
		display: none !important;
		}

	#header .header_phone_number {
		padding-top: 20px;
		padding-bottom: 0px;
		}

	#header .header_forms {
		line-height: 14px;
		}

	.search_container > form {
		left: 103px;
		width: 119px;
		}

    /* NAVIGATION */

	#mainNav > li > a {
		padding:     10px 4px;
		font-size:   12px;
		}

    /* SIDEBAR */

	h3.titleBg {
		font-size: 14px;
		line-height: 16px;
		}

	.titleBg.red {
		padding: 12px 0;
		padding-left: 20px;
		}

	#sidebar #subNav li.subNavHeading a, #sidebar .subNavBlog li.subNavHeading a {
		font-size: 15px;
		}

    /* FOOTER */

	#ambassadorFooter {
		padding: 45px 0;
		}

	#socialFooter .footer_social li {
		margin-right: 0px;
		}

	.subscribeText {
		text-align: right;
		padding-top: 0px;
		line-height: 20px;
		}

	#footer .footer_left h2 {
		font-size: 13px;
		}

	#footer .footer_left h2.extra_pad {
		height: 16px;
		}

	#footer .footer_left li {
		margin:     0 12px 0 15px;
		}

	#footer .footer_left li:before {
		left: -13px;
		top: 12px;
		}

	#footer .footer_left li a {
		font-size: 12px;
		}

	#footerDetails {
		font-size: 11px;
		}

    /* EVENTS */

	.featuredEventsCalendar {
		display: none;
		}

    /* Ambassador */

	.ambassadorContainerInner {
		border-left: 1px solid #e6e6e6;
		}

	.ambassadorContainer p {
		line-height: 22px;
		}

    /* PRODUCT LISTING */

	.categoriesContainer {
		border: none;
		}

	.categoriesContainer .padding {
		padding: 0px;
		}

	.categoriesContainer .button {
		font-size: 12px;
		}

	.productListing .productCarousel {
		padding: 10px 10px;
		}

	.productListing .titleBg {
		padding-left: 10px;
		padding-right: 10px;
		}

	.productListing .productCarousel .productImage {
		margin-bottom: 10px;
		padding-bottom: 10px;
		}

	.productContainer .productTitle, .productContainer .productPrice {
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		margin: 0 0 6px 0;
		}

    /* BLOG */

	.blog_listing_content .collapse_content img {
		width: 100%;
		margin-right: 0px !important;
		}

    img.blogViewImage {
	    width: 50%;
	    }


}

/*  Phone - all mobile sizes < 767px
    ---------------- */
@media only screen and (max-width: 767px) {

	.inner, .inner_l, .inner_r {
		padding-left: 0px;
		padding-right: 0px;
		}

	.gridBoxHolder {
		margin-left: 0px;
		margin-right: 0px;
		}

	h1 {
		font-size: 24px;
		line-height: 30px;
		font-weight: 700;
		margin: 0 0 10px 0;
		}

	h2 {
		font-size: 20px;
		line-height: 24px;
		font-weight: 700;
		margin: 0 0 10px 0;
		}

    html, body {
        font-size: 14px;
        line-height: 20px;
    }

    #homePage #menu_mobile {
        display : none;
    }

    .form_label {
        width   : auto;
        padding : 0;
    }

    .form_required {
        width   : 5%;
        padding : 5px 0 0 10px;
    }

    .form_field {
        width      : 100%;
        float      : none;
        margin-top : 0;
    }

    #header {
        height  : 50px;
        padding : 0;
        margin-bottom : 0px;
	    border-bottom: 1px solid #fff;
    }

	#mobileShopNav {
		display: inline-block;
		}

    #header a.logo {
	    height: 66px;
	    width: 170px;
        background-size : 100% auto;
        float           : left;
        margin-bottom   : 0;
	    margin-top: 0px;
    }

	#header .second-logo {
		right: auto;
		left: 122px;
		height: 32px;
		width: 76px;
		}

	.fullLengthHeading {
		background-color: rgba(0, 0, 0, 0.8);
		}

    /* Gallery */
    #content .gallery_cat_list li {
        margin-bottom: 15px;
        width: 48%;
    }

    #content .gallery_cat_list li.gallery_middle {
        margin-right: 0;
        margin-left: 0;
    }

    #content .gallery_cat_list li.gallery_mob_last {
        margin-left: 4%;
    }

    .gallery_cat_list li a {
        background: none;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay_container,.gallery_cat_list li .gallery_title_overlay_container {
        position: relative;
        display: block;
        text-align: left;
    }

    .gallery_cat_list li .gallery_title_overlay {
        display: block;
        text-align: left;
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_overlay {
        padding: 0px;
    }

    .gallery_cat_list li a:hover .gallery_title_label, .gallery_cat_list li .gallery_title_label {
        font-size: 14px;
        display: block;
        padding: 10px 0 2px 0;
        line-height: 17px;
        font-weight: bold;
        color: #000;
        text-align: left;
        height: auto; /* Change the height to the height of the image */
    }

    /* Thumbs */
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 18px;
    }

    #content .gallery_thumbs li.gallery_mob_last {
        margin-right: 0;
    }
    .gallery_thumbs .gallery_caption {
        padding: 18px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 10px;
    }


	.titleBg.red {
		padding: 20px 15px 20px 20px;
		}

    /* HEADER */

	#globalNav {
		background: #272324;
		position: absolute;
		top: 50px;
		z-index: 6;
		color: #fff;
		text-align: center;
		padding: 5px 0;
		}

	.header_phone_number {
		position: absolute;
		top: -63px;
		right: 64px;
		}

	.header_phone_number span {
		display: none;
		}

    #headerNavigation {
	    display: none;
	    }

	.page_banner {
		min-height: 100px;
		background-size: auto 100px !important;
		margin-bottom: 15px;
		}

	#header .header_phone_number {
		padding-top: 10px;
		}

    /* HOME PAGE */

	#homepageItems {
		margin-top: 0px;
		padding-top: 20px;
		padding-bottom: 5px;
		}

	#homePage .homepageMessage:hover {
		margin-top: 0px;
		}

	.homepageMessage {
		margin-bottom: 15px;
		}

    #multiple_ambassador_banner .featureTitle {
	    display: none;
	    }

    /* HOME BANNER */
	#homePage .flexslider .flex-next, #homePage .flexslider .flex-prev, #homePage .flexslider:hover .flex-next, #homePage .flexslider:hover .flex-prev,
	#multiple_ambassador_banner .flex-direction-nav
	{
		display: none !important;
		}

	#homePage .flex-control-nav.container_24 {
		top: -28px;
		}

	#homePage .flex-control-nav.container_24 {
		text-align: center;
		}

	#homePageBanner, #visiPageBanner {
		min-height: 130px;
		height: auto;
		}

	#visiPageBanner {
		display: none;
		}

/*	.banner_text_wrapper {
		top:      80%;
		}*/

	.banner_text h2 {
		margin-bottom: 5px;
		}

	.banner_text_wrapper .button {
		padding:6px 45px 6px 17px !important;
		}

	.banner_text_wrapper .button {
		padding:6px 45px 6px 17px !important;
		}

	.banner_text_wrapper .button:after {
		top: 5px !important;
		}

	#homePage .banner_text h3 {
		display: none;
		}

	.bannerLineOverlay {
		background-color: rgba(0, 0, 0, 0.3);
		}

    /* AMBASSADOR FEATURE */

	.ambassadorHomeContainer h2 {
		margin-bottom: 5px;
		}

	.ambassadorHomeContainer .viewallButton {
		position: relative;
		margin-bottom: 10px;
		}

	#multiple_ambassador_banner.flexslider .slides img, #home_coaches_banner.flexslider .slides img  {
		  padding-left: 20px;
		  padding-top: 20px;
		}

    /* AMBASSADOR VIEW */

	#ambassadorBanner {
		display: none;
		}

	#ambassadors-viewPage .fullLengthHeading h1 {
		display: block;
		float: none;
		}

	.ambassador_title_mobile {
		display: block;
		}

    /* FOOTER */

	#socialFooter .footer_social {
		float: none;
		margin-right: 0px;
		margin: 0 auto 0;
		width: 36px;
		}

	#socialFooter .footer_social li {
		margin-right: 1px;
		}

	.subscribeText {
		text-align: center;
		padding-top: 11px;
		padding-bottom: 8px;
		}

	#footerDetails {
		font-size: 11px;
		}

	#footerDetails .footer_right {
		text-align: left;
		margin-top: 10px;
		}

	#footer .footer_left li {
		margin:     0 0 0 20px;
		float: left;
		width: 100%;
		}


	#footer .footer_left h2 {
		padding-top: 5px !important;
		}

	#footer .footer_left h2.extra_pad {
		padding-bottom: 5px;
		}

	#footer .navholder ul {
		float: left;
		padding-bottom: 15px;
		}

    .subscribeInputHolder {
	    width: 60%;
	    }

    .subscribeButton {
	    width: 35%;
	    margin-left: 5%;
	    }

    /* PRODUCTS */

	#productBanner {
		margin-bottom: 20px;
		}

	#product-viewPage .productBackButton {
		position: relative;
		top: 0;
		right: 0px;
		}

    .product-view {
	    margin-top: 10px;
	    }

    .productImgContainer {
	    margin-bottom: 15px;
	    }

    .productExtraThumb {
	    display: none;
	    }

	.productExtraThumb:first-child {
		display: block;
		}

    /* resources */

	.file_label {
		bottom: 12px;
		right: 50%;
		}

	.resource_icon {
		display: none;
		}

	.resource_image_content img {
		width: 100%;
		margin: 0 0 10px 0 !important;
		}

    /* EVENTS */

	.button_holder .button {
		margin-top: 5px;
		margin-bottom: 5px;
		}

    .eventListingImage {
	    margin-bottom: 10px;
	    }


    /* BLOG */

	img.blogViewImage {
		width: 100%;
		margin: 0px 0px 10px 0px;
		}

    /* AMBASSADORS */

	.ambassador_social {
		margin-left:0px !important;
		}

	#ambassadorFooter h3 {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 14px;
		}

	#ambassadorFooter {
		padding:    35px 0;
		}
}

/*  SMALL (S) Grid: 480px - 767px
    ---------------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
}

@media only screen and (max-width: 600px) {
	.banner_text h2 {
		font-size: 35px;
	}
}

/*  EXTRA-SMALL (XS) Grid: < 479px
    ---------------- */
@media only screen and (max-width: 479px) {

    /* Gallery */
    /* Thumbs */
    #content .gallery_thumbs li, #content .gallery_thumbs li.gallery_last, #content .gallery_thumbs li.gallery_tab_last {
        margin-bottom: 10px;
    }
    .gallery_thumbs .gallery_caption {
        padding: 10px 0 0px;
    }
    .gallery_thumbs .gallery_caption h2 {
        margin-bottom: 5px;
    }
    .featureTitle {
		top: 39px;
		left: 22px;
	}

}

@media only screen and (max-width: 450px) {
	.banner_text h2 {
		font-size: 24px;
	}
}
