/*		
	Tunel Spasa
	Style page
	
	Copyright (c) 2015 apyGO
	71000, Sarajevo
	Bosnia and Hercegovina
	+387.63.697.680
	http://apygo.com
	info@apygo.com
	
	This program is copyrighted; you can't redistribute it and/or
	modify it under any circumstances.
	All rights reserved.
	
	Revision
	No.		User					Date			Description
	=================================================================================================================
	1.		Dragomir Vučković		19.12.2015		Creation of style page
*/


/*===========================================
	Body, html and generals
===========================================*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, and, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select {
	background: transparent;
	border: 0;
	font-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	margin: 0;
    width: 100%;
	font-weight: normal; 
	font-size: 12px; 
	background: #FFF; 
	color: #000; 
	background: url(../images/favicon/body.jpg) repeat;
}
body, html {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	overflow: hidden;
}

/* Box sizing */
*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Fonts */
body, input[type=text], input[type=password], input[type=email], input[type=tel], input.text, textarea, input[type=submit], .mobile-menu, h4.border-title, .location h4, .button.ico, blockquote:before { 
	font-family: 'Open Sans', sans-serif; 
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: 'Open Sans', sans-serif; 
}

/* Paragraf */
p {
	margin-bottom: 15px;
}
p b {
	color: #f80000;
}
b {
	color: #f80000;
}
.img-right {
	display: block; 
	float: right; 
	margin-left: 20px; 
	padding-bottom: 20px;
}
.img-left {
	display: block; 
	float: left; 
	margin-right: 20px; 
	padding-bottom: 20px;
}

/* Clear float elements*/
.clear {
  clear: both;
}

/* Links */
.a-link {
	cursor: pointer;
}
.a-link:hover {
	text-decoration: underline;
}

/* Tables */
table {
    border-collapse: collapse;
	border: 1px solid #CCC; 
}
td + td, th + th { 
	border-left: 1px solid #CCC; 
} 
tr + tr { 
	border-top: 1px solid #CCC; 
}
table td, table th {
	padding: 7px;
	vertical-align: middle;
}
table th {
	text-align: center;
	color: #FFF;
	background: #F84346;
	font-weight: bold;
}
table td {
	text-align: left;
}
table td.tdleft {
	text-align: left !important;
}
table td.tdright {
	text-align: right !important;
}
table th.tdright {
	text-align: right !important;
}
table.tcenter td {
	text-align: center;
}

/* Bullets */
ol {
	counter-reset: foo;
    display: table;
	margin-bottom: 10px;
}
ol.padding {
	padding-left: 20px;
}
ol > li {
    margin: 0;
    padding: 0;
	list-style: none;
    counter-increment: foo;
    display: table-row;
}
ol > li::before {
    content: "\2022";
    display: table-cell;
    text-align: right;
    padding-right: .3em;
}

/*===========================================
	Inputs
===========================================*/
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea {
	width: 100%;
	background: #FFF; 
	border: 1px solid #999;
	border-radius: 5px; 
	color: #000;
	padding: 10px; 
	margin-bottom: 10px;
	display: block; 
	font-size: 12px; 
}
.button {
	background: #f80000;
	color: #FFF; 
	text-transform: capitalize; 
	margin: 0;
	font-size: 14px; 
	padding: 11px 20px;
	border: 1px solid #999;
	text-align: center;  
	cursor: pointer; 
	border-radius: 5px;
	-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;
}
.button:hover {
	color: #FFF;
	background: #e80d0d;
	-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;
}
.select-style {
    padding: 0;
    margin: 0 0 0 20px;
    border: 1px solid #ccc;
    width: 140px;
    border-radius: 3px;
    overflow: hidden;
    background-color: #fff;
    background: #FFF url(../images/select/arrowdown.gif) no-repeat 90% 50%;
}
.select-style select {
    padding: 0px 8px;
    width: 100%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
	color: #000;
}
.select-style select:focus {
    outline: none;
}	

