/*
Theme Name:     T8TA Divi Child Theme
Description:    T8TA Divi Child Theme
Author:         coppermoon
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

h1, h2, h3, h4, h5, h6 { 
line-height: 1.3em; 
padding-bottom: 1em;
}

div#main-content {
  min-height: 750px;
}

.header-content h1 {
	text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.3);
}

/*#main-content .container {
	padding-top: 0 !important;
}*/

.post-meta a {
  color: #336FAD !important;
}

.et_pb_slide_description h2 {
  font-weight: 300;
  font-size: 2em;
  margin-top: 0;
  text-transform: uppercase;
}

.et-learn-more h3.heading-more {
  font-size: 18px !important;
  color: #336FAD !important;
}

p.lead {
font-size: 1.8em;
    line-height: 1.3em;
}

/*HEADER STYLES*/

/*#logo {
	margin-top: 5px;
}*/

.et-search-form input {
  background: rgba(58, 113, 169,0.6);
}

.et_search_form_container input {
	color: #fff !important;
}

.et_pb_fullwidth_header {
	padding: 2em 0;
}

.header-content h1 {
  text-align: center;
  font-weight: 700;
  padding: 6% 0;
  font-size: 3em;    
  text-transform: uppercase;  
}

/*NAV STYLES*/

#top-menu li {
	font-size: 16px !important;
	text-transform: uppercase;
}

#top-menu li li a {
    line-height: 1.3rem;
	padding: 6px 10px;
}

.et_header_style_split #et-top-navigation nav > ul > li > a {
	padding-bottom: 45px;
}


/* HOMEPAGE ROW 2 STYLES*/

.motto-title h2 {
  font-size: 2em;
  color: #000;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/*COLORED BORDER ON ROWS*/

.et_pb_section_1 {
	border-top: 7px solid #336fad;
}

.et_pb_section_2 {
	border-top: 7px solid #ba2033;
}


/* ESSENTIAL GRID STYLES*/

.eg-homepage-grid-content {
	padding: 10px !important;
	text-align: center !important;
}

li.eg-homepage-grid-wrapper {
	background-color: rgba(15, 15, 15, 0) !important;
}

.eg-homepage-grid-content {
  background-color: transparent !important;
}

.ten-columns .et_pb_module {width: 10%; float: left;}
.nine-columns .et_pb_module {width: 11.11%; float: left;}
.eight-columns .et_pb_module {width: 12.5%; float: left;}
.seven-columns .et_pb_module {width: 14.28%; float: left;}
.six-columns .et_pb_module {width: 16.66%; float: left;}
.five-columns .et_pb_module {width: 20%; float: left;}


@media (max-width: 980px){
.ten-columns .et_pb_module {width: 20%;}
.nine-columns .et_pb_module {width: 33.3%;}
.eight-columns .et_pb_module {width: 25%;}
.seven-columns .et_pb_module {width: 25%;}
.six-columns .et_pb_module {width: 33.3%;}
.five-columns .et_pb_module {width: 33.3%;}
}
 
@media all and (max-width: 767px) {
.ten-columns .et_pb_module {width: 100%;}
.nine-columns .et_pb_module {width: 100%;}
.eight-columns .et_pb_module {width: 100%;}
.seven-columns .et_pb_module {width: 100%;}
.six-columns .et_pb_module {width: 100%;}
.five-columns .et_pb_module {width: 100%;}
}


/* HOMEPAGE ROW 3 STYLES*/


.news-feed li {
  list-style-type: none;
}

/*EVENTS CALENDAR WIDGET STYLES*/

#tribe-events-bar {
  margin-top: 3em;
}

#tribe-events-adv-list-widget-2 .widgettitle, #recent-posts-2 .widgettitle {
	display: none !important;
}

.tribe-mini-calendar-event .list-info h2 {
	font-size: 20px;
	font-weight: normal;
}

