/* Needed for a fluid height: */

.workstyle  {height: 380px;}
.workstyle .container { height: 100%;}
.workstyle .main { height: 100%;margin:auto;}

.workstyle_h2  {margin: 30px;}

/* main wrapper */
.cbp-contentslider {
	width: 100%;
	height: 90%;
	margin: 1em auto;
	position: relative;
	border: 3px solid #cfd1d3;
}

.cbp-contentslider a {
	text-decoration: none;
	color:#424344
}

.cbp-contentslider > ul {
	list-style: none;
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 0;
	margin: 0;
}

.cbp-contentslider > ul li {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 1em;
	background: #fff;
}

/* Whithout JS, we use :target */
.cbp-contentslider > ul li:target {
	z-index: 1;
}

.cbp-contentslider nav {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 45px;
	z-index: 1;
	border-top: 3px solid #cfd1d3;
}

.cbp-contentslider nav a {
	float: left;
	display: block;
	width: 20%;
	height: 100%;
	background: #fff;
	text-align: left;
	line-height: 1.3;
	position: relative;
	padding:5px 5px 0 45px;
	border-right: 3px solid #cfd1d3;
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.cbp-contentslider nav a span {
	display: block;
}

.cbp-contentslider nav a:last-child {
	border: none;
	box-shadow: 1px 0 #cfd1d3; /* fills gap caused by rounding */
}

.cbp-contentslider nav a:hover {
	background-color: #cfd1d3;
	color: #fff;
}

.cbp-contentslider nav a.rc-active {
	background-color: #cfd1d3;
	color: #fff;
}

/* Iconfont for navigation and headings */
.cbp-contentslider [class^="work_icon_"]:before, 
.cbp-contentslider [class*="work_icon_"]:before {
	position: absolute;
	left: 3%;
	top: 55%;
	margin: -1.250em 0 0 0;
	color: rgba(0,0,0,0.1);
	-webkit-font-smoothing: antialiased;
}

.cbp-contentslider .work_icon_ws_01:before {
	content: url("/include_2015/images/work_icon_ws2_01.png");
}

.cbp-contentslider .work_icon_ws_02:before {
	content: url("/include_2015/images/work_icon_ws2_02.png");
}

.cbp-contentslider .work_icon_ws_03:before {
	content: url("/include_2015/images/work_icon_ws2_03.png");
}

.cbp-contentslider .work_icon_ws_04:before {
	content: url("/include_2015/images/work_icon_ws2_04.png");
}

.cbp-contentslider .work_icon_ws_05:before {
	content: url("/include_2015/images/work_icon_ws2_05.png");
}

.cbp-contentslider [class^="work_icon_"].rc-active:before, 
.cbp-contentslider [class*="work_icon_"].rc-active:before,
.cbp-contentslider nav a:hover:before {
	color: rgba(255,255,255,0.9);
}

.cbp-contentslider h3 {
	font-size:15px;
	padding: 8px 0;
	position: relative;
	text-align: right;
	border-bottom: 3px dotted #cfd1d3;
	font-weight:normal;
}

.cbp-contentslider h3 a {
	white-space: nowrap;
	width:100%;
}

.cbp-contentslider h3 a:hover {
	text-decoration: underline;
	color: #d23c89;
}

.cbp-contentslider h3 a img {
	width:13px;
	vertical-align: middle;
}

.cbp-contentslider h3[class^="work_icon_"]:before, 
.cbp-contentslider h3[class*="work_icon_"]:before {
	top: 0;
	left: 0;
	margin: 0;
}

.cbp-contentslider li > div {
	position: absolute;
	margin:auto;
	top: 70px;
	bottom: 3.313em;
	padding:0 15px;
	width: 100%;
	left: 0;
	text-align:left;
	overflow-x: hidden;
	overflow-y: auto;
}

.cbp-contentslider .cbp-content {
	vertical-align: top;	
}

.cbp-contentslider a {
	width:11.9%;
	padding:0 0 5px;
	display: inline-block;
}

.cbp-contentslider img {
	width:100%;
}

@media screen and (min-width: 641px) {
.main  {
	width: 875px;
	margin:auto;
}
}

@media screen and (max-width: 640px) {

.main  {
	width: 90%;
	margin:auto;
}

.cbp-contentslider {
	width: 100%;
	height: 90%;
	margin: 1em auto;
	position: relative;
	border: 3px solid #cfd1d3;
}

.cbp-contentslider a {
	width:32.9%;
}

.cbp-contentslider nav a span {
	display: none;
}

.cbp-contentslider li > div {
	position: absolute;
	top: 70px;
}

.cbp-contentslider a {
	width:24%;
}

.cbp-contentslider nav a {
	padding: 0;
}

.cbp-contentslider nav a[class^="work_icon_"]:before, 
.cbp-contentslider nav a[class*=" work_icon_"]:before {
	left: 50%;
	margin-left: -1.250em;
}
}

@media screen and (max-width: 480px) {
.cbp-contentslider a {
	width:32%;
}
.cbp-contentslider h3 {
	font-size:12px;
}

.cbp-contentslider h3[class^="work_icon_"]:before, 
.cbp-contentslider h3[class*="work_icon_"]:before { display: none;}

}

