/*
Theme Name: Vendd Child
Author:
Author URI:
Version: 1.0.1
Description: Child theme for Vendd
Template: vendd
*/
/* ----- Theme customization starts here ----- */
/*
header .page-inner {
    display: grid;
    grid-template-columns: 40% 1fr 29%;
    //grid-auto-rows: 50px;
    grid-gap: 10px;
}
*/
/* 
nav#site-navigation {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    display: flex;
} */
/*---------------*/
body {
    padding: 20px;
}

#content {
    border-radius: 20px;
    /*margin-top: 40px;*/
}

#page {
    background: #f1f1f100;
}

a[href] {
    color: blue;
}

header#masthead {
    border: 1px dashed #005ae0;
    border-radius: 20px;
    margin-bottom: 20px;
}

header#masthead .page-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header#masthead .page-inner .left-hpart {
    flex: 50%;
    padding: 20px;
 }

header#masthead .page-inner .right-hpart {
    padding: 20px;
    flex: 30%;
    text-align: right;
}

header#masthead .page-inner .right-hpart a {
    color: #141b38;
    font-size: 18px;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 1px 1px 3px 1px #f0ebff;
    padding: 10px 20px;
    margin: 0 10px;
}

header#masthead .page-inner .right-hpart a.back-button{
    box-shadow: none;
}

header#masthead .page-inner .left-hpart img {
    max-width: 200px;
    width: 100%;
}

.edd-blocks-form__cart #edd_checkout_cart, #edd_checkout_form_wrap fieldset#edd_sl_renewal_fields {
    border-radius: 20px;
}

#page .edd-submit.button {
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    background-color: #e2f2ff !important;
    border: 1px solid #d3ebff;
    color: #141b38 !important;
    box-shadow: 1px 1px 3px 1px #f0ebff78;
}

#page .edd-submit.button#edd-restore-cart-button {
    background-color: white !important;
}

#page .edd-submit.button:hover, #page .edd-submit.button#edd-restore-cart-button:hover {
    background-color: #1c4cc4 !important;
    color: white !important;
}

#edd_checkout_form_wrap input.edd-input {
    padding: 10px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px dashed black;
}

#edd_checkout_form_wrap #edd-login-account-wrap, #edd_checkout_form_wrap #edd-new-account-wrap, #edd_checkout_form_wrap #edd_final_total_wrap, #edd_checkout_form_wrap #edd_show_discount, #edd_checkout_form_wrap .edd-cart-adjustment, #edd_checkout_form_wrap fieldset#edd_sl_renewal_fields {
    background: white;
}

div.wp-block-edd-checkout #edd-payment-mode-wrap label.edd-gateway-option {
    border: 1px solid white;
    flex: initial;
    padding: 10px 20px;
}

.wp-block-edd-checkout #edd-payment-mode-wrap label.edd-gateway-option.edd-gateway-option-selected {
    border: 1px dashed #005ae0;
    background-color: white !important;
    border-radius: 20px;
    flex: initial;
}

.wp-block-edd-checkout #edd-payment-mode-wrap {
    justify-content: center;
}

#edd_checkout_form_wrap #edd_purchase_submit {
    text-align: center;
    width: auto;
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

.page-id-99 .elementor-tab-title.elementor-active {
    border-style: dashed;
    border: 1px dashed blue !important;
    border-radius: 20px;
    color: blue !important;
}

.page-id-99 .elementor-tabs-content-wrapper .elementor-tab-content {
    border: 1px dashed blue !important;
    border-radius: 20px;
    margin-top: 20px;
}

.page-id-99 .elementor-widget-tabs .elementor-tabs-wrapper .elementor-tab-title.elementor-active:after, .page-id-99 .elementor-widget-tabs .elementor-tabs-wrapper .elementor-tab-title.elementor-active:before {
    border: none;
}

.page-id-99 .entry-content table, .entry-content #edd_checkout_cart, .entry-content #edd_user_history, .entry-content #edd_purchase_receipt, .entry-content #edd_purchase_receipt_products{
    border-radius: 20px;
    padding: 20px;
    border: none;
    border-bottom: 1px solid #f4f7ff;
}

.page-id-99 .entry-content table th, #edd_user_history th {
        padding: 20px;
        /* border-radius: 20px; */
        background: none;
}

.page-id-99 .entry-content table thead tr, #edd_user_history thead tr {
    background: #f4f7ff;
    border-radius: 20px;
    /* overflow: hidden; */
}

.page-id-99 table th:first-child{
  border-radius: 20px 0 0 20px;
}

.page-id-99 table th:last-child{
  border-radius: 0 20px 20px 0;
}

.page-id-99 .entry-content table td, #edd_user_history td {
    /* border-radius: 20px; */
    border-color: #f4f7ff;
    padding: 20px;
}