.tribe-mini-calendar-event .list-date .list-dayname {
	font-size: 20px;
	font-weight: normal;
}

.tribe-mini-calendar-event .list-date {
  padding: 0;
	background-color: #4b82b3;
}

.upw-posts .entry-title {
    margin-bottom: 0 !important;
    line-height: 20px;
}

.upw-posts .entry-meta {
    margin-bottom: 0 !important;
}

.upw-posts .entry-title a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.n10s-block h2 span {
    font-weight: 800 !important;
     background: #3b71a9a1; 
    word-spacing: 1px;
    font-size: 1.1em;
}

/*CURRENT WEATHER WIDGET STYLE*/

.better-weather {
	text-shadow: none !important;
}

.better-weather[max-width~="400px"] .bw_days {
	/*background-color: #eab287;*/
	background-color: #df8030;
}

.better-weather.have-next-days[max-width~="400px"] .bw_currently {
    background-color: #df8030;
}

.bw_date-loc {
	font-size: 20px;
}

.better-weather.style-modern[max-width~="400px"] .bw_degree {
  top: 90px;
}

.better-weather[max-width~="400px"], .better-weather[max-width~="400px"] {
  height: 180px !important;
}

.better-weather[max-width~="400px"], .better-weather[max-width~="400px"] {
  height: 300px !important;
}

/*----------------*/


#recent-posts-2 .post-date {
	font-size: 16px !important;
	margin-bottom: 40px;
	display: inherit;
}

/*SOCIAL ICONS*/

.my-icons a {
	color: #fff !important;
}

/*FOOTER STYLES*/

#main-footer {
    background-image: url(http://treaty8.bc.ca/wp-content/uploads/2015/06/footer-bg-01.jpg);
}

#footer-info {
  color: #4B82B3 !important;
  text-align: center;
  font-size: 14px;
}

/*#footer-bottom {
	text-align: center;
}*/

.footer-text {
	color: #fff !important;
	font-size: 16px;
	line-height: 1.5em;
}

.footer-text h4 {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 1em;
}

/*PAGE HEADER IMAGES*/

.page-banner {
	max-height: 450px;
}

.et_pb_column_1_3 h1, .et_pb_column_1_4 h1, h2 {
	font-weight: bold;
}

.info-slider .et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
  padding: 10% 8%;
}

.et_pb_module.et_pb_slider.et_pb_slider_fullwidth_off.info-slider {
  height: 15em;
}


/*POSTS STYLES*/ 

.et_pb_section.blog-section {
  padding: 0;
}

.et_pb_blog_0 h2.entry-title a {
 	background: #ececec;
    color: #336fae;
    line-height: 2.3rem;
}

.et_pb_blog_0 article {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 1rem;
}


/*REMOVE TOP BORDER FROM BLOG PAGES*/

.et_pb_section_1 {
  border-top: none !important;
}

.et_pb_section.blog-slider {
  padding: 0;
}

/*ADD MARGIN TO DEFAULT PAGES' MAIN CONTENT DIV*/

@media only screen and (min-width: 980px) {

.et_full_width_page #left-area {
	margin-bottom: 40%;
}

}

/*STAFF CPT STYLES*/

.et_pb_team_member_image {
	width: 200px;
	margin-bottom: 2em;
}


/*SET LEFT COLUMN TO FULL WIDTH*/

/* #left-area {
  width: 100%;
  padding-bottom: 23px;
  } */


/* Remove Sidebar Border */
	
	.container::before { 
		display:none; 
	}

/* SIDEBAR STYLES */
.et_pb_widget {
    margin-bottom: 50px !important;
}

h4.widgettitle {
    text-transform: uppercase;
    background: #dcc4a3;
    padding: 3px;
    margin-bottom: 1em;
    color: #fff;
	font-size: 18px;
}

.et_pb_widget li a {
/*    color: #336FAD !important;*/
}

