/*
 * Theme Name: Hueman Child
 * Author: Meghan Treacy, SUNY Polytechnic Institute
 * Template: hueman
 * Version 0.0.1
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 */

/**************************** 
 *       CONTENTS
 ****************************
 *
 * 1. Global
 * 2. Header
 * 3. Main Content Area
 * 4. Sidebars
 * 5. Front Page
 * 6. Single Post Page
 * 7. Footer
 * 8. Specific Pages
 */


/******** GLOBAL *********/
.widget .btn-donate {
   background-color: #ffc02e;
   padding: 10px 25px;
   color: #002c73;
   font-size: 20px;
   font-weight: bold;
   transition-duration: 1.5s;
}

.widget .btn-donate:hover {
    transform: scale(1.2,1.2);
    transition-duration: 1.5s;
}

figcaption,
.wp-block-image figcaption {
	color: #000;
	font-size: 16px;
}

.post-hover:hover .post-thumbnail {
	opacity: 1;
	filter: brightness(0.6);
}

a img {
	transition: filter .2s ease;
}

/* Two Column 1/3 2/3 Layout */
@media only and (min-width: 961px) {
.col-2cr .sidebar.s1 {
    width: 300px;
    margin-left: -300px;
}
}

/******** HEADER *********/
@media all and (max-width: 719px) {
	#header .central-header-zone {
		padding-bottom: 15px;
	}
	#header .logo-tagline-group {
        display: none;
    }
    .header-ads-mobile #header-widgets {
        text-align: right;
    }
}

@media all and (min-width: 720px) {
	#header .central-header-zone {
		display: flex;
    	flex-direction: row;
    	align-items: center;
		padding: 5px 30px;
	}

	#header .logo-tagline-group {
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-basis: 70%;
    	width: 70%;
	}

	#header-widgets {
		flex-basis: 30%;
		width: 30%;
	}

	#header-widgets #custom_html-3 {
		margin: 15px 0;
	}

	#header-widgets .widget_nav_menu ul.menu {
		text-align: right;
	}
}

#header .suny-logo {
	padding-right: 20px;
	border-right: 2px solid #ffffff;
}

#header .bridge-logo-tagline {
	padding: 0 0 5px 20px;
}

#header .site-title {
	padding: 10px 0 0 0;
}

#header .site-description {
	line-height: 1em;
	padding-top: 0;
	margin-left: 5px;
	color: #fff;
	font-style: normal;
	width: 100%;
}

@media all and (max-width: 1169px) {
	#header-widgets .widget_nav_menu #menu-secondary-header-menu li a {
		padding: 5px 0;
	}
}

#header-widgets #menu-secondary-header-menu li {
    display: inline-block;
    margin: 0 5px;
}

#header-widgets #menu-secondary-header-menu li a {
    color: rgba(255,255,255, 0.9);
	font-weight: bold;
    border: none;
    text-decoration: underline;
    transition-duration: 1s;
	line-height: 1em;
}

#header-widgets #menu-secondary-header-menu li a:before {
    content: none;
}

#header-widgets #menu-secondary-header-menu li a:hover {
    transform: scale(1.07,1.07);
    transition-duration: 1.3s;
}

