/*
	Theme Name: Day of The GIrl Theme
	Theme URI: 
	Description: Custom WordPress Theme
	Version: 1.0.0

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	margin: 0;
	padding: 0;
	transition: all .33s ease;
}

/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 15px/1.4 'Roboto', sans-serif;
	color:#505054;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.alternative-font {
	font-family: 'Oswald', sans-serif;
	line-height: 1.1;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    GRID
\*------------------------------------*/
.container,
.container-narrow {
	margin: 0 auto;
}
.container {
	max-width: 1170px;
}
.container-narrow {
	max-width: 780px;
}
@media only screen and (max-width:1170px) {
	.container,
	.container-narrow {
		padding: 0 15px;
	}
}
.col1,
.col2,
.col3,
.col4,
.col5,
.col6,
.col7,
.col8,
.col9,
.col10,
.col11,
.col12 {
	position: relative;
	padding: 15px;
	flex: 1 1 100%;
	max-width: 100%;
}
@media only screen and (min-width:480px) {
	.col3{
		flex: 1 1 50%;
		max-width: 50%;
	}
}
@media only screen and (min-width:768px) {
	.col1{
	flex: 1 1 8.33%;
	max-width: 8.33%;
}
.col2{
	flex: 1 1 16.66%;
	max-width: 16.66%;
}

.col4{
	flex: 1 1 33.33%;
	max-width: 33.33%;
}
.col5{
	flex: 1 1 41.66%;
	max-width: 41.66%;
}
.col6{
	flex: 1 1 50%;
	max-width: 50%;
}
.col7{
	flex: 1 1 58.33%;
	max-width: 58.33%;
}
.col8{
	flex: 1 1 66.66%;
	max-width: 66.66%;
}
.col9{
	flex: 1 1 75%;
	max-width: 75%;
}
.col10{
	flex: 1 1 83.33%;
	max-width: 83.33%;
}
.col11{
	flex: 1 1 91.63%;
	max-width: 91.63%;
}
.col12{
	flex: 1 1 100%;
	max-width: 100%;
}

}
@media only screen and (min-width:1024px) {
	.col3{
		flex: 1 1 25%;
		max-width: 25%;
    }
}
.row {
	margin: 0 -15px;
	display: flex;
	flex-wrap: wrap;	
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
 flex: 1;
	position:relative;
}

/*------------------------------------*\
    FLEX
\*------------------------------------*/
.flex {
	display: flex;
}
.flex-center {
	justify-content: center;
}
.flex-vertical-center {
	align-items: center;
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-space-between {
	justify-content: space-between;
}
.flex-end {
	justify-content: flex-end;
}
.flex-column{
	flex-direction: column;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
.header-top {
    background: #ec2b60;
    padding: 10px 0;
    color: #fff;	
}
.header-top > a {
	text-decoration: underline;
	color: #f4ac64;
}
.header-top i {
	transition: unset;
	margin-left: 8px;
	color: #f4ac64;
}
.header-top a:hover, .header-top i:hover {
	color: #fff;
}
.header-middle {
	padding: 15px 0;
}
.header-middle h1 {
	font-size: 5rem;
    margin-left: 33px;
	    color: #54549c;
}
.header-bottom {
    border-top: 1px solid #f3f3f3;
}
.header ul, .footer ul {
	list-style: none;
	display: flex;
}
.header ul li, .footer ul li {
	margin: 0 15px;
}
.header ul li a, .footer ul li a {
	display: block;
	text-transform: uppercase;
}
.header-bottom ul.nav > li {
	padding: 15px 0;
}
.header ul li a {
	    font-size: 17px;
    letter-spacing: 1px;
}
.header ul li a:hover {
	color: #ec2b60;
}
.sub-menu {
	border-top: 1px solid #ec2b60;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.footer {
	    background: #54549c;
    color: #fff;
    padding: 15px 0;
}
.footer ul li a {
	color: #fff;
}
.footer ul li a:hover {
	text-decoration: underline;;
}


/*------------------------------------*\
    HOME PAGE
\*------------------------------------*/
#featured-post {
	background-color: #f3f3f3;
}
.post-tags a,
.post-category a {
	color: #f4ac64;
	text-decoration: underline;
}
.post-item h2 {
	font-size: 3rem;
	margin-bottom: 10px;
}
.view-article {
	margin-top: 23px;
}
.view-article:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.view-article::before {
	content: "\A";
  white-space: pre;
}
.view-article > span {
	background-color: #f4ac64;
	color: #fff;
	border-radius: 4px;
    padding: 10px 23px;
}
#featured-post .col6.img-wrapper {
	padding: 0!important;
}

