/*
 Theme Name:   Base Phil child theme
 Theme URI:    http://phil.ca/
 Description:  A Child Theme built for Divi
 Author:       Phil Communications
 Author URI:   http://phil.ca/
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* Divi theme fixes ********************************* */

/* Setting body font ********************************* */

@import url('http://fonts.googleapis.com/css?family=Jost');

p {
	font-family: 'Jost', sans-serif !important;
}



/* body text sizes  ********************************* */

@media all and (min-width: 981px) {
	body {font-size:15px;}
}
 
@media all and (max-width: 980px) {
	body {font-size:14px;}
}
 
@media all and (max-width: 479px) {
	body {font-size:13px;}
}

/* heading styles ---------------------------------------- */

h1 {font-size: 2em;}
h2 {font-size: 1.7em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.3em;}
h5 {font-size: 1.2em;}
h6 {font-size: 1.1em;}

/* Bullet fixes ----------------------------------- */

.entry-content ul, .entry-content ol {
    list-style-position: outside;
    padding: 0 0 1em 2em;
}

#left-area ul, #left-area ol {
    list-style-position: outside;
    padding: 0 0 1em 2em;
}

.entry-content ol li ol {
    padding: 2px 0 2px 20px;
}

#left-area ol li ol {
    padding: 2px 0 2px 20px;
}

.et_pb_widget_area ul {
    text-indent: 0;
}

.et_pb_social_media_follow li {
    text-indent: initial;
}

.et_pb_text p:last-of-type {
    padding-bottom: 1em;
}

/* fix site width ----------------------------------- */

.container {width: 90%;}

.et_pb_row {width: 90%;}

/* paragraph spacing ----------------------------------- */

.et_pb_text p:last-of-type {padding-bottom: 1em;}

/* back to top button --------------------------------- */

.et_pb_scroll_top.et-pb-icon {
    border-radius: 19px;
    background: #7AC142 !important;
}

/* change menu down arrow --------------------------- */

#top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after {
content: "";}

#top-menu .menu-item-has-children > a:first-child {padding-right: 0;}

/* get rid of grey bar in mobile nav ----------------------- */

.et_header_style_split #main-header .mobile_nav {
    background-color: transparent;
}

.mobile_menu_bar:before {
    color: #7AC142;
    position: relative;
    font-size: 35px;
    content: "\61";
    cursor: pointer;
    background-color: #eee;
    border-radius: 9px;
}

.et_mobile_menu {
    left: initial;
    right: 0;
    width: 250px;
}

/* Secondary menu dropdown -------------------------------------------- */

#et-secondary-nav li ul {
    padding: 0;
}
#et-secondary-nav li > ul {
    width: 250px;
}
#et-secondary-nav li li a {
    padding: 0.5em;
}
#et-secondary-menu > ul > li a {
    padding-bottom: 0.5em;
}

/* footer fixes --------------------------------------- */

@media (max-width: 767px) {
  #footer-widgets { display: none; }
}

/* read more button ------------------------------------ */

a.more-link {
  padding: 3px 13px;
  border: 2px solid #439dc3;
  border-radius: 17px;
  text-transform: capitalize;
  font-weight: 600;
  display: table;
  margin-top: 9px;
}

a.more-link:hover {
  background-color: #205364;
  border: 2px solid #205364;
  color: #fff;
}

