/*
Theme Name: CHEP-Custom-Theme
Template: Divi
Author: TLG
Author URI: http://www.tlg.ca
Description: Custom theme created for CHEP
Version: 2.0
Updated: 2018-06-06 21:15:38

*/

@import url("../Divi/style.css");


/* Divi style overrides */

@media all {
 #et_search_icon:hover,
 .mobile_menu_bar::before,
 .mobile_menu_bar::after,
 .et-social-icons a:hover,
 .comment-reply-link,
 .wp-pagenavi span.current,
 .wp-pagenavi a:hover,
 .et_password_protected_form .et_submit_button,
 .nav-single a,
 .posted_in a,
 #top-menu li.current-menu-ancestor > a,
 #top-menu li.current-menu-item > a,
 .bottom-nav li.current-menu-item > a,
 .footer-widget h4 {
  color: #b99f30 !important;
 }
}


#et-main-area {
 background-image: url("../../uploads/2016/05/halftone_bg.png");
}

#footer-bottom {
 display: none;
}

/*================================ 
LEARN DASH STYLING 
==================================*/

/* Change the size of course titles in user profile */

h2.ld-entry-title,
entry-title {
 font-size: .95em !important;
}

/* Insert more space above next section */

h4#learndash_course_content_title {
 margin-top: 1.15em;
}

#learndash_course_materials h4 {
 padding-top: 1.15em !important;
}

/*Course grid styling */

.thumbnail.course .price {
 background: #8D99AE none repeat scroll 0 0 !important;
 box-shadow: 0 1px rgba(0, 0, 0, 0.2);
 color: #fff;
 font-size: 14px;
 font-weight: bold;
 left: -8px;
 padding: 3px 10px;
 position: absolute;
 text-shadow: 0 1px rgba(0, 0, 0, 0.3);
 top: 10px;
 z-index: 2;
}

/* Line 8 */

.thumbnail.course .price {
 background-color: #8D99AE!important;
 background-image: none;
 background-repeat: repeat;
 background-attachment: scroll;
 background-position: 0% 0%;
 background-clip: border-box;
 background-origin: padding-box;
 background-size: auto auto;
 box-shadow: 0px 1px rgba(0, 0, 0, 0.2);
 color: #ffffff;
 text-shadow: 0px 1px rgba(0, 0, 0, 0.3);
 position: absolute;
 font-size: 14px;
 left: -8px;
 top: 10px;
 padding-top: 3px;
 padding-right: 10px;
 padding-bottom: 3px;
 padding-left: 10px;
 z-index: 2;
 font-weight: bold;
}

.thumbnail.course .price:before {
 border: 4px solid transparent;
 border-top: 4px solid #2b2d3f!important;
 border-right: 4px solid #2b2d3f!important;
 content: "";
 position: absolute;
 left: 0;
 bottom: -8px;
}

.thumbnail.course .price.free:before {
 border-top: 4px solid #2b2d3f!important;
 border-right: 4px solid #2b2d3f!important;
}

.thumbnail.course img {
 width: 60%;
 height: auto;
 max-width: 70%;
}

#top-header,
#et-secondary-nav li ul {
 background-color: #2b2d3f !important;
}

#btn-join,
.btn-join,
.learndash_checkout_buttons input.btn-join[type="button"],
a#quiz_continue_link {
 background: #37474f none repeat scroll 0 0!important;
 border: medium none;
 border-radius: 4px!important;
 color: #fff !important;
 font-size: 18px!important;
 font-weight: 700!important;
 display: block;
 margin: auto;
 text-align: center;
}

#btn-join:focus,
#btn-join:hover,
.btn-join.active,
.btn-join:active,
.btn-join:focus,
.btn-join:hover,
.learndash_checkout_buttons input.btn-join[type="button"]:hover,
a#quiz_continue_link:focus,
a#quiz_continue_link:hover {
 color: #fff;
 font-weight: 700!important;
 background-color: #B99F30!important;
 border-color: #37474f!important;
}

.course-title {
 color: #37474f!important;
}

.list-tag-container {
 color: #37474f!important;
}


#wp-submit {
 margin-bottom: 20px !important;
}


/* Make footer stick to bottom of browser */

#footer-menu {
 position: fixed;
 width: 100%;
 bottom: 0;
}

/* Make clickable the arrow to collapse the course list */

#learndash_profile.dashboard .list_arrow.collapse,
#learndash_profile.dashboard .list_arrow.expand {
 cursor: pointer;
}

/***** Style the Mark Complete/Submit My Results button *****/

/* Locked button state */

#sfwd-mark-complete input#learndash_mark_complete_button[disabled] {
 color: #d9d9d9 !important;
 border: solid 2px #d9d9d9 !important;
 border-radius: 3px;
 font-weight: 400;
 padding: 10px;
 background-color: #fff;
 box-shadow: 0px 5px 8px -3px rgba(0, 0, 0, 0.1);
}

/* Unlocked button after passing module */

#sfwd-mark-complete input#learndash_mark_complete_button {
 color: #37474f;
 font-weight: bold !important;
 border: solid 2px #37474f;
 border-radius: 3px;
 padding: 10px;
 background-color: #fff;
 box-shadow: 0px 5px 8px -3px rgba(0, 0, 0, 0.25);
}

/*#sfwd-mark-complete input#learndash_mark_complete_button:active {
 color: #fff;
 font-weight: bold !important;
 border: solid 2px #37474f;
 border-radius: 3px;
 padding: 10px;
 background-color: #37474f;
 box-shadow: 0px -2px 8px -1px rgba(0, 0, 0, 0.25);
 cursor: pointer;
 -webkit-transition: background-color .5s ease-out;
 -moz-transition: background-color .5s ease-out;
 -o-transition: background-color .5s ease-out;
 transition: background-color .5s ease-out;
}*/

/********************************************
*** Hide unused admin user profile fields ***
*********************************************/

.tml-user-url-wrap,
.tml-user-contact-method-aim-wrap,
.tml-user-contact-method-yim-wrap,
.tml-user-contact-method-jabber-wrap,
.tml-user-description-wrap {
 display: none !important;
}
