* {
    font-family: 'OpenSans', 'Gotham Rounded',Arial, Helvetica, sans-serif;
}
    *[dir="rtl"] {
        font-family: Arial, Helvetica, sans-serif;
    }

html, body {
    height: 100%;
    user-select: none;
}
.group-statictic-txt {
    font-size: smaller;
}
.bg-purple {
    background-color: #5651cd;
}
    .bg-purple:hover {
    }

.bg-lightblue {
    background-color: #4491c3;
}

.bg-green {
    background-color: #97b481;
}

.bg-red {
    background-color: #e44a2b;
}

.bg-darkblue {
    background-color: #134a6e;
}

.bg-darkgrey {
    background-color: #34343D;
}

.bg-imaged {
    background-size:cover;
    background-repeat: no-repeat;
    /*background-image: url('../images/bg-large.jpg');*/
    background-image: url('../images/MMD-Background-OPT.jpg');
}

.marg-top {
    margin-top: 10px;
}

.marg-left {
    margin-left: 3px;
}

.marg-right {
    margin-right: 10px;
}

.marg-bottom {
    margin-bottom: 10px;
}

.button {
    color: #fff;
    position: relative;
    vertical-align: top;
    display: inline-block;
    background-repeat: no-repeat;
}

.button-small {
    width: 106px;
    height: 106px;
}

.button-big {
    width: 335px;
    height: 215px;
}

.button-bredcrumb {
    text-align: center;
}

.page-title {
    display: inline-block;
    width: calc(100% - 122px);
    height: 106px;
    color: #fff;
    position: relative;
}

.middled {
    /*    position: absolute;
    transform: translateX(-50%);
    top: 44%;*/
    vertical-align: middle;
    position: absolute;
    transform: translate(-50%, -50%);
    /*inset-inline-start: 12px;*/ /* Use logical property */
    top: 50%;
    left:50%;
    inline-size: fit-content;
}
/*.content-holder[dir="rtl"] .middled {
    transform: translateX(44%);
}*/
.vertical-center {
    vertical-align: middle;
    position: absolute;
    transform: translateY(-50%);
    inset-inline-start: 12px; /* Use logical property */
    top: 50%;
}

.content-holder {
    margin: auto;
    width: 100%;
    max-width: 1000px;
    position: relative;
    outline: 0px solid red;
}

header {
    padding-top: 7px;
    position: relative;
    background-color: #fff;
}

    header .content-holder {
        margin-bottom: 0.5%;
    }

/*#logo,*/
#search-button,
.user-button {
    display: inline-block;
    vertical-align: bottom;
    height: 55px;
    margin-top: 35px;
    background-repeat: no-repeat;
}

#search-button {
    width: 55px;
    background-position: center;
    background-image: url(../images/search.png);
}

#search-field {
    width: 0px;
    max-width: 200px;
    position: relative;
    /*float: left;*/
    height: 51px;
    line-height: 51px;
    /*min-height: 55px;*/
    margin-inline-start: 10px; /* Use logical property */
    border: 0px solid #34343D;
    color: #34343D;
    margin-top: 35px;
    font-size: 19px;
    padding-inline-end: 10px; /* Use logical property */
}

.user-button {
    line-height: 55px;
    color: #fff;
    font-size: 18px;
    width: 155px;
    text-align: start; /* Use logical property */
    margin-inline-start: 10px; /* Use logical property */
    padding-inline-end: 1%; /* Use logical property */
    position: relative;
    background-position: 5%;
    background-image: url(../images/guest.png);
    cursor: pointer;
}
.content-holder[dir="ltr"] .user-button {
    text-align: end; /* Use logical property */
}

.user-button.loggedin {
    line-height: 28px;
}

.user-name-holder {
    color: #fff;
    padding-right: 10px;
}

.logout-button {
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 5px;
    font-size: 16px;
    color: red;
}

    .logout-button.hidden {
        display: none;
    }

#page {
    /*height: calc(100% - 119px - 75px);*/
    padding-top: 75px;
    height:auto;
    min-height: 100vh;
}


#menu,
#page-content {
    display: inline-block;
    vertical-align: top;
    outline: 0px solid red;
}

