/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

@import url(https://fonts.googleapis.com/css?family=Lato:400,100,300,700); /*included font weight for lato*/
/*--- ALL ---*/


.biig .x-container.max.width{max-width: 1200px !important;}

h3.h-recent-posts { font-weight: 400; line-height:1.5}

.masthead *, .x-slider-revolution-container *, .site .entry-featured, .site .entry-featured * { -webkit-transform: none !important;-webkit-transition: none !important;} /*menu fix safari*/

.entry-thumb::before {content: "" !important;background-color: rgba(255, 255, 255, 0)!important;}/*removed hover icon on news/ blog items*/ 
.x-entry-share .x-share:hover {background-color: #fff !important; color: #B83838}
.x-video.embed.with-container {padding: 0px;}
.desktop .sub-menu a {padding: 10px 25.6px;} /*sub-menu padding*/
.x-btn, .x-btn:hover {box-shadow:none !important; text-shadow:none !important ;color: white !important;background-color: #B83838 !important;}
.has-post-thumbnail .entry-featured {border-bottom: none !important;} /*removed line above blogs*/
.entry-wrap {box-shadow: none !important; padding: 20px;} /*removed box shodow from blog pages*/
.page-id-4557 .alignleft {clear: left;}
.x-accordion-inner .alignleft {margin: 0.35em 1.313em 1em 0px;} /*margin increased below pictures in table to align text*/
.pagination a, .pagination span {border-radius: 50%; } /*pagination  (numbers) style*/
/*  search result */
.search-results .p-meta, .search-results .entry-featured {display: none;}
.search-results .entry-wrap {background-color: #F0F0F0;}
.search-results h2 {font-weight: 300;}
/****POSTS******/
.h-landmark {letter-spacing: 1px;}
#post-4557 address {margin-bottom: 0;} 
#post-137 .x-text li {margin-bottom: 15px;} /*margin bottom of why Ashesi matters li's*/
.removethumb .entry-thumb img {display: none;}
.x-accordion-group {box-shadow: none;} /*removed shadows from accordions*/
.x-accordion-inner {padding: 20px 30px;} /*inside accordion padding*/
.pagination span.current{background-color: #B83838;}
h1,.h1 { font-size:28px; color:#535353; font-weight: bold !important; line-height: 1.5; } /*h1 styling*/
h2,.h2 { font-size:32px; color:#535353; font-weight:bold; }
h3,.h3 { font-size:26px; color:#535353; font-weight:bold; }
h4,.h4 { font-size:18px; color:#535353; font-weight:bold; }
h5,.h5 { font-size:16px; color:#535353; font-weight:bold; }
h6,.h6 { font-size:13.5px; color:#535353; font-weight:bold; text-transform:uppercase; letter-spacing: 0px !important; }
a:focus, a:hover, a:hover.progressanchor, .lrnmore a, a:hover.fundingpri {color: #369; }
p:hover.excpt, p:focus.excpt {text-decoration: none !important;}
a:hover.hmore, span:hover.readmr, p:hover.recentlrnmore, a:hover.partnersee{ text-decoration: underline;color: #369;} /*links on pages changes to blue and underline on hover*/
.foot1 a:hover, a:hover.x-accordion-toggle, .x-accordion-toggle:hover, .x-icon-angle-up:hover,.x-icon-angle-up:focus {text-decoration: none; color : #369 !important;} /*links in footer change to red on hover*/
td {vertical-align: top!important; border: 1px solid #000 !important;}
.wp-caption-text {text-transform: none !important;margin: 12px 0px 8px !important;padding: 0px !important;font-size: 12px !important;font-weight: 400 !important;line-height: 1.3;}
.post .entry-content p, .x-portfolio p, .type-page p, .type-page li, .type-post li, .page section, address, em{font-size: 18px;color: #535353;line-height: 1.4;font-weight: 300;margin-bottom: 10px;} /*posts font sizing*/
.x-child-theme-active a {color: #369} /*link color throught site*/
.x-hide-md, .x-hide-lg {display: block !important;} /* responsive screens was hiding posts */
.desktop .x-nav > li > a:hover, .desktop .x-nav > .current-menu-item > a, .desktop .x-nav > .x-active > a{box-shadow: none !important; border-bottom: 3px solid #b83838;} /*bottom box shadow addition to menu on hover, on current and active */
a:hover.x-btn-navbar-search{border-bottom: none !important;} /*no bottom border for search button*/
/***--- Partners Section ----***/
.partners {font-weight: 300;font-size:30px !important;text-align:left;}
/***--- Progress Section -----***/
.progress1 {text-align:left; margin: 0px 0px 20px 15px;}
p.progress1 {font-weight: 300;font-size:30px;}
.progress {font-weight: 300 !important;margin: 0;line-height: 1;}
.progressanchor, .partnersanchor, .fundingpri {color: #000 !important;}
p.progress {font-size: 5.5em;}
.progress2 {text-align:center;/*margin: 0px 0px 10px 40px;*/ font-weight: 300;}
p.lrnmore {text-align: right;margin: 10px}
.desktop .x-nav > li > a {box-shadow: none !important;}
.desktop .x-nav>li {margin-right: 30px;} /*space between top nav buttons*/
.aboveslidertext p{margin: 8px 0px;font-size: 19px;color: #fff;} /*501(C)3 texts*/
/***** counter settings ******/
.counter .number-wrap {font-size: 7.5em;font-weight: 300 !important;} 
.x-navbar {box-shadow: none; border-bottom: solid 1px #DEDEDE;} /*removed shadow from menu*/
.makegift span{color: #B83838; margin-right: 2.8em !important;} /*make gift button color and margins*/
.makegift a { border-bottom: none !important;} /* make a gift border bottom removed*/
/**** footer ***/
.x-colophon.bottom {background-color: #282828; }
.x-colophon+.x-colophon {box-shadow: none; }
.x-colophon-content a{font-weight: 200; color: #fff;  }
#text-3 .textwidget {text-shadow: none;} /*remove text shadow from Social text*/
.x-colophon {box-shadow: none;} /*remove box shadow from footer widget*/
/***** portofolio ******/
h2.entry-title.entry-title-portfolio {font-weight: 300;} /*portfolio front font*/
.x-iso-container-portfolio .entry-wrap {padding: 18px 5.5% 22px; background-color:rgba(222, 222, 222, 0.33) } /* padding around portofolio elements */
 .pagination span.current {background-color:#B83838 !important; text-shadow:none; box-shadow: none;}
a.entry-thumb:hover img {opacity: 0.5} /*thumbnail hover layover opacity*/
.x-portfolio .entry-info {margin: 0 auto;float:none;width: 90%;}
.rmbigimg .entry-thumb img {display: none;}
.x-portfolio .entry-wrap {box-shadow: none; }
/**** recent posts ***/
.x-recent-posts a {border: none; padding: 0px;box-shadow:none;}
.category-recentpost .x-recent-posts-img {display: inline-block;width: 90px;padding-bottom: 98px !important;}
.category-recentpost .x-recent-posts-content {display: inline-block; width: 75%; padding: 0px 0px 5px 15px;/*position: relative;top: 15px;*/ vertical-align: top;}
.readmr {color:#369;position: relative;top: 5px; } /*read more texts on recent posts*/
.category-recentpost .x-recent-posts-excerpt {font-weight: 300; color:black; }
.category-recentpost p.x-recent-posts-excerpt {font-size: 18px;line-height: 1.3;;/*position:absolute; bottom: 0px;*/}
a.hstories {margin: 0px 0px 15px;font-size: 30px; display: inline-block;width: 60%;font-weight: 300;
color: #000;}

a:hover.hstories {color: #369;} /*link colors on the homepage*/
a.hmore {display: inline-block;margin: 0px;font-weight: 300;}
p.catfund {margin-bottom: 20px;font-size: 30px;color: #000;}
.category-funding p.x-recent-posts-excerpt {color: black;line-height: 1.5;margin: 0 0 5px;font-weight: 300;font-size: 18.6pxpx; cursor: default;} /*excerpt font styling*/
.category-funding .x-recent-posts-content {padding: 10px 0px;} /* funding category padding */
.allfundingposts .category-funding .x-recent-posts-content {margin-bottom: 40px;} /*fundin category full margin bottom */
.allfundingposts  .category-funding .x-recent-posts-img {filter: none;-webkit-filter: none;filter: none;} /*no color filter for all funding page */
.fullpriorities .catfund {display: none;} /* funding priorities */
p.recentlrnmore {color: #369;}/*funding sect learn more color*/
/*** form ***/
.moduletable input[type="submit"] { text-align: center; border: medium none;background: #B83838 none repeat scroll 0% 0%;color: #FFF;position: absolute; height: 34px; text-shadow: none; box-shadow: none;border-radius: 0;line-height: 0.9;padding:0px 10px;}
.moduletable input[type="email"] {margin-bottom:0px; border-radius: 0px;box-shadow:none;color:#ABA1A1 }
a.footcontact {font-size: 10px !important;color: #7A7A7A; margin: 0 !important;font-weight: 400 !important;}
a:hover.footcontact {color: #369 !important}
p.fundingprfont {font-size: 1.9em;} /*funding priority font size */

.cs-expanded-close {top:25px!important;} /*close button on the content editor cornerstone*/

.h-recent-posts {font-weight: 300; font-size: 18px; line-height: 1.5;}

/*--- full size ---*/
@media only screen and (min-width: 1025px) { 
	
	.donatePg img{
		margin-top: 0px !important;
	}

#mastercfoundation {width : 300px;}

.h-recent-posts {margin: 30px 0 5px !important;} /*recent posts homepage*/


.x-iso-container-portfolio .entry-wrap {height: 7em; } /*stories page size alignments*/
.x-flexslider {height: 30em;overflow: hidden;} /* slide height adjustments*/

#text-3 .textwidget {font-size: 18px;font-weight: 300;margin-top: 7px;} /*follow our progress text  ID = 
#text-7 on the live :) */
.x-brand.img {position: relative;} /* logo alignment */
#post-4668 .x-container.max {max-width: 100%} /*funding priorities page*/
#post-4668  #x-section-1 .x-img { margin-top: 0px }
.allfundingposts .x-recent-post30 {margin: 30px 20px 0px 20px;width: 46.33%;} /* full funding sizes*/
.x-recent-post30 .category-funding .x-recent-posts-content {margin-bottom: 10px;}
.h-landmark {margin-top: 25px;} /* show the stories/news title */
.foot1 {right: 42px;position: relative;} /*top footer alignment - centered*/
#x-section-1 .x-img {margin-top: 44px;} /*move image below menu bar */
#x-section-2 .x-container.max{max-width: 800px;} /*reduced the max width of text-content to 800px*/
.fullfundingpage .x-container.max{max-width: 1200px !important;} /*increased the max width of this page to 1200px*/
.removethumb {width: 800px !important;} /*reduced the width of post-content to 800px */
.x-breadcrumb-wrap {display: none;}
/*.entry-content.content .x-container .x-img {position: relative;top: 21px;}*/
.x-navbar .desktop .x-nav li:hover .sub-menu{display: block;z-index: 9999;} /* menu show on hover */
ul.x-nav .current-menu-ancestor .sub-menu{display: block ;} /* makes sub-menu stick */
.x-navbar .x-nav-wrap .x-nav > li.current_page_ancestor > a {border-bottom: 3px solid #B83838;color: #B83838;} /* underline the current main menu when a submenu is selected from that particular menu-item*/
/**** category-news ****/
.column14m {border-top-width: 0px !important;border-bottom-width: 0px !important;}/* hide horizntal columns on normal size screens*/
.category-news .more-link {font-weight: 300;} /* read more font-weight */
.category-news .x-iso-container-posts.cols-3 .entry-wrap {height: 230px;} /*fixed height for news section*/
.x-searchform-overlay .search-query {font-size: 6.4em !important;} /*search query sizing*/
.x-iso-container.cols-3 > .hentry {width: 24.25%;} /*media section news sections */
.x-iso-container-posts.cols-3 .entry-wrap {padding: 5.25% 0.25%;}
.x-iso-container-posts.cols-3 .entry-title {font-size: 141%; line-height: 1.25;}
#x-iso-container .post .entry-content p {font-size: 14px;line-height: 1.2;margin-bottom: 5px;}/*font content*/
.x-iso-container-posts.cols-3 .more-link {font-size: 91%;} /*read more news section sizing */

a.hmore {position: relative;top:8px;right:95px;color: #336699;} /*more stories*/
/*** nav bar ***/
.sub-menu span{ color: white;} /* text color of sub menu */
.desktop .menu-item {position: relative; display: inline-block;} /*align sub menu and make horizontal*/
.masthead-inline .x-navbar .desktop .sub-menu {right: 0;left: 0;}
.desktop .x-nav > li ul {top: 62px !important; padding: 0 0 0 6%;} /* sub-menu alignments */
.desktop .sub-menu {box-shadow: none; border-radius: 0; background-color: #575757;font-size: 15px; position: fixed;}
.x-navbar .desktop .x-nav li>a>span:after{content:none !important;}
.desktop .sub-menu a:hover, .desktop .sub-menu .current-menu-item > a{ background-color: #b83838;} /*Hover and current sub menu background color*/
/**** FOOTER ***/
.x-colophon-content a{font-size: 15px; margin: 0px 40px 10px}
.x-colophon.top { padding:1.25% 0 1.25%; background-color: #C9C9C9} /* padding for social media area */

#text-3 {margin-left: 35px;}
#text-2 .textwidget p {margin: 0 0 0 14%;} /* social share widget homepage*/

.x-section-3 .x-column {margin-left: 4%;}
.category-funding .x-recent-posts-img {filter: grayscale(100%);-webkit-filter: grayscale(100%);filter: grayscale(100%);}
.category-funding .x-recent-posts-img:hover {filter: none;-webkit-filter: grayscale(0%);filter: grayscale(0%); 
/*-moz-transition: .3s ease-in-out;-o-transition: .2s ease-in-out;-webkit-transition: .2s ease-in-out;*/}
.x-recent-posts .x-recent-posts-img::after{background: none !important;}
.x-recent-posts .format-standard .x-recent-posts-img::before {content: none !important;}
}

/*--- tablet ---*/
@media only screen and (max-width: 1025px) {
    .allfundingposts .x-recent-post30 {width: 40.66%; margin: 0px 38px 0px 38px;} /* full funding sizes*/
.lrnmoremob {display: none;} 
	.x-recent-posts .x-recent-posts-img:after {background-color: rgba(247, 247, 247, 0) !important;} /*removed red overlay on hover*/
	.x-recent-posts .x-recent-posts-img:before {content: "" !important;}  /*removed the on-hover paper icon*/
/**** Footer ***/
#text-3 {margin-left: 0px;font-size: 12px;}
#text-2 .textwidget p {margin: 0px;} /* social share widget homepage*/
p.progress {font-size: 5.5em;} /*progess section homepage*/
.x-colophon-content a{font-size: 12px;}
.x-colophon.top {text-align: center;}
/**** mobile menu button ***/
.aboveslidertext p{margin: 11px 0px;font-size: 21px;} /*501(C)3 texts*/
.x-btn-navbar.collapsed, .x-btn-navbar.collapsed:hover, .x-btn-navbar{color:#b83838; box-shadow: none;}
.x-btn-navbar {margin-top:12px !important;}
#text-3 .textwidget {font-size: 1.3em;font-weight: 300;}
#text-2 .textwidget {margin-top: 1em ;}
.aboveslidertext p {font-size: 1em;display: none;}/*501(C)3 texts*/
.category-recentpost .x-recent-posts-content {width: 70%;} /*recent post width*/
.category-recentpost p.x-recent-posts-excerpt {font-size: 16px;}  /*recent post font-size*/
.masthead-inline .x-navbar .desktop .sub-menu {right: 0 ;left: 0 !important;}
.x-colophon.top .x-column .widget:first-child {margin-top: 1em;}
.x-searchform-overlay .search-query {font-size: 4.4em !important;}
.type-page li {font-size: 13px;} 
h4 {font-size: 16px;}
.lrnmore {font-size: 12px !important;} /*learn more font size mobile*/
.moduletable fieldset {position: relative;right: 8%;} /*subscribe form*/
.partnersee {font-size: 13px;} /*see all partners*/
input[type="email"] {width: 65%;}
}
/*--- mobile landscape ---*/
@media only screen and (max-width: 767px) {
p.progress1, .tpstories .tps{text-align: center;} /*align header in mobile on the homepage*/
.allfundingposts .x-recent-post30 {width: 95%; margin: 0px 38px 0px 8px;} /* full funding sizes*/
.lrnmoremob {text-align: right;position: relative;bottom: 36px; display: block;font-size: 12px !important;}
.foot1 a{font-size: 12px;display: block;margin-bottom: 10px;} /* footer sizing */
.pipef {display: none;} /* footer remove vertical pipes */
p.catfund {text-align: center;width: 100%;margin-top: 21px;} /*funding category title centered on mobile*/
.partners {text-align: center;} /* partners home page title alignments */
.partnerow img.x-img {padding: 0px 18%;margin: 0px;} /* partners home page image sizing */
.partnerow .x-sm.x-1-4 {padding: 20px 0px 0px;} /* partners home page image padding */

.column14m {border-left-width: 0px !important;border-right-width: 0px !important;} /* hide vertical columns on mobile screens*/
.x-colophon-content a{font-size: 12px;color: white !important;font-weight: 400;} /*footer links "university website" etc */
.tpstories .hmore {top: 13px;position: relative;} /* top stories mobile edits*/
.tpstories {padding: 10px 0px 15px 5px !important;}
.tpstories .category-recentpost .x-recent-posts-img {padding-bottom: 89px !important;}
.tpstories .category-recentpost p.x-recent-posts-excerpt {font-size: 13px;}

.category-recentpost .x-recent-posts-content {width: 65%;}
.moduletable fieldset {position: relative;right: 12%;}
.category-recentpost .x-recent-posts-content {top: 17px;}
.category-recentpost p.x-recent-posts-excerpt {font-size: 18px;}  /*recent post font-size*/

/*subscribe button*/
.moduletable input[type="email"] {width: 60%; }
.moduletable input[type="submit"] {font-size: 12px;}
.moduletable fieldset {right: 40px;} /*subscribe alignment*/
#text-3 .textwidget {font-size: 15px;}
.lrnmore {display: none;} /*remove learn more from progress section*/
.progress1 {margin: 0;}/*progres in mobile section*/
.partnersee {display: none;}
.x-btn-navbar {margin-top: 11px !important;}
.horizontalline {border-bottom: 1px solid #CCC9CA ; border-top: 1px solid #CCC9CA} /*horizontal lines around 14M*/
}

/*-----INTERNET EXPLORER 10-----*/  
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
   /* IE10+ specific styles go here */  

}

@media (max-width: 1120px) { /*mobile nav on ipad landscape*/
    .x-btn-navbar {display: block;float: right;}
    .x-nav-wrap.desktop {display: none !important;}
    .x-nav-wrap.mobile.in {display: block;}
    .sub-menu span {color: #515050;}  
    .column14m {border-top-width: 0px !important;border-bottom-width: 0px !important;}/* hide horizntal columns on normal size screens*/     
}
