/** Below is styling related to html within template.htm *** Below is styling related to html within template.htm **/
html, body, header, footer, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, quote {
    border: 0 none;
    font-size: 100%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}

/* Sets a background image called "backdrop" and color */
body {
	background	: #E5ECDA url('../images/banner.jpg') no-repeat;
	background-size: 100%;
}
p, a, h1, h2, li{
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* 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: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    height: 80%;
	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;
} 
/******** End of Modal ********/


/******** Media ********/
/*@media only screen 
	and (max-device-width : 1280px)	{
		
	}	*/	
@media only screen 
	and (min-device-width : 800px)
	and (max-device-width : 980px)	{		
		
		#myModal {width: 800px !important;}
		main{height: 750px;}
		aection{height: 750px;}
		.rslides { /*max-width:470px !important;*/}		
		#homecontent {top: 250px !important; width: 700px !important;}
		#homecontent td h2{font-size:18px !important;}
		#homecontent td p, #homecontent td li{font-size:14px !important;}
		#prices{padding-top:30px !important; padding-left: 20px !important;}
		#hours{padding-left: 20px !important; }
		#facility{padding-left: 10px !important;}
		#aboutUsPane{padding: 25px !important;}
		#rydercup{ right: 103px !important; top: 250px !important;}
		#wgchamp{right: 191px !important; top: 326px !important;}
		#eurotour{right: 63px !important; top: 326px !important;}
		#eurotoursnr{right:193px !important; top: 417px !important;}
		#irishopen{right: 63px !important; top: 417px !important;}
		#contactUsPane{padding: 20px !important;}
		#gooFrame{ right: 10px !important; height: 380px !important; width: 330px !important;}
}
@media only screen 
	and (min-device-width :720px)
	and (max-device-width : 768px)	{
		#myModal {width: 720px !important;}
		main{height: 600px;}
		section{width: 700px !important;}
		.rslides { max-width:470px !important;}
		#homecontent {top: 250px !important; width: 480px !important;}
		#homecontent td h2{font-size:18px !important;}
		#homecontent td p, #homecontent td li{font-size:14px !important;}
		#prices{padding-left: 0px !important;}
		#aboutUsPane{padding: 25px !important;}
		#rydercup{ right: 103px !important; top: 250px !important;}
		#wgchamp{right: 191px !important; top: 326px !important;}
		#eurotour{right: 63px !important; top: 326px !important;}
		#eurotoursnr{right:193px !important; top: 417px !important;}
		#irishopen{right: 63px !important; top: 417px !important;}
		#contactUsPane{padding: 20px !important;}
		#gooFrame{ right: 10px !important; height: 380px !important; width: 330px !important;}
}
@media only screen 
	and (min-device-width : 320px)
	and (max-device-width : 414px)	{
		#myModal {width: 380px !important;}
		header{height: 150px !important; margin-top:30px !important;}
		#menuToggle{left: 5px !important; display: block !important;}
		#menu{margin: -104px 0 0 -20px !important; padding: 112px 39px 6px!important;}
		#menu li{padding: 7px 0 !important;font-size: 17px !important;}
		#menu{width: 230px !important;}
		#hd-1{display: none !important;}
		#hd-2{display: none !important;}
		main{ height: 550px; max-width: 320px !important;}
		section{height: 550px; max-width: 320px !important;}
		#newspanel, #facility{display:none !important;}
		
		#weatherpanel{			
			margin:420px 60px 0px 50px !important;
			/*position: fixed !important;
			top: 370px !important;
			left: 80px !important;*/
			height: 130px !important;
			width: 180px !important;
		}
		#weatherpanel h2{display:none !important;}
		#weatherpanel{
			border-radius: none !important;
			box-shadow: none !important;
		}
		#main_button{			
			
			height: 110px !important;
			width: 180px !important;
		}
		
		
		#homecontent {height: 80px !important; top: 150px !important;}
		#homecontent td h2{font-size:14px !important; padding-bottom:2px !important;}
		#homecontent td p, #homecontent td li{font-size:12px !important;}
		#prices{width:150px !important; padding-left: 0px !important;}
		footer{height: 50px !important; padding: 10px !important;}
		footer h1{font-size: 12px !important; margin-top: 10px !important;}
		#aboutUsPane{padding: 25px !important;}
		#aboutUsPane p, #aboutUsPane li{ font-size: 12px !important;}
		#rydercup{ display:none !important;}
		#wgchamp{display:none !important;}
		#eurotour{display:none !important;}
		#eurotoursnr{display:none !important;}
		#irishopen{display:none !important;}
		#pros{font-size: 12px !important; table-layout: fixed;}
		#c1, #c2, #c3, #c4, #c5, #c6, #c7{width: 50 !important;}
		#ld1, #ld2, #ld3, #ld4, #ld5, #ld6, #ld7{display:none !important;}
		#contactUsPane{padding: 10px !important;}
		#contactUsPane h2, #contactUsPane p, #contactUsPane li{font-size: 12px !important;}
		#gooFrame{ top: 280px !important; right: 50px !important; height: 200px !important; width: 200px !important;}
}
/** Hamburger **/
a{
  text-decoration: none;
  color: #232323;  
  transition: color 0.3s ease;}

