/*
Theme Name: Laventure
Theme URI: http://www.laventurellc.com
Author:RedSlant
Author URI: http://www.laventurellc.com
*/

/**** FIX LIGHTBOX TO FIXED ****/
	#slb_viewer_wrap .slb_theme_slb_baseline {position:fixed!important;}
/**** BODY & MISC ****/

	html {height: 100%;overflow: hidden;}
	body {margin:0; padding:0;height: 100%;overflow-y: scroll;overflow-x: hidden;-webkit-overflow-scrolling: touch;position:relative;}	
	body:before {content:"";	float:left;width:0;margin-top:-32767px;}/*Opera Fix*/	
	img {border:none;max-width:100%;} 
	hr {display:block;margin:20px auto;width:95%;height:1px;background:#e5e5e5;border:none;}
	ul {list-style-type:circle}
	#clear, .clear {clear:both;}

	#container {display:block;width:85%;max-width:1080px;height:auto;clear:both;margin-left: auto; margin-right: auto;position:relative;}
	.w25 {width:22%;} .w33{width:31%} .w40 {width:37%;} .w50 {width:47%;} .w60 {width:57%;} .w75 {width:72%;} .w100 {width:97%;}
	.box {padding:25px;outline:1px solid #e5e5e5;background:#fff;position:relative;height:auto;overflow:hidden;}
	.inline_b {display:inline-block;vertical-align:top;}
	.floatleft {display:block;float:left;}
	.alignright, .floatright {display:block;float:right;}
	
	
	.w25, .w33, .w40, .w50, .w60, .w75, .w100 {margin:0 1%;}
	
	@media (max-width: 600px) {.w25, .w33, .w40, .w50, .w60, .w75, .w100 {width:99%;}}
	
	#wrapper {display: table;height: 100%;table-layout: fixed;width: 100%;}	
	#block-footer {display: table-row;height: 1px;}
	
	
	.bg_ocred {background:#a60d12;}
	.bg_ocblue {background:#101a5f;}
	.bg_ocyellow {background:#f3b406;}
	.noborder {border:none!important;}
	
		
/**** FONT CONTROL ****/
	
	body{font-family: 'Open Sans', 'Calibri', sans-serif;font-size:17px;line-height:24px;font-weight:300;}
	h1 {font-size:38px;line-height:46px;font-weight:inherit;margin:0 0 17px 0;}
	h2 {font-size:28px;line-height:36px;font-weight:inherit;margin:0 0 17px 0;}
	h3 {font-size:28px;line-height:36px;font-weight:inherit;margin:0 0 17px 0;}
	h5 {font-size:22px;line-height:29px;font-weight:inherit;margin:0 0 10px 0;}
	h4 {font-size:17px;line-height:24px;font-weight:inherit;margin:0 0 17px 0;}
	p {font-size:17px;line-height:24px;font-weight:inherit;margin:14px 0;}
	.small, .cff-date, .cff-viewpost  {font-size:11px;line-height:12px;font-weight:400;margin:0;}
	
	.ocred {color:#a60d12;}
	.ocblue {color:#101a5f;}
	.ocyellow {color:#f3b406;}
	a {color:#054280;text-decoration:none;}
	.boxlink {padding:5px 12px;color:inherit;font-size:80%;}
	
	h1 a, h2 a, h3 a, h4 a, h5 a {color:inherit!important;}
	
	@media (max-width: 950px) {
		body{font-family: 'Open Sans', 'Calibri', sans-serif;font-size:14px;line-height:20px;font-weight:400;}
		h1 {font-size:28px;line-height:36px;margin:0 0 17px 0;}
		h2 {font-size:28px;line-height:36px;margin:0 0 17px 0;}
		h3 {font-size:22px;line-height:29px;font-weight:400;margin:0 0 17px 0;}
		h5 {font-size:17px;line-height:24px;font-weight:400;margin:0 0 17px 0;}
		h4 {font-size:15px;line-height:22px;margin:0 0 17px 0;}
		p {font-size:15px;line-height:22px;margin:14px 0;}
	}

/**** FORMS ****/

	form {display:inline-block;width:auto;padding:0px;margin:0;font-size:14px;line-height:14px;}

	input[type=text] {height:40px;vertical-align:middle;padding:0px 8px;margin:0;color:inherit;font-size:inherit;font-family:inherit;}	
	.submit {display:inline-block;height:40px;vertical-align:middle;margin:0;padding:0 8px;color:#fff;background:#f3b406;}
	input[type=image], select, option {margin:0;height:auto;padding:3px;font-family: inherit;}
	textarea {display:block;width:89%;height:320px;line-height:30px;resize: vertical;margin:5px 0px;padding:5px 5%;color:inherit;font-size:inherit;font-family:inherit;    -webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;border:none;}
	
	input, .submit, #submit {border:none;}

/**** TOP MENU ****/
	#block-menu, #block-footer {width:100%; margin:0;background:url(images/bg-grey.jpg) center center no-repeat;background-size:cover;font-family:Rokkitt;font-weight:700;} 
		#block-menu {display:block;padding:20px 0; min-height:40px;overflow:auto;border-bottom:5px solid #ccc; }
		#block-footer {min-height:90px;padding:70px 0!important;} 
			#block-footer-yspace {height:70px;width:100%;}
		#block-menu #container, #block-footer #container {width:94%;position:relative;}
	
	#logo {
		display:inline-block;
		margin:0 45px 6px 14px; padding:0;
		overflow:hidden;
		vertical-align:top;
	} 
	#menu {
		display:inline-block;
		overflow:visible;
		padding:0;margin:0;
		font-size:16px;line-height:32px;font-weight:300;
		color:#fff;
		vertical-align:top;
	}
		#menu li {margin:0;padding:0;display:inline-block;}
		#menu a {display:inline-block;color:inherit;margin:8px 0 0 0;height:16px;line-height:16px;padding:0 14px;border-left:1px solid #fff;}
			#menu a.menucontact {padding:8px 14px;margin:0;color:#000}
	@media (max-width: 600px) {
		#block-footer-yspace {height:35px;}
		.menucontact {display:block;position:absolute;top:0;right:20px;}
		#menu {margin-top:8px;font-size:15px;}
		#menu a {padding: 0 5px;}
		#menu a.menucontact {padding:8px 7px;}
	}

/**** HOME ****/
	#home #block-menu {background:none;border:none;}
	#home #block-footer  {display:none;}
	#homebg {background:url(images/bg-home.jpg) left center no-repeat;background-size:cover;} @media (max-width: 500px) {#homebg {background:url(images/bg-home-smallscreen.jpg) center bottom no-repeat;background-size:cover;}}
	#home #welcome {position:absolute;padding-top:25%;right:0;max-width:750px;font-weight:300;}
	#home #welcomemsg {max-width:720px;padding:15px;background: rgba(25, 25, 25, 0.5);border-bottom:3px solid #f3b406;margin-bottom:15px;color:#fff;line-height:50px;font-size:40px;} @media (max-width: 500px) {#home #welcomemsg {line-height:30px;font-size:25px;}}
	#home #welcomelinks {display:inline-block;margin:0 12px 12px 0;background:#fff;padding:12px 16px;font-size:18px;line-height:18px;color:#000!important;}
		
/**** CONTENT ****/
	
	#listbox {width:100%;margin:0;padding:0;background:#fff;overflow:auto;}
		#lb-img {display:block;float:left;width:26%;height:0;padding-top:26%;border-bottom:5px solid #f3b406;background-size:cover!important;}
		#lb-content {display:block;float:left;padding:5% 6% 30px 6%;width:62%;}
			#lb-content li {display:inline-block;width:47%;margin:1%;min-width:250px;vertical-align:top;}
		
		.listboxsub {display:none;width:100%;margin:0;padding:35px 0 55px 0;background:url(images/bg-greyfade.png) center bottom repeat-x #ececec;overflow:auto;}
			.listboxsub #lb-img {display:block;float:left;width:26%;height:0;padding-top:18%;border-bottom:none;background-size:cover!important;}
			.listboxsub #lb-imgfull {position:relative;width:100%;padding-top:56%;margin-bottom:16px;}
			.listboxsub #lb-imgfull iframe {position:absolute;top:0;left:0;width:100%;height:100%;}
			.listboxsub #lb-content {display:block;float:left;padding:25px 6% 30px 6%;width:62%;}
			.listboxsub .box {margin-bottom:20px;}
			.listboxsub p.three {height:72px;overflow:hidden;}
		
		
		
	@media (max-width: 900px) {
		#lb-img {display:block;float:left;width:35%;height:0;padding-top:35%;border-bottom:5px solid #f3b406;background-size:cover!important;}
		#lb-content {display:block;float:left;padding:5% 4% 30px 4%;width:57%;}
	
	}
	@media (max-width: 700px) {
		#listbox {padding-top:10%;padding-bottom:10%;}
			#lb-img {display:block;float:left;width:100%!important;height:0;padding-top:50%!important;margin-bottom:15px!important;border-bottom:5px solid #f3b406!important;background-size:cover!important;}
			#lb-content {display:block!important;padding:0!important;width:100%!important;}
	}
		
	#photo {display:inline-block;vertical-align:top;width:27%;padding:2%;margin:1%;}
		#photo-img {display:block;float:left;width:100%;height:0;padding-top:100%;border-bottom:5px solid #f3b406;background-size:cover!important;}
		#photo p {}
	
	
	.gallery {margin: auto;}
	.gallery-item {
		display:inline-block;vertical-align:top;width:27%;padding:2%;margin:1%;
	}
	.gallery-icon img {
		display:block;float:left;width:100%;height:auto;border-bottom:5px solid #f3b406;
	}
	.gallery-caption {
		font-size:15px;line-height:20px;max-height:40px;overflow:hidden;display:inline-block;margin:14px 5px;
	}
	
	#contact input, #contact textarea {margin:4px 1%;padding:2%;width:94%;}
	

	#videoembed iframe {width:100%;height:100%;position:absolute;top:0;left:0;}
	

	#navigation {text-align:center;overflow:hidden;}
		#navigation a {display:block;float:left;margin:25px 3px;border:1px solid #808080;color:inherit;font-size:14px;padding:4px 12px;font-weight:400;}
	#archivebutton {display:block;float:right;margin:25px 3px;border:1px solid #808080;color:inherit;font-size:14px;padding:4px 12px;font-weight:400;}
