/* DIAL A MINICAB =============================================================================  */


/* BASIC PAGE SETUP ============================================================================= */

body { 
margin : 0 auto;
padding : 0;
font : 100%/1.4 'Open Sans', sans-serif; 	
color : #fff; 
text-align: center;
background: #000;
background-image: url(../images/london.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top center; 
background-size: cover;
}

button, 
input, 
select, 
textarea { 
font-family : Montserrat, serif;  
color : #333; }



/*  HEADINGS  ============================================================================= */

h1, h2, h3, h4, h5, h6 {
font-family : Montserrat, serif; 
font-weight: 700; 
margin: 0.5em 0 1.25em 0;
}


h1 { 
color: #fff;
font-size : 1.3em; 
line-height : 1.5;
text-transform: uppercase
}

h2 { 
color: #fff;
font-size : 1.4em; 
line-height : 1.5;
font-weight: normal;
}


/*  TYPOGRAPHY  ============================================================================= */

p, ol, ul, dl, address { 
margin-bottom : 1.5em; 
font-size : 1em; /* 16 / 16 = 1 */ }

p {
hyphens : auto;  }


.center {
text-align: center;
}


.leftalign {
text-align: left;
}

.rightalign {
text-align: right;
}


/* LINKS =============================================================================  */

a { 
color : #fff;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
text-decoration: none;
}

a:visited { 
color : #fff; }

a:focus { 
outline : thin dotted; 
color : rgb(0,0,0); }

a:hover, 
a:active { 
outline : 0;
color : #ff0022;
}



/* IMAGES ============================================================================= */

img {
border : 0;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}

img.floatleft { float: left; margin: 0 1em 0 0; }
img.floatright { float: right; margin: 0 0 0 1em; }



/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  GROUPING  ============================================================================= */


.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/*  GRID COLUMN SETUP   ==================================================================== */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 600 PIXELS */

@media only screen and (max-width: 600px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

/*  GRID OF TWO   ============================================================================= */


.span_2_of_2 {
	width: 100%;
}

.span_1_of_2 {
	width: 49.2%;
}

/*  GO FULL WIDTH AT LESS THAN 600 PIXELS */

@media only screen and (max-width: 600px) {
	.span_2_of_2 {
		width: 100%; 
	}
	.span_1_of_2 {
		width: 100%; 
	}
}


/*  GRID OF THREE   ============================================================================= */

	
.span_3_of_3 {
	width: 100%; 
}

.span_2_of_3 {
	width: 66.13%; 
}

.span_1_of_3 {
	width: 32.26%; 
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_3_of_3 {
		width: 100%; 
	}
	.span_2_of_3 {
		width: 100%; 
	}
	.span_1_of_3 {
		width: 100%;
	}
}

/*  MAIN LAYOUT	============================================================================= */


#wrapper {
	width: 100%;
	position: relative;
	text-align: center;
}

	header{
		clear: both;
		width: 80%; /* 1000px / 1250px */
		font-size: 0.875em; /* 14 / 16 */
		max-width: 100em; /* 1400px / 14 */
		margin: 0 auto;
		padding: 2em 0px 1em 0px;
		line-height: 1.6;
		position: relative;
		text-align: center;
		}
	
		
		#topnav {
			padding-top: 2em;
			text-transform: uppercase;
			}
		
		#topnav a {
			padding: 0 1em;
			}
				
	#maincontent{
		clear: both;
		width: 80%; /* 1000px / 1250px */
		font-size: 0.875em; /* 14 / 16 */
		max-width: 100em; /* 1400px / 14 */
		margin: 0 auto;
		padding: 3em 0px 1em 0px;
		line-height: 1.6;
		position: relative;
		text-align: center;
		}
		
    img#businesslogo {
        margin: 0 auto;
        display: block;
        max-width: 250px;
        height: auto;
    }
		
	img#maincontentlogo{
		margin-top: 1em;
		}		
	
	
	footer {
		clear: both;
		width: 100%; /* 1000px / 1250px */
		font-size: 0.875em; /* 14 / 16 */
		margin: 1em 0 0 0;
		padding: 1em 0;
		color: #fff;
		line-height: 1.3;
		position: relative;
		text-align: center;
		}


	
	footer i.fa {
		font-size: 1.4em;
		}


	
	footer a {
		padding-right: 1em;
		}
		
	.mobileonly { display:none;}


/*  REGISTRATION PORTALS  ============================================================================= */



.registrationportal {
	width: 80%;
	margin: 0 auto;
}


.registrationportal img {
	background: #fff;
	width: 95%;
	padding: 2.5%;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


/*  BUTTONS  ============================================================================= */


.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-family:  Montserrat, serif;
	color: #fff;
	padding: .5em 1em;
	margin: 5px;
	border: 1px solid #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2); 
	font-weight: 700;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size : 1.2em;
				
}
.button:hover, .button:active {
	background: #ff0011;
	color: #fff;
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}
.button:visited { 
	color : #fff;
}

.reg-button {
    font-size: 1em;
    text-transform: capitalize;
    font-style: italic;
}

.join-button {
    font-size: 0.9em;
    text-transform: capitalize
}


