body {
    /*background: url("../images/body_bg.png") repeat scroll center center #6c6262;*/
    background-color: #000000;
    color: #3c3333;
    font-family: "Times New Roman";
    font-size: 18px;
    /*font-size: 100%;*/
    text-align: left;
}

@media (min-width: 100px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 18px;
    }
}

#main_container {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    /*border: 1px solid black;*/
    /*margin-top: 10px;*/
    /*margin-bottom: 10px;*/
    /*    text-align: center;*/
    /*    font-size: 20px;*/
    background-color: #fdfffe;
    /*background-image: url("../../images/bg.png");*/

    background-size: contain;                      /* <------ */
    /*background-repeat: no-repeat;*/
    background-position: center center;            /* optionally, center the image */
}

@media (min-width: 100px) {
    #main_container {
        height: auto !important;
        min-height: 500px;
        height: 500px;
        /*font-size: 0.9em;*/
    }
}

@media (min-width: 768px) {
    #main_container {
        height: auto !important;
        min-height: 600px;
        height: 600px;
        /*font-size: 0.85em;*/
    }
}

@media (min-width: 992px) {
    #main_container {
        height: auto !important;
        min-height: 700px;
        height: 700px;
        /*font-size: 1.5em;*/
    }
}

@media (min-width: 1200px) {
    #main_container {
        height: auto !important;
        min-height: 740px;
        height: 740px;
        /*font-size: 1.8em;*/
    }
}

/*#main_container:after {
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../../images/logo.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity : 0.2;
    z-index: -1;
}*/

@media (min-width: 768px) {
    #header {
        display: flex;
    }
}

.centered_object {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.centered_vertically {
    margin-top: auto;
    margin-bottom: auto;
}

html, body {
    height:100%;
}

table.no_border {
    border: 0px;
}

a, a:hover {
    text-decoration: none;
    color: inherit;
}

#space10 {
    height: 10px;
}

#space20 {
    height: 20px;
}

#space30 {
    height: 30px;
}

#space40 {
    height: 40px;
}

#spaceTopBar {
    height: 50px;
}

.centered {
    text-align: center;
}

#content_about {
    text-align: right;
}

.userIcon {
    color: #4f5249;
}

/*.logout,
.logout:visited {
    text-decoration: none;
    color: #fbbe16;
    background-color: #4f5249;
    border: 1px #fbbe16 solid;
    border-radius: 5px;
    padding: 1px;
}

.logout:hover,
.logout:focus {
    color: #8f6d0e;
}*/

.error {
    color: red;
    text-align: center;
    /*font-size: 20px;*/
}

.hidden_mine {
    display: none;
}

.flex {
    display: flex;
}

#select_week, #select_week_mobile, #select_user, #select_user_mobile, #select_game, #select_day {
    width: auto;
}

.inline {
    display: inline;
}

.right_aligned {
    text-align: right;
}

.left_aligned {
    text-align: left;
}

.break_word {
    word-wrap: break-word;
}

.parameters_input {
    text-align: center;
    width: 80%;
}

.lock_position {
    position: absolute;
    top: 0;
    z-index: 100;
}

.lock_position.fixed-position {
    position: fixed;
}

#topBar {
    padding-top: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    /*background-color: #f6f6f6;*/
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    color: white;
    /*border-bottom: 1px black solid;*/
    text-align: left;
}

#topLabels, #topLabels a {
    color: white;
    text-align: right;
}

.clickable {
    cursor: pointer;
}

.activeMenuItem {
    background-color: #fbbe16;
    color: #4f5249;
}

#navi_menu.navbar-collapse.collapse.in ul li a.activeMenuItem,
#navi_menu.navbar-collapse.collapsing ul li a.activeMenuItem{
    color: #4f5249;
    background-color: #fbbe16;
    border: 1px #4f5249 solid;
}

#navi_menu.navbar-collapse.collapse ul li a.activeMenuItem,
#navi_menu.navbar-collapse.collapse ul li a.activeMenuItem:visited {
    color: #4f5249;
    background-color: #fbbe16;
    border: 1px #4f5249 solid;
}

#navi_menu.navbar-collapse.collapse ul li a.activeMenuItem:hover {
    text-decoration: none;
}

#navi_menu.navbar-collapse.collapse ul li:hover a.activeMenuItem {
    color: #4f5249;
    background-color: #fbbe16;
    border: 1px #4f5249 solid;
}

