/*
Theme Name: North Shore Learning Clinic
Version: 1.0
Description: Child theme for ElegantThemes "Divi"
Author: Canton Becker
Author URI: http://cantonbecker.com
Template: Divi
*/

/*** Hacks to Divi parent theme (if any) noted below

***/


@import url("../Divi/style.css");

/* Logo for mobile */
@media only screen and (max-width: 600px) {
  img#logo { content:url("/pix/logo-mobile.png"); }
}

/*
@media only screen and (max-width: 1220px) and (min-width: 600px) {
  img#logo { width: 235px; }
  div#et-top-navigation { padding-left: 230px !important; }
}
*/

/* Fix header height on tablets */
@media only screen and (min-width:500px ) and (max-width:981px ) {
    #main-header { min-height: 110px !important; margin-top: 20px !important; } /* normal */
}

/*** MENU ***/
nav#top-menu-nav ul#top-menu.nav li ul.sub-menu li a { line-height: 1.2em; }
nav#top-menu-nav ul#top-menu.nav li { text-transform: uppercase; font-weight: normal; padding-right: 7px;}
nav#top-menu-nav ul#top-menu.nav li ul.sub-menu li { text-transform: none; font-weight: normal; }

/* remove carret from drop down menu */
#top-menu .menu-item-has-children > a:first-child:after{content: ''; margin-top: -2px;}

img#logo { max-height: 85px; } 

/* dropdown customization */
.nav li ul { width: 300px; }
#top-menu li li a { padding: 8px 10px; width: 260px; }

