h6 {
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
	font-weight:bold;
	line-height: 120%;
	color:white;
	text-align:center;
	margin:0 auto;
	display:block;	
	padding:20px 0 10px;
}
	

/*
----------------------------------------------------------------
	B A S E   S E T T I N G S
---------------------------------------------------------------- */

body {
	background-color: #2f3740;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	margin: 0;
	padding: 0;
}

body.contactpage {
	background: #FFFFFF;
	padding: 10px;
	font-size: 12px;
}

	
/* L I N K S */

a:link, a:visited {
	color: #000;

}	

a:hover, a:active {
	color: #CCC;
	
}
#footer, #footer a:link, #footer a:visited {
	color: #FFF;

}	

#footer a {
	text-decoration: none;
    margin: 0 10px;	
}


	
/* S T R U C T U R E */
	
#wrapper {
	margin: 0;
	padding: 0;
}
	
#container {
	position: relative;
	width: 960px;
	margin: 0 auto;
	padding: 0;
}

#header {
	background: #aa0101 repeat-x;
	height: 87px;
	text-align: center;
}

#content {
	position: relative;
	margin-top: 25px;
}

#content #main {
	float: left;
	width: 600px;	
}

#content #sidebar {
	float: left;
	width: 265px;
	padding: 10px 0 0 80px;
	color: #FFF;
}
#sidebar h2	{
	font: bold 24px Arial, Helvetica, sans-serif;
}

#sidebar p	{
	font: 15px Arial, Helvetica, sans-serif;
	color: #f1f1f1;
}

#footer {
	margin: 30px 0;
	text-align: center;
}


/* F O R M S */

input {
	width: 90%;
	height: 16px;
}

select {
	height: 22px;
	width: 93%;
	line-height: 18px; /* This is added for Safari */
}

fieldset {
	border: 1px solid #FFF;
	border-radius: 10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
	background: #FFF;
	padding-top: 14px;
	padding-bottom: 14px;
	margin-bottom: 5px;
	position: relative;
}

fieldset h3 {
	position: relative;
	background: #dedede;
	font-size: 1.2em;
	border-bottom: 1px solid #d0d2d2;
	border-radius: 8px 8px 0px 0px;
	-moz-border-radius: 8px 8px 0px 0px;
	margin: 0;
	padding: 10px 0 10px 20px;
	position: relative;
	top: -14px;
	width: 578px;
	display: block;
}

fieldset h2 {
	position: relative;
	background: #dedede;
	font-size: 17px;
	font-weight: bold;
	border-bottom: 1px solid #d0d2d2;
	border-radius: 8px 8px 0px 0px;
	-moz-border-radius: 8px 8px 0px 0px;
	margin: 0;
	padding: 10px 0 10px 20px;
	position: relative;
	top: -14px;
	width: 578px;
	color: #aa0101;
	display: block;
}

em {
    float: left;
    font-size: 20px;
    font-style: normal;
    margin-right: 10px;
}
.lar	{
	width: 125px;
}

form ul {
	list-style: none;
	padding: 0 20px;
}

form ul li {
	float: left;
	padding: 0 0 14px;
	width: 33%;
}



form ul li label {
	display: block;
}



.selectdd {
	width: 28%;
}

.selectyyyy {
	width: 34%;
}



.checkbox {
	width: 97%;
}

.checkbox input {
	float: left;
	width: 12px;
	margin: 0 12px 14px 0;
}


/* B U T T O N S */

.btnAddress {
	width: 33%;
}

.btnAddress input {
	width: 134px;
	height: 31px;
	cursor: pointer;
	position: relative;
	border: none;
	top: 8px;
	background: url(../images/thames_find.jpg) no-repeat;
}

.btnSubmit {
	margin: 0 auto;
	float: none;
	width: 300px;
}

.btnSubmit input {
    background: url("../images/thames_button.jpg") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    height: 72px;
    position: relative;
    width: 300px;
	border: none;
}


