/*css переменные*/
body {
    --main-color: #E4CA40;
    --white-color: #ffffff;
    --dark-color: #000000;
    --modal-color: #FFFBE9;
    --text-color: #2E3842;
    font-family: 'Open Sans', serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 2.88px;
    line-height: 40px;
}

.bg-modal {
    padding-top: 40px !important;
    background-color: var(--modal-color) !important;
    border-radius: 5px !important;
}

body h2 {
    font-weight: 400;
    font-size: 32px;
}

body h3 {
    font-weight: 400;
    font-size: 16px;
    color: var(--dark-color);
}

/*стили кнопки*/
.button {
    text-decoration: none !important;
    padding: 10px 30px 10px 30px;
    border-radius: 4px;
}

#banner .big-button {
    box-shadow: none;
    background-color: var(--main-color);
    color: var(--dark-color) !important;
    opacity: 0.8;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));

}

@media screen and (max-width: 480px) {
    #banner .big-button {
        padding: 5px 2px;
        font-size: 10px;
        letter-spacing: 1px;
    }
}

#banner .big-button:hover {
    opacity: 1;
    color: var(--white-color) !important;
    background: var(--main-color) !important;
}

.big-button {
    align-items: center;
    box-shadow: none;
    background: rgba(228, 202, 64, 0.7) !important;
    color: var(--dark-color) !important;
    opacity: 0.8;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border: 1px solid rgba(0, 0, 0, 0.51);
    border-radius: 3px;
}

.big-button:hover {
    opacity: 1;
    color: var(--white-color) !important;
    background: var(--main-color) !important;
}

/*стили шапки*/
.menu {
    float: right;
    display: inline;
}

.navabar {
    padding-left: 50px;
    padding-right: 50px;
    position: sticky;
    color: var(--main-color);
    background-color: var(--main-color);
}

/*стили меню*/
.menuToggle {
    color: var(--dark-color);
    text-decoration: none;
}

@media screen and (min-width: 1150px) {
    .menuToggle {
        visibility: hidden;
        display: none;
    }
}

#menu {
    background-color: var(--dark-color);
    opacity: 0.9;
}

#menu a {
    font-family: 'Open Sans', serif;
    font-weight: 400;
    font-size: 14px;
}

.submenu li {
    margin-left: 10px;
}

.submenu a {
    color: var(--white-color);
    text-transform: uppercase;
    text-decoration: none;
}

.lang-link{
    text-align: left !important;
    padding-left: 20px !important;
}

@media screen and (max-width: 1150px) {
    #navbar {
        visibility: hidden;
        display: none;
    }

    .mobile-profile li:hover ul {
        display: block;
    }

    .mobile-profile, .mobile-profile ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    .mobile-profile {
        display: inline;
        background-color: var(--main-color);
        min-width: 470px;
    }

    .mobile-profile li {
        float: left;
        position: relative;
        height: 100%;
    }

    .mobile-profile li a {
        letter-spacing: 3.5px;
        display: block;
        padding: 0px 10px 0px 10px;
        color: var(--dark-color);
        text-transform: uppercase;

        text-decoration: none;
        text-align: center;
    }

    .mobile-profile li:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .navabar{
        padding-left: 10px;
        padding-right: 0;
    }
}

