html, body {
	margin: 0;
}

.tab-container *{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

}

.tabbed-view{
	width:740px; 
	margin:50px auto; 
	position:relative; 
	display:block;
	clear:both
}

.tab-container{
	padding: 0;
	text-align: left;
	position: relative;
	display: block;
	height:auto;
	clear:both;
}
.tab-container:after{
	display:block;
	content:'';
	clear:both;
}


.tab-container.top{
	margin: 60px 0 20px 0;
	min-height:500px;

}

.tab-container.left{
	margin: 40px 0 20px 130px;
	min-height:650px;
}

.tab-container.right{
	margin: 40px 130px 20px 0;
	min-height:650px;
}

.tab-container .tab-radio{
	display: none;
}

.tab-container .tab{
	display: block;
	color: #888;
	margin: 0;
	padding: 3px 10px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	font-size:16px;
	line-height:30px;
}


.tab-container.top .tab{
	width: auto;
	height: 30px;
	float: left;
	position: relative;
	top: 0px;
	z-index:0;
	-webkit-box-shadow:0 -3px 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0 -3px 4px rgba(0, 0, 0, 0.3);
	box-shadow:0 -3px 4px rgba(0, 0, 0, 0.3);
}


.tab-container.right .tab{
	width: 130px;
	height: 30px;
	position: relative;
	left:100% ;
	top:10px;
	text-align:left;
	z-index:0;
	-webkit-box-shadow:3px 0 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:3px 0 4px rgba(0, 0, 0, 0.3);
	box-shadow:3px 0 4px rgba(0, 0, 0, 0.3);

}

.tab-container.left .tab{
	width: 130px;
	height: 30px;
	position: relative;
	left: -130px;
	top:10px;
	text-align:left;
	z-index:0;
	-webkit-box-shadow:-3px 0 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:-3px 0 4px rgba(0, 0, 0, 0.3);
	box-shadow:-3px 0 4px rgba(0, 0, 0, 0.3);
}


.tab-container.photo .tab-page *{
	color:white;
	text-shadow:1px 1px 1px #333;
}


.tab-container.photo article img.background{
	z-index:-10;
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;

}


.tab-container .tab-radio:checked ~ .tab,
.tab-container .tab-radio:active ~ .tab{
	z-index: 1;
}

.tab-container.top .tab-radio:checked ~ .tab, .tab-container.bottom .tab-radio:checked ~ .tab{
	width: auto;
}

.tab-container .tab-radio:checked ~ .tab:before{
	content: "";
}
.tab-container .tab-radio:checked ~ .tab:before{
 	font-family: 'FontAwesome';
	font-weight:normal;
}

.tab-container.top .tab-radio:checked ~ .tab:before{
	content: "\f107  ";
}

.tab-container.left .tab-radio:checked ~ .tab:before{
	content: "\f105  ";
}

.tab-container.right .tab-radio:checked ~ .tab:before{
	content: "\f104  ";
}



.tab-container .tab-page{
	visibility: hidden;
	z-index: 50;
	display:block;
	position: absolute;
	padding: 20px 20px 30px 20px;
	margin:0;
	-moz-transition: visibility 0s ease-out 0.3s;
	-ms-transition: visibility 0s ease-out 0.3s;
	-o-transition: visibility 0s ease-out 0.3s;
	-webkit-transition: visibility 0s ease-out 0.3s;
	transition: visibility 0s ease-out 0.3s;
	-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	min-height: 430px;
}


.tab-container.top .tab-page{
	top: 35px;
	left: 0px;
}

.tab-container.left .tab-page{
	top: 0;
	left: 0;
}

.tab-container.right .tab-page{
	top: 0;
	left: 0;
}


.tab-container.rounded.top .tab-page {
	-webkit-border-top-right-radius: 10px;
	-moz-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
}


