html, body {
	height: 100%;
	margin: 0;
	position: relative;
  
}

html {background : #F0F0F0}

* { box-sizing: border-box;}

div#wrapper1 {
	position: relative;
	margin : auto;
  	background: black;
	width : 100%;
	max-width: 960px;
	height: 100%;
	font-family:arial;
	text-align:center
}

p1 { 
	display: none;
	font-size: 15px;
	color: white;
        font-family:arial;
}

.title {
	margin : auto;
	text-align : center ;
	width : 100%;
	max-width: 960px;
	height: 9%;
  	background-color: white;
	font-size: 24px;
	font-family: arial;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 4px #000000;
	position: relative;
}

.vertical-center {
	margin: 0;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.selected  { 
  padding-left: 30px;
  float: left;
  font-size: 16px;
  color: orange;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  cursor: none;
}


.last_man_standing {
	position: absolute;
	font-size: 32px;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: arial;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 4px #000000;	
}

.front-container { 
	width: 100%;
	height: 85%;
	background-image: url(images/front-page.jpg);
	background-size: cover;
	opacity: 0.9;
}

.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: #FAFAFA;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
}

.navbar a.split {
	float: right;
	background-color: #0B3861;
	color: white;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 10px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: purple;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  max-width: 960px;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-image: linear-gradient(#4B088A, #380B61);
  z-index: 1;
  transition: 1s;
  transition-delay: 2s;
  opacity = 1;
}

.overlay-content {
  position: relative;
  top: 40%;
  bottom: 60%;
  width: 100%;
  color: white;
  font-family:arial;
  font-size: 30px;
  text-align: center;
}

.overlay-content1 {
  position: relative;
  top: 40%;
  bottom: 60%;
  width: 100%;
  color: white;
  font-family:arial;
  font-size: 18px;
  text-align: center;
}

#callout {
  display: none;
}

.callout {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 300px;
}

.callout-header {
  padding: 0px 0px;
  background: #111;
  font-size: 16px;
  color: #818181;
}

.callout-container {
  padding: 0px;
  background-color: #111;
  color: #818181;
  font-weight: bold;
}