#menu {
    width: 240px;
    position: absolute;
    inset-inline-end: 47px; /* Use logical property */
    top: 75px;
    z-index: 100;
}

#page-content {
    width: 660px;
    /*margin-inline-start: 47px;*/ /* Use logical property */
}

.menu-button {
    background-position: center 15%;
}

    .menu-button:hover {
        background-color: #4491c3;
        -webkit-box-shadow: 1px 1px 7px 1px rgba(41,40,41,0.75);
        -moz-box-shadow: 1px 1px 7px 1px rgba(41,40,41,0.75);
        box-shadow: 1px 1px 7px 1px rgba(41,40,41,0.75);
        border-radius: 2px;
    }

    .menu-button span {
        position: absolute;
        bottom: 5px;
        inset-inline-end: 5px; /* Use logical property */
        width: 85px;
    }

    .menu-button#Questions {
        background-image: url(../Images/questions.png);
    }

    .menu-button#Paypal {
        background-image: url(../Images/paypal.png);
    }

    .menu-button#About {
        background-image: url(../Images/about2.png);
        /*background-size: 30%;*/
    }

    .menu-button#Support {
        background-image: url(../Images/support.png);
    }

    .menu-button#Groups {
        background-image: url("../Images/group.png");
    }

    .menu-button#Copyright {
        background-image: url("../Images/copyright.png");
    }

    .menu-button#Profile {
        background-image: url("../Images/profile.png");
    }




.register-form-button {
    width: 337px;
    /*height: 215px;*/
    cursor: pointer;
    position: relative;
    align-self: center;
}

#form-button-text {
    color: #FFF;
    width: 215px;
    position: relative;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
}

#bold-txt {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 3px;
}

.register-form-holder {
    display: none;
}

.login-form {
    height: auto;
    display: block;
}

.login-edit-form {
    height: auto;
    display: block;
}

.login-registation-form {
    height: auto;
    display: block;
}

.payment-edit-form {
    height: 465px;
    display: block;
}

#open-register-form {
    float: inline-end; /* Use logical property */
    cursor: pointer;
    display: block;
    background-color: rgb(255, 255, 255);
    color: #E44A2B;
    padding: 5px 10px;
    font-size: 16px;
}

#cancel-register-form {
    float: inline-end; /* Use logical property */
    cursor: pointer;
    display: block;
    background-color: rgb(255, 255, 255);
    color: #E44A2B;
    padding: 5px 10px;
    font-size: 16px;
}

.open-login-form {
    color: #E44A2B;
    cursor: pointer;
    font-size: 16px;
    background-color: #FFF;
    float: inline-start; /* Use logical property */
    display: block;
    padding: 5px 10px;
    line-height: initial;
    margin-top: 18px;
}

#auth-form {
    /*top: 116px;*/
    width: 100%;
    position: relative;
    cursor: initial;
}

.auth-form-title {
    font-size: 24px;
    color: #fff;
    width: 280px;
    margin: auto;
    line-height: 60px;
}

.register-form-title {
    display: block;
    color: #fff;
    width: 260px;
    margin: auto;
    padding: 4px;
    margin-bottom: 0px;
    font-size: 12px;
}

.register-form-field::placeholder {
    color: lightgray;
}

.validation-message {
    display: block;
    color: #fff;
    background-color: red;
    width: 260px;
    margin: auto;
    padding: 0px;
    margin-bottom: 0px;
    font-size: 12px;
}

.validation-form-message {
    display: block;
    color: #fff;
    background-color: red;
    width: 260px;
    margin: auto;
    padding: 0px;
    margin-bottom: 0px;
    font-size: 16px;
}

.register-form-field.textbox {
    display: block;
    border: 1px solid #fff;
    color: #fff;
    width: 260px;
    margin: auto;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.register-form-field.select {
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    height: 42px;
    position: relative;
}

.register-form-field .hide-arrow {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
}

.register-form-field select {
    width: 100%;
    height: 100%;
    border: 0;
    color: #fff;
    font-size: 16px;
    /*padding-right: 8px;*/
}

.register-form-field.checkbox {
    display: inline;
}

.auth-button {
    display: inline-block;
    vertical-align: middle;
    color: #111;
    font-size: 16px;
    border: 0px;
    background-color: #FFF;
    color: #E44A2B;
    padding: 3px 10px;
    font-size: 16px;
    cursor: pointer;
}

.auth-button-holder {
    width: 280px;
    margin: auto;
    padding-bottom: 10px;
}

.auth-restore-password {
    color: lightgray;
}

#register-checkbox-holder {
    width: 290px;
    margin: auto;
    color: #fff;
}

