@import url('hardcover-reset.css');

/*  ---------------  HARDCOVER FLIP STYLE  ---------------  */
.bb-bookblock {
	width: 400px;
	height: 300px;
	position: relative;
	background: #fff;
	z-index: 100;
}

.bb-page {
	width: 50%;
	height: 100%;
	left: 50%;
	position: absolute;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
}

.bb-page > div,
.bb-outer,
.bb-content {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
}

.bb-content {
	background: #fff;
}

.bb-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.bb-overlay, .bb-outer {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-page > div {
	width: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

.bb-outer {
	width: 100%;
	overflow: hidden;
	z-index: 999;
}

.bb-overlay, 
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1000;
}

.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.2);
}

.bb-bookblock > div.bb-page:first-child,
.bb-bookblock > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.js .bb-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	background: #fff;
}

.js body {
	overflow: hidden;
}

.hardcover-container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.hardcover-container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .hardcover-container {
	padding-left: 240px;
}

.menu-panel {
	background: #0f98db;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
}

.menu-panel ul{
margin: 0px !important;
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.menu-toc {
	list-style: none;
}

ul.menu-toc  {
	list-style: none;
	padding: 0 0 0 0;
}

.menu-toc li a {
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	display: block;
	color: #fff;
	font-size: 17px !important;
	line-height: 3.5 !important;
	padding: 0 20px;
	cursor: pointer;
	background: #0f98db;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #FFF;
	color:#0f98db;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	background: #000000;
	
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #0f98db;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	bottom: 240px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
	background-color: #FFFFFF;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
}

.js .content:after {
	top: auto;
	bottom: 0;
}

.content h2 {
	font-weight: 300;
	font-size: 4em;
	padding: 0 0 10px;
	color: #333;
	margin: 0 1% 40px;
	text-align: left;
	box-shadow: 0 10px 0 rgba(0,0,0,0.02);
	text-shadow: 0 0 2px #fff;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.content p {
	font-size: 1.2em;
	line-height: 1.6;
	font-weight: 300;
	padding: 5px 8%;
	text-align: justify;
	margin: 0 0 0px;
}

@media screen and (max-width: 800px){
.no-js .menu-panel {
	display: none;
}

.no-js .hardcover-container {
	padding: 0;
}
}

@media screen and (max-width: 400px){
.menu-panel,
.content {
	font-size: 75%;
}
}

/*  ---------------  HARDCOVER JS  ---------------  */


.hardcover{
	display:block;
	position:fixed;
	z-index:100000000000 !important;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}
.hardcover.closing .h-content{
	top:100%;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.hardcover.closed{
	height:58px !important;
	/*display:none;*/
	bottom:0px;
	top:inherit;
}

.hardcover.closed .h-content{
	-moz-opacity: 0.00;
	-khtml-opacity: 0.00;
	opacity: 0.00;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=0);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	filter:alpha(opacity=0);
}

.hardcover .h-content{
	display:block;
	position:relative;
	z-index:1;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:#FFF;
}
.hardcover .h-footer{
	display:block;
	position:fixed;
	z-index:10;
	bottom:0px;
	left:0px;
	width:100%;
	height:58px;
	
	text-align:center;
	
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.hardcover.closing .h-footer{		
	/*bottom:-58px;*/
}
.hardcover .h-footer .h-close{
	display:block;
	position:relative;
	margin-top:9px;
	margin-left:auto;
	margin-right:auto;
	width:188px;
	height:39px;


}


/*  ---------------  HARDCOVER LAYOUT  ---------------  */


/*  -----  MENU  -------  */	


#bb-nav-prev{
	display: block;
	position: fixed;
	z-index: 100000;
	width: 30px;
	height: 100%;
	left: 30px;
	background: url('img/h-arrows.png') 0px 50% no-repeat;
	overflow: hidden;
	cursor: pointer;
	opacity: 1;
	top: 0px;
}

#bb-nav-next {
	display: block;
	position: fixed;
	z-index: 100000;
	width: 70px;
	height: 100%;
	right: 0px;
	overflow: hidden;
	cursor: pointer;
	opacity: 1;
	top: 0px;
}


/*  -----  CONTENT  -------  */	

.h-leftBox{
	display:block;
	position:absolute;
	width:50%;
	height:100%;
	top:0px;
	left:0px;
}

.h-rightBox{
	display:block;
	position:absolute;
	width:50%;
	height:100%;
	top:0px;
	right:0px;
}

.h-rightBox.blue{
	background:#263554 !important;
}


.smallTitle{
	display:block;
	position:relative;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size:20px;
	line-height:24px;
	color:#999999;
	margin-bottom:35px;
}
.hardcoverLogo{
	display:block;
	position:absolute;
	width:100%;
	height:60px;
	margin-top:30px;
	z-index:10;
}
.hardcoverLogo:before{
	display:block;
	position:absolute;
	width:100%;
	height:1px;
	background:#EBEBEB;
	top:40px;
	left:0px;
	content:"";
}
.hardcoverLogo span{
	display:block;
	position:absolute;
	width:100%;
	height:60px;
	background: url('img/hardcover-ico-blue.png') 50% 0px no-repeat;
}

