html {
  position: relative;
  height: 100%;
}

body {
  height: 100%;
  background: #dcdcdc;
  font-family: 'Source Sans Pro', sans-serif;  
  color: #555;
  transition: 0.3s;
}

h1, h2, h3, h4 {
	color: #000;
}

h1, h4 {
	font-weight: bold;
}

h1.small {
	font-size: 110%;
	text-transform: uppercase;
	margin: 15px 0 15px;
}

img {
	max-width: 100%;
}

mark {
    background: #fff5ba none repeat scroll 0 0;
    border-radius: 4px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 0 2px;
}

.uppercase {
	text-transform: uppercase;
}


/* Bootstrap */


.btn {
	border-radius: 0;
}

.btn-primary {
	background: #42adde;
	border: 0;
}

.navbar-toggle .icon-bar {
    background: #999;
    border-radius: 2px;
    height: 4px;
    margin-bottom: 7px;
    width: 30px;
}

.navbar-toggle {
	padding: 10px 0;
	margin-top: 10px;
}

.page-header {
	margin-top: 0;
	border-bottom: none;
}

/* Layout */

.layout-top {
	position: relative;
	width: 100%;
	z-index: 100;
	margin-bottom: 1px;
}

.layout-top.fixed {
	position: fixed;	
}

.navbar-brand {
	overflow: hidden;
	width: 130px;
	height: 100px;	
	margin-top: -10px;
	padding: 0;
}

.navbar-brand img {
	height: 100%;
}

.navbar {
	background: #fff;
	border-radius: 0;
	padding:20px 30px 0 15px;
	border: 0;	
	margin-bottom: 0;
}

.navbar .top {
	float: right;		
	margin-right: -15px;
	display: flex;
	align-items: center;
}

.navbar .top input {
	border: 1px solid #9f9f9f;
	padding: 3px;
	background: #fff url("../images/layout/search.png") right center no-repeat;
}

.navbar .top form,
.navbar .top a {
	display: block;
	float: left;
	margin-left: 15px;
}

.navbar .top .btn {
	width: 28px;
	height: 28px;
	line-height: 28px;
    padding: 0;	
}

.navbar .top .wcag {
	background-image: url("../images/layout/wcag.png");
	background-position: center center;
	background-repeat: no-repeat;	
}

.navbar .top .ue img {
	height: 40px;
}


.navbar-nav {
	clear: right;
	margin-left: -15px;
}

.navbar-nav > li > a {
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
	padding: 25px 0;
	margin-left: 25px;
	letter-spacing: 1px;
}

.navbar-nav > li.active > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
	background: transparent;
	border-bottom: 5px solid #42adde;
	padding-bottom:20px;
}

.sidebar {
	padding-top: 10px;
	padding-bottom: 20px;
}

.sidebar ul.vertical-menu {
	margin: 0 0 25px;
}

.sidebar .vertical-menu a {
	padding-left: 25px;
}

ul.vertical-menu {
	margin: 10px 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #c2c2c2;
}

ul.vertical-menu a {
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid #c2c2c2;
	color: #000;
	transition: 0.3s;
	font-style: italic;
}

ul.vertical-menu .active > a,
ul.vertical-menu a:hover {
	padding-left: 25px;
	color: #fff;
	background: #42adde;
	transition: 0.3s;
	text-decoration: none;
}

ul.vertical-menu ul {
	list-style: none;
}

ul.vertical-menu ul a {
	border-bottom: 0;
	padding: 4px 0;
}

.breadcrumbs {
	display: inline-block;
	margin-bottom: 1px;
	background: rgba(255, 255, 255, 0.5);	
}

.breadcrumbs a,
.breadcrumbs span {
	color: #000;
	padding: 10px;
	display: inline-block;
}

.breadcrumbs .separator {
	width: 10px;
	height: 10px;
	padding: 0;
	background: url('../images/layout/breadcrumb-separator.png') center center no-repeat;
}

.below-columns {
	padding: 50px 0;
	border-top: 1px solid #ccc;
	margin-top: 50px;
}