/******** SIDEBARS *********/
@media all and (max-width: 767px) {
	.sidebar #issue-list {
		width: 100%;
	}
	.sidebar .sidebar-content > *:not(.sidebar-top,#custom_html-8) {
    	display: none;
	}
	.sidebar #custom_html-8 {
		padding: 0 !important; //override !important in parent theme css
	}
}
@media all and (min-width: 768px) {
	.sidebar #issue-list {
		width: 280px;
	}
}
.sidebar.s1 .sidebar-top p,
.sidebar.s2 .sidebar-top p,
.home #content .page-title h2 {
	font-size: 1.5rem;
}
.sidebar.s1 .sidebar-top p,
.sidebar.s2 .sidebar-top p {
	color: white;
}
.sidebar #media_image-2 {
	padding-bottom: 0px;
}
.sidebar #custom_html-7 {
	padding-top: 0px;
}
.sidebar #custom_html-7 a {
	color: black;
	font-weight: bold;
}
.sidebar .widget_nav_menu ul li a,
.sidebar .widget_nav_menu ul li a:before {
	color: #666666;
}
.sidebar .widget_nav_menu ul li a {
	font-weight: 400;
}
.sidebar #custom_html-4 .textwidget {
	text-align: center;
}
.sidebar #issue-toggle {
	text-decoration: none;
	background-color: #545963;
	color: white;
	padding: 10px;
	text-align: center;
	width: 100%;
	border: none;
}
.sidebar #issue-list {
	display: none;
	background-color: #ffffff;
	position: absolute;
}
.sidebar #issue-list li a {
	color: black;
	text-decoration: none;
	padding: 5px 10px;
	display: block;
}
.sidebar #issue-list li a:hover {
	background-color: #dadada;	
}
.open-caret {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.sidebar .social-feeds > * {
	margin-bottom: 35px;
}

/******** FRONT PAGE *********/

@media all and (max-width: 767px) {
	.home #grid-wrapper {
		flex-direction: column;
		flex-wrap: nowrap;
	}
	.home #grid-wrapper .grid-item {
		flex-basis: 100%;
		width: 100%;
	}
}

@media all and (min-width: 768px) {
    .home #grid-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }
   .home #grid-wrapper .grid-item {
		flex-basis: 30.67%;
		width: 30.67%;
	} 
}

.home .page-title {
	display: none;
}

.home .featured .entry {
	color: #000;
}

.home #grid-wrapper {
    display: flex;
    justify-content: space-between;
}

.home #grid-wrapper .post-category {
	margin-bottom: 5px;
}

.home #grid-wrapper  .issue-date {
	color: #000;
	font-weight: bold;
}

.home #grid-wrapper .post-inner .post-title {
	line-height: 1.1em;
}

.home #grid-wrapper .post-inner .post-title a {
	color: #3e6db5;
}

.home #grid-wrapper .post-inner .post-title a:hover {
	color: #444;
}

.home #grid-wrapper .post-inner .entry {
	color: #000;
}

/******** SINGLE POST PAGE *********/
.single #content .entry {
	color: #000;
	margin-top: 20px;
}

.single .post-title {
	font-weight: bold;
}

/******** FOOTER *********/
#footer {
	background-color: #33363b;
}

#footer a, 
#footer p,
#footer h2,
#footer h3,
#footer h4 {
    color: #fff;
}

#footer #back-to-top {
	background: #eaeaea;
    color: #777;
    overflow: hidden;
    text-align: center;
    width: 60px;
    height: 30px;
    display: block;
    margin: 0 auto -30px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
    -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(0,0,0,.05);
}

#footer #back-to-top i {
    font-size: 32px;
    position: relative;
    top: -2px;
}

#footer .widget_nav_menu ul.menu a {
    border: none;
	padding: 4px 0;
}

#footer .widget_nav_menu ul.menu a:before {
    content: none;
}

#footer .widget_nav_menu ul.menu a:hover {
    color: #ffc02e;
}

/******** FOOTER *********/
.postid-167 .image-container {
    display: none;
}

/******** SPECIFIC PAGES *********/

/* Archive Page */
@media all and (max-width: 767px) {
    .flex-row > .wp-block-group__inner-container {
        flex-direction: column;
    }
	.flex-row > .wp-block-group__inner-container .wp-block-group {
    	flex-basis: 100%;
    	width: 100%;
	}
}

@media all and (min-width: 768px) {
    .flex-row > .wp-block-group__inner-container {
        flex-direction: row;
    }
	.flex-row > .wp-block-group__inner-container .wp-block-group {
    	flex-basis: 33%;
    	width: 33%;
	}
}

.flex-row > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