#navi_menu.navbar-collapse.collapse.in ul li a.activeMenuItem:visited,
#navi_menu.navbar-collapse.collapsing ul li a.activeMenuItem:visited {
    color: #4f5249;
    text-decoration: none;
    background-color: #fbbe16;
    border: 1px #4f5249 solid;
}

.titleText {
    font-size: 1.5em;
    font-weight: bold;
}

.separator {
    font-size: 1.4em;
}

#topBar img {
    vertical-align: bottom;
}

.footer {
    color: black;
    text-align: center;
    border-top: 7px solid grey;
    background-color: lightgray;
    /*min-height: 200px;*/
}

.footer .title{
    font-weight: bold;
}

.footer a {
    color: black;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.thumbnailChild {
    min-height: 200px;
}

.thumbnailChild2 {
    min-height: 300px;
}

.thumbnailChild3 {
    min-height: 50px;
}

.thumbnailChild4 {
    min-height: 150px;
}

.thumbnail.filmstrip {
    width: 60px;
}

.activeThumbnail {
    border: 1px solid blue;
}

.traderInfo {
    /*border: 1px grey solid;*/
    /*background-color: lightgray;*/
    min-height: 100px;
    height: 100px;
}

.decoratedAnchor {
    font-style: italic;
    text-decoration: underline;
    cursor: pointer;
}

.decoratedAnchor2 {
    color: #4299d8;
    cursor: pointer;
}

.decoratedAnchor2:hover, .decoratedAnchor2:visited {
    color: #4299d8;
}

.noPadding {
    padding: 0;
}

.required {
    color: red;
    font-weight: bold;
    /*font-size: 1.5em;*/
    text-align: left;
    padding-left: 2px;
}

.myMenu {
    /*z-index: 9999999;*/
}

.topBarContainer {
    z-index: 99999999;
}

.slidersContainer {
    border: 2px solid black;
}

#googleMap {
    z-index: 9999998;
}

.filtersContainer {
    border: 2px grey solid;
    min-height: 400px;
}

.minHeight300 {
    min-height: 340px;
}

.thumbnail > img.miniImage {
    height: 50px;
}

.noMargin {
    margin: 0;
}

.ui-state-highlight {
    height: 4.5em;
    line-height: 1.2em;
}

.oldPrice {
    text-decoration: line-through;
}

.discountPercentage {
    background-color: red;
    border: 1px solid black;
    border-bottom-right-radius: 20px;
    color: white;
    font-weight: bolder;
    min-width: 50%;
    position: absolute;
    text-align: center;
    text-indent: 5px;
    top: 0;
    left: 0;
    z-index: 10;
}

.filter {
    background-color: #efefef;
    border-bottom: 3px solid #cfcfcf;
    margin: 2px;
    padding: 5px;
    font-size: 0.7em;
}

.filter.active {
    border-bottom: 3px solid #337db7;
}

.discountPercentageMain {
    background-color: red;
    border: 1px solid black;
    border-top-right-radius: 20px;
    color: white;
    font-weight: bolder;
    min-width: 25%;
    position: absolute;
    text-align: center;
    text-indent: 5px;
    bottom: 0;
    z-index: 10;
    padding-left: 10px;
}

.forgotPassword {
    text-decoration: underline;
    font-style: italic;
    font-size: 0.9em;
}

#currencySelector {
    background-color: inherit;
    border: none;
}

#title {
    font-size: 2em;
    margin-top: auto;
    margin-bottom: auto;
}

.top {
    color: #ffffff;
    background-color: #d96064;
}

.overall_top {
    color: #ffffff;
    background-color: #d20a11;
}

.headerIcons a,
.headerIcons a:visited {
    text-decoration: none;
    color: red;
    background-color: #3c3333;
    border: 1px red solid;
    border-radius: 5px;
    padding: 1px;
    /*    color: blue;
        font-style: italic;
        font-size: 0.9em;*/
}

.headerIcons a:hover,
.headerIcons a:focus {
    color: lightpink;
}

.menuItem {
    vertical-align: bottom;
}

ul.nav-pills li:first-child {
    border-top: 1px solid black;
}

