


img.bg { z-index: -200; }

html{overflow-y:scroll;}
body{
	
	
	background-color : #FFFFFF;
	color : #000000;
	font-size: 12px;
	font-family : Arial;
	margin: 5px 0px 0px 0px; 
	padding: 0px;
	text-align: center;	
}

#cookie-bar {background:#111111; height:24px; line-height:24px; color:#eeeeee; text-align:center; padding:3px 0; z-index: 999999;}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {color:#ffffff; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#007700;}
#cookie-bar .cb-enable:hover {background:#009900;}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;}

.frame {max-width: 985px; margin: 0 auto;}

body{margin:0; padding:0; }
body.boxed{color:#919191; background-color:#000000;}

.justify{text-align:justify;}
.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.uppercase{text-transform:uppercase;}
.hidden{display:none;}

.clear{display:block; clear:both;}
.clear:after{display:block; visibility:hidden; height:0; clear:both; font-size:0; content:"";}

a {color : #000000; font-weight : normal; font-size: 12px; text-decoration:underline; }
a:hover{ color : #0000FF; }

.fl_left{float:left;}
.fl_right{float:right;}

img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}
.boxholder{padding:9px; border:1px solid #000000;}
.imgl{float:left; margin:0 15px 10px 0; clear:left;}
.imgr{float:right; margin:0 0 10px 15px; clear:right;}

address, article, aside, figcaption, figure, footer, header, hgroup, nav, section{display:block; margin:0; padding:0;}

.video{display:block; position:relative; width:100%; height:0; margin:0; padding:0 0 56.25% 0; /* using a 16:9 aspect ratio, the height is 56.25% of the width (9/16=0.5625) */}
.video iframe{display:block; position:absolute; width:100%; height:100%; margin:0; padding:0;}

div.wrapper, .wrapper100{display:block; width:100%; margin:0; padding:0; text-align:left; word-wrap:break-word; }

body{font-family:Arial;}

h1, h2, h3, h4, h5, h6{margin:0 0 30px 0; font-family:Arial; font-weight:normal; line-height:normal;}

address{margin:10px 0; font-style:normal;}

nav ul{margin:0; padding:0; list-style:none;}

#header, #topnav, #intro, #container, #footer, #copyright{margin:0 auto;}

#header{padding:0px 0;}

#header hgroup{display:block; float:left; width:auto; clear:right;}
#header hgroup h1, #header hgroup h2{margin:0; font-weight:normal; text-transform:none;}
#header hgroup h1{font-size:2em;}
#header hgroup h2{font-size:1em;}

#header #header-contact{display:block; float:right; width:auto; clear:right;}
#header #header-contact ul{margin-top:15px;}
#header #header-contact li{display:inline; margin:0 0 0 15px; padding:0 0 0 15px; border-left:1px solid #C0BAB6;}
#header #header-contact li:first-child{margin:0; padding:0; border:none;}

/*#container{padding:2px 0; clear:both; font-size:1em; line-height:1.4em; background-color: #F4F4F4;  } */
#container{padding:2px 0; clear:both; font-size:1em; line-height:1.4em; background: rgb(244,244,244); background: rgba(244,244,244, 0);} 
#container section{margin-bottom:50px;}
#container section.last{margin-bottom:0;}
#container .myborder li {list-style-position:outside;}

.emphasise, #container .emphasise{font-size:2.8em; line-height:1.4em;}

.font-small, #container .font-small{font-size:1em;}
.font-medium, #container .font-medium{font-size:1.2em;}
.font-large, #container .font-large{font-size:1.4em;}
.font-xl, #container .xl-large{font-size:4em; line-height:1.2em;}
.font-xxl, #container .xxl-large{font-size:6em; font-weight:normal; line-height:1.2em;}

.sidebar aside{}
.sidebar aside h2{margin-bottom:10px; padding-bottom:8px; border-bottom:5px solid #E8E8E8; font-size:1.4em;}
.sidebar aside ul.nospace li{margin-top:20px;}

#footer{padding:30px 0;}
#footer .footer_title{font-size:1.2em; margin-bottom:40px; padding-bottom:10px; border-bottom:1px solid #919191;}
#footer div{margin-bottom:0;}
#footer .tweet-container li{margin-top:18px; padding-top:18px; border-top:1px solid #333333;}
#footer .tweet-container li:first-child{margin-top:0; padding-top:0; border-top:none;}
#footer .tweet-container li .tweet_time{font-size:.8em;}



#footer #ft_gallery.spacing li{margin-bottom:15px;}

#footer form label{display:block; width:100%; margin:0 0 18px 0;}
#footer form label input{margin-top:5px;}
#footer form label input, #footer form textarea{color:#FFFFFF; background-color:#333333; border-color:#666666;}
#footer form textarea{height:120px;}

#copyright{padding:10px 0; font-size: 12px; color: #000000; background-color:#C9C9C9;}
#copyright p{margin:0; padding:0;}

a.footerlink:link, a.footerlink:visited ,a.footerlink:active, a.footerlink:hover { text-decoration:none; color: #000000; font-size: 12px; }

a.footerlink:hover { text-decoration:underline; }

a.maplink:link, a.maplink:visited, a.maplink:active, a.maplink:hover { text-decoration:underline; color: #0000FF; font-size: 14px; font-weight : bold; }

a.maplink:hover { color: #000000; }


.hr1{ border: thin keine #C5C5C5; margin: 15px 0;}
.myborder { margin-left: 5px; margin-right: 5px; }

.useframe1 {    }
.useframe2 {   }
.useframe3 {    }

#back-top { position: fixed; bottom: 30px; right: 5px; }
#back-top a {
	width: 108px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover { color: #000; }
#back-top span {
	width: 90px;
	height: 63px;
	display: block;
	margin-bottom: 7px;
	background: url(up-arrow.png) no-repeat center center;
	/* rounded corners */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover span { background-color: #777; }

.three_quarter li { list-style-position: outside; }

img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
}

#fadeSlideShow, #fadeSlideShow, .gallerylayer {
	background-color: #F4F4F4 !important;
	
}
#banner, .gallerylayer {
	background-color: #F4F4F4 !important; /* change bg color to white */

}
.gallerylayer img { /* make slide images scalable */
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
	margin-left: 0 !important; /* ensure a slide image is always at the top of the #banner container */
	margin-top: 0 !important; /* ensure a slide image is always at the top of the #banner container */
	margin-bottom: 0 !important; /* ensure a slide image is always at the top of the #banner container */
}
.video-container { position: relative; /* keeps the aspect ratio */ padding-bottom: 56.25%; /* fine tunes the video positioning */ overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed { position: absolute; top: 0; left: 0; max-width:425px; max-height: 344px; width: 100%; height: 100%;
}
#topnav{padding:0; color:#000000; background-color:#DBDBDB; clear:both; word-wrap:normal; white-space:nowrap; min-height: 15px;}
#topnav ul{margin:0; padding:0; list-style:none; font-size:12px; background-color:#DBDBDB;}
#topnav ul ul{z-index:9999; position:absolute; width:190px; text-transform:none;}
#topnav ul ul ul, #topnav ul ul ul ul{left:190px; top:0;}
#topnav ul:first-child li:last-child > ul{right:0;}
#topnav ul:first-child > li:last-child li > ul{left:-190px;}
#topnav li{position:relative; display:block; float:left; margin:0 10px 0 0; padding:0;}
#topnav li:first-child{}
#topnav ul:first-child li:last-child{margin-right:0;}
#topnav li li{width:100%; margin:0;}
#topnav li a{display:block; padding:5px 10px; background: url('dot.gif') no-repeat 0px 6px #DBDBDB; background-position:left center; white-space: nowrap; text-decoration:none; FONT-SIZE: 13px;}
#topnav li li a{display:block; margin:0; padding:10px 15px;}
#topnav ul li:hover > ul{display:block;}
#topnav a{color:#000000; background-color:#DBDBDB; font-weight:bold;  }
#topnav li li a, #topnav li.active li a{color:#000000; background:#C7C7C7; margin-left: 2px; font-weight:normal; background: url('dot2.gif') no-repeat 27px 6px #C7C7C7; background-position:left center; white-space: normal; text-decoration:none;}
#topnav ul ul{display:none;}
#topnav li.active a, #topnav a:hover{color:#000000; background-color:#D7A601; }
#topnav ul li li:hover > a{color:#000000; background-color:#DFB000;}

#topnav form{display:block; height:10px; margin:0 auto; padding:7px 0 35px 0;}
#topnav form select{font-size: 1.0em; display:block; width:100%; padding:8px; color:#000000; background-color:#DBDBDB; border:1px solid #000000; cursor:pointer; outline:none;}
#topnav form select option{display:block; margin:10px; padding:0; cursor:pointer; outline:none; border:none;}
#topnav .cup { border-right:5px solid #DFB000; box-sizing: border-box;}


.sidebar aside nav{display:block; width:100%; margin-bottom:30px;}
.sidebar aside nav ul{margin:0; padding:0; list-style:none;}
.sidebar aside nav li{margin:0 0 3px 0; padding:0;}
.sidebar aside nav a{display:block; margin:0; padding:5px 10px 5px 20px; color:#666666; background-color:inherit; background:url("images/orange_file.gif") no-repeat 10px center; text-decoration:none; border-bottom:1px dotted #666666;}
.sidebar aside nav a:hover{color:#FF9900; background-color:inherit;}
.sidebar aside nav ul ul a{background:url("images/black_file.gif") no-repeat;}
.sidebar aside nav ul ul a{padding-left:40px; background-position:30px center;}
.sidebar aside nav ul ul ul a{padding-left:50px; background-position:40px center;}
.sidebar aside nav ul ul ul ul a{padding-left:60px; background-position:50px center;}
.sidebar aside nav ul ul ul ul ul a{padding-left:70px; background-position:60px center;}

.pagination{display:block; width:100%; text-align:center; clear:both; line-height:normal;}
.pagination ul{margin:0; padding:0; list-style:none;}
.pagination li{display:inline;}
.pagination strong{font-weight:normal;}
.pagination .next{margin:0;}
.pagination a, .pagination .current strong, .pagination .splitter strong{display:inline-block; padding:5px 10px; margin:1px 2px;}
.pagination a:first-child{margin-left:0;}
.pagination a{border:1px solid #DFDFDF;}

.footer_nav{margin:0; padding:0;}
.footer_nav ul li{margin-top:12px; padding-top:12px; border-top:1px solid #333333;}
.footer_nav ul li:first-child{margin-top:0; padding-top:0; border-top:none;}

.post-image{margin-bottom:40px;}

#homepage{margin:0; padding:0; overflow:hidden;}/*Overflow Hidden - Due to collapsing margin bug*/
#intro{padding:30px 0;}
#intro .boxholder{padding:15px; border-color:#333333;}

#portfolio ul{margin:0; padding:0; list-style:none;}
#portfolio ul li{margin-bottom:30px;}

#gallery section figure ul{margin:0; padding:0; list-style:none;}
#gallery section figure ul li{margin-bottom:30px;}

#fof{display:block; margin:0; padding:100px 0 20px 0; text-align:center;}
#fof h1, #fof h2{margin:0; padding:0;}
#fof h1{margin-top:-70px; font-size:15em; text-shadow:6px 6px 0 rgba(229, 228, 227, 1);}
#fof h2{margin-top:-30px; font-size:3.5em;}
#fof p{margin:0; padding:0;}
#fof p.notice{display:block; width:100%; margin-bottom:50px; clear:both; font-weight:bold; text-transform:uppercase;}
#fof p.clear{padding:10px; border:1px solid #E5E4E3; font-size:16px;}

figure.team-member figcaption p{margin:15px 0 0 0; padding:0;}
figure.team-member figcaption .team-name{font-weight:bold;}
figure.team-member figcaption .team-title{margin:0 0 15px 0; font-size:11px; line-height:normal;}
figure.team-member figcaption .team-description{margin:0; padding-top:15px; border-top:1px solid #E5E4E3;}

.testimonial{margin-top:20px;}
.testimonial:first-child{margin-top:0;}
.testimonial div blockquote{position:relative; width:auto; margin:0; padding:0 0 0 60px; border:none;}
.testimonial div blockquote .marks{position:absolute; top:0; left:0; font-size:120px; line-height:.8em;}
.testimonial div blockquote p{margin:0 0 15px 0; padding:0;}
.testimonial .testimonial-author{padding:0 0 0 60px;}

.calltoaction{display:block; padding:30px; text-transform:uppercase; font-size:1em; color:#000000; background-color:#EFEFEF;}
#container .calltoaction h1{margin:0 0 12px 0; padding:0; font-size:2.5em; text-transform:uppercase;}
.calltoaction p{margin:0; padding:0; line-height:1.4em; text-transform:none;}
.calltoaction .button{display:block; text-align:center; line-height:1.4em;}

.calltoaction.opt1{border:solid #FF9900; border-width:0 0 0 5px;}
.calltoaction.opt2{border:solid #FF9900; border-width:0 5px 0 0;}
.calltoaction.opt3{border:solid #FF9900; border-width:0 5px;}
.calltoaction.opt4{border:solid #FF9900; border-width:2px 0; font-size:1.8em;}
#container .calltoaction.opt4 h1{margin:15px 0 0 0;}

.list{margin:10px 0; padding:0; list-style-position:inside;}
.list.indent{margin-left:20px;}
.list li{margin:6px 0 0 0; padding:0;}
.list li:first-child{margin:0;}
.list li > ul, .list li > ol{margin:8px 0 8px 30px;}

.list.disc{list-style-type:disc;}
.list.roman{list-style-type:upper-roman;}
.list.alpha{list-style-type:upper-alpha;}
.list.decimal{list-style-type:decimal;}
.list.circle{list-style-type:circle;}
.list.none, .list.block, .list.tick, .list.arrow, .list.tagcloud, .list.underline{list-style-type:none;}
.list.block li > ul, .list.block li > ol{padding:0 0 0 10px; list-style:none; border-left:1px solid #CCCCCC;}

.list.tick li, .list.arrow li{padding-left:22px; background:no-repeat 0 2px;}
.list.tick li{background-image:url("images/icons/gemicon/tick-16x16.png");}
.list.arrow li{background-image:url("images/icons/gemicon/arrow-16x16.png");}

.list.underline li{margin-bottom:8px; padding-bottom:8px; border-bottom:1px solid #E5E4E3;}
.list.underline li:last-child{margin-bottom:0;}


.divider1, .divider2, .divider3{display:block; width:100%; height:20px; margin:30px 0; padding:0; border-top:1px #D6D6D6; clear:both;}
.divider1{border-top-style:solid;}
.divider2{border-top-style:dotted;}
.divider3{border-top-style:dashed;}

.button{display:inline-block; border:1px solid; font-weight:bold; text-transform:uppercase;}

form, fieldset, legend{margin:0; padding:0; border:none;}
legend{display:none;}
form{display:block; width:100%; max-width: 500px;}

form input[type="text"], form textarea, form select{display:block; width:98% !important; padding:5px; max-width: 500px; border:1px solid #DBDBDB; cursor:pointer; outline:none; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
#respond form label, form textarea{margin-bottom:15px;}
form textarea{overflow:auto;}
form div, form p{margin:0; padding:0;}
form input[type="submit"], form input[type="reset"]{ width:auto; margin:0px auto; padding:10px 15px; cursor:pointer; float: none; display: block; margin: 0px auto;}
input, textarea, select{resize:none; outline:none;}

table{width:100%; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px;}
table thead th{ border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle;}
table tbody td{vertical-align:top; border-collapse:collapse; }
table thead th, table tbody td{padding:5px; border-collapse:collapse;}
table tbody tr.light{color:#979797; background-color:#F7F7F7;}
table tbody tr.dark{color:#979797; background-color:#E8E8E8;}
* Font Awesome Additions */

.icon-6x{font-size:6em;}
.icon-8x{font-size:8em;}
.icon-10x{font-size:10em;}

.showtext{display:block; position:relative; text-align:center;}
.showtext .caption{display:none; position:absolute; top:0; left:0; width:100%; height:100%; overflow:hidden; color:#FFFFFF; background-color:#000000; background:hsla(0, 0%, 0%, 0.8);}
.showtext:hover .caption, .showtext:hover .caption span{display:block;}

.rnd5, .list.tagcloud.rnd5 a, form.rnd5 input, form.rnd5 textarea{-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;}
.rnd8, .list.tagcloud.rnd8 a, form.rnd8 input, form.rnd8 textarea{-moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px;}
.rnd10, .list.tagcloud.rnd10 a, form.rnd10 input, form.rnd10 textarea{-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;}
.rnd12, .list.tagcloud.rnd12 a, form.rnd12 input, form.rnd12 textarea{-moz-border-radius:12px; -webkit-border-radius:12px; border-radius:12px;}

.one_half, 
.one_third, .two_third, 
.one_quarter, .two_quarter, .three_quarter, 
.one_fifth, .two_fifth, .three_fifth, .four_fifth, 
.one_sixth, .two_sixth, .three_sixth, .four_sixth, .five_sixth{display:inline; float:left; margin:0 0 0 5%; list-style:none;}

.one_half:first-child, 
.one_third:first-child, .two_third:first-child, 
.one_quarter:first-child, .two_quarter:first-child, .three_quarter:first-child, 
.one_fifth:first-child, .two_fifth:first-child, .three_fifth:first-child, .four_fifth:first-child, 
.one_sixth:first-child, .two_sixth:first-child, .three_sixth:first-child, .four_sixth:first-child, .five_sixth:first-child{margin-left:0;}

.first{clear:left;}
.first, .nogutter{margin-left:0;}

.full_width{display:block; width:100%; clear:both;}

body.boxed .wrapper{max-width:90%; padding:0 1.6%; margin:0 auto;}

.one_half{width:47.5%;}
.one_half.nogutter{width:50%;}

.one_third{width:30%;}
.two_third{width:65%;}
.one_third.nogutter{width:33.33333%;}
.two_third.nogutter{width:66.66666%;}
.one_quarter{width:21.25%;}
.two_quarter{width:47.5%;} /* Same as one_half */
.three_quarter{width:73.75%;}
.one_quarter.nogutter{width:25%;}
.two_quarter.nogutter{width:50%;}
.three_quarter.nogutter{width:75%;}
.one_fifth{width:15.7%;}
.one_sixth{width:15.17%;}

.stretched{display:block; margin:0 auto;}
body.boxed .wrapper .stretched{margin-left:-1.8%; margin-right:-1.8%;}

.nospace{margin:0; padding:0;}
ul.nospace, ol.nospace{list-style:none;}
.nospace.spacing li{margin-bottom:25px;}
.nospace.spacing li:last-child{margin-bottom:0;}

@-ms-viewport{width:device-width;} /* http://msdn.microsoft.com/en-gb/library/ie/hh869615%28v=vs.85%29.aspx */

#mobilemenu { display: none; }

/* 240 + 320px */
@media screen and (min-width:180px) and (max-width:360px) {
	.frame{max-width:95%; margin:0 auto;}
	#topnav ul{display:none;}
	form input[type="submit"]{margin-bottom:10px;}
	form input {width: 90%;}	
	form select {width: 90%;}	
	form textarea {width: 90%;}
	.one_half, .one_half.nogutter, 
	.one_third, .two_third, .one_third.nogutter, .two_third.nogutter, 
	.one_quarter, .two_quarter, .three_quarter, .one_quarter.nogutter, .two_quarter.nogutter, .three_quarter.nogutter, 
	.one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_fifth.nogutter, .two_fifth.nogutter, .three_fifth.nogutter, .four_fifth.nogutter, 
	.one_sixth, .two_sixth, .three_sixth, .four_sixth, .five_sixth, .one_sixth.nogutter, .two_sixth.nogutter, .three_sixth.nogutter, .four_sixth.nogutter, .five_sixth.nogutter{display:block; float:none; width:auto; margin:0 1% 5% 1%; padding:0;}

	#header hgroup, #header #header-contact{display:block; width:100%; float:none; margin:0 0 15px 0; padding:0; text-align:center;}
	#header #header-contact{margin:30px 0 0 0;}
	#header #header-contact li{display:block; margin:15px 0 0 0; padding:0; border:none;}
	#header #header-contact li:first-child{margin:0;}
	
	.calltoaction div{margin-top:30px;}
	.calltoaction div:first-child{margin-top:0;}
	.calltoaction.opt4{font-size:1.5em;}

	#blog-post #comment-count div{float:none; margin-top:10px; text-align:center;}
	#blog-post #comment-count div:first-child{margin-top:0;}
	#blog-post .list.block li > ul, #blog-post .list.block li > ol{margin:0; padding:0; list-style:none; border:none;}
	
	#fof{padding:30px 0 0 0;}
	#fof h1{margin:0 0 20px 0; font-size:7em;}
	#fof h2{margin:0 0 20px 0; font-size:2em;}
	
	#footer div{margin-bottom:5%;}
	#footer #ft_gallery li, #footer #ft_gallery .first{display:inline-block; float:left; width:auto; margin:0 10px 10px 0; padding:0; clear:none;}
	#footer #ft_gallery li img{}
	
	#header, #copyright{text-align:center;}
	#copyright p{float:none; line-height:1.6em;}
	#copyright p:first-child{margin-bottom:8px;}
}

/* 480px */
@media screen and (min-width:361px) and (max-width:615px) {
	.frame{max-width:95%; margin:0 auto;}
	#topnav ul{display:none;}
	#back-top{display:none;}
	form input[type="submit"]{margin-bottom:10px;}
	form input {width: 90%;}	
	form select {width: 90%;}	
	form textarea  {width: 90%}		
	.one_half, .one_half.nogutter, 
	.one_third, .two_third, .one_third.nogutter, .two_third.nogutter, 
	.one_quarter, .two_quarter, .three_quarter, .one_quarter.nogutter, .two_quarter.nogutter, .three_quarter.nogutter, 
	.one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_fifth.nogutter, .two_fifth.nogutter, .three_fifth.nogutter, .four_fifth.nogutter, 
	.one_sixth, .two_sixth, .three_sixth, .four_sixth, .five_sixth, .one_sixth.nogutter, .two_sixth.nogutter, .three_sixth.nogutter, .four_sixth.nogutter, .five_sixth.nogutter{display:block; float:none; width:auto; margin:0 1% 5% 1%; padding:0;}
	
	#header hgroup, #header #header-contact{display:block; width:100%; float:none; margin:0 0 15px 0; padding:0;}
	#header #header-contact{margin:30px 0 0 0;}
	
	#sidebar_2 ul.nospace li{display:inline; float:left; width:30%; margin:0 0 0 5%;}
	#sidebar_2 ul.nospace li:first-child{margin-left:0;}
	
	#contact .contact_details > div{display:block; float:none; margin-left:0;}
	
	.calltoaction div{margin-top:30px;}
	.calltoaction div:first-child{margin-top:0;}
	
	#fof{padding:30px 0 0 0;}
	#fof h1{margin:0 0 20px 0; font-size:7em;}
	#fof h2{margin:0 0 20px 0; font-size:2em;}
	
	#footer div{margin-bottom:5%;}
	#footer #ft_gallery li, #footer #ft_gallery .first{display:inline-block; float:left; width:auto; margin:0 10px 10px 0; padding:0; clear:none;}
	
	#copyright p{float:none;}
	#copyright p:first-child{margin-bottom:8px;}
}

/* 768px */
@media screen and (min-width:616px) and (max-width:800px) {
	.frame{max-width:95%; margin:0 auto;}
	
	#topnav ul{display:none;}
	#back-top{display:none;}	
	form input[type="submit"]{margin-bottom:10px;}
	form input {width: 494px;}
	form textarea  {width: 494px;}		
	form select {width: 500px;}	
	.calltoaction.opt4 div{display:block; float:none; width:100%; margin:30px 0 0 0;}
	.calltoaction.opt4 div:first-child{margin-top:0; text-align:center;}
	.calltoaction.opt4{font-size:1.5em;}
	
	#fof{padding:30px 0 0 0;}
	#fof h1{margin-top:0; font-size:12em;}
	#fof h2{margin-top:0;}
}

/* 985px */
@media screen and (min-width:985px) {
	#header, #topnav, #intro, #container, #footer, #copyright{max-width:985px; margin:0 auto;}
	.frame { margin-top:0px !important;}
    #topnav { width: 985px; }
}

/* Hide The Jquery Generated Navigation Form from 801px upwards */
@media screen and (min-width:801px) and (max-width:10000px) {
	#topnav form{display:none;}
	form input {width: 494px;}
	form textarea  {width: 494px;}		
	form select {width: 500px;}
}

/* Resize Extended Box */
@media screen and (min-width:1501px) {
	body.boxed .wrapper .stretched{margin-left:-2.6%; margin-right:-2.6%;}
}

.touch #topnav form{display:block;}
.touch #topnav ul{display:none;}

#container li { list-style-position: inside; }
