/*
Theme Name:     Lenspiration (Divi)
Theme URI:      http://lenspiration.com
Description:    Child theme of Divi
Author:         Abundant Designs
Template:       Divi
Version:        0.1.34
*/


/**
 * Miscellanous
 */

 .post-entries.fix {
    overflow: auto;
}
.wp-caption.aligncenter {
    margin-left: 0;
    margin-right: 0;
}
.wp-caption p.wp-caption-text {
    font-size: 90%;
}

body .et_pb_column_1_3 h2 {
    font-size: 34px;
}

#left-area ul, .entry-content ul, .comment-content ul, body.et-pb-preview #main-content .container ul, .tribe-events-content ul, .et_pb_post_content ul {
    padding: 0 0 23px 2em;
}
#left-area ol, .entry-content ol, .comment-content ol, body.et-pb-preview #main-content .container ol, .tribe-events-content ol, .et_pb_post_content ol {
    padding: 0 0 23px 2em;
    list-style-position: outside;
}
.et_pb_post_content ol ul, .et_pb_post_content ul ul {
    padding-bottom: 0;
}

.et_pb_post li {
     padding-bottom: .25em;
}

.entry .video, .entry-content .et_post_video, .lenspiration-video-container {
    margin-bottom: 30px;
}
article.post .entry h1 {
    margin-top: 65px;
    margin-bottom: 25px;
    padding-bottom: 0;
}
article.post .entry h2 {
    margin-top: 25px;
    margin-bottom: 25px;
    padding-bottom: 0;
}
article.post .entry h3 {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 0;
}
article.post .entry h4 {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.et_pb_post h2 {
    margin-top: 25px;
}
.et_pb_post h3 {
    margin-top: 25px;
}
.et_pb_post h4 {
    margin-top: 20px;
}

img.aligncenter {
    margin-top: .75em;
    margin-bottom: .75em;
}
.wp-block-image {
    margin-top: 1em;
}

.wp-block-separator {
    margin-bottom: 1em;
}
.wp-block-separator.is-style-default {
    width: 30%;
}

.woocommerce-page #left-area {
    margin-bottom: 75px;
}

.comment-body .comment_avatar {
    max-width: 80px;
}


/*
 * Header
 */
@media screen and (max-width: 650px) {
     .et_header_style_left #logo {
          margin-left: -25px;
     }
}
 
 
/**
 * Blog
 */
 
.breadcrumbs {
    margin-bottom: 3px;
}
 
.et_pb_widget ul li.current-cat {
    font-weight: bold;
}
.et_pb_widget ul li.current-cat::before {
	content: "»";
    margin-left: -1em;
    width: 1em;
    display: inline-block;
}

.blog .et_pb_post, 
.archive .et_pb_post {
    margin-bottom: 80px;
}
.search .et_pb_post {
    padding-top: 0;
    margin-bottom: 15px;
    overflow: hidden;
}
.blog .et_pb_post:first-child h2,
.archive .et_pb_post:first-child h2,
.search .et_pb_post:first-child h2 {
    margin-top: 0;
}

.blog h2.entry-title,
.archive h2.entry-title {
    clear: both;
    font-size: 30px;
}
.search h2.entry-title {
    clear: both;
    font-size: 26px;
    padding-bottom: 0px;
}

.search #left-area .post-meta {
    padding-bottom: 7px;
}

.blog .et_pb_post a img, 
.archive .et_pb_post a img {
    float: left;
    margin-bottom: 20px;
    margin-right: 25px;
}
.search .et_pb_post a img {
    width: 150px;
    float: left;
    margin-bottom: 0;
    margin-right: 25px;
}
@media only screen and (min-width: 981px) {
    .blog .et_pb_post a img, 
    .archive .et_pb_post a img {
        margin-bottom: 80px;
    }
}

.larger-text {
    font-size: 17px;
    line-height: 1.7;
}

.rpwe-alignleft.rpwe-thumb {
    float: left;
    margin-right: 12px;
}
.recent-posts-extended h3.rpwe-title {
    font-size: 17px;
    padding-top: 1px;
    padding-bottom: 2px;
}
.recent-posts-extended li.rpwe-li {
    padding-left: 0;
    margin-bottom: 1.5em;
}
.recent-posts-extended li:before {
    display: none;
}
.rpwe-time {
    font-size: 85%;
}

.single-post .et_pb_post a img {
    max-height: 800px;
    width: auto;
}


/**
 * Single Post Navigation (Videos)
 */
