/*
@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700&subset=latin-ext';
@import 'https://fonts.googleapis.com/css?family=Playfair+Display:400,700';
*/

#star-demo {
  display: block;
  margin: auto;
}


@font-face {
    font-family: 'Nadpis';
    font-weight: normal;
    /*src: url('/fonts/CrimsonText-Regular.ttf');*/
    src: url('/fonts/PlayfairDisplay-Regular.ttf');
}
@font-face {
    font-family: 'Nadpis';
    font-weight: 700;
    /*src: url('/fonts/CrimsonText-Bold.ttf');*/
    src: url('/fonts/PlayfairDisplay-Bold.ttf');
}
@font-face {
    font-family: 'Text';
    font-weight: normal;
    /*src: url('/fonts/GT-Haptik-Regular.ttf');*/
    src: url('/fonts/OpenSans-CondLight.ttf');
}
@font-face {
    font-family: 'Text';
    font-weight: 700;
    /*src: url('/fonts/GT-Haptik-Regular.ttf');*/
    src: url('/fonts/OpenSans-CondBold.ttf');
}
        
body {
	/*background: white url('/img/bg.jpg') repeat;*/
	background: #fcfcfc;
    font-size: 15px;
/*    background-size: 800px;
	background-size: cover;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;*/
	color: #444;
	letter-spacing: -0.2px;
	line-height: 1.57;
	font-family: 'Text';
	font-family: 'Open Sans', sans-serif;
	font-kerning: normal;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	//overflow-x : hidden; /*this have to be set to 'auto' due to jquery ui!*/
}

h1, h2, h3, h4, h5 {
	line-height: 1.49;
}

.headline {
	letter-spacing: 0.79px;
}

.lightcolor {
	color: #777;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

.text-right {
	text-align: right;
}

.uppercase {
	text-transform: uppercase;
}

.bold {
	font-weight: bold;
}

.form-control:focus {
    border-color: rgb(255,215,86);
}

.section-desc {
	position: absolute;
	left: -236px;
	width: 500px;
	text-align: right;
	margin-top: 257px;
	color: #ccc;
	font-size: 12px;
	text-transform: uppercase;
	-ms-transform:rotate(270deg); /* IE 9 */
  	-moz-transform:rotate(270deg); /* Firefox */
  	-webkit-transform:rotate(270deg); /* Safari and Chrome */
  	-o-transform:rotate(270deg); /* Opera */
}

@media (max-width: 767px) {
	.section-desc {
		display: none;
	}
}


.section-desc .hot {
	color: red;
}

.section-desc .site-home {
	color: #333;
}

.section-desc .divider {
	color: rgb(0, 69, 97);
	display: inline:block;
	padding: 3px 6px;
}

.section-desc .divider.hot {
	color:red;
}

.section-desc .projects-finished {
	text-shadow: 0 0 1px rgba(255, 207, 0, 0.62);
}

#header {
	position: fixed;
	top: 0;
	background: rgba(255, 255, 255, 0.97);
	width: 100%;
	z-index: 999;
	font-size: 13px;
}

#header .container {
	position: relative;
}

#header .right {
	margin: 15px 0;
}

@media (max-width:767px) {
	#header .right {
		margin: 8px 0;
	}
}

#header .right a {
	color: #444;
}

#header .right a:hover {
	text-decoration: none;
}

#header .right a .glyphicon {
	color: #555;
	margin-right: 1px;
}

#loggedusermenu {
    display: inline-block;
}

.toggleMenu .glyphicon {
	top: 2px;
}


.mainnav {
	float: right;
	clear:both;
	max-width: 65%;
	margin: 0;
	margin-top: 10px;
	margin-right: -3px;
}

.navbar {
	min-height: auto;
}

.navbar ul {
	list-style: none;
}

.navbar > ul > li {
	float: left;
	position: relative;
	//padding: 0 15px;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 12px;
}

.navbar a:hover {
	text-decoration: none;
}

.navbar > ul > li:after {
	content: "|";
	color: rgb(0, 69, 97);
	font-weight: bold;
	padding: 0 9px 0 3px;
}

.navbar > ul > li:last-child:after {
	display: none;
}

.navbar a > div {
	display: inline-block;
}

.navbar a.active {
	font-weight: bold;
}

ul.subnav {

}

.subnav {
	display: none;
	position: absolute;
	top: 20px;
	left: 0;
	padding-top: 20px;
	z-index: 999999;
}

.subnav.from_right {
	left: auto;
	right: 0;
}

.subnav .subitems {
	border: 2px solid rgb(0, 69, 97);
}

.subnav .icon {
	display: block;
	width: 15px;
	height: 2px;
	margin-top: -2px;
	background: rgb(0, 69, 97);
}

.subnav.from_right .icon {
	float: right;
}
.subnav ul {
	list-style: none;
	font-size: 90%;
	padding: 5px 15px;
	margin: 0;
	border: 2px solid white;
	background: rgb(235,235,235);
}

.subnav li {
	white-space: nowrap;
	border-top: 1px solid rgb(0, 69, 97);	
	padding: 12px 0;
}
.subnav li:first-child {
	border-top: 0;
}

.navbar li:hover > .subnav {
	display: block;
}

.subnav li a {
	padding: 0 2px 0 2px;
}