.tab-container.rounded.right .tab-page {
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.tab-container.rounded.left .tab-page {
	-webkit-border-top-right-radius: 10px;
	-moz-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
}


.tab-container .tab-page h3, .tab-container .tab-page h4  {
	margin:0 0 10px 0;
}

.tab-container .tab-page h3 {
	font-size:40px;
	font-weight:200;
}

.tab-container .tab-page h4 {
	font-size:21px;
	font-weight:400;
}

.tab-container .tab-radio:checked ~ .tab-page{
	visibility: visible;
}

.tab-container .tab-page > *{
	-moz-opacity: 0;
	-ms-opacity: 0;
	-o-opacity: 0;
	-webkit-opacity: 0;
	opacity: 0;
	-moz-transition: opacity 0.3s ease-out 0s;
	-ms-transition: opacity 0.3s ease-out 0s;
	-o-transition: opacity 0.3s ease-out 0s;
	-webkit-transition: opacity 0.3s ease-out 0s;
	transition: opacity 0.3s ease-out 0s;
}
.tab-container .tab-radio:checked ~ .tab-page > *{
	-moz-opacity: 1;
	-ms-opacity: 1;
	-o-opacity: 1;
	-webkit-opacity: 1;
	opacity: 1;
	-moz-transition: opacity 0.3s ease-in 0.15s;
	-ms-transition: opacity 0.3s ease-in 0.15s;
	-o-transition: opacity 0.3s ease-in 0.15s;
	-webkit-transition: opacity 0.3s ease-in 0.15s;
	transition: opacity 0.3s ease-in 0.15s;
}


.tab-container .tab-radio ~ .tab:after{
	position:absolute;
	display:block;
	z-index:200;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 50px 50px 0 0;
	border-color: #ffffff transparent transparent transparent;
}

.tab-container .tab-radio ~ .tab{
	background-color:rgb(236,240,241);
}

.tab-container .tab-radio:checked ~ .tab{
	color:rgb(0,0,0);
}

.tab-container article p {
	line-height:140%;
}


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

.tabbed-view {
	position:relative;
	width:100%;
	height:700px;
	margin:120px 0 0 0;
	display:block;
}

.tabbed-view:after, .tab-container:after, .tab-container .tab-page:after {
	display:block;
	clear:both;
	content:"";
}

.tab-container.top, .tab-container.right, .tab-container.left{
	margin: 30px 0;
	padding: 0;
	text-align: left;
	position: relative;
	display: block;
	height:auto;
}

.tab-container.top .tab, .tab-container.right .tab, .tab-container.left .tab{
	display: block;
	width: 100%;
	height: 30px;
	position: relative;
	top: -110px;
	padding: 3px 0;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	font-size:20px;
	line-height:30px;
	z-index:10;
	left:0;
	-webkit-box-shadow:0 0 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0 0 4px rgba(0, 0, 0, 0.3);
	box-shadow:0 0 4px rgba(0, 0, 0, 0.3);

}

.tab-container.top .tab-radio:checked ~ .tab, .tab-container.right .tab-radio:checked ~ .tab,.tab-container.left .tab-radio:checked ~ .tab{
	width: 100%;
	position:absolute;
	left:0;
	top:0;
}

.tab-container.top .tab-page, .tab-container.bottom .tab-page, .tab-container.left .tab-page{
	visibility: hidden;
	z-index: 50;
	display:block;
	position: absolute;
	top: 30px;
	left: 0px;
	float: left;
	padding: 20px 20px 30px 20px;
	margin:100;
	-moz-transition: visibility 0s ease-out 0.3s;
	-ms-transition: visibility 0s ease-out 0.3s;
	-o-transition: visibility 0s ease-out 0.3s;
	-webkit-transition: visibility 0s ease-out 0.3s;
	transition: visibility 0s ease-out 0.3s;
	-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3);
	height: 600px;
}


.tab-container.top .tab-radio:checked ~ .tab:before, .tab-container.right .tab-radio:checked ~ .tab:before, .tab-container.left .tab-radio:checked ~ .tab:before{
	content: "\f107  ";
}


}