.et_pb_widget ul li {
    margin-bottom: 1em;
    line-height: 1.4em;
    text-transform: uppercase;
    font-size: 15px;
}

.et_pb_widget .current-menu-item a {
  color: #3570af;
}

/* JOBS STYLES */


.job_filters .job_types li {

    list-style: none;
}

/*MOBILE STYLES*/

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

.et_parallax_bg {
  background-position: top left !important;
}
.et_pb_section_0 {
    background-position: center left;
}

}

/* ------- iPad menu hack ---------- */

@media only screen and (max-width: 1120px) and (min-width: 981px) {
#main-header #top-menu li { font-size: 12px !important; padding-right: 10px; }
/*#logo { max-height: 40px; }*/
}


/*#logo { display:none !important; }*/


/*ALL IN ONE HOME CALENDAR STYLES*/

.timely {
    margin: 0;
    font-family: "Lato", Arial, sans-serif !important;
}

.ai1ec-month-view .ai1ec-day-stretcher {
height: 4rem;
}

.ai1ec-month-view th {
    border: 1px solid #fff !important;
    background: #3d6b99 !important;
    color: #FFFFFF !important;
    text-shadow: none;
}

.ai1ec-month-view .ai1ec-date {
  background: #fff !important;
  font-size: 0.8rem;
  
}

.timely a, .timely a:link {
  font-weight: bold;
}

.ai1ec-month-view .ai1ec-today {
    background: rgba(0, 114, 187, 0.15) !important;
}

.ai1ec-pull-left {
    display: none;
}

.ai1ec-pull-right {
    display: none;
}

.ai1ec-calendar-toolbar {
  display: none;
}

.ai1ec-month-view .ai1ec-event-time {
  display:none;
}

span.ai1ec-event-title {
    font-size: 0.8rem;
    font-weight: bold;
}
a.ai1ec-load-view {
    font-weight: bold !important;
    color: #1e1a10 !important;
}

a.ai1ec-load-event {
    font-size: 1rem;
}

.ai1ec-event-time {
    font-size: 0.8rem;
}

a.ai1ec-load-event {
    line-height: 1rem;
}

.ai1ec-popup-excerpt {
    font-size: 0.9rem;
}

a.ai1ec-next-year.ai1ec-load-view.ai1ec-btn.ai1ec-btn-sm.ai1ec-btn-default {
    display: none;
}

a.ai1ec-prev-year.ai1ec-load-view.ai1ec-btn.ai1ec-btn-sm.ai1ec-btn-default {
    display: none;
}

.ai1ec-col-sm-3 {
    width: inherit;
}

.ai1ec-field-label {
    font-size: 1rem;
    color: #0072BC;
}

/*ALL IN ONE CALENDAR AGENDA STYLES*/ 

.ai1ec-agenda-view .ai1ec-date.ai1ec-today {
  background: none;
  border-top: 0;
}

.ai1ec-agenda-view .ai1ec-date {
  border-top: none;
  margin-bottom: 1rem;
}

.ai1ec-agenda-view .ai1ec-date-title {
  border-radius: 0 !important;
  background-image: none;
  background: #fff;
  border-top: 0 !important;
}

.ai1ec-agenda-view .ai1ec-month {
  border-radius: 0 !important; 
  background: #336fad; 
}

.ai1ec-agenda-view .ai1ec-date {
  background: #fff;
}

.ai1ec-agenda-view .ai1ec-event {
  border-radius: 0;
  border: 0;
}

.ai1ec-agenda-view .ai1ec-event-toggle {
    display: none;
    color: #564B2E;
}

.ai1ec-agenda-view .ai1ec-event .ai1ec-event-title {
    color: #333!important;
    font-size: 1.3rem;
}

.timely .ai1ec-btn-default {
    background-color: #fff;
    border-radius: 0;
}

.timely table, #ai1ec-container table {
    line-height: inherit;
    min-height: 600px;
}

.post-meta {
    display: none;
}