.subnav li:not(.ta-upper) a:not(.ta-upper) {
	text-transform: none;
}

#menu-layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: rgba(255,255,255,0.5);
	display: none;
	transition: 0.75s all;
}

#menu {
	display: none;
	position: fixed;
	top: 10px;
	width: 90%;
	left: 5%;
	border: 2px solid #111;
	padding: 20px 25px;
	//box-shadow: 0 0 5px black;
	background: white;
	text-align: center;
	text-transform: uppercase;
	font-size: 13px;
	z-index: 5;
	max-height: 95%; 
	overflow-x: auto;
}
#menu.open {
	display: block;	
	transition: 0.75s all;	
}

#menu.open + #menu-layer {
	display: block;
	transition: 0.75s all;
}

#menu .toggleMenu.menu-title {
	width: 100%;
    display: block;
    margin: -20px 0;
    padding: 20px;
}

.mainnav .toggleMenu {
	padding-right: 0px;
	margin-right: 0px;
}
@media (max-width: 767px) {
	.toggleMenu .toggleMenu {
//		padding-right: 15px;
//		margin-right: -15px;
	}
}



@media (min-width: 768px) {
	#menu {
		top: 20%;
		width: 70%;
		left: 15%;
	}
}
@media (min-width: 992px) {
	#menu {
		width: 50%;
		left: 25%;
	}
}
@media (min-width: 1199px) {
	#menu {
		width: 36%;
		left: 32%;
	}
}

@media (min-width: 1499px) {
	#menu {
		width: 28%;
		left: 36%;
	}
}

.menu-title:hover {
	text-decoration: none;
	cursor: pointer;
	display: block;
	width: 100%;
}

.close-menu {
	height: 13px;
	
}

.menuLanguageChooser {

}

.mainnav {
	margin-top: 1px;
	max-width: 75%;
    position: absolute;
    top: 40px;
    right: 15px;
}

@media (max-width: 767px) {
	.mainnav {
	    top: 41px;
	}
}

.mainnav ul > li > a {
	padding: 18px 5px;
}

@media (max-width: 767px) {
	.mainnav .toggleMenu {
	    padding: 10px 15px 25px 50px;
	}
}



.mainnav li .badge {
	margin-top: -1px;
	font-size: 85%;
	padding: 4px 2px 4px 1px; 
	min-width: 19px;
	margin-right: -4px;
}

.mainnav a:focus {
	outline: 0;
	color: black;
	text-decoration: none;
}

#menu a {
	//padding: 5px;
}

#menu .badge {
    background: #8c7100;
    margin-top: -1px;
}

#menu .row {
	background: #ffde00;
	
	padding: 15px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#menu .row a {
	display: block;
//	width: 100%;
	padding: 5px;
	border-top: 1px solid black;	
}

#menu .row a:hover {
	text-decoration: none;
}

#menu .row a.active {
	font-weight: bold;
}

#menu .row > div:first-child > a:first-child {
	border-top: 0;
}


@media (min-width:768px) {
	#menu .row a:first-child {
		border-top: 0;
	}
}

#menu .row a.subitem {
	font-size: 75%;
	border: 0;
	padding: 3px 5px 3px 5px;
}

.loggedusermenu {
    padding: 0;
    display: inline-block;
    min-height: auto;
    margin: 0;
}

.navbar.loggedusermenu > ul > li {
    text-transform: none;
    padding: 10px 0px 10px 50px;
    margin: -10px 0px 41px 10px;

}

#scroll {
    margin: -110px auto 120px auto;
    padding: 0;
    visibility: hidden;
    transition: 0.2s all;
}

#scroll > span.glyphicon {
    padding: 17px;
    text-align: center;
    transition: 0.2s transition;
}

#scroll > img {
	padding: 17px 14px 13px 14px;
    width: 40px;
}

/*@media (max-height: 420px) {
	#scroll {
		visibility: hidden;
	}
}*/

@media (min-width: 992px) and (min-height: 509px) {
	#scroll {
    	margin: -150px auto 170px auto;
	    transition: 0.2s all;
	}
}
@media (min-width: 1200px) and (min-height: 555px) {
	#scroll {
    	margin: -170px auto 190px auto;
	    transition: 0.2s all;
	}
}
@media (min-width: 1550px) and (min-height: 680px) {
	#scroll {
    	margin: -210px auto 230px auto;
	    transition: 0.2s all;
	}
}

#elevator {
	cursor: pointer;
	color: rgb(64,64,64);
	//position: fixed;
	//right: 200px;
	//bottom: 330px;
	float: right;
	margin: -60px 50px 0 0;
}

.vdivider {
	border-right: 1px solid rgb(0, 69, 97);
	border-left: 1px solid rgb(0, 69, 97);
    width: 1px;
    margin-left: 50%;
    height: 100px;
    margin-top: -106px; 
    margin-bottom: -173px;
}

.vdivider.above-map {
	margin-top: -280px;
	margin-bottom: 100px;
	position: relative;
	z-index: 5;
}

.hdivider {
	border-top: 1px solid rgb(0, 69, 97);
    width: 35px;
    margin: 0 20px;
    height: 2px;
    display: inline-block;
}

.hdivider.center {
	border-color: #ffde00;
    width: 35px;
    margin: 25px auto;
    display: block;
}

