/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.

----------------------------------------------------------- */

/* FROM DAVID ALLEN II, Fix for Accordions */
.jp-accordion-item{
    margin-bottom: 0.4rem !important;
}

#s5_component_wrap_inner .jp-accordion-item .ui-accordion-header{
    margin-bottom:0px !important;
}
/* End of fix for accordions */

body {
color:#5d524b;
}

/* Style the marquee text */
.marquee {
  font-size: 1.8em;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  padding: 14px;
  line-height: 120%;
}
.marquee > a {
  text-decoration: none;
}
#s5_logo{
    max-width : 70% !important;
}

#s5_above_columns_1 .module_round_box {
    border: none !important;
    padding: 0 !important;
}
#s5_above_columns_1 .module_round_box_outer {
    margin: 0 !important;
}

/* RSForm styles */
.formResponsive input[type="radio"],
.formResponsive input[type="checkbox"] {
	min-height: 22px;
}
.rsform-block .formBody input {
	box-shadow: none;
}
.formResponsive .formHorizontal .rsform-block {
    margin-bottom: 5px;
}
.formResponsive .formHorizontal .formControlLabel {
    padding-top: 2px;
}

/* Display author name for Rec Report Newsletter */
.article-info {
font-size: 1.07em;
}

.article-info dd.category-name{
font-size: 1.25em;
}

.article-info span {
display: inline;
}

.s5_wrap {
width: 100% !important;
margin: 3px auto 0px !important;
}

#s5_menu_wrap {
margin: 0 -10%;
margin-top:15px;
width:120%;
text-align:center;
}

#s5_nav li {
background: #66452F !important;
margin-right:2px !important;
margin-left:1px;
display:inline-block;
float:none;
}

#s5_nav li .s5_level1_span1 {
background: none;
display: block;
padding-left: 10px;
padding-right: 10px;
padding-top:0px;
padding-bottom:0px;
font-size:100% !important;
}


#s5_nav li.mainParentBtn .s5_level1_span2 a {
padding-right:15px;
}

#subMenusContainer div ul {
background:#A06D4A !important;
}

#s5_top_menu_wrap li {
float:right;
margin-right:5px;
}

#s5_top_menu_wrap li a {
color: #66452f !important;
font-size: 14px;
float:right !important;
margin-left:16px;
}

#top_right_wrap {
float:right;
}

.s5_mod_h3_outer {
background:#66452F !important;
}

#s5_accordion_menu h3 {
background:#66452F !important;
border-top:solid 1px #808080 !important;
}

.s5_va_inactive {
background:#66452F !important;
background:url(../images/s5_open.png) no-repeat right center !important;
border-top:solid 1px #808080 !important;
}

#s5_accordion_menu h3:hover {

background: #66452F !important;

}

#s5_center_area1 {
padding-top:10px;
padding-bottom:10;
}

#s5_columns_wrap {
-webkit-box-shadow: 0px 0px 5px 0px rgba(102,102,102,1);
-moz-box-shadow: 0px 0px 5px 0px rgba(102,102,102,1);
box-shadow: 0px 0px 5px 0px rgba(102,102,102,1);
}

#s5_component_wrap_inner h2 {
font-size:2.2em !important;
color:#66452F;
}

#s5_component_wrap_inner h3 {
font-size:1.7em !important;
color:#007DAA;
margin-bottom:15px !important;
padding-bottom:0px;
}

p {
padding: 0px;
margin-bottom:15px;
}

h2 a{
color:#007Daa;
}

h2{
font-size:1.6em;
text-transform:none !important;
margin-bottom: 15px;
color:#66452F;
}

h2 a:link, h2 a:visited{
color:#007Daa;
}


h6 {
color: #ffffff; 
font-size: 250%; 
line-height:120%;
text-transform:uppercase;
text-shadow: 2px 2px #000000;
}

h6 a {
color: #ffffff; 
}

.ui-widget-content a {
color:#007DAA !important;
}

.ui-state-active {
color:#A06D4A !important;
border: 1px solid #D8B49C !important;
}

.ui-state-active a, .ui-state-active a:link
color:#A06DAA !important!;
}


h4 {
font-size:1.3em !important;
margin-bottom: 5px !important;
color:#66452F !important;
}

ul {
margin-bottom:15px;
}

ul li {
padding-bottom:5px;
}

ol {
margin-top: 0px;
margin-bottom: 15px;
}

.ui-accordion .ui-accordion-content {
padding: 0em 2.2em 1em 2.2em !important;
}

#s5_loginreg ul {
list-style: none;
margin: -9px 0px 0px 0px;
color: #ffffff; 
background: #007DAA;
padding: 8px 10px 3px 10px; 
font-weight:bold;
}

#s5_header_area1 {
padding-top: 15px;
padding-bottom:15px;
}

