/*
Theme Name: L'Espace
Theme URI: http://lespacemotorcoach.com
Description: Just ride!
Author: Dylan R. Kinnett
Author URI: http://nocategories.net/
*/

/*img fix */
#bar, #bar img {display:none;}


body { font:1em/1.625em "lucida grande","lucida sans unicode", sans-serif; background-color:#FFFEF0;  
font-size-adjust:none;
font-style:normal;
font-variant:normal;
font-weight:normal; margin: 20px; padding: 0pt; background: #FFFFFF; color: rgb(255, 255, 255); text-align: center;
}


h1 {
	color: #FFFFFF;
	font-size: 2em;
	line-height: 1.25em;
	font-weight: normal;
	text-align: right;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 0px;
}
h2.headline {
	padding: 38px 20px 0px 0px ! important;
	color: #FFFFFF;
	font-size: 1em;
	line-height: 1em;
	font-weight: normal;
	text-align: left;
	font-family: "Trebuchet MS",Tahoma,Verdana,sans-serif;
	margin-bottom: 0px;
}
a h2, a h2:visited{color:#FFFFFF;}
/*p { margin: 0pt; padding: 15px 0pt 5px; font-size: 0.8em; line-height: 1.7em; }*/
li { font-size: 0.8em; }
#outer { margin: auto; text-align: left; width: 760px; background-color: rgb(0, 0, 0); }
#hdr { margin: 0pt; padding: 0pt; height: 154px; color: rgb(51, 51, 51); }
#hdr img { margin: 0pt; padding: 0pt; text-align: left; }
#bar { margin: 0pt; padding: 0pt; /*background: rgb(192, 192, 192) none repeat; height: 459px;*/ color: rgb(51, 51, 51); }
#bodyblock { padding: 0pt; width: 760px; }
#l-col { float: left; width: 254px; }
#l-col address {padding-right:20px;}
#l-col h1 a {color: #FFFFFF;}
#l-col ul li, #l-col ul{list-style-type: none;padding:0;margin:0;}	
#l-col ul li {padding-right:20px;}
#l-col ul li a {
	color: #0099FF;
	text-decoration: none;
}
#logo { margin: 0pt; padding: 0pt; background: rgb(220, 220, 220) none repeat; float: left; color: rgb(51, 51, 51); height: 154px; width: 286px; }
#nav {   }
#hdr ul {
	float: right;
	list-style-type: none;
	display: inline;
	color: #FFF;
	margin-top:95px;
}
#hdr ul li { display: inline; text-align: right; }
#hdr ul li a, a:link, a:visited { margin: 0pt; padding: 0pt; text-decoration: none; color: rgb(255, 255, 255); }
#hdr ul li:after {
	content: " | ";
	}
#hdr ul li a:hover { margin: 0pt; padding: 0pt; color: #0099FF; text-decoration: none; }
/*#menu { padding: 98px 33px 0pt 0pt; }*/
#cont { width: 503px; text-align: left; }
.pad { margin: 0pt 0pt 16px; }
#cont ul { margin: 0px; padding: 0px; list-style-type: none; list-style-image: none; list-style-position: outside; display: inline; color: rgb(255, 255, 255); text-align: right; }
#cont ul li { margin: 0px 0px 10px; padding: 0px; display: inline; text-align: right; }
#cont ul li a, a:link, a:visited { margin: 0pt; padding: 0pt; text-decoration: none; color: rgb(255, 255, 255); }
#cont ul li a:hover { margin: 0pt; padding: 0pt; color: #0099FF; text-decoration: none; }
#cont a, a:link, a:visited { padding: 0px 0px 0pt 0pt; color: #0099FF; text-decoration: none; }
.image { border: 7px solid #506486; margin: 6px 0px 25px 15px; text-align: right; }
#text { padding: 38px 35px 90px 0pt; }
#text a, #text a:visited {color: #0099FF; text-decoration: none;}
.editlink { text-align:right;}
.yellow { color: rgb(211, 214, 148); }
#text ul li {display:block;text-align: left;padding-left:2.5em;}
#ftr { margin: 0pt; background: rgb(255, 255, 255) none repeat; height: 50px; font-size: 0.7em; line-height: 4.5em; text-align: right; }
#ftr a, a:link, a:visited { padding: 0px 32px 0pt 0pt; color: #333333; text-decoration: none; }
#ftr a:hover { color: #0066CC; text-decoration: none; }
#mainform { border: 0px none ; margin: 30px 5px 5px 30px; padding: 5px; position: relative; }
#name_p { position: absolute; left: 20px; top: 0px; padding-top: 5px; }
#fname { position: absolute; left: 80px; top: 0px; }
#address_p { position: absolute; left: 20px; top: 40px; padding-top: 5px; }
#address1 { position: absolute; left: 80px; top: 40px; }
#phone_p { position: absolute; left: 20px; top: 80px; padding-top: 5px; }
#phone { position: absolute; left: 80px; top: 80px; }
#email_p { position: absolute; left: 20px; top: 120px; padding-top: 5px; }
#email { position: absolute; left: 80px; top: 120px; }
#service_p { position: absolute; left: 20px; top: 160px; padding-top: 5px; }
#service { position: absolute; left: 80px; top: 160px; }
#enquiry_p { position: absolute; left: 20px; top: 200px; padding-top: 5px; }
#enquiry { position: absolute; left: 80px; top: 200px; }
#submit_p, #submit { position: absolute; left: 80px; top: 280px; }

form {display:inline;}
#searchform {
	display:inline;
	float: left;
}

/**
 * Galleries CSS borrowed from TwentyThirteen Theme
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}