h1.wihout-headline {
	margin-top: -85px;
	margin-bottom: 20px;
    font-family: 'Nadpis';
    //font-family: 'Playfair Display', serif;
    font-size: 300%;
    line-height: 1.2;
	letter-spacing: 0.1px;
}

input#SearchFileByName {
	margin-top: -35px;
}

/*/////////////////////////////////////*/
.btn {
	border-radius: 0;
}

.btn-primary {
	background: #ffde00;
}

.btn-inverse {
	border: 1px solid #b5b5b5;
	background: rgba(225,225,225, 0.8);
	color: #444;
}

.noborder {
	border: 0;
}

.btn-inverse:hover {
	border: 1px solid #909090;
	background: rgba(190,190,190, 0.8);
	color: #111;
}

.row.company > div {
	padding-left: 45px;
}


.mapa {
	height: 800px;
	background: url('/img/mgmapa.png') no-repeat;
	background-size: cover;
	width: 100%;
	position: absolute;
	left: 0;
	z-index: 1;
	margin-top: -150px;
	
}

#map-canvas {
	height: 800px;
	width: 100%;
	position: absolute;
	left: 0;
    z-index: 1;
    margin-top: -150px;
}

@media(max-width: 768px) {
	.mapa {
		height: 450px;
		margin-top: -30px;
	    background-size: 200%;
        background-position: top center;
	}
	#map-canvas {
		height: 450px;
		margin-top: -30px;
	}	
}

.map-pointer {
    position: absolute;
    top: 40%;
    left: 75%;
    max-height: 80px;
}

/*/////////////////////////////////////*/
#page {
	width: 100%;
	min-height: 400px;
	padding-top: 150px;
/*	background-color: rgba(255,255,255,0.65);*/
}

@media (max-width: 767px) {
	#page {
		margin-top: -10px;
	}
}

#page h2 {
	text-align: center;	
	font-size: 150%;
	max-width: 850px;
	margin: 0 auto 25px auto;
	transition: 0.2s all;
	//font-family: 'Nadpis';
	font-family: 'Playfair Display', serif;
}

@media (min-width: 768px) {
	#page h2 {
		font-size: 200%;
	}
}
@media (min-width: 992px) {
	#page h2 {
		font-size: 250%;
	}
}
@media (min-width: 1499px) {
	#page h2 {
		font-size: 320%;
	}
}

@media (max-width: 991px) {
	#page h3 {
		width: 90%;
		margin: 20px auto 30px auto;
		transition: 0.2s all;
	}
}


#page ul {
	margin: 20px 0;
    padding-left: 1%;
	//padding-left: 26%;
    //padding-right: 13%;
    font-size: 90%;
    //text-align: left;
    list-style-position: inside;
}

@media (max-width: 767px) {
	#page ul {
    	padding-left: 1%;
	    font-size: 86%;
    	padding-right: 0;
	}
}

.categories-columns {
	text-align: center;
}

#page h3 {
	text-align: center;	
	font-size: 95%;	
	width: 85%;
	max-width: 750px;
	margin: 30px auto 45px auto;
	transition: 0.2s all;
}

#page h3:not(:only-of-type) {
	width: 270px;
	padding: 0 0px 0 15px;
	display: inline-block;
}

#page h3:not(:only-of-type) b {
	display: none;
}

@media (min-width: 1225px) {
	.categories-columns {
	    margin: 0 -35px;
	}
	#page h3:not(:only-of-type) {
		width: 395px;
	}
	#page h3:not(:only-of-type) b {
		display: inline-block;
	}
}

#page h3:not(:only-of-type):after {
	content: ' | ';
	//display: block;
	color: #ffde00;
    padding: 0 17px 0 20px;
    margin-right: -44px;
}

#page h3:nth-child(2).right-col {
	padding-left: 46px;
}

#page h3.left-col {
	text-align: right;
}
#page h3.right-col {
	text-align: left;
}

#page h3.right-col:after {
	display: none;
}

@media (max-width: 991px) {
	#page .categories-columns {
		margin: 20px 0;
	}
	#page .categories-columns h3 {
		text-align: center;
		width: 100%;
		padding: 5px 15px !important;
		margin: 0;
	}
	#page .categories-columns h3:after {
		display: none !important;
	}
}

#page h4 {
	text-align: center;	
	width: 95%;
	margin: 10px auto 10px auto;
	transition: 0.2s all;
}

@media (min-width: 768px) {
	.container {

	}
}

@media (min-width: 768px) {
	.landing-page {
		padding-top: 85px;
	}
}
@media (min-width: 991px) {
	.landing-page {
		padding-top: 100px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 14px;
	}
}

a {
	color: black;
}

a:hover {
	color: black;
	text-decoration: underline;
}

p {
    margin: 0;
}

h1 {
	color: #343433;
    font-size: 25px;
}

h2 {
	color: #343433;
    font-size: 24px;
}

h3 {
	color: #343433;
    font-size: 20px;
}

small {
	font-size: 60%;
}

@media (max-width: 767px) {
	h1 {
    	font-size: 23px;
	}
	h2 {
		font-size: 21px;
	}
	h3 {
    	font-size: 18px;
	}
	h4 {
    	font-size: 15px;
	}
}

