/* 
Theme Name: AMS
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.home-videos-grid {
    padding-top: 35px;
}

button.slick-arrow {
    position: absolute;
    right: 10px;
    top: 0;
    border: 2px solid #294E51;
    background: none;
    border-radius: 110px;
    height: 30px;
    width: 30px;
    padding: 0;
}

button.slick-arrow.slick-prev {
    right: 45px;
}

button.slick-arrow i {
    color: #294E51;
}

button.slick-arrow:hover i {
    color: #fff;
}

/* Video Loop ------------------------*/
.video-content {
    padding: 10px;
}

.video-embed iframe {
    max-height: 136px;
}

.video-content h3 {
    font: normal 18px/22px 'Roboto Slab';
    letter-spacing: -0.09px;
    color: #294E51;
}

.video-content h3 a {
    color: inherit;
}


.page .elementor-widget-post-navigation {
    display: none;
}
.home-videos-grid .slick-track {
margin-left: 0;
margin-right: 0;
}

@media (min-width: 1160px) {
.home-videos-grid .video-content h3 a {
    padding-left: 5px;
 }
}

@media (min-width: 1220px) {
.home-videos-grid .video-content h3 a {
    padding-left: 10px;
 }
}
@media (max-width: 1023px) {
.home-videos-grid {
    margin: 0 auto;
    max-width: 750px;
}
}
@media (max-width: 767px) {
.home-videos-grid {
    max-width: 545px;
}
.video-embed iframe {
    max-height: 160px;
}
}
@media (max-width: 599px) {

.video-embed iframe {
    max-height: 290px;
}
}
/* Featured Videos ------------------------*/

.featured-videos .video-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
}

.featured-videos .slick-list {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-videos .video-content .video-title,
.featured-videos .video-content .featured-embed {
    width: 50%;
}

.featured-videos button.slick-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    background: #1B2F31;
    color: #fff;
    border: none;
    opacity: .3;
}

.featured-videos button.slick-arrow:hover {
    opacity: 1;
}

.featured-videos .video-title {
    padding: 2em 5em 2em 2em;
}

.featured-videos .video-title h3 {
    color: #294E51;
    font-size: 34px;
    font-weight: bold;
}

.featured-videos .video-title h3 a {
    color: inherit;
}

.featured-videos button.slick-arrow i {
    color: #fff;
}

.featured-videos button.slick-arrow.slick-prev {
    right: auto;
    left: 0;
}

/* Search Results -------------------*/

.search-results .elementor-search-form__input {
    height: 62px;
    border: none;
    padding-left: 45px !important;
}

.search-results .elementor-search-form__icon {
    position: absolute;
    top: 19px;
}

section#search-results {
    margin: 0 auto;
    max-width: 1150px;
    padding: 5em 2em;
}

.search-results .search-title {
    font-weight: 300;
    margin-bottom: 35px;
    font-size: 28px;
    color: #294E51;
}

.search-results .search-title span {
    font-weight: bold;
}

.search-result,
.lp-post {
    background-color: #4483850D;
    padding: 30px;
    margin-block: 20px;
}

.search-results .search-result h3,
.lp-title h3 {
    font-weight: bold;
    font-family: "Roboto Slab", Sans-serif;
    color: #448385;
    font-size: 30px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 12px;
}

.search-results .search-result h3 a,
.lp-title h3 a {
    color: inherit;
    text-decoration: none;
}

.search-results .search-result h3 a:hover,
.lp-title h3 a:hover {
    color: #294E51;
}

/* Taxonomy Menus ------------------------*/

.cat-menu {
    padding: 5px 10px;
}
.cat-menu h3 {
    font-weight: bold;
    position: relative;
    color: #294E51;
    font-size: 16px;
    line-height: 1.1em;
    margin-bottom: 0.55rem;
    margin-top: 0.55rem;
}

.cat-items {
  
    padding: 0 10px 2px;
}

