html,
body {
    background-image:url("/files/design/background.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000000;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.nav-background-transparent {
    background: rgba(100, 100, 100, 0.6)!important;
}

.card-deck .card.price-card {
    min-width: 180px;
    opacity: 0.9;
}

.card-deck .card.player-card {
    min-width: 200px;
    max-width: 200px;
    opacity: 0.9;
}

.card-deck .card.menu-card {
    max-width: 22em;
    min-width: 22em;
    max-height: 12em;
    min-height: 12em;
    border-radius: 0.7em;
}

.nounderline {
    text-decoration: none !important
}

.menu_background {
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(0.95);
    opacity: 0.9;
    border: 0.4em solid #b3bb32;
}
.menu_background:hover {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    transform: scale(1);
    cursor: pointer;
    opacity: 1;
}
.menu_link_background {
    background-color:rgba(0, 0, 0, 0.5);
}
.menu_description_background {
    background-color:rgba(30, 30, 30, 0.8);
}

/*mail background color*/
.background_mail {
    background: #F8F6E9;
}

/*builder background field*/
.builder_background_field {
    background-image: url('/files/builder/fieldbg_wpos_white.webp');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border: solid #777777 0;
    width: 100%;
    height: 100%;
    max-height: 500px;
    max-width: 470px;
    margin-bottom: 5px;
}
.builder_pl_padding {
    margin: 5px;
}
td.builder_field{
    border: 0px solid white;
    border-collapse: collapse;
}
.builder_pl_num {
    width: 30px;
    height: 30px;
    margin: 0 0 0 0;
    border: 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
    padding-top: 10px;
    color: black;
}

.builder_pl_num div {
    bottom: 3px;
    width: 24px;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: 0;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    font-family: Arial;
    font-size: 9px;
    font-weight: bold;
    color: black;
}

.builder_pl_num_checked {
    width: 30px;
    height: 30px;
    margin: 0 0 0 0;
    border: 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
    background-color: white;
    padding-top: 10px;
    color: black;
}

.builder_pl_num_checked div {
    bottom: 0px;
    width: 24px;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: 0;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    color: black;
}

/*roster*/
.bgcolor_main_team { background-color: #ffffff; }
.bgcolor_reserve { background-color: #c4cfc4; }
.bgcolor_on      { background-color: yellow; }
.bgcolor_checked { background-color: #779977; }
.bgcolor_pl_penalty { background-color: #ffcccd; }
.bgcolor_on_subs { background-color: #dbe7db; }

.chat-w-70 {
    width: 70%!important;
}
.chat-w-28 {
    width: 28%!important;
}

/*left_menu_img*/
.left_menu_img {
    width: 5vh;
    height: 5vh;
    transform: scale(0.95);
}

.left_menu_img:hover {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    transform: scale(1.5);
}

/*bottom_menu_img*/
.bottom_menu_img {
    transform: scale(0.95);
    width: 3.5vw;
    max-width: 45px;
    height: 3.5vw;
    max-height: 45px;
}

.bottom_menu_img:hover {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    transform: scale(1.5);
}

.top_menu_animation {
    animation: top-menu-zoom-in-zoom-out 2s ease infinite;
}
@keyframes top-menu-zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
    }
}

/*menu_logo_icon*/
.top_menu_logo_icon {
    width: 3.5vw;
    max-width: 40px;
    height: 3.5vw;
    max-height: 40px;
    -webkit-animation:spin 6s linear infinite;
    -moz-animation:spin 6s linear infinite;
    animation:spin 6s linear infinite;
}

.top_menu_logo_icon:hover {
    -webkit-animation:spin 6s linear infinite;
    -moz-animation:spin 6s linear infinite;
    animation:spin 6s linear infinite;
}
@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

/*top_menu_img*/
.top_menu_img {
    transform: scale(0.95);
    width: 3.5vw;
    max-width: 40px;
    height: 3.5vw;
    max-height: 40px;
}

.top_menu_img:hover {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    transform: scale(1.5);
}

.top_menu_img_active {
    transform: scale(1.2);
    width: 3.5vw;
    max-width: 40px;
    height: 3.5vw;
    max-height: 40px;
    box-shadow: 0px 0px 5px #fff;
}

.top_menu_img_active:hover {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    transform: scale(1.5);
}

.card_menu_animation {
    animation: card-menu-zoom-in-zoom-out 3s ease infinite;
}
@keyframes card-menu-zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.1, 1.1);
    }
    100% {
        transform: scale(1, 1);
    }
}

/*tournament info*/
.cup_info {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    position: relative;
    text-align: right;
    vertical-align: bottom;
}
.cup_info span {
    bottom: 0px;
    width: 50px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border: 0px;
    position: absolute;
    text-align: right;
    vertical-align: bottom;
    font-size: 10px;
    font-weight: bold;
}
.cup_info_badge {
    top: 35px;
}

/*game viewer*/
.game_viewer_score {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
}
.game_viewer_head {
    font-size: 20px;
    font-weight: bold;
    color: #fff;

}
.game_viewer_timer {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.table-light th, .tb-light-header{background-color:#225008!important}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  background-color:#2b610b!important;
}

.table-light th a, .nav-link.active, .table-light th, .tb-light-header{
  color:#fff!important;
}

.nav-link.active{
  border:none!important;
}

.table-secondary, .table-secondary>td, .table-secondary>th, .matches_participants, .matches_buttons_panel, .table-striped tbody tr:nth-of-type(odd) {
  background-color: #dbe7db !important;
}

.tranlsation_player_container{
  background-color: #b9cdb1;
}

.translation_header{
  background-color: #094f37;
}

.btn-success{
  background-color:#37843c;
}

.item_used{
  background-color:#37843c;
}

.item_not_used{
  background-color: #FFFFFF;
}

.item_expire{
  background-color:#ff3333;
}

.top_menu_background {
    background-image: url('/files/interface/top_menu/background.png');
    background-repeat: inherit;
    /*background-color: #205100;*/
    background-color: rgba(32, 81, 0, 0.7);
    background-position: right center;
}

.blinkingOpacity{
    animation:blinkingText 2.8s infinite;
}
@keyframes blinkingText{
    0%   { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 0; }
}

.builder_pl_num_new, .builder_pl_num_new_checked {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

.builder_pl_num_new, .builder_pl_num_new_checked, .field_pos {    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.relative {
    position:relative;
}

.field_pos{
    position:relative;
}

.builder_pl_num_new_checked{
    z-index:1000;
    opacity:0.5;
}

#carouselBuildPlayers .carousel-item, #carouselBenchPlayers .carousel-item{
    text-align:center;
}

.carousel-item .field_pos{
    display:inline-block;
}

.builder_pl_selected{
    opacity:0.5;
}

.builder_pl_dragging{
    z-index:1001;
}

#team_build_tabs{
    padding:10px;
}

.builder_background_field .playercard-align {
    position:relative;
    margin-top:-10px;
}

.builder_background_field .playercard-picture {
    left:0px !important;
    width:50px !important;
    height:50px !important;
}

.builder_background_field .playercard-picture img, .builder_background_field .playercard-picture div {
    width:50px !important;
    height:50px !important;
}

.builder_background_field .b11.playercard.card-small{
    width: 52px;
    height: 80px;
}

.b11.playercard.card-small .playercard-shirt-num{
    top: 20px !important;
    left: -30px !important;
}

.builder_background_field .b11.playercard.card-small .playercard-shirt-num{
    top: 20px !important;
    left: -25px !important;
    font-size:18px !important;
    color:inherit !important;
}

.builder_background_field .playercard-name{
    top: 70px !important;
    left: 0px !important;
    font-size:13px !important;
    color:inherit !important;
}

.b11.playercard.card-small .playercard_phys {
    top: 35px;
    left: 7px;
}

.builder_background_field .b11.playercard.card-small .playercard_phys {
    top: 65px !important;
    left: 15px !important;
}

.builder_background_field .playercard-attr, .builder_background_field .playercard-info-full, .builder_background_field .playercard-talent, .builder_background_field .playercard-position, .builder_background_field .playercard-info, .builder_background_field .playercard-rating, .builder_background_field .playercard-free-points, .builder_background_field .playercard-free-points-arrow, .builder_background_field .playercard-age, .builder_background_field .playercard-red-age{
    display:none;
}

.builder_background_field .playercard-free-points {
    top:145px !important;
}

.builder_background_field .playercard-free-points-arrow {
    top:163px !important;
}

.builder_background_field .playercard-info{
    top:46px !important;
}

.builder_background_field .playercard-rating {
    top:120px !important;
}

.builder_background_field .card_nation{
    top: 55px !important;
}

.pl_position_bad{
    color:red !important;
}

.pl_position_good{
    color:white !important;
}

.builder_background_field .playercard-age, .builder_background_field .playercard-red-age{
    top:135px !important;
}

.builder_background_field .b11{
    background-image:none !important;
}

/***** Sidebar *****/
.b11-sidebar {
    width: 30%;
    height: 100vh;
    position: fixed;
    top: auto;
    left: -31%;
    z-index: 999;
    background: #333;
    color: #fff;
    transition: all .3s;
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
    text-align: left;
}
.b11-sidebar.active {
    left: 0;
}

/***** Dark overlay *****/
.b11-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(51, 51, 51, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.b11-overlay.active {
    display: block;
    opacity: 1;
}

.open-menu {
    z-index: 997;
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.2);
}

.open-menu.btn-customized,
.open-menu.btn-customized:hover,
.open-menu.btn-customized:active,
.open-menu.btn-customized:focus,
.open-menu.btn-customized:active:focus,
.open-menu.btn-customized.active:focus,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.2);
}

