/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/

img {
	max-width: 100%;
}

#sidebar-foursquares {
	width: 100%;
}

#sidebar-foursquares h3.widget-title {
	font-size: larger;
	padding: .5rem 1.4rem;
	background-color: rgba(0,0,0,0.5);
	color: white;
	display: inline;
	z-index: 9;
}

#sidebar-foursquares h3.widget-title a {
	color: white;
}

#sidebar-foursquares h3.widget-title, #sidebar-foursquares h3.widget-title:after, #sidebar-foursquares h3.widget-title:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#sidebar-foursquares {
	content: "";
	display: table;
	clear: both;
}

#sidebar-foursquares #sb_instagram.sbi_fixed_height {
	overflow: hidden;
}

#sidebar-foursquares .quick-flickr-item {
	text-align: center;
	overflow: hidden;
}

#sidebar-foursquares .quick-flickr-item img {
	width: 100%;
	max-width: 100%;
/* fancy stuff */
	object-fit: none;
/* Do not scale the image */
	object-position: center;
/* Center the image within the element */
	max-height: 250px;
	max-width: 250px;
}

#sidebar-foursquares * {
	position: relative;
}

#sidebar-foursquares .widget {
	max-width: 100%;
	width: 300px;
	margin-left: 10px;
	margin-right: 10px;
	height: 300px;
	padding: 0 20px 20px;
	float: left;
	border: 5px #38275b solid;
	background-color: #38275b;
	text-align: center;
	vertical-align: middle;
}

#sidebar-foursquares .widget img {
	padding: 0;
	border: none;
}

#sidebar-foursquares, #sidebar-foursquares:after, #sidebar-foursquares:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#sidebar-foursquares .widget, #sidebar-foursquares .widget:after, #sidebar-foursquares .widget:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#sidebar-foursquares .widget {
	padding-right: 20px;
}

#sidebar-foursquares .widget:last-of-type {
/*	padding-right: 0;*/
}

.ytctitle {
	margin-bottom: 0;
}

.ytctitle a {
	color: #38275b;
	font-size: smaller;
}

.ytc-row {
	margin-bottom: 5px;
}

.ytcthumb-cont {
	border: 1px solid #BFCCD9;
	padding: 2px;
}

div.youtubechannelgallery {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

div.ytcplayer-fixwidthwrapper {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.ytcplayer-wrapper {
	border: 2px solid #BFCCD9;
	padding: 2px;
}

/* gravity form newsletter sign-up stripe*/

.stripe #gform_fields_3 {
	position: relative;
	padding: 12px;
	margin-bottom: 6px;
	z-index:20;
	font-family:'Open Sans', sans-serif;
}

/*.stripe #gform_fields_3::before {
	content: '';
	position: absolute;
	top: 0;
	right: -20%;
	height: 100%;
	width: 90%;
	background: #33006F;
	-webkit-transform: skew(-15deg, 0deg);
	-moz-transform: skew(-15deg, 0deg);
	-ms-transform: skew(-15deg, 0deg);
	-o-transform: skew(-15deg, 0deg);
	transform: skew(-15deg, 0deg);
	z-index: -3;
}
*/

.stripe #gform_fields_3::after {
	content: '';
	position: absolute;
	top: 0;
	left: -15px;
	height: 100%;
	width: 107%/*60%*/;
	background: #33006F;
	z-index: -2;
}

.stripe div.ginput_container {
	margin-top: 0px;
}

.stripe .ginput_container_checkbox label {
	color: #D8D9DA !important;
	padding: 0 10px !important;
}

.stripe .gform_wrapper .top_label .gfield_label {
	display: none;
}

.stripe ::-webkit-input-placeholder {
	color: #33006F; 
	font-weight: 400;
	font-family:'Open Sans', sans-serif;
	background: repeating-linear-gradient(
	105deg,
	#bbb,
	#bbb .5px,
	transparent 3px,
	transparent 7px
  );
}

.stripe :-moz-placeholder { /* Firefox 18- */
	color: #33006F; 
	font-weight: 400;
	font-family:'Open Sans', sans-serif;
	background: repeating-linear-gradient(
	105deg,
    #bbb,
    #bbb .5px,
    transparent 3px,
    transparent 7px
  ); 
}

.stripe ::-moz-placeholder {  /* Firefox 19+ */
	color: #33006F; 
	font-weight: 400;
	font-family:'Open Sans', sans-serif;
	background: repeating-linear-gradient(
    105deg,
    #bbb,
    #bbb .5px,
    transparent 3px,
    transparent 7px
  );
}

