/*
 Theme Name:   Divi Liberation School
 Theme URI:    http://www.liberationschool.org
 Description:  Divi Liberation School child theme
 Author:       PSL
 Author URI:   http://www.pslweb.org
 Template:     Divi
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  libschool-divi
*/



/*****************************************************
Some universal styling
 *****************************************************/

 /* Slight card shadow effect */
 .ls-card img, iframe,
 .ls-card-this-el {
     border-radius: 1px 1px 1px 1px;
     box-shadow: 1px 1px 3px -2px rgba(0,0,0,0.3);
 }
 
 /* Blog spacing */
 div.et_pb_ajax_pagination_container article {
     margin-bottom: 0px!important;
 }
 div.et_pb_ajax_pagination_container article a.entry-featured-image-url {
     margin-bottom: 10px;
 }

 /* Superscripts and subscripts */
 sup, sub {
	font-size: 65%;
 }
 
 
 
 
 
 
 /*****************************************************
  Home page
  *****************************************************/
 
 .fully_special > .et_pb_row {
   width: 85% !important;
   max-width: 1650px !important;
  }
 
 .fully_special > .et_pb_row > .et_pb_column {
   margin-bottom: 0!important;
  }
 
 @media only screen and (max-width: 980px) {
     .fully_special > .et_pb_row {
         width: 95%!important;
     }
 }
 
 @media only screen and (max-width: 414px) {
     .fully_special > .et_pb_row {
         width: 97%!important;
     }
 }
 
 .ls-home-feature {
     display: flex;
 }
 
 .ls-home-feature img {
     display: flex;
     aspect-ratio: 16/9;
     object-fit: cover;
     width: 100%;
 }
 
 .ls-home-section .et_pb_row {
     width: 100%;
 }
 
 @media all and (min-width: 981px) {
     .ls-border-main > .et_pb_row > .et_pb_column_4 {
         border-left-width: 1px;
         border-left-color: RGBA(25,25,25,0.15);
         border-style: solid;
     }
 }
 
 #ls-news-feed ul {
     list-style-type: none;
     padding-top: 15px;
     padding-left: 0px;
     padding-bottom: 0px;
 }
 
 #ls-news-feed li {
     margin-bottom: 40px;
 }
 
 #ls-news-feed li a {
     font-family: 'Cardo',Georgia,"Times New Roman",serif !important;
     font-weight: 700 !important;
     color: #191919 !important;
     font-size: 18px;
     transition: color 300ms ease 0ms;
 }
 
 @media only screen and (max-width:1240px) {
     #ls-news-feed li a {
         font-size: 17px;
     }
 }
 
 #ls-news-feed li a:hover {
     color: #ED1C24 !important;
 }
 
 .su-posts-ls-post-loop-no-img h2 {
     font-family: 'Cardo',Georgia,"Times New Roman",serif !important;
     font-weight: 700 !important;
     color: #191919 !important;
     transition: color 300ms ease 0ms;
     font-size: 18px !important;
     line-height: 1.4em !important;
     padding-bottom: 4px;
 }
 
 .su-posts-ls-post-loop-no-img h2:hover {
     color: #ED1C24 !important;
 }
 
 @media only screen and (max-width:1240px) {
     .su-posts-ls-post-loop-no-img h2 {
         font-size: 16px !important;
     }
 }
 
 .su-posts-ls-post-loop-no-img .su-post-excerpt {
     font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
     line-height: 1.8em;
     color: rgba(25,25,25,0.75) !important;
     font-weight: 500;
     margin-bottom: 40px;
 }
 
 .ls-text-blog article:hover,
 .su-posts-ls-post-loop-no-img .su-post:hover,
 #ls-news-feed li:hover {
     padding-left: 8px;
     border-style: solid;
     border-left-color: #ed1c24;
     border-width: 0;
     border-left-width: 2px;
     transition: all .15s ease-in-out!important;
 }
 
 .ls-fullwidth-blog .et_pb_ajax_pagination_container {
     width: 100%!important;
 }
 
 .ls-side-by-side .et_pb_post img,
 .ls-side-by-side .et_overlay {
     width: 39%;
     height: 170px;
     margin-right: 3%;
     float: left;
 }
 
 .ls-sbs-big .et_pb_post img,
 .ls-sbs-big .et_overlay {
     height: 170px;
 }
 
 .ls-sbs-small .et_pb_post img,
 .ls-sbs-small .et_overlay {
     height: 150px;
 }
 
 @media only screen and (max-width: 1850px) {
     .ls-sbs-big .et_pb_post img,
     .ls-sbs-big .et_overlay {
         height: 150px;
     }
 }
 
 @media only screen and (max-width: 1500px) {
     .ls-sbs-big .et_pb_post img,
     .ls-sbs-big .et_overlay,
     .ls-sbs-small .et_pb_post img,
     .ls-sbs-small .et_overlay {
         height: 135px;
     }
 }
 
 @media only screen and (max-width: 1250px) {
     .ls-sbs-big .et_pb_post img,
     .ls-sbs-big .et_overlay,
     .ls-sbs-small .et_pb_post img,
     .ls-sbs-small .et_overlay {
         height: 110px;
     }
 }
 
 
 @media only screen and (max-width: 980px) {
     .ls-sbs-big .et_pb_post img,
     .ls-sbs-big .et_overlay,
     .ls-sbs-small .et_pb_post img,
     .ls-sbs-small .et_overlay {
         height: 140px;
     }
 }
 
 @media only screen and (max-width: 430px) {
     .ls-sbs-big .et_pb_post img,
     .ls-sbs-big .et_overlay,
     .ls-sbs-small .et_pb_post img,
     .ls-sbs-small .et_overlay {
         height: 110px;
     }
 }
 
 .ls-side-by-side .entry-title,
 .ls-side-by-side .post-meta,
 .ls-side-by-side .post-content { 
     float: right; 
     width: 58%; 
 }
 
 .ls-side-by-side .entry-featured-image-url {
     margin-bottom: 0!important;
 }
 
 .ls-side-by-side .entry-title {
     padding-top: 10px;
 }
 
 .ls-side-by-side article {
     padding-bottom: 28px;
 }
 
 .ls-side-by-side > .et_pb_ajax_pagination_container {
     width: 100%;
 }

 .et_pb_post_slider .et_pb_slide > .et_pb_container {
	height: 200px !important;
}

