@media only screen and (min-width: 741px) {

/* Main Content */

html, 
body {height:100%; padding:0; margin:0; width:100%;}
body {display:flex; flex-direction:column;}

body {
    font-family: montserrat, sans-serif;
	clear: both;

}

#holder {
    padding: 150px 2em 3em 2em;
    display: flex;
	flex-direction: column;
	flex-grow:1;
}


/* Default Elements */

h2 {
    font-size: 40px;
    color: #C41011;
    font-weight: bold;
    margin: 0;;
}

h3 {
    font-size: 28px;
    margin: 0;
	margin-bottom: 1em;
	color: #282E34;
}

/*Nav Buttons*/

button:focus { outline: none; }
.navbutton {
	font-size:16px;
	font-weight:bold;
	padding:6px 24px;
    text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	background-color:#c62d1f;
	border-radius:28px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	border: 0px;
}
.navbutton:hover {
	background-color:#f24437;
}
.navbutton:active {
	position:relative;
	top:1px;
}


.submitbutton {
	font-size:20px;
	font-weight:bold;
	padding:6px 24px;
    text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	margin: 20px;
	background-color:#c62d1f;
	border-radius:28px;
	border:1px solid #d02718;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	
	
}
.submitbutton:hover {
	background-color:#f24437;
}
.submitbutton:active {
	position:relative;
	top:1px;
}

.searchbutton {
	font-size:14px;
	font-weight:bold;
	padding:5px 20px;
    text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	background-color:#c62d1f;
	border-radius:28px;
	border:1px solid #d02718;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	
	
}
.searchbutton:hover {
	background-color:#f24437;
}
.searchbutton:active {
	position:relative;
	top:1px;
}

.adddeletebutton {
	background-color:#3d94f6;
	border-radius:28px;
	border:1px solid #337fed;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:12px;
	font-weight:bold;
	padding:5px 19px;
	text-decoration:none;
	text-shadow:0px 1px 0px #1570cd;
}
.adddeletebutton:hover {
	background-color:#1e62d0;
}
.adddeletebutton:active {
	position:relative;
	top:1px;
}

.loginbutton {
	font-size:20px;
	font-weight:bold;
	padding:6px 24px;
    text-decoration:none;
	text-shadow:0px 1px 0px #ccc;
	background-color:#fff;
	border-radius:28px;
	border:1px solid #2e2e2e;
	display:inline-block;
	cursor:pointer;
	color:#2e2e2e;
	
	
}
.loginbutton:hover {
	background-color:#ccc;
}
.button:active {
	position:relative;
	top:1px;
}




/* TABLES */



#div_settingstable {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#div_setcheckin {
    text-align: center;
    margin-top: 15px;
}

#defaultfieldstable {
    width: 75%;
    margin: auto;
}

.fieldrow {
    display: flex;
    flex-direction: row;
    width:100%;
    text-align: center;
    padding-bottom: 10px;
}

.fieldcell {
    flex: 1;
    max-width:50%;
    margin:auto;
    
}

#defaultfieldstable td {
    padding: 5px;
    margin: 3px;
}

#defaultfieldstable th {
    font-size: 24px;
    padding-bottom: 10px;
}

.addfieldstable th {
    font-size: 24px;
    padding-bottom: 10px;
}

#advancedsettings {
    width: 80%;
    text-align: center;
    margin: auto;
}

#advancedsettings td{
    width: 90%;
    vertical-align: middle;
    margin: auto;
}

.advancedoption {
    flex: 1;
    margin:auto;

}

#customfieldsetup {
    margin:auto;
}

#customfieldsetup tr {
    margin: 10px;
}

#leftfields {
    align-content: flex-start;
    flex: 1;
    text-align: center;

}

#rightfields {
    align-content: flex-start;
    flex: 1;
    text-align: center;

}


#leftfieldsbib {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-start;
    flex: 1;
    text-align: center;
    min-width:40%;
    max-width:60%;
    margin: auto;

}

#rightfieldsbib {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-start;
    flex: 1;
    text-align: center;
    min-width:40%;
    max-width: 60%;
    margin:auto;
}
#customfieldsbib {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-start;
    flex: 1;
    text-align: center;
    min-width:40%;
    max-width: 60%;
    margin:auto;
}