.stripe :-ms-input-placeholder {  
	color: #33006F; 
	font-weight: 400;
	font-family:'Open Sans', sans-serif;
	background: repeating-linear-gradient(
    105deg,
    #bbb,
    #bbb .5px,
    transparent 3px,
    transparent 7px
  );  
}

.stripe label[for="input_3_1_3"] {
	display: none !important;
}

.stripe label[for="input_3_1_6"] {
	display: none !important;
}

.stripe .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
	font-weight: 600;
	font-size: 1.5em !important;
	font-family: 'Open Sans', sans-serif !important;
    padding: 0 8px !important;
    color: #33006F;
    background-color: #D8D9DA;
    border: none;
}

.stripe .gform_wrapper .gfield_description {
	font-family: inherit !important;
}

.stripe .gform_wrapper form label {
	font-family: inherit;
}

.stripe #gform_3 {
    position: relative;
}

.stripe .gform_footer.top_label {
	position: absolute;
    bottom: 10px;
    z-index: 80;
    left: 70%;
}

.stripe #gform_submit_button_3 {
	border-radius: 0px !important;
	font-family:'Open Sans', sans-serif;
	font-weight:600;
	text-transform: uppercase;
}

@media only screen and (min-width:768px) {
	.stripe .gform_wrapper input.button,er .gform_page_footer input[type="submit"] {
    	width: 30% !important;
    }
}

@media only screen and (max-width:768px) {
	.stripe .gform_footer.top_label {
		top: 105% !important;;
		left:0 !important;
		padding-right: 10px !important;;
	}
}


/* Olympia Post Facebook Center */

.singular-post-15689 .fb-page.fb_iframe_widget {
    align-content: center;
    text-align: center;
    margin-left: calc(45% - 220px);
}


/* Purple Boxes Font Tweak */
#sidebar-header .widget-image_feed_widget .widget-title {
font-family: 'Open Sans', 'Lato', sans-serif;
text-transform: uppercase;
font-weight: 500;
font-size: 18px;
}


/*equip page centering*/

.com_aligncenter {
    text-align: center;
    width: 100%;
}

.com_aligncenter div {
    min-height: 500px;
    display: inline-block;
    float: none;
    text-align: left;
    padding: 0;
    margin: auto calc(7% - 30px);
}

/* updated fonts*/

.hentry .entry-title {
    font-size: 1.4em;
    line-height: 1.1em;
    word-spacing: 0;
    font-weight: 800;
}


body {
    font: 0.85em/1.4em 'Open Sans', 'Lato', sans-serif;
}


.author, .published, .category, .edit {
    font-family: 'Open Sans', 'Lato', sans-serif;
    font-weight: 800;
    font-size: 1.05em;
}

/* stacking order fix for homepage featured widgets */

#sidebar-header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    flex: 1 1 400px;
    width: 100%;
}

.widget-image_feed_widget {
    display: flex !important;
    flex-flow: row wrap;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: 6px !important;
    margin-right: 0px !important;
}

#sidebar-header .widget-image_feed_widget .widget-title {
    text-align: center;
}

#sidebar-primary {
    justify-content: space-between;
    display: flex;
    flex-flow: row wrap;
}

#sidebar-primary .widget-widget_text {
    display: flex;
    flex-flow: row-wrap;
    order: 0;
    flex: 0 1 auto;
    justify-content: center;
}

#sidebar-subsidiary {
    display: flex;
    flex-flow: row wrap;
}

.ksdiv {
    width: 100%;
    background:inherit;
}

#sidebar-primary .widget-wrap.widget-inside {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#sidebar-primary .widget-title {
    width: 100%;
}

#sidebar-primary .simcal-events-list-container {
    margin: 10px;
}

#sidebar-primary-internshipswidget {
    height: 395px;
    min-height: unset !important;
    background-size: 100%;
    background-color: #c8c0d5;
    background-repeat: no-repeat;
    min-width: 225px;
}

#sidebar-primary .widget-widget_text#text-45 iframe {
    width:100% !important;
}