@media only screen and (min-width: 1620px) {
	.et_pb_post_slider .et_pb_slide > .et_pb_container {
		height: 350px !important;
	}
}

/* @media only screen and (min-width: 1800px) {
	.et_pb_post_slider .et_pb_slide > .et_pb_container {
		height: 415px !important;
	}
} */

.et_pb_post_slider .et_pb_slide > .et_pb_container > .et_pb_slider_container_inner {
	vertical-align: bottom !important;
}

.et_pb_post_slider .et_pb_slide > .et_pb_container > .et_pb_slider_container_inner > .et_pb_slide_description,
.et_pb_post_slider .et_pb_slide > .et_pb_container > .et_pb_slider_container_inner > .et_pb_slide_description > .et_pb_text_overlay_wrapper {
	padding: 15px !important;
}

.et_pb_post_slider .et_pb_slide > .et_pb_container > .et_pb_slider_container_inner h1 {
	padding: 0 !important;
}
 
 
 
 
 
 
 
 /*****************************************************
  Post pages
  *****************************************************/
 
 /* Disable author links */
 .author a {
     pointer-events: none;
 }
 
 #ls-post-body div.et_pb_section.et_pb_section_0.et_section_regular,
 #ls-post-body div.et_pb_row.et_pb_row_0 {
     padding: 0 0!important;
     width: 100% !important;
 }
 
 #ls-post-body figure {
     padding-bottom: 10px;
 }
 
 .et_pb_post_content > iframe,
 .et_pb_post_content > .fluid-width-video-wrapper {
     margin-bottom: 10px;
 }
 
 @media only screen and (max-width: 980px) {
     #ls-post-body div.et_pb_row.et_pb_row_0 {
         width: 90%!important;
     }
 }
 
 @media only screen and (max-width: 414px) {
     #ls-post-body div.et_pb_row.et_pb_row_0 {
         width: 100%!important;
     }
 }
 
 @media only screen and (max-width: 980px) {
     #ls-post-body div.et_pb_row.et_pb_row_1_tb_body.et_pb_gutters2.et_pb_row_1-4_1-2_1-4 {
         padding-top: 10px!important;
     }
 }
 
 div#ls-post-body div.et_pb_row.et_pb_row_0_tb_body {
         padding: 0 0!important;
 }
 
 /* Image and caption */
 .et_pb_image .et_pb_image_wrap,
 .et_pb_image .et_pb_image_wrap img {
     width: 100%;
 }
 
 .ls-caption {
     font-family: Open Sans,Arial,sans-serif;
     font-style: italic;
     text-align: right;
     font-size: 13px;
     color: rgba(25,25,25,0.75);
     line-height: 1.7em;
     font-weight: 500;
 }
 
 /* Social share styling */
 .ls-social-share {
     width: 199px!important;
 }
 
 .ls-social-share .addtoany_shortcode {
     border-top-width: 1px;
     border-color: RGBA(25,25,25,0.15);
     border-style: solid;
 }
 
 .ls-social-share .addtoany_shortcode a {
     padding: 5px 3px 0 3px !important;
     border-right-width: 1px;
     border-color: RGBA(25,25,25,0.15);
     border-style: solid;
 }
 
 
 .ls-social-share .addtoany_shortcode a.a2a_button_printfriendly {
     border-right-width: 0px !important;
 }
 
 .ls-social-share .ls-share-text {
     font-weight: 500;
     color: rgba(25,25,25) !important;
     line-height: 1.4em;
     padding: 10px 10px;
 }
 
 .a2a_floating_style {
     padding: 0 0 !important;
     left: 0 !important;
     transform: translateX(0) !important;
     width: 100vw !important;
     border-top-width: 1px;
     border-color: RGBA(25,25,25,0.15);
     border-style: solid;
     border-radius: 0 !important;
     box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.3);
 }
 
 .a2a_floating_style a span {
     margin: auto;
     float: none !important;
 }
 
 .a2a_floating_style a {
     width: 16.66%;
     border-right-width: 1px;
     border-color: RGBA(25,25,25,0.15);
     border-style: solid;
 }
 
 .a2a_floating_style a.a2a_button_printfriendly {
     border-right-width: 0px !important;
 }
 
 body:not(.single) .a2a_floating_style { display: none; }

 .ls-post-views .post-views {
	display: inline-block;
	margin-left: 5px;
}