ul.nav-pills li {
    border-bottom: 1px solid black;
    /*border: 1px solid black;*/
    /*border-radius: 5px;*/
    /*margin: 5px;*/
    text-align: center;
    margin: 0px;
}

ul.nav-pills li a {
    padding: 5px;
}

ul.nav-pills li:hover {
    background-color: #f2f3f3;
}

.home_team_name {
    text-align: right;
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 5px;
}

.away_team_name {
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 5px;
}

.prediction_score{
    color: red;
}

.result_score{
    color: green;
}

.prediction_input {
    text-align: center;
}

.game_container {
    border-top: 1px solid black;
    padding-top: 10px;
}

/*.game_container:nth-child(4) {
    border-top: 0px solid black;
}*/

#week_points{
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
}

.navbar-toggle.days {
    float: left;
    margin-right: 0px;
    margin-left: 20px;
}

#myPredictions {
    transform: rotate(270deg);
    position: absolute; 
    top: 150px;
    width: 300px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: black;
    color: white;
    font-size: 1.2em;
    border: 3px solid white;
    background-color: #d20a11;
}

@media (min-width: 100px) {
    #myPredictions {
        left: -144px;
    }
}

@media (min-width: 400px) {
    #myPredictions {
        left: -139px;
    }
}

@media (min-width: 490px) {
    #myPredictions {
        left: -131px;
    }
}

@media (min-width: 601px) {
    #myPredictions {
        left: -149px;
    }
}

.lost {
    color: #ffffff;
    background-color: black;
}

#ranks_table_container {
    overflow: auto;
}

table.ranks_table {
    /*border: 1px #3c3333 solid;*/
    border-collapse: collapse;
    margin-bottom: 20px;
}

table.ranks_table th, table.ranks_table td {
    border: 1px #3c3333 solid;
    padding: 5px;
}

table.ranks_table th {
    font-weight: bold;
    text-align: center;
}

.bordered {
    border: 1px solid black;
}

.whiteBordered {
    border: 1px solid white;
}

.currentDay {
    background-color: #d20a11;
    color: white;
}

.menuItemDays.active {
    background-color: #9c0d0e;
    color: white;
}

.menuItemDays:hover,
.menuItemDays.active:hover {
    background-color: #d96064;
    color: white;
}

.group_container {
    background-color: lightgray;
    color: black;
    border: 1px black solid;
    border-radius: 5px;
    margin-bottom: 10px;
}

.group_header {
    text-align: center;
    background-color: #d20a11;
    color: white;
}

.fixed_headers {
    /*width: 750px;*/
    /*table-layout: fixed;*/
    /*border-collapse: collapse;*/
}

.fixed_headers th {
    /*text-decoration: underline;*/
}

.fixed_headers th,
.fixed_headers td {
    /*padding: 5px;*/
    /*text-align: left;*/
}

.fixed_headers td:nth-child(1),
.fixed_headers th:nth-child(1) {
    /*min-width: 200px;*/
}

.fixed_headers td:nth-child(2),
.fixed_headers th:nth-child(2) {
    /*min-width: 200px;*/
}

.fixed_headers td:nth-child(3),
.fixed_headers th:nth-child(3) {
    /*width: 350px;*/
}

.fixed_headers thead {
    /*background-color: #333;*/
    /*color: #FDFDFD;*/
}

.fixed_headers thead tr {
    /*display: block;*/
    /*position: relative;*/
}

.fixed_headers tbody {
    display: block;
    overflow: auto;
    /*width: 100%;*/
    height: 300px;
}

.fixed_headers tbody tr:nth-child(even) {
    /*background-color: #DDD;*/
}

.treble {
    color: #ffffff;
    background-color: red;
}

#currentPoints  {
    position: absolute; 
    top: 450px;
    padding: 5px;
    color: white;
    font-size: 1.2em;
    border: 3px solid white;
    background-color: #337ab7;
}

@media (min-width: 100px) {
    #currentPoints {
        left: -5px;
    }
}

@media (min-width: 400px) {
    #currentPoints {
        left: 0px;
    }
}

@media (min-width: 490px) {
    #currentPoints {
        left: 8px;
    }
}

@media (min-width: 601px) {
    #currentPoints {
        /*left: -149px;*/
        left: -10px;
    }
}

@media (max-width: 800px) {
    #mobileDetection {
        display: none;
    }
}

.supportedTeamFlag {
    border: 1px black solid;
}
