/*

Theme Name: Webb & Webb
Author: Tom Boomsma

*/

@import url("reset.css");

/* General */

body {
	font-family: "Karla", Times;
	font-size: 12px;
	color: #666;
	overflow-x: hidden;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

a {
	text-decoration: none;
	outline: none;
	color: #ed1c24;
	border-bottom: 1px solid #fff;
}

a:hover {
	border-bottom: 1px dotted #FA142F;
}

p {
	line-height: 18px;
	padding-bottom: 20px;
}

h1 {
	font-size: 24px;
	padding-bottom: 37px;
	line-height: 24px;
}

h1 a {
	padding-left: 0;
	border: none;
	margin-left: 0;
}

h1 a:hover {
	border: none;
}

h2 {
	line-height: 18px;
}

h3 {
	padding-top: 5px;
	line-height: 18px;
}

li {
	padding-bottom: 10px;
}

.wheel {
	width: 16px;
	height: 16px;
	background: url(images/ajax-loader.gif) 0 0 no-repeat;
	position: absolute;
	top: 110px;
	left: 175px;
}

em {
	font-style: italic;
}

.reginfo {
	font-size: 10px;
	color: #999;
}

/* Layout */

.container {
	overflow: hidden;
}

header {
	padding: 0 0 0 50px;
	position: absolute;
	top: 50px;
	left: 0;
	width: 120px;
	height: 500px;
	background-color: #fff;
	z-index: 1000;
}

.main {
	width: 4000px;
	position: absolute;
	top: 110px;
	left: -21px;
	z-index: 800;
	overflow: hidden;
	height: 450px;
	padding-left: 5px;
}

.main.normal {
	left: 170px;
}

.main.news {
	left: 170px;
	height: auto;
	width: 500px;
	top: 57px;
}

/* Navigation */

nav ul {
	padding-bottom: 15px;
}

nav a,
.work a {
	color: #7c7c7c;
}

nav .selected a {
	color: #ed1c24;
}

.newsletter {
	overflow: hidden;
	height: 22px;
	margin-top: 270px;
}

.social {
	overflow: hidden;
	height: 22px;
	margin-top: 10px;
}

.social li {
	float: left;
	margin-right: 7px;
}

.instagram a {
	display: block;
	background: url(images/ww_instagram.png) 0 0 no-repeat;
	width: 22px;
	height: 22px;
	text-indent: -9999px;
	line-height: 0;
	font-size: 0;
}

.instagram a:hover {
	background-position: 0 -22px;
}

.twitter a {
	display: block;
	background: url(images/ww_twitter.png) 0 0 no-repeat;
	width: 22px;
	height: 22px;
	text-indent: -9999px;
	line-height: 0;
	font-size: 0;
}

.twitter a:hover {
	background-position: 0 -22px;
}

.linkedin a {
	display: block;
	background: url(images/ww_linkedin.png) 0 0 no-repeat;
	width: 22px;
	height: 22px;
	text-indent: -9999px;
	line-height: 0;
	font-size: 0;
}

.linkedin a:hover {
	background-position: 0 -22px;
}

.work .selected a {
	color: #404040;
}

.work .new-works.selected a {
	color: #ed1c24;
}

.work .parent a {
	color: #ed1c24;
}

.work {
	overflow: hidden;
	position: absolute;
	top: 60px;
	left: 170px;
	padding-left: 5px;
	width: 300px;
}

.work li {
	float: left;
	margin-right: 15px;
}

.prev,
.prev2 {
	position: absolute;
	top: 58px;
	right: 65px;
	display: block;
	width: 13px;
	height: 16px;
	background: url(images/arrow-left.png) left top no-repeat;
	line-height: 0;
	font-size: 0;
	text-indent: -9999px;
	border: 0;
	padding: 0;
	margin: 0;
}

.prev:hover,
.prev2:hover {
	background-position: 0 -16px;
	border: 0;
	padding: 0;
	margin: 0;
}

.prev.disabled,
.prev2.disabled {
	background-position: 0 -32px;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: default;
}

.next,
.next2 {
	position: absolute;
	top: 58px;
	right: 50px;
	display: block;
	width: 13px;
	height: 16px;
	background: url(images/arrow-right.png) left top no-repeat;
	line-height: 0;
	font-size: 0;
	text-indent: -9999px;
	border: 0;
	padding: 0;
	margin: 0;
}

.next:hover,
.next2:hover {
	background-position: 0 -16px;
	border: 0;
	padding: 0;
	margin: 0;
}

.next.disabled,
.next2.disabled {
	background-position: 0 -32px;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: default;
}

.ajaxinner {
	display: none;
}

.main .subnav {
	width: 150px;
	float: left;
	border-right: 1px solid #ed1c24;
	padding-right: 20px;
	margin-right: 20px;
	height: 440px;
	position: relative;
}

.main .subnav li {
	padding-bottom: 8px;
}

.main .subnav .last {
	position: absolute;
	left: 0;
	bottom: 0;
	padding-bottom: 0;
}

.main .subnav .last a {
	color: #ed1c24;
}

.main .subnav a {
	color: #7c7c7c;
}

.main .subnav a:visited {
	color: #3f3f3f;
}

.main .subnav .clients,
.main .subnav .categories {
	display: none;
}

.title {
	position: absolute;
	top: 85px;
	left: 175px;
	color: #3f3f3f;
	width: 300px;
}

.main .details {
	width: 150px;
	float: left;
	border-right: 1px solid #ed1c24;
	padding-right: 20px;
	margin-right: 20px;
	height: 390px;
	position: relative;
}

.main .scroller .details {
	border-right: none;
	border-left: 1px solid #ed1c24;
	padding-left: 20px;
}

.main .scroller .details.first {
	border-right: none;
	border-left: none;
	padding-left: 0;
}

.main .details h3 {
	color: #ed1c24;
	padding-bottom: 10px;
	padding-top: 0;
	margin-top: -5px;
}

/* Scroller */

.scroller {
	overflow: hidden;
	float: left;
	width: 700px;
}

.scroller .item {
	opacity: 0;
	float: left;
	padding-right: 15px;
	vertical-align: top;
	height: 414px;
}

.scroller.nopadleft .item:last-child {
	padding-right: 0;
}

.scroller .item img {
	border: 1px solid #fff;
	width: auto;
	height: 325px;
}

.scroller .item a:hover img {
	border: 1px solid #ed1c24;
}

.scroller .item a.image {
	border-bottom: none;
	padding-left: 0;
	margin-left: 0;
}

.details2 {
	float: left;
}


/* Info */

.info {
	width: 225px;
	float: left;
	padding: 0 30px 0 0;
	position: relative;
	height: 440px;
}

.info h2 {
	padding-bottom: 5px;
	margin-top: -3px;
}

.info h2 span,
.info strong {
	color: #ed1c24;
}

.info .text {
	padding-top: 15px;
}

.info li {
	padding-bottom: 5px;
}

.info .back {
	position: absolute;
	left: 0;
	bottom: 0;
}

.slide {
	position: absolute;
	top: 0;
	left: -350px;
	width: 225px;
	height: 440px;
}

.allclients {
	width: 705px;
}

.allclients ul {
	float: left;
	padding-right: 10px;
	width: 225px;
}

.allclients  li{
	padding-bottom: 8px;
}

.map.second,
.scroller.second {
	width: 420px;
	float: left;
}

.map {

}

.map p {
	padding: 25px 0 0 30px;
	width: 400px;
	background: url(images/marker-small.png) 0 30px no-repeat;
}
.threesixty-details {
	width: 200px;
	position: absolute;
	left: 260px;
	top: 350px;
}

.threesixty-details div,
.threesixty p {
	display: none;
}

.threesixty-details .current,
.threesixty .current {
	display: block;
}

.threesixty-details .prev2 {
	top: 0;
	left: 170px;
}

.threesixty-details .next2 {
	top: 0;
	left: 185px;
}

.directions {
	position: absolute;
	bottom: 90px;
	left: 0;
}

/* News */

.post {
	border-bottom: 1px dotted #FA142F;
	margin-bottom: 20px;
}

.post h2 {
	color: #ed1c24;
	padding-bottom: 20px;
}

.post img {
	margin-bottom: 0px;
}

.pagination {
	overflow: hidden;
	height: 1%;
	padding-bottom: 12px;
}

.newer {
	float: left;
}

.older {
	float: right;
}


/* Scrollbar */

.mCSB_scrollTools {
	position: absolute;
	bottom: 0;
	left: 0;
}

.mCSB_horizontal .mCSB_container{
	height:auto;
	margin-right:0;
	margin-bottom:30px;
	overflow:hidden;
}
.mCSB_horizontal .mCSB_container.mCS_no_scrollbar{
	margin-bottom:0;
}
.mCSB_horizontal.mCustomScrollBox .mCSB_scrollTools{
	width:100%;
	height:16px;
	top:auto;
	right:auto;
	bottom:0;
	left:0;
	overflow:hidden;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerContainer{
	height:100%;
	width:auto;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	overflow:hidden;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft+.mCSB_draggerContainer{
	padding-bottom:0;
	padding-right:20px;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:10px;
	margin:0;
	background-color: #e6e6e6;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger{
	width:30px;
	height:10px;
	background-color: #ed1c24;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:10px;
	margin:0 auto;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{
	width:20px;
	height:100%;
	overflow:hidden;
	margin:0 auto;
	cursor:pointer;
	float:left;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{
	right:0;
	bottom:auto;
	margin-left:-40px;
	margin-top:-16px;
	float:right;
}