#s5_sub_menu_wrap {
padding-top:13px;
padding-bottom:4px;
}

.grid-block h6 > a:hover {
	text-decoration: none;
}

/* Main Calendar */

.main_cal {
    margin: 20px 10px;
    padding: 0;
    border: none;
    width: 937px;
}

.main_cal caption {
    height: 25px;
    background: url('images/bar-texture.png') 0 0 repeat-x;
    padding: 6px 10px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
    border-top: 1px solid #525252;
    color: #fff;
}

.main_cal thead, .main_cal tbody, .main_cal tfoot {
    border: none;
    padding: 0;
    margin: 0;
}

.main_cal thead th {
    background: url('images/bg-calendar-monthly-dayoftheweek.png') repeat-x top right;
    padding: .7em 0;
    text-align: center;
    font-family: league-gothic,sans-serif;
    font-weight: normal;
    font-size: 1.6em;
    text-transform: uppercase;
    color: #2d2d2d;
    text-shadow: 0 1px 1px #fff;
    border-bottom: 1px solid #e4e4e4;
}

.main_cal tbody tr {
    border-bottom: 1px dashed #dadada;
    background: url('images/bg-calendar-day.png') 0 0 repeat;
}

.main_cal tbody tr:last-child {
    border-bottom: 1px solid #E4E4E4;
}

.main_cal tbody td {
    padding: 2px 2px 5px 15px;
    vertical-align: top;
}

.main_cal tbody td:nth-child(2n+1) {
    background: url(images/white-30.png) repeat;
}

.main_cal tbody td.today {
    -webkit-box-shadow: 0 6px 11px -3px rgba(0,0,0,0.33) inset;
            box-shadow: 0 6px 11px -3px rgba(0,0,0,0.33) inset;
    background: url(images/bg-calendar-today.png) repeat;
}

.main_cal tbody td.non-current {
    background-color: rgba(233,233,233,.33);
}

.main_cal tfoot th {
    border-bottom: none;
    background: url('images/bg-calendar-bottom.png') top center no-repeat;
    padding: 0;
    height: 74px;
}

.main_cal .no_events_found {
    padding: 100px 0;
    color: #333;
    text-shadow: 1px 1px 1px #fff;
    -moz-text-shadow: 1px 1px 1px #fff;
    -webkit-text-shadow: 1px 1px 1px #fff;
    -ms-text-shadow: 1px 1px 1px #fff;
    -o-text-shadow: 1px 1px 1px #fff;
}

.main_cal_showing {
    color: #fff;
}

.main_cal_showing span {
    font-size: 11px;
    font-weight: bold;
}

.main_cal_date {
    font-family: league-gothic, sans-serif;
    font-size: 24px;
    color: #2d2d2d;
    text-shadow: 1px 0 #fff;
    width: 100%;
    text-align: right;
}

.main_cal td ul {
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: #666;
    text-shadow: 1px 0 #fff;
}

.main_cal td ul li {
    margin: 0;
    padding: 0 0 15px 0;
    list-style-type: none;
}

.main_cal td li a {
    font-size: 12px;
    font-weight: bold;
    color: #cf8e16;
    text-decoration: none;
}

.main_cal td.today li a {
    color: #9B6708;
    text-shadow: 1px 0 rgba(255,255,255,0.75);
}

.main_cal .cal-day-link {
    color: #666;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .85em;
}

.main_cal td.today .cal-day-link {
    box-shadow: 0px 1px 0px rgba(255,255,255,0.5);
}

.main_cal td.today .cal-day-link:hover {
    box-shadow: 0px 1px 1px rgba(0,0,0,0.15);
}

.main_cal td.today .cal-day-link:active {
    box-shadow: 0px 1px 0px #fff, inset 0px 1px 5px rgba(0,0,0,0.15);
}

.main_cal .cal-day-link:hover,
.main_cal .cal-day-link:active {
    color: #333;
}

.main_cal td ul li a:hover {
    color: #C00;
}

.main_cal td em {
    color: #aaa;
    font-size: .85em;
}

/* Daily view */

.main_cal.daily thead th {
    background: url('images/bg-calendar-daily-dayoftheweek.png') repeat-x top right;
}

.main_cal.daily .hour_label {
    background: #f0f0f0;
    text-align: center;
    width: 8.5%;
    padding: 0;
    vertical-align: top;
    font-family: league-gothic, sans-serif;
    text-transform: uppercase;
    text-align: right;
    text-shadow: 0 1px 0 #fff;
    border-bottom: 1px dashed #ccc;
    background: url(images/bg-calendar-daily-hours.png);
}

.main_cal.daily .hour_label time {
    display: block;
    padding: .1em .3em .4em .3em;
    font-size: 2.2em;
    font-weight: normal;
    color: #333;
}

