/*
Colors 2019
buttons, texts: 1AA497
button on: 116B62

Colors 2020
buttons, texts 6b36b3
 */

body {
    background-color: transparent;
    background-image:url("../img/bgs_common/bacg2020.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration:none;
    font-family: 'Montserrat', serif;
}

.logo{
    overflow: hidden;
    top:0px;
    margin-top:0px;
    margin-bottom:0px;
    left:10%;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.navbar .navbar-collapse.in { max-height:300px; overflow-y:scroll; overflow-x:hidden;}

.po-r {position:relative;}

.z10 {z-index:10;}
.z50 {z-index:50;}
.z100 {z-index:100;}
.z105 {z-index:105;}
.z110 {z-index:110;}

.mw20{ max-width: 20px;}
.mw30{ max-width: 30px;}
.mw30{ max-width: 50px;}

.mw80{ max-width: 80px;}
.mw100{ max-width: 100px;}
.mw150{ max-width: 150px;}
.mw180{ max-width: 150px;}
.mw220{ max-width: 220px;}
.mw230{ max-width: 230px;}
.mw260{ max-width: 280px;}
.mw300{ max-width: 300px;}
.mw500{ max-width: 600px;}


.mh15{ max-height: 15px;}
.mh18{ max-height: 18px;}
.mh35{ max-height: 35px;}
.mh50{ max-height: 50px;}
.mh80{ max-height: 80px;}
.mh100{ max-height: 100px;}
.mh150{ max-height: 150px;}
.mh200{ max-height: 200px;}
.mh400{ max-height: 400px;}
.mh500{ max-height: 500px;}
.mh600{ max-height: 600px;}

.mih500{ min-height: 500px;}

.h400{ height: 400px;}
.h-100 {height: 100% !important;}

.hidden { display: none; }

.mtm3p{margin-top:-3%;}
.mtm5p{margin-top:-5%;}
.mtm8p{margin-top:-8%;}


.opcb-45{
    background-color: transparent;
    background-color: rgba(69, 85, 96, 0.3);
}
.opcw-1{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.1);
}
.opcw-3{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.3);
}
.opcw-4{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.4);
}
.opcw-5{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.5);
}
.opcw-6{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.6);
}
.opcw-7{
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.7);
}
.opc-1{
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.1);
}
.opc-2{
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.2);
}
.opc-3{
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.3);
}
.opc-5{
     background-color: transparent;
     background-color: rgba(0, 0, 0, 0.5);
 }
.opc-5-r{
    background-color: transparent;
    /*background-color: rgba(46, 7, 7, 0.7);*/
    background-color: rgba(255, 255, 255, 0.4);
    /*background-color: rgba(66, 13, 13, 0.7);*/
}

.opc-7 {
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.7);
}
.opc-8{
    background-color: transparent;
    background-color: rgba(0, 0, 0, 0.8);
}
.opcg-5 {
  background-color: transparent;
  background-color: rgba(255, 215, 0, 0.3); /* gold with 50% opacity */
}

.f-main {
    font-family: 'Arial', Helvetica;
}