/*===========================================
	Loader
===========================================*/
#loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 16777270;
}
#loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #3498db;
	-webkit-animation: spin 2s linear infinite;	
	animation: spin 2s linear infinite;	
	z-index: 16777271;
}
#loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #e74c3c;
	-webkit-animation: spin 3s linear infinite;	
	animation: spin 3s linear infinite;
}
#loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #f9c922;
	-webkit-animation: spin 1.5s linear infinite;	
	animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);		
		-ms-transform: rotate(0deg);		
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);		
		-ms-transform: rotate(360deg);		
		transform: rotate(360deg);
	}
}
@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);		
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
#loader-wrapper .loader-section {
	position: fixed;
	top: 0;
	width: 50%;
	height: 100%;
	z-index: 16777270;
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}
#loader-wrapper .loader-section.section-left {
	left: 0;
	background-color: #0e5478;
	background-image: url(../images/favicon/logo-left.png), url(../images/favicon/body.jpg);
	background-repeat: no-repeat, repeat;
	background-position: right center, top left;
}
#loader-wrapper .loader-section.section-right {
	right: 0;
	background-color: #0e5478;
	background-image: url(../images/favicon/logo-right.png), url(../images/favicon/body.jpg);
	background-repeat: no-repeat, repeat;
	background-position: left center, top left;
}
.loaded #loader-wrapper .loader-section.section-left {
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader-wrapper .loader-section.section-right {
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: all 0.3s 1s ease-out;
	transition: all 0.3s 1s ease-out;
}
.no-js #loader-wrapper {
	display: none;
}
.progress{
	background-color: rgba(255, 64, 129, 0.22);
}

/*===========================================
	Content
===========================================*/
#page-content {
	max-width: 980px;
	height: auto;
	box-shadow: 0px 0px 20px 0px #000000;
	margin: 0 auto;
	overflow: hidden;
	background: #FFF;
}
#main-content {
	width: 100%;
	overflow: hidden;
}
.single_content {
	text-align: justify;
	color: #000;
}
.docs {
	margin-bottom: 10px;
}
.docs span {
	display: inline-block;
	padding: 8px 0 10px 40px;
	background: url(../images/favicon/file.png) left center no-repeat;
	cursor: pointer;
}
.docs span:hover {
	color: #4490c8;
	text-decoration: underline;
}