.footer {
	padding-bottom: 50px;
	background-color: #424242;
	color: #fff;
}

.footer .row {
	padding-top: 80px;
	padding-bottom: 40px;
}

.footer .date {	
	float: right;	
}

.footer .logo {
	height: 40px;
	width: 228px;
	background: url('../images/layout/logo.png') center center no-repeat;
}	

.footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer ul a {
	display: block; 
	color: #fff;
	padding: 9px 0;
	text-transform: uppercase;
	font-size: 80%;
}

.footer .newsletter {
	padding-top: 30px;
}

.footer .newsletter form {
	display: block;
	position: relative;
	height: 30px;
	padding-right: 30px;
}

.footer .newsletter input {
	border: 0;
	background: #fff;
	color: #000;
	padding: 4px;
	float: left;	
	height: 30px;
}

.footer .newsletter input[type=submit] {
	width: 30px;
	position: absolute;
	top: 0;
	right: 0;
}

.footer .newsletter input[type=text] {
	width: 100%;
}

.footer .apps {
	margin-top: 25px;
}

.footer .apps a {
	display: inline-block;
	margin: 0 10px 15px 0;
}

.footer .social {
	margin-top: 20px;
}

.footer .social span {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	background: url('../images/layout/social.png');
}

.footer .social .twitter span {
	background-position: -20px 0;
}

.footer .social .youtube span {
	background-position: -40px 0;
}

.footer .social .nk span {
	background-position: -60px 0;
}

.footer ul.links {
	margin: 0 -15px;
}

.footer ul.links li {
	float: left;
	width: 50%;
	padding: 0 15px;
}

.footer .creator {
	display: inline-block;
	margin-left: 15px;
	padding-left: 15px;
	border-left: 1px solid #888;
	color: #fff;
}

.footer .creator a {
	color: #fff;
}

.footer h4 {
	color: #fff;
    font-size: 110%;
    margin-bottom: 15px;
}

.outer-container {
	position: relative;
	z-index: 5;	
	width: 1350px;
	margin: 0 auto;
}

.popular h2 {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 20px;
    text-align: left;
}

.popular ul {
	margin-bottom: 25px;
}

.magazine-cell {
    float: left;
    font-size: 12px;
    height: 150px;
    text-align: center;
    width: 120px;
}

.magazine-cell img {
    border: 1px solid #ccc;
    box-shadow: 2px 2px 2px #ddd;
    display: block;
    height: 100px;
    margin: 10px auto;
    padding: 2px;
}

.clear {
	clear: both;
}

@media (max-width:1199px) {
	.outer-container {
		width: 100%;
	}
}

@media (min-width: 1200px) and (max-width:1400px) {
	.outer-container {
		width: 1170px;
	}
}


.main-container {
	background: #fff;
	padding-top: 20px;
	/* margin-top: 118px; */
	padding-bottom: 50px;
}
	

/* Elements */

h1.top, h2.top, h3.top, h4.top {
	margin-top: 0;
}

.ts-map {
	height: 300px;
	margin: 20px 0;
}

.ts-map .leaflet-marker-icon.map-marker {
	margin-top: -38px !important;
}

.carousel {
    background: none repeat scroll 0 0 #eee;
    height: 300px;
    margin-bottom: 20px;
}

.carousel .item {
    background: url("../images/layout/blank.png") no-repeat scroll center center / cover rgba(0, 0, 0, 0);
    height: 300px;
}


div.more {
	padding: 20px;
	text-align: center;
}

