/* Assistant */
@font-face {
    font-family: Assistant-Bold;
    src: url('../fonts/Assistant/Assistant-Bold.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-ExtraBold;
    src: url('../fonts/Assistant/Assistant-ExtraBold.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-ExtraLight;
    src: url('../fonts/Assistant/Assistant-ExtraLight.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-Light;
    src: url('../fonts/Assistant/Assistant-Light.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-Medium;
    src: url('../fonts/Assistant/Assistant-Medium.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-Regular;
    src: url('../fonts/Assistant/Assistant-Regular.ttf') format('truetype');
}
@font-face {
    font-family: Assistant-SemiBold;
    src: url('../fonts/Assistant/Assistant-SemiBold.ttf') format('truetype');
}

/* Heebo */
@font-face {
    font-family: Heebo;
    src: url('../fonts/Heebo/Heebo-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Black;
    src: url('../fonts/Heebo/static/Heebo-Black.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Bold;
    src: url('../fonts/Heebo/static/Heebo-Bold.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-ExtraBold;
    src: url('../fonts/Heebo/static/Heebo-ExtraBold.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-ExtraLight;
    src: url('../fonts/Heebo/static/Heebo-ExtraLight.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Light;
    src: url('../fonts/Heebo/static/Heebo-Light.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Medium;
    src: url('../fonts/Heebo/static/Heebo-Medium.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Regular;
    src: url('../fonts/Heebo/static/Heebo-Regular.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-SemiBold;
    src: url('../fonts/Heebo/static/Heebo-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: Heebo-Thin;
    src: url('../fonts/Heebo/static/Heebo-Thin.ttf') format('truetype');
}

/* Yiddishkeit */
@font-face {
    font-family: Yiddishkeit;
    src: url('../fonts/yiddishkeit-bold-web/yiddishkeit-bold-fm.ttf') format('truetype');
}

:root {
    /* Colors: */
    --background-gradient-light: linear-gradient(to right, #a4d8f6, #bcdefa, #d1e4fc, #e3ebfd, #f1f3fe, #f1f3fe, #f1f3fe, #f1f3fe, #e3ebfd, #d1e4fc, #bcdefa, #a4d8f6);
    --background-gradient-dark: linear-gradient(to right, #0593e2, #259be7, #37a4ed, #46acf2, #54b5f7, #54b5f7, #54b5f7, #54b5f7, #46acf2, #37a4ed, #259be7, #0593e2);
    --top-divider-color: #88AF3C;
    --bottom-divider-color: #A0778E;
    --customerArea-font-color: #15789B;
    --gameArea-font-color: #14779A;
    --buttons-color: #15789B;
    --lang-buttons-color: #AD85AF;
    --menu-buttons-text-color: white;
    /* Font-sizes */
    --page-font-small: 0.9em;
    --page-font-regular: 1em;
    --page-font-medium: 1.2em;
    --page-font-big: 1.3em;
    --page-font-large: 2em;
    /* Width grid */
    --w30: 30%;
    --w50: 50%;
    --w60: 60%;
    --w100: 100%;
}

.bold {
    font-family: 'Assistant-Bold'!important;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #337ab7;
}
body *{
    box-sizing: border-box;
}

.form-signin h1 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
.form-signin h1 a {
    color: white;
}
.form-signin {
    width: 100%;
    /*height: 100%;*/
    padding: 15px;
    margin: auto;
}
a.logoImg {
    width: 100%;
    display: block;
    padding: 30px;
    border-bottom: 2px solid #337ab7;
    background-color: white;
    border-radius: 15px 15px 0 0;
}
img.logo {
    /*background-color: white;
    border-radius: 15px;
    border: 2px solid #337ab7;
    padding: 20px 30px;*/
}

.page-container {
    max-width: 600px;
    margin: auto;
    background-color: #AD85AF;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2);
}
.page-container-single {
    max-width: 600px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.text:lang(he) {
    text-align: right;
    direction: rtl;
}

h1 {
    text-align: center!important;
}

input:lang(he) {
    text-align: right;
}
.rtl_layout {
    direction: rtl;
}
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 50%;
}
.form-group.full {
    width: 100%;
    max-width: 100%;
}
:lang(he) .form-group {
    direction: rtl;
}
.line.terms .form-group {
    width: 100%;
}

.line {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
:lang(he) .line {
    direction: rtl;
}

.line.terms {
    padding: 0 30px;
    color: white;
}
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 25px;
    width: 25px;
    margin: 0 7px;
    outline: none;
    position: relative;
    padding: 0 5px;
    border-bottom: 5px solid white;
}

input[type="checkbox"]:checked {
    background-color: #337ab7;
    border-bottom: 5px solid #337ab7;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 12px;
    height: 18px;
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
}
:lang(he) input[type="checkbox"]:checked::after {
    width: 18px;
    height: 12px;
}

.line.buttons {
    margin-top: 15px;
}

.line > .ifMember,
.line >.ifMember > a {
    color: white;
    font-size: 18px;
}
:lang(he) .line > .ifMember,
:lang(he) .line >.ifMember > a {
    direction: rtl;
}
.line > .ifMember {
    width: 100%;
}
.line >.ifMember > a {
    font-weight: 700;
    text-decoration: underline;
}

.line > .ifMember > span {
    margin-right: 10px;
}
:lang(he) .line > .ifMember > span {
    margin-right: unset;
    margin-left: 10px;
}
.terms label {
    font-weight: normal;
    vertical-align: top;
}
.terms label > a {
    color: white;
    text-decoration: underline;
}
.form-group:has(select[name="subscription_id"]) {
    width: 100%;
}

.form-group > label {
    display: inline-flex;
    /*width: 250px;*/
    margin-bottom: 0;
    font-size: 16px;
}
:lang(he) .form-group > label {
    direction: rtl;
}
.form-control {
    display:inline-flex;
    color: #337ab7;
}
.form-control.error {
    color: red!important;
    border-color: red!important;
    background-color: lemonchiffon!important;
}

.text-muted {
    color: #e2cfe2;
    margin-bottom: 20px;
}

.btn.btn-primary {
    background-image: none;
    background-color: #BE9EBF;
    border: 2px solid #BE9EBF;
    width: 100%;
    font-weight: bold;
}

.btn.btn-link {
    border: 2px solid #BE9EBF;
    width: 100%;
    color: #e2cfe2;
    font-weight: bold;
}
.offers {
    display: block;
    width: 100%;
}
.offerCard {
    width: 175px;
    min-height: 315px;
    vertical-align: top;
    background-color: var(--customerArea-font-color);
    border: 2px solid #BE9EBF;
    border-radius: 6px;
    padding: 1em 0.5em 0.6em;
    color: white;
    display: inline-block;
    margin: 0.7em 0.5em;
    direction: rtl;
}
.offerCard.selected {
    border-color: #fff;
}
.offerName {
    color: white;
    font-family: Assistant-Bold;
    font-size: var(--page-font-medium);
    min-height: 73px;
}
.offerName .special {
    color: #89caf9;
    font-family: Assistant-Medium;
}
.offerPrice {
    padding-bottom: 1em;
    font-family: Assistant-Medium;
    font-size: var(--page-font-medium);
    color: #f9dfaf;
}
.offerPrice>div {
    line-height: 1.1;
}
.offerPrice .price {
    font-size: 40px;
    font-family: Assistant-Bold;
}
.offerDescription {
    font-size: var(--page-font-regular);
    line-height: 1.1em;
    margin-bottom: 1em;
    height: 20px;
}
.offerRemarks {
    font-size: var(--page-font-small);
    margin-bottom: 1em;
    line-height: 14px;
    height: 45px;
    opacity: 0.6;
    min-height: 60px;
}
.offerChoiceBtn {
    background-color: white;
    color: #15789B;
    padding: 5px;
    font-family: Assistant-Bold;
    font-size: var(--page-font-small);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    display: inline-block!important;
}
.offerChoiceBtn:hover, .offerChoiceBtn a:hover {
    color: #000;
}
.offerChoiceBtn a {
    text-decoration: none;
}
.offerCard.selected .offerChoiceBtn {
    background-color: var(--top-divider-color);
    color: white;
}
.offerCard.selected .offerChoiceBtn a {
    color: white;
}

.offerPayment {
    width: 370px;
    min-height: 550px;
    vertical-align: top;
    background-color: var(--customerArea-font-color);
    border: 2px solid #BE9EBF;
    border-radius: 6px;
    padding: 1em 1em;
    color: white;
    display: inline-block;
    margin: 0.7em 0.5em;
    direction: rtl;
}
.page-container-single .offerPayment {
    border: none!important;
}
.offerPayment h3 {
    margin: 0 0 5px 0;
    padding-bottom: 10px;
    color: white;
    font-family: Assistant-Bold;
    font-size: var(--page-font-big);
}
.page-container-single h3 {
    font-family: Assistant-Regular!important;
    font-size: var(--page-font-big);
}
.offerPayment .cc-title {
    color: white;
    font-family: Assistant-Regular;
    font-size: var(--page-font-regular);
    margin-bottom: 20px;
}

.offerPayment label {
    font-family: Assistant-Regular;
    font-size: var(--page-font-regular);
    text-align: right;
}
.offerPayment input.form-control {
    direction: ltr;
    text-align: right;
    color: black;
}
.offerPayment .form-group {
    width: 100%;
    padding: 0;
}
.offerPayment .form-group label {
    width: 210px;
}
.offerPayment .form-row .form-group {
    width: 50%;
}
.offerPayment .form-control.invalid {
    color: red;
    border-color: red;
}
.offerPayment .btn {
    font-family: Assistant-Bold;
    font-size: var(--page-font-medium);
}

html[lang="en"] .offerPayment {
    direction: ltr;
}
html[lang="en"] .offerPayment input.form-control {
    text-align: left;
}
html[lang="en"] .offerPayment label {
    text-align: left;
}

@media (max-width: 480px) {
    .line {
        flex-direction: column;
    }
    .form-group {
        width: 100%;
    }
    .offerCard {
        width: 90%;
        min-height: 250px;
    }
    .offerPayment {
        width: 90%;
    }
}
.password-wrapper {
    position: relative;
}
:lang(he) .password-wrapper .password-toggle {
    position: absolute;
    left: 25px;
    right: auto;
    top: 7px;
}
:lang(en) .password-wrapper .password-toggle {
    position: absolute;
    right: 25px;
    left: auto;
    top: 7px;
}
/*currency toggle*/
.currency-toggler {
    display: inline-flex;
    background: #e9ecef;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
}
.currency-option {
    position: relative;
}
.currency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.currency-label {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
.currency-option input[type="radio"]:checked + .currency-label {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}
.currency-label:hover {
    color: #495057;
}
.currency-option input[type="radio"]:checked + .currency-label:hover {
    color: white;
}