.main_cal.daily .hour_label .meridian {
    display: block;
    color: #888;
    font-size: .6em;
    line-height: .5em;
}

.main_cal.daily .hour_event_block {
    width: 90%;
    padding: 0;
}

.main_cal.daily .hour_event_block .half_hour {
    min-height: 2.5em;
    width: 100%;
}

.main_cal.daily .hour_event_block .first.half_hour {
    border-bottom: 1px dashed #ccc;
}

.main_cal.daily .event {
    overflow: hidden;
    margin: .5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.75) inset;
    background: rgba(202,202,202,0.5);
    background: -moz-linear-gradient(top,  rgba(219,219,219,0.5) 0%, rgba(191,191,191,0.5) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(219,219,219,0.5)), color-stop(100%,rgba(191,191,191,0.5)));
    background: -webkit-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(191,191,191,0.5) 100%);
    background: -o-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(191,191,191,0.5) 100%);
    background: -ms-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(191,191,191,0.5) 100%);
    background: linear-gradient(to bottom,  rgba(219,219,219,0.5) 0%,rgba(191,191,191,0.5) 100%);
}

.ie8 .main_cal.daily .event {
    background: #dbdbdb;
}

.main_cal.daily .event:hover {
    background: rgba(217,217,217,0.5);
}

.ie8 .main_cal.daily .event:hover {
    background: #ebebeb;
}

.main_cal.daily .event a {
    color: #cf8e16;
    font-weight: bold;
    text-decoration: none;
}

.main_cal.daily .event a:hover {
    color: #c00;
}

.main_cal.daily .event .col {
    display: inline;
    float: left;
    height: 2.8em;
    padding: .5em 1%;
    border-left: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(0,0,0,0.1);
}

.main_cal.daily .event .time {
    width: 18%;
    border-left: 0;
    background: rgba(217,217,217,0.5);
    background: -moz-linear-gradient(top,  rgba(219,219,219,0.5) 0%, rgba(204,204,204,0.5) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(219,219,219,0.5)), color-stop(100%,rgba(204,204,204,0.5)));
    background: -webkit-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(204,204,204,0.5) 100%);
    background: -o-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(204,204,204,0.5) 100%);
    background: -ms-linear-gradient(top,  rgba(219,219,219,0.5) 0%,rgba(204,204,204,0.5) 100%);
    background: linear-gradient(to bottom,  rgba(219,219,219,0.5) 0%,rgba(204,204,204,0.5) 100%);
}

.main_cal.daily .event .time time {
    display: inline-block;
    min-height: 25px;
    margin-top: .5em;
    padding: .2em 0 0 30px;
    font-size: 1em;
    letter-spacing: -1px;
    background: url(images/icon-clock-daily.png) no-repeat;
}

.main_cal.daily .event .time time span {
    font-size: 1.15em;
}

.main_cal.daily .event .content {
    width: 58%;
    white-space: nowrap;
}

.main_cal.daily .event .content h2 {
    margin: 0;
    line-height: 1.5em;
    font-size: 1.1em;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    text-transform: none;
}

.main_cal.daily .event .content h2.no-excerpt {
    line-height: 2.5em;
}

.main_cal.daily .event .content .excerpt {
    display: block;
    max-width: 840px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-style: italic;
}

.main_cal.daily .event .location {
    width: 17.5%;
    border-right: 0;
}

.main_cal.daily .event .location .icon {
    display: inline-block;
    float: left;
    min-height: 25px;
    margin: .5em 5px 0 0;
    width: 25px;
    background: url(images/icon-location-daily.png) no-repeat;
}

.main_cal.daily .event .location a {
    display: inline-block;
    margin-top: .3em;
}

.main_cal.daily .event .location a.no-area {
    line-height: 2.2em;
}

.main_cal.daily .event .location .area {
    font-size: .85em;
}

.main_cal.daily .event .location .area.no-facility {
    display: inline-block;
    margin-top: .3em;
    line-height: 2.2em;
    font-size: 1em;
}

/* Next / Previous buttons */

.main_cal_prev {
    float: left;
    margin-left: 15px;
}

.main_cal_prev,
.main_cal_next {
    top: -7px;
    font-size: 1em;
    font-family: futura-pt, sans-serif;
    text-transform: uppercase;
    color: #369;
    text-decoration: none;
}

.main_cal_prev .arrow_small_left,
.main_cal_next .arrow_small_right {
    display: inline-block;
    position: relative;
    top: -1px;
}

.main_cal_prev .arrow_small_left {
    margin-right: 10px;
}

.main_cal_next .arrow_small_right {
    margin-left: 10px;
}

#s5_top_row1_area1 { padding:0; }

#s5_top_row1_area1 .module_round_box_outer { margin:0;}

#s5_top_row1_area1 .module_round_box-transparent_dark { padding:0;}

