body {
    background-color: #0f1216 !important;
    font-family: "Arimo", sans-serif !important;
    font-size: 0.8rem;
    color: #fff;
}
a {
    color: #fff !important;
}
.box {
    font-family: "Arimo", sans-serif !important;
    font-size: 0.8rem;
    color: #fff;
}
.box_link {
    border: 2px solid #fff;
    padding: 5px 30px;
}
#dsp_pat.box .nav a {
    color: #fff !important;
}
.login-form {
    border: none;
}

/*** begin: Header ***/
.mr-auto, .mx-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}
.bg-dark {
    background-color: transparent !important;
}
.nav-item {
    padding-left: 20px;
}
header {
    font-family: "Oswald", sans-serif;
    background-color: #0f1216;
    padding: 15px 0;
}
header .container {
    max-width: 100%;
}
header .t2logo {
    width: auto;
    height: 50px;
    margin-top: 3px;
    margin-left: 20px;
}
header .links-sec {
    text-align: right;
}
header #text-menu {
    display:inline-block;
    margin-top: 13px;
    list-style: none;
}
header #text-menu li {
    text-align: center;
    display: inline-table;
    padding: 0 10px;
    font-size: 1.4vw;
}
header #text-menu li a {
    color: #c4c4c4 !important;
    text-decoration: none !important;
}
header #search-menu {
    display:inline-block;
}
header #search-menu .search-icon {
    width: 25px;
    margin-right: 40px;
    margin-left: 40px;
}
header #ham-menu {
    display: none;
}
header #ham-menu img {
    width: 45px;
    padding-top: 8px;
    padding-left: 15px;
}
header .meatball {
    width: auto;
    height: 50px;
    margin-top: 3px;
    margin-right: 20px
}
header .dropdown-menu {
    background-color: #14181e;
    border: 1px solid #ccc;
}
header .dropdown-item {
    color: #c4c4c4 !important;
    font-size: 0.8em;
}
header .nav-item a {
    text-decoration: none !important;
}
/*** end: Header ***/

/*** begin: mods to header and footer ***/
header .nav-link {
    font-family: "Oswald", sans-serif !important;
}
.nav-item {
    text-align: left;
    font-size: 18px;
    color: #c4c4c4 !important;
}
#footer-mod .f-left {
    padding-bottom:50px;
}
/*** end: mods to header ***/

@media screen and (max-width: 1091px) {
    #more_info .left {
        text-align:center;
        padding-bottom: 20px;
    }
    #more_info .box_link {
        margin-top: 10px;
    }
    #more_info .right table {
        margin-right: auto;
        margin-left: 0;
    }
}

@media screen and (max-width: 1050px) {
    /* max font size for header menu */
    header #ham-menu {
        display: inline;
    }
    header #text-menu {
        display: none;
    }
    header #search-menu .search-icon {
        padding-top: 10px;
    }
}

@media screen and (min-width: 1000px) {
    /* max font size for header menu */
    header .links-sec li {
        font-size: 1.4em;
    }
}

/* Styles for Bootstrap's col-lg grid */
@media only screen and (max-width: 991px) {
    .navbar-brand {
        margin-right: auto;
    }
    main #block-t2portal-content {
        padding: 0 0px;
    }
    #more_info .right table {
        margin-left: 0;
        margin-top: 15px;
    }
    #explore .license .wrapper {
        width: 100%;
        padding: 0 30px;
    }
    header .t2logo {
        padding-left: 0;
    }
    .navbar-dark .navbar-toggler {
        right: 120px;
        margin-right: 20px;
    }
    header #search-menu {
        right: 100px;
    }
    header #search-menu .search-icon {
        display: none;
    }
    header .meatball-sec {
        display: none;
    }
}
/* Styles for mobile landscape ga */
@media only screen and (max-width: 640px) {
    header .meatball-sec {
        display: none;
    }
    .navbar-dark .navbar-toggler {
        right: 20px;
    }
    header #search-menu{
        right: 90px;
    }
    header .t2logo {
        width: calc(100% - 60px);
        max-width: 290px;
    }
}
/* Styles for mobile */
@media only screen and (max-width: 540px) {
    h1 {
        font-size: 3em;
    }
    #more_info .left {
        display: none;
    }
    #more_info .right table {
        margin-left: auto;
        margin-right: auto;
    }
    #more_info #join {
        text-align: center;
    }
    #more_info #social-icons {
        text-align: center;
    }
    #more_info .row {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}