@font-face {
    font-family: 'Game1-font'; /*a name to be used later*/
    src: url('Game1-font.ttf'); /*URL to font*/
}

body{
    font-family: 'Roboto', sans-serif;
    color: #656565;
}

.navbar{
	background-color: green;
	border-radius: 0;
}

.navbar-inverse .navbar-toggle {
    border-color: #6c89c6;
}

.navbar-inverse .navbar-toggle:focus{
    background-color: unset;
} 

.navbar-inverse .navbar-toggle:hover {
    background-color: #6c89c6;
    color: #ff9900 !important;
}

.navbar-inverse .navbar-nav>li>a {
    color: #d8d8d8;
}

#logo_g1 {
    font-family: 'Game1-font';
    font-size: 65px;
    font-weight: normal;
}

@media(min-width: 1921px){
    #logo_g1{
        font-size: 2.5vw;
    }
}

#title_game1_g2,
#title_game1_g3,
#title_game1_ame{
    display: inline-block;
    float: left;
}

#title_game1_g2{
    margin-top: -3px;
}

#title_game1_g3{
    margin-left: -36px;
}

@media(min-width: 1921px){
    #title_game1_g2{
        margin-top: calc(-3vh / 969 * 100);
    }
    #title_game1_g3{
        margin-left: calc(-27vw / 1920 * 100);
    }
}

#title_game1_g2,
#title_game1_ame{
    color:#fff;
}

#title_game1_1{
    display: inline-block;
}

#title_game1_g3,
#title_game1_1{
    color: #ff9900;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 230px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 15px; /* Stay at the top */
    left: 0;
    background-color: #9fb2da;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    padding-bottom: 15px;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 61px;
    text-decoration: none;
    font-size: 12px;
    color: #6c89c6;
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

.sidenav a.disabled{
    color: #aaa !important;
    cursor: unset;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
.container {
    transition: margin-left .5s;
    padding-top: 20px;
    width: auto;
    margin: 50px 0px 30px 230px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

.sidenav.sidenav-closed{
    width: 90px;
}
.sidenav.sidenav-open{
    width: 230px;
}

@media (max-width: 800px){
    .sidenav a {
        padding: 8px 8px 8px 14px;
    }
    .sidenav.sidenav-closed{
        width: 0px !important;
    }
    .sidenav.sidenav-open{
        width: 90px !important;
    }
    .sidenav{
        padding-right: 0px;
    }
}

#mySidenav > a.open {
    text-shadow: rgba(0, 0, 0, 0.25) 0 -1px 0;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
    color: #6c89c6;
}

#mySidenav>a>i.fa{
    font-size: 18px !important;
    width: 26px;
}
#mySidenav>a{
    font-size: 12px;
    color: #fff;
}

#mySidenav>a>span.fa{
    float: right;
    padding-right: 10px;
    margin-top: 5px;
}

@media(max-width: 800px){
    #mySidenav>a>i.fa{
    text-align: center;
    width: 100% !important;
    margin-bottom: 5px;
    }
    #mySidenav>a{
        font-size: 10px;
    }
    #mySidenav>a>span.fa{
        display:none;
    }
}

@media (min-width: 800px){
    .g1-nav-item {
        width: 250px;
    }
}

.g1-nav-item {
    line-height: 20px;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
#mySidenav>ul{
    padding-inline-start: 0px;
}
#mySidenav>ul>li>a:hover{
    color: #ff9900;
}

.g1-nav-dropdown-menu{
    display: none;
}
#mySidenav>ul>li{
    background-color: #E2E7F4;
}

#mySidenav>a{
    margin-top: 10px;
}

#mySidenav>ul>li>a.active {
    color: #ff9900;
}

#mySidenav>a.active{
    border-left: 3px solid #ff9900;
}

.x_title {
    border-bottom: 1px solid #ff9900;
    padding: 1px 12px 6px;
    margin-bottom: 10px;
}

span.auth_message{
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #fff;
}

.btn-primary{
    background-color: #9fb2da;
}

.btn-warning{
    background-color: #ff9900;
}

h3{
    color: #6c89c6;
}

label{
    font-weight: unset;
    color: #6c89c6;
}

.btn-success,
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color: #6c89c6;
    border-color: #384a6f;
}

.btn-success:hover, .btn-success:active, .btn-success:active:hover, .btn-success:active:focus, .btn-success:focus{
    background-color: #ff9900;
    border-color: #ff9900;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #e2e7f4;
}
.table-bordered>thead>tr>th {
    border: 1px solid #bacdf5;
}
.table>thead>tr>th{
    font-weight: unset;
}

.table-striped>tbody>tr:hover{
    background-color: #9fb2da;
    color: #fff;
}

.pagination>li>a:hover{
    color: #fff;
    background-color: #ff9900;
}

.pagination>li>a{
    cursor: pointer;
}

label.lbl_titolo{
    width: 100%;
    border-bottom: 1px solid #ff9900;
}

.btn-warning:hover {
    background-color: #ff7300;
}

@media(max-width: 800px){
    table.g1-table{
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.user-result,
.clan-result,
.gioco-result{
    background-color: #e2e7f4;
}

.user-result:hover,
.clan-result:hover,
.gioco-result:hover{
    background-color: #6c89c6 !important;
    color: #fff;
    border: none !important;
    cursor: pointer;
}

h4{
    display: inline;
}

@media(min-width: 768px){
    .mezza-colonna-sx,
    .mezza-colonna-dx{
        width:49%;
    }

    .mezza-colonna-sx{
        margin-right: 10px;
    }

}

.redborder{
    border: 1px solid #ff0000;
}

/*#span_messaggiprivati.presenti*/
li.g1-nav-item span.presenti{
    background-color: #ff9900;
    color: #fff;
    float: left;
    margin-right: 5px;
    border-radius: 32%;
    height: 17px;
    padding: 0px 5px;
}

#div_notifiche_utenti.presenti,
#div_notifiche_messaggig1.presenti,
#div_notifiche_eventi.presenti{
    width: 10px;
    height: 10px;
    background: #ff9900;
    position: absolute;
    border-radius: 50%;
    margin-top: 12px;
    margin-left: -5px;
}

a.a_order{
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

a.a_order:hover{
    color: #ff9900;
}

textarea{
    max-width: 100%;
}