/*Color Variations*/


.tab-container.white label, .tab-container .tab-radio:checked ~ .tab,
.tab-container.white .tab-radio:active ~ .tab, .tab-container.white article {
	background-color:rgb(250,250,250);
	color:#333;
}
.tab-container.white .tab:hover {
	background-color:rgb(230,230,255);
	color:#333;
}
.tab-container.white article p {
	color:#333;
}

.tab-container.white .tab-radio ~ .tab{
	background-color:rgb(236,240,241);
}

.tab-container.white .tab-radio:checked ~ .tab, .tab-container.white .tab-radio:hover ~ .tab{
	background-color:rgb(250,250,250);
	color:rgb(0,0,0);
}




.tab-container.photo label, .tab-container .tab-radio:checked ~ .tab,
.tab-container.photo .tab-radio:active ~ .tab, .tab-container.photo article {
	background-color:rgba(250,250,250,0.7);
	color:#333;
}

.tab-container.photo .tab:hover {
	background-color:rgba(230,230,255,0.7);
	color:#333;
}
.tab-container.photo article p {
	color:#333;
}



.tab-container.photo .tab-radio ~ .tab{
	background-color:rgba(236,240,241,0.7);
}

.tab-container.photo .tab-radio:checked ~ .tab, .tab-container.photo .tab-radio:hover ~ .tab{
	background-color:rgba(250,250,250,0.7);
	color:rgb(0,0,0);
}




.tab-container.grey label, .tab-container .tab-radio:checked ~ .tab,
.tab-container.grey .tab-radio:active ~ .tab, .tab-container.grey article {
	background:rgb(189,195,199);
	color:#FFF;
}
.tab-container.grey .tab:hover {
	background:rgb(189,195,199);
	color:#FFF;
}
.tab-container.grey article p {
	color:#333;
}

.tab-container.blue label, .tab-container.blue .tab-radio:checked ~ .tab,
.tab-container.blue .tab-radio:active ~ .tab, .tab-container.blue article {
	background:rgb(52,152,219);
	color:#FFF;
}
.tab-container.blue .tab:hover {
	background:rgb(52,152,219);
	color:#FFF;
}
.tab-container.blue article p {
	color:#FFF;
}

.tab-container.orange label, .tab-container.orange .tab-radio:checked ~ .tab,
.tab-container.orange .tab-radio:active ~ .tab, .tab-container.orange article {
	background:rgb(243,156,18);
	color:#FFF;
}
.tab-container.orange .tab:hover {
	background:rgb(243,156,18);
	color:#FFF;
}
.tab-container.orange article p {
	color:#FFF;
}




.tab-container.green label, .tab-container.green .tab-radio:checked ~ .tab,
.tab-container.green .tab-radio:active ~ .tab, .tab-container.green article {
	background:rgb(26,188,156);
	color:#FFF;
}
.tab-container.green .tab:hover {
	background:rgb(26,188,156);
	color:#FFF;
}
.tab-container.green article p {
	color:#FFF;
}



.tab-container.dark label, .tab-container.dark .tab-radio:checked ~ .tab,
.tab-container.dark .tab-radio:active ~ .tab, .tab-container.dark article {
	background:rgb(5,5,5);
	color:#FFF;
}
.tab-container.dark .tab:hover {
	background:rgb(5,5,5);
	color:#FFF;
}
.tab-container.dark article p {
	color:#FFF;
}


.tab-container.pink label, .tab-container.pink .tab-radio:checked ~ .tab,
.tab-container.pink .tab-radio:active ~ .tab, .tab-container.pink article {
	background:rgb(255,131,139);
	color:#FFF;
}
.tab-container.pink .tab:hover {
	background:rgb(255,131,139);
	color:#FFF;
}
.tab-container.pink article p {
	color:#FFF;
}


.tab-label{
	width: 100%;
}