/* Style for all buttons with the class btn-customized */

a.btn-customized {
    margin-left: 5px;
    margin-right: 5px;
    padding: .75rem 1.5rem;
    background: #f35b3f;
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    box-shadow: none;
}

a.btn-customized:hover,
a.btn-customized:active,
a.btn-customized:focus,
a.btn-customized:active:focus,
a.btn-customized.active:focus,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #cd533d; /* for browsers that don't recognize rgba */
    background: rgba(243, 91, 63, 0.7);
    border: 0;
    color: #fff;
    box-shadow: none;
}

.dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all .3s;
    background: #444;
    border-radius: 4px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
}

.dismiss:hover,
.dismiss:focus {
    background: #555;
    color: #fff;
}

.b11-sidebar .logo {
    padding: 40px 20px;
    border-bottom: 1px solid #444;
    transition: all .3s;
}

.b11-sidebar .logo a {
    display: inline-block;
    width: 172px;
    height: 34px;
    background: url(../img/logo.png) left top no-repeat;
    border: 0;
    text-indent: -999999px;
}

.b11-sidebar ul.menu-elements {
    padding: 0 0;
    border-bottom: 1px solid #444;
    transition: all .3s;
}

.b11-sidebar ul li a {
    display: block;
    padding: 10px 20px;
    border: 0;
    color: #fff;
}

