/*
 Theme Name:   Period Child
 Template:     period
 Author: 	   Compete Themes
 Version: 	   1.0
 Author URI:   https://www.competethemes.com
 Description:  This is a child theme used to customize the Period WordPress theme.
 License: GNU  General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
 
@import url("../period/style.min.css");
 
/* =Theme customization starts here
-------------------------------------------------------------- */


body {background: #ffffff;}

header h1, aside section h2, article h2, footer, footer h4{ font-family: 'Titillium Web', Tahoma, Arial, sans-serif; }

.site-header {padding: 26px 5.5556% 5.25em;}

.site-header-grad {
	background: #000000;
	background-image: radial-gradient(circle closest-corner at center 1%,transparent 60%,#337ab7 99%,#4fa9fe00 50%,transparent);
}

.site-header-fx {
	background-image: radial-gradient(circle closest-side at 300px 300px,#4fa9fe 10%,#fff 90%,#fea 0,transparent);
}

#title-container .tagline {
	font-size: 2.65rem;
	display: inline-block;
	color:#fefefe;
	padding: 100px 0 60px 0;
	font-weight: 600;
    text-shadow: 0 1px 1px #121212;
	text-align: center !important;
    max-width: 660px;
}

.single h1 {border-left: 1px #fff solid;padding:60px 0 60px 0 !important;margin-top:20px;}

/* --- Menu 
				--- */

.toggle-navigation {
	
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 9999999;
	
}

.menu li a {
	color:#fefefe !important;
	padding:10px 12px;

}

#menu-primary-items {float:right !important;}

nav.menu li a {padding: 10px 6px;}
nav.menu ul.menu-primary-items li.menu-item:last-child a {padding:10px 18px;border:2px solid #ffffff;border-radius:5px}
nav.menu ul.menu-primary-items li.menu-item:last-child a:hover {border:2px solid #dddddd;}
.menu li:hover, .menu li a:hover {background-color: transparent; color:#ddd !important;}

#menu-fotter-menu li {display: inline;}

#static-widget .advert a:hover {
	background-color: #333;
	color:#fff !important;	
}

.menu li.current-menu-item a {color:#fff !important;}
.menu li.current-menu-item a:hover {color:inherit !important;}
.menu li a, .archive-header h1 {border-radius: 2px;}

.menu-primary ul ul a:link, .menu-primary ul ul a:visited {
	color: #333 !important;
}

div.menu-primary-container .open {
	
	max-height:260px !important;
	height:260px !important;
    padding: 0;
    margin: 0;
    top: 10px;
    background-color: #000000 !important;
	opacity: 0.7 !important;
    z-index: 999;
    overflow-y: scroll;
	
}

li.menu-item a {background-color:transparent !important}
ul.sub-menu {min-width:180px;margin-top:5px}
ul.sub-menu li a, ul.sub-menu li:last-child a {padding:0 10px 0 10px !important}
ul.sub-menu li a,ul.sub-menu li a:visited {color: #333333 !important; border:0;}
ul.sub-menu li:last-child a, ul.sub-menu li:last-child a:hover {border:0 !important;padding:inherit}
ul.sub-menu li.menu-item:active a {color: #333333 !important;}

/* .main controlls looped main container width.
    >62 will cause side bar will not fit the grid  */
    
.main {width: 61%;}


/* 2 col main feed */

.single #loop-container .entry {width:100%; max-width:100%}

#loop-container .entry {
		width: 45%;
		/* max-width: 360px; */
		float: left;
		margin: 10px;
}

#loop-container .entry:nth-child(3n+1){
    width: 100% !important;
}

/* typography */
.single .entry article {
	
	font-size: 1.25em;
    line-height: 1.65em;
	
}

.archive-header a {
    color: inherit;
}

.archive-header {
    font-size: 1.25rem;
}



/* --- Posts 
			--- */

img.avatar {border-radius:50px;pointer-events: none; cursor: default; box-shadow: 0 0 9px 0px #2f6da5;margin-top:5px;}

.post-byline {margin-top:0.75em;}
.post-byline .date {font-weight:400;}

.post-container h2 strong{line-height: 1.25em; font-weight:300;font-size:1.25em}
.post-container h2 a {line-height: 1.25em; font-weight:400;font-size:1.05em}

.post-container h2 {line-height: 1.25em; font-weight:300;font-size:1.40em}


.post-container .more-link-wrapper {display:block;text-align: center}
.post-container .more-link-wrapper a.more-link {width:100%;font-weight:normal;background-color: #333;color:#eee;}
.post-container .more-link-wrapper a.more-link:hover {background-color: inherit; color:#333;}
.post-content p>a, .post-content li a {
	text-decoration:none;
	border-bottom: 2px solid #c5f8f8;
    /*box-shadow: inset 0 -5px 0 #c5f8f8;*/
    color: inherit;
    -webkit-transition: background .15s cubic-bezier(.33,.66,.66,1);
    transition: background .15s cubic-be;
    font-weight:normal;
}

.post-content p>a:hover, .post-content li a:hover  {
	text-decoration:none;
	font-weight:normal;
	box-shadow: inset 0 -5px 0 #c5f8f8;
}

.single div.featured-image {border: 5px #fff solid;}

/* --- Breadcrumbs menu --- */

#breadcrumbs {
    display: inline-block;
    margin-bottom: .75em;
    color: #bbb;
    margin-top: 0;
    font-size: 1rem;
    padding: 0 15px;
    margin: 5px 0;
}

#breadcrumbs a {font-size: 1rem;color: #bbb; border: 1px #fff solid;padding:2px 12px;}
#breadcrumbs a:hover {text-decoration:underline;}



/* --- Sidebar's Widget --- */
.widget li {padding: 0.75em 0;}

/* --- Sidebar's Static Widget
								Advert --- */

/*								
	#text-6 is an automatic ID, so if you want to add more Text Widgets to the sidebar
	make sure to update this ID down below
*/
								
#sidebar-primary #text-6 {padding:0; border:0;box-shadow: none;}

.advert  {
	margin: 0;
	height: 316px;
	overflow: hidden;
	background-color: #fff !important; /*#cceeff*/
}

.advert img {width:38px;height:38px;}

#static-widget .advert {
	width:49%;
	display:inline-block;
}

#static-widget .advert a {
	text-decoration:none;
	text-align:center;
	padding: 10px 12px;
	margin: 10px 0;
	display: block;
	border:1px solid #333;
}

#static-widget .textwidget {padding-bottom:1em;}

/* --- Footer
				--- */

div.bottomMenu {border-bottom: 1px #555555 solid;padding: 10px;}
.menu-footer-menu-container ul li {display: inline;}
.menu-footer-menu-container ul li a {color:#777777 !important}

#site-footer img {opacity: 0.4;}
#custom-footer {padding:4em 15%; font-weight:thin;color:#777;}
#custom-footer img {opacity: 1.0 !important;}
#custom-footer>p {padding-left:16px; border-left:8px solid #444;}
#custom-footer h4 {margin: 2em 0 0 0;}

#custom-footer>a  {
    border: 1px solid #009688;
    padding: 12px 18px;
    border-radius: 2px;
    color: #009688;
    font-weight: 300;
    margin: 1.5em 0 1em 0 !important;
    display: inline-block;
}

#custom-footer>a:hover {opacity: 0.8;}

/* --- Addons
				--- */

#site-footer .design-credit, #site-footer .design-credit a {color:#444 !important; font-weight:normal !important;}
#site-footer .icon-container {color:#999;}

/* .hidden was intended to be used to controll header's logo visibility acorss different page types.
	It's here but not in action, so probably depreciated :)	
 */

.hidden {visibility:hidden;}

/* --- Media 
				Queries --- */

@media (max-width: 1096px) {
	#breadcrumbs {text-align:center;}
	.single h1 {border-left: 0;}
}

@media (max-width: 899px) {
	
	#loop-container .entry {
		width: 100%;
		max-width: 100%;
		margin: 5px;
		}

	img.logo {width:175px;}
	
	.main {width: 90%;}
	.post-container h2 a {line-height: 1em; font-weight:400;font-size:0.85em}
	.menu li a {display:block;}
	
	#title-container .tagline {padding: 0;font-size: 1.45em;font-weight: 300;}
	h1.tagline {padding: 20px !important;}
	
	#menu-primary-items {float:unset !important;}
	#menu-primary-items button.toggle-dropdown {margin:0}
	div.menu-primary-container .open {border-bottom: 1px #ddd solid}
	#menu-primary-items ul.sub-menu li.menu-item a {color:#eee !important;border:0}

	.site-header {padding-top:10px;}

}

@media (min-width: 900px) {

	.site-title, .tagline {
	    display: inline-block;
	}

	.float-left {
		float: left !important;
	}

	.site-title-post {
		/*float: left;*/
	}

}
