* {
    margin: 0;
    padding: 0;
}
#navigation{
    width: 100%;
    height: 50px;
}
#navigation ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f3f3f3;
    border-bottom: 1px solid #bbb;
}
#navigation ul li{
    float: left;
}
#navigation ul li a{
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}
#navigation ul li a:hover{
    background-color: #999;
}
#navigation ul li a.active{
    background-color: #007bff;
    color: white;
}
#footer{
    width: 100vw;
    text-align: center;
    margin-top: 50px;
}
/*
    "Jumbotron"
*/
.container{
    width: 100%;
}
.container.center{
    text-align: center;
}
div.container:not(.center){
    text-align: left;
    margin: 0;
    padding: 0;
    left: 0;
}
.container h1{
    text-align: center;
    margin-top: 50px;
}
.container p:first{
    text-align: center;
    margin-bottom: 50px;
}
/*
    Features
*/
.divider h2{
    position: relative;
    width: 100%;
    z-index: 1;
    text-align: center;
    margin-bottom: 50px;
}
.divider h2:before, .divider h2:after{
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 40%;
    height: 1px;
    content: '\a0';
    background-color: #333;
}
.divider h2:before{
    margin-left: -40%;
    text-align: right;
}
/*
    Join
*/
#join{
    margin-top: 50px;
    width: 100%;
    text-align: center;
}
.link{
    background-color: #007bff;
    border: 2px solid #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
}
.link:hover{
    text-decoration: none;
    background-color: white;
    color: #007bff;
    transition: 0.3s;
}
.link-red{
	background-color: crimson;
	border: 2px solid crimson;
}
.link-red:hover{
	background-color: white;
	color: crimson;
}
.link-yellow{
	background-color: gold;
	border: 2px solid gold;
}
.link-yellow:hover{
	background-color: white;
	color: gold;
}
.link-disabled{
	cursor: not-allowed;
}
/*
    Login
*/
#bform{
    width: 100%;
}
#bform input, select{
    padding: 5 10px;
    min-width: 250px;
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
}
#bform input[type='submit']:hover{
    cursor: pointer;
}
#bform a{
    text-align: center;
    display: block;
    padding-top: 15px;
}
#bform a:first{
    padding-top: 35px;
}
/*
    Sessions List
*/
#slist{
    margin-top: 50px;
}
#slist .row .session{
    background-color: #007bff;
    color: white;
    border: 2px solid #333;
    transition: 0.3s;
    margin: 20px 10px;
}
#slist .row .session:hover{
    cursor: pointer;
    background-color: #14143f;
    transition: 0.3s;
}
#slist .row .group{
    padding: 20px 10px;
}
#slist .row .session h4{
    padding-top: 20px;
}
#slist .row .group h4{
    padding: 0px;
}
#csession{
    margin-top: 100px;
}
/*
    Session Page
*/
#playersSearch{
    width: calc(100%);
    margin-top: 50px;
    padding: 10px;
    height: 45px;
}
.table{
    width: 100%;
    border-collapse: collapse;
    width: 100%;
}
.table td, .table th{
    border: 1px solid #ddd;
    padding: 10px;
}
.table tbody tr:nth-child(odd){
    background-color: #f2f2f2;
}
.table tbody tr:nth-child(even){
    background-color: #ddd;
}
.table th{
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #007bff;
    color: white;
}
.table input{
    padding: 2px 10px;
}
.table .wrap-text{
    white-space: initial;
}
#players tbody tr td:first-of-type:hover{
    cursor: pointer;
    background-color: #999;
    transition: 0.3s;
}
#players tbody tr td:last-of-type{
    width: 10;
    white-space: nowrap;
}
#players tbody tr td:last-of-type input[type="button"]{
    width: 100px;
}
#players td{
    height: 55px;
    line-height: 25px;
}
#esafe{
    color: green;
    font-weight: 500;
}
#eunsafe{
    color: red;
    font-weight: 500;
}
#prevedits{
    width: 100%;
    height: 85px;
    background-color: red;
    color: white;
    padding: 10px 0;
}
#tform{
    width: 100%;
}
#tform textarea{
    width: 100%;
    resize: vertical;
    display: block;
    padding: 5px 10px;
}
#tform input[type='submit']{
    margin-top: 20px;
}
#tform select.noMargin{
    margin: 0 0;
}
/*
    View
*/
.view{
    width: 100%;
    min-width: 1440px;
}
.view div.center{
    text-align: center;
}
.view div.center a{
    display: block;
    margin-top: 10px;
}
.view h1:first-of-type{
    margin-top: 50px;
    margin-bottom: 15px;
}
.view h4:first-of-type{
    margin-bottom: 25px;
}
.view h1, h4{
    text-align: center;
}
.view #players{
    width: 100%;
    table-layout: fixed;
}
.view #players tr{
    width: 100%;
}
.view #players td, th{
    text-align: left;
    line-height: normal;
}
.view #players th#notes_th{
    width: 300px;
}
.view #players tr td.notes{
    text-align: left;
    white-space: normal;
}

@media print{
    #navigation{
        display: none;
    }
    #playersSearch{
        display: none;
    }
    .view a, div.center{
        display: none;
    }
}
/*
    Modal Popups
*/
.popup {
    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 */
    text-align: center;
}
.popup-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 */
}
.popup .popup-content h3{
    padding-bottom: 15px;
}
/* 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;
}
/*
    Split Screen Session Page
*/
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 25px;
}

.col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}
.col:first-child{
    border-right: 2px solid #888;
}
/*
    Stat Banner
*/
#footer{
    width: 100%;
    background-color: #f3f3f3;
    border-top: 1px solid #bbb;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
}
#footer ul{
    list-style: none;
}
#footer ul.spacing{
    margin: 16px 0;
}
#footer ul li{
    font-family: 'Roboto', sans-serif;
    padding: 0 2em;
    float: left;
}
@media only screen and (max-device-width: 700px) and (max-device-height: 1000px){
	#footer{
		display: none;
	}
}
/*
    Footer 2 (Social media icons + soccer logo)
*/
body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#footer2{
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
}
/*
    Button bar
*/
div.button-bar{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
div.button-bar a{
    margin: 10px;
}
/*
    Social media list
*/
.social-media-list{
    list-style: none;
}
.social-media-list li{
    display: inline-block;
    font-size: 160%;
}
.social-media-list li:not(:first-of-type){
    margin-left: 1em;
}
.social-media-list li a {
    color: #888;
    transition: color 0.5s;
}
.social-media-list li a:hover {
    color: #3b5998;
}
/*
	Collapsable
*/
.collapsable{
	margin: 0 auto;
	width: 400px;
	border-top: none;
	border: 1px solid black;
}
.collapsable-title-bar{
	background: #FEFEFE;
	height: 25px;
	width: 100%;
}
.collapsable-button{
	width: 25px;
	height: 23px;
	float: right;
	cursor: pointer;
	color: #007bff;
	font-weight: bold;
}
.collapsable-body{
	height: auto;
	background: #FEFEFE;
	display: none; /* Hidden by default */
}
/*
	Form checkboxes
*/
form.form-checkboxes input[type='checkbox']{
	display: inline !important;
	width: 50px !important;
	min-width: 50px !important;
}
form.form-checkboxes#bform{
	text-align: left;
}