/*===========================================
	Header
===========================================*/
header#header-main {
	width: 100%;
	height: auto;
}
#header-blue {
	width: 100%;
	padding: 5px 0 5px 0;
	background: #143960;
}
#header-social {
	max-width: 980px;
	margin: 0 auto;
	padding-right: 15px;
	height: auto;
	color: #FFF;
    font-size: 12px;
}
#header-social #header-follow {
	height: auto;
	margin-top: 2px;
	float: right;
}
#header-social #header-language {
	float: right;
}
.header-social-icon {
	display: block;
	width: 12px;
	height: 12px;
	margin: 3px 0 0 8px;
	float: left;
	-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;
	cursor: pointer;
}
.header-social-icon:hover {
	opacity: 0.6;
	-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;
}
.facebook {
	background-image: url(../images/social/facebook.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.twitter {
	background-image: url(../images/social/twitter.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.instagram {
	background-image: url(../images/social/instagram.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.google {
	background-image: url(../images/social/google.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.linkedin {
	background-image: url(../images/social/linkedin.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.youtube {
	background-image: url(../images/social/youtube.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
#tunelspasa-logo {
	max-width: 980px;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 0;
}

/*===========================================
	 Slider
===========================================*/
#slider-wrapper {
	margin: 0 auto;
	padding: 0;
	max-width: 980px;
}

/*===========================================
	 Footer
===========================================*/
.footer-content {
	width: 100%;
	height: 75px;
	background: #FFF;
}
.footer-inner {
	max-width: 980px;
	height: 75px;
	margin: 0 auto;
	padding: 0 15px 0 15px;
	color: #485f88;
}
.footer-box-left {
	margin: 10px 20px 10px 0;
	float: left;
}
.footer-box-left a {
	color: #485f88;
}
.footer-box-left a:hover, .footer-box-left a:active, .footer-box-left a:visited, .footer-box-left a:focus {
	color: #485f88;
}
.footer-box-right {
	width: 60px;
	height: 60px;
	margin-top: 8px;
	background: url(../images/favicon/favicon.png) no-repeat;
	background-size: cover;
	float: right;
}

/*===========================================
	 News
===========================================*/
.home-news-content {
	width: 100%;
	height: auto;
	background: #FFF;
}
.seg-title-reverse {
	padding-top: 0;
}
#news_container {
	max-width: 980px;
	margin: 0 auto;
	color: #000;
	overflow: hidden;
}
#news_inner {
	position: relative;
	min-height: 200px;
	overflow: hidden;
	background: #FFF;
	padding: 30px 60px 0 60px;
}
#news_inner > div > .tab-pane {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 30px;
}
.tab-pane > ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tab-pane > ul > li {
    float: left;
	border-right: 6px solid #FFF;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	background-position: center top;
    background-size: auto 100%;
	background-repeat: no-repeat;
}
.tab-pane > ul > li > a {
	display: block;
	max-width: 100%;
    height: auto !important;
}
.tab-pane > ul > li > a > .tab-pane-content {
	display: block;
	width: 100%;
	height: 200px;
	margin-right: 10px 10px 10px 0;
    white-space: normal;
	-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;
	cursor: pointer;
}
.tab-pane.multi-tab-pane > ul > li > a > .tab-pane-content {
	height: 200px !important;
}
.tab-pane a > .tab-pane-content {
	position: relative;
}
.tab-pane a > .tab-pane-content .news-date {
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px 20px 10px 20px;
	background: url(../images/news/news-white.png);
	color: #1C355E;
}
.tab-pane a > .tab-pane-content .news-date span {
	display: block; 
	text-align: center; 
	font-size: 20px; 
	font-weight: bold;
}
.tab-pane a > .tab-pane-content .news-date > span + span { 
	font-size: 12px !important; 
}
.tab-pane a > .tab-pane-content .news-title {
	position: absolute;
	left: 60px;
	right: 0;
	bottom: 20px;
	padding: 10px 20px 10px 20px;
	background: url(../images/news/news-white.png);
	color: #1C355E;
	text-align: right;
	font-size: 14px;
}
.nloading {
	display: none;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: 100000;
	background: #FFF;
}
.nloading img {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 100099;
	margin-top: -22px;
	margin-left: -22px;
}
.tab-pane-control-prev, .tab-pane-control-next {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    width: 13px;
    height: 25px;
    text-align: center;
    text-decoration: none;
	cursor: pointer;
}
.tab-pane-control-prev {
    left: 20px;
	background: url(../images/news/left-arrow.png) no-repeat;
}
.tab-pane-control-next {
    right: 20px;
	background: url(../images/news/right-arrow.png) no-repeat;
}
.tab-pane-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
	z-index: 99991;
}
.tab-pane-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    height: 15px;
    width: 15px;
    line-height: 15px;
    background: #1C355E;
    color: #4E443C;
    border-radius: 15px;
    text-indent: -9999px;
    margin-right: 10px;
    -webkit-box-shadow: 0 0 2px #4E443C;
    -moz-box-shadow: 0 0 2px #4E443C;
    box-shadow: 0 0 2px #4E443C;
}
.tab-pane-pagination a.active {
    background: #640C0D;
    color: #fff;
    opacity: 1;
    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}

/*===========================================
	 Sponsorship
===========================================*/
#sponsorship-content {
	width: 100%;
	height: auto;
	background: #485f88;
}
#sponsorship-inner {
	max-width: 980px;
	padding: 30px;
}
.sponsorship-links {
	width: 33.33%;
	height: auto;
	text-align: center;
	float: left;
}

/*===========================================
	 Segment
===========================================*/
.seg_content {
	width: 100%;
	height: auto;
	background: #485f88;
}
.seg_content-reverse {
	background: #FFF;
}
.seg-title {
	padding-top: 20px;
	padding-left: 30px;
	font-size: 25px;
	color: #485f89;
}
.seg-title-reverse {
	color: #FFF;
}
.seg-inner {
	position: relative;
	max-width: 980px;
	padding: 15px 30px 30px 30px;
	color: #FFF;
}
.seg-inner-single {
	position: relative;
	max-width: 980px;
	padding: 0;
	color: #FFF;
}
.seg-float {
	width: 50%;
	padding: 5px 0 25px 0;
	float: left;
	font-size: 16px;
}
.seg-float-black {
	width: 50%;
	padding: 5px 0 25px 0;
	float: left;
	font-size: 16px;
	color: #000;
}
.seg-float span {
	font-size: 20px;
}
.seg-multimedia {
	position: absolute;
	width: 25px;
	height: 35px;
	bottom: 40%;
	right: 10%;
	background: url(../images/favicon/map.png) no-repeat;
	cursor: pointer;
}
.seg-tunel {
	position: absolute;
	width: 25px;
	height: 35px;
	top: 13%;
	left: 48%;
	background: url(../images/favicon/map.png) no-repeat;
	cursor: pointer;
}
.seg-tunel1 {
	position: absolute;
	width: 25px;
	height: 35px;
	bottom: 48%;
	left: 6%;
	background: url(../images/favicon/map.png) no-repeat;
	cursor: pointer;
}
.seg-backyard {
	position: absolute;
	width: 25px;
	height: 35px;
	bottom: 52%;
	right: 30%;
	background: url(../images/favicon/map.png) no-repeat;
	cursor: pointer;
}
.seg-museum {
	position: absolute;
	width: 25px;
	height: 35px;
	bottom: 52%;
	left: 16%;
	background: url(../images/favicon/map.png) no-repeat;
	cursor: pointer;
}

/*===========================================
	Masonry
===========================================*/
.masonry_grid {
	margin-top: 10px;
}
.masonry_grid figure {
	width: 32.7%;
	height: auto;
	opacity: 1;
	background: #fefefe;
	border: 1px solid #999;
	margin: 0 3px 3px;
	padding: 10px;
	padding-bottom: 10px;
	cursor: pointer;
}
.masonry_grid.gallery figure {
	width: 32.7%;
	height: auto;
	opacity: 1;
	background: #fefefe;
	border: none;
	margin: 0 3px 3px;
	padding: 0;
	padding-bottom: 0;
	cursor: pointer;
}
.masonry_grid figure a {
	text-decoration: none;
}
.masonry_grid figure img {
	width: 100%; 
	height: auto;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 5px;
}
.masonry_grid.gallery figure img {
	width: 100%; 
	height: auto;
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.masonry_grid figure figcaption {
	font-size: 14px;
	color: #444;
	line-height: 1.5;
}
.masonry_grid figure .news-date {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 20px 8px 20px;
	background: url(../images/news/news-white.png);
	color: #1C355E;
}
.masonry_grid figure .news-date span {
	display: block; 
	text-align: center; 
	font-size: 28px; 
	font-weight: bold;
}
.masonry_grid figure .news-date > span + span { 
	font-size: 12px !important; 
}
.masonry_grid figure:hover a figcaption {
	text-decoration: underline;
}

/*===========================================
	Responsive
===========================================*/
@media only screen and (max-width: 954px) {
	.masonry_grid figure {
		width: 49.3%;
	}
	.masonry_grid.gallery figure {
		width: 49.3%;
	}
}
@media only screen and (max-width: 846px) {
	.masonry_grid figure {
		width: 99.3%;
	}
	.masonry_grid.gallery figure {
		width: 99.3%;
	}
}
@media only screen and (max-width: 857px) {
	.footer-box-right {
		display: none;
	}
}

@media only screen and (max-width: 797px) {
	.footer-inner .middle {
		display: none;
	}
	.footer-box-right {
		display: block;
	}
	.footer-small {
		display: block !important;
	}
	.footer-big {
		display: none;
	}
}
@media only screen and (max-width: 778px) {
	.seg-backyard {
		position: absolute;
		width: 25px;
		height: 35px;
		bottom: 80%;
		right: 30%;
		background: url(../images/favicon/map.png) no-repeat;
		cursor: pointer;
	}
}
@media only screen and (max-width: 700px) {
	.sponsorship-links {
		width: 100%;
		float: none !important;
	}
	.sponsorship-links:first-child {
		margin-bottom: 35px;
	}
}
@media only screen and (max-width: 500px) {
	.animated-arrow{
		top: 0px;
	}
	.footer-box-right {
		display: none;
	}
}

