/*
 Theme Name:   YMCA NIC
 Description:  A custom theme
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

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

body {background-color: white;}

body .gform_wrapper .gform_heading .gform_title { display: none }


body .gform_wrapper .gform_body {
    max-width: 910px;
    margin: 0 auto;
}

@media ( min-width:810px) {
    body #gform_wrapper_1, body #gform_wrapper_2, body #gform_wrapper_3, body #gform_wrapper_4, body #gform_wrapper_5 {
        border: 1px solid rgb(138, 16, 5);
    }
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', Helvetica, sans-serif !important;
    font-size: 28px;
}

@media (min-width: 769px){
    h1, h2, h3, h4, h5 {
        font-size: 48px;
    }
}

h1 {
    color: rgb(138, 16, 5);
}

p, label {
    font-family: sans-serif;
    font-weight: 400 !important;
    font-size: 18px !important;
    font-family: 'Open Sans', Helvetica, sans-serif !important;
}



#site-header {
    border-bottom: solid 2px  rgb(138, 16, 5);
}

.primary-menu > li > a {
    color: black !important;
    text-transform: capitalize;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.primary-menu > li > a:active {
    color: rgb(138, 16, 5) !important;
}

.modal-menu a {
    color: rgb(138, 16, 5) !important; 
}

header .header-inner {
    padding-top: 1em;
    padding-bottom: 7px;
  
}

header .header-inner {
    flex-direction: column;
    align-items: flex-start;
}



@media(min-width:1000px){
    .header-navigation-wrapper {
        display: block;
        padding: 15px 0;
        padding-right: 15%;
        background-color:rgba(148, 149, 153, 0.1)
      }
}

.site-description {
    display: none;
}


.gform_body input, select, li {
    font-family:sans-serif !important;
    font-size: 16px !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {color: rgb(138, 16, 5)}
body .gform_wrapper .gform_footer input[type=submit] {background-color: rgb(138, 16, 5);
    font-size: 18px;
    font-weight: 400;
    padding-top: 10px;
    padding-bottom: 10px;
}

body .gform_wrapper .gform_body .gform_fields .gfield {padding-bottom: 15px};

body .gform_wrapper .gform_body .gform_fields .gfield select:focus {background-color: red; color: white !important};

.consent .gfield_consent_description{
    font-size: 1em;
}
body .gform_wrapper .gform_body .gform_fields .larc-section{
    margin-bottom: 50px !important;
}

body .gform_wrapper .gform_body .gform_fields li span label {
    font-size: 14px !important;
}

body .gform_wrapper .gform_body .gform_fields .nic-session div {
    font-size: 18px !important;
}

body .gform_wrapper .gform_body .gform_fields #input_1_28_1, body .gform_wrapper .gform_body .gform_fields #input_5_28_1, body .gform_wrapper .gform_body .gform_fields #input_2_28_1{
    margin-left: 0;
}

body .gform_wrapper .gform_body .gform_fields .consent div {
    font-size: 18px !important;
}

body .gform_wrapper .gform_body .gform_fields #covid-disclaimer > li{
    font-size: 18px !important;
    padding-bottom: 15px;
    list-style: circle;
}

body .gform_wrapper .gform_body .gform_fields .covid-disclaimer .gfield_description{
    font-size: 18px !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield_radio{
    display: flex;
}

body .gform_wrapper .gform_body .gform_fields .gfield_radio label{
    margin-right: 10px;
}

body .gform_wrapper .gform_body .gform_fields #gform_browse_button_3_41, body .gform_wrapper .gform_body .gform_fields #gform_browse_button_5_36{
    background-color: rgb(138, 16, 5) !important;
    border-radius: 6px;
    padding-top:10px;
    padding-bottom: 10px;
}


body .gform_wrapper div.validation_error {
    font-family: 'Open Sans', sans-serif !important;
}


.footer-widgets-wrapper {
    justify-content: center !important;
}

body #gform_wrapper_1, body #gform_wrapper_2 {
    position: relative;
    /* border: 1px solid rgb(138, 16, 5); */
}

body .gform_body {
    padding-top: 60px;
}
/* resize and position the form footer with the button */
 

body #gform_wrapper_1 .gform_footer, body #gform_wrapper_2 .gform_footer, body #gform_wrapper_3 .gform_footer, body #gform_wrapper_4 .gform_footer, body #gform_wrapper_5 .gform_footer {
    width: 215px;
    position: relative;
    /* top: 46px;
    left: 150px; */
    padding: 0;
    margin: 0 auto;
    margin-bottom: 60px;
}

.footer-widgets-outer-wrapper {
    border: none;
}