.b11-sidebar ul li a:hover,
.b11-sidebar ul li a:focus,
.b11-sidebar ul li.active > a:hover,
.b11-sidebar ul li.active > a:focus {
    outline: 0;
    background: #555;
    color: #fff;
}

.b11-sidebar ul li a i {
    margin-right: 5px;
}

.b11-sidebar ul li.active > a,
a[aria-expanded="true"] {
    background: #444;
    color: #fff;
}

.b11-sidebar ul ul a {
    background: #444;
    padding-left: 30px;
    font-size: 14px;
}

.b11-sidebar ul ul li.active > a {
    background: #555;
}

.b11-sidebar a[data-toggle="collapse"] {
    position: relative;
}

.b11-sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.b11-sidebar .to-top {
    padding: 20px;
    text-align: center;
}

a.btn-customized-3 {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: .75rem 1.5rem;
    background: #444;
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    box-shadow: none;
}

a.btn-customized-3:hover,
a.btn-customized-3:active,
a.btn-customized-3:focus,
a.btn-customized-3:active:focus,
a.btn-customized-3.active:focus,
a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #fff;
    box-shadow: none;
}

a.btn-customized-3 i {
    margin-right: 5px;
}

.b11-sidebar .dark-light-buttons {
    padding: 10px 20px 30px 20px;
    text-align: center;
}

a.btn-customized-4 {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 3px;
    padding: 0;
    background: #444;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    box-shadow: none;
    text-indent: -999999px;
}

a.btn-customized-4.btn-customized-dark {
    background: #222;
}

a.btn-customized-4.btn-customized-light {
    background: #fff;
}

a.btn-customized-4.btn-customized-dark:hover,
a.btn-customized-4.btn-customized-dark:active,
a.btn-customized-4.btn-customized-dark:focus,
a.btn-customized-4.btn-customized-dark:active:focus,
a.btn-customized-4.btn-customized-dark.active:focus,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #fff;
    box-shadow: none;
}

a.btn-customized-4.btn-customized-light:hover,
a.btn-customized-4.btn-customized-light:active,
a.btn-customized-4.btn-customized-light:focus,
a.btn-customized-4.btn-customized-light:active:focus,
a.btn-customized-4.btn-customized-light.active:focus,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #fff;
    box-shadow: none;
}

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
    width: 60px;
    height: 45px;
    position: relative;
    margin: 50px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