/* LINKS LIBRARY */
div.linklistcatname { text-transform: uppercase; color: #FE7517; font-size: 20px; font-weight: normal; }
.LinkLibraryCat li small { display: block; font-size: 13px; line-height: 16px; }
.LinkLibraryCat li { padding-bottom: 10px; list-style: none; }
div.LinkLibraryCat { border-top: 1px solid #FE7517; padding-top: 0; margin-top: 15px; }
a div.linkcatname { color: #FFFFFF; }


/* Gravity form submit buttons */
body .gform_wrapper .gform_footer input[type=submit]
{
	border: 1px solid #ffffff;
	-moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	border-radius: 14px;
	-moz-box-shadow: 2px 2px 3px #666;
	font-size: 16px;
	color: #ffffff;
	padding: 7px 10px;
	outline: 0;
	-webkit-appearance: none;
	background-color: #28A1AF;
	text-transform: uppercase; 
}

body .gform_wrapper .gform_footer input[type=submit]:hover
{
	background-color: #FC7524;
}



/* HOME PAGE */

@media only screen and (min-width: 600px ) {
	img.homeportrait { float: left; margin: 20px 20px 0 0; width: 300px; }
}

/*** FOOTER ***/
div#footer-info a { font-weight: normal; }

/* Opt-in footer form */
#main-footer div.et_bloom_form_text h2 { font-weight: normal !important; text-transform: uppercase; font-size: 18px; }

/* Footer Badges */

div.footer-widget .widget_media_image img { opacity: 0.8; filter: alpha(opacity=80); }
div.footer-widget .widget_media_image img:hover { opacity: 1; filter: alpha(opacity=100); }
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
    margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
	div.footer-widget .widget_media_image img { width: 125px; opacity: 1; filter: alpha(opacity=100); padding: 5px;}
	.footer-widget { float: none; }
}

/*** TYPOGRAPHY ***/

.shadowtext, .shadowlighttext { text-shadow: -1px 1px 1px rgba(0,0,0, 0.4); }


p:last-of-type { padding-bottom: 1em; } /* Restore padding beneath final paragraphs */
div.et_pb_text h5 { color: #ED6842; font-size: 18px; line-height: 24px; }

/* p.post-meta a:hover, div.entry-content a:hover { text-decoration: underline !important; } */

p.post-meta { color: #999; } 

div.post-content a.more-link { text-transform: uppercase; }

div#sidebar div.textwidget p a { color: #0C747D; }

.et_pb_text h3, .et_pb_text h4, .et_pb_text h5, .et_pb_text h6, .et_pb_text h7 { line-height: 1.4em; }

/* Lists */
div.entry-content ol li , div.entry-content ul li { padding-bottom: 5px; }
div.entry-content ol, div.entry-content ul { padding-bottom: 5px; }

.et_pb_bg_layout_dark ul li a { color: #FFFFFF; }


/*** HR-FANCY SHORTCODE ***/ 
div.hrfancy { margin: 10px 0 20px 0; }
div.hrfancy img { height: 30px; }


/* Sidebar blog posts with thumbnails */
h3.rpwe-title { font-size: 16px !important; }

.rpwe-block ul{
list-style: none !important;
margin-left: 0 !important;
padding-left: 0 !important;
}

.rpwe-block li{
border-bottom: 1px solid #eee;
margin-bottom: 10px;
padding-bottom: 10px;
list-style-type: none;
}

.rpwe-block a{
display: inline !important;
text-decoration: none;
color: #016E77;
}

.rpwe-block h3{
background: none !important;
clear: none;
margin-bottom: 0 !important;
margin-top: 10px !important;
font-weight: 400;
font-size: 14px !important;
line-height: 1.2em;
}

.rpwe-thumb{
border: 1px solid #eee !important;
box-shadow: none !important;
margin: 2px 10px 2px 0;
padding: 3px !important;
}

.rpwe-summary{
font-size: 12px;
}

.rpwe-time{
color: #bbb;
font-size: 11px;
}

.rpwe-comment{
color: #bbb;
font-size: 11px;
padding-left: 5px;
}

.rpwe-alignleft{
display: inline;
float: left;
}

.rpwe-alignright{
display: inline;
float: right;
}

.rpwe-aligncenter{
display: block;
margin-left: auto;
margin-right: auto;
}

.rpwe-clearfix:before,
.rpwe-clearfix:after{
content: "";
display: table !important;
}

.rpwe-clearfix:after{
clear: both;
}

.rpwe-clearfix{
zoom: 1;
}


/*** Wider sidebars on default pages, e.g. blog! ***/
/*Change Post, Project & Archive Page Sidebars from one fourth to one third*/
    .container::before { display:none; }
    .single-project div#left-area {width: 700px;}
    .single-project div#sidebar {width: 300px;}
    .single-post div#left-area {width: 700px;}
    .single-post div#sidebar {width: 300px;}
    .archive div#left-area {width: 700px;}
    .archive div#sidebar {width: 300px;}
    .search div#left-area {width: 700px;}
    .search div#sidebar {width: 300px;}
 
    /* LAPTOP - IPAD LANDSCAPE (981-1100) */
        @media only screen
        and (min-width: 981px )
        and (max-width: 1100px ) {
        .single-project div#left-area {width: 630px;}
        .single-project div#sidebar {width: 240px;}
        .single-post div#left-area {width: 630px;}
        .single-post div#sidebar {width: 240px;}
        .archive div#left-area {width: 630px;}
        .archive div#sidebar {width: 240px;}
        .search div#left-area {width: 630px;}
        .search div#sidebar {width: 240px;}}
 
    /* TABLETS - IPAD PORTRAIT (768-980) */
        @media only screen and (max-width : 980px) {
        .single-project div#left-area {width: 700px;}
        .single-project div#sidebar {width: 700px;}
        .single-post div#left-area {width: 700px;}
        .single-post div#sidebar {width: 700px;}
        .archive div#left-area {width: 700px;}
        .archive div#sidebar {width: 700px;}
        .search div#left-area {width: 700px;}
        .search div#sidebar {width: 700px;}}
 
    /* MINI TABLETS - IPHONE LANDSCAPE (480-767) */
        @media only screen and (max-width: 767px ) {
        .single-project div#left-area {width: 400px;}
        .single-project div#sidebar {width: 270px;}
        .single-post div#left-area {width: 400px;}
        .single-post div#sidebar {width: 270px;}
        .archive div#left-area {width: 400px;}
        .archive div#sidebar {width: 270px;}
        .search div#left-area {width: 400px;}
        .search div#sidebar {width: 270px;}}
 
    /* CELL PHONES - IPHONE PORTRAIT */
        @media only screen and (max-width: 479px ) {
        .single-post div#left-area {width: 280px;}
        .single-project div#left-area {width: 280px;}
        .single-project div#sidebar {width: 280px;}
        .single-post div#sidebar {width: 280px;}
        .archive div#left-area {width: 280px;}
        .archive div#sidebar {width: 280px;}
        .search div#left-area {width: 280px;}
        .search div#sidebar {width: 280px;}}