/*
Theme Name: Solidarity Center
Author: Omnistudio
Author URI: http://omnistudio.com
Description: Theme for Solidarity Center website
Version: 0.1
Text Domain: omni_sco
*/

/* Alignment */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 17px;
	width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
	margin-bottom: 17px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption {
	color: #767676;
}

.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin: 9px 0;
}

div.wp-caption .wp-caption-text {
	padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
	padding-right: 0;
}

.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Assistive text */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	text-transform: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* BBD photostory */
.single-photostory #wrapper {
	display: block !important;
	overflow: initial;
	background-image: none;
	height: auto;
}

.single-photostory .w1 {
	display: block !important;
	overflow: initial;
}

.single-photostory header#header {
	display: none !important;
}

.single-photostory section#main {
	 padding-bottom: 10px;
}

.single-photostory .container {
	max-width: 100%;
}

.single-photostory .content {
	max-width: 100%;
	padding: 0;
	float: none;
}

.single-photostory #cover-image {
    background: #565656;
    width: 100%;
    height: 60vw;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.single-photostory .post-title-date {
	text-align: center;
	color: #fff;
	font-weight: bolder;
	height: 60vw;
	background: rgba(0,0,0,0.4);
}

.single-photostory .post-title-date > span {
	position: relative;
	top: 30vw;
	color: #fff;
	font-weight: bolder;
}

.single-photostory .post-title-date .entry-title {
	color: white;
	font-size: 200%;
}

.single-photostory article {
	max-width: 90%;
	margin: 0 auto;
	padding-top: 20px;
}


.single-photostory article .wp-caption {
	width: 100% !important;
}


.single-photostory article img {
	width: 85%;
	height: auto;
	margin: 0 auto !important;
	display: block !important;
}

.single-photostory article .wp-caption-text {
	width: 85%;
	height: auto;
	margin: 0 auto !important;
}

.single-photostory footer#footer {
	display: block;
}

.single-photostory #byline {
	text-align: center;
	font-size: small;
}


/* BBD News Page */

#news .custom-pagination {
    text-align: center;
}

#news .custom-pagination span.page-num {
    display: block;
    padding-bottom: 5px;
}

#news .custom-pagination a {
    color: #1a63ad;
    padding: 2px 4px;
    text-decoration: none;
}

#news .thumbnail-holder{
	float: left; 
	padding-right: 20px;
}

#news .loop {
	 clear:both; 
	 min-height: 300px; 
	 display: block;
	 border-bottom: 1px solid rgba(128, 128, 128, 0.3);
	 padding-top: 20px;
}

.morenews {
	clear: both;
	float: right;
	font-size: 18px;
}

/* BBD 20th Anniversary */

#header .logo {
  /*background: url(images/sc20_logo_450.png) no-repeat !important;*/
  background-size: contain !important;
  width: 450px !important;
  height: 134px !important;
}

@media (max-width: 680px) { 
	#header .logo {width: 129px !important;}
}

.template20 div.gallery-section { background-color: #27b7dc; background-image: url(https://www.solidaritycenter.org/wp-content/uploads/2017/08/header.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; min-height: 380px;}
.template20 div.gallery-section div.visual-container {visibility: hidden;}
.template20 div.widget {display: none;}
.template20 div#sco_category_description-3 {display: block;}
.template20 div.decorated-line:before {border: none; content: none;}
.template20 div.widget h2.widget-title {display: none;}

.page-id-11407 div.visual-container div.cell:nth-child(even), .page-id-11407 .sidebar, .page-id-11407 #nav {display: none;}
.page-id-11407 .gallery-section .container {max-width: initial}
.page-id-11407 .visual-container > .cell:first-child {padding: 0}
.page-id-11407  div.twocolumns-white {padding: 10px 50px; max-width: 100%;}
@media (max-width: 680px) {
 .page-id-11407  div.twocolumns-white {padding: 10px 0;}
}
.page-id-11407  div.twocolumns-white .content {max-width: 100%; min-width: -webkit-fill-available; min-width: -moz-available; width: intrinsic;}
.page-id-11407 article > ul > li {
	height: 115px;
    width: 115px;
	background-repeat: no-repeat;
	/*color: white;*/
	list-style-type: none;
	text-indent: -9999px;
	display: inline-block;

}


.page-id-11407 article > ul {list-style-type: none; margin: 0; padding-left: 1em; text-align: center;}

.page-id-11407 article > ul li ul {display: none; position: absolute; z-index: 1; max-width: 600px; min-height: 150px; padding: 20px; top: 170px; margin-left: 0; padding-left: 25px; text-indent: -1em;     list-style-position: outside;}
.page-id-11407 article > ul li:hover ul {display: block; font-size: 14pt;}
.page-id-11407 ul.odd {
    background: #b267b0;
    border: 3px outset #8f308d;}
.page-id-11407 ul.even {
    background: #529dcd;
    border: 3px outset #1376b8;}
.page-id-11407 article > ul ul li {text-align: left; text-indent: 0; padding-bottom: 10px;     list-style-position: outside; }


.page-id-11407 .cat1 {background-image: url("images/cat1.png"); background-size: contain;}
.page-id-11407 .cat1:hover {background-image: url("images/cat150.png"); background-size: contain;}

.page-id-11407 .cat2 {background-image: url("images/CAT2.png"); background-size: contain;}
.page-id-11407 .cat2:hover {background-image: url("images/CAT250.png"); background-size: contain;}

.page-id-11407 .cat3 {background-image: url("images/CAT3.png"); background-size: contain;}
.page-id-11407 .cat3:hover {background-image: url("images/CAT350.png"); background-size: contain;}

.page-id-11407 .cat4 {background-image: url("images/CAT4.png"); background-size: contain;}
.page-id-11407 .cat4:hover {background-image: url("images/CAT450.png"); background-size: contain;}

.page-id-11407 .cat5 {background-image: url("images/CAT5.png"); background-size: contain;}
.page-id-11407 .cat5:hover {background-image: url("images/CAT550.png"); background-size: contain;}

.page-id-11407 .cat6 {background-image: url("images/CAT6.png"); background-size: contain;}
.page-id-11407 .cat6:hover {background-image: url("images/CAT650.png"); background-size: contain;}

.page-id-11407 .cat7 {background-image: url("images/CAT7.png"); background-size: contain;}
.page-id-11407 .cat7:hover {background-image: url("images/CAT750.png"); background-size: contain;}

.page-id-11407 .cat8 {background-image: url("images/CAT8.png"); background-size: contain;}
.page-id-11407 .cat8:hover {background-image: url("images/CAT850.png"); background-size: contain;}

.page-id-11407 .cat9 {background-image: url("images/CAT9.png"); background-size: contain;}
.page-id-11407 .cat9:hover {background-image: url("images/CAT950.png"); background-size: contain;}

.page-id-11407 h2.entry-title, #can_fundraising_widget h2.line {text-align: center !important; color: black !important; font-size: 36px !important; line-height: 2 !important; text-transform: uppercase !important; font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; border-bottom: 0 !important;}

.page-id-11407 h2.entry-title {font-size:42px !important;}

@media (max-width: 680px) { 
		.page-id-11407 h2.entry-title {font-size:32px !important;}
	}

#can_fundraising_widget #action_info, .can_fundraising_widget #donation_recipient_wrap {display: none;}
.can_embed #can_embed_form #donation_welcome {border-top: 1px solid #D6D6D6; margin-top: 0 !important;}
