.group-card {
    width: 314px;
    min-height: 420px;
    padding: 7px;
    margin-inline-start: 13px; /* Use logical property */
    margin-bottom: 17px;
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    border: 2px solid #c1bfbf;
}
#groups-holder .group-card {
    background-color:white;
    padding:2px;
    margin-bottom: 12px;
    margin-inline:6px;
    border: 4px;
}
    .group-card:nth-of-type(2n) {
        margin-inline-start: auto; /* Use logical property */
    }

.group-image-holder {
    width: 100%;
    height: 180px;
    display: block;
    cursor: pointer;
    position: relative;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bmi-holder {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 85px solid #e44a2b;
    border-right: 85px solid transparent;
}
#group-holder .bmi-holder {
    border-top: 105px solid #e44a2b;
    border-right: 105px solid transparent;
}
.bmi-text-holder {
    color: white;
    display: inline-flex;
    position: absolute;
    width: 79px;
    left: 50%;
    text-align: center;
    transform: translateX(-10%) translateY(-350%) rotate(-45deg);
    font-size: 15px;
    font-weight: bold;
}
#group-holder .bmi-text-holder {
    width: 200px;
    display: inline-flex;
    color: white;
    transform: translateX(-50%) translateY(-175%) rotate(-45deg);
    font-size: 18px;
}

.content-holder[dir="ltr"] #group-holder .bmi-text-holder {
    transform: translateX(-8%) translateY(-611%) rotate(-45deg);
    display: inline-flex;
}
.group-data {
    height: 53px;
    margin-top: -2px;
    color: #fff;
}

.group-card-button {
    width: 23%;
    height: 53px;
    color: #fff;
    padding-top: 5px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

.group-data-btn {
    margin: auto;
    display: block;
    font-size: 22px;
}

.group-data-txt {
    display: block;
    margin-top: 5px;
    font-size: 15px;
}

.group-name {
    color: #636363;
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

.group-description {
    color: #636363;
    font-size: 17px;
    font-weight: lighter;
    margin-top: 5px;
    height: 50px;
    overflow: hidden;
    cursor: pointer;
}

.group-statictics-holder {
    margin-top: 20px;
    cursor: pointer;
}

.group-row {
    height: 5px;
    border: 1px solid #c8c8c8;
}

.group-fill {
    height: 100%;
    background-color: #5651cd;
}

.group-statictics {
    margin-top: 5px;
}

    .group-statictics .group-data-btn,
    .group-statictics .group-statictic-txt {
        color: #636363;
        text-align: center;
    }

    .group-statictics .group-data-btn {
        font-weight: bold;
    }


#questions-holder {
    padding: 20px;
    /*background-color: #fff;*/
    background-color: #ffffffcf;
}

.question-holder {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e4e3e3;
}

.question {
    /*color: #4491c3;*/
    color: #5651cd;
    cursor: pointer;
}

.answer {
    /*display: flex;*/
    color: black;
    margin-top: 10px;
}


#fc-auth {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-image: url("../Images/facebook.png");
}

.g-signin2 {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

#signinButton {
    top: 0;
    right: 35px;
    width: 24px;
    height: 24px;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url("../images/google.png");
}

#group-holder {
    position: relative;
}

    #group-holder .group-card {
        width: calc(100% - 18px);
        height: auto;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
    }

.single-group-data .group-image-holder {
    width: 100%;
    /*height: 410px;*/
    height: auto;
}

#chartContainer {
    height: 410px;
}

.single-group-data .group-data {
    margin-top: 5px;
    height: auto;
}

.single-group-data .group-card-button {
    display: inline-block;
    vertical-align: top;
    text-align: start; /* Use logical property */
    width: 30%;
    height: 58px;
    padding: 1%;
    margin-inline-end: 4px; /* Use logical property */
}