#instagram-feed {
    background: #f3f3f3;
    margin: 33px 0;
    padding: 23px 0;	
}
#instagram-feed .home-gallery {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}
#instagram-feed .home-gallery li {
    align-items: stretch;
    flex: 1;
    min-width: 15%;
    height: 233px;
    overflow: hidden;
}
#instagram-feed .home-gallery li img{
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: top;
	   object-position: top;
	width: 100%;
	height: 100%;
	display: block;
	opacity: .84;
}
#instagram-feed .home-gallery li:hover img {
	-webkit-transform: scale(1.05);
	    transform: scale(1.05);
	        opacity: 1;
}
.img-fit {
	-o-object-fit: cover;
	   object-fit: cover;
	width: 100%;
	height: 100%;
	-o-object-position: top;
	   object-position: top;
}
.img-wrap {
	max-height: 400px;
	overflow: hidden;
	position: relative;
}
.october-item {
	position: relative;
	margin: 4px 0 23px;
	display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.october-item > span {
    background: #ec2b60;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    width: 60px;
    height: 60px;
    justify-content: center;	
    z-index: 1;
}
.october-item .img-fit {
	    object-fit: contain;
	height:100%;
}
.october-item.today > span {
    width: 80px;
    height: 80px;	
}
.october-item.today {
border-bottom: 1px solid #ec2b60;	
}
.view-all-october > a:hover {
	color: #ec2b60;
}

.october-item > span > b {
	font-size: 21px;
}
.october-item .img-wrap {
	height: 170px;
}
.side-title {
	margin: 25px 0 0;
}
.view-all-october {
    border-top: 1px solid #d1cccc;
    text-align: right;
    padding-top: 6px;	
}
.view-all-october a {
	display: inline-block;
}

#mc_embed_signup div.mce_inline_error {
	display: none!important;
}
.mc-field-group {
	display: flex;
	align-items: center;
	margin: 10px 0;
}
.mc-field-group input {
	flex: 1;
	padding: 3px;
    border: 1px solid #ec2b60;
}
.mc-field-group label {
	width: 90px;
}
#mc_embed_signup_scroll {
    background: #ec2b60;
    padding: 15px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);	
    border-radius: 5px;
}
#mc-embedded-subscribe {
    border: 1px solid transparent;
    float: right;
    letter-spacing: 1px;
    padding: 6px 15px;
    background: #f4ac64;
    font-weight: 700;
}

.sidebar-posts img {
	max-height: 250px;
	margin: 10px 0;
}
.sidebar-posts .post-item {
	margin-top: 33px;
}
.sidebar-posts .post-item {
	margin-bottom: 0!important;
}
body.home #mc_embed_signup_scroll {
	margin-top: 0;
}
.logo-header img {
	max-height: 150px;
}
span.date {
	display: inline-block;
	margin: 10px 0;
}
#home-posts .post-item {
	margin-bottom: 23px;
}
#blog-post .img-wrap {
	margin-bottom: 23px;
	max-height: 500px;
}
#blog-post p {
	margin-bottom: 15px;
	overflow-wrap: break-word;
}
.post-share {
	margin-top: 23px;
}
.post-share, 
.content-wrapper p {
	margin-bottom: 15px;
}
.post-share i {
	    color: #ec2b60;
    font-size: 23px;
    margin-right: 10px;
}
.post-share i:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);	
}
.sticky .header-bottom {
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 1984;
}

.content-wrapper p, #blog-post p {
	font-family: 'Open Sans', sans-serif;
}

.sub-menu {
	display: none!important;
	padding: 15px 0;
	position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    z-index: 6;
    flex-direction: column;
    background-color: #fff;
	width: 100%;
}
.sub-menu li {
	padding: 5px 0;
}
.header .menu-item-has-children:hover > .sub-menu {
	display: flex!important;
}
.header .menu-item-has-children {
	position: relative;
}

.header .menu-item-has-children .sub-menu a {
	    font-size: 14px;
	    /*white-space: nowrap;*/
}

img.alignleft {
	display: block;
	margin:15px 0;
}
.october-item > b {
	width: 100%;
	text-transform: uppercase;
	margin-top: 15px;
}

#twiiter-feed {
    padding: 25px 0;
 /*   background: #538dbe;*/
    background: #ec2b60;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    border-radius: 5px;
}
#twiiter-feed a {
	color: #fff;
	font-weight: 700;
	font-style: italic;
}
#ctf .ctf-header a {
	display: inline-block!important;
	text-align: center;
	float: none!important;
	color: #fff;
}
#ctf .ctf-header {
	text-align: center;
}
.slick-slider, .slide-item {
	height: 400px;
	    width: 100%;
    text-align: center;
}
.slide-item a {
	color: #fff!important;
}
.slick-slider .slick-track, .slick-slider .slick-list {
    width: 100%;
    height: 300px!important;	
}
#ctf .ctf-item {
	    padding: 15px!important;
}
.slick-dots {
display: flex!important;
    align-items: center;
    justify-content: center;
    list-style: none;	
}
.slick-dots li {
	margin: 0 5px;
}
.slick-dots button {
	border: none;
	background: transparent;
	color: #538dbe;
	outline: none;
}

