/*
Theme Name:   Numerology Sign Custom Theme
Description:  Child Theme
Author:       Denis R
Template:     mediavine-trellis
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

.pairs-widget-top {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pairs-widget {
    background: url('img/numbg.jpg') no-repeat 50% 0%;
    background-size: cover;
    padding: 5px 20px 20px;
}

.tarot-widget,
.number-widget {
    background: url('img/numbg2.jpg') no-repeat 50% 0%;
    background-size: cover;
    padding: 20px;
    margin-bottom: 20px;
}

.tarot-widget h2,
.pairs-widget h2 {
    text-align: center;
    padding-bottom: 5px;
    color: #FF8B96;
}

.pair-result {
    font-size: 80px;
    text-align: center;
    font-weight: 500;
    line-height: 80px;
}

.pair-result span + span {
    font-size: 30px;
    display: block;
}

.pairs-widget-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pairs-widget-select {
    position: relative;
    max-width: 250px;
    width: 100%;
}

.pairs-widget-sep {
    color: #BB8181;
    font-size: 50px;
    line-height: 40px;
}

.pairs-widget-select-active {
    font-weight: 500;
    font-size: 28px;
    line-height: 42px;
    color: #FF8B96;
    background: url('img/select-png.png') 50% 50% no-repeat;
    background-size: contain;
    padding: 18px 35px;
    cursor: pointer;
    position: relative;
}

.pairs-img {
    max-width: 100px;
}

.pairs-widget-select-signs {
    background: #FFFFFF;
    border: 1px solid #000000;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 10px);
    z-index: 99;
}

.pairs-select-sign {
    padding: 2px 10px;
    cursor: pointer;
    font-size: 16px;
}

.pairs-select-sign:hover {
    background: #ff8b96;
}

.pairs-widget-links a {
    display: inline-block;
    border: 1px solid #FF8B96;
    box-shadow: 0px 0px 10px rgb(255 139 150 / 30%);
    border-radius: 8px;
    text-decoration: none !important;
    /*color: #FF8B96 !important;*/
    margin: 0 auto;
    padding: 6px 15px;
}

.pairs-widget-links {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.number-widget-top, .number-widget-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.number-widget-label {
    font-weight: 500;
    font-size: 25px;
    line-height: 30px;
    color: #150F0F;
}

.number-widget-tab {
    cursor: pointer;
    width: 185px;
    text-align: center;
    padding: 10px;
    background: #FFFFFF;
    border: 2px solid #FF8B96;
    border-radius: 7px;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #FF8B96;
}

.number-widget-tab.active {
    background: rgb(255 232 234 / 50%);
    color: #ff8b96;
    border-color: deeppink;
}

.number-widget-form {
    margin-top: 10px;
    font-size: 18px;
}

.number-widget-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.number-widget-input-birth {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.input-select {
    position: relative;
}

.number-widget-input-birth > input, .number-widget-input-birth > div {
    flex: 1;
}

.number-widget-months {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 3;
}

.number-widget-no-store {
    margin-top: 30px;
    font-size: 15px;
    line-height: 18px;
    color: #8A8A8A;
}

.number-widget-month {
    padding: 2px 20px;
    cursor: pointer;
}

.number-widget-month.active, .number-widget-month:hover {
    background: #FFD2D6;
}

.number-widget-inputs input {
    font-size: 18px;
    border: none;
    background: url('img/input-noarrow3.png') 0% 50% no-repeat;
    background-size: contain;
    padding: 20px;
    font-weight: 500;
    color: #FF8B96;
}

.number-widget-inputs input::placeholder {
    color: #FF8B96;
}

.number-widget-months.active {
    opacity: 1;
    visibility: visible;
}

.tarot-widget-top {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tarot-widget-top > div {
    width: 210px;
    position: relative;
}

.tarot-widget-select-active,
.number-widget-month-active {
    color: #FF8B96;
    background: url('img/input-arrow3.png') 0% 50% no-repeat;
    background-size: contain;
    width: 154px;
    padding: 16px 20px;
    cursor: pointer;
}

h2 + .number-widget-no-store {
    margin-top: -10px;
}

.tarot-widget-select-active {
    width: 210px;
}

.number-widget-input.number-widget-input-name {
    flex: 1;
}

.number-widget-input.number-widget-input-name input {
    padding: 10px 20px;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 7px;
}

.number-widget-results {
    text-align: center;
    margin-top: 20px;
}

.number-widget-results-title {
    color: #505050;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.number-widget-number {
    margin-top: 0;
}

.number-widget-number-label {
    color: #FF8B96;
    font-size: 90px;
    font-weight: 500;
    line-height: 110px;
}

.number-widget-error {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: 16px;
    color: red;
    font-weight: 700;
}

.number-widget-inputs {
    position: relative;
}

.number-widget-number-link a {
    border: 1px solid #FF8B96;
    border-radius: 6px;
    /* color: #FF8B96 !important; */
    font-size: 20px;
    font-weight: 500;
    text-decoration: none !important;
    padding: 7px 14px;
    display: inline-block;
}

.number-widget-number-link {
    margin: 10px 0;
}

.number-widget-about a {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #BB8181 !important;
}

.number-widget-also-read a {
    /* color: #FF8B96 !important; */
    margin: 0 5px;
}

.number-widget-also-read {
    margin-top: 20px;
    font-size: 24px;
}

.number-widget h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #FF8B96;
}

.number-widget-input .error {
    padding: 18px;
    border: 2px solid red;
}

.input-select.error {
    padding: 0;
}

.number-widget-input.number-widget-input-name input.error {
    padding: 6px 16px;
    border: 2px solid red;
}

button.number-widget-go {
    background: #ec6e7a !important;
}

.tarot-widget-select {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 3;
}

.tarot-widget-select.active {
    opacity: 1;
    visibility: visible;
}

.tarot-widget-select-item {
    padding: 2px 20px;
    cursor: pointer;
}

.tarot-widget-select-item:hover {
    background: #FFD2D6;
}

.tarot-widget-select-group {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 3;
}

.tarot-widget-select-group-wrap.active .tarot-widget-select-group {
    opacity: 1;
    visibility: visible;
}

.tarot-widget-card-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tarot-widget-card-img {
    max-width: 200px;
}

.tarot-widget-card-info {
    flex: 1;
}

.tarot-widget-main {
    padding-top: 20px;
}

.card-error {
    position: absolute;
    color: red;
    font-weight: 700;
    top: 100%;
    left: 20px;
}

.tarot-widget-card-link a {
    border: 1px solid #FF8B96;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none !important;
    padding: 7px 14px;
    margin: 0 auto;
    display: inline-block;
}

.tarot-widget-card-link {
    text-align: center;
}

div#infinite-handle button {
    border: 1px solid #eee;
    padding: 10px 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
}

div#infinite-handle button:hover {
    padding: 10px 40px;
}