.content-holder[dir="ltr"] .single-group-data .group-card-button {
    margin-inline-start: 4px; /* Use logical property */
    margin-inline-end: unset;
}
    .single-group-data .group-statictics-holder .group-card-button {
    width: 100%;
    max-width: 90px;
}

.single-group-data .group-data-btn,
.single-group-data .group-card-button-data {
    display: inline-block;
    vertical-align: top;
}

.single-group-data .group-data-btn {
    width: 100%;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    /*height: 56px;*/
}

    .single-group-data .group-data-btn.height {
        width: 39px;
        height: 56px;
    }

    .single-group-data .group-data-btn.weight {
        width: 51px;
        height: 54px;
    }

    .single-group-data .group-data-btn.age {
        width: 52px;
        height: 51px;
    }

    .single-group-data .group-data-btn.area {
        width: 52px;
        height: 48px;
    }

.single-group-data .group-card-button-data {
    margin-right: 5px;
}

.single-group-data .group-data-txt,
.single-group-data .group-card-button-value {
    text-align: right;
}
.content-holder[dir="ltr"] .single-group-data .group-data-txt,
.single-group-data .group-card-button-value {
    text-align: left;
}


.single-group-data .group-card-button-value {
    margin-top: 10px;
}

.single-group-data .group-description {
    height: auto;
    margin-top: 10px;
}

.group-price-place-holder {
    margin-top: 30px;
}

.group-price-place-description,
.group-price-place-title {
    color: #636363;
}

.group-price-place-title {
    font-weight: bold;
}

.single-group-data .group-description-holder {
    max-width: 445px;
}

.single-group-data .bottom-button {
    max-width: 87px;
}

.i-want-too {
    bottom: 32px;
    inset-inline-end: 2px; /* Logical property for 'right' in LTR */
    width: 0px;
    height: 0px;
    cursor: pointer;
    position: absolute;
    border-bottom: 200px solid #E44A2B;
    border-inline-start: 200px solid transparent; /* Logical property for 'left' in LTR */
    user-select:none;
}

.i-want-too .i-want-too-icon {
    position: absolute;
    top: 142px;
    inset-inline-end: 2px;
}

#page[dir="ltr"] .i-want-too .i-want-too-icon {
    transform: rotate(286deg);
}

.i-want-too-text {
    color: lightgray;
    width: 190px;
    text-align: center;
    font-weight: bold;
    font-size: 34px;
    position: absolute;
    inset-inline-end: 170px;
    top: 30px;
    transform: translateX(100%) translateY(237%) rotate(-45deg); /* Default rotation */
}

.content-holder[dir="rtl"] .i-want-too-text {
    transform: translateX(85%) translateY(236%) rotate(45deg); /* Negative rotation for RTL */
    inset-inline-end: unset;
}


.contact-form-holder {
    width: 288px;
    padding: 25px;
}

.contact-data {
    color: #fff;
}

.contact-data-row {
    margin-bottom: 10px;
}

.contact-data-title,
.contact-data-field {
    display: inline-block;
    vertical-align: middle;
}

.contact-data-title {
    min-width: 50px;
    font-size: 18px;
}

.contact-form-title {
    color: #fff;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.contact-form-row {
    margin-bottom: 10px;
    border: 0px solid #fff;
}

    .contact-form-row input,
    .contact-form-row textarea {
        display: block;
        width: 100%;
        font-size: 18px;
        color: #E44A2B;
        border: 0;
        padding-right: 10px;
        resize: none;
    }

    .contact-form-row input {
        height: 35px;
        line-height: 35px;
    }

.contact-button-holder {
    margin: auto;
}

.contact-button {
    width: 140px;
    height: 35px;
    line-height: 35px;
    font-size: 24px;
    text-align: center;
    color: #E44A2B;
    font-weight: bold;
    cursor: pointer;
    background-color: #fff;
}

.contact-submitted-msg {
    width: 228px;
    height: 65px;
    padding: 25px;
    color: #FFF;
    font-size: 24px;
    display: none;
    text-align: center;
}