#post-entries {
    margin: 100px 0 50px;
    overflow: auto;
}
#post-entries .nav-prev,
#post-entries .nav-next {
    max-width: 49%;
}
#post-entries a {
    display: block;
    color: #777;
    padding: .618em .857em;
    font-weight: bold;
    font-size: 18px;
    background-clip: padding-box;
    background: #eee;
    overflow: auto;
}
#post-entries a:hover {
    background: #f5f5f5;
}
#post-entries .nav-prev img {
    float: left;
    margin-right: 10px;
}
#post-entries .nav-next img {
    float: right;
    margin-left: 10px;
}


/**
 * Tables
 */
 
table {
  border-spacing: 0;
  width: 100%;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  background-clip: padding-box;
  background: #fafafa;
  box-shadow: 0 1px 2px 0 #ffffff;
  border-collapse: separate;
}
table td,
table th {
  padding: .53em .327em;
  text-align: left;
  border-right: 1px dotted #eeeeee;
  vertical-align: top;
}
table td p:last-child,
table th p:last-child {
  margin-bottom: 0;
}
table thead th {
  background: #fff;
  border-right: 1px dotted #e9e9e9;
  border-bottom: 1px solid #eeeeee;
  text-transform: uppercase;
  padding: .327em;
  vertical-align: middle;
}
table thead th:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-clip: padding-box;
}
table thead th:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-clip: padding-box;
}
table tr th:last-child,
table tr td:last-child {
  border-right: 0;
}
table tbody th {
  background: #fff;
  border-bottom: 1px solid #eeeeee;
}
table tbody tr:nth-child(2n) td {
  background: #fafafa;
  border-right: 1px dotted #e9e9e9;
}
table tbody tr:nth-child(2n) td:last-child {
  border-right: 0;
}
table tbody td {
  background: #f6f6f6;
  border-bottom: 1px solid #eeeeee;
}
table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-clip: padding-box;
}
table tbody tr:last-child td:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-clip: padding-box;
}
table tbody tr:last-child td {
  border-bottom: 0;
}
@media only screen and (min-width: 769px) {
    body #content-area table td, #content-area table th {
        padding: .857em 1.387em;
    }
}

 
/*
 * bbPress Styles
 */
 
#bbpress-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
    font-size: inherit;
}

div.bbp-breadcrumb,
div.bbp-topic-tags,
div.bbp-template-notice p,
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
    font-size: 80%;
}

.forum-index-description, .single-forum-description {
    clear: both;
    margin-top: 2.5em;
    margin-bottom: 2em;
}

#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums .widget_display_replies img.avatar {
    margin-bottom: -2px;
}

#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
    padding-left: 0 !important;
}

#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    padding: 8px 15px !important
}

#subscription-toggle {
    float: right;
}

#bbpress-forums .single-forum-description li {
    list-style: inherit;
}

#left-area .bbp-template-notice ul {
    padding: 0;
}

/**
 * WooCommerce styles
 */
.woocommerce .woocommerce-ordering select {
    display: none;
}
.woocommerce #billing_company_field, .woocommerce #shipping_company_field {
    display: none;
}
table.variations, table.variations tbody td {
     background: none;
}
.orderby, .woocommerce div.product form.cart .variations td select {
     font-size: 15px;
}
.woocommerce div.product form.cart .variations label {
     font-size: 18px;
     padding-top: 5px;
     display: block;
}
.woocommerce-variation.single_variation {
     margin-bottom: 35px;
}

.woocommerce .cart button.button:disabled[disabled],
.woocommerce button.button.alt.disabled {
     background: none !important;
     color: #666 !important;
     padding: .3em 1em;
     font-weight: normal;
     border-color: #666;
}
.woocommerce .cart button.button:disabled[disabled]:hover,
.woocommerce button.button.alt.disabled:hover {
     background: none !important;
     color: #666 !important;
     border-color: #666;
}
.woocommerce .cart button.button:disabled[disabled]:hover:after,
.woocommerce button.button.alt.disabled:hover:after {
     display: none;
}


/**
 * Sensei styles
 */
#my-courses.ui-widget {
    font-size: inherit;
}
#my-courses.ui-widget-content {
    border: 0;
}
#my-courses .ui-widget-header {
    border: 0;
    background: none;
}
#my-courses .ui-state-default {
    border: 0;
    background: none;
}

.widget_sensei_course_participants .sensei-course-participants-list .sensei-course-participant figure {
    margin: 0 1em .5em 0;
}
.widget_sensei_course_participants .sensei-course-participants-list .sensei-course-participant h3 {
    font-size: 16px;
    padding-top: 5px;
}
.widget_sensei_course_participants .sensei-view-all-participants a {
    display: block;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 6px;
}

