/*
Theme Name: Saint Ann's
Theme URI: 
Description: A theme made specifically for Saint Ann's
Author: JPD Studio
Author URI: http://jpdstudio.com
Version: 1.0
*/

html, body { margin: 0; padding: 0; }
strong { font-weight: bold; }
em { font-style: italic; }

.clearf { clear: both; }

img.alignleft, div.alignleft
{
float: left;
margin: 0 20px 0 0;
}
img.alignright, div.alignright
{
float: right;
margin: 0 0 10px 10px;
}
img.aligncenter, div.aligncenter
{
text-align:center;
margin:0 auto;
}





@font-face {
    font-family: 'VerlagBold';
    src: url('fonts/verlag-bold.eot');
    src: url('fonts/verlag-bold.eot') format('embedded-opentype'),
         url('fonts/verlag-bold.woff') format('woff'),
         url('fonts/verlag-bold.ttf') format('truetype'),
         url('fonts/verlag-bold.svg#VerlagBold') format('svg');
}

::-webkit-input-placeholder { color:#000; }
::-moz-placeholder { color:#000; } /* firefox 19+ */
:-ms-input-placeholder { color:#000; } /* ie */
input:-moz-placeholder { color:#000; }

body { font-family:'AdobeGaramondW01-Regula'; }

blockquote, blockquote p { color: #000; font-size: 46px; line-height: 1.2; border-left: 0; padding: 10px 0 0; }

b, strong { font-family:'Adobe Garamond W01 Bd'; font-style: normal; font-weight: normal; }
i, em { font-family:'Adobe Garamond W01 It'; font-style: normal; font-weight: normal; }
b i, i b, strong em, em strong { font-family:'AdobeGaramondW01-BdIt'; font-style: normal; font-weight: normal; }


#header, #main-navigation, #body, #footer { padding: 0 30px; } /* extra padding */

#header-top-nav { margin: 25px 0 0; font-size: 18px; }
#header-top-nav ul { line-height: 1; margin-bottom: 0; }
#header-search .search-icon { cursor: pointer; box-shadow: none; -webkit-box-shadow: none; margin-top: -3px; }
#header-search form { position: absolute; top: 30px; right: 0.9375em; background-color: #fff; display: none; width: 177px; }
#header-search input[type=text] { float: left; width: 81%; height: 23px; font-family: 'VerlagBold'; border:0; border-bottom: 1px solid #000; box-shadow: none; padding: 0; }
#header-search input[type=text]:focus { background-color: #fff; }
#header-search input[type=submit] { float: right; width: 25px; font-family: 'VerlagBold'; font-size: 12px; border: 0; background: 0; padding-top: 7px; cursor: pointer; outline: none; }
#header-search input[type=submit]:hover { color: #0096d6; }
#header .top-right { float: right; overflow: visible; }

#logo { text-align: center; margin: 63px 0 60px; }
#logo img { box-shadow: none; -webkit-box-shadow: none; }

#main-navigation { margin-bottom: 17px; padding-top: 15px; visibility: hidden; }
#main-navigation.scrolled { margin-top: -17px; }
#main-navigation ul { display: table; margin: 0 auto; }
#main-navigation ul li { display: table-cell; }
#main-navigation ul li:last-child { margin-right: 1.375em; }
#main-navigation hr { border-color: #bfbfbf; margin: 15px auto 0; padding-bottom: 0; margin-bottom: 0; max-width: 1507px; }
#main-navigation .current_page_item a, #main-navigation .current-menu-item a, .current_page_item a, .current-menu-item a, .current-cat a, 
#main-navigation .current-department-ancestor a, #main-navigation .current-page-ancestor a { color: #0096d6; }

#menu-mobile-main-menu { background: #fff; }
#menu-mobile-main-menu .sub-menu { display: none; margin-left: 10%; background: #fff; }
#menu-mobile-main-menu li { border-bottom: 1px solid #bfbfbf; }
#menu-mobile-main-menu .sub-menu li:first-child { border-top: 1px solid #bfbfbf; }
#menu-mobile-main-menu .sub-menu li:last-child { border-bottom: 0; }
#search-menu input[type=text] { width: 80%; float: left; border: 0; height: 50px; margin-left: 0; padding-left: 0; font-size: 18px; box-shadow: none; }
#search-menu input[type=submit] { float: right; border: 0; cursor: pointer; width: 25px; height: 50px; background: url(img/search-icon.png) no-repeat center; display: block; }
#search-menu input[type=text]:focus { background: #fff; }

#header.scrolled { display: none; }
/*#sidebar-nav.scrolled { position: fixed; padding-top: 80px; }*/

#sidebar-nav a { text-decoration: none!important; }
#sidebar-nav li { list-style: none; }
#sidebar-nav .sub-menu { border-top: 1px solid #bfbfbf; border-bottom: 1px solid #bfbfbf; padding: 10px 0; margin: 12px 0; font-size: 26px; width: 90%; display: none; }
#sidebar-nav .sub-menu li { line-height: 1.1; margin: 7px 0 ; }
#sidebar-nav.hide-for-small { visibility: hidden; margin-top: 5px; }
#sidebar-nav.hide-for-small .sub-menu .sub-menu { border: 0; font-size: 18px; padding: 2px 0 10px; }
#sidebar-nav.hide-for-small .sub-menu .sub-menu .sub-menu { margin-left: 18px; padding: 2px 0 0; }
/*#sidebar-nav .current_page_item .sub-menu, #sidebar-nav .current-menu-item .sub-menu, #sidebar-nav .current-menu-parent .sub-menu { display: none; }*/
/*#sidebar-nav .current_page_item .sub-menu .sub-menu, #sidebar-nav .current-menu-item .sub-menu .sub-menu, #sidebar-nav .current-menu-parent .sub-menu .sub-menu { display: none; }
#sidebar-nav .sub-menu .current_page_item .sub-menu, #sidebar-nav .sub-menu .current-menu-item .sub-menu, #sidebar-nav .sub-menu .current-menu-parent .sub-menu { display: block; }
#sidebar-nav .current_page_item .sub-menu .sub-menu .sub-menu, #sidebar-nav .current-menu-item .sub-menu .sub-menu .sub-menu, #sidebar-nav .current-menu-parent .sub-menu .sub-menu .sub-menu { display: none; }
#sidebar-nav .sub-menu .sub-menu .current_page_item .sub-menu, #sidebar-nav .sub-menu .sub-menu .current-menu-item .sub-menu, #sidebar-nav .sub-menu .sub-menu .current-menu-parent .sub-menu { display: block; }*/
/*#sidebar-nav li.current-menu-item .sub-menu { display: block!important; }*/

#sidebar-nav li.current-menu-item .sub-menu li a { color: #000; }
#sidebar-nav li.current-menu-item .sub-menu li a:hover { color: #0096d6; }
#sidebar-nav li.current-menu-parent a, #sidebar-nav li.current-menu-ancestor a { color: #0096d6; }
#sidebar-nav li.current-menu-parent .sub-menu a, #sidebar-nav li.current-menu-ancestor li:not(.current-menu-ancestor) a { color: #000; }
#sidebar-nav li.current-menu-parent .sub-menu li.current-menu-item a { color: #0096d6; }
#sidebar-nav li.current-menu-parent .sub-menu li.current-menu-item ul li:not(.current-menu-item) a { color: #000; }
#sidebar-nav .ob-arrow { display: none; width: 7px; height: auto; margin: -10px 0 0 7px; }
#sidebar-nav li:hover .ob-arrow { display: inline-block; }

#sidebar-nav-happenings { border-top: 1px solid #bfbfbf; margin-top: 10px; }
#sidebar-nav-happenings li { list-style: none; border-bottom: 1px solid #bfbfbf; padding: 10px 0; }
#sidebar-nav-happenings li a { text-decoration: none; }
#sidebar-nav-happenings li:not('.top-nav') { display: none; }


#body { padding: 0 15px; margin-top: 17px; }
#body .large-6 ul { margin-left: 30px; }
#body .large-6 .large-6 { line-height: 1.6; }
#body a { text-decoration: underline; }
#body .item-container a { text-decoration: none; }
#body .large-6 img { margin-bottom: 15px; }
#body .large-6 ul, #body .large-6 ol { margin-left: 55px; }
#body .large-6 li { list-style-image: url(img/list-line.png); }
#body .large-6 #slideshow { position: relative; }
#body .large-6 #slideshow.in-page { padding-top: 0; }
#body .large-6 #slideshow ul { margin-left: 0; }
#body .large-6 #slideshow ul li { list-style: none; }
#body .large-6 #slideshow.in-page .flex-direction-nav a { margin-top: -50px; }


.navigation { text-align: center; padding: 20px 0; }

.home-block { text-align: center; }
.home-block .panel { border: 0; }
.home-block .caption { color: #fff; }
.home-block .panel h3 { padding: 115px 0; font-size: 46px; color: #fff; }

.page-list-ext .page-list-ext-item { margin-bottom: 0!important; margin-left: 15px!important }
.page-list-ext h3 { font-size: 18px; }

.post img, .page img, .department img, .admissions img, .divisions img, .information img { -webkit-box-shadow: -5px 5px 15px 0 #c0c0c0; box-shadow: -5px 5px 15px 0 #c0c0c0; }

#infscr-loading { margin-left: 10px; position: absolute; top: -9999em; background: #fff; padding: 10px 20px; display: none!important;}
div.loading img { box-shadow: none; -webkit-box-shadow: none; }

#sidebar { max-width: 200px; float: right; visibility: hidden; margin-top: 10px; }
#sidebar .panel { text-align: center; padding-top: .75em; padding-bottom: .75em; border: 0; -webkit-box-shadow: -5px 5px 15px 0 #c0c0c0; box-shadow: -5px 5px 15px 0 #c0c0c0; }
#sidebar .panel p, #sidebar .panel h3 { color: #fff; }
#sidebar a { text-decoration: none; }
#sidebar a > .panel { display: block; transition: background-color .25s linear; }
#sidebar a:hover .panel { /*background-color: #000!important;*/ }
/*#sidebar .panel .content { display: table; height: 150px; text-align: center; overflow: hidden; padding: 0 5%; }
#sidebar .panel .content .content-inner { display: table-cell; width: 200px; vertical-align: middle; }*/
#sidebar .panel .content h3 { text-align: center; font-size: 26px; line-height: 1.3; }
#sidebar table { background: transparent; border: 0; width: 100%; margin-bottom: 0; }
#sidebar table td { display: block; padding: 20px 0; }
#sidebar .widget .ts { text-shadow: 0 0 3px #000000; }

/*** Goodreads Widget */
.widget_tribe_widget_builder_8967 .widget { background: #fffdef; -webkit-box-shadow: -5px 5px 15px 0 #c0c0c0; box-shadow: -5px 5px 15px 0 #c0c0c0; }
#gr_custom_widget_1394569698 { padding: 10px; font-size: 18px; line-height: 1.2; text-align: center; margin-top: -20px; }
#gr_custom_widget_1394569698 .top { margin-top: 10px; }
#gr_custom_widget_1394569698 .bottom { margin-bottom: 5px; }
.gr_custom_book_container_1394569698 img { width: 31px; height: auto; }
.gr_custom_each_container_1394569698 { border-bottom: 1px solid #e8e7e0; padding: 20px 0 0px!important; }
.gr_custom_header_1394569698 { display: none; }
.gr_custom_container_1394569698 center { margin-top: 0px; display: none; }
.gr_custom_author_1394569698 { font-size: 18px!important; margin-top: 20px; }

#greatfirstlines .caption span { cursor: pointer; }
/*#greatfirstlines .caption span:hover { text-decoration: underline; }*/
#greatfirstlines ul { margin-left: 0; }
#greatfirstlines ul li { list-style: none;
													-webkit-transition: all .5s ease;
															 -moz-transition: all .5s ease;
																		transition: all .5s ease;
}
#greatfirstlines ul li .gfl-content { display: none; }
#greatfirstlines ul li .gfl-text, #greatfirstlines ul li .gfl-author { line-height: 1.3; }
#greatfirstlines ul li .gfl-title { font-style: italic; }

#campaign-for-sa-hp-widget { border-top: 2px solid #fff; border-bottom: 2px solid #fff; font-size: 31px; }
#campaign-for-sa-hp-widget .top-text { display: block; padding: 20px 0 15px; border-bottom: 2px solid #fff; }
#campaign-for-sa-hp-widget .bottom-text { display: block; padding: 17px 0 15px; }

#what-makes-a-place { border-top: 1px solid #fff; border-bottom: 1px solid #fff; }
#what-makes-a-place .top-text { display: block; padding: 10px 0 7px; border-bottom: 1px solid #fff; }
#what-makes-a-place .bottom-text { display: block; padding: 9px 0 7px; }

#calp_agenda_widget-7 { margin-top: 30px; }
#calp_agenda_widget-7 img { box-shadow: none; -webkit-box-shadow: none; }
#calp_agenda_widget-7 .calp-subscribe-buttons a { border: 0; }
#calp_agenda_widget-7 .calp-subscribe-buttons a:hover { background: #fff; }
#calp_agenda_widget-7 .calp-subscribe-buttons { display: none; }
#calp_agenda_widget-7 .calp-widget-details { display: none; }

#mobile-cal-buttons { position: relative; height: 100px; padding-top: 10px; }
#mobile-cal-buttons div { float: none; position: relative; top: auto; left: auto; padding: 5px 0; }

#footer { text-align: center; line-height: 1.3; margin-top: 30px; margin-bottom: 15px; }
/*#footer .inline-list > li { margin-left: 1em; }*/
#footer .footer-owl { margin-bottom: 30px; box-shadow: none; -webkit-box-shadow: none; }
#footer .right-links .inline-list { float: right; }
#footer .copyright { padding-top: 3px; }

.pageTitle { text-align: center; font-size: 26px; margin-bottom: 50px; }
.wp-caption-text {  font-size: 11px;  }
.caption, .wp-caption-text small { font-family: 'VerlagBold'; text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.widgetTitle { display: none; }
.header1 { font-size: 25px; }
.header2 { font-size: 18px; font-family: 'Adobe Garamond W01 It'; }

.clear { clear: both; }


.button.stb { background: transparent; border: 0; text-decoration: none!important; font-size: 16px; font-weight: 100; display: block; margin: 0 auto 20px; }
.button.stb span { background: #000; padding: 13px 24px; }
.button.stb span:hover { background: #0096d6; }


img.noshadow { box-shadow: none; -webkit-box-shadow: none; }


/*** ISOTOPE ***/
#container {
	margin: auto;
	opacity: 0;
	-webkit-transition: all .5s ease;
		 -moz-transition: all .5s ease;
					transition: all .5s ease;
}

.item-container .item-content {
	margin-bottom: 18px;
	-webkit-box-shadow: 0px 5px 15px 0px #c0c0c0; box-shadow: 0px 5px 15px 0px #c0c0c0;
	position: relative;
	z-index: 999;
}

.item-container .item-content .content-inner h3 { padding: 90px 0; line-height: 1.3; }

.item-container .item-content a:hover {
	text-decoration: none!important;
}

.item-container .desc {
	text-align: center;
	line-height: 1.2;
}

.isotope-item {
  z-index: 2;
	width: 31.5%;
	max-width: 31.5%;
	margin-bottom: 45px;
	margin-left: 1%; /* center fix */
}

.two-col .isotope-item {
  z-index: 2;
	width: 46.5%;
	max-width: 46.5%;
	margin-bottom: 45px;
	margin-left: 1%; /* center fix */
}

.one-col .isotope-item {
  	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin-bottom: 45px;
	margin-left: 1%; /* center fix */
}

.isotope-item img {
	width: 100%;
	margin-bottom: 0!important;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

/*.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}*/

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}



@media only screen and (min-width: 768px) { 
	#main-navigation.scrolled { position: fixed; background-color: #fff; z-index: 1000; max-width: 100%; } 
	#body.scrolled { padding-top: 255px; }
	#banner-push.hide { display: none; }
}

@media only screen and (max-width: 767px) { 
	/*body, .top-bar .name h1, .top-bar-section ul { font-size: 35px; }*/
	
	
	html #wpadminbar { margin-top: -46px; } 
	#main-navigation, #body, #header, #footer { padding: 0; }

	#logo { margin: 40px 0; }
	
	.home-block .panel h3 { padding: 20px 0; font-size: 20px; }
	
	#container { margin-top: 30px; }
	
	.item-container .item-content .content-inner h3 { padding: 30px 0; }
	
	#sidebar { max-width: 100%; float: none; }
	#sidebar .panel .content .content-inner { width: 100%; text-align: center; }
	#sidebar table td { padding: 20px 0; }
	#sidebar .textwidget { overflow-y: hidden; }
	
	#footer { padding-bottom: 10px; }
	#footer ul { margin: 0 auto; display: table; }
	#footer ul li:first-child { margin-left: 0; }
	#footer .left-links, #footer .right-links { text-align: center; }
	#footer .right-links .inline-list { float: none; }
	#footer .left-links { padding: 20px 0; border-bottom: 1px solid #bfbfbf; border-top: 1px solid #bfbfbf; margin: 20px 5%; width: 90%; }
	
	#sidebar-nav li span.arrow { background: url(img/dd-black.png) no-repeat right 4px; display: block; float: right; width: 26px; height: 23px; }
	#sidebar-nav li.divider { border-bottom: 1px solid #bfbfbf; margin: 10px 0; }
	#sidebar-nav .sub-menu { font-size: 18px; padding: 0; width: 90%; border-bottom: 0; margin-left: 10%; }
	#sidebar-nav .sub-menu ul { margin-left: 10%; width: 90%; padding-top: 7px; }
	#sidebar-nav .sub-menu ul li { border-bottom: 1px solid #bfbfbf; padding-bottom: 10px; margin-top: 0; padding-top: 5px; background: none; }
	#sidebar-nav .sub-menu ul li:last-child { border: 0; padding-bottom: 2px; }
	#sidebar-nav .ob-arrow { display: block; float: right; width: 14px; height: 14px; margin: 5px 5px 0 0; }
	
	#sidebar-nav.show-for-small { border-top: 1px solid #bfbfbf; margin-top: 20px; }
	#sidebar-nav.show-for-small li { border-bottom: 1px solid #bfbfbf; padding: 10px 0; display: none; }
	#sidebar-nav.show-for-small .sub-menu { margin-top: 10px; margin-bottom: 5px; }
	/*#sidebar-nav.show-for-small .sub-menu li { margin-bottom: 10px; }*/
	#sidebar-nav.show-for-small .sub-menu li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
	#sidebar-nav.show-for-small .top-nav { display: block; }
	
	.subnav-expander { display: block; width: 21px; height: 15px; background: url(img/mobile-nav-arrows.png); float: right; margin-top: 5px; cursor: pointer; }
	.subnav-expander.active { background-position: 0 -15px; }
	
	#menu-mobile-main-menu .subnav-expander { margin: 15px 0 0; }

	/*#sidebar-nav li:not(.current_page_item) { display: none; }
	#sidebar-nav li.divider:first-child { display: block; }*/
	
	/*#sidebar-nav.department-nav { margin-top: -50px; padding-top: 0; }*/
	ul.happenings-nav { display: none!important; }
	
	.isotope-item {
		z-index: 2;
		width: 47.25%;
		max-width: 47.25%;
		margin-bottom: 50px;
		margin-left: 1%; /* center fix */
		overflow-y: hidden;
	}
		
}


@media only screen and (max-width: 1010px) { 
	#campaign-for-sa-hp-widget { border-top: 2px solid #fff; border-bottom: 2px solid #fff; font-size: 26px; }
}


@media only screen and (max-width: 420px) { 
	#footer { font-size: 13px; }
	
	.two-col .isotope-item, .isotope-item {
		width: 98.5%;
		max-width: 98.5%;
	}
}


@media only screen and (min-width: 767px) and (max-width: 975px) { 
	/*#footer { text-align: center }
	#footer .copyright.show-for-small { display: block; text-align: center; width: 100%; }
	#footer .copyright.hide-for-small { display: none; text-align: center; width: 100%; }
	#footer .left-links { float: none; text-align: center; width: 100%; }
	#footer .left-links ul { text-align: center; margin: 0 auto; }
	#footer .right-links { float: none; text-align: center; width: 100%; }*/
	
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('img/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('img/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('img/fancybox/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('img/fancybox/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('img/fancybox/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('img/fancybox/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}





/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
/*@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/flexslider-icon.woff') format('woff'),
		url('fonts/flexslider-icon.ttf') format('truetype'),
		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}*/

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0; }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {display: block; margin: 0 auto; -webkit-box-shadow: -5px 5px 15px 0 #c0c0c0; box-shadow: -5px 5px 15px 0 #c0c0c0; }
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0; position: relative; zoom: 1; padding: 50px 0 40px; }
.flex-viewport { max-height: 700px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }
.slider-title { text-align: center; margin-top: 20px; }
div.type-gallery .return { text-decoration: none!important; background: url(img/return-arrow.png) no-repeat left top; padding-left: 25px; display: block; margin-top: 10px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); /*-webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; */}
.flex-direction-nav .flex-prev { left: -50px; opacity: 1; display: block; background-image: url(img/slideshow_arrows.png); width: 14px; height: 26px; background-position: 0 -26px; }
.flex-direction-nav .flex-next { right: -50px; opacity: 1; text-align: right; display: block; background-image: url(img/slideshow_arrows.png); width: 14px; height: 26px; }
.flexslider:hover .flex-prev { opacity: 1; }
.flexslider:hover .flex-next { opacity: 1; }
.flexslider:hover .flex-next:hover { background-position: 0 -52px; }
.flexslider:hover .flex-prev:hover { background-position: 0 -78px; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
/*.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }*/

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 0; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 0; right: 10px;}
	.flex-direction-nav:hover .flex-prev, .flex-direction-nav:hover .flex-next { opacity: 1; }
	
	div.type-gallery { text-align: center; }
	div.type-gallery .return { margin: 10px auto 50px; display: inline-block; }
}


@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
    /* Retina-specific stuff here */
		
}