/*
 Theme Name:     Learn Liberty Theme
 Theme URI:      https://learnliberty.org
 Description:    learnliberty.org Official theme
 Author:         SFL IT Team
 Author URI:     https://studentsforliberty.org
 Template:       Divi
 Version:        1.0.0
*/

/* Main styles */
body,
body p {
    font-family: Helvetica Now Text;
    font-weight: normal;
    font-size: 18px;
    color: #000;
}

h1,
.et_pb_column_1_3 h1,
.et_pb_column_1_4 h1,
.et_pb_column_1_5 h1,
.et_pb_column_1_6 h1,
.et_pb_column_2_5 h1 {
    font-family: Eina03;
    font-size: 64px;
    color: #000;
}

h2,
.et_pb_column_1_3 h2,
.et_pb_column_1_4 h2,
.et_pb_column_1_5 h2,
.et_pb_column_1_6 h2,
.et_pb_column_2_5 h2 {
    font-family: Helvetica Now Display;
    font-size: 26px;
    color: #000;
}

h3,
.et_pb_column_1_3 h3,
.et_pb_column_1_4 h3,
.et_pb_column_1_5 h3,
.et_pb_column_1_6 h3,
.et_pb_column_2_5 h3 {
    font-family: Helvetica Now Display;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #000;
}

h5 {
    font-size: 16px;
    font-family: Eina01;
}

h6,
.et_pb_column_1_3 h6,
.et_pb_column_1_4 h6,
.et_pb_column_1_5 h6,
.et_pb_column_1_6 h6,
.et_pb_column_2_5 h6,
.video-info h6 p {
    font-family: Helvetica Now Display;
    font-weight: normal;
    font-size: 13px;
    color: #000;
}

#et-main-area p a,
#et-main-area li a,
#et-main-area blockquote a {

    line-height: inherit;
    text-decoration: none;
    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 0;
    overflow: hidden;
    color: inherit;
    vertical-align: bottom;
    transition: color .3s ease-out;

}

#et-main-area p a:before,
#et-main-area li a:before,
#et-main-area blockquote a:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: translateY(calc(100% - 2px));
    width: 100%;
    height: 100%;
    background: linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    transition: transform .25s ease-out;
}

#et-main-area p a:hover,
#et-main-area li a:hover,
#et-main-area blockquote a:hover {
    color: #fff;
    text-decoration: none !important;
}

#et-main-area p a:hover::before,
#et-main-area   li a:hover:before,
#et-main-area blockquote a:hover:before {
    transform: translateY(0);
    transition: transform .25s ease-out;
}

sup {
    bottom: .5em;
    font-size: 13px;
}

.gradient-button,
#et_pb_contact_form_0 .et_pb_contact_submit {
    font-family: Eina01;
    color: #fff;
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.1em;
    border: none !important;
    border-color: #54aad8;
    background-color: #54aad8;
    position: relative;
    display: inline-block;
    z-index: 1;
    border-width: 0;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: .3s;
}
.gradient-button:before,
#et_pb_contact_form_0 .et_pb_contact_submit:before {
    content: '';
    background-color: #54aad8;
    background-image: linear-gradient(to right, #54aad8 50%, #e3c549 100%);
    display: inline-block;
    position: absolute;
    left: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 200%;
    height: 200%;
    transition: .3s;
    z-index: -1;
}

.gradient-button:hover:before,
#et_pb_contact_form_0 .et_pb_contact_submit:hover:before {
    right: -100%;
}

.inverted-button {
    font-family: Eina01;
    background: #fff;
    font-size: 16px;
    padding: 10px 20px !important;
     line-height: 1.7 !important;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-align: center;
    display: inline-block !important;
    border: 2px solid #fff;
        transition: background .3s ease-out !important;
}

