/*
Item Name : Site Layout Structure
Item URI : http://www.riveraccessforall.co.uk
Author URI : http://andyquick.co.uk
Version : 1.00
*/

/*

TABLE OF CONTENTS

01 MAIN UNIVERSAL STRUCTURE

   1. Required Elements
   2. Sticky Footer
   3. Universal General

*/

/*  _______________________________________________

    01 MAIN UNIVERSAL STRUCTURE
    _______________________________________________  */


/* 1. Required Elements */

/* =Lav=*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {display: block; }

/* NOTE: Text Adjust 100% Prevents Mobile Safari from bumping up font sizes in landscape */
/*	------Background colour and Header image------------	*/
body 			{overflow:visible;  width: 100%;  margin: 0px auto; height: 100%; background: #4599e2;  -webkit-text-size-adjust: 100%;  -webkit-tap-highlight-color: rgb(255,255,0);}
#wrap 	{overflow:visible; width: 100%;  margin:0 auto;  background: url("../img/interface/header.jpg") top repeat-x; 	z-index:2; }



::selection 	 	{background: rgb(255,255,0);}
::-moz-selection 	{background: rgb(255,255,0);}
img::selection 		{background: transparent;}
img::-moz-selection {background: transparent;}


/* ============================*/	
/* Container and row normall 960px width but can be made 100% and then it will stretch to the end of the page window.*/	
/* ============================*/					
/*	------Container Properties------------*/	
/* ===Container and row to 100% for reducing size effect==============*/		
	
.container { width:90%; max-width: 1200px; margin:0 auto; height:100%; overflow:visible; }
.row {/*width: 100%;*/ width: 100%; margin: 0 auto; overflow: hidden; height:100%; }
.onecol, .twocol, .twocolfoot,  .threecol, .threecolst, .fourcol, .fourcolfw, .fourcolft, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {margin-right: 3.8%; float: left; min-height: 1px; }
.row .onecol {width: 4.85%; /*background-color:#ec6820; height:20px;*/}

.row .twocol {width: 13.45%;  /* 13.45%background-color:#b0ec20; height:20px;*/}
.row .twocolfoot {width: 16.96%; float:left;  /* 13.45%background-color:#b0ec20; height:20px;*/}
.row .twocolgal {width: 13.45%; margin:1.5% 1.5% 1.5% 1.5%;  float: left; /* 13.45%background-color:#b0ec20; height:20px;*/}

.row .threecol, .row .threecolst {width: 22.05%;  /*background-color:#ff00ff;height:50px;*/}
.row .threecolgal {width: 22.0%; margin:1.5% 1.5% 0 1.5%;  float: left; /* 13.45%background-color:#b0ec20; height:20px;*/}

.row .fourcol {width: 30.75%;  /*background-color:#ff00ff;height:20px;*/}
.row .fourcolfw {width: 30.75%;  /*background-color:#ff00ff;height:20px;*/}
.row .fourcolft {width: 30.75%;  /*background-color:#ff00ff;height:20px;*/}

.row .fivecol {width: 39.45%;  /* 39.45%;background:#fff000;height:20px;*/}
.row .sixcol {width: 48%;  /*background:#ffaa55;height:20px;*/}
.row .sevencol {width: 56.75%; /*background-color:#ff0000;height:20px;*/}
.row .eightcol {width: 65.4%;  /*background-color:#20eaec;height:20px;*/}
.row .ninecol {width: 74.05%;/*background-color:#b0ec20; height:20px;*/}
.row .tencol {width: 82.7%; /*background-color:#ff00ff;height:20px;*/}
.row .elevencol {width: 91.35%;/*background-color:#ec6820; height:20px;*/}
.row .twelvecol {width: 100%;  /*background-color:#ff9000;*/}
.last {margin-right: 0px; /*background:#ff00ff;*/}

footer {overflow:visible; margin:0 auto;  width: 100%;  background: #ffffff;}
.top {overflow:visible; margin:0 auto;  width: 100%; background: url("../img/interface/footer.jpg") top no-repeat #ffffff;}

/* 2. Sticky footer */

/*	------------------------Sticky Footer Master Elements - Global elements------------------------	*/
/*  Sticky Footer Solution by Steve Hatcher http://stever.ca http://www.cssstickyfooter.com*/

* {margin:0;padding:0;} /* must declare 0 margins on everything, also for main layout components use padding, not vertical margins (top and bottom) to add spacing, else those margins get added to total height and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */
#wrap {min-height: 100%; }

/*	----------------------------------- End of Sticky Footer --------------------------------------	*/

/* 3. Universal General */

ul 					{list-style-type: square;}
a img 				{border:none;}
img {vertical-align:top; position:relative; top:0px; max-width:100%;height:auto;}


a:link 				{color: #d7d7d7; text-decoration:underline; outline:none;}
a:hover 				{color:#ffffff; text-decoration:none; outline:none;}
a:visited 			{color: #d7d7d7; text-decoration:underline; outline:none;}

/*.line				{width:100%; border-top:1px solid #d1d1d1; line-height: 2px; padding:0 0 6px 0;}*/

.left {float:left;}
.right {float:right; text-align: right; }
.rightfull {float:right; text-align: right; width:100%;}
.center{text-align: center; padding: 0px 0px 0 0px; max-width: 100%; margin: 0 auto;}

.spacetop{ padding: 50px 0 0 0;  }
.spacetop_sm{ padding: 2% 0 0 0;  }
.spacebottom{ padding: 0 0 10% 0;}
.spacebottom_sm{ padding: 0 0 4% 0; }
.spacebottom_micro{ padding: 0 0 15px 0; }

.topspacer{ padding: 240px 0 0 0; } /* If not using slider */
.footspace {padding:180px 0 0 0; } /* Footer image spacer */

.padright {padding:0 0px 0 0;}

.spacer1 {overflow:visible; width: 100%; height:274px; margin:0 auto;  background: url("../img/interface/spacer1.jpg") top no-repeat #4599e2; }

/*	----------------------------------------------------------------	*/
/*Makes Menu disappear! Pancake menu */
#my-menu, #pancake, #pancakecymru{visibility: hidden;  }
#nav, #navcymru  {visibility: visible;  float: right;}

/*	----------------------------------------------------------------	*/


@media only screen and (max-width:1350px) {

/*	----------------------------------------------------------------	*/
/*Makes Werlsh Menu disappear! Pancake menu for Wales */
#my-menu,  #pancakecymru{	visibility: visible; }
#navcymru {visibility: hidden; display:none;}
/*	----------------------------------------------------------------	*/

}


@media only screen and (max-width:1100px) {

/*	----------------------------------------------------------------	*/
/*Makes English Menu disappear! Pancake menu */
#my-menu, #pancake{	visibility: visible; }
#nav {visibility: hidden; display:none;}

/*	----------------------------------------------------------------	*/
}





/*	----------------------------------------------------------------	*/
@media only screen and (max-width:867px) {
#wrap 	{overflow:visible; width: 100%; margin:0 auto;  background: url("../img/interface/header_sm.jpg") top no-repeat #4599e2; }
.top {overflow:visible; margin:0 auto;  width: 100%; background: url("../img/interface/footer_sm.jpg") top no-repeat #ffffff;}

.container { width:90%; max-width: 800px; margin:0 auto; height:100%; overflow:visible; }
.row {/*width: 100%; 30.75%, 48%*/ width: 100%; margin: 0 auto; overflow: hidden; height:100%; }
.row .onecol {width: 4.85%; /*background-color:#ec6820; height:20px;*/}

.row .threecolst {width: 48%; }
.row .threecolgal {width: 47%; margin:1.4% 1.4% 0 1.4%;  float: left; /* 13.45%background-color:#b0ec20; height:20px;*/}

.row .threecol {width: 47%; margin:1.4% 1.4% 0 1.4%;  float: left; /*22.05%;*/}

.row .fourcol {width: 100%; /* 48 30.75%  */}
.row .fourcolft {width: 48%; /* 48 30.75%  */}
.row .fourcolfw {width: 100%; padding:0 0 2% 0; }
.row .fivecol {width: 100%;}
.row .sixcol {width: 100%; }
.row .sevencol {width: 100%; }
.row .eightcol {width: 100%; }

.row .twelvecol {width: 100%; }
.last {margin-right: 0px; /*background:#ff00ff;*/}


}

/*	----------------------------------------------------------------	*/
@media only screen and (max-width:479px) {
.container { width:90%; max-width: 600px; margin:0 auto; height:100%; overflow:visible; }
.row {width: 100%; margin: 0 auto; overflow: hidden; height:100%; }
.row .onecol {width: 0%; background-color:#ec6820;/*background-color:#ec6820; height:20px;*/}
.row .twocol {width: 46%;    /* 30.75, 13.45%background-color:#b0ec20; height:20px;*/}

.row .twocolgal {width: 30%; margin:1.5% 1.5% 0 1.5%;  float: left; /* 13.45%background-color:#b0ec20; height:20px;*/}
/*.row .threecol {width: 100%; text-align:center; }*/

.row .threecol .row .threecol last {width: 100%;}

.row .threecolst  {width: 40%; margin:0 4.5% 0 4.5% }

.row .fourcol {width: 100%; }
.row .fourcolft {width: 100%; }
.row .fivecol {width: 100%; }
.row .sevencol {width: 100%; }

.row .twelvecol {width: 100%; }


.topspacer{ padding: 290px 0 0 0; } /* If not using slider */
.last {margin-right: 0px; /*background:#ff00ff;*/}
}

/*
@media only screen and (max-width:252px) {
}*/