.button2 {
background-color: #507dab; 
padding: 8px; 
color: #ffffff; 
margin-top: 60px;
font-size:16px;
line-height:150%;
}

.button2 a {
color:#ffffff !important;
text-decoration:none !important;
}

.brown_box {
padding:15px;
border:1px solid #cccccc;
}

#phocagallery.pg-categories-view table tr td .small,
 
#phocagallery.pg-categories-view #phocagallery-categories-detail .pg-cats-name.small .small{
 
    display:none;
 
}

#phocagallery .detail {
  display:none;
}

#top_right_wrap .moduletable { clear:right;}
#top_right_wrap .search label { display:none;}
.topmenu li { background-color: #007daa; margin-bottom: 10px; margin-right: 5px; margin-left:5px; display:inline-block; padding-bottom:0;}
#s5_top_menu_wrap .topmenu li a { padding:7px 9px; color: #ffffff !important; font-size: 13px; font-weight: bold; margin-left:0; margin-right:0;}

#s5_top_menu_wrap .topmenu li a:hover { text-decoration:none;}

.grid-block { position:relative;}

.middle-text { position:absolute; top:50%; width:100%; text-align:center; line-height:40px; margin-top:-35px;}
.middle-text2 { position:absolute; top:50%; width:100%; text-align:center; line-height:40px; margin-top:-20px; height:180px;}
.middle-text3 { position:absolute; top:50%; width:100%; text-align:center; line-height:40px; margin-top:-50px; height:180px;}

div.tooltip {
float: left;
background: none;
border: none;
padding: 5px;
max-width: 325px;
z-index: 13000;

} 

.tooltip.top .tooltip-arrow {
	bottom: 0;
left: 50%;
margin-left: -5px;
border-width: 5px 5px 0;
border-top-color: #fff;
-webkit-box-shadow: #666 0px 0px 5px;
-moz-box-shadow: #666 0px 0px 5px;
box-shadow: #666 0px 0px 5px;
display:none;
}

.tooltip-inner {
max-width: 325px;
padding: 3px 8px;
color: #66452f;
text-align: left;
text-decoration: none;
background-color: #fff;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
font-size:12px;
-webkit-box-shadow: #666 0px 0px 5px;
-moz-box-shadow: #666 0px 0px 5px;
box-shadow: #666 0px 0px 5px;
}

.events-title { font-size:28px; color:#007daa;font-family: "Abel"; line-height:1.2; padding:10px 0 0 0; }

.events-date { font-size:16px; color:#66452f;font-family: "Abel"; line-height:1.2; padding:10px 0; font-weight:400;}

hr#dp-popup-window-divider { display:none;}

.tooltip.in { opacity: 1;
filter: alpha(opacity=100);}

.gkGridGK5Wrap {z-index:1 !important;}

@media screen and (max-width: 970px) {
	#top_right_wrap .moduletable { clear:none;}
	#top_right_wrap { float: none; }

	.hidden-mobile { display:none;}
	#s5_top_menu_wrap  .moduletable .nav a { padding-top: 7px; padding-bottom:7px;}
	
	.second-nav { text-align:left; float:left;}
	.middle-text, .middle-text2 { font-size:150%;}

}

@media screen and (max-width: 750px){
	#s5_responsive_mobile_drop_down_search .s5_responsive_mobile_drop_down_inner {
	padding: 12px;
	overflow: hidden;
	}
	.middle-text, .middle-text2 { font-size:150%;}

}

@media screen and (max-width: 579px) {
	#top_right_wrap { width:100%;}
	#top_right_wrap .moduletable { float:left; display:block; width:100%; text-align:center;}
	
	#s5_top_menu_wrap li { float:none; display:inline-block;}
	
	#s5_top_menu_wrap li a { margin-left:8px; margin-right:8px;}
	.second-nav { text-align:center; float:none;}
	.middle-text { position:absolute; top:50%; width:100%; text-align:center; line-height:120%; margin-top:-18px;}
	.middle-text2 { position:absolute; top:50%; width:100%; text-align:center; line-height:120%; margin-top:-10px;height:60px;}

	.middle-text, .middle-text2 { font-size:150%;}
	
	

	}
@media screen and (max-width: 1366px) {
	#s5_menu_wrap {
		margin: 0;
		margin-top: 15px;
		width:100%;
	}
}

#s5_footer_menu_wrap {
    margin-top: -20px;
}

.social-media-container {
    text-align: right;
}
.social-media {
    margin-right: 10px;
}

.footer-copyright {
    text-align: center;
    margin-top: 5px;
}

#s5_footer_module {
    margin-right: 0;
}

.gkGridElement > .custom > .grid-block img {
    width: 100%;
}

.item-image {
	float: none;
}

.item-image > img{
	width: 100%;
	margin: 0 0 28px 0;
}


