﻿@font-face {
    font-family: 'license-plate';
    src: URL('/css/fonts/license-plate.ttf') format('truetype');
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MADE TOMMY';
    src: url('/css/fonts/MADETOMMY-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Mont Heavy';
    src: url('/css/fonts/Mont-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

.css3-spinner {
    display: none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.nowrap {
    white-space: nowrap !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

:root {
    --bs-font-sans-serif: "Inter", "Roboto";
    --bs-body-line-height: 1.2;
}

dl, dt, dd, ol, ul, li {
    margin: 0;
    padding: 0;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

#pills-tab .nav-item {
    margin-right: .5rem;
}

    #pills-tab .nav-item:last-child {
        margin-right: 0;
    }

.card {
    border: 1px solid #dfdee8;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 #2622620d;
    overflow: hidden;
}

.games-button {
    border-color: lightgray;
    font-weight: bold;
    width: 100%;
    min-width: 85px;
}

    .games-button img {
        height: 40px;
        max-width: unset;
    }

    .games-button.vid img {
        height: 50px;
    }

    .games-button.active {
        background-color: #6c757d4d;
    }

.text-justify {
    text-align: justify;
}

.flex-even {
    flex: 1;
}


.table td {
    vertical-align: middle;
}

.table-gold {
    --bs-table-bg: #ac8c2f;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: #fff;
    border-color: #dfe0e1;
}

.result-table {
    font-size: 16px;
}

/*  .result-table td:nth-child(1) {
        white-space: unset;
    }*/

.pointer:hover {
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.rounded-1rem {
    border-radius:1rem;
}

.fw-medium {
    font-weight:600;
}

.ball {
    display: inline-block;
    /*background: url(/images/games/ball.png) center center no-repeat;
    background-size: 100% 100%;*/
    /*padding: 10px;*/
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    border: 3px solid lightgray;
    width: 38px;
    height: 38px;
    text-align: center;
    color: lightgray;
    box-shadow: 1px 1px 3px #00000061;
    background-color: #fff;
    align-content: center;
    text-align: center;
    font-family: 'MADE TOMMY';
}

    .ball.ball-big {
        width: 50px;
        height: 50px;
        font-size: 17px;
    }

    .ball.selected {
        background-image: url(/images/games/greenball.png);
        color: black;
    }

.solidball {
    background-color: #434343;
}

.redball {
    background-image: url(/images/games/redball.png);
    color: black;
    border-color: #e95231;
}

.yellowball {
    background-image: url(/images/games/yellowball.png);
    color: black;
    border-color: #efde48;
}

.greenball {
    background-image: url(/images/games/greenball.png);
    color: black;
    border-color: #54cc69;
}

.blueball {
    background-image: url(/images/games/blueball.png);
    color: black;
    border-color: #4891ef;
}

.blackball {
    background-image: url(/images/games/blackball.png);
    color: black;
    border-color: #616161;
}

.game-icon {
    align-content: center;
    min-height: 65px;
}

.card-2 {
    box-shadow: 0 0 6px #00000038;
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
}

.card-green {
    border: 2px solid #2ab66d;
}

    .card-green .card-header {
        background-color: rgb(32 145 86);
        border-bottom: 1px solid rgb(20 138 77);
        color: white;
    }

.card-light-green {
    border: 2px solid #2ab66d;
}

    .card-light-green .card-header {
        background-color: rgb(42 182 109 / 73%);
        border-bottom: 1px solid rgb(20 138 77);
        color: white;
    }

.card-yellow {
    border: 2px solid #ffd96a;
}

    .card-yellow .card-header {
        background-color: #ffd96a;
        border-bottom: 1px solid #ffd96a;
        color: black;
    }

.card-red {
    border: 2px solid #c1272d;
}

    .card-red .card-header {
        background-color: #c1272d;
        border-bottom: 1px solid #c1272d;
        color: white;
    }

.card-light-red {
    border: 2px solid #ee3139;
}

    .card-light-red .card-header {
        background-color: #ee3139;
        border-bottom: 1px solid #ee3139;
        color: white;
    }

.progress {
    height: 8px;
}

.clear-accordion-button:not(.collapsed) {
    color: #404040;
    background-color: #ffffff6b;
}

    .clear-accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

.red-abbrv::first-letter {
    color: #c1272d;
    font-size: small;
    vertical-align: top;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.stats-chart {
    width: 100%;
    height: 480px;
}

.sale-flash {
    position: absolute;
    font-size: 10px;
    padding: 1px 6px;
    top: 12px;
    left: 12px;
    background-color: #fb2727;
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 5;
}

.jp-bg:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 110%;
    height: 100%;
    opacity: 0.2;
    background-image: url(/images/games/jpbg.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

.jp-burst:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 110%;
    height: 100%;
    opacity: 0.22;
    background-image: url(/images/games/jpburst.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.bg-themered {
    background-color: #DE2835 !important;
}

.bg-yellow {
    background-color: #ffe623 !important;
}

.bg-light-gray {
    background-color: #e8eaec !important;
}

.bg-light-gray-50 {
    background-color: #e8eaec3b !important;
}

.bg-wave {
    background: url(/images/wave.png) !important;
}

.bg-copper {
    background-color: #cdc7bc !important;
}

.bg-green-plate {
    background: url(/images/greenplate.png) bottom center !important;
    background-repeat: no-repeat;
}

.bg-yellow-plate {
    background: url(/images/yellowplate.png) bottom center !important;
    background-repeat: no-repeat;
}

.text-license-plate {
    font-family: license-plate !important;
    letter-spacing: 3px;
}

.text-themered {
    color: #DE2835 !important;
}

.text-yellow {
    color: yellow !important;
}

.card-plate {
    border: 4px solid white !important;
    box-shadow: inset 0 1px 6px #00000054,0 .5rem 1rem rgba(0,0,0,.15);
}

.border-themered {
    border-color: #fe1542 !important;
}

.banner-section {
    background: url(/images/Cover/lotteryballs.jpg) center center;
    background-size: cover;
}

.banner-section-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.banner-jackpot {
    background: url(/images/Cover/bg-bonusjp.jpg) center center;
    background-position-y: 66%;
    background-size: cover;
}

.mask {
    padding: 80px 10px;
    background-color: #000000c7;
}

.gd-game-img {
    height: 50px;
}

#primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content {
    background-color: #000000f2;
}

    #primary-menu ul li .mega-menu-content ul.mega-menu-column:not(:first-child) {
        border-left: 0;
    }

#primary-menu ul ul li {
    background-color: transparent !important;
}

    #primary-menu ul ul li:hover > a {
        background-color: transparent !important;
    }

.banner-section {
    background: url(/images/banners/590_banner.png);
    background-size: cover !important;
    background-position: top center !important;
    font-family: "Source Sans 3";
    line-height: 1;
}

.countdown .cd-title {
    color: white;
    font-weight: bold;
    font-size: 4rem;
}

.countdown .cd-time {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.countdown-card {
    background-color: white;
    overflow: hidden;
    border: 1px solid white;
    border-radius: 10px;
}

.countdown-card-box {
    background-color: black;
    overflow: hidden;
    border-end-start-radius: 10px;
    border-end-end-radius: 10px;
    padding: 15px 10px;
}

.countdown-card-box-value {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.countdown-card-delimiter {
    font-size: 1rem;
    font-weight: 800;
    color: red;
}

.gold-plate {
    background: rgb(244,232,160);
    background: linear-gradient(90deg, rgba(244,232,160,1) 0%, rgba(242,191,86,1) 22%, rgba(244,232,160,1) 37%, rgba(249,200,50,1) 47%, rgba(195,126,42,1) 52%, rgba(249,200,50,1) 69%, rgba(244,220,127,1) 100%);
}

.playnow-box {
    padding: 2px !important;
    border-radius: 15px;
    overflow: hidden;
    border-radius: 30px;
}

    .playnow-box > span {
        background-color: black;
        display: block;
        padding: 10px 15px;
        overflow: hidden;
        border-radius: 30px;
        color: yellow;
        font-weight: bold;
        font-size: 1.6rem;
    }

.dbj-bg {
    margin-top: -6%;
    border-radius: 15px;
    overflow: hidden;
    padding: 3px;
}

.inner-dbj {
    background-color: black;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    border-radius: 13px;
}

.dbj-slogan {
    border-radius: 15px;
    overflow: hidden;
    font-size: 1.2rem;
    font-weight: 800;
}

.dbj-logo {
    width: 80%;
}

.game-header {
    background-color: black;
    position: relative;
}

.game-header-list {
    color: white;
    list-style: none;
    margin: 0;
    display: flex;
    text-align: center;
    justify-content: space-between;
}

    .game-header-list li {
        padding: 15px 5px;
    }

        .game-header-list li:hover {
            cursor: pointer;
        }

.game-header-dropdown {
    width: 100%;
    font-family: "Source Sans 3";
    font-size: 1.2rem;
    font-weight: 600;
}

    .game-header-dropdown li {
        padding: 7px 20px;
    }

        .game-header-dropdown li:hover {
            cursor: pointer;
            background-color: #0000000d;
        }

.game-header .dropdown-toggle {
    font-family: "Source Sans 3";
    font-size: 1.3rem;
    font-weight: 600;
    padding: 10px 20px;
}

.features-title {
    background-color: #fff68a;
    border-radius: 15px;
}

.fs-10 {
    font-size: 0.8rem;
}

.fs-20 {
    font-size: 0.7rem;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.toggle-content {
    display: none; /* Hide content initially */
}

.toggle-btn.open .arrow {
    transform: rotate(90deg); /* Rotate arrow to point downward */
}

@media (max-width: 767px) {
    .carousel-25 .carousel-inner .carousel-item > div {
        display: none;
    }

        .carousel-25 .carousel-inner .carousel-item > div:first-child {
            display: block;
        }

    .carousel-25 .carousel-control-prev {
        left: -4%;
    }

    .carousel-25 .carousel-control-next {
        right: -4%;
    }
}

.carousel-25 .carousel-inner .carousel-item.active,
.carousel-25 .carousel-inner .carousel-item-next,
.carousel-25 .carousel-inner .carousel-item-prev {
    display: flex;
}

.pill {
    padding: 6px 15px;
    color: #333333;
    font-weight: 600;
}

.yellow-pill {
    background-color: #FFDE17;
}

.green-pill {
    background-color: #8DC63F;
}

.red-pill {
    background-color: #DE2835;
}

.darkgreen-pill {
    background-color: #3c6209;
}


.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(170 170 170 / 5%);
    color: var(--bs-table-striped-color);
}

ul.list-style-tick {
    list-style: none;
}

    ul.list-style-tick li:before {
        content: '✓ ';
    }


.progressive-jp {
    background: url(/images/menu_jp_bg.png) center center;
    background-size: 100% 100%;
}

@media (min-width: 991px) and (max-width: 1280px) {
    .cornered {
        width: 21%;
    }
}
/* medium and up screens */
@media (min-width: 768px) {
    .carousel-25 .carousel-inner .carousel-item-end.active, .carousel-25 .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-25 .carousel-inner .carousel-item-start.active,
    .carousel-25 .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }

    .carousel-25 .carousel-inner .carousel-item-end,
    .carousel-25 .carousel-inner .carousel-item-start {
        transform: translateX(0);
    }


    .carousel-25 .carousel-control-prev {
        opacity: 1;
        background: rgb(250,250,251);
        background: -moz-linear-gradient(270deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        background: -webkit-linear-gradient(270deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        background: linear-gradient(270deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fafafb",endColorstr="#fafafb",GradientType=1);
    }

    .carousel-25 .carousel-control-next {
        opacity: 1;
        background: rgb(250,250,251);
        background: -moz-linear-gradient(90deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        background: -webkit-linear-gradient(90deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        background: linear-gradient(90deg, rgba(250,250,251,0) 0%, rgba(250,250,251,1) 78%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fafafb",endColorstr="#fafafb",GradientType=1);
    }
}



@media (max-width: 576px) {
    .toggle-btn {
        font-size: 0.9rem !important;
    }

        .toggle-btn .arrow {
            font-size: 0.7rem !important;
        }

        .toggle-btn.rounded-pill {
            border-radius: 5px !important;
        }

    .result-table tr th:nth-child(3), .result-table tr td:nth-child(3), .result-table tr th:nth-child(4), .result-table tr td:nth-child(4), .result-table tr th:nth-child(5), .result-table tr td:nth-child(5) {
        display: none;
    }

    .result-table {
        font-size: 13px;
    }

    .ball {
        /*padding: 8px;*/
        font-size: 12px;
        width: 31px;
        height: 31px;
    }

    .games-button img, .games-button.vid img {
        height: 37px;
    }

    .banner-section-title {
        font-size: 2rem;
    }

    .mask {
        padding: 50px 10px;
    }

    .gd-game-img {
        height: 30px;
    }

    .scale-down {
        transform: scale(0.5)
    }

    .countdown .cd-title {
        font-size: 1.2rem;
    }

    .countdown .cd-time {
        font-size: 0.7rem;
    }

    .countdown-card-box {
        padding: 10px;
    }

    .countdown-card-box-value {
        font-size: 2rem;
    }

    .countdown-card-delimiter {
        font-size: 0.6rem;
    }

    .inner-dbj {
        font-size: 2rem;
    }

    .dbj-slogan {
        font-size: 1rem;
        border-radius: 7px;
    }

    .dbj-logo {
        width: 50%;
    }
}

@media (min-width: 360px) and (max-width: 436px) {
    .nav-fill .nav-item {
        width: 50%;
    }

        .nav-fill .nav-item .nav-link {
            padding: 0;
        }
}

.bg-radial-black {
    background: rgb(92,92,92) !important;
    background: radial-gradient(circle, rgba(92,92,92,1) 0%, rgba(52,52,52,1) 22%, rgba(0,0,0,1) 100%) !important;
}

.bg-secondary-50 {
    background-color: #6c757d40 !important;
}

.fs-9 {
    font-size: 0.9rem !important;
}

.fs-10 {
    font-size: 0.8rem !important;
}

.fs-15 {
    font-size: 0.7rem !important;
}

.fs-20 {
    font-size: 0.65rem !important;
}

.bg-nnp {
    background-color: #025600 !important;
}

.text-gold-bright {
    color: #f1e2b5;
}

.nav-fill .nav-item, .nav-fill > .nav-link {
    padding: 4px;
}

.nav-studio .nav-link {
    color: #DE2835;
    border: 1px solid #DE2835 !important;
    border-radius: 50px !important;
}

.nav-studio.nav-pills .nav-link.active, .nav-studio.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #DE2835;
}

.nav-studio .nav-link:focus, .nav-studio .nav-link:hover {
    color: #DE2835;
    box-shadow: 2px 2px 2px #00000030;
}

.nav-profile .nav-link {
    color: #000;
    border: 1px solid transparent !important;
    border-radius: 50px !important;
}

    .nav-profile .nav-link img {
        max-height: 58px;
    }

.nav-profile.nav-pills .nav-link.active, .nav-profile.nav-pills .show > .nav-link {
    color: #DE2835;
    background-color: transparent !important;
}

    .nav-profile.nav-pills .nav-link.active img, .nav-profile.nav-pills .show > .nav-link img {
        -webkit-filter: drop-shadow(0px 2px 0 #DE2835) drop-shadow(0px -2px 0 #DE2835);
        filter: drop-shadow(0px 2px 0 #DE2835) drop-shadow(0px -2px 0 #DE2835);
    }

.nav-profile.nav-link:focus, .nav-profile.nav-link:hover {
    color: #DE2835;
    box-shadow: 2px 2px 2px #00000030;
}

.blur-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000000e0;
    backdrop-filter: blur(3px);
}

.text-gold-gradient {
    background: #F0EC90;
    background: linear-gradient(to bottom, #F0EC90 0%, #F2BD32 10%, #F0EC90 43%, #F6C91A 46%, #C06828 53%, #F6C91A 62%, #F0E163 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-filter: drop-shadow(2px 2px 3px #000);
    filter: drop-shadow(2px 2px 3px #000);
    cursor: default;
}

    .text-gold-gradient::selection {
        background-color: transparent !important;
        color: transparent !important;
    }

.fs-title {
    font-size: 3rem !important;
}

.text-shadow {
    text-shadow: 2px 2px 5px black;
}

.border-yellow-thick {
    border: 8px solid #ffc225;
    border-radius: 20px;
}

.slanted-text {
    transform: rotate(-5deg) skew(-5deg);
}

.line-height-1 {
    line-height: 1 !important;
}

.live-icon {
    position: absolute;
    right: 0;
    top: 5px;
    background: #1b1b1b;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 8px 12px;
    z-index: 2;
    box-shadow: -1px 1px 5px #000000a1;
}

.blinking {
    -webkit-animation: 1s blink ease infinite;
    -moz-animation: 1s blink ease infinite;
    -ms-animation: 1s blink ease infinite;
    -o-animation: 1s blink ease infinite;
    animation: 1s blink ease infinite;
}

@keyframes blink {
    from, to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    from, to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@-webkit-keyframes blink {
    from, to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@-ms-keyframes blink {
    from, to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@-o-keyframes blink {
    from, to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}



/*@media (max-width: 1275px) {
    #primary-menu {
        position: unset;
        background-color: transparent !important;
        display: block;
        float: none;
    }

        #primary-menu > ul, #primary-menu > div > ul {
            display: none;
            float: none !important;
            border: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            -webkit-transition: none;
            -o-transition: none;
            transition: none;
        }

    .cornered {
        display: none;
    }

    #header {
        background-color: #000;
    }

    #primary-menu ul ul li {
        background-color: transparent !important;
    }

    #logo a.standard-logo {
        display: inline-block;
    }

    body:not(.top-search-open) #primary-menu-trigger {
        opacity: 1;
        -webkit-transition: opacity .2s .2s ease, top .4s ease;
        -o-transition: opacity .2s .2s ease, top .4s ease;
        transition: opacity .2s .2s ease, top .4s ease;
    }

    #primary-menu-trigger {
        opacity: 1;
        pointer-events: auto;
        top: 25px;
        margin-top: 0;
        left: 0;
        z-index: 1;
    }

    #header.full-header .container, .container-fullwidth {
        padding: 0 15px !important;
        margin: 0 auto;
        width: 750px !important;
    }

    #logo {
        display: block;
        height: 100px;
        float: none;
        margin: 0 auto 0 !important;
        max-width: none;
        text-align: center;
        border: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 575px) {
    .container, #header.full-header .container, .container-fullwidth {
        width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}


@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1275px), only screen and ( min--moz-device-pixel-ratio: 2) and (max-width: 1275px), only screen and ( -o-min-device-pixel-ratio: 2/1) and (max-width: 1275px), only screen and ( min-device-pixel-ratio: 2) and (max-width: 1275px), only screen and ( min-resolution: 192dpi) and (max-width: 1275px), only screen and ( min-resolution: 2dppx) and (max-width: 1275px) {
    #logo a.standard-logo {
        display: none;
    }

    #logo a.retina-logo {
        display: inline-block;
    }
}*/
/*
@media (max-width: 1275px) {

   
    #primary-menu {
        position: unset;
        background-color: transparent !important;
    }

    .cornered {
        display: none;
    }

    #header {
        background-color: #000;
    }

    #primary-menu ul ul li {
        background-color: transparent !important;
    }

    body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul ul li, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content ul ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content.grid-2 > ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content.grid-3 > ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content.grid-4 > ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content.grid-5 > ul, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu ul li .mega-menu-content.style-2 li {
        border-top-color: transparent !important;
    }
}

*/
@media (min-width: 991px) and (max-width:1190px) {
    #primary-menu ul li > a {
        font-size: 12px;
    }

    .white-corner, .green-corner {
        display: none;
    }

    #header.full-header #primary-menu > ul {
        margin-right: 0;
    }
}

th.vertical-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-align: center;
    vertical-align: middle;
    width: 50px;
    font-weight: bold;
}
/* Specific styles for iOS Safari */
@supports (-webkit-touch-callout: none) {
    th.vertical-text {
        writing-mode: unset; 
        transform: none; 
        text-orientation: sideways;
        /*transform: rotate(90deg);*/
    }
}