.pn-tabs-wrap {
	border: solid 1px #c8c8c8;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    margin: 0 auto;
   	margin-top: 20px;
    outline: none;
    padding: 10px;
    position: relative; 
    width: 90%;
}
.pn-tabs-wrap:after {
	border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent #000; 
    content: "";
    margin-top: -6px;
    position: absolute;
        top: 50%;
    	right: 16px;
    width: 0;
    height: 0;   
}
	.pn-tabs-wrap > span {
		text-align: center;
	}
		.pn-tabs-wrap > span i {
			display:block;
			font-style: normal;
			margin: 0;
		}
	.pn-tabs-wrap .pn-tabs {
	    background: #fff;
		font-weight: 200; 
	    list-style: none;
	    margin-top: 1px;
		margin-left: 0;
	    opacity: 0;
	    pointer-events: none;
	    position: absolute;
		    top: 100%;
		    right: 0;
	        left: 0;
	    text-align: center;
	    z-index: 10;
	}
	
	/*
	.pn-tabs-wrap .pn-tabs:after {
  		content: "";
  		display: table;
  		clear: both;
	}
	*/
	
	
		.pn-tabs-wrap .pn-tabs li {
			margin-bottom: 0;
		}
			.pn-tabs-wrap .pn-tabs li a {
			    display: block;
			    text-decoration: none;
			    color: #000;
			    padding: 15px 20px;
			    border: solid 1px #c8c8c8;
			    border-top: 0;
			}
			.pn-tabs-wrap .pn-tabs li:hover a {
			    background: #f1f1f1;
			}
	.pn-tabs-wrap.active .pn-tabs {
	    opacity: 1;
	    pointer-events: auto;
	}
	.pn-tabs-wrap.active:after {
	    border-color: #cccccc transparent;
	    border-width: 6px 6px 0 6px ;
	    margin-top: -3px;
	}
	
/* No CSS3 support */

.no-opacity       ..pn-tabs-wrap .pn-tabs,
.no-pointerevents ..pn-tabs-wrap .pn-tabs {
    display: none;
    opacity: 1;
    pointer-events: auto; 
}

.no-opacity       .pn-tabs-wrap.active .pn-tabs,
.no-pointerevents .pn-tabs-wrap.active .pn-tabs {
    display: block;
}

.pn-tabs {
	list-style: none;
	line-height: 1
}
.pn-tab.active {
	opacity: 1
}
.pn-subtab>a,.pn-subtab-text {
	line-height: 2;
	padding-left: .857142857em;
	padding-right: .857142857em
}
.pn-subtab:first-child>a,.pn-subtab:first-child>.pn-subtab-text,.pn-subtab-first>a,.pn-subtab-first>.pn-subtab-text
	{
	padding-left: 0
}
.pn-subtab+.pn-subtab {
	border-left: 1px solid #ccc
}
.pn-subtab.active>a {
	color: #333
}
.pn-subtab-smaller .arrow {
	margin-left: 3px;
	vertical-align: 1px;
	border-left-width: 4px;
	border-right-width: 4px
}
.js .pn-tab-panel {
	display: none;
	visibility: hidden
}
.js .pn-tab-panel.active {
	display: block;
	visibility: visible
}
.csstransitions .pn-tab-panel.drop {
	opacity: 0;
	-webkit-transform: translateY(50px);
	-moz-transform: translateY(50px);
	-o-transform: translateY(50px);
	transform: translateY(50px);
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	transition: all .2s ease-out
}
.csstransitions .pn-tab-panel.drop.is-in {
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	transform: none
}

@media screen and (min-width: 768px) {
	.pn-tabs-wrap {
		border: none;
		border-bottom: solid 1px #ccc;
		margin-top: 0;
    	padding-bottom: 35px;
		width: 98%;
		max-width: 960px;
	}
	.pn-tabs-wrap:after,
	.pn-tabs-wrap span {
		display: none; 
	}
	.pn-tabs-wrap .pn-tabs {
		margin-top: 0;
		pointer-events: auto;
		position: initial;
		opacity: 1;
	}
	.pn-tabs-wrap .pn-tabs li a {
		border: 0;	
		padding: 7px 20px;
	}
	.pn-tabs-wrap .pn-tabs li:hover a {
		background: none;
	}
	.pn-tab:hover {
	    border-bottom: solid 5px #cccccc;
	}
	.pn-tab {
		float: left;
		margin-right: .5em;
		opacity: .9;
		-webkit-transition: opacity .2s ease-in-out;
		-moz-transition: opacity .2s ease-in-out;
		-o-transition: opacity .2s ease-in-out;
		transition: opacity .2s ease-in-out
	}
	.pn-tab a,.pn-tab .pn-tab-text {
		color: #333;
		font-weight: bold;
		display: block;
		padding: .75em 1.5em .5em;
		text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
		/*background-color: #e5e5e5;*/
		white-space: nowrap;
		-webkit-transition: all 2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		transition: all .2s ease-in-out
	}
	/*.pn-tab a,.pn-tab .pn-tab-text {
		color: #333;
		font-weight: bold;
		display: block;
		padding: .75em 1.5em .5em;
		text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
		background-color: #e5e5e5;
		white-space: nowrap;
		-webkit-transition: all 2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		transition: all .2s ease-in-out
	}*/
	
	/*.pn-tab a:visited {
		color: #333
	}
	
	.pn-tab a:hover,.pn-tab a:focus {
		background-color: #eee
	}*/
	
	.pn-tab.active/* a,.pn-tab.active .pn-tab-text*/ {
		border-bottom: solid 5px #ccc;
	}
}
