/*
 Theme Name:   Origin Child
 Theme URI:    http://shorensteincenter.org/origin/
 Description:  Origin Child Theme
 Author:       Donna Tremonte
 Author URI:   http://donnatremonte.com
 Template:     origin
 Version:      1.0.0
 Text Domain:  origin-child
*/

@import url("../origin/style.css");

/* Theme customization starts here
-------------------------------------------------------------- */
body { padding: 0 10px 0 20px !important; }
a, a:visited, #footer a:hover, .entry-title a:hover, h2.post-title {
    color: #a71930 !important;
}
.ClearFix { clear: both; padding : 10px; }
.wrap { max-width: 1040px !important; }
@-moz-document url-prefix() { 
  #menu-primary { margin-top: 0; }
}
.error {color: #a71930; padding-left: 10px;}
#menu-primary .menu ul { margin-left: -40px; }
#menu-primary .menu ul ul.sub-menu { margin-left: 0px !important;}
@media screen and (-webkit-min-device-pixel-ratio:0) {
/*chrome css here */
	div#menu-primary div.menu ul#menu-primary-items li.menu-item:last-child a { margin-left: 2.5em; }
	div#menu-primary div.menu ul#menu-primary-items li.menu-item ul.sub-menu li a { margin-left: 0; }
}
#branding { width: 35%; }
#menu-primary { width: 100%; }
#menu-primary li { min-height: 40px; margin-left: 0px; }
#menu-primary { margin-bottom: 2px; }
#sidebar-primary h3 {color: #888; font-size: 100%; text-transform: uppercase; }
#sidebar-subsidiary, #footer { padding: 5px 10px 5px 100px; width: 90%; }
/*.singular .entry-title { clear: both; }*/
input[type="text"], input[type="password"], input[type="email"], .input-text, textarea, select {width:300px; }
div.social-icons {float:right; margin-top: 20px; margin-bottom:20px;}
div.social-icons ul {padding-top:10px; margin-left: 10px;}
div.mobile-search {display:none;}
#respond #submit, .button, a.button, .wpcf7-submit, #loginform .button-primary {
    background-color: #a71930 !important;
    color:#FFF!important;
}
#respond #submit:hover, .button:hover, .wpcf7-submit:hover, #loginform .button-primary:hover {
    color:#000!important;
    background-color: #CCC !important;
}
h1.home-headings {
	background-color: #a71930;
    color: #fff;
    font-size: 220%;
    padding: 0 0 0px 20px;
}
.sticky, body.home .post-3, .sticky, body.home .post-5, .sticky, .sticky, body.home .post-7, .sticky, body.home .post-8 {border:none;}
div.social-icons ul li.subscribe {margin-top: 5px;}
a.twitter_title_link {
    font-size: 80%;
    line-height: 1em;
}
ul.really_simple_twitter_widget li {
    font-size: 90%;
    line-height: 1.4em;
    padding-bottom: 15px;
}
.really_simple_twitter_widget img {
    margin-top: 0px!important;
}
div#sidebar-subsidiary div.social-icons {float:none;}
#sidebar-subsidiary .widget {width: 40%;}
.category-d_a-upcoming-events:last-child, .category-in-the-news:last-child, .sticky {border:none;}
#sidebar-primary h3.widget-title {font-size: 1.84615em;text-transform:none;color: #333;
    font-style: normal;
    font-weight: normal;
    line-height: 1.3em;
    margin: 0 0 15px; }
section#text-4 ul.really_simple_twitter_widget li {
    list-style: outside none none!important;
}
div.social-icons ul li {
    display: inline;
    list-style: none;
    float: left;
    margin: 0;
    padding: 0;
}
a.twitter-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/twitter02_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.twitter-logo:hover {
    background:url('graphics/twitter02_active.png') center left no-repeat;
	}
a.facebook-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/facebook_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.facebook-logo:hover {
    background:url('graphics/facebook_active.png') center left no-repeat;
	}
a.youtube-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/youtube_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.youtube-logo:hover {
    background:url('graphics/youtube_active.png') center left no-repeat;
	}
a.soundcloud-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/soundcloud_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.soundcloud-logo:hover {
    background:url('graphics/soundcloud_active.png') center left no-repeat;
	}
a.itunes-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/itunes_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.itunes-logo:hover {
    background:url('graphics/itunes_active.png') center left no-repeat;
	}
a.storify-logo {
	display:block;
	margin: 0px; 
	padding: 0px;
    background:url('graphics/storify_dark.png') center left no-repeat;
    height: 40px;
    width: 40px;
	}
a.storify-logo:hover {
    background:url('graphics/storify_active.png') center left no-repeat;
	}