/* A D D R E S S   F I E L D   R E L A T E D */

.selectAddress {
	width: 100%;
}

.selectAddress select {
	width: 97%;
}



/*
----------------------------------------------------------------
	I E 6   H A C K S
	* IE
  	_ IE6
  	. IE7
  	Note: These IE hacks are only to be used as a last resort.
---------------------------------------------------------------- */


select {
	.margin-bottom: 2px; /* IE6/7 does not recognize height on selects, adding margin to make up the difference */
}


/*
----------------------------------------------------------------
	Clear Fix Rules with Horizontal Form Fields
---------------------------------------------------------------- */

.clearfix:after, form ul:after {
     content: " "; 
     display: block; 
     height: 0; 
     clear: both; 
     visibility: hidden;
     font-size: 0;
}
.clearfix, form ul {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
* html  form ul {height: 1%;}
.clearfix, form ul {display: block;}
/* End hide from IE-mac */

.screen	{
	display: inline-block;
}
.mobile	{
	display: none;
}

@media only screen and (max-device-width: 600px) {
	.screen	{
		display: none;
	}
	
    fieldset h3 {
        font-size: 1.2em;
        width: auto;
    }
	
	fieldset h2 {
        font-size: 1.3em;
        width: auto;
    }
	
	.btnSubmit	{
		width: 216px;
	}
	
	.btnSubmit input {
    background: url("../images/thames_button_m.jpg") no-repeat scroll 0 0 transparent;
    width: 216px;
	padding: 0;
	}
	

    form ul li {
        padding: .5em 0 0;
        width: 100%;
    }

    form ul li label {
        font-size: 1em;
        font-weight: bold;
        color: #3F4038;
    }

    h6
    , p#cbsp {
        width: 100%;
    }

    input
    , input.sort
    , select
    , select.selectsm {
        width: 96%;
    }

    .btnAddress {
        display: none;
    }

    .btnSubmit input {
        display: block;
        margin: 0 auto;
    }

    .legal {
        width: 100%;
    }

    .mobile {
        display: block;
    }

    .mobile-header {
        display: block;
        height: 44px;
        background: url('../images/topper_m.jpg') no-repeat center top;
    }

    .selectAddress {
        display: none;
    }

    div.ui-datepicker {
        width: 97%;
        font-size: 1.5em;
    }

	#cal-btn-next
	, #cal-btn-after {
		width: 30px;
		height: 30px;
		float: left;
		background: url('../images/calendar.png') no-repeat;
		border: none;

	}

	#cal-slider-next
	, #cal-slider-after {
		display: none;
		clear: both;
	}

    #container {
        width: auto;
        padding: .5em;
        margin: 0;
    }

    #content {
        padding: 0;
        margin: 0;
    }

    #content img {
        display: none;
    }

    #content #main {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #dobd
    , #dobm
    , #doby {
        width: 32%;
    }

    #footer {
        padding: 0;
        margin: 1em 0 0;
    }

    #header {
        background: #ab0102 url('../images/logo_m.jpg') no-repeat center top;
        height: 90px;
    }

    #move_in_date_months
    , #move_in_date_years {
        width: 48%;
    }

	#pd1uk
    , #pd2uk {
        float: left;
        margin-right: 5%;
		width: 75%;
    }

    #sidebar {
        display: none;
    }
    
    .lar    {
        width: 96%;
    }

    #wrapper {
        width: auto;
    }

        #footer a {
        display: block;
        letter-spacing: .5em;
        padding: .5em 0;
        margin: .5em 0;
        background: #ad0101;
        background: -moz-linear-gradient(top, #ad0101, #870001);
        background: -webkit-gradient(linear, top left, left bottom, from(#ad0101), to(#870001));
        border-radius: .5em;
        color: #FFFFFF;
        text-decoration: none;
        border-right: none;
    }
}