a:hover{
  color: tomato;
}
#menuToggle{
  display: none;
  position: relative;
  top: 0px;
  left: 0px;  
  z-index: 100;  
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;  
  cursor: pointer;  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */  
  -webkit-touch-callout: none;
}
/*
 * Just a quick hamburger
 */
#menuToggle span{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;  
  background: #cdcdcd;
  border-radius: 3px;  
  z-index: 1;  
  transform-origin: 4px 0px;  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menuToggle span:first-child{
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2){
  transform-origin: 0% 100%;
}
/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}
/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3){
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2){
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}
/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  
  /* to stop flickering of text in safari */  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#menu li{
  padding: 10px 0;
  font-size: 22px;
}
#menu a li:hover{color: #2d8339;}
/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul{
  transform: scale(1.0, 1.0);
  opacity: 1;
}
/** End of Hamburger **/
/******** End of Media **********/


/* Everything is inside this except Body=background image and color */

header{
	position:relative;
	height: 200px;
	width		: 930px;
	margin-left	: auto;
	margin-right: auto;
	margin-top:250px;
	margin-bottom: 0px;
}

#hd-1{
	left:100px;
	text-align: center;
}
#hd-1 h1{
	font-size: 20px;
	color: #fff;
	margin-top: 25px;
	 text-shadow: 2px 2px #9e9a9a;
}
#hd-2{
	position: relative;
	left:20%;
	width: 560px;
}

main{
	position	: relative;
	height		: 750px;
	width		: 930px;
	margin-left	: auto;
	margin-right: auto;
	margin-top:0px;
	margin-bottom: 50px;
}

section {
	position:relative;
	width: 900px;
	background	: white;
	height: 590px; 
	padding: 0px;
	
	border-radius: 10px;
	box-shadow: 5px 5px 25px 1px #888888;
}

/******* START OF TABS *******/
#home, #aboutUs, #proLessons, #contactUs{
	position: relative;
}
#home {
    left: 19px;
}
#aboutUs {
    left: 59px;
}
#proLessons {
    left: 94px;
}
#contactUs {
    left: 120px;
}
#homePane{border-style:none;}
 /* Style the tab */
div.tab {
    overflow: hidden;
    border: none;
	margin-top: 17px;	
}
/* Style the buttons inside the tab */
div.tab button {
    background-color: #dddbdb;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
	padding: 14px 16px;
	/*margin: 0px 17px;*/
    
	transition: 0.3s;
	
	border: 1px solid #000;
	border-radius: 5px;
	
	font-family	: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;	
}
/* Change background color of buttons on hover */
div.tab button:hover {
    color		: #f9f9f9;
	background-color:#C1C0C0;
}
/* Create an active/current tablink class */
div.tab button.active {
   	cursor		: default; 
	background-color:#fff;
	color		: #2d8339;
}
/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
	
	
	
} 
/******* END OF TABS *******/