.inverted-button span {
    background: -webkit-linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.inverted-button:hover {
     background: transparent;
}
.inverted-button:hover span {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff;
}
.inverted-button:before {
      content: none !important;
}
.blue-button {
	font-family: Helvetica Now Display;
	font-weight: bold  !important;
	font-size: 16px;
	border-radius: 20px;
	background-color: #54aad8;
	color: #fff;
	padding: 10px 20px;
	line-height: 1;
}
.blue-button i {
    color: #fff;
}
.blue-button:hover i {
	margin-left: 5px;
}
.angle-right:after {
    font-size: 16px;
    line-height: 1em;
    content: "\35";
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
    font-family: ETmodules!important;
    vertical-align: middle;
}
/* End of Main styles */

/* Menu styles */
.et-menu-nav li a {
    font-size: 16px;
    font-family: Eina01;
    color: #000;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 1;
}

.et-menu-nav li a:hover {
    background: linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.et_pb_menu__wrap button.et_pb_menu__icon.et_pb_menu__search-button {
    padding: 0 20px;
    color: #000;
}
.et_pb_row.et_pb_row_0_tb_header {
padding: 20px 0 15px;	
}
#right-menu, .et_pb_column_1_tb_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
}
.et_pb_menu_0_tb_header {
    margin: 0 !important;
}
#right-menu div:first-child {
    padding: 10px 20px 10px 0;
    border-right: 1px solid #D3D3D3;
}

#right-menu div img {
    max-height: 16px;
    max-height: 16px;
    margin: 10px 0 0 20px;
}


#right-mobile-menu {
    display: block;
    float: right;
    margin-right: 15px;
    max-height: 20px;
}

#mobile-menu .et_mobile_menu {
    width: 100vw;
}

#mobile-menu ul#mobile_menu2,
#menu-main ul.sub-menu {
    border-top: none;
}

#mobile-menu .et_mobile_menu li {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d3d3d3;
}

#mobile-menu .et_mobile_menu li a,
#menu-main .sub-menu li a {
    font-size: 16px;
    font-family: Eina01;
    color: #000;
}

#mobile-menu .et_pb_code_1_tb_header .et_pb_code_inner {
    text-align: right;
    margin: auto 15px auto auto;
}

#menu-main .sub-menu li {
    border-bottom: 1px solid #d3d3d3;
    padding: 10px;
}
#mobile-menu .et_mobile_menu li#menu-item-59 {
    border-bottom: none;
}
#menu-main ul.sub-menu {
    padding: 0;
}

#menu-item-60 {
    text-align: center;
    font-family: Eina01;
    color: #fff !important;
    background: rgb(72, 175, 193);
    background: -moz-linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    background: -webkit-linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    background: linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#48afc1", endColorstr="#d8c230", GradientType=1);
    font-size: 16px;
    padding: 5px 20px;
    text-transform: uppercase;
    width: 90vw;
    margin: 10px 5%;
    border-bottom: none;
    cursor: pointer;
    letter-spacing: 0.1em;
}

#menu-item-60:hover {
    background: rgb(216, 194, 48);
    background: -moz-linear-gradient(90deg, rgba(216, 194, 48, 1) 0%, rgba(117, 181, 158, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(216, 194, 48, 1) 0%, rgba(117, 181, 158, 1) 100%);
    background: linear-gradient(90deg, rgba(216, 194, 48, 1) 0%, rgba(117, 181, 158, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d8c230", endColorstr="#75b59e", GradientType=1);
}

#menu-item-60 a {
    color: #fff !important;
}

#mobile-menu .mobile_menu_bar {
    margin-left: 15px;
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}

#mobile-menu .mobile_menu_bar:before {
    font-size: 47px;
}

#mobile-site-logo {
    max-height: 47px;
}

#mobile_menu2.et_mobile_menu {
    top: 170%;
}

#mobile-menu div.et_pb_menu__wrap {
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
}

.blurred {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

/* End of Menu styles */


/*Footer styles*/
footer #footer {
	align-items: stretch;
}
footer .et_pb_column_1_3:first-child, footer .et_pb_column_1_3:nth-child(3)  {
	width: 35%;
}
footer .et_pb_column_1_3:nth-child(2)  {
	width: 30%;
	align-self: center;
}
.footer-columns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-columns.first img {
    max-width: 25%;
}

.footer-columns.first h6 {
    color: #fff;
    margin: 0 15px;
}