a.email-list img { border: none; margin: 0px; width: 400px; }
.breadcrumbs {margin: 0 0 20px;}
/* -------- right side navigation menu begins -------- */
#sidebar-pages { float: right; width: 30%; }
#SideNav li.current_page_item { font-weight: bold; }
#SideNav ul li { list-style: none; }
	/* hack for side navigation so that only children of current page parent shows */
	/*.children { display: none; }*/
li.page_item_has_children ul.children { display: none; }
li.current_page_item ul.children,
li.current_page_ancestor ul.children,
li.current_page_parent ul.children
{ display: block; font-weight: normal; }
ul.communications li.page_item_has_children ul.children {display: block}
#SideNav h1 { padding-left: 15px; font-size: 1.6em; }
section#text-4 { display: block; }
section#text-4 div.related {width:300px;}
section#text-4 ul li {list-style:none;}
section#text-4 div.related a.invert {display: block; float: right; width: 200px; font-size: 12px; line-height: 16px;}
section#text-4 div.related a img { margin: 0 0 10px; padding: 0; width: 62px; }
/** single post customizations **/
div.single-image img {float: left; margin-right: 25px; }
nav.archivepag ul { list-style-type: none; }
nav.archivepag ul li { list-style: none; display: inline-block;}
.widget .search-form { overflow: inherit;}
.site-navigation .nav-menu { display:block\9; /* IE8 and below */}


/* -- BEGIN: footer styles ------------------------------------------------------------ */
div#FooterWrapper a,
div#FooterWrapper a:link,
div#FooterWrapper a:visited,
div#FooterWrapper a:hover { color: #777; }
div#FooterWrapper p { 
	color: #777;
	line-height: 1; 
	font-size: .92em; 
	margin: 0 7px 0 7px; 
	padding: 5px 0 20px 5px;
}
ul#FooterNav { 
	float: right; 
	padding-right: 200px;
}
ul#FooterNav li { 
	border-left: 1px solid #777; 
	float: left; 
	font-size: .92em; 
	line-height: 1; 
	list-style: none; 
	margin: 5px; 
	padding: 0 15px; 
}
ul#FooterNav li:first-child { padding-left: 0; border-left: none; }
div.footer-left {clear: right;
    float: left;
    padding-top: 10px; }
div.cc-note { padding-left: 100px; }
/* -- END: footer styles ------------------------------------------------------------ */
div.videos  {
position: relative;
padding-bottom: 65.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
div.videos iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*.fluid-width-video-wrapper iframe, */
.fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {padding-bottom: 200px;}

/* Mobile Smartphones ----------- should be 620px */
@media only screen 
and (min-width : 0) 
and (max-width : 820px) {
	#branding { width: 55%; }
	#menu-primary .menu ul { margin-left: 0px; }
	#sidebar-subsidiary, #footer {padding: 5px 10px 5px 5px;}
}
@media only screen 
and (min-width : 0) 
and (max-width : 1068px)
and (-webkit-min-device-pixel-ratio:0) {
	/*chrome css here */
		div#menu-primary div.menu ul#menu-primary-items li.menu-item:last-child a { margin-left: 3.5em; }
	div#menu-primary div.menu ul#menu-primary-items li.menu-item ul.sub-menu li a { margin-left: 0; }
}
@media only screen and (max-width: 725px) {
	div#header div.social-icons {display:none;}
	div#branding {width: 100%;}
	div.mobile-search {display:block;}
	div.mobile-search input {margin-bottom: 10px; width: 97%;height: 20px;}
	#menu-primary .menu-toggle {margin-bottom: 10px;}
}
@media only screen 
and (min-width : 0) 
and (max-width : 420px) {
.sticky .entry-summary {
    border-left: none;
    clear: left;
    float: none;
    padding-left: 0;
    width: 100%;
}
.sticky .sticky-header { float: left; width: 100%;}
ul#FooterNav { padding-right: 0px;}
}
@media only screen 
and (min-width : 0) 
and (max-width : 780px) {
#sidebar-pages { clear: both; width: 100%;}
}
h2.entry-title {
    margin-bottom: 0px!important;
}
h2.entry-title a {
	color: #000!important;
	font-size:20px;
}
.singular-page .entry-title {
    margin-bottom: 10px !important;
}
p.event-date-location {
	font-size: 16px;
}
#sidebar-after-singular {
    float: none;
    font-size: 1em;
    margin: 0 0 0 60px;
}
.simplePullQuote {
	border-bottom: 0.1em solid #a71930!important;
    border-top: 0.1em solid #a71930!important;
    -webkit-box-shadow: none!important;
  	-moz-box-shadow: none!important;
}
div.paper-link p {margin: 0 0 0 60px; border-color: #CCC -moz-use-text-color;
    border-style: solid none;
    border-width: 0.1em 0;
    padding:5px;}
.more-floats h4 {float: right;}