body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    background-color: #F5F5F5;
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
}

header {
    width: 100%;
    height: 110px;
    background-color: #003DA2;
    line-height: 110px;
    margin: 0;
    padding: 0
}
.page{
    padding:0;
}
.headerContainer {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    height: 110px;
    position: relative;
    vertical-align: center;
    display: flex;
    text-align: center;
}

#ehLogo {
    position: relative;
    margin-top: 17px;
    max-width: 174px;
    max-height: 78px;
}

#matchSite {
    margin-left: 15px;
}

h1 {
    font-weight: 400;
    color: white;
    font-size: 2.3rem;
    margin-top: 0;
    padding-left: 145px;
}

#mainContainer {
    background-color: #FFFFFF;
    width: 1040px;
    margin: auto;
    padding-top: 60px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 80px;
    color: #808285;
    line-height: 1.85714285714286;
    font-size: 1rem;
    font-style: normal;
}

p {
    margin-bottom: 1.6em;
    font-weight: inherit;
    font-size: 93.75%;
    color: #4B4F58;
    margin-left: 0;
    margin-right: 0;
}

select {
    color: #666;
    padding: .75em;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea;
    border-radius: 2px;
    box-shadow: none;
    box-sizing: border-box;
    transition: all .2s linear;
    line-height: 1;
    margin: 0;
    vertical-align: baseline;
    text-transform: none;
    background-color: white;
}

.fixtureTable {
    display: none;
}

.page-contents table{
    border-collapse: collapse;
    border: 1px solid #c6c6c6;
    color:#4B4F58;
}
.page-contents tr:nth-child(odd){
    background-color: #f8f8f8;
}
.page-contents tr{
    height:20px;
    line-height: 20px;
}
#ehLeagueTable td:last-child{
    text-align: right;
}
.formW {
    color: white;
    background-color: green;
    font-weight: 600;
    padding:3px;
    text-align: right;
}
.formD {
    color: white;
    background-color: #6a6a6a;
    font-weight: 600;
    padding:3px;
    padding-right: 4px;
    padding-left: 4.5px;
    text-align: right;
}
.formL {
    color: white;
    background-color: #E0251B;
    font-weight: 600;
    padding:3px;
    padding-right: 5px;
    padding-left: 5px;
    text-align: right;
}
table {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    clear: both;
    margin: 0 auto;
    width: 100%;
    table-layout: auto;
    margin-bottom: 10px;
    overflow: auto;
    outline: none !important;
    box-sizing: border-box;
    border-width: 1px 0 0 1px;
}

th {
    color: #333333;
    border: 1px solid #cccccc;
    border-bottom-width: 2px;
    font-weight: 700;
    padding: 7px 10px;
    text-align: left;
    cursor: pointer;
    background: rgb(255, 255, 255) none;
}
tr {

}
tr:hover {
    background-color: #E8E8E8 !important;
    transition: 0.5s;
}

td {
    text-align: left;
    position: static;
    float: none;
    display: table-cell;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 3px 10px;
    overflow: hidden;


}

.red-border-top {
    border-top: 1px Solid #003DA2
}

.logo-prt {
    display: none;
}
.bread_crumbs{
    display: inline-block;
    text-decoration: none;
    line-height: 20px;
    margin-bottom: 20px;
}
.bread_crumbs a{
    color:#003DA2;
    display: unset;
}
#competitionName{
    font-size: 18px;
    font-weight: 600;
    color: #003DA2;
}
.comp_name_box{
    display: unset;
}
.fixtureTable h1{
    color: #333333 !important;
    text-align: center;
    padding-left: 0px;
    font-weight: 600;
}
/***************************************/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/***************************************/

@media only screen and (max-width: 1200px) {
    .headerContainer {
        width: 100%;
    }
    #mainContainer {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }
    .container{
        margin-left: 2%;
        margin-right: 2%;
    }
    h1 {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: auto;
        margin-top: auto;
        padding-left: 0px;
    }
    .layout{
        display:inline-grid;
        overflow-x: scroll;
    }
}
@media only screen and (max-width: 400px) {
    .headerContainer {
        width: 100%;
    }
    #mainContainer {
        width: 320px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
    }
    /* Makes Tables Scrollable */
    .page-contents table{
        display: block;
        overflow-x: scroll;
        white-space: nowrap;
    }


    .fixtureTable tr{
        font-size: 12px;
        height:30px;
        width: calc(50% - 10px);
        line-height: 14px;
        overflow-x: scroll;

    }
    .fixtureTable a{
        float:left;
        margin-left: 10px;
        margin-top: 0px;
        margin-bottom: 0px;
        color:#4B4F58;
    }
    h1 {
        font-size: 14px;
        padding-left: 0px;
    }
}