#page-content-holder {
    padding: 20px;
    background-color: #ffffffcf;
    /*background-color: #fff;*/
}

.empty-page-string {
    text-align: center;
    /*color: #fff;*/
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    background-color: #ffffffcf;
}


.update-weight-alert {
    border-radius: 4px;
    width: 165px;
    height: 55px;
    /*margin-left: 1%;*/
    margin-top: 10px;
    margin-left: 96px;
    position: absolute;
    display: none;
    cursor: pointer;
    z-index: 200;
    color: #fff;
}

.pointer {
    width: 10px;
    height: 10px;
    position: absolute;
    inset-inline-start: 10%; /* Use logical property */
    top: -2px;
    -webkit-transform: rotate(45deg) translateX(-50%);
    -moz-transform: rotate(45deg) translateX(-50%);
    -o-transform: rotate(45deg) translateX(-50%);
    -ms-transform: rotate(45deg) translateX(-50%);
    transform: rotate(45deg) translateX(-50%);
}

.close-alert {
    width: 16px;
    margin-top: 3px;
    margin-right: 3px;
    cursor: pointer;
    float: right;
    z-index: 300;
}

.alert-message {
    width: 100%;
    text-align: center;
    color: #fff;
    line-height: 55px;
}


::-webkit-input-placeholder { /* WebKit browsers */
    color: #ffffff;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ffffff;
    opacity: 1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ffffff;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #ffffff;
}

input {
    outline: 0 !important;
}


label.error {
    display: block;
    position: relative;
    margin-right: 28px;
    margin-bottom: 10px;
    color: #111;
}

.area label.error {
    margin-right: auto;
}


#jqxCalendar {
    margin: auto;
    margin-top: -8px;
    margin-bottom: 8px;
    position: absolute;
    z-index: 1;
    right: 50%;
    transform: translateX(50%);
    display: none;
}

.changes-applied-alert {
    float: right;
    color: #fff;
    display: none;
    font-size: 17px;
}

.register-form-button {
    width: 100%;
    max-width: 337px;
}

.group-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.left-header-holder {

    position: absolute;
    top: 25px;
    /*width: 270px;*/
    inset-inline-end: 76px;
}

.right-header-holder {
    display: flex;
}

#group-holder {
    width: 100%;
    max-width: 660px;
    margin: auto;
}


.static-string-holder {
    position: relative;
}

.static-string-selected {
    outline: 1px solid rgba(232, 22, 22, 0.70);
}

.edit-string-button {
    position: absolute;
    background-color: red;
    border: 1px solid red;
    border-radius: 5px;
    color: #fff;
    padding: 3px 7px;
    font-size: 12px;
    top: -20px;
    right: -20px;
    cursor: pointer;
    line-height: initial;
}

.MMDLogo img {
    /* max-width: 220px; */
    margin-top: 14px;
    margin-bottom: 11px;
    max-height: 90px;
}

.MMDLogo figcaption {
    text-align: center;
    /* font-size: large; */
    margin-top: 10px;
    text-size-adjust: auto;
    color: black;
}
@font-face {
    font-family: 'Gotham Rounded'; /* The name you'll use to reference the font */
    src: url('/fonts/GothamRounded-Book.otf') format('opentype'); /* Adjust the path as needed */
    font-weight: normal; /* Adjust if the OTF file is for a specific weight */
    font-style: normal; /* Adjust if the OTF file is for a specific style */
}

@font-face {
    font-family: 'OpenSans'; /* The name you'll use to reference the font */
    src: url('/fonts/OpenSans-Light.ttf') format('opentype'); /* Adjust the path as needed */
    /*src: url('/fonts/OpenSans_Condensed-Light.ttf') format('opentype');*/ /* Adjust the path as needed */
    font-weight: normal; /* Adjust if the OTF file is for a specific weight */
    font-style: normal; /* Adjust if the OTF file is for a specific style */
}

@media screen and (max-width:600px) {
    .update-weight-alert {
        margin-left: 218px;
    }
}

@media screen and (max-width:460px) {
    #search-field {
        position: absolute;
        max-width: 146px;
    }

    .update-weight-alert {
        margin-left: 160px;
    }
}