.cat-items h4 {
    color: #294E51;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}
.cat-items h4:first-child {
  margin-top: 0.5rem;
}
.cat-items h4 a {
    color: inherit;
}

.cat-menu h3 .menu-toggle-icon {
    display: inline-block;
    width: 10px;
    float: right;
    text-align: right;
    position: relative;
    font-size: 13px;
}
/*.toggle-icon-closed i {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
} */
/* .menu-toggle-icon span.toggle-icon-closed,
.menu-toggle-icon span.toggle-icon-open {
    position: absolute;
    top: 0;
    display: block;
} */

.menu-toggle-icon span.toggle-icon-open,
span.toggle-icon-opened {
    display: none;
}

.menu-toggle-icon span.toggle-icon-closed {
    display: block;
}

h3.active .menu-toggle-icon span.toggle-icon-open, h3.active span.toggle-icon-open {
    display: block;
}

h3.active span.toggle-icon-opened {
    display: block;
}

h3.active .menu-toggle-icon span.toggle-icon-closed {
    display: none;
}

.cat-items h4.active a {
    font-weight: bold;
}

/* Single Article -------------------------*/


.single-post .elementor-widget-theme-post-content h3 {
    font-family: "Roboto Slab";
    font-size: 26px;
    font-weight: bold;
    margin-top: 25px;
}

.single-post .elementor-widget-theme-post-content h4 {
    font-family: "Roboto Slab";
    font-size: 20px;
    font-weight: bold;
}
.single-post .elementor-widget-theme-post-content li {
    margin-bottom: 6px;
}

.single-post .elementor-widget-theme-post-content blockquote.wp-block-quote {
    color: #676a6c;
    font-size: 16px;
    line-height: 1.3em;
}
.single-post .elementor-widget-theme-post-content img {
    margin: 15px 0;
}

#was-this-helpful {
    background-color: #4483851C;
    margin-top: 1.65em;
    border-radius: 0;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 40px;
    font-family: "Roboto Slab", Sans-serif;
}

#wthf-title {
    padding-right: 2em;
    color: #294E51;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 22x;
}

#wthf-yes-no span {
    border-radius: 0;
    color: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #448385;
    border-radius: 0px 0px 0px 0px;
    padding: 15px 35px 15px 35px;
}

#wthf-yes-no span:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #fff;
    background: #294E51;
}


.tax-loop h3 {
    font-family: "Roboto", Sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #294E51;
    margin-top: 30px;
}
.tax-loop h3:first-child {
    margin-top: 10px;
}
.tax-items h4 {
  /* border-bottom: 1px solid #448385;*/
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #294E51;
    margin: 0;
}

.tax-items h4:first-child {
    border-top: 1px solid #e0e0e0;
}

.tax-items h4 a {
    color: inherit;
    display: block;
    padding-right: 25px;
}
.tax-items h4 a  i {
    float: right;
    margin-right: -25px;
}

.sidebar-section .section-title {
    border-width: 0px;
    background-color: #294E51;
    padding: 25px 15px 25px 15px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
}
.sidebar-section .section-title span.menu-toggle-icon {
  display: inline-block;
  width: 1em;
  float: right;
  text-align: right;
  color: #fff;
  transition: all ease .3s; 
}

.sidebar-section .section-title span.menu-toggle-icon i {
  font-size: 14px;
}
.sidebar-section .section-title span.menu-toggle-icon .toggle-icon-closed, .sidebar-section.active .section-title span.menu-toggle-icon .toggle-icon-opened {
  display: block;
}

.sidebar-section.active .section-title span.menu-toggle-icon .toggle-icon-closed, .sidebar-section .section-title span.menu-toggle-icon .toggle-icon-opened {
  display: none;
}

.sidebar-section .cat-menu, .cat-items {
    max-height: 0;
    -webkit-transition: max-height 1s; 
    -moz-transition: max-height 1s; 
    -ms-transition: max-height 1s; 
    -o-transition: max-height 1s; 
   transition: all ease .6s; 
    overflow: hidden;
    padding: 0 10px;
}
.sidebar-section.active .cat-menu, .cat-items.active  {
    max-height: 1800px;
    padding:5px 10px;
}

.sidebar-menu-wrapper {
    margin: 0 !important;
}
/* Media Queries -------------------*/

@media (max-width:767px) {
    #was-this-helpful {
    margin-top: 0;
    -webkit-justify-content: unset;
    justify-content: unset;
    flex-wrap: wrap;
    justify-content: unset;
    text-align: left;
}
#wthf-title {
    width: 100%;
    text-align: left;
}
#wthf-title, #wthf-yes-no {
    display: block;
    width: 100%;
    margin: 0;
}
    #wthf-yes-no span {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: #448385;
        border-radius: 0px 0px 0px 0px;
        padding: 10px 35px 10px 35px;
        display: inline-block;
        margin-top: 13px;
    }
}