div.more a {
	display: inline-block;
	padding: 10px 20px;
	border: 2px solid #000;
	text-decoration: none;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.gallery {
	padding: 20px 0;
}

.gallery a {
	margin: 0 5px 5px 0;
	display: inline-block;
}

.gallery-one {
	padding: 20px 0;
}

.gallery-one .photo {
	height: 300px;
	position: relative;
	background: center center no-repeat #ccc;
	background-size: cover;
}

.gallery-one .glass {
	position: absolute;
	background: rgba(255, 255, 255, 0.8);
	bottom: 0;
	left: 0;
	padding: 15px;
	width: 40%;
}

.gallery-one .glass a {
	display: inline-block;
	color: #000;
	border: 2px solid #000;
	margin-top: 10px;
	padding: 10px 25px;
}

.wiget-text-photo {
	margin: 20px 0;
	height: 450px;
	position: relative;
	background: center center no-repeat #ccc;
	background-size: cover;
}

.wiget-text-photo .glass {
	position: absolute;
	background: rgba(255, 255, 255, 0.8);
	bottom: 0;
	left: 0;
	padding: 15px;
	width: 100%;
	display: block;
	color: #444;
	transition: 0.3s;	
}

.wiget-text-photo .glass:hover {
	background: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: 0.3s;
}

.wiget-text-photo .glass h2 {
	margin: 0 0 10px;
}

img.frame {
	border: 1px solid #ccc;
	padding: 2px;	
}

.bip-items {
	margin: 10px 0 25px;
	border-top: 1px solid #ccc;
}

.bip-items .bip {
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}

.bip-items .text {
	padding: 7px 0;
	color: #000;
	display: inline-block;
}

.bip-items .btn {
	float: right;
	margin-left: 10px;
}

/* Home */


.office-block {
	margin-bottom: 70px;
}

.office-block .vertical-menu {
	font-style: italic;
}


/* Items */

.items .item-cell .photo {
	height: 200px;
    width: 200px;
	float: left;
	background: center center no-repeat #ccc;
	background-size: cover;
	display: block;
}


.items .item-cell {
	padding: 10px 0;
	height: auto;
	clear: both;
}


.items .item-cell .content {
	width: auto;
	float: none;
	margin-left: 200px;	
	padding: 0 15px;	
}

.items .item-cell.no-photo .content {
	margin-left: 0;
	padding-left: 0;
}

.items .item-cell h3 {
	margin-top: 5px;
}

.items .item-cell h3 a {
	color: #000;
}


	
.item-view .thumb {
	height: 150px;
	display: block;
	margin-bottom: 10px;
	background: center center no-repeat #ccc;
	background-size: cover;
}

.item-view h3  {
	font-size: 1.2em;
	font-weight: bold;
	margin: 4px 0;
}

.item-view a {
	color: #000;
}

.item-view .address {
	color: #5b5b5b;
	padding: 15px 0;
}

/*

.categories {
	background: #eae9e8;
	overflow: hidden;
}


.categories h2 {
	font-weight: 300;
	padding: 10px 15px;
}

.categories ul {
	list-style: none;
	padding: 0 0 10px;
}

.categories li a {
	color: #000;
	font-size: 22px;
	padding: 7px 15px;
	display: block;
}

.categories li.selected a,
.categories li a:hover {
	background: #fff;
	text-decoration: none;
}

.categories a > .icon {
	background: none no-repeat scroll center center #16bdf9;
	border-radius: 50%;
	width: 44px;
	height: 44px;	
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
}

*/

.list-view .pager {
	clear: both;
	text-align: center;
	padding: 20px 0;
}

.list-view .pager .last,
.list-view .pager .first {
	display: none;
}

.list-view .pager .previous > a,
.list-view .pager .next > a {
	float: none;
}

.list-view .pager li > a {
	border: none;
	color: #999999;
}

.list-view .pager li.selected > a {
	color: #555;
	font-weight: bold;
}


/* ITEM DETAIL */

.carousel {
  height: 400px;
  margin-bottom: 20px;
  background: #eee;
  box-shadow: 0 0 10px #ddd inset;
}

.carousel .item {
  background: url('../images/layout/blank.png') center center no-repeat;
  background-size: contain;
  height: 400px;
}

.carousel .item.horizontal {
  background-size: cover;
}
.carousel .carousel-control {
	background: none;
}


.item-map {
	height: 300px;
	margin-bottom: 20px;
	margin-top: 0;
}

.item-detail .contact .address {
	margin-bottom: 10px;
}

.item-detail .gallery-one .photo {
	height: 400px;
}

.container-hidden {
	overflow: hidden;
	height: 0;
}

.item-detail .contact {
	margin-bottom: 20px;
	font-size: 1.2em;
	line-height: 150%;
}

.item-detail .contact a {
	color: #555;
}


.item-detail .item-description {
	padding: 10px 0 20px;
	font-size: 16px;
}

.item-detail .carousel {
	margin-bottom: 10px;
}

.trip-data span {
	display: inline-block;
	margin-right: 15px;
	font-weight: bold;
}

.trip-objects {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
	height: 180px;
}

.trip-objects .wrapper {
	position: absolute;
	height: 150px;
	display: table;
}

.trip-objects a.item {
	display: inline-block;	
	width: 150px;
	padding: 0 1px;
}

.trip-objects .next,
.trip-objects .prev {
	display: table-cell;
	width: 32px;
	display: block;
	position: absolute;
	height: 150px;
	z-index: 10;
}

.trip-objects .next span,
.trip-objects .prev span {
	position: absolute;
	background: url(../images/layout/arrows.png);
	width: 18px;
	height: 50px;
	top: 50px;
	left: 8px;
}
.trip-objects .next:hover {
	transition: 0.5s;
	background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); 
}
.trip-objects .prev:hover {
	transition: 0.5s;
	background: linear-gradient(to right, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
}


.trip-objects .next {
	right: 0;
}
.trip-objects .next span {
	background-position: -18px 0;
}

.trip-objects .photo {
	background: url(../images/layout/blank.png) center center no-repeat #eee;
	display: block;
	height: 150px;
}


.trip-objects .title {
	display: block;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	color: #000;
	text-overflow: ellipsis;
	padding: 0 5px;
	text-align: center;
}

.article-detail .thumb {
	padding: 10px 0;
	text-align: center;
} 

.article-detail .date {
	text-align: right;
	color: #999;
	font-style: italic;
}

.article-detail iframe {
	max-width: 100%;
}

.article-view {
	margin-bottom: 15px;
}

.article-view .date {
	color: #000;
}

.item-view a,
.article-view a {
	color: #000;
}


.article-cols .article-view .thumb {
    background: #ccc none no-repeat scroll center center / cover ;
    display: block;
    height: 150px;
    margin-bottom: 10px;
}
.article-cols .article-view .category {
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}
.article-cols .article-view h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 4px 0;
}
.article-cols .article-view p {
    color: #5b5b5b;
}