.page-id-99 input:not([type="submit"]), .page-id-99 select {
    border-radius: 20px;
    padding: 10px 20px;
    border: 1px dashed #005ae0;
    background-color: white;
}

.page-id-99 .edd-alert {
    border-radius: 10px;
}

.page-id-99 input[type="submit"].edd-submit {
    background-color: #005ae0;
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
        margin: 10px 0;
}

.page-id-99 input[type="submit"].edd-submit:hover{
    border: 1px solid #005ae0;
    color: #005ae0;
    background-color: white;
}

/*--------------------*/
form#edd-blocks-form__login, 
form#edd-blocks-form__lost-password, 
form#edd_register_form {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    background: white;
    box-shadow: 1px 1px 6px 1px #00000012;
    padding: 20px;
}

form#edd-blocks-form__login .edd-slg-social-login-googleplus, 
form#edd-blocks-form__lost-password .edd-slg-social-login-googleplus, 
form#edd_register_form .edd-slg-social-login-googleplus {
    width: 100%;
    display: block;
    text-align: center;
}

.page-id-87 header.entry-header, 
.page-id-93 header.entry-header {
    text-align: center;
}

.page-id-93 .vendd-edd-fes-shortcode .entry-header{
        margin-bottom: unset;
}

.page-id-87 div#content, 
.page-id-93 div#content {
    background: none;
}

form#edd-blocks-form__login input, 
form#edd-blocks-form__lost-password input, 
form#edd_register_form input {
    border: 1px dashed #005ae0;
    padding: 10px;
    border-radius: 20px;
}

.page-id-87 form#edd-blocks-form__login input[type="submit"]#edd_login_submit.edd-submit.button, 
form#edd-blocks-form__lost-password input[type="submit"], 
form#edd_register_form input[type="submit"] {
    width: 100%;
    height: 45px;
    max-width: -webkit-fill-available;
    margin-top: 30px;
    background-color: #242424 !important;
    color: white !important;
}

form#edd-blocks-form__login #edd_slg_social_login, 
form#edd-blocks-form__lost-password #edd_slg_social_login, 
form#edd_register_form #edd_slg_social_login {
    text-align: center;
    padding-top: 35px;
}

form#edd-blocks-form__login .edd-slg-social-login-googleplus img, 
form#edd-blocks-form__lost-password .edd-slg-social-login-googleplus img, 
form#edd_register_form .edd-slg-social-login-googleplus img {
    width: 100%;
    max-width: 300px;
    height: 50px;
    border-radius: 10px;
}

form#edd-blocks-form__login .edd-slg-login-wrapper, 
form#edd-blocks-form__lost-password .edd-slg-login-wrapper, 
form#edd_register_form .edd-slg-login-wrapper {
    float: none;
}

#edd_register_form fieldset legend {
    text-align: center;
    font-size: 16px !important;
}

#edd_register_form label, 
#edd_register_form input {
    display: block;
    margin: 10px;
    width: -webkit-fill-available;
}

.page-id-87 #page form#edd-blocks-form__login input[type="submit"].edd-submit.button:hover, 
form#edd-blocks-form__lost-password input[type="submit"]:hover, 
form#edd_register_form input[type="submit"]:hover {
    color: #242424 !important;
    border: 1px solid #242424;
    background-color: white !important;
}

.wp-block-edd-login>.message {
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
}

a.user-form-action-btns {
    color: #242424;
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 20px;
    background: #ffffff;
    padding: 10px;
    text-align: center;
}

a.user-form-action-btns:hover {
    background: #242424;
    color: white;
}

.wp-block-edd-login .edd-alert {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.edd-checkout.edd-page .edd_downloads_list {
    display: none;
}


@media (max-width: 600px) {
    body {
        padding: 0;
    }

    header#masthead .page-inner .right-hpart, header#masthead .page-inner .left-hpart {
        padding: 10px;
    }

    header#masthead .page-inner .left-hpart {
        text-align: left;
    }

    header#masthead .page-inner .left-hpart img {
        max-width: 150px;
    }

    #content {
        padding: 10px;
    }

    header#masthead .page-inner .right-hpart a {
        font-size: 16px;
        padding: 7px 15px;
    }

    header#masthead {
        border-radius: 0 0 20px 20px;
    }
    
    .page-id-99 .elementor-tabs-content-wrapper .elementor-tab-content{
        padding: 10px;
        overflow-y: auto;
    }
    
    .page-id-99 .elementor-widget-container{
        padding: 0;
    }
    
    .page-id-99 .entry-content table, .entry-content #edd_checkout_cart, .entry-content #edd_user_history, .entry-content #edd_purchase_receipt, .entry-content #edd_purchase_receipt_products{
        padding: 0;
    }
    
    .page-id-99 .entry-content table th, #edd_user_history th{
         padding: 10px;
    }
}