@media screen and (min-width: 1150px) {

    #navbar li:hover ul {
        display: block;
    }

    #navbar, #navbar ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    #navbar {
        display: inline;
        background-color: var(--main-color);
        min-width: 470px;
    }

    #navbar li {
        float: left;
        position: relative;
        height: 100%;
    }

    #navbar li a {
        letter-spacing: 3.5px;
        display: block;
        padding: 0px 10px 0px 10px;
        color: var(--dark-color);
        text-transform: uppercase;

        text-decoration: none;
        text-align: center;
    }

    #navbar li:hover {
        background: rgba(0, 0, 0, 0.1);
    }


    /*стили выпадающего меню*/
    li ul {
        margin-right: auto;
        margin-left: auto;
        display: none;
        background-color: var(--main-color);
        position: absolute;
        top: 150%;
        left: -17%;
        border-radius: 10px;
    }

    li ul:before {
        width: 100%;
        content: "";
        border: 20px solid transparent;
        position: absolute;
        top: -40px;
    }

    #navbar li:hover .submenu-wrapper:before {
        left: 30%;
        top: 67%;
        position: absolute;
        content: "";
        border: 20px solid transparent;
        border-bottom: 20px solid;
    }

    #navbar ul li {
        float: none;
    }

    #navbar ul li:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    submenu-wrapper li:hover {
        border-radius: 10px;
    }

    .submenu-wrapper a {
        line-height: 26px !important;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 7px;
        margin-right: 10px;

        letter-spacing: 1.2px !important;
        text-transform: lowercase !important;
    }
}

/*Стиль лого*/
.navabar h3 {
    display: inline;
}

/*Стиль картинки профиля*/
.navabar img {
    margin-top: 6px;
    margin-bottom: 6px;
    width: 35px;
    height: 35px;
    border-radius: 50px;
}

@media screen and (min-width: 1150px) {
    .mobile-profile {
        visibility: hidden;
        display: none;
    }
}

.mobile-profile a{
    padding: 0 0.75em;
}

.navabar button {
    background-color: transparent;
}


/*расширение стиля для модальных окон*/
div[x-show='show'] {
    padding-top: 70px;
    color: var(--text-color);
}

.child-form {
    width: 90%;
    display: inline;
}

.input-text, select, input[type="date"], input[type="time"] {
    padding-left: 30px !important;
    padding-bottom: 0px !important;
    margin-top: 30px !important;
    color: #4E485280;
}

input[type="date"], input[type="time"] {
    /*    width: 49%;
        display: inline;*/

}

input::-webkit-calendar-picker-indicator {
    color: red !important;
    opacity: 1 !important;
}


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

.button-main {
    background-color: rgba(228, 202, 64, 0.7) !important;
    border-radius: 3px !important;
    color: rgb(55 65 81 / var(--tw-text-opacity)) !important;
    --tw-border-opacity: 1 !important;
    border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;
}

.button-secondary {
    background: linear-gradient(180deg, #FFF8F8 99.99%, rgba(255, 255, 255, 0) 100%) !important;
    border-radius: 3px !important;

}

.text-on-form {
    padding-left: 30px;
    padding-top: 15px !important;

}

.fa {
    background-color: transparent;
}

.fa fa-check {
    background-color: transparent;
}

.edit-wrapper {
    display: inline;
    float: right;
}

.delete-wrapper {
    display: inline;
}

.button-edit i {
    margin-left: 20px;
    font-weight: 400 !important;
}

.button-delete i {
    color: var(--text-color);
}

.button-delete i:hover {
    color: var(--main-color);
}

.error {
    color: orangered;
    margin-left: 30px;
}

.login {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--dark-color);
}

.manage-account {
    background-color: var(--modal-color) !important;
    text-align: center;
}

.user {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    /* identical to box height, or 165% */

    letter-spacing: 1.2px;
    text-decoration-line: underline;

    color: #2E3842;
}

.round {
    border-radius: 100px;
}

div.square {
    width: 150px; /* ширина картинки */
    height: 150px; /* высота картинки */
    background-size: cover;
    background-position: center center;
}

.title-modal {
    font-size: 32px;
    letter-spacing: 20px;
    color: var(--text-color);
}

.title-modal-user {
    font-size: 28px;
    letter-spacing: 20px;
    color: var(--text-color);
    text-transform: uppercase;
    padding-bottom: 15px;
}

@media screen and (max-width: 400px) {
    .title-modal-user {
        font-size: 18px !important;
        letter-spacing: 10px !important;
    }
}

.block {
    display: inline;
}

.block-show-user {
    display: inline;
    padding-top: 35px;
}

input[required]:valid {
    border: none;
}

input[required] {
    border: 1px solid orangered;
}

select {
    border: 1px solid orangered;
}