.slick-active i {
	font-size: 15px!important;
}
.slick-dots i {
	font-size: 12px;
}

.content-wrapper iframe {
	width: 100%;
}
.header {
	position: relative;
}
.fa-bars {
	display: none;
    position: absolute;
    right: 23px;
    top: 93px;
    font-size: 30px;
}
@media only screen and (max-width:1200px) {
	#twiiter-feed #ctf .ctf-item {
	padding: 15px!important;
	}
}
@media only screen and (max-width:1024px) {
	.logo-header img {
		max-height: 100px;
	}
	.header-middle h1 {
		font-size: 4rem;
		margin-left: 15px;
	}
	.fa-bars {display: block;}
	.header ul {
		flex-direction: column;
	    width: 100%;
	    text-align: center;
	    transition: unset;
	    display: none;
	}
	.header ul > li {
		padding: 5px 0;
        border-bottom: 1px solid #f3f3f3;
	}
}

@media only screen and (max-width:768px) {
	.footer .row {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	.copyright {
	    width: 100%;
	    text-align: center;
	    margin-bottom: 15px;	
	}
	.footer ul {
		flex-direction: column;
	}
	body #twiiter-feed #ctf .ctf-item {
		padding: 15px!important;
	}
	.sidebar-posts .post-item,
	#mc_embed_signup_scroll,
	.october-sidebar .october-item {
	    margin: 10px auto 23px;
	    max-width: 480px;	
	}
	.sidebar-title {
		text-align: center;
	}
	#instagram-feed .home-gallery li {
		min-width: 26%;
	}
	#gallery-section ul li {
		flex: 1 1 100%;
		max-width: 100%!important;
	}
}
@media only screen and (max-width:480px) {
	.header-middle h1 {
		font-size:2rem!important;
	}
	.logo-header img {
		max-height: 75px!important;
	}
	.header-middle .flex {
		justify-content: flex-start!important;
	}
	.fa-bars {
		    right: 15px!important;
   			 top: 77px!important;
	}
}


.post-october {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);	
    text-align: center;
}
.post-october:hover {
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.sidebar {
	background: #f3f3f3;
    padding: 15px;
    border-radius: 10px;
}
.sidebar-posts img:hover,
.home .post-item .img-wrap:hover > img  {
	-webkit-transform: scale(1.05);
	    transform: scale(1.05);
}
.img-wrap {
	overflow: hidden;
}
.year {
	font-size: 15px;
	color: #ec2b60;
}
.october-sidebar {
	    margin: 0 auto 33px;
}
h2.post-title {
	margin-bottom: 15px;
}
.comments #submit {
    letter-spacing: 1px;
    padding: 6px 15px;
    background: #f4ac64;
    font-weight: 700;
    border: none;
	width: auto;
}	

.comments input, .comments textarea {
	padding: 5px;
	width: 100%;
	border: 1px solid #e6dfdf;
}
.comments ul {
	list-style: none;
}
.comment-body {
	display: flex;
    margin-bottom: 23px;
    flex-wrap: wrap;	
}
.comment-meta.commentmetadata {
    flex: 1;
    text-align: right;	
}
.comment-body > p {
    flex: 1 1 100%;
    background: #f3f3f3;
    padding: 15px;
    margin-bottom: 5px;	
}
.comment-reply-link {
    color: #ec2b60;	
}
.comments .children {
	padding-left: 23px;
}
#gallery-section {
	margin: 33px 0;
}
#gallery-section ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}
#gallery-section ul li {
    flex: 1 1 33.33%;
    max-width: 33.33%;
    padding: 15px;	
	position: relative;
}
.caption-text {
	position: absolute;
	bottom: 15px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
}
.donate-btn img {
	max-width: 120px;
	height: auto;
	-o-object-fit: contain;
	   object-fit: contain;
}
.past-summits-wrapper .post-item {
	border-bottom: 1px solid #f4ac64;
	margin-bottom: 23px;
	padding-bottom: 15px;
}
#ctf #ctf-more {
	display: none;
}

.page-template img{
	height: auto;
}
body #mc_embed_signup .button {
    background-color: #f4ac64;
    color: #fff;
    border-radius: 4px;
}

aside #sb_instagram {
	margin-top:15px;
	margin-bottom:25px;
}
aside #twitter_timeline-2 {
	margin-bottom:25px;
}
aside .sbi_header_text.sbi_no_bio h3 {
	margin-top:9px!important;
	font-size:20px!important;
}