/* Poll */

.poll-question ul {
	list-style: none;
	padding-left: 2rem;
	position: relative;
}

.poll .amount {
	margin-bottom: 10px;
}

.poll-options li {
	clear: both;
}

.poll-options li input[type=radio],
.poll-options li input[type=checkbox] {
	position: absolute;
	left: 0;
}

.poll-options li label {
	display: block;
}

.poll .error {
	color: red;
}

.gap {
	height: 50px;
}

/* Hight contrast */

body.contrast {
	background: #fff;
	font-size: 18px;
	transition: 0.3s;
	color: #000;
}

body.contrast .navbar .top a {
	background-color: #000;	
}

body.contrast .breadcrumbs {
	border: 2px solid #000;
	border-width: 2px 0;
	display: block;
	margin: 10px 15px 0;
}

body.contrast ul.vertical-menu {
	border-top: 2px solid #000;
}

body.contrast ul.vertical-menu a {
	border-bottom: 2px solid #000;
}

body.contrast ul.vertical-menu .active > a,
body.contrast ul.vertical-menu a:hover {
	color: #000;
	background: #FFD800;
}

body.contrast .footer {
    background-color: #000;
}

body.contrast .items .item-cell h3 a {
	color: #000;
}


/*

xs < 768px
sm < 992px
md < 1200px
lg > ...  

*/