h2 .modal {
	font-size: 15px;
}

.notfound {
    padding-top: 50px;
    padding-bottom: 200px;
}

#logo {
	max-height: 56px;
	max-width: 100%;
	margin: 22px 0;
   	transition: 0.25s all;
}

@media (max-width: 767px) {
	#logo {
		max-height: 46px;
		margin: 27px 0;
    	transition: 0.25s all;
	}
}

.headline {
	width: 100%;
	height: /*65*/0px;
	display: table;
	padding: 7px 17px;
	text-align: center;
	//font-size: 17px;
	color: #fff;
	background-image:url('/img/betonovanie.jpg');
	background-repeat: no-repeat; 
    background-position: center center;
	background-size: cover; 
	//transition: 0.2s all;
}

.headline:not(.index) {
	height: 415px;
}

@media(min-width: 1199px) {
	.headline.project-detail {
		height: 620px;
	}
}

.headline h1 {
	font-size: 100%;
	color: white;
	text-transform: uppercase;
	transition: 0.2s all;
	margin-bottom: 5px;
}

.headline .title {
	font-size: 400%;
	//font-family: 'Nadpis';
	font-family: 'Playfair Display', serif;
	//font-weight: bold;
    line-height: 1.15;
    transition: 0.2s all;
    //margin-top: -10px;
    text-shadow: 0 0px 10px #444;
}

.headline .subtitle {
   	margin-top: 17px;
   	font-size: 95%;
}

/*@media (max-width: 991px) {
	.headline {
		font-size: 90%;
		transition: 0.2s all;
	}
}*/

@media (max-width: 767px) {
	.headline {
		font-size: 92%;
		transition: 0.2s all;
	}
	.headline h1 {
		margin-bottom: 0;
	}
	.headline .title {
		font-size: 250%;
		transition: 0.2s all;
	}
	.headline .subtitle {
    	margin-top: 9px;
	}
}

@media (min-width: 1199px) {
	.headline .title {
		font-size: 500%;
		transition: 0.2s all;
	}
}



.headline a {
	color: #ffde00;
}

.headline a:hover {
	color: #ffde00;
	font-weight: bold;
	text-decoration: none;
}

.headline.index {
	background-image: url('/img/smarthouse1.jpg');
}	
.headline.kontakt {
	//background-image: url('/img/rozumieme-betonu.jpg');
}	
.headline.gallery {
	//background-image: url('/img/rozumieme-betonu.jpg');
}	
/*.headline.gallerymur {
	background-image: url('/img/murovanie.jpg');
}	
.headline.gallerybeton {
	background-image: url('/img/betonovanie.jpg');
}*/	

.headline-content {
	display: table-cell;
    vertical-align: middle;
    padding-bottom: 110px;
}

/*USER PROFILE*/

.media-container img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.progress-bar-black {
	background: #555;
}

.pagination > li > span:hover {
	background: transparent;
	cursor: not-allowed;
}

.box {
	/*width: 340px;*/
	background: rgba(192, 192, 192, 0.75);
	margin: 0 10px;
	border-radius: 7px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.box {
		width: 95%;
		display: block !important;
		
	}
}

.box .nav {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

.box #mainbox.nav {
	font-size: 20.5px;
}


@media (min-width: 768px) {
	.box #mainbox li {
		border-left: 1px solid black;
	}
	.box #mainbox li:first-child {
		border-left: 0px;
	}
}
@media (max-width: 767px) {
	.box #mainbox li {
		border-bottom: 1px solid black;
	}
	.box #mainbox li:first-child {
/*		border-bottom: 0px;*/
	}
}

.box .nav > li > a {
	border-radius: 0px;
	margin-bottom: 0px;
	/*margin-top: 2px;*/
	transition: all 0.25s;
}

.box .nav > li:first-child > a {
	margin-top: 0;
}

@media (max-width: 767px) {
	.box .nav > li:first-child > a,
	.box .nav > li.active:first-child > a,
	.box .nav > li.active:first-child:hover > a {
		border-radius: 3px 3px 0 0;
	}
}

@media (min-width: 768px) {
	.box .nav > li > a {
		margin: 0;
		/*margin-left: 1px;*/
	}
	.box .nav > li:first-child > a {
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	.box .nav > li.active:first-child > a,
	.box .nav > li:hover:first-child > a {
		border-top-left-radius: 7px; 
	}
	.box .nav > li.active:last-child > a,
	.box .nav > li:hover:last-child > a {
		border-top-right-radius: 7px; 
	}
}

.box .nav > li.active > a {
	background: rgba(91, 91, 91, 0.9);
	border-color: rgba(91, 91, 91, 0.9);
	color: white;
}

.box #mainbox.nav > li.active > a {
	background: rgba(51, 51, 51, 0.9);
	border-color: rgba(51, 51, 51, 0.9);
}

.box .nav > li > a:hover,
.box .nav > li.active > a:hover {
	background: rgba(51, 51, 51, 0.9);
	border-color: rgba(51, 51, 51, 0.9);
	color: white;
}

@media (min-width: 768px) {
	.box .nav > li:first-child {
		width: 10%;
	}
}

/*
.box a[href="#about"] {
	width: 270px;
}

.box a[href="#contact"] {
	width: 130px;
}*/

