/************************************
GLYNNSPORT
URL: www.glynnsport.co.uk
AUTHOR: Alex Glynn
DATE: March 2016
REVISION: 1.2
************************************/

/* ----------------- (Globals) ----------------- */
  html								{ height:100%; min-height:100%}
  body								{ min-height:100%; background-image: url(background.jpg); background-position: center top; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-color: #000000;}
  a 								{ color:#ffffff;  text-decoration:  none;    -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s; cursor: pointer;     }
  h1  								{ font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;   margin:0px 17px;  font-weight:bold;  font-size:18pt;  text-transform:uppercase;  color:#fff;  }
  h3 								{ font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;     color: #FFF;    font-size: 15pt;    margin-bottom: -5px;        }  
  p 								{ font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; 	font-size: 11pt; color: #FFF;    }  
  p.small 		 					{ font-size:8pt;  }
  hr 								{ border: 0;    height: 1px;    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0));	}
  img								{ }
  .logo 							{ width: 800px;  height: 70px;  margin: 40px auto 0px auto;  background:url(../style/logo.png) no-repeat;  }
  .galbox							{ width:800px; min-height:300px; margin:auto auto; background: rgba(0,0,0,0.6); }
  .floatl							{ display:inline; float:left; position:relative;}
  .floatr							{ display:inline; float:right; position:relative;}
  .clear 							{ clear: left; display: block; }
  .clearfix:before, .clearfix:after {  content: "";  display: table;}
  .clearfix:after 					{  clear: both; }
  .clearfix 						{  zoom: 1; /* ie 6/7 */ }

  
/*  ----------------- (Buttons etc) ----------------- */   

  .button, .button:visited 			{ font-size: 10pt; background: rgba(20,5,18, 0.6) ;font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; margin: 10px;  padding: 5px 12px 5px 12px; }
  .button:hover						{ background: rgba(121,96,158, 0.6) }
  
  
  
/* ----------------- (Nav Bar) ----------------- */   
  .navbar 							{ width: 720px; height: 40px; margin:auto auto; }
  .navbar p   						{ font-size:18pt;  text-transform:uppercase;  word-spacing:400%; }
  .navbar a  						{ font-size:18pt; text-transform:uppercase; color:#ffffff; }

/* ----------------- (Partners) ----------------- */   
  .parts    						{ position: fixed;    z-index: 100;     bottom: 0;     left: 0;    width: 100%;	height:50px;	background: rgba(66,27,46,1); }
  .parts h1  						{ }
  
/* ----------------- (Pop Ups) ----------------- */   
  .popup 							{ width: 450px;  padding: 10px 25px 10px 25px; font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;   font-size:11pt;  color: #ffffff;   background: rgba(65,20,52,0.6);    display: none;  }
  .popup img 						{ display: block;    margin-left: auto;    margin-right: auto;  }
  .b-close 							{ color: #ffffff;     cursor:pointer;    position:absolute;    right:10px;    top:5px;  }


/* BG Stretcher - defined in BG Stretcher JS */

/* ----------------- (Home Page) ----------------- */
/* Recent News */
  .news 							{ width:800px;  height:380px;  margin:auto auto;  background: rgba(0,0,0,0.6);  }
  .newsleft 						{ float: left;  width: 500px;  height: 370px;  margin: 5px 0px 5px 5px;  background-position:center;   background-size: cover; }	
  .newsleft h1 						{ margin: 0px 20px 5px 10px;  font-size:22pt;  text-transform:uppercase;  color:#ffffff;  }
  .newssm 							{ float: right;  width: 285px;  height: 183px;  margin: 5px 5px 0px 5px;  }
  .newssm h1		 				{ margin: 0px 20px 0px 10px;   font-size:14pt;  text-transform:uppercase;  color:#ffffff;  }
  .bannerspaced						{ height: 70%; width:100%; }
  .banner 							{ float:left; background: rgba(0,0,0,0.6);   }
/* Main Page */
  .container  						{ margin-left: auto ; margin-right: auto ;  margin-top: 20px; padding-bottom: 70px;  width:800px;  position: relative;  }
  .container h1  					{  }
/* Calendar */
  .cal								{ float:left;  width:400px;  min-height:310px;  background: rgba(59,36,63,0.6);  }
  .calendarbyline 					{ text-align: center; }   
  #calendartable 					{ display: table;      color: white;      height: 90%; padding-top:5px;  margin-left: 17px; margin-right: 17px;  }
  .row  							{ display: table-row;  }
  .left, .right, .middle, .leftc	{ display: table-cell; font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;   font-size:10pt;  height: 10px;  color:#ffffff;    }    
  .left 							{ width: 16%; }
  .leftc 							{ width: 40%;  font-style: italic;  text-align: center;  }
  .middle 							{ width: 40%;    text-align: right;   }
  .right 							{ width: 2%;    padding-left: 2px;    }
/* Race */
  .race  							{ float: right;  width:340px;  height:65px;  background: rgba(34,21,42,0.6);  }
  .race p  							{ float: right;  margin: 5px 20px 0px 50px;   font-size:11pt;  }
/* Sponsorship */
  .spon 	 						{ float:right;  margin: 20px 0px 0px 0px;  width:340px;  height:105px;  background: rgba(40,08,80,0.6);  /* background-color:#280850;  opacity:0.6;  filter:alpha(opacity=60); For IE8 and earlier   top right bum left*/  }
  .spon p  							{ float:right;  margin: 5px 20px 0px 50px;  font-size:11pt;  }
  .spon p.small  					{ margin-top: -12pt;  font-size:8pt;  }
/* Tweets */
  .twitbox   						{ float:right;   width: 340px;   margin: 20px 0px 0px 0px;   background: rgba(68,47,95,0.6);  }
  .twitbox p  						{ float: right;  margin: 5px 20px 0px 50px;  font-size:11pt;  color:#ffffff;  }
  .twitbox a  						{ font-weight:bold;  text-transform:uppercase;  color:#ffffff;  -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s;  }
  .twitbox span.twitter 		 	{ float: right;  margin: 5px 20px 0px 50px;  font-family: "open_sansregular", Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;   font-size:11pt;  color:#ffffff;  }
/* Drivers */
  #drivebox							{ }
  .drivers  						{ float:left;  margin: 20px 0px 0px 0px;  width:500px;  height:130px;  background: rgba(30,17,52,0.6);  }
  .driver  							{ float: left;  margin: -15px 0px 0px 130px;  width: 106px;  height: 106px;  background: rgba(0,0,0,0.6);  }
  .driver img 						{ margin: 3px;  } 
  .drivers p						{ float: right;  margin: 15px 20px 0px 50px;  font-size:11pt;  color:#ffffff;  }
/* Car */
  .thecar   						{ float:right;   width: 240px;   height: 130px;   margin: 20px 0px 0px 0px;   background: rgba(45,25,70,0.6);  }
  .thecar p 						{ float: right;  margin: 5px 20px 0px 50px; font-size:11pt;  }
  .thecar p.small  					{ font-size:8pt;  }
/* Driver Coaching */
  .coaching2  	 					{ float:left;  margin: 20px 0px 10px 0px; padding-bottom: 20px;  width:100%;  min-height:80px;  background: rgba(30,17,52,0.6);}  
  .coaching2 p 		 				{ margin: 5px 20px 0px 50px;  font-size:11pt;  }
  .coaching2 p.small				{ font-size: 8pt; }
  .testimonials						{ margin-left: 25px; line-height: 32pt;}


/* ----------------- (Gallery) ----------------- */
  .thumbs 							{ overflow: hidden; }
  .thumbs li 						{ list-style: none; float: left; margin: 10px; padding: 3px; background: #eee; }
  .thumbs li a 						{ }
  .thumbs li img 					{ display: block; }
  .thumbs li a img 					{ border: none;}
  #smg								{ margin-top: 8px; }
  #twitgal 							{ float: left;  width: 380px;  padding-bottom: 10px; margin: 0px 0px 0px 0px;  }
  #spongal 							{ float:left;  width:400px;  }
  #racegal 							{ float: right;  width: 360px;  }
  #cargal							{ width: 340px;  height: 120px;  }

/* ----------------- (News Story) ----------------- */
  .newsstory 						{ float: left;  width: 790px;  height: 270px;  margin: 5px 5px 5px 5px;  background:url(../image/snet800.jpg) no-repeat;   background-position:center;   background-size: cover;   }	
  .storyheader 						{ margin: 200px 0px 0px 0px;  float:left;  background: rgba(0,0,0,0.6);  }
  .storytext 						{ margin: 5px 17px 0px 50px;    padding-bottom: 10px;  }
  p.dateback 						{ text-align: right;	margin-right: 5%;    font-style: italic;    font-size: 10pt;    }  


/* ----------------- (News List) ----------------- */
  .newsbox 							{ width:800px; min-height:300px; margin:auto auto; padding-bottom: 10px; background: rgba(0,0,0,0.6);  }
  .newsheadline 					{ margin: 0 5% 5% 5%;    }
  .readmore 						{ font-size: 9pt;	}
  .newsheadline a:hover 			{ color:#5B567F; }
  
/* ----------------- (OVERRIDES) ----------------- */  
  a:hover   						{ color:#3B243F;  }