.ls-post-views {
	font-size: 13px;
	color: #191919;
}

.su-button-center {
	margin: 20px auto;
}

.ls-related-blog article .et_main_video_container {
	display: none;
}

 
 
 
 
 
 /*****************************************************
  Category and Search pages
  *****************************************************/
 
 #ls-category-posts article {
     border: 0px;
 }
 
 #ls-category-posts .et_pb_image_container {
     margin-bottom: 0px!important;
 }
 
 /* Pagination buttons */
 .pagination .alignleft a,
 .pagination .alignright a,
 form .wpcf7-submit {
       color: #ffffff;
     background: #ed1c24;
     border: 2px solid #ed1c24;
     padding: 0.7em 1.3em;
     border-radius: 5px;
     text-transform: capitalize;
     transition: all 0.3s ease-in-out;
 }
 
 .pagination .alignleft a:hover,
 .pagination .alignright a:hover,
 form .wpcf7-submit:hover {
     background: transparent;
       color: #ed1c24;
     border: 2px solid #ed1c24;
     transition: all 0.3s ease-in-out;
 }
 
 .pagination {
     padding-top: 12px;
 }
 
 .ls-categories a {
     color: #ffffff;
     background: #ed1c24;
     border: 1px solid #ed1c24;
     padding: 0.05em 0.2em;
     border-radius: 3px;
     transition: all 0.2s ease-in-out;
 }
 
 .ls-categories a:hover{
     color: #ed1c24;
     background: transparent;
     border: 1px solid #ed1c24;
     transition: all 0.2s ease-in-out;
 }
 
 @media only screen and (max-width: 980px) {
     #ls-category-blog {
         width: 90%!important;
     }
 }
 
 @media only screen and (max-width: 414px) {
     #ls-category-blog {
         width: 95%!important;
     }
 }
 
 
 
 
 
 /*****************************************************
  2 column styling (preserves on mobile)
  *****************************************************/
 
 @media only screen and (max-width: 980px) and (min-width: 768px) {
     .ls-2-col .et_pb_column {
     width: 50%!important;
 }
 }
 
 @media only screen and (max-width: 980px) {
     .ls-2-col-blog .et_pb_ajax_pagination_container{
     display: flex;
     gap: 20px;
     }
     .ls-2-col-blog article {
         flex: 1;
     }
     @media only screen and (max-width: 414px) {
     .ls-2-col-blog .et_pb_ajax_pagination_container{
     gap: 10px;
     }
     }
 }
 
 .ls-2-col-blog-1 .et_pb_ajax_pagination_container{
     display: flex;
     gap: 30px;
 }
 .ls-2-col-blog-1 article {
     flex: 1;
 }
 @media only screen and (max-width: 414px) {
     .ls-2-col-blog-1 .et_pb_ajax_pagination_container{
         gap: 15px;
     }
 }
 
 
 
 
 
 
 
 /*****************************************************
  Menus
  *****************************************************/
 
 #et-secondary-menu {
     width: 100%;
 }
 
 #et-secondary-menu > .et-social-icons {
     float: left;
 }
 
 #et-secondary-menu > #et-secondary-nav {
     float: right;
 }
 .et_pb_menu .et_mobile_menu .menu-item-has-children > a,
 #main-header .et_mobile_menu .menu-item-has-children > a {
     background-color: transparent;
     position: relative;
 }
 
 .et_pb_menu .et_mobile_menu .menu-item-has-children > a:after, #main-header .et_mobile_menu .menu-item-has-children > a:after {
     font-family: 'ETmodules';
     text-align: center;
     speak: none;
     font-weight: 600;
     font-variant: normal;
     text-transform: none;
     -webkit-font-smoothing: antialiased;
     position: absolute;
     font-size: 18px;
     content: '\4c';
     top: 11px;
     right: 13px;
 }
 
 .et_pb_menu .et_mobile_menu .menu-item-has-children.visible > a:after,
 #main-header .et_mobile_menu .menu-item-has-children.visible > a:after {
     content: '\4d';
 }
 
 .et_pb_menu .et_mobile_menu ul.sub-menu,
 #main-header .et_mobile_menu ul.sub-menu,
 .et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li ul.sub-menu {
     display: none !important;
     visibility: hidden !important;
     transition: all 1.5s ease-in-out;
 }
 
 .et_pb_menu .et_mobile_menu li.visible > ul.sub-menu,
 #main-header .et_mobile_menu li.visible > ul.sub-menu,
 .et-db #et-boc .et-l #main-header .et_mobile_menu li.visible > ul.sub-menu,
 .et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu li.visible > ul.sub-menu,
 .et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li.visible > ul.sub-menu {
     display: block !important;
     visibility: visible !important;
 }
 
 /* Show social icons on mobiles */
 @media only screen and (max-width: 767px) {
     div#et-secondary-menu { 
         display: block !important; 
         margin-top: 0px !important;
         padding-top: .75em;
     } 
     #et-secondary-menu>div.et_duplicate_social_icons>ul>li a {
         display: block;
         padding-bottom: .75em;
     }
 }
 @media only screen and (min-width: 768px) and (max-width: 980px) {
     div#et-secondary-menu { 
         display: block !important; 
         padding-top: .75em; 
     }
 }
 
 #top-header, #main-header {
     position: absolute !important;
 }
 
 @media only screen and (max-width: 980px) {
     #main-header > .container,
     #top-header > .container { 
         width: 100%
     }
     
     #main-header #et-top-navigation {
         padding-right: 10px;
     }
 }
 
 @media only screen and (max-width: 767px) {
     #main-header #et-top-navigation {
         padding-right: 5px;
     }
 }
 
 .et-search-form .et-search-field {
     background: #fff;
     border: 2px solid #ed1c24;
     padding: 0.4em 0.3em;
     border-radius: 3px;
 }