body:not(.enable-search-modal) .header-titles-wrapper {
    max-width: 90%;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-profile a {
    text-transform: capitalize;
    /* font-size: 14px !important; */
    font-weight: 400 !important;
    text-decoration: none;
}

/* .header-profile a:last-child{
    margin-left: 10px;
} */

.header-profile {
    display: flex;
}

.header-profile li {
    list-style: none;
    margin: 0px 5px 0px 0px;
}

.header-profile img {
    max-width: 18px;
}

.header-profile ul {
    display: flex;
    margin-right: 0px;
    margin-bottom: 0;
    margin-top: 20px;
}

.footer-widgets .header-profile {
    justify-content: right;
}

.footer-widgets .header-profile img{
    width: 26px;
    max-width: 26px;
}

.footer-widgets .header-profile ul{
    margin-top: 0;
}

.footer-widgets .column-two div:nth-of-type(2) {

    margin-top:0 !important;

}


.profile-links li {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 2px;
}


.profile {
    background-color:#e00034;
}

.profile:hover {
    background-color:#DBDBDB;
}

.profile a {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: white;
}

.profile a:hover {
    color:#e00034;
}

.header-profile ul.social-media {
    display:none;
}

.header-titles {
    justify-content: right;
}

.wp-custom-logo .header-titles {
    width: 50%;
}

.site-logo a {
    display: block;
    float: right;
    width: 77%;
}

.profile-links li a {
    font-size: 12px;
}

@media(min-width:375px){
    .header-profile ul {
        margin-right: 15;
    }
}

@media(min-width: 500px){
    .profile-links li a {
        font-size: 14px;
    }
}

@media(min-width: 1200px){
    .header-profile ul.social-media {
        display: flex;
    }
}

/* Header Language Switcher */

.wpml-ls-legacy-list-horizontal {
    padding:0;
    padding-top: 20px;
}

.wpml-ls-legacy-list-horizontal ul {
    position: relative;
    flex-wrap: wrap;
}

/* .wpml-ls-legacy-list-horizontal ul li:first-child:after {
    content: '|';
    position: absolute;
    top: 0;
    left: 45%;
  } */

.wpml-ls-legacy-list-horizontal ul span{
    text-transform: uppercase;
    font-size: 12px;
}

@media(min-width: 450px){
    .page-template-videos .wpml-ls-legacy-list-horizontal ul li:first-child:after {
        display: none;
    }
    .wpml-ls-legacy-list-horizontal ul li:first-child:after {
        content: '|';
        position: absolute;
        top: 2px;
        left: 45%;
      }
}
/* Videos listings page  */

.page-template-videos main {
    width: 90%;
    margin: 0 auto;
}

.page-template-videos main h1{
    text-align: center;
}

.page-template-videos article {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.video-listing {
    max-width: 90%;
    width: 300px;
    /* max-height: 350px; */
    margin: 2em;
    border: #d2d2d2 1px solid;
    display: block;
    overflow: hidden;
    position: relative;
}

.video-thumbnail-container img{
    max-height: 250px;
}

.video-title {
    padding: 15px;
    color: #3c3c3c;
}

.fade {
    width: 250px;
  margin: 0 0 1em 0;
  overflow: hidden;
    position: relative;
    height: 4.8em; /* exactly 4 lines */
  }
  .fade:after {
    content: "";
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 1.2em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  }


/* .video-description {
    height: 155px;
  white-space: nowrap;
    overflow: hidden;
  text-overflow: ellipsis;
} */

.video-description p{
    font-size: 14px !important;
}

.video-listing:hover .video-overlay {
    top:0;
    display:block;
}

.video-overlay header {
    color: rgb(138, 16, 5);
    font-size: 14px;
}


.video-overlay a {
    padding: 5px 15px;
    border: 1px solid rgb(138, 16, 5);
    border-radius: 8px;
    text-decoration: none;
    color: rgb(138, 16, 5);
    font-size: 14px !important;
    text-transform: uppercase;
}

.video-overlay a:hover {
    background-color: rgb(138, 16, 5);
    color: white;
}

.video-overlay {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: top ease .5s;
    padding: 5px 20px;
}


/* Single video page */

.video-page {
    max-width: 90% !important;
    width: 60% !important;
}

.video-page h1 {
    font-size: 36px;
    text-transform: uppercase;
    color: #3c3c3c;
    text-align: center;
}

.single-video-description {
    margin: 40px 0px;
}

/* Custom Login and Registration page - /members-login */

.custom-registration{
    height: 458px;
}

.post-212 .entry-header {
    padding-bottom: 0;
}

.post-212 .button-primary {
    background-color:#8a1005;
}


.home-group {
    background-color: #8B0000;
    max-width: 100% !important;
    width: 100% !important;
    display: flex;
    margin-top: 0px !important;
}

.home-columns {
    margin:0 !important;
}

.home-main-image {
    margin: 0 !important;
}


h2.home-text, p.home-text {
    margin-left: 20px;
    margin-right: 20px;
    font-family: 'Open Sans', Helvetica, sans-serif !important;
}

p.home-text {
    /* font-weight: 300; */
    font-style: italic;
}

@media (min-width:417px) {
    
    .home-text {
        width: 70%;
        margin-left: 20% !important;
    }

    h2.home-text {
        font-weight: 400 !important;
        line-height: 48px !important;
    }

    p.home-text {
        font-size: 20px !important;
        font-weight: 300 !important;
        /* font-family: 'Open Sans', Helvetica, sans-serif !important; */
        font-style: italic;
    }
}

.home-icon {
    margin-bottom: 10px !important;
}

.home-icon figure{
    margin-bottom: 0px !important;
}


.logged-in #post-76 header, .logged-in #post-80 header{
    display: none;
}

.newsletter {
    display: flex;
    align-items:center;
   
}

.newsletter p{
    width: 75%;
    text-align: left;
    font-size: 14px !important;
}

.newsletter div {
    background-color:#E00034;
    padding:5px 15px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.newsletter div:hover {
    background-color: #C9CACC;
    border:#E00034 2px solid;
}

.newsletter div a:hover {
    color: #E00034!important;
}

.newsletter a {
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Open Sans', Helvetica, sans-serif !important;
}

.footer-widgets .widget {
    margin-top:30px !important;
}


.back-to-parent {
    display: flex;
    justify-content: center;
}

.back-to-parent div {
    border: #e22658 solid 2px;
    background:white;
    border-radius: 10px;
    width: 290px;
}

.back-to-parent a{
    font-family: 'Open Sans', Helvetica, sans-serif !important;
    color: #e22658;
    font-size: 1.7rem;
    line-height: 1.25;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    padding: 16px 22px;
    text-align: center;
    text-transform: uppercase;
}

.back-to-parent a:hover {
    text-decoration: underline;
}