/*
Theme Name: KS Linguistics
Theme URI: http://10am.ca/
Version: 1.0.1
Author: http://10am.ca
Author URI: http://10am.ca
Tags: 

Template: Divi

*/

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

/* = customization starts here
-------------------------------------------------------------- */


body {
    font-size: 18px; background-attachment:fixed;
}

.et_pb_section { padding: 30px 0; }
.et_pb_row { padding-top: 20px; }

#main-content, .et_pb_section {
  background-color: #111111;
}
#main-content .container:before { display: none; }

.et_pb_bg_layout_dark { color: #ddd !important; }
.et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, .et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6 { color: #f7f7f7 !important; }

#main-header { padding-top: 0; }

.pages-header .et_pb_image { margin-bottom: 0; }

.et_pb_social_media_follow.et_pb_bg_layout_dark li a.follow_button { background: #555; }
.et_pb_social_media_follow.et_pb_bg_layout_dark li a.follow_button:after {
    content: " (" attr(href) ")";
}

.et_pb_blurb { margin-bottom: 20px; }
.et_pb_blurb_position_left .et-pb-icon, .et_pb_blurb_position_right .et-pb-icon {  margin-top: 0; }
.et_pb_blurb_content { max-width: inherit; }

#lang_sel_list { text-align: center; }
#lang_sel_list ul { display: inline-block; } 
#lang_sel_list li.wpml-ls-current-language a, #lang_sel_list a { padding: 5px 15px; margin: 0 2px; font-size: 11px; font-weight: bold; text-transform: uppercase; } 
#lang_sel_list li.wpml-ls-current-language a { background-color: #feca05; color: #111; }
#lang_sel_list li.wpml-ls-current-language a:hover { background-color: #feca05; }
#lang_sel_list a { background-color: #999; color: #111; }
#lang_sel_list a:hover { background-color: #ccc; }
#slider-home { padding-top: 20px; }

/* = Top Menu
-------------------------------------------------------------- */

body #top-menu li > a, body .fullwidth-menu li > a { font-weight: 800; }
body #top-menu li.current-menu-item > a, body .fullwidth-menu li.current-menu-item > a { font-weight: 800; }


/* = Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {

}

h1 { font-family: "Raleway"; font-size: 48px; text-transform: uppercase; letter-spacing: 0.01em; font-weight: 900; }
.page-title h1, .page-title-contact h1 { font-size: 30px; }
.page-title { display: none; }

h2 { font-family: "Roboto Condensed"; font-size: 32px; font-weight: 900; }
h3 { font-family: "Raleway"; font-size: 32px; text-transform: uppercase; letter-spacing: 0.01em; font-weight: 900; }
#et-main-area .et_pb_text_align_left h1, #et-main-area .et_pb_text_align_center h1, #et-main-area .et_pb_text_align_left h3, #et-main-area .et_pb_text_align_center h3 { padding-bottom: 0.15em; border-bottom: #feca05 solid 3px; display: inline-block; margin-bottom: 0.5em; }
#et-main-area .et_pb_text_align_left h2, #et-main-area .et_pb_text_align_right h2 { padding-bottom: 0.66em; }

.et_pb_promo_description h2, .et_pb_blurb_content h4 {
    font-family: "Raleway";
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-weight: 900;
    padding-bottom: 0.15em;
    border-bottom: #feca05 solid 3px;
    display: inline-block;
}
.et_pb_promo_description h2 { border-bottom: 0; color: #feca05!important; }

.et_pb_text { margin-bottom: 20px; }

.et_pb_text_align_left h1, .et_pb_text_align_left h2, .et_pb_text_align_right h2 { padding-bottom: 1em; }

.et_pb_post p, .et_pb_text { line-height: 1.5em; }

p { line-height: 1.5em; }

.image-center .et_pb_column_4_4 { text-align: center; }

.features p { font-size:20px; color:#fff; font-weight:300; }

.page-id-69 .et_pb_blurb_position_left .et-pb-icon-circle, .page-id-69 .et_pb_blurb_position_right .et-pb-icon-circle { font-size: 25px; }

.et_pb_contact_main_title { font-weight: 800; color: #ffffff; text-transform: none; }


/* = Services Page
-------------------------------------------------------------- */

.service1 ul li { padding-bottom: 8px; }


/* = Portfolio Page
-------------------------------------------------------------- */

.page-id-175 .entry-content .portfolio h2, .page-id-271 .entry-content .portfolio h2 {
    padding-bottom: 0.66em;
    border-bottom: #feca05 solid 3px;
    margin-bottom: 0.66em;
}
.page-id-175 .entry-content img, .page-id-271 .entry-content img {
    display: block;
    width: 50%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: #999 solid 3px;
    border-radius: 10px;
    float: right;
    margin: 20px 0 5px 20px;
}

.et_pb_testimonial {
    position: relative;
    padding: 0 0 0 30px;
    line-height: 1.5;
    margin-bottom: 30px;
    border-left: 3px solid #2b2b2b;
}

.page-id-175 .entry-content .wp-image-243, .page-id-271 .entry-content .wp-image-297 { padding: 0; width: 60%; }


/* = Contact Form
-------------------------------------------------------------- */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
    padding: 10px;
    display: block;
    width: 100%; 
    border: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wpcf7-form .wpcf7-captchar { width: 53px!important; }

.wpcf7-form input[type="submit"] {
    padding: 6px 20px;
    background: #feca05;
    font-size: 20px;
    border: 0;
    border-radius: 4px;
}
.wpcf7-form input[type="submit"]:hover { background: #999; cursor: pointer; }


/* = Media Querries and Mobile
-------------------------------------------------------------- */

.et_mobile_menu { border: 1px solid; }
.et_mobile_menu li a { font-size: 16px; font-weight: 800; text-transform: uppercase; }

@media only screen and (max-width: 980px) {
    .et_pb_section { padding-bottom: 0; }
    .pages-header { display: none; }
    .page-title { display: inline-block; }
    .home .et_pb_column_1_3 { padding-bottom: 0; }
}

@media only screen and (max-width: 767px) {
    .page-id-175 .entry-content img, .page-id-271 .entry-content img { width: 100%!important; float: none; margin: 20px 0 0 0; }
    .et_pb_social_media_follow.et_pb_bg_layout_dark li a.follow_button:after { content: none; }
    #home-slider { padding: 0; }
    #home-slider .et_pb_row, #home-slider .container, #home-slider .et_pb_container { width: 100%; padding-top: 0; }
}

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

/* Smooth Transitions on anchors  */

a { -webkit-transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
}



/* IE fix  */

#ie6 .et_pb_column, #ie7 .et_pb_column, #ie8 .et_pb_column  {  margin-right: 25px; }

/* Chromium font fix from https://code.google.com/p/chromium/issues/detail?id=336476 */
body
{
    -webkit-animation-duration: 0.1s;
	-webkit-animation-name: fontfix;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-webkit-animation-delay: 0.1s;
}

@-webkit-keyframes fontfix{
	from{ 	opacity: 1; }
	to{	opacity: 1; }
}