#addfieldstable {
    margin-bottom: 10px;
}

.addfieldstable {
    width: 75%;
    margin: auto;
}


.defaultfieldstable {
    width: 80%;
}

.defaultlabel {
    width: 50%;

}
#div_searchresults {
    margin-top:25px;
    width: 100%;
    text-align:center;
    overflow-x: auto;
}



#resultstable {
    max-width: 100%;
    min-width:50%;
    margin:auto;
    border-spacing: 0px;
    border: 1px solid black;
    overflow-x: auto;
    
}

#resultstable td {
    border: 1px solid black;
    border-collapse: separate;
    padding: 5px;
    font-size: 16px;
    
}

#resultstable tr:nth-child(even) {
    background-color: #e3e3e3;
    
}

#resultstable tr:hover {
    background-color: #e67373;
    cursor: pointer;
}


#resultstable th {
    background-color: #C41011;
    color:white;
    font-size: 20px;
    padding: 10px;
}


#resultstable th {
    background-color: #C41011;
    color:white;
    font-size: 18px;
    padding: 8px;
}



#div_resultstable {
    margin-top: 20px;
    width: 80%;
    margin: auto;
}

#div_teamtable {
    margin-top: 20px;
    max-width: 100%;
    margin: auto;
}


.addfieldsdropdown {
    border-width: 2px;
    width: 80%;
    padding: 5px;
    font-family: montserrat, sans-serif;
    margin: 3px;
    border-radius: 3px;

}


.dobdropdown {
    border-width: 2px;
    width: 80%;
    padding: 2px;
    font-family: montserrat, sans-serif;
    border-radius: 3px;

}

.searchfield {
    border-width: 2px;
    padding: 5px;
    font-family: montserrat, sans-serif;
    margin: 3px;
    border-radius: 3px;
    min-width: 150px;

}

.teamfield {
    border-width: 2px;
    padding: 5px;
    font-family: montserrat, sans-serif;
    border-radius: 3px;

}

.teambib {
    border-width: 2px;
    padding: 5px;
    font-family: montserrat, sans-serif;
    border-radius: 3px;
    max-width:80px;
}

.searchinput {
    border-width: 2px;
    padding: 5px;
    font-family: montserrat, sans-serif;
    margin: 3px;
    border-radius: 3px;
    min-width: 150px;

}

input:-moz-read-only { /* For Firefox */
  background-color: #e3e3e3;
  opacity: 0.8;
}

input:read-only {
  background-color: #e3e3e3;
  opacity: 0.8;
}

select:disabled {
    background-color: #e3e3e3;
    border-color: black;
    color: black;
    opacity: 0.8;
}


.currencyfield {
    border-width: 2px;
    padding: 5px;
    font-family: montserrat, sans-serif;
    margin: 3px;
    border-radius: 3px;
    max-width: 60%;
}


#savesettings {
    text-align: center;
}

#searchfields {
    text-align:center;
}


/* Header */
#checkinheader {
    margin-bottom: 3em;
}

#checkinheader td {
    vertical-align: middle;
}

#logindetails {
    display: flex;
    flex: 2;
    text-align: center;
    justify-content: center;
    align-items: center;

}

#loginbox {
    
    background-color: #C41011;
    color: white;
    justify-content: center;
    margin: auto;
    padding: 40px;
    border-radius: 10px;

}

.settingschoose {
    display: flex;
    flex-direction:row;
    max-width:90%;
    margin:auto;
    flex-wrap: wrap;
    
}

.settingsbox {
    max-width:20%;
    background-color: #C41011;
    color: white;
    justify-content: center;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.settingslink {
  color: white;
   text-decoration: none;
}

/* Footer */
footer {min-height:30px}

.footer {
    background-color: #efefef;
    width: 100%;
    text-align: center;
    color: #00194C;
    font-size: 12px;

}
.logoholder {
     flex: 1;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.logoholder p {
    margin: 1em;
    text-align:right;
}

#poweredlogo {
    float: right;
    vertical-align: bottom;
    width:20%;
}

/* modal */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

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

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



}