@media screen and (max-width: 680px) {
    .pairs-widget {
        padding: 10px 0;
        border: 1px solid #FF8B96;
        border-radius: 10px;
    }

    .pairs-img {
        max-width: 50px;
    }

    .pair-result {
        font-size: 50px;
        line-height: 45px;
    }

    .pair-result span + span {
        font-size: 24px;
    }

    .pairs-img img {
        margin: 0;
    }

    .pairs-widget h2 {
        line-height: 40px;
        font-size: 20px;
        padding-bottom: 10px;
    }

    .pairs-widget-links {
        margin-top: 20px;
    }

    .pairs-widget-select-active {
        padding: 10px 24px;
        font-size: 16px;
    }

    .pairs-widget-sep {
        font-size: 30px;
        position: relative;
        top: -5px;
    }

    .pairs-widget-select-signs {
        top: 100%;
    }

    .number-widget-tab:last-child {width: 100px;}

    .number-widget-tab {
        flex: 1;
        font-size: 18px;
    }

    .number-widget-input-birth {
        display: block;
    }

    .number-widget-input-birth input {
        width: 220px;
        font-size: 22px;
        padding: 18px 25px;
    }

    .number-widget-inputs {
        display: block;
    }

    .number-widget-btn {
        margin-top: 15px;
    }


    .number-widget h2 {
        font-size: 20px;
    }

    .number-widget-tabs {width: 100%;gap: 10px;}

    .number-widget-number-link a {
        display: block;
    }

    button.number-widget-go {
        background: #ff8b96 !important;
    }

    .number-widget-error {
        width: 100%;
        bottom: -22px;
        text-align: center;
    }

    .number-widget-top {
        gap: 15px;
    }

    .number-widget {
        padding: 20px 10px;
    }

    .number-widget-input-birth input::placeholder {
        font-size: 22px;
    }

    .number-widget-month-active {
        width: 196px;
        margin: 15px 0;
        font-size: 22px;
    }

    .tarot-widget-top {
        display: block;
    }

    .tarot-widget-top > div {
        margin: 0 auto 20px;
    }

    .tarot-widget-card-inner {
        display: block;
    }

    .tarot-widget-card-img {
        max-width: 200px;
        margin: 0 auto;
    }

    .tarot-widget-main {
        padding: 0;
    }

    .tarot-widget {
        box-shadow: 0 0 5px rgb(255 139 150 / 60%);
        border-radius: 8px;
    }

    .auth-avatar {
        text-align: center;
    }
}