.widget.widget_sensei_course_progress header h2 {
     font-size: 19px;
}
.widget ul.course-progress-navigation li {
    margin-bottom: 0;
}
.widget.widget_sensei_course_progress .course-progress-lessons .course-progress-module h3 {
    font-size: 18px;
}
.widget.widget_sensei_course_progress .course-progress-lessons .course-progress-lesson a:before, .widget.widget_sensei_course_progress .course-progress-lessons .course-progress-lesson span:before {
    left: .75em;
}
.widget.widget_sensei_course_progress .course-progress-lessons .course-progress-lesson a, .widget.widget_sensei_course_progress .course-progress-lessons .course-progress-lesson span {
    padding-left: 3em;
    font-size: 16px;
}

.sensei-share-your-grade.message {
    margin-top: 50px;
    margin-bottom: 12px;
}
.sensei-share-your-grade.buttons {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}
.sensei-share-your-grade.buttons li:first-child {
    padding-top: 6px;
}

.course-container a.button, .course-container a.button:visited,
.course-container a.comment-reply-link,
.course-container #commentform #submit, .course-container .submit, .course-container input[type=submit],
.course-container input.button, .course-container button.button,
.course a.button, .course a.button:visited,
.course a.comment-reply-link,
.course #commentform #submit, .course .submit, .course input[type=submit],
.course input.button, .course button.button,
.lesson a.button, .lesson a.button:visited,
.lesson a.comment-reply-link,
.lesson #commentform #submit, .lesson .submit, .lesson input[type=submit],
.lesson input.button, .lesson button.button,
.quiz a.button, .quiz a.button:visited,
.quiz a.comment-reply-link,
.quiz #commentform #submit, .quiz .submit, .quiz input[type=submit],
.quiz input.button, .quiz button.button {
    font-size: inherit;
}
.sensei p.sensei-message a.next-lesson, .sensei div.sensei-message a.next-lesson,
.course-container p.sensei-message a.next-lesson, .course-container div.sensei-message a.next-lesson,
.course p.sensei-message a.next-lesson, .course div.sensei-message a.next-lesson,
.lesson p.sensei-message a.next-lesson, .lesson div.sensei-message a.next-lesson,
.quiz p.sensei-message a.next-lesson, .quiz div.sensei-message a.next-lesson,
.learner-info p.sensei-message a.next-lesson, .learner-info div.sensei-message a.next-lesson {
    font-size: 90%;
    margin-top: 2px;
    margin-bottom: 2px;
}

article.type-course {
    margin-bottom: 20px;
}
article.type-course .entry.fix {
    margin-bottom: 35px;
}
article.type-course .lesson-title h2 {
    font-size: 27px;
    padding-bottom: 5px;
}

article.type-lesson {
    overflow: hidden;
    padding-top: 20px;
    clear: both;
}
article.type-lesson h2 {
    font-size: 30px;
}

.single-course .course-excerpt {
     margin-bottom: 35px;
}

.sensei div.sensei-message.tick, .lesson div.sensei-message.tick {
    overflow: auto;
}

.post-type-archive-course .sensei-course-participants,
.single-course .sensei-course-participants {
     display: none;
}

.entry.fix {
    clear: both;
}

.course-results-lessons h2 {
    font-size: 18px;
    margin: 8px 32px;
    font-weight: normal;
}

/**
 * Widen right sidebar on select pages
 * https://divibooster.com/increasing-the-width-of-the-divi-sidebar/
 */
 
@media only screen and ( min-width: 1100px ) {
    .single-lesson.et_right_sidebar #left-area,
    .search-results.et_right_sidebar #left-area {
        width: 72.125%;
        padding-right: 3.5%;
    }
    .single-lesson.et_right_sidebar  #main-content .container:before,
    .search-results.et_right_sidebar #main-content .container:before { 
        right: 27.875% !important;
    }
    .single-lesson.et_right_sidebar #sidebar,
    .search-results.et_right_sidebar #sidebar { 
        width: 27.875%;
    }
}


/**
 * Sidebar widgets
 */
body #sidebar .et_pb_widget {
    margin-bottom: 50px;
}
body #sidebar .gform_wrapper ul li.gfield {
    margin-top: 8px;
}

.collapsed-archives ul ul {
    margin-left: 1.75em !important;
}
.et_pb_widget .collapsed-archives ul li {
    margin-bottom: .5em;
    margin-bottom: 0;
}


/**
 * Recent forum topics shortcode
 */
.recent-forum-topics {
    list-style: none;
}
.recent-forum-topics li {
    margin-bottom: 35px;
    list-style-type: none;
}
.recent-forum-topics img {
    margin-bottom: 8px;
}

.recent-forum-topics.number-shown-1 {
    text-align: left;
}
.recent-forum-topics.number-shown-1 img {
    width: 33%;
    max-width: 200px;
    float: left;
    margin-right: 5%;
}

.recent-forum-topics.number-shown-4 li {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}
@media only screen and ( min-width: 1100px ) {
    .recent-forum-topics.number-shown-4 li {
        width: 24%;
    }
}


/*
 * Fix dfactory SwipeBox lightbox when admin bar displays
 */