.box .tab-content {
	padding: 12px 23px 20px 23px;	
	border-top: 1px solid #333;
	text-align: justify;
}

/*
@media (min-width: 768px) {
	#mainbox
	.box .tab-content {
		height: 0px;
	}
}*/

@media (max-width: 767px) {
	.box .tab-content {
		min-height: 115px !important;
	}
}

.project-name {
	//font-family: 'Nadpis';
	font-family: 'Playfair Display', serif;
}

.project-description, .zaciatok, .dokoncenie {
	color: #444;
}

.icons {
	margin: 10px 25px;
}

.icons .btn {
	border-radius: 35px;
	border-color: #999;
	padding: 10px 15px;
	background: rgb(255, 221, 72);
	transition: all 0.25s;
	font-size: 120%;
	margin-right: 10px;
}

.icons .btn:hover {
	border-color: black;
}

.icons a.btn {
	color: #999 !important;
}

.icons a.btn:hover {
	color: black !important;
}

.table td {
	background-color: rgba(255,255,255,0.7);
}

#page ul.certificate-chooser {
	display: block;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 615px;	
	max-width: 100%;
}

#page .certificate-chooser li {
	width: 180px;
	border: 3px solid #ffde00;
	padding: 3px;
	float: left;
	font-size: 90%;
	text-align: center;
	margin: 0px 12px;
	cursor: pointer;
}

@media (max-width: 991px) {
	#page .certificate-chooser li {
		width: 150px;
		margin: 0 10px 0 34px;
	}	
}

@media (max-width: 767px) {
	#page .certificate-chooser li {
	    width: 95%;
	    margin: 10px 0 0 3%;
	}	
}

.contact-logo {
	max-height: 56px;
	margin: 30px 0; 
}

.contact-home {
	font-size: 90%;
	margin-top: 100px;
}

.contact-home .title {
    //font-family: 'Nadpis';
    font-family: 'Playfair Display', serif;
    font-size: 235%;
    text-transform: uppercase;	
    line-height: 1.25;
    margin: 1px 0 9px 0;
}

.contact-home .hdivider {
	margin: 20px 0;
	display: block;
	width: 100px;
}

.contact-home table.noborder td {
	padding-right: 13px;
}

.contact-home .subtitle {
	text-transform: uppercase;	
	color: #555;
	font-size: 95%;
	padding-left: 1px;
}

.contact-box {
	border-left: 1px solid rgb(0, 69, 97);
    padding: 20px 20px 0px 30px;
    margin-top: 35px;
}

@media (min-width: 768px) {
	.contact-box {
	    margin: 30px 0 0 -17px;
	}
}
@media (min-width: 1215px) {
	.contact-box {
	    margin: 30px -25px 0 -17px;
	    padding: 25px 95px 0px 45px;
	}
}
@media (min-width: 1299px) {
	.contact-box {
	    margin: 30px -50px 0 -17px;
	    padding: 25px 130px 0px 45px;
	}
}
@media (min-width: 1550px) {
	.contact-box {
	    margin: 30px -185px 0 -17px;
	    padding: 25px 270px 0px 45px;
	}
}

.contact-box input, .contact-box textarea {
	border-bottom: 1px solid #aaa;
    background: transparent;
    margin: 13px -8px 8px -8px;
    padding: 7px 9px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contact-box input:focus, .contact-box textarea:focus {
    //border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contact-box input {
	height: 38px;
}

.contact-box button[type=submit] {
	margin-bottom: -12px;
}

.contact-box button[type=submit]:hover {
	margin-bottom: -9px;	
}

.contact-box .subtitle {
	background: url('/img/yellow-btn.png') bottom left;
    background-size: 24px;
    background-repeat: repeat-x;
    margin: 27px -8px 20px -8px;
    padding: 0 7px 3px 8px;
    display: inline-block;
	font-weight: bold;
	letter-spacing: 0.22px;
}

textarea[textautoresize] {
	transition: 0.2s height;
}

.made_by {
	margin: 75px 0 25px 0;
	font-size: 10px;
	color: #888;
}
.made_by a {
	color: #333;
}
.made_by a:hover {
	text-decoration: underline;
	color: #000;
}

/* languages */

.languages {
    position: absolute;
    top: 128px;
    right: 67px;
    transition: 0.25s all;
    width: 43px;
}

.languages a {
	opacity: 0.65;
	margin: 0 5px;
	-webkit-filter: grayscale(80%);
	-moz-filter: grayscale(80%);
	filter: grayscale(80%);
}

.languages a:hover,
.languages a.active {
	opacity: 1;
}

.languages a.active {
	-webkit-filter: grayscale(20%);
	-moz-filter: grayscale(20%);
	filter: grayscale(20%);
}

.language-box {
	position: absolute;
    top: 55px;
    left: 105px;
}

.language-box ul {
	margin: 0;	
}

.language-box .subnav li a {
    text-transform: uppercase; 
}

.language-box.navbar > ul > li {
    border: 2px solid #eee;
    padding: 2px 6px;
}

.language-box.navbar > ul > li:hover {
    border-color: rgba(255,255,255,0.01);    
}

.language-box.navbar > ul > li:after {
	display: none;
}

@media(max-width: 767px) {
	#footer .languages {
		position: absolute;
		top: 78px;
	    transition: 0.25s all;
	}
	.language-box {
		display: none;
	}
}

