
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13.10.2015, 14:54:59
    Author     : Black box
*/


.content-wrap {
	position: relative;
        
       
}

.content-wrap section {
	display: none;
	margin: 0 auto;
	padding: 1em;
	max-width: 1200px;
        
        min-height: 300px;
        
        
}

.content-wrap section.content-current {
	display: block;
}




/********************/
/********************/
/********************/








.tabs-polni nav li:last-child::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgb(236, 28, 36);
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
        
        z-index: 600;
}






.tabs-polni nav ul li a {
	padding: 8px 0;
	border-right: 1px solid rgba(147, 149, 152, 1);
	
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
        
        text-decoration: none;

        
        
        
}

.tabs-polni nav ul li:last-child a {
	border: none;
}

.tabs-polni nav ul li {
    
    /* border-bottom: 4px solid transparent;
    */
}

.tabs-polni nav ul li.tab-current {
	 /*z-index: 100;
        
       border-bottom: 4px solid #222;    */
}

.tabs-polni nav ul li.tab-current a {
	color: #fff;
        
        
}
.tabs-polni nav ul li.tab-current a:hover {
	color: #eee;
}

.tabs-polni nav ul li a:hover {
    
    color: rgb(236, 28, 36);
    	-ms-transition: color 0.3s;
    	-webkit-transition: color 0.3s;
	transition: color 0.3s;

    
}


.tabs-polni nav ul li a::after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	height: calc(100% + 1px);
	border: 1px solid rgba(147, 149, 152, 1);
	background: rgba(147, 149, 152, 1);
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

.tabs-polni nav ul li.tab-current a::after {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.tabs-polni nav ul li a span,
.tabs-polni .icon::before {
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transform: translate3d(0,5px,0);
	transform: translate3d(0,5px,0);
}

.tabs-polni nav ul li a span {
	display: block;
	font-weight: 700;
	
}

.tabs-polni .icon::before {
	display: block;
	margin: 0;
        line-height: 2;
}

.tabs-polni nav ul li.tab-current a span,
.tabs-polni li.tab-current .icon::before {
	-webkit-transform: translate3d(0,-7px,0);
	transform: translate3d(0,-7px,0);
}



.tabs-polni nav li:first-child.tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-300%,0,0);
	transform: translate3d(-300%,0,0);
}

.tabs-polni nav li:nth-child(2).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-200%,0,0);
	transform: translate3d(-200%,0,0);
}

.tabs-polni nav li:nth-child(3).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.tabs-polni nav li:nth-child(4).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}


/*



***/

/* Default tab style */


.tabs {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	font-weight: 300;
}

/* Nav */
.tabs nav {
	text-align: center;
}

.tabs nav ul {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	margin: 0 auto;
	padding: 0;
	max-width: 1200px;
	list-style: none;
	-ms-box-orient: horizontal;
	-ms-box-pack: center;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

.tabs nav ul li {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0;
	text-align: center;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.tabs nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
        
        color: #74777b;
}

.tabs nav a span {
	vertical-align: middle;
}

.tabs nav li.tab-current a {
	color: #74777b;
}

.tabs nav a:focus {
	outline: none;
}