/*
Theme Name: Tetelestai
Theme URI: https://tetelestai.io
Author: Lua (actually Dustin)
Author URI: https://tetelestai.io
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/
/* STREAMING STYLES
------------------------------------------------------------------------------*/
.streaming_auth_form {
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
}

.streaming_auth_form .errors.show {
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 10px;
}

.streaming_auth_form input {
    width: 100%;
    border-radius: 5px;
    text-align: center;
}

.streaming_auth_form input[name="lastname"],
.streaming_auth_form input[name="username"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.tetelestai-navigation {
    position: absolute;
    z-index: 999;
    width: 100%;
}

.tetelestai-navigation .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 15px;
}

.tetelestai-navigation .inner .left {
    display: flex;
    align-items: center;
}

.tetelestai-navigation .inner .left a {
    margin-right: 20px;
    white-space: nowrap;
    color: #fff;
}

.tetelestai-navigation .inner .left a:hover,
.tetelestai-navigation .inner .left a:focus {
    text-decoration: none;
    color: #e5802d;
}

.tetelestai-navigation .inner .left a.active {
    color: #e5802d;
}

.tetelestai-navigation .inner .left select {
    margin-bottom: 0;
}

.tetelestai-navigation .inner .right a#header_cart {
    position: relative;
    display: block;
    float: left;
    font-size: 22px;
    line-height: 22px;
    margin-right: 5px;
    text-decoration: none;
}

.tetelestai-navigation .inner .right a:not(.action_button) {
    color: #e5ddd5;
}

.tetelestai-navigation .inner .right a#header_cart span {
    background-color: #e5802d;
    position: relative;
    right: 9px;
    top: -10px;
    display: inline-block;
    width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    font-size: 11px;
    color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.tetelestai-episodes-grid .column:nth-of-type(3n+1) {
    clear: left;
}

.tetelestai-episodes-grid .column:nth-of-type(3n) {
    clear: right;
}

.tetelestai-episodes-grid .image_frame {
    border-width: 0 !important;
}

.tetelestai-episode .hero {
    position: relative;
    background-position: right top 25%;
    background-repeat: no-repeat;
    background-size: cover;
}

.tetelestai-episode .hero .overlay {
    background: rgb(31, 43, 56);
    background: radial-gradient(circle, rgba(31, 43, 56, 0) 0%, rgba(31, 43, 56, 0) 40%, rgba(31, 43, 56, 1) 80%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 130%;
    height: 424%;
}

.tetelestai-episode .hero .inner {
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding-top: 100px;
}

.tetelestai-episode .hero .inner .content {
    width: 100%;
}

.tetelestai-episode .hero .inner .synopsis {
    font-size: 20px;
    line-height: 1.6;
    font-weight: lighter;
}

.tetelestai-episode .episodes .episode {
    display: block;
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    opacity: .8;
    position: relative;
    top: 0;
}

.tetelestai-episode .episodes a.button .button_icon i {
    color: rgba(255, 255, 255, .8);
}

#tetelestai_player {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 959px) {
    .tetelestai-episodes-grid .column h4 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .tetelestai-episode {
        padding-bottom: 40px;
    }

    .tetelestai-episode .hero {
        background-position: left center;
    }

    .tetelestai-episode .hero .overlay {
        width: 350%;
        height: 282%;
    }

    .tetelestai-episode .hero .inner {
        min-height: 45vh;
        display: flex;
        align-items: flex-end;
    }

    .tetelestai-episodes-grid .column {
        margin-bottom: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 579px) {
    .tetelestai-navigation .inner {
        flex-direction: column;
        align-items: stretch;
    }

    .tetelestai-navigation .inner .left {
        text-align: left;
        width: 100%;
    }

    .tetelestai-navigation .inner .right {
        text-align: right;
        width: 100%;
        margin-top: 20px;
    }

    .tetelestai-navigation .inner .right a#header_cart {
        float: none;
        margin-right: 0;
    }

    .tetelestai-episode .hero .inner {
        padding-top: 150px;
    }
}

/* WOOCOMMERCE STYLES
------------------------------------------------------------------------------*/
.woocommerce-account form {
    border: 0 !important;
    background: rgba(0, 0, 0, .6);
    padding: 50px 30px 30px !important;
    text-align: center !important;
    width: 610px;
    max-width: 100% !important;
    margin: 11vh auto 0 !important;
    border-radius: 0 !important;
}

.woocommerce-account form.register:not(.show),
.woocommerce-account form.login:not(.show) {
    display: none;
}

.woocommerce-account form h2 {
    margin-bottom: 20px;
}

.woocommerce-account form p {
    width: 320px !important;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.4;
}

.woocommerce-account form .form-row-first {
    float: none !important;
}

.woocommerce-account form input,
.woocommerce-account form textarea,
.woocommerce-account form select {
    border-radius: 5px;
    text-align: center;
}

.woocommerce-account form p.form-row:nth-of-type(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: inline-block;
    margin-bottom: 13px;
}

.woocommerce-account form input#username {
    margin-bottom: 8px;
}

.woocommerce-account form input#rememberme {
    margin-left: auto;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    margin-right: 0;
    margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation ul li a {
    background: rgba(0, 0, 0, .6);
    border: none;
    color: #fff;
    padding: 15px 15px;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li a:focus {
    background: #e5802d;
}

/* STORY STYLES
------------------------------------------------------------------------------*/

/*.tetelestai-stories .inner {*/
/*    padding: 10px;*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr 1fr;*/
/*    gap: 20px 20px;*/
/*}*/

.tetelestai-stories .inner {
    padding: 10px;
    column-count: 3;
    column-gap: 20px;
}

.tetelestai-stories .inner .tetelestai-story {
    background: rgba(0,0,0,.6);
    padding: 20px;
    font-size: 1.3vw;
    font-weight: 200;
    line-height: 1.4em;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.tetelestai-stories .inner .tetelestai-story .testimony {
    margin-bottom: 40px;
    text-align: justify;
}

.tetelestai-stories .inner .tetelestai-story .name {
    font-weight: bold;
    text-align: center;
}

.tetelestai-stories .inner .tetelestai-story .country {
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 839px) {
    .tetelestai-stories .inner {
        column-count: 2;
    }

    .tetelestai-stories .inner .tetelestai-story {
        font-size: 3.5vw;
    }
}

@media (max-width: 539px) {
    .tetelestai-stories .inner {
        column-count: 1;
    }

    .tetelestai-stories .inner .tetelestai-story {
        font-size: 4.5vw;
    }
}