.footer-columns.second a {
    max-width: 15%;
    padding: 0 0.75%;
}

/*End of Footer styles*/

/*Home page styles*/
#section-one {
    min-height: 20vw;
}

.main-section {
    position: absolute;
    top: 5vw
}

.main-section h1,
.main-section h2 {
    margin-right: 40%;
}

#section-one .et_pb_code_inner>img {
    max-width: 50%;
    float: right;
}

.main-buttons {
    display: flex;

}

.main-buttons a:first-child {
    margin-right: 25px;
}


#learn-live-watch {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#learn-live-watch div {
    display: flex;
    align-items: center;
    justify-content: normal;
}

#learn-live-watch div img {
    max-width: 30%;
    margin-right: 20px;
}

/*End of Home page styles*/
/*Video grid*/
.section .video-grid,
.video-grid .et_pb_code_inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 30;
}

.video-grid .video {
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
}

.video-overlay {
    position: relative;
    line-height: 0.9em;
    transition: all .2s ease-in-out;
}

.video-overlay:before {
    content: url(/wp-content/uploads/2021/01/playimg-small.png);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 5;
}

.video-overlay:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.6) 35%);
}

.video-overlay:hover:before {
    content: url(/wp-content/uploads/2021/01/play-img-hover.png);
}

.video-info {
    padding: 20px;
}

.video-info h2 {
    font-weight: bold;
}

/*End of Video grid*/

/* PHP generated pages */

.section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding: 50px 0;
    position: relative;
}

.section .row {
    max-width: 1400px;
    margin: auto;
    width: 80%;
}

.gradient {
    background: rgb(72, 175, 193);
    background: -moz-linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    background: -webkit-linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    background: linear-gradient(99deg, rgba(72, 175, 193, 1) 0%, rgba(216, 194, 48, 1) 98%, rgba(216, 194, 48, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#48afc1", endColorstr="#d8c230", GradientType=1);
    color: #fff;
    padding: 27px 0;
}

.gradient-top {
    background-image: url(/wp-content/uploads/2021/02/gradient-top.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 0;
    opacity: 0.7;
}

.error404 .row {
    padding: 10vh 0;
}

.error404 .row img {
    max-width: 80%;
    display: block;
    text-align: center;
    margin: auto;
}

/*  Archive page styles */
.options-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding-top: 40px;
}
.options-grid h2 {
    color: #fff;
    font-weight: 700;
}
.options-grid > div {
    background-image: url('/wp-content/uploads/2022/06/sign-up.jpg');
    background-size: cover;
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    min-height: 200px;
    flex-direction: column;
}
.options-grid .blue-button {
    align-self: flex-end;
}
.options-grid > a {
    background-size: cover;
    padding: 40px 20px;
    transition: 0.4s ease-in-out background;
}
.options-grid .get-involved {
 background-image: url('/wp-content/uploads/2022/06/get-involved.jpg');
}
.options-grid .write-for-us {
 background-image: url('/wp-content/uploads/2022/06/write-for.jpg');
}
.get-involved:hover, .write-for-us:hover {
     background-position: bottom center;
 }

.pods-pagination-advanced {
    display: block;
    text-align: center;
    margin-top: 50px;
    font-size: 16px;
}

.pods-pagination-advanced:before {
    content: 'Page:';
    text-transform: uppercase;
    font-weight: 600;
}

.pods-pagination-number {
    padding: 5px 10px;
    background: #fff;
    border-radius: 100px;
}

.pods-pagination-current {
    font-weight: 600;
    background-color: transparent;
}

/* End of Video Archive page styles */

/*Contact Page styles */
#et_pb_contact_message_0.et_pb_contact_message.input {
    min-height: 312px;
}

/* End of Contact Page styles */
/*Team Page styles */
#team-members .et_pb_code_inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    width: 50%;
    margin: auto;
    gap: 50px 20px;
}

.team-member h2,
.team-member p {
    text-align: center;
}

/*End of Team Page styles */
/*Responsive styles*/

@media only screen and (max-width: 1510px) {
    .main-section h2 {
        margin-right: 50%;
    }

    .main-section {
        top: 0;
    }
}

