/*   
Theme Name: Responsive Child Theme
Description: Responsive Child Theme
Author: Skarjune
Template: responsive
*/



/* Import Responsive Styles */

@import url('../responsive/style.css');



/* =Start Here
/* =Media Print
    If you're working on a Child Theme, make sure that all
	media queries are included in your style.css
-------------------------------------------------------------- */
@media print {

    h1 {
	    page-break-before: always;
    }

    h1,  h2,  h3,  h4,  h5,  h6 {
	    page-break-after: avoid;
    }

    ul,  ol,  dl {
	    page-break-before: avoid;
    }
}

/*	Retina (HiDPI) Display
    http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html
-------------------------------------------------------------- */
@media 
    only screen and (-moz-min-device-pixel-ratio:1.5), 
    only screen and (-o-min-device-pixel-ratio:3/2), 
    only screen and (-webkit-min-device-pixel-ratio:1.5), 
    only screen and (min-device-pixel-ratio:1.5) {
    
    body {}
}

/* =Responsive (Mobile) Design
-------------------------------------------------------------- */
@media screen and (max-width: 980px) {

    body {}
	
    .grid, 
	.grid-right {
	    float: none;
    }
	
	#featured-image .fluid-width-video-wrapper {
	    margin: 20px 0 0 0;
    }
	
	.home #widgets {
		margin-top: 40px;
	}
    
    .top-widget,
    .home .top-widget {
        margin-top: 0 !important;
    }
    
    .hide-980 {
        display: none;
    }
    
    .show-980 {
        display: block;
    }
    
}

@media screen and (max-width: 650px) {

    body {}

    #logo {
	    float: none;
        margin: 0;
	    text-align: center;
    }

    .grid, 
	.grid-right {
	    float: none;
    }

	#featured-image .fluid-width-video-wrapper {
	    margin: 20px 0 0 0;
    }
    
    .top-widget {
        float: none;
        margin: 0 auto 10px auto;
        position: relative;
        text-align: center;
        width: auto;
    }
    
    .top-widget .widget-title {
        text-align: center;
    }
	
    .js .menu,
	.js .sub-header-menu {
		display: none;
	}
	
	.top-menu, 
	.footer-menu li {
	    float: none;
        font-size: 11px;
	    text-align: center;
    }
	
	.tinynav {
        display: block;
    }
    
    .sb-holder {
        display: block;
    }
    
    #author-meta {
        padding: 20px;
    }
    
    .hide-650 {
        display: none;
    }
    
    .show-650 {
        display: block;
    }
    
    #footer {
	    text-align: center;
    }

    #footer .social-icons {
        padding-bottom: 10px;
	    text-align: center;
    }
}

@media screen and (max-width: 480px) {

    body {}

    #logo {
	    float: none;
	    text-align: center;
    }

    .grid, 
	.grid-right {
	    float: none;
    }
	
	#featured-image .fluid-width-video-wrapper {
	    margin: 20px 0 0 0;
	}
	
	.featured-title {
	    font-size: 40px;
	    padding: 40px 20px 0 20px
    }
    
    .featured-subtitle {
        font-size: 24px;
    }
    
    .navigation .next,
    .navigation .previous {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
	
    .menu ul, 
	.menu li, 
	.top-menu, 
	.footer-menu li, 
	.sub-header-menu li {
	    float: none;
	    text-align: center;
        text-rendering: optimizeSpeed;
    }
	
	.menu li {
		padding: 0 3px;
	}
	
    .hide-480 {
        display: none;
    }
    
    .show-480 {
        display: block;
    }
    
    #footer {
	    text-align: center;
    }

    #footer .social-icons {
	    text-align: center;
    }
}

@media screen and (max-width: 320px) {
    
    body {}
	
	#featured p {
	    font-size: 12px;
		line-height: 1.5em;
    }

    .featured-title {
	    font-size: 35px;
    }
	
	.featured-subtitle {
		font-size: 15px;
	}

    .call-to-action a.button {
	    font-size: 14px;
	    padding: 7px 17px;
    }

    .hide-320 {
        display: none;
    }
    
    .show-320 {
        display: block;
    }
}