.admin-bar #swipebox-close {
    top: 45px;
}
@media screen and (min-width: 800px) {
    .admin-bar #swipebox-close {
        top: 70px;
    }
}


/**
 * Gravity Forms
 */
/*
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
    color: #fefefe;
    padding: 0.3em 1em;
    border: 2px solid;
    border-radius: 3px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em;
    background: #6eaf00;
    cursor: pointer;
}

.gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover, .gform_wrapper .gform_page_footer input.button:hover, .gform_wrapper .gform_page_footer input[type=submit]:hover {
    color: #fefefe !important;
    background: rgba(129,215,66,0.78) !important;
}
*/


/**
 * Gravity Forms User Registration
 */
#content.widecolumn {
    max-width: 1024px;
    margin: 100px auto;
}


/**
 * The Events Calendar
 */
#tribe-events {
    margin-top: 40px;
}
 
#tribe-events-pg-template .tribe-events-content h1, .tribe-events-after-html h1, .tribe-events-before-html h1 {
    font-size: 31px;
    margin: 0;
}
#tribe-events-pg-template .tribe-events-content h2, .tribe-events-after-html h2, .tribe-events-before-html h2 {
    font-size: 27px;
    margin: 0;
}
#tribe-events-pg-template .tribe-events-content h3, .tribe-events-after-html h3, .tribe-events-before-html h3 {
    font-size: 24px;
    margin: 0;
}
#tribe-events-pg-template .tribe-events-content h4, .tribe-events-after-html h4, .tribe-events-before-html h4 {
    font-size: 21px;
    margin: 0;
}
#tribe-events-pg-template .tribe-events-content h5, .tribe-events-after-html h5, .tribe-events-before-html h5 {
    font-size: 18px;
    margin: 0;
}
#tribe-events-pg-template .tribe-events-content h6, .tribe-events-after-html h6, .tribe-events-before-html h6 {
    font-size: 16px;
    margin: 0;
}

.tribe-events-list .tribe-events-event-image+div.tribe-events-content {
    width: 100%;
}

#tribe-events-pg-template .tribe-events-content ul li {
    margin-bottom: 0;
}
#tribe-events .tribe-events-content p, .tribe-events-after-html p, .tribe-events-before-html p {
    margin-bottom: 0;
}

.tribe-events-shortcode .type-tribe_events {
    margin-bottom: 40px;
}
.tribe-events-shortcode .tribe-events-event-meta {
    margin-bottom: 15px;
}


/* Event Tickets - Attendee Registration */

.page-tribe-attendee-registration #main-content > .container {
	padding-top: 25px !important;
}
.page-tribe-attendee-registration .entry-title.main_title {
	display: none;
}
.page-tribe-attendee-registration .tribe-common .tribe-tickets__registration__actions {
    margin-top: 50px !important;
}
.page-tribe-attendee-registration #sidebar {
    display: none;
}
.page-tribe-attendee-registration.et_right_sidebar #main-content .container:before {
	display: none;
}
.page-tribe-attendee-registration.et_right_sidebar #left-area {
	width: 100%;
}
.page-tribe-attendee-registration .tribe-tickets-meta-label h3 {
    font-size: 14px;
    line-height: 1.35;
}
.page-tribe-attendee-registration .tribe-common .tribe-common-form-control-checkbox-radio-group>* {
    margin-bottom: 0;
}
.page-tribe-attendee-registration .tribe-common .tribe-common-form-control-text__input {
	padding: 12px 16px;
}
.page-tribe-attendee-registration button[type="submit"] {
    font-size: 20px;
    padding: .3em 1em !important;
    border: 2px solid;
	color: white;
    background-color: #2e4569 !important;
    border-radius: 10px;
    line-height: 1.7em!important;
    cursor: pointer;
}
.page-tribe-attendee-registration button[type="submit"]:hover {
    background-color: #4e6589 !important;
}


/**
 * Monarch (Social Media)
 */
.et_monarch .et_social_sidebar_networks { 
    margin-top: -100px; /* Allow space for lightbox sidebar arrows */
}


/**
 * FacetWP
 */
.facetwp-template.is-loading {
    opacity: .5;
}
.facetwp-facet.is-loading .facetwp-page.active:after,
.facetwp-facet.is-loading.facetwp-facet-search_per_page:before {
    content: " ";
    background-image: url("/wp-content/themes/lenspiration_Divi/img/loader.gif");
    background-size: cover;
    height: .85em;
    width: .85em;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: middle;
    line-height: 2.5;
}


/**
 * Footer
 */

.et_pb_widget.widget_search {
    width: 100%;
}
.footer-widget .footer-logo {
    margin-bottom: 20px !important;
}
.footer-widget a {
    text-decoration: underline;
}