/*big only*/
@media only screen and (min-width: 960px) {
	#sidebar-primary .widget-widget_text#text-101 {justify-content: flex-end;}
}
/*medium only*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.widget-image_feed_widget {flex: 0 0 48.5%;margin: 5px !important;}
	#sidebar-primary .widget-widget_text#text-45 iframe {height: 268px !important;}
	#sidebar-header {padding-top: 24px;}
	#featured-block {width: 105%;}
	#sidebar-primary .widget-widget_text {flex: 0 1 225px;}
	#sidebar-primary .widget:nth-of-type(6n+4), #sidebar-primary .widget:nth-of-type(6n+5), #sidebar-primary .widget:nth-of-type(6n+6) {background: #eee;display: flex; flex: 1 0 30%; border-top: 15px solid #eee; border-bottom: 15px solid #eee;}
}
/*medium and smaller*/
@media only screen and (max-width: 959px) {
	#sidebar-primary .widget-widget_text#text-46 {order: -1;}
	#sidebar-primary .widget-widget_text#text-101 {order:3;}
	.widget_gce_widget {display: flex; flex: 1 0 100px; margin:0;}
	#sidebar-primary {width: 100% !important; background-repeat: no-repeat;}
}

/*small*/
@media only screen and (max-width: 767px) {
	.widget-image_feed_widget {margin-right: 5px !important; flex: 1 0 auto;}
	#sidebar-subsidiary .widget {display: flex; flex: 1 0 50%; flex-flow: row wrap; margin-right: 0;}
	#sidebar-primary .widget:nth-of-type(2n) {background: #eee; border-top: 15px solid #eee;border-bottom: 15px solid #eee;}
	#sidebar-primary {
background-size: 100%;}
}

/*internship table*/
#internship-table td:nth-of-type(2n+1) {
    background: #eee;
}
#internship-table tr {
    background: inherit;
}

.entry-content li{
	line-height:inherit;
}

/* what follows is all to fix resizing in the homepage slider*/

@media (max-width:959px) and (min-width:768px){
 body.home .lens-tool-kit {
    width: 690px !important;
    padding-top:20px;
 }
}

@media (max-width:767px) and (min-width:320px){
 body.home .lens-tool-kit.sd2-arrowstyle-1 a.deck-navigation.horizontal.next span, body.home .lens-tool-kit.sd2-arrowstyle-1 a.deck-navigation.horizontal.prev span {
    transform:scale(.7);
    left: -8px;
    padding-left: 7px;
    top: -8px;
 }
}
@media (max-width:360px) and (min-width:320px){
 body.home .lens-tool-kit.sd2-arrowstyle-1 a.deck-navigation.horizontal.next span, body.home .lens-tool-kit.sd2-arrowstyle-1 a.deck-navigation.horizontal.prev span {
    transform: scale(.55) !important;
 }
}

@media only screen and (max-width: 359px) {
 .home .default-nav-styles.sd2-medium a.deck-navigation.horizontal span {
    transform: scale(.4) !important;
    top: -10px;
    left: -10px;
    padding-left: 20px;
 }
}

@media only screen and (max-width: 767px) {
 .home #content{
    padding-left: 0;
 }
 .home dd.has-image.slide_1 {
    height: 370px !important;
 }
 .home dl {
    height: 372px !important;
 }
 .home .slidedeck-custom-css-wrapper-6550 .slidedeck .sd2-image-scaling-contain.slide-type-image .sd2-slide-background {
    top: 75px !important;
 }
 .home .default-nav-styles.sd2-medium a.deck-navigation.horizontal, .default-nav-styles.sd2-medium a.deck-navigation.vertical {
    width: 20px !important;
    height: 20px !important;
 }
 .home .default-nav-styles a.deck-navigation.horizontal.next, .home .default-nav-styles.sd2-large a.deck-navigation.horizontal.next, .home .default-nav-styles.sd2-medium a.deck-navigation.horizontal.next, .home .default-nav-styles.sd2-small a.deck-navigation.horizontal.next {
    right: 5px;
 }
 .home .default-nav-styles a.deck-navigation.horizontal.prev, .home .default-nav-styles.sd2-large a.deck-navigation.horizontal.prev, .home .default-nav-styles.sd2-medium a.deck-navigation.horizontal.prev, .home .default-nav-styles.sd2-small a.deck-navigation.horizontal.prev {
    left: 5px;
 }
 body.home .slidedeck-frame {
    height: auto !important;
 }
 #header .rightbox {
   margin-right:calc(50% - 25px);
   margin-top:2px;
 }
 #header #site-title{
   padding-left:0px;
    padding-top:5px;
  }
}

@media only screen and (max-width: 319px){
.home .lens-tool-kit.sd2-title-pos-bottom .sd-node-title-box {
    max-height: 223px;
 }
}
/*end homepage slider fixes*/