@media screen and (max-width: 240px) {
    
    body {}
	
	#featured p {
	    font-size: 11px;
		line-height: 1.5em;
    }

    .featured-title {
	    font-size: 20px;
    }
	

	.featured-subtitle {
		font-size: 11px;
	}

    .call-to-action a.button {
	    font-size: 12px;
	    padding: 5px 15px;
    }
    
    .top-widget area,
    .top-widget select,
    .top-widget textarea,
    .top-widget input[type="text"], 
    .top-widget input[type="password"] {
        width: 75%;
    }
    
     .widget-title,
    .widget-title-home h3 {
        font-size: 14px;
        height: 13px;
        line-height: 13px;
        text-align: left;
    }
    
    .hide-240 {
        display: none;
    }
    
    .show-240 {
        display: block;
    }
}


/* CUSTOM CGMC */


#wrapper, div#wrapper{ 
	margin: 0px auto;
	padding: 0px 0px 0px 20px;
	border: 0px;
	border-radius: 0em;
	background-image: url('https://commongroundmeditation.org/wpsite/wp-content/themes/responsive-child-theme/images/fauxcolbg.png');
	background-repeat:repeat-y; 
	}

.home #wrapper{ 
	margin: 0px auto;
	padding: 0px 20px 0px 20px;
	border: 0px;
	border-radius: 0em;
	background-image:none;
	background-color:#FFF; 
	}	
	
div#logo {max-height:143px;}

body.home h1.post-title {display:none;}

#content, #content-full {
	margin-top:10px;
}

#widgets {
	background-color:transparent;
	font-family: lato,verdana,sans-serif;
	border:none;	
	margin-top:0;
	padding-top:2px;
	}

.widget-wrapper {
	background-color:transparent;
	border:none;	
	padding:30px;
}

.col-620 {
/*	width: 63.8723% */
width:70%;
}

.col-300 {
/*	width:34%	 */
	width:25%;
	padding-left:20px;
	margin-right:0px;
	padding-right:0px;
}

#content a {
	color:#007987;
	text-decoration:none;
	border-bottom: 1px dotted #007987;
}

#content a:hover {
	color:#da5e18;
	text-decoration:none;
	border-bottom: 1px solid #da5e18;
}

/* Home button boxes */

.home-but-box {
	width:25%;
	float: left;
	min-width:150px;
	margin:0px;
	padding:0px;
}

.home-but-box h1  {
	margin: 0px;
	padding:.5em .5em .5em 0;
	font-size:1.3em;
}

.home-but-box p, .home-but-box a {
	margin: 0px;
	color:#000;
	padding-right: 1em;
}

.home-but-box a img  {
	margin:0px;
	padding:0px;
}

/* Footer Menu */
.col-940, .col-540, .col-380 {
margin-top: 6px;	
}

.col-540, .col-380,  .col-940, .copyright, .footer-menu, .scroll-top {
margin-bottom: 0px;
}

#footer {
	background-color:#007987;
	color:#fff;
	max-width:910px;
	padding-bottom:6px;
}

#footer a {
	color:#fff;	
}

.footer-donate {
    padding: 5px 10px;
    vertical-align: baseline;
    border-radius: 10px;
    background-color: #6AA716;
    border-color: #2e3c1a;
    pointer:cursor;
}

footer .twitter-icon, footer .facebook-icon {
	margin-bottom:1px;
}


h1.post-title, h1.post-title a {
	font-family: 'Lato',arial,serif;
	font-weight: 300;
	color:#007987;
}

h2, h3 {
	font-family: 'Lato',arial,serif;
	font-weight: 700;
	color:#da5e18;
}




#widgets a {
	color:#464646;
}

#widgets a:hover {
	color:#007987;
}


#widgets div.widget-title a {
		color:#da5e18;
}

div.widget-title {
	color:#da5e18; font-size:1.4em;  margin-bottom:4px; margin-top:10px; padding:0px;
}

#widgets ul, ul.sub-menu, ul.sub-menu li {list-style-type:none; margin-left:0px;}

#widgets ul.sub-menu li {font-size:80%;}

.widget-wrapper,  .widget_text {
	margin:0px;
	padding:0px;
}




#audio-dharma-feed {clear:both;}
#audio-dharma-feed li {margin-bottom:6px; list-style-type:none;}



