body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#top .weblogo {
    height: 32px;
}

#top .weblogo.vn {
    height: 40px;
    object-fit: contain;
}

#logoSpan, #logo_mobile {
    position: relative;
}

#logo_mobile {
    width: 117px;
    height: 24px;
}
.crumbs.crumbs-mobile.r-home{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.crumbs.r-home h1.slogan {
    color: #0F0F0F !important;
    font-family: Inter;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 30px; /* 187.5% */
    text-transform: uppercase;
    font-size: 16px !important;
    padding-left: 10px;
}
.crumbs.r-home a#breadcrumbs {
    /*flex: 1;*/
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    color: #00301D !important;
}
div#header-wrapper-sp .topBar-middle-sp #logo_mobile img {
    height: 24px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#logoSpan::after {
    content: '';
    position: absolute;
    width: 23px;
    height: 23px;
    animation: spin 1.5s linear infinite;
    top: 7px;
    left: 53px;
    background-image: url(../../vn/images/football-sprite.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dark .crumbs.r-home a#breadcrumbs, .dark .crumbs.r-home h1.slogan{
    color: white !important;
}
.footer-logo::after{
    content: '';
    position: absolute;
    width: 23px;
    height: 23px;
    animation: spin 1.5s linear infinite;
    top: 12px;
    left: 53px;
    background-image: url(../../vn/images/football-sprite.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#logo_mobile::after {
    width: 16px;
    height: 16px;
    top: 2px;
    left: 36px;
}

@media only screen and (max-width: 600px) {
    #logo_mobile::after {
        width: 13px;
        height: 13px;
        top: 4px;
        left: 27px;
    }
}


@keyframes spin {
    0% {
        transform: translate(calc(-50% - 1.5px), 1px) rotate(0deg);
    }

    25% {
        transform: translate(calc(-50%), 0px) rotate(90deg);
    }
    50% {
        transform: translate(calc(-50% + 1.5px), -1px) rotate(180deg);
    }

    75% {
        transform: translate(calc(-50%), 0px) rotate(270deg);
    }
    100% {
        transform: translate(calc(-50% - 1.5px), 1px) rotate(360deg);
    }
}

#ddLocale a:visited {
    color: #e5ead5;
    text-decoration: none
}

#ddLocale a:hover {
    color: #f60;
}

#settingsModal,
body.dark #settingsModal {
    display: none;
    position: fixed;
    z-index: 99;
    width: 406px;
    right: 60px;
    border-radius: 4px;
}

#settingsModal {
    color: #0a2000;
    background-color: #F2F2F2;
}

body.dark #settingsModal {
    color: #fff;
    background-color: #000;
}

.modal-header,
body.dark .modal-header {
    border-radius: 4px 4px 0 0;
    border-bottom: #E6E6E6;
    width: 100%;
    height: 48px;
}

.modal-header {
    position: relative;
    border-bottom: 1px solid #FFFFFF;
}

.modal-header .setting-modal-title,
body.dark .modal-header .setting-modal-title {
    padding-top: 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    margin: auto;
}

.modal-content,
body.dark .modal-content {
    padding: 15px;
}

/* .modal-content li:hover,
body.dark .modal-content li:hover {
    background: #D6E4DF;
} */

.modal-content li {
    color: black;
}

body.dark .modal-content li {
    color: white;
}

.modal-content .settingselect,
body.dark .modal-content .settingselect {
    border-radius: 60px !important;
    margin: 0 0 5px 0;
    overflow: hidden;
    display: flex;
}

.modal-content .settingselect span,
body.dark .modal-content .settingselect span {
    line-height: 28px;
    float: left;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    border-radius: 60px;
}

.modal-content .settingselect span:hover {
    background: #E3F1EB;
}

body.dark .modal-content .settingselect span:hover {
    background: #3a3a3a;
}

.modal-content .settingselect span.on {
    background: var(--second-color) !important;
    color: #fff;
}

.modal-content .settingselect {
    background: #FFF;
}

body.dark .modal-content .settingselect {
    border: none;
    background: linear-gradient(90deg, #292929 0%, #10160E 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15) inset, 0px -4px 4px 0px rgba(55, 55, 55, 0.15) inset;
}

body.dark .modal-content .settingselect span.on {
    background: #005030 !important;
    color: #E6E6E6;
}

#selectsound1_all,
#selectsound2_all,
#selectsound1_fav,
#selectsound2_fav {
    width: max-content;
    box-sizing: border-box;
}

#selectsound1_all span,
#selectsound2_all span,
#selectsound1_fav span,
#selectsound2_fav span {
    width: 45px;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
    border: none;
    background: #D6E4DF;
}