/* upload */

.upload-tabs {
	margin-top: 10px;
}

.upload-tabs .tab-content {
	border-color: rgba(0,0,0,0.25);
}

.box .nav .upload-tabs .nav * {
	font-size: 14px;
}

/*.image img { 
	-webkit-filter: grayscale(60%);
	-moz-filter: grayscale(60%);
	filter: grayscale(60%);
	transition: 0.3s all;
}

.image img:hover { 
	-webkit-filter: none;
	-moz-filter: none;
	filter: none;
	transition: 0.3s all;
}
*/

/* modal */
.modal {
	margin: 0;
	background: rgba(0, 0, 0, 0.15);
}

.modal-header {
	border: 0;
	padding-top: 11px;
}

.modal-body {
	padding-top: 0px;
	padding-bottom: 22px;
}

.modal-content {
	border-radius: 0;
	border: 2px solid #222;
}

.upload-tabs form[action="/file-upload"] button[type="submit"] {
	float: left;
	margin-right: 12px;
	margin-top: 3px;
}

.upload-tabs form[action="/file-upload"] .btn-alert {
	padding-top: 7px;
	font-size: 14px;
	color: red;
}

.partners-gallery {
	max-width: 700px;
	margin: 0 auto;
}

.partners-gallery .image {
	line-height: 115px;
	text-align: center;
}

.partners-gallery img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
    padding: 20px;
	transition: 0.3s all;
	display: inline-block;
}

.partners-gallery img:hover {
	-webkit-filter: none;
	-moz-filter: none;
	filter: none;
	transition: 0.3s all;
}



#gallery {
	padding: 25px 0;	
}

#gallery .image {
	position: relative;
}

#gallery .image-options {
	position: absolute;
	top: 5px;
	left: 30px;
	opacity: 0;
	transition: 0.3s all;
}

#gallery .gallery-item:hover .image-options {
	opacity: 1;
	transition: 0.3s all;
}

#gallery .image-options a.btn {
	opacity: 0.8;
	transition: 0.25s all;
}

#gallery .image-options a.btn:hover {
	opacity: 1;
	transition: 0.25s all;
}

#gallery .image .date-added {
    position: absolute;
    top: 5px;
    right: 50px;
    padding: 3px 3px 4px 4px;
}


#gallery h2 {
	font-size: 20px;	
}
#gallery h3 {
	margin-top: 0;
	font-size: 17px;	
}

.gallery-subtitle {
	padding: 15px;
	font-size: 150%;
	font-weight: bold;
	clear: both;
}

.user .gallery-subtitle {
	padding: 0px 15px;
	clear: none;
	position: relative;
    //top: -23px;
    //left: 15px;
   	font-size: 110%;
    display: block;
    height: 250px;
    /* overflow: hidden; */
    margin-bottom: 15px;
}
.user .gallery-subtitle > div {
	height: 100%;
    background: rgba(70,70,70,0.1);
}

.gallery-item {
	margin-bottom: 15px;
}

.ui-sortable .gallery-item img {
	cursor: move !important;
}

.sortable-gallery-item-placeholder {
	height: 240px;
	border: 3px dashed gray;
	content: "presunúť";
	text-align: center;
	padding: 20px;
	color: gray;
	font-weight: bold;
	margin-bottom: 25px;
//	width: 100%!important;
//	min-width: 100%!important;
}

.sortable-gallery-item-placeholder.project-placeholder {
	height: 265px;
}

.partners-gallery .sortable-gallery-item-placeholder {
	height: 115px;
}

@media (max-width: 1199px) {
	.sortable-gallery-item-placeholder {
		height: 200px;
	}
}
@media (max-width: 992px) {
	.sortable-gallery-item-placeholder {
		height: 235px;
	}
}
@media (max-width: 767px) {
	.sortable-gallery-item-placeholder {
		height: 190px;
	}
}
@media (max-width: 570px) {
	.sortable-gallery-item-placeholder {
		height: 145px;
	}
}
@media (max-width: 400px) {
	.sortable-gallery-item-placeholder {
		height: 115px;
	}
}


.highlight-first > div.ui-sortable-handle:first-child,
.highlight-first > div.ui-sortable-handle:first-child:before,
.highlight-first > div.ui-sortable-handle:first-child:after {
	background: rgba(255, 218, 56, 0.35);
}

.highlight-first > div.ui-sortable-handle:first-child:before,
.highlight-first > div.ui-sortable-handle:first-child:after {
	content: '';
	position: absolute;
	width: 100%;
	margin-left: -15px;
}

.highlight-first > div.ui-sortable-handle:first-child:before {
	top: -12px;
	height: 12px;
}

.highlight-first > div.ui-sortable-handle:first-child:after {
	bottom: -7px;
	height: 7px;
}

.table {
	font-size: 91%;
}

.showMoreGalleries {
	margin: 20px auto;
	display: block;
	border: 1px solid #333;
	text-transform: uppercase;
	padding: 10px 20px;
	width: 300px;
	text-align: center;
	cursor: pointer;
}

@media (max-width:767px) {
	.showMoreGalleries {
		width: 100%;
	}
}

.gallery-preview {
	min-height: 260px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom center;
	position: relative;
	margin: 15px 0;
}