/************************* START OF PANES **********************/
/******* Home Pane *********/

/** Fadeshow */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  max-width:650px;
  padding: 0;
  margin: 0;
}

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
#feeds{
	position	: absolute;
	top			: 0px;
	right		: 10px;
}
/** Weather */
#weatherpanel{
	margin-top:10px;
	height		: 225px;
	width		: 200px;

}

#weatherpanel h2, #newspanel h2{
	color:#2d8339;
	font-size:18px;
	padding: 20px 0px 15px 60px;
}
#weatherpanel, #newspanel{
	border-radius: 10px;
	box-shadow: 5px 5px 25px 1px #888888;
}
/** News */
#newspanel{
	margin-top	: 15px;
	top			: 225px;
	height		: 330px;
	width		: 200px;
}
#ncontent{	
	margin-top	: 0px;	
	left		: 5px;	
}
/** HomeContent */
#homecontent {
	position	: absolute;
	top			: 280px;
	width		: 700px;
}
#homecontent td{
	border		: none;
	height		: 100px;
	text-align	: left;
}
#homecontent td h2{
	color:#2d8339;
	font-size:18px;
	padding-bottom:5px;
}
#prices{
	padding-left: 20px;
	width		: 200px; 
}
#hours{
	padding-left: 20px;
	width		: 200px; 
}
#facility{
	width		: 200px; 
}
#facility li{
	list-style-position: inside;
}
/*********** END of Home Pane **************/

/*********** About Us Pane *************/
#aboutUsPane{
	padding		: 50px;
	border: none;
}
#aboutUsPane li{
	list-style-position: inside;
	
}
#rydercup{
	position 	: absolute;
	top			: 250px;
	right		: 170px;
	width		: 128px;
	height		: 76px;
}
#wgchamp{
	position 	: absolute;
	top			: 326px;
	right		: 235px;
	width		: 130px;
	height		: 91px;
}
#eurotour{
	position 	: absolute;
	top			: 326px;
	right		: 105px;
	width		: 130px;
	height		: 91px;
}
#eurotoursnr{
	position 	: absolute;
	top			: 417px;
	right		: 235px;
	width		: 130px;
	height		: 91px;
}
#irishopen{
	position 	: absolute;
	top			: 417px;
	right		: 105px;
	width		: 130px;
	height		: 91px;
}
/*********** End of About Us Pane *************/

/*********** Lessons Pane *************/
#proLessonsPane{
	padding		: 25px 5px 5px 5px;
	border: none;
}
#proLessonsPane h2{
	color:#2d8339;
	font-size:18px;
	padding-bottom:5px;
}
#pros table, tr, td {
	border: 1px solid black;
	padding: 5px;
}
/*********** End of Lessons Pane *************/

/*********** Contact Pane *************/
#contactUsPane{
	padding	: 50px;
	border: none;
}
#contactUsPane h2{
	color:#2d8339;
	font-size:18px;
	padding-bottom:10px;
}
#contactUsPane li {
	list-style-position: inside;
}
#gooFrame{
	padding		: 20px;
	position	: absolute;
	top			: 40px;
	right		: 50px;
	height 		: 450px;
	width		: 425px;
	border: none;
}
/*********** End of Contact Pane *************/
footer{
	background	: #fff;
	opacity: 0.5;
	height: 70px;
	margin : 10px;
	padding: 20px;
	
	border-radius: 10px;
	box-shadow: 5px 5px 25px 1px #888888;
}
footer h1{
	text-align: center;
	font-size: 20px;
	opacity: 1 !important;
	color: #000;
	margin-top: 25px;
	text-shadow: 2px 2px #fff;
}