.hardcoverLogo.grey span{
	background: url('img/hardcover-ico-grey.png') 50% 0px no-repeat;
}


.padBox{
	display:block;
	position:relative;
	margin:0px auto;
	max-width:465px;
	width:80%;
}
.padBox a.listLink{
	display:block;
	position:relative;
	padding-bottom:14px;
	margin-bottom:14px;
	border-bottom:solid 1px #ebebeb;
	text-decoration:none;
	text-transform: uppercase;
}
.padBox a.listLink:last-child{
	border-bottom:none;
}
.padBox a.listLink p{
	display:block;
	position:relative;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:20px;
	line-height:28px;
	color:#000000;
		-webkit-transition: 0.2s ease-in-out;
		-o-transition: 0.2s ease-in-out;
		transition: 0.2s ease-in-out;
}
.padBox a.listLink small{
	display: block;
	position: relative;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 14px;
	line-height: 24px;
	color: #999999;
}

.textBox{
	display:block;
	position:relative;
	max-width:585px;
	width:80%;
	overflow: hidden;
	height: 100%;
	margin-top: 120px;
}
.textBox p{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:18px;
	line-height:30px;
	color:#333333;
	margin-top:20px;
}
.textBox p span{
	display: inline-block;
	position: relative;
	float: left;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 110px;
	line-height: 70px;
	color: #999999;
	margin-top: 13px;
	margin-right:10px;
}
.textBox p small{
	display: inline-block;
	position: relative;
	float: left;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 18px;
	line-height: 30px;
	color: #2a2a2a;
	font-weight:normal;
	text-transform:uppercase;
	margin-right:10px;
}

.textBox.spis-tresci{
	width:70% !important;

}

.spis-tresci p{
	text-align: left !important;
}

#hardcover_scroll {
	height: 100%;
}

.borderTitle{
	display:block;
	position:relative;
	margin-top:0px;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 18px;
	line-height: 30px;
	color: #2a2a2a;
	font-weight:normal;
	text-transform:uppercase;
	padding-top:30px;
	border-top:solid 6px #EBEBEB;
}

.btnBox{
	display:block;
	position:relative;
	margin-top:40px;
	text-align:center;
}
.btn-more{
	display:inline-block;
	position:relative;
	padding:0px 55px;
	height:46px;
	line-height:44px;
	border:solid 1px #ECECEC;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 17px;
	color:#333333;
	text-transform:uppercase;
	text-decoration:none;
}

.btn-more .arrow{
	display:inline-block;
	position:relative;
	margin-left:15px;
	height:17px;
	width:17px;
	background: url('img/h-more-arrow.png') 50% 50% no-repeat;
	top:2px;
}
.btn-more .arrow.white{
	background: url('img/h-more-arrow-white.png') 50% 50% no-repeat;
}


.georgia *{
	font-family: 'Georgia', sans-serif !important;
}

.doubleBorderTitle{
	padding:40px 5px;
	display:block;
	position:relative;
	border-top:solid 4px #2A2A2A;
	border-bottom:solid 4px #2A2A2A;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size:18px;
	line-height:30px;
	color:#333333;
	font-weight:normal;
}

.coverImage{
	display:block;
	position:absolute;
	z-index:0;
	top:0px;
	left:0px;
}

.h-rightBox.blue {
	background:#263554 !important;
}

.customScroller{
	display: block;
	position: absolute;
	width: 100%;
	max-height: 800px;
	margin-top:120px;
}

.mCSB_inside > .mCSB_container{
	margin-right:0px;
}

.mCSB_scrollTools{
	opacity:1;
}
.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	background:rgba(0,0,0,0.1);
	width:8px;
}
.mCS-dark.mCSB_scrollTools .mCSB_draggerRail{
	background:rgba(0,0,0,0.1);
	width:8px;
}



@media (max-width: 1023px) {
.hardcover, .js .bb-item{
	width:100% !important;
	position:absolute !important;		
}
.h-leftBox, .h-rightBox, .coverImage, .h-leftBox img, .customScroller {
	display:block !important;
	position:relative !important;
	width:100% !important;
	height:inherit !important;
	float:none !important;
	left:inherit !important;
	right:inherit !important;
}

.textBox{
	padding-bottom: 100px !important;
}

.customScroller{
	margin-top:60px;
}
.h-rightBox{
}
.js .content{
	position:relative !important;
	overflow:visible !important;
}

.hardcoverLogo{
	display:block !important;
	position:relative !important;
}

.h-leftBox .hardcoverLogo{
	display:none !important;
}
.btn-more{
	height: inherit !important;
	padding: 0px 35px !important;
	font-size: 12px !important;
}


}