.gallery-preview-item {
//	padding-top: 15px;
	padding-bottom: 15px;
}

.gallery-add {
	//border: 1px solid #555;
	background-size: 85px;
	background-position: 22px 26px;
}

.in_progress {
	position: absolute;
	top: 15px;
	right: -18px;
	color: #000;
	font-weight: bold;
	text-align: center;
	background-image: url('/img/in-progress-ribbon.png');
	background-position: top right;
	background-repeat: no-repeat;
	background-size: 165px;
	width: 165px;
    height: 40px;
    padding: 2px 0 0 2px;
    Xtext-shadow: 0.2px 0.45px 1px #333;
    font-size: 94%;
}


.gallery-preview h3,
.gallery-preview .detail-btn,
.gallery-preview .hdivider,
.gallery-preview .shadow,
.gallery-preview .category-title {
	position: absolute;
	text-transform: uppercase;
	left: 30px;
}

#page .gallery-preview h3 a:not(.btn) {
	color: white;
	padding: 122px 33px 90px 30px;
    width: 100%;
    display: inline-block;	
}

#page .gallery-preview h3 {
	bottom: 0px;
	left: 0;
	width: 100%;
	margin: 0;
	text-align: left;
	font-size: 141%;
}

#page .gallery-preview .btn {
    z-index: 99;
    position: absolute;
    top: 45px;
    left: 30px;
}

#page .gallery-preview .category-title {
    top: 23px;
    width: 80%;
    margin: 0;
    text-align: left;
    font-size: 60%;
    color: silver;
    opacity: 0.7;
}

.gallery-preview .hdivider {
	border-color: #ffde00;
    //width: 35px;
    margin: 0;
	bottom: 60px;
}

.gallery-preview .shadow {
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.001;
	background: rgba(0,0,0,0.65);
	transition: 0.4s all;
}

.gallery-preview.gallery-add .shadow {
	opacity: 0.58;
}

.gallery-preview:hover .shadow {
	opacity: 1;
	transition: 0.4s all;
}

@media (max-width: 767px) {
	.gallery-preview .shadow {
		opacity: 1;
		background: rgba(0,0,0,0.3);
		text-shadow: 0 0 6px black;
		transition: 0.33s all;
	}
}

.gallery-preview .detail-btn {
	bottom: 20px;
	left: 30px;
	font-size: 110%;
	color: white;
}

#page .gallery-preview a:hover {
	text-decoration: none;
}


.gallery-item .image {
	height: 250px;
}

.partners-gallery .gallery-item .image {
	height: 125px;
}

.gallery-item .image img {
	max-height: 240px;
	margin: 0 auto;
}

.partners-gallery .gallery-item .image > a {
//    display: inline-flex;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.partners-gallery .gallery-item .image img {
	max-height: 115px;
}

@media(max-width: 1199px) {
	.gallery-item .image {
		height: 210px;
	}
	.gallery-item .image img {
		max-height: 210px;
	}
}
@media(max-width: 992px) {
	.gallery-item {
		margin-bottom: 25px;
	}
	.gallery-item .image {
		height: 235px;
	}
	.gallery-item .image img {
		max-height: 230px;
	}
}
@media(max-width: 767px) {
	.gallery-item {
		margin-bottom: 20px;
	}
	.gallery-item .image {
		height: 195px;
	}
	.gallery-item .image img {
		max-height: 180px;
	}
}
@media(max-width: 570px) {
	.gallery-item .image {
		height: 150px;
	}
	.gallery-item .image img {
		max-height: 135px;
	}
}

@media(max-width: 400px) {
	.gallery-item {
		margin-bottom: 15px;
	}
	.gallery-item .image {
		height: 125px;
	}
	.gallery-item .image img {
		max-height: 120px;
	}
}

*[data-edit-template] {
	//margin-top: -34px;	
}

a[name] {
    margin-top: -247px;
    margin-bottom: 247px;
    display: block;
}

@media (max-width: 767px) {
	a[name] {
	    margin-top: -240px;
    	margin-bottom: 240px;
	}
}

a[name^="job"] {
    margin-top: -190px;
    display: block;
    margin-bottom: 190px;
}

.form-group {
    margin-bottom: 9px;
}

.form-horizontal .control-label {
	color: #777;
	text-align: left;
}

#accept_top {
    position: absolute;
    margin: 2px 0 0;
}

label[for] {
	cursor: pointer;
}

label[for="accept_top"] {
	margin-left: 26px;	
}

.application-form {
	line-height: 1.5;
}

@media (min-width: 768px) {
	.form-horizontal .control-label {
		padding-top: 6px;
		font-size: 75%;
		font-weight: bold;
	}
	.form-horizontal label {
		font-weight: normal;
		font-size: 75%;
	}
}

.form-control {
	border: 0;
	border-radius: 0;
	background: #eee;
	
}

.form-horizontal label {
	color: #777;
}


/* not found */
.not-found {
	margin-top: 50px;
	margin-bottom: 80px;
}


.pswp__bg {
	background: rgba(255, 255, 255, 0.9);
}

.pswp__img {
	border: 4px solid #ffde00;
	margin: 1px;
}	

.pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption,
.pswp__button--arrow--left:before, .pswp__button--arrow--right:before {
	background-color: rgba(0, 0, 0, 0.5);
}	

/* DEBUG */
.debug-button, .debug-window {
    z-index: 999999;
}

.debug-button {
    right: 45px !important;
    bottom: 3px !important;
    border-radius: 4px;
}

/*
.container ul{
  list-style: none;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}


ul li{
  color: #ff0000;
  display: block;
  position: relative;
  float: left;
  width: 100%;
  height: 100px;
	border-bottom: 1px solid #111111;
}

ul li input[type=radio]{
  position: absolute;
  visibility: hidden;
}

ul li label{
  display: block;
  position: relative;
  font-weight: 300;
  font-size: 1.35em;
  padding: 25px 25px 25px 80px;
  margin: 10px auto;
  height: 30px;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
}

ul li:hover label{
	color: #FFFFFF;
}

ul li .check{
  display: block;
  position: absolute;
  border: 5px solid #AAAAAA;
  border-radius: 100%;
  height: 25px;
  width: 25px;
  top: 30px;
  left: 20px;
	z-index: 5;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
}

ul li:hover .check {
  border: 5px solid #FFFFFF;
}

ul li .check::before {
  display: block;
  position: absolute;
	content: '';
  border-radius: 100%;
  height: 11px;
  width: 11px;
  top: 7px;
	left: 7px;
  margin: auto;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .check {
  border: 1px solid #fff;
}

input[type=radio]:checked ~ .check::before{
  background: #0DFF92;
}

input[type=radio]:checked ~ label{
  color: #0DFF92;
}

*/

input[type=radio],
input[type=checkbox] {
  	display: none;
}
input[type=radio] + .radio,
input[type=checkbox] + .radio,
input[type=radio] + .checkbox,
input[type=checkbox] + .checkbox {
  	min-height: 15px;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 12px;
    margin-top: 3px;
    cursor: pointer;
}

input[type=radio]:checked + .radio,
input[type=checkbox]:checked + .radio,
input[type=radio]:checked + .checkbox,
input[type=checkbox]:checked + .checkbox {
    border-color: #999;
}

input[type=radio]:checked + .radio:after,
input[type=checkbox]:checked + .radio:after,
input[type=radio]:checked + .checkbox:after,
input[type=checkbox]:checked + .checkbox:after {
    display: block;
    content: ' ';
    border-radius: 5px;
    border: 4px solid #ffde00;
    position: absolute;
    top: 5px;
    left: 5px;
}

input[type=radio] + .radio + label {
  	margin-left: 26px;
  	margin-right: 10px;
}

button[type=submit]:disabled {
	cursor: not-allowed;
	opacity: 0.8;
}

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

.js .inputfile {
    width: 80px;
    height: 35px;
    opacity: 0.001;
    overflow: hidden;
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

.inputfile + label {
    max-width: 80%;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 7px 14px 8px 14px;
    float: left;
    margin-right: 14px;
    margin-bottom: 7px;
    color: rgb(103,103,103);
    //background-color: #fff;
    border: 1px solid rgb(103,103,103);
}

.inputfile + label + .choosenFileIndicator {
	float: left;
	margin-top: 2px;
    padding: 6px 4px 5px 35px;
    background: url('/img/choosenFileIndicator.png') no-repeat top left -3px;
    background-size: 30px;
    visibility: hidden;
    font-size: 77%;
    color: rgb(185,203,152);
    
}
.inputfile + label + .choosenFileIndicator::after {
	content: ' ';
	clear: both;
	display: block;
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}

/* LOGIN */
.login {
    width: 300px; 
    margin: 0 auto 170px auto;
    min-height: calc(100vh - 429px);
}

.container.not-found {
    min-height: calc(100vh - 369px);	
}

.login h2 {
    text-align: center;
}

.form-signin {
	width: 260px;
	display: block;
    margin: 10px auto;
    font-size: 16px;
}

.form-signin .logo {
	padding: 20px 50px;
	max-width: 100%;
}

.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.form-signin .form-control:focus {
  z-index: 2;
}


.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin input[name="login"],
.form-signin input[name="username"],
.form-signin input[name="pma_username"],
.form-signin input[name="_user"],
.form-signin input[name="login_username"],
.form-signin input[name="auth[username]"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* FOOTER */
#footer {
    color: rgb(150,150,150);
//    text-align: center;
    padding: 30px 0 15px 0;
    background: rgb(0, 69, 97);
    font-size: 14px;
	box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
	#footer {
		margin: 25px 0 0px 0;
	}
}

#footer .footer-title {
	//font-weight: bold;
	color: rgb(207,207,207);
}

#footer hr {
	width: 40px;
	text-align: left;
	margin: 10px auto 15px 0;
	border-top: 1px solid rgb(207,207,207);
}

#footer a {
	color: rgb(150,150,150);
	padding-right: 20px;
}

#footer a:hover {
	color: rgb(150,150,150);
	text-decoration: underline;
}

#footer .footer-menu a {
	display: block;
}

#footer .tail {
	border-top: 1px solid rgb(30, 30, 0);
	margin-top: 30px;
	padding-top: 15px;
	color: rgb(30, 30, 0);
	font-size: 11px;
	//font-weight: bold;
}

.ta-upper {
	text-transform: uppercase;
}