@media only screen and (max-width: 1399px) {
    #section-one {
        min-height: 50vw;
    }


}

@media only screen and (max-width: 1210px) {
    #section-one {
        min-height: 60vw;
    }

    .section .video-grid,
    .video-grid .et_pb_code_inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 1024px) {

    h1,
    .et_pb_column_1_3 h1,
    .et_pb_column_1_4 h1,
    .et_pb_column_1_5 h1,
    .et_pb_column_1_6 h1,
    .et_pb_column_2_5 h1 {
        font-size: 48px;
    }

    h2,
    .et_pb_column_1_3 h2,
    .et_pb_column_1_4 h2,
    .et_pb_column_1_5 h2,
    .et_pb_column_1_6 h2,
    .et_pb_column_2_5 h2 {
        font-size: 20px;
    }

    h3,
    .et_pb_column_1_3 h3,
    .et_pb_column_1_4 h3,
    .et_pb_column_1_5 h3,
    .et_pb_column_1_6 h3,
    .et_pb_column_2_5 h3 {

        font-size: 18px;
    }

}

@media screen and (min-width: 981px) and (max-width: 1110px) {
    .et-menu-nav li a {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media screen and (max-width: 1023px) {
	 .options-grid {
      grid-template-columns: 1fr 1fr 1fr;
 }
    .options-grid > div {
        background-position: 90% 80%;
    }
}
@media screen and (max-width: 980px) {
    #right-menu {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    header .et_pb_column_3_5,
    header .et_pb_column_1_5:last-child {
        width: 50%;
    }

    #mobile-menu .et_pb_column {
        width: 50% !important;
        margin-bottom: 0;
    }
	#mobile-menu .et_pb_column .et_pb_module {
    margin-bottom: 0;
}
    #team-members .et_pb_code_inner {
        grid-template-columns: repeat(2, 1fr);
    }
	 #footer {
        display: flex;
        flex-direction: column;
    }
    footer .et_pb_column_1_3:first-child, footer .et_pb_column_1_3:nth-child(3)  {
	width: 100%;
}
footer .et_pb_column_1_3:nth-child(2)  {
	width: 100%;
	align-self: center;
}
	 footer .et_pb_column_1_3:nth-child(3) .et_pb_image_0_tb_footer {
     text-align: center !important;
     margin: auto;
 }

}

@media only screen and (max-width: 900px) {
    #section-one {
        min-height: 70vw;
    }
}

@media only screen and (max-width: 767px) {

    body,
    body p {
        font-size: 16px;
    }

    .main-section {
        position: initial;
    }

    .main-section h1,
    .main-section h2 {
        margin-right: 0 !important;
    }

    #section-one .et_pb_code_inner>img {
        float: none;
        text-align: center;
        margin: 20px 0 0;
        max-width: 100%;
    }

    #section-one {
        min-height: auto;
    }

    .main-buttons {
        display: inline;
        line-height: 4rem;
    }

    #learn-live-watch {
        grid-template-columns: repeat(1, 1fr);
    }

    .section .video-grid,
    .video-grid .et_pb_code_inner {
        gap: 10px;
    }

    #team-members .et_pb_code_inner {
        gap: 20px;
    }
	      .post-sharing {
          border-bottom: 1px solid #000;
          padding: 20px 0;
      }
   .options-grid {
      grid-template-columns: 1fr; 
   }
    .options-grid > a {
        min-height: 200px;
         background-position: 90% 80%;
    }

}

@media only screen and (max-width: 479px) {
    #mobile-menu .et_pb_column {
        width: 50% !important;
        margin-bottom: 0;
    }

    .section .video-grid,
    .video-grid .et_pb_code_inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .main-buttons a:first-child {
        margin-right: 5px;
    }

    #team-members .et_pb_code_inner {
        grid-template-columns: repeat(1, 1fr);
    }
	 .post-sharing {
        flex-direction: column;
        gap: 20px;
    }
	.footer-columns.first {
		flex-direction: column;
		gap: 20px;
	}
}


/*End of Responsive styles*/