/* Menu bar */
.menu {
    background-color: #e18236;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e18236), to(#b45e19));
    background-image: -webkit-linear-gradient(top, #e18236, #b45e19);
    background-image: -moz-linear-gradient(top, #e18236, #b45e19);
    background-image: -ms-linear-gradient(top, #e18236, #b45e19);
    background-image: -o-linear-gradient(top, #e18236, #b45e19);
    background-image: linear-gradient(top, #e18236, #b45e19);
    clear: both;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e18236, endColorstr=#b45e19);
    margin: 0 auto;
}

/* Menu items */
.menu a {
	font-family: "Lato", arial, sans-serif;
    color:#fff;
    border-left: 1px solid #b45e19;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    height: 45px;
    line-height: 45px;
    padding: 0 0.9em;
	text-shadow:none;
}
/* Menu item hover */
.menu a:hover {
    background-color: #acb95d;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#acb95d), to(#acb95d));
    background-image: -webkit-linear-gradient(top, #acb95d, #acb95d);
    background-image: -moz-linear-gradient(top, #acb95d, #acb95d);
    background-image: -ms-linear-gradient(top, #acb95d, #acb95d);
    background-image: -o-linear-gradient(top, #acb95d, #acb95d);
    background-image: linear-gradient(top, #acb95d, #acb95d);
    color: #fff;
	border-left: 1px solid #768229;
	text-shadow:none;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#acb95d, endColorstr=#acb95d);
}
/* Current page */
.menu .current_page_item a,
.menu .current-menu-item a {
    background-color: #768229;
	    background-image: -webkit-gradient(linear, left top, left bottom, from(#acb95d), to(#768229));
    background-image: -webkit-linear-gradient(top, #acb95d, #768229);
    background-image: -moz-linear-gradient(top, #acb95d, #768229);
    background-image: -ms-linear-gradient(top, #acb95d, #768229);
    background-image: -o-linear-gradient(top, #acb95d, #768229);
    background-image: linear-gradient(top, #acb95d, #768229);
	    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#acb95d, endColorstr=#768229);
}

/* Menu dropdown */
.menu li li {
    background: #f1f5ed;
    background-image: none;
    border: 1px solid #e5e5e5;
    color: #444;
    filter: none;
    margin: -1px 0 1px 0;
    width: auto;
}
/* Menu dropdown hover */
.menu li li a:hover {
    background: #acb95d !important;
    background-image: none;
    border: none;
    color: #fff;
    filter: none;
}

ul.menu > li:hover {
    background-color: #acb95d;

}

.menu .current_page_item a,
.menu .current-menu-item a {
    background-color: #acb95d;

}

/*  Responsive Nav*/
.js .main-nav {
     background-color: #e18236;
	 background-image: -webkit-gradient(linear, left top, left bottom, from(#e18236), to(#e18236));
    background-image: -webkit-linear-gradient(top, #e18236, #e18236);
    background-image: -moz-linear-gradient(top, #e18236, #e18236);
    background-image: -ms-linear-gradient(top, #e18236, #e18236);
    background-image: -o-linear-gradient(top, #e18236, #e18236);
    background-image: linear-gradient(top, #e18236, #e18236);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e18236, endColorstr=#e18236);
}


/* Sub Menu  */
div.sub-menu-widget div.widget-title {color:#da5e18; font-size:1.4em; margin-bottom:0px; padding-bottom:0px;}

.sub-menu {
	background-color:transparent;
}

#sub-menu a {color:#464646; font-size:1.2em; line-height:1.5em; border-bottom:#464646 1px dotted;}

.sub-menu li a:hover {
	color:#FC6;
	border-bottom: none;
}	



/* Full width No Title hack */
body.page-template-full-width-page-php #wrapper  {
	background-image:none;
}

div.rss-output div.body a.colorbox {
	display:none;	
}



/* Supporting the Center Page*/
h2.cdf-header {
    margin: 0 0 10px 0;
}

.custom-donations-form {
	margin:0;
}

.custom-donations-form td {
	padding:5px 0;
}

.custom-donations-form td, .custom-donations-form table {
	border:0;
}	

/* Responsive Menu */

@media screen and (max-width:650px) {

.menu-item-has-children a {
display:inline-block;
}




.menu .sub-menu {
	display:none;
}

}