.closebtn {
  position: absolute;
  top: 3px;
  right: 15px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.closebtn:hover {
  color: lightgrey;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 0px; /* Location of the box */
  left: 0;
  top: 0;
/* Full width */
  width: 100%;
  max-width: 960px;
  height: 100%; /* Full height */
  margin: auto;
  overflow: auto; /* Enable scroll if needed */

	margin: 0;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 100%;
  max-width: 960px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 1s;
  animation-name: animatetop;
  animation-duration: 1s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-100px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-100px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: dark-grey;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: orange;
  font-family:arial;
  opacity: 1;
}

.breaking {
	color: red;
	font-size: 25px;
	font-weight: bold;
	text-align: left;
	padding-left: 40px;
  	padding: 6px;
	border-bottom: 1px solid red;
}

.breaking_news {
	color: black;
	font-size: 18px;
	text-align: left;
  	padding: 20px;
	padding-left: 5px;
}

	.regoff {display: none;}
	.regon {display: block;}	

.logincontent {
	padding: 20px;
	color: white;
	background-color: #000;
}

.logincontent a {
	color: white;
}

.logincontent a:hover {
	color: orange;
}

.fullversion {
	display: block;
}
.mobileversion {
	display: none;
}

@media only screen and (orientation: portrait) {

.callout {
  top: 20%;
}

.breaking {
  	padding: 14px;
}

.breaking_news {
  	padding: 25px;
}

.title {
	height: 7%;
	font-size: 32px;
}

li a {
	height: 7%;
}

.grid-container {
	top: 10%;
	justify-content: space-around;
	grid-template-columns: 20% 20% 20% 20%;
	grid-template-rows: 97px 97px auto auto auto auto;
}

.item1 {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.item2 {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
}

.item3 {
  grid-column: 3 / span 2;
  grid-row: 3 / span 2;
}

.item4 {
  grid-column: 3 / span 2;
  grid-row: 5 / span 2;
}

.item5 {
  grid-column: 1 / span 2;
  grid-row: 5 / span 2;
}

.item6 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.item7 {
  grid-column: 1 / span 2;
  grid-row: 5 / span 2;
}

.last_man_standing {
	font-size: 32px;
	top: 15%;
}
.competitions-title {
	height: 15%;
	font-size: 15px;
}
.fixtures-title {
	height: 15%;
	font-size: 15px;
}
.table-title {
	height: 15%;
	font-size: 15px;
}

.rules-title {
	height: 15%;
	font-size: 15px;
}

.counterble-title {
	height: 15%;
	font-size: 15px;
}

.img1 {
	margin-top: 40px;
}

}

@media screen and (max-width: 770px) and (min-width: 601px) {

.title {
	font-size: 18px;
	height: 15%;
}

.navbar a {
  font-size: 14px;
}


li a {
	height: 7%;
	padding-top: 5px;
	font-size: 12px;
}

.grid-container {
	top: 16%;
	justify-content: space-around;
	grid-template-columns: 20% 20% 20% 20%;
	grid-template-rows: 32px 32px auto auto;
}

.item1 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.item2 {
  grid-column: 4;
  grid-row: 1 / span 4;
}

.item3 {
  grid-column: 3;
  grid-row: 3 / span 2;
}

.item4 {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.item5 {
  grid-column: 1;
  grid-row: 3 / span 2;
}

.item6 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.item7 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.competitions-title {
	height: 15%;
	font-size: 12px;
	padding-left: 10px;
}
.fixtures-title {
	font-size: 12px;
	padding-left: 10px;
}
.table-title {
	font-size: 12px;
	padding-left: 10px;
}
.rules-title {
	height: 20%;	
	font-size: 12px;
	padding-left: 10px;
}
.contact-title {
	font-size: 12px;
	padding-left: 10px;
}
.counterble-title {
	height: 20%;
	font-size: 12px;
	padding-left: 10px;
}

.img1 {
	margin-top: 0px;
}

.last_man_standing {
	text-shadow: 1px 1px 2px #000000;	
	font-size: 24px;
	top: 40%;
}


.breaking {
	font-size: 15px;
	padding: 5px;
}

.breaking_news {
	font-size: 12px;
	padding: 6px;
}
.overlay-content {
  font-size: 18px;
}

.overlay-content1 {
  font-size: 14px;
}

.ftr {
 	font-size: 6pt;
}
}

@media screen and (max-width: 600px) {

.title {
	font-size: 24px;
	height: 9%;
}

.navbar a {
  font-size: 14px;
}

.grid-container {
	top: 12%;	
	justify-content: space-around;
	grid-template-columns: 20% 20% 20% 20%;
	grid-template-rows: 40px 40px auto auto auto auto;
}

.competitions-title {
	font-size: 12px;
	padding-left: 10px;
}
.fixtures-title {
	font-size: 12px;
	padding-left: 10px;
}
.table-title {
	font-size: 12px;
	padding-left: 10px;
}
.rules-title {
	font-size: 12px;
	padding-left: 10px;
}
.contact-title {
	font-size: 12px;
	padding-left: 6px;
}
.counterble-title {
	font-size: 12px;
	padding-left: 10px;
}

.img1 {
	margin-top: 18px;
}

.last_man_standing {
	text-shadow: 1px 1px 2px #000000;	
	font-size: 20px;
	top: 25%;
}


.breaking {
	font-size: 21px;
	padding: 8px;
}

.breaking_news {
	font-size: 15px;
	padding: 18px;
}
.overlay-content {
  font-size: 18px;
}

.overlay-content1 {
  font-size: 14px;
}

.fullversion {
	display: none;
}
.mobileversion {
	display: block;
}

}	