#selectsound1_all span:last-child,
#selectsound2_all span:last-child,
#selectsound1_fav span:last-child,
#selectsound2_fav span:last-child {
    border: none;
}

#selectsound1_all span:hover,
#selectsound2_all span:hover,
#selectsound1_fav span:hover,
#selectsound2_fav span:hover {
    background: #D6E4DF;
}

.modal-content .settingmodal {
    display: flex;
    width: 343px;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    color: black;
    font-size: 28px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.tab-button {
    transition: background-color 0.3s;
}

.tab-button.active,
.tab-button:hover {
    background-color: #ddd;
}

.tab-content {
    display: none;
}

.tab-content.on {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 17px;
}

.settingsModal .newsetting .soundbox {
    margin: 6px 0 10px 0;
}

.soundbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.selectbox .sound {
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
    border: 1px solid #243B32;
}

.selectbox .sound span {
    display: flex;
    padding: 10px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #243B32;
    line-height: normal;
    width: auto;
}

body.dark #selectsound1_all,
body.dark #selectsound2_all,
body.dark #selectsound1_fav,
body.dark #selectsound2_fav {
    --second-color: #004026;
    background-color: #001F13;
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
    border: 1px solid #243B32;
}

body.dark #selectsound1_all span,
body.dark #selectsound2_all span,
body.dark #selectsound1_fav span,
body.dark #selectsound2_fav span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #243B32;
    background: #001F13;
}

body.dark #selectsound1_all span.on,
body.dark #selectsound2_all span.on,
body.dark #selectsound1_fav span.on,
body.dark #selectsound2_fav span.on {
    background: #004026;
}

.matchinfo_setting {
    display: flex;
    width: 271px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.matchinfo_setting .switchbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.matchinfo_setting .switchbox label {
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.matchinfo_setting .switchbox label input {
    display: none;
}

.switch .switch-style {
    width: 35px;
    border-radius: 100px;
    background: #717171;
}

div#settingselect {
    display: flex;
    justify-content: space-between;
}

#settingselect span {
    padding: 0 8px;
}

#settingsModal .switch .switch-style {
    width: 35px;
    height: 18px;
}

#settingsModal .switch .switch-style::before {
    width: 14px;
    height: 14px;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
}

#settingsModal .switch > input[type="checkbox"]:checked + .switch-style:before {
    left: calc(100% - 2px);
    transform: translate(-100%, -50%);
}


#fulltab {
    min-height: 60px;
}

.mgs_login {
    color: #a92f29;
    font-family: Inter;
    font-size: 10px;
    font-style: italic;
    font-weight: 600;
    line-height: 20px;
    position: absolute;
    min-width: 300px;
}

#top-tools .Choose-tool .img-round {
    border-radius: 20px !important;
    margin-right: 6px;
}

#top-tools .Choose-tool .label-tool,
#top-tools .Choose-tool .img-tool {
    pointer-events: none;
    user-select: none;
}

#top-tools .Choose-tool .img-tool {
    width: 16px;
    height: 16px;
    object-fit: cover;
}

#top-tools .Choose-tool .img-tool.size-20 {
    width: 20px;
    height: 20px;
}

.border-err {
    border: 1px solid #bf251b !important;
}

.loginBox {
    width: auto;
    display: flex;
}

.loginBox #login_icon {
    width: 36px;
    height: 36px;
    border-radius: 36px;
}

.loginBox #login_name {
    padding-left: 10px;
    padding-right: 5px;
    white-space: nowrap;
    float: left;
}

.loginBox #login_name .name_hello {
    color: var(--Monotone-Grey-400, #d4d4d4);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.shw-hv {
    display: none;
}

.loginButton:hover .shw-hv {
    display: block;
}

.loginButton:hover .shw {
    display: none;
}

.signupButton:hover .shw-hv {
    display: block;
}

.signupButton:hover .shw {
    display: none;
}

.loginBox #login_name .name_user {
    color: var(--white-100, #fff);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.hide {
    display: none;
}

.pointer {
    cursor: pointer;
}

#newtop #menu li:hover .menu-icon {
    display: none;
}

#newtop #menu li:hover .menu-icon-active {
    display: block !important;
}

#newtop #menu li .menu-icon-active {
    display: none !important;
}


#newtop #menu li.active .menu-icon {
    display: none !important;
}

#newtop #menu li.active .menu-icon-active {
    display: block !important;
}

#DarkModeCheck + .theme-style {
    background-image: url(/assets/images/tool-dark-mode.png?1);
}