.f-marker {
    font-family: 'Permanent Marker', cursive;
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-Regular.otf") format("opentype");
}
@font-face {
    font-family: Montserrat;
    font-weight: bold;
    src: url("../fonts/Montserrat-Bold.otf") format("opentype");
}
@font-face {
    font-family: 'MontserratExtraBold';
    font-weight: 800;
    src: url("../fonts/Montserrat-ExtraBold.otf") format("opentype");
}
@font-face {
    font-family: 'RacingFont';
    src: url("../fonts/Racing.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.monseratextrabold {
    font-family: 'MontserratExtraBold', Montserrat, Arial, sans-serif;
    font-weight: 800;
}

.racingfont {
    font-family: 'RacingFont', Arial, sans-serif;
}
.racingfont-shadow {
    text-shadow: 0 0 8px rgba(127, 199, 247, 0.9), 1px 1px 3px rgba(127, 199, 247, 0.6);
}

.fs8 { font-size: 8px;}
.fs9 { font-size: 9px;}
.fs10 { font-size: 10px;}
.fs11 { font-size: 11px;}
.fs12 { font-size: 12px;}
.fs14 { font-size: 14px;}
.fs15 { font-size: 15px;}
.fs15 { font-size: 15px;}
.fs16 { font-size: 16px;}
.fs18 { font-size: 18px;}
.fs20 { font-size: 20px;}
.fs22 { font-size: 22px;}
.fs24 { font-size: 24px;}
.fs26 { font-size: 26px;}
.fs32 { font-size: 32px;}
.fs52 { font-size: 52px;}

.fs_xxs { font-size: 16px;}
.fs_xs {font-size: 16px;}
.fs_s { font-size: 3vw;}
.fs_sm { font-size: 4vw;}
.fs_lg { font-size: 6vw;}
.fs_xl { font-size: 8vw;}
.fs_bronze { font-size: 60px;}

@media screen and (min-width: 1500px) {
    .fs_xl {font-size: 140px;}
}
@media screen and (min-width: 800px) {
    .fs_s {font-size: 20px;}
    .mh_xs {max-height: 35px;}
    .mh_100xs {max-height: 35px;}
    .fs_xs {font-size: 16px;}
}
@media screen and (min-width: 600px) {
    .fs_sm {font-size: 30px;}
    .mih80{ min-height: 100px;}
}

@media screen and (max-width: 599px) {
    .fs_sm {font-size: 15px;}
    .mih80{ min-height: 60px;}
    .fs_xl {font-size: 60px;}
    .fs_xs {font-size: 8px;}
    .fs_xxs {font-size: 12px;}
    .fs_bronze { font-size: 32px;}
}
@media screen and (max-width: 799px) {
    .mh_xs {max-height: 15px;}
    .mh_100xs {max-height: 100%;}    
    .fs_xs {font-size: 12px;}
}


.fc-lgrey { color: #777777;}
.fc-grey { color: #455560;}
.fc-blue { color: #004586;}
.fc-lblue { color: #bedbf7;}
.fc-text { color: #4c4c4c;}
.fc-red { color: #db0922;}
.fc-white { color: #ffffff;}
.fc-green2020 { color: #b1da49 !important;}
.fc-violet2020 { color: #6b36b3 !important;}
.fc-grey2020 { color: #3a4152;}
.fc-yellow2021 { color: #E7C700;}
.fc-d10green { color: #74C858;}

.fc-gold { color: rgba(255, 183, 0, 0.9);}
.fc-gold-shadow {
    text-shadow: 0 0 8px rgba(22, 21, 17, 0.9), 3px 1px 3px rgba(255, 248, 229, 0.6);
}
.fc-bronze { color: rgba(205, 127, 50, 0.9);}
.fc-bronze-shadow {
    text-shadow: 0 0 8px rgba(99, 83, 14, 0.9), 3px 1px 3px rgba(205, 127, 50, 0.6);
}

.text-drift { color: #6b36b3;}
.text-black { color: #000000;}

.cursor-p{cursor:pointer;}

.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 50px;
    height: 1.2em;
    white-space: nowrap;
}

.nav-link {
    font-size:12px;
    font-weight: bold;
    color:#455560;
}
.nav-link:hover {
    font-size:12px;
    font-weight: bold;
    color:#6fccf4;
}

.txtc{
    text-align: center;
}
.text-shadow {
    text-shadow: 2px 2px 8px #000000;
}
.text-shadow1 {
    text-shadow: 2px 2px 8px #000000;
}

table {
    color:#ffffff;
}

table.table-drift > tbody > tr > td{
     border-top:1px solid black;
     border-bottom:1px solid black;
     border-right: none;
     border-left: none;
}
table.table-drift > thead > tr > th{
    border-right:1px solid rgba(255,255,255,.5);
    border-color: rgba(0,0,0,.4);
}

.table-drift tbody tr.driver-row { 
    cursor: pointer; 
    transition: background 0.2s;
}
.table-drift tbody tr.driver-row:hover {
    background-color: transparent;
    background-color: rgba(162, 161, 166, 0.5); /* gold with 50% opacity */
}
.battle-link-row { cursor: pointer; transition: background 0.2s; }
.battle-link-row:hover { background: #7c7b82ff !important; }

.brw{
    border-right: 1px solid white;
}
.blw{
    border-left: 1px solid white;
}

.link_text {
    color:#455560;
}
.link_text:hover {
    color:#6fccf4;
}

.spmhidip {
    display:none;
    width:10px;
    height:3px;
}

.bg_grey {
    background-color:#bababa !important;
}

.bg_llgrey {
    background-color:#dbdbdb !important;
}

.bgf {
    background-color:#b8b8b8 !important;
}
.bg_green {
    background-color:#1AA497 !important;
}

.bg_green2020 {
    background-color:#b1da49 !important;
}

.bg_violet2020 {
    background-color:#6b36b3 !important;
}

.bg_blue {
    background-color:#041e3f !important;
}

.bg_red {
    background-color: #db0922 !important;
}


.bg_index{
/*    background-color: transparent;
    background-image:url("../img/background_light.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
*/
}

.bg_carbon {
  position: relative;
  background-color: transparent !important;
  background-image: none !important;
  overflow: hidden;
}

.bg_carbon::before {
  content: '';
  position: absolute;
  inset: -20px;  /* Extend beyond element to cover skew distortion */
  background-image: url("../img/carbon_bg5.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;  /* Behind content */
  /* Don't apply skewY to this layer */
}

.bg_index2{
background-color: transparent;
background-color: rgba(0, 0, 0, 0.9);  /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
background-image:url("../img/01.jpg");
background-size: 945px 700px;
background-repeat: no-repeat;
background-position: right;
}

.shadow-nohover {
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-drift {
    color: #ffffff;
    background-color: #6b36b3;
    border-color: #08332F;
}

.btn-drift:hover,
.btn-drift:focus,
.btn-drift:active,
.btn-drift.active,
.open .dropdown-toggle.btn-drift {
    color: #ffffff;
    background-color: #835cb8;
    border-color: #08332F;
}

.btn-drift:active,
.btn-drift.active,btn-drift
.open .dropdown-toggle {
    background-image: none;
}

.btn-drift.disabled,
.btn-drift[disabled],
fieldset[disabled] .btn-drift,
.btn-drift.disabled:hover,
.btn-drift[disabled]:hover,
fieldset[disabled] .btn-drift:hover,
.btn-drift.disabled:focus,
.btn-drift[disabled]:focus,
fieldset[disabled] .btn-drift:focus,
.btn-drift.disabled:active,
.btn-drift[disabled]:active,
fieldset[disabled] .btn-drift:active,
.btn-drift.disabled.active,
.btn-drift[disabled].active,
fieldset[disabled] .btn-drift.active {
    background-color: #6b36b3;
    border-color: #08332F;
}

.btn-drift .badge {
    color: #6b36b3;
    background-color: #ffffff;
}

.btn-dgrey {
    color: #ffffff;
    background-color: #7A7A7A;
    border-color: #2B2B2B;
}

.btn-dgrey:hover,
.btn-dgrey:focus,
.btn-dgrey:active,
.btn-dgrey.active,
.open .dropdown-toggle.btn-dgrey {
    color: #ffffff;
    background-color: #B0B0B0;
    border-color: #2B2B2B;
}

.btn-dgrey:active,
.btn-dgrey.active,
.open .dropdown-toggle.btn-dgrey {
    background-image: none;
}

.btn-dgrey.disabled,
.btn-dgrey[disabled],
fieldset[disabled] .btn-dgrey,
.btn-dgrey.disabled:hover,
.btn-dgrey[disabled]:hover,
fieldset[disabled] .btn-dgrey:hover,
.btn-dgrey.disabled:focus,
.btn-dgrey[disabled]:focus,
fieldset[disabled] .btn-dgrey:focus,
.btn-dgrey.disabled:active,
.btn-dgrey[disabled]:active,
fieldset[disabled] .btn-dgrey:active,
.btn-dgrey.disabled.active,
.btn-dgrey[disabled].active,
fieldset[disabled] .btn-dgrey.active {
    background-color: #7A7A7A;
    border-color: #2B2B2B;
}

.btn-dgrey .badge {
    color: #7A7A7A;
    background-color: #ffffff;
}

.btn-blue {
    color: #ffffff;
    background-color: #041E3F;
    border-color: #04162E;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active,
.open .dropdown-toggle.btn-blue {
    color: #ffffff;
    background-color: #062C5E;
    border-color: #04162E;
}

.btn-blue:active,
.btn-blue.active,
.open .dropdown-toggle.btn-blue {
    background-image: none;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: #d3d3d3;
    color: #000;
}
.dropdown-menu {
    border-radius: 0;
}

.btn-blue.disabled,
.btn-blue[disabled],
fieldset[disabled] .btn-blue,
.btn-blue.disabled:hover,
.btn-blue[disabled]:hover,
fieldset[disabled] .btn-blue:hover,
.btn-blue.disabled:focus,
.btn-blue[disabled]:focus,
fieldset[disabled] .btn-blue:focus,
.btn-blue.disabled:active,
.btn-blue[disabled]:active,
fieldset[disabled] .btn-blue:active,
.btn-blue.disabled.active,
.btn-blue[disabled].active,
fieldset[disabled] .btn-blue.active {
    background-color: #041E3F;
    border-color: #04162E;
}

.btn-blue .badge {
    color: #041E3F;
    background-color: #ffffff;
}

/*More space*/

.pb-6 { padding-bottom: 6rem !important;}
.pt-6 { padding-top: 6rem !important;}
.mt-6 { margin-top: 6rem !important;}
.mb-6 { margin-bottom: 6rem !important;}
.mt-7 { margin-top: 7rem !important;}
.pb-7 { padding-bottom: 7rem !important;}
.pt-7 { padding-top: 7rem !important;}
.mt-8 { margin-top: 8rem !important;}
.pb-8 { padding-bottom: 8rem !important;}
.pt-8 { padding-top: 8rem !important;}
.mt-15 { margin-top: 15rem !important;}


.div-scroll {
  min-height: 400px;
  max-height: 80vh;
  overflow: auto;
}

.card-drift-header {
    border-radius: 0 !important;
    border-width: 2px !important;
    transform: skewX(-12deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
}
.card-drift-body {
    border-radius: 0 !important;
    border-width: 2px !important;
    padding-left: 1.2em;
    padding-right: 1.2em;
}

/* Bootstrap 5.3 → restore 5.0 table color and background inheritance behavior */
.table > :not(caption) > * > * {
    color: inherit;
    background-color: inherit;
}

/* Angled/parallelogram navbar buttons */
.btn-bent {
    border-radius: 0 !important;
    transform: skewX(-12deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
}
.btn-bent .btn-bent-text {
    transform: skewX(12deg);
    display: inline-block;

    /* text-shadow: 0 0 6px rgba(127, 199, 247, 0.9), 1px 1px 3px rgba(127, 199, 247, 0.6); */
}
.btn-bent-left {
    border-radius: 0 !important;
    transform: skewX(12deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
}
.btn-bent-left .btn-bent-text {
    transform: skewX(-12deg);
    display: inline-block;

    /* text-shadow: 0 0 6px rgba(127, 199, 247, 0.9), 1px 1px 3px rgba(127, 199, 247, 0.6); */
}
.text-border-win {
    color: #fff;
    text-shadow: 
        -0.7px -0.7px 0 #000,
        0.7px -0.7px 0 #000,
        -0.7px 0.7px 0 #000,
        0.7px 0.7px 0 #000;
}
.text-border {
    text-shadow: 
        -0.7px -0.7px 0 #000,
        0.7px -0.7px 0 #000,
        -0.7px 0.7px 0 #000,
        0.7px 0.7px 0 #000;
}

.btn-bent-border-lose {
    border: 2px solid rgb(99, 83, 14) !important;
}
.btn-bent-border-elimination {
    border: 2px solid rgb(99, 83, 14) !important;
}
.btn-bent-border-silver {
    border: 2px solid rgb(109, 109, 109) !important;
}

.btn-bent-border-vs-peaked {
    position: relative;
    background: transparent !important;
    z-index: 1;
    /* no clip-path here so glow can escape */
}
/* Golden glowing border layer */
.btn-bent-border-vs-peaked::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(255, 183, 0, 0.9);
    clip-path: polygon(100% 0%, 82% 100%, 18% 100%, 0% 0%);
    z-index: 1;
    filter: blur(5px);
}
/* Inner shape that clips the content */
.btn-bent-border-vs-peaked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #00000025;
    clip-path: polygon(100% 0%, 82% 100%, 18% 100%, 0% 0%);
    z-index: 2;
}

.vs-peaked-grey {
    position: relative;
    z-index: 1;
    background: rgba(158, 158, 158, 0.9);
    clip-path: polygon(100% 0%, 82% 100%, 18% 100%, 0% 0%);
}


.btn-bent-border-win {
    border: 1px solid rgb(99, 12, 110) !important;
}

.navbar .nav-item .btn-bent {
    border-radius: 0 !important;
    border-width: 2px !important;
    transform: skewX(-12deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
}
.navbar .nav-item .btn-bent * {
    transform: skewX(12deg);
    display: inline-block;
    text-shadow: 0 0 8px rgba(127, 199, 247, 0.9), 1px 1px 3px rgba(127, 199, 247, 0.6);
}
/* Also unskew button text that's a direct text node (no child elements) */
.navbar .nav-item .btn-bent {
    font-style: oblique 0deg;
}

.battle-card-left {
    border: 3px solid rgb(58, 65, 82) !important;
    box-shadow: 0 0 70px rgba(58, 65, 82, 0.6), 0 0 70px rgba(58, 65, 82, 0.3) !important;
    border-radius: 10px !important;
    transform: skewY(-3deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
    overflow: hidden;    
    z-index: 20;
}
.battle-card-left-box {
    border-top: 3px solid rgb(58, 65, 82) !important;
    box-shadow: inset 0 0 70px rgba(58, 65, 82, 0.6),inset 0 0 70px rgba(58, 65, 82, 0.3) !important;
    z-index: 20;
}
.battle-card-left .battle-card-left-text {
    transform: skewY(3deg);
    display: inline-block;
}

.battle-card-right {
    border: 3px solid rgb(107, 54, 179) !important;
    box-shadow: 0 0 70px rgba(107, 54, 179, 0.6), 0 0 70px rgba(107, 54, 179, 0.3) !important;
    border-radius: 10px !important;
    transform: skewY(3deg);
    padding-left: 1.2em;
    padding-right: 1.2em;
    overflow: hidden;    
    z-index: 20;
}
.battle-card-right-box {
    border-top: 3px solid rgb(107, 54, 179) !important;
    box-shadow: inset 0 0 70px rgba(107, 54, 179, 0.6),inset 0 0 70px rgba(107, 54, 179, 0.3) !important;
    z-index: 20;
}
.battle-card-right .battle-card-right-text {
    transform: skewY(-3deg);
    display: inline-block;
}

.battle-card-bronze {
    border: 3px solid rgb(205, 127, 50) !important;
    box-shadow: 0 0 70px rgba(205, 127, 50, 0.6), 0 0 70px rgba(205, 127, 50, 0.3) !important;
    border-radius: 10px !important;
    z-index: 20;
}
.battle-card-bronze-left {
    border-left: 3px solid rgb(205, 127, 50) !important;
    box-shadow: inset 0 0 30px rgba(205, 127, 50, 0.6), inset 0 0 30px rgba(205, 127, 50, 0.3) !important;
    z-index: 20;
}

.pixel-box-d-right {
  border: 2px solid  rgb(107, 54, 179);
  box-shadow:  0 0 40px rgba(107, 54, 179, 0.6), 0 0 40px rgba(107, 54, 179, 0.3) !important;
  border-radius: 5px;
}
.pixel-box-d-left {
  border: 2px solid  rgb(58, 65, 82);
  box-shadow:  0 0 40px rgba(58, 65, 82, 0.6), 0 0 40px rgba(58, 65, 82, 0.3) !important;
  border-radius: 5px;
}
.pixel-box-b {
    background-color: rgba(0, 0, 0, 0.856);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px)
    ;
    background-repeat: repeat, repeat, no-repeat;
    background-size: 4px 4px, 4px 4px, cover;
    background-position: top left, top left, center center;
    background-attachment: fixed;
}

.opc-5-gr-white{
  background-color: transparent;
  background: radial-gradient(circle 250px at 70% 30%, rgba(24, 17, 0, 0.5), rgba(255, 255, 255, 0.2));
  border-radius: 10px;
  box-shadow: 0 0 70px rgba(199, 164, 129, 0.6), 0 0 70px rgba(92, 76, 60, 0.4) !important;
  /* border: 1px solid rgb(143, 143, 143) !important; */
}

.final_object {
    background-image: url("../img/trophies_common/euro_slidewars26_trophy.png");
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}