select:valid {
    border: none;
}

.remove-button {
    display: inline;
}

.rm {
    background-color: transparent;
}

.remove {
    background-color: orangered !important;
    color: var(--white-color) !important;
}

.block div {
    vertical-align: top;
    display: inline-block;
}

.info {
    margin-left: 10px;
}

.info p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1.2px;
    color: #2E3842;
    text-align: justify;
    margin-bottom: 10px !important;
}

p span {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 2.88px;
    text-transform: uppercase;
}

@media screen and (max-width: 736px) {
    .block div {
        width: 100%;
    }

    .info {
        margin-top: 20px;
        margin-left: 20px;
    }

    div.square {
        width: 150px;
        height: 150px;
        background-size: cover;
        background-position: center center;
        margin-left: 20px;
    }

    .btn-edit {
        width: 25px;
        height: 25px;
        color: var(--text-color);
        background-color: transparent;
        padding-right: 10%;
    }
}

.btn-edit {
    width: 25px;
    height: 25px;
    color: var(--text-color);
    background-color: transparent;
    float: right;
}

.btn-edit i {
    font-size: 30px;
}

.definition-title {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 2.88px;
    text-transform: uppercase;
    padding-top: 20px;
    padding-left: 20px;
}

.definition-text {
    padding-left: 20px;
    font-size: 16px;
    text-transform: none;
}

.button-edit {
    color: var(--text-color);

}

.button-edit:hover {
    color: var(--main-color);
}

.round-image {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    background-size: cover;
    background-position: center center;
}

@media screen and (min-width: 1000px) {
    .container {
        height: 350px !important;
    }
}

.container {
    height: 200px;
    width: 40%;
    background-size: cover;
    background-position: center center;
}

container img {
    width: 100%; /* Ширина изображений */
    margin: -10% 0 0 0; /* Сдвигаем вверх */
}

.card {
    width: 200px;
    color: black;
    text-align: center;
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
    vertical-align: top;

}

.cards {
    padding-top: 150px;
    text-align: center;
}

.card p {
    margin-bottom: 0;
}

/*кнопка отправки фото*/
.input-file {
    margin-top: 30px;
    margin-bottom: 0 !important;
    position: relative;
    display: inline-block;
}

.input-file-text {
    background: #0000000A !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: var(--text-color);
    padding: 0 10px;
    line-height: 40px;
    text-align: left;
    height: 40px;
    display: inline-block;

    box-sizing: border-box;
    width: 200px;
    border-radius: 6px 0px 0 6px;

}

.input-file-btn {
    padding: 0 10px !important;

    vertical-align: middle;
    float: left;
    height: 40px;
    /*cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);

    border-radius:  4px;
    background-color: var(--main-color);
    line-height: 22px;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    transition: background-color 0.2s;*/
}

.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

/* Focus */
.input-file input[type=file]:focus + .input-file-btn {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

/* Hover/active */
.input-file:hover .input-file-btn {
    background-color: #59be6e;
}

.input-file:active .input-file-btn {
    background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + .input-file-btn {
    background-color: #0000000A !important;
}

.wait-load-file {
    vertical-align: middle;
    padding-top: 0 !important;
    margin-top: 0 !important;
    color: black;
}

.show-modal {
    text-decoration-line: underline;
    cursor: pointer;
}

.groupingTypeRadio {
    padding-top: 20px;
}

.groupingTypeRadio label {
    color: var(--text-color) !important;
}

.groupingTypeRadio table th {
    padding-left: 18px;
}

.groupingTypeRadio table td label:before {
    top: 0px;
}

/* стили табличного представления турнира */
.tournament-table {
    border-width: 1px;
    border-color: #dfdfdf;
    border-style: solid;
}

.tournament-table tr {
    background-color: var(--modal-color) !important;
}

.tournament-table .x {
    background-color: gray;
}

.tournament-table td {
    padding: 0;
}

.tournament-table .count {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
}

.tapped {
    background-color: #adadad !important;
}

.tournament-playoff td {
    padding-left: 10px;
}