.buttonwhite {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-family:  Montserrat, serif;
	color: #000;
	background: #fff;
	padding: .5em 1em;
	margin: 5px;
	border: 1px solid #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2); 
	font-weight: 700;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size : 1.2em;
				
}
.buttonwhite:hover, .buttonwhite:active {
	background: #ff0011;
	color: #000;
	text-decoration: none;
}
.buttonwhite:active {
	position: relative;
	top: 1px;
}
.buttonwhite:visited { 
	color : #000;
}


/* FORMS ============================================================================= */

form { 
margin : 0; }

fieldset { 
margin-bottom : 1.5em; 
padding : 0; 
border-width : 0; }

legend { 
*margin-left : -7px; 
padding : 0; 
border-width : 0; }

label{
font-weight : normal;
cursor : pointer;
display:block;
margin:10px 0 0 0;
position:relative;
top:0;
left:0;
}

	label.inline{
	display:inline;
	margin:0;
	}
	
	label span{
	color:#666;
	font-size:0.9em;
	}
	
	label span.right{
	position:absolute;
	bottom:0;
	right:1em;
	text-align:right;
	}
	
	label.disabled{
	color:#ccc;
	}


button, 
search,
input, 
select, 
textarea { 
font-size : 100%; 
margin : 0; 
vertical-align : baseline; 
*vertical-align : middle; }

button, input { 
line-height : normal; 
*overflow : visible; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
padding: 0.5em 1em;
margin: 0 0 0 0;
cursor : pointer; 
text-shadow:0 1px 0 #fff;
}

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
	box-sizing : content-box;
}

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0;  }

input{
display:block;
border:1px solid #ccc;
font-size:1em;
padding:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
background:#fff;
-moz-box-shadow:inset 0px 0px 6px #ccc;
-webkit-box-shadow:inset 0px 1px 6px #ccc;
box-shadow:inset 0px 1px 6px #ccc;
}


input[type="search"]{
display:inline;
}

input[type="submit"]{
display:inline;
}

input[type="radio"]{
display: inline;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"] {
width: 97%;
}

	input::-webkit-input-placeholder,
	input:-moz-placeholder,
	.placeholder{
	color:#bbb;
	}
	
	input::-moz-focus-inner {border:0;}

	input[disabled="disabled"], input.disabled{
	color:#999;
	background:#f5f5f5;
	-moz-box-shadow:inset 0px 0px 2px #ddd;
	-webkit-box-shadow:inset 0px 1px 2px #ddd;
	box-shadow:inset 0px 1px 2px #ddd;
	}
	
textarea{
width:97%;
height:200px;
margin:0 0 20px 0;
border:1px solid #ccc;
padding:5px;
font-family:inherit;
font-size:0.9em;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-moz-box-shadow:inset 0px 0px 6px #ccc;
-webkit-box-shadow:inset 0px 1px 6px #ccc;
box-shadow:inset 0px 1px 6px #ccc;
overflow : auto; 
vertical-align : top;
}

/* Colors for form validity */
input:valid, 
textarea:valid   {  
/* Styles */ }

input:invalid, 
textarea:invalid {
-webkit-box-shadow : 0 0 2px #00f; 
-moz-box-shadow : 0 0 2px #00f;
box-shadow : 0 0 2px #00f; }

.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid {
background-color : #ccc; }

.searchfail {
    color: #f00;
}

.postcode-results {
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:inset 0px 0px 6px #ccc;
    -webkit-box-shadow:inset 0px 1px 6px #ccc;
    box-shadow:inset 0px 1px 6px #ccc;
    color: #000;
    max-width: 300px;
    margin: 10px auto 0;
    padding: 5px;
}

.postcode-results p {
    margin: 0;
    font-size: 0.9em;
}

.postcode-results ul {
    margin: 0;
}

.postcode-results ul li {
    border: 1px solid #000;
    margin: 2px 0;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    background: #000;
    color: #fff;
    font-size: 1.2em;
    -webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.postcode-results ul li:hover {
    cursor: pointer;
    background: #f01;
}


/* VENDOR-SPECIFIC ============================================================================= */

html { 
-webkit-overflow-scrolling : touch; 
-webkit-tap-highlight-color : rgb(52,158,219); 
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

.clearfix { 
zoom : 1; }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
-webkit-appearance : button; }

::-webkit-input-placeholder {
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
-webkit-box-sizing : content-box;
-moz-box-sizing : content-box; }

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0; }

p {
/* http://www.w3.org/TR/css3-text/#hyphenation */
-webkit-hyphens : auto;
-webkit-hyphenate-character : "\2010";
-webkit-hyphenate-limit-after : 1;
-webkit-hyphenate-limit-before : 3;
-moz-hyphens : auto; }

/* MEDIA QUERIES ============================================================================= */



@media only screen and (max-width: 800px)
{
		
	header, #maincontent, footer  { 
		width:90%; 
		}

	#maincontent{
		padding: 1em 0px;
		}

}


@media only screen and (max-width: 600px)
{
	
	header, #maincontent, footer  { 
		width:96%; 
		}
	
	.leftalign, .rightalign {text-align: center;}	
	
	#toplogo { width: 80px;}
	
	#topnav {
		padding-top: 0.5em;
		}
		#topnav a {
			padding: 0 0.7em;
			}
			
        .reg-button {
            font-size: 0.9em;
        }
		
	#maincontent{
		padding: 0;
		}
		
	footer {
		margin: 1em 0 0 0;
		}
		
	.mobileonly { display:block; margin-top: 1em;}
		
}