@media (max-width: 767px) {
	.navbar {
		padding: 10px;
	}
	.navbar .top form, .navbar .top a {
		margin: 2px;
	}
	.footer ul.links {
		margin: 25px -15px;
	}
	.footer .logo,
	.footer .date {
		float: none;
		margin: 10px auto 0;
		text-align: center;
	}
	.footer .row {
		padding: 20px 0 0;		
	}
	
	.navbar-nav > li > a {
		padding: 5px;
		margin: 0;
	}
	
	.navbar-nav > li.active > a, .navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
		padding-bottom: 5px;
		border-bottom: 0;
		background: #42adde;
		color: white;
	}
	
	.items .item-cell .photo {
		width: 100%;
		float: none;
	}
	
	.items .item-cell .content {
		margin: 0;
		padding: 0 0 10px 0;
		border-bottom: 1px solid #ccc;
	}
}

@media (min-width: 768px) and (max-width:992px) {
	.navbar-nav > li > a {
		margin-left: 15px;
		font-size: 12px;
	}
}
 
@media (min-width: 993px) {
}

/* Baza firm */

#company-form {
	margin-top:30px;
}

#company-form input[type="radio"] {
	margin-right: 10px;
    display: inline-block;
    position: relative;
    top: 2px;
}

#company-form .form-group {
    vertical-align: middle;
    line-height: 34px;
}

#company-form .form-group .two-line {
	line-height:normal;
}

#company-results {
	padding-top:20px;	
}

#company-results .yiiPager {
	font-size:16px;
}

#company-results .sorter ul {
	text-transform: lowercase;
}

.company-summary {
	text-align:left;
	font-size:20px;
	margin-bottom:20px;
	margin-top:20px;
	clear:both;
}

.single-company  table.detail-view  {
	margin-bottom:20px;
	width:100%;
	border-spacing:none;
}

.single-company table.detail-view tr.odd {
	background:none;
}

.single-company table.detail-view tr.even {    
	background: #dcdcdc;
}

.single-company table.detail-view td,
.single-company table.detail-view th {
	vertical-align: middle;
	font-size:14px;
	padding:5px 10px;
}

.single-company table.detail-view th {
    color: #000;
    font-style: italic;
	width:180px;
}

.single-company table.detail-view .null {
	color:red;
	opacity:0.8;
}


/* Airly */


.airly-widget {
	padding: 5px;
	background: #fff;
}

.airly-widget.frame {
	border: 1px solid #ccc;
	box-shadow: 2px 2px 2px #eee;
	margin: 10px 0;
	height: 100%;
}

.airly-list .flex-col {
	padding-bottom: 15px;
}

.airly-widget .header {
	font-weight: bold;
	font-size: 130%;
	padding: 0 50px 5px 0;
	background: url('/images/layout/airly.png') top right no-repeat;
}

.airly-widget .index {
	color: #fff;
	font-weight: bold;
	font-size: 30px;
	line-height: 50px;
	width: 50px;
	text-align: center;
	display: inline-block;
	float: left;
	text-decoration: none !important;
}

.airly-widget .info {
	margin-left: 60px;
	line-height: 1.2;
}

.airly-widget .muted {
	color: #777;
	font-size: 12px;
}

.airly-widget .text {
	font-weight: bold;
}

.airly-widget h3 {
	padding: 5px 0 5px;
	font-size: 1.2em;
	clear:both;
}

body.black .navbar {
	filter: saturate(0);
}


/* Flex */

.flex-row {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 0 -15px;
}
.flex-col {
	padding: 0 15px;
	float: none !important;
}


.navbar-collapse {
	max-height: auto;
}

.ts-collapse-tab {
	padding : 1rem;
	padding-right: 2rem;
	border: 1px solid #eee;
	border-radius: 2px;
	box-shadow: 0 0 10px #f4f4f4;
	cursor: pointer;
	font-size: 2rem;
	position: relative;
}

.ts-collapse-tab::after {
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 100%;
	background: url('/images/layout/arrow-down.png') center center no-repeat;
	display: block;
	content: ' ';
	opacity: 0.5;
	transform: rotate(180deg);
	transition : 0.3s;
}

.ts-collapse-tab.collapsed::after {
	transform: rotate(0deg);
	transition : 0.3s;
}

/* TMP */

.yiiLog {
	/* display: none; */
}

