
/*.................GENERAL RULES...............*/

@font-face {
  font-family: 'Panton';
  src: url('../fonts/panton.light-caps.otf'); /* IE9 Compat Modes */
  font-weight: normal;
}

@font-face {
  font-family: 'Panton';
  src: url('../fonts/panton.black-caps.otf'); /* IE9 Compat Modes */
  font-weight: bold;
}

body{
	font-weight: normal;
	font-size: 16px;
	overflow-x: hidden;
	font-family: 'Open Sans';
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

a:link{
	text-decoration: none;
}



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

@media (max-width: 991px){
	.row{
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

}

/*.................HEADER...............*/
header {
	color: #ffffff;
	background: url('../images/header-bg.png');
	background-repeat: repeat-x;
	min-height: 100px;
		font-family: 'Panton',sans-serif;
}

#login {
	//text-align: right;
}

header a{
	color: white;
	text-decoration: none;
}

header a:hover{
	color: white;
	text-decoration: underline;
}

header .container{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 15px;
}

header .container .menu-item{
	flex:1;
}

.menu-logo{
	flex:1;
}

.menu-list{
	flex:3;
	text-align: center;
	font-size: 1.4em;
}

.menu-list ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.menu-list ul li a:hover{
	text-decoration: none;
	background: url('../images/menu_arrow.png');
	background-position: bottom;
	background-repeat: no-repeat;
	padding-bottom: 12px;
}

.active{
	background: url('../images/menu_arrow.png');
	background-position: bottom;
	background-repeat: no-repeat;
	padding-bottom: 12px;
}

.menu-login{
	flex:1;
	//float: right;
	text-align: right;
	text-transform: lowercase;
	align-self: start;
	opacity: .8;
	transition: .5s;
}

.menu-login:hover{
	opacity: 1;
	transition: .5s;
}

.menu-login .login-text{
	position: relative;
	top: 2px;
	margin-right: 10px;
}

.menu-login img{
}

@media (max-width:991px){
	header{
		background-size: cover;
		padding-bottom: 10px;
	}

	.menu-list ul{
		flex-direction: column;
	}

	.menu-list ul li a:hover{
		text-decoration: underline;
		background: transparent;
		background-position: bottom;
		margin-bottom: 15px;
	}

	.active{
		text-decoration: underline;
		background: transparent;
		background-position: bottom;
		margin-bottom: 15px;
	}

	.menu-login{
		align-self: center;
	}
}


/*.................CONTENT...............*/
.content .container{
	flex-wrap: wrap;
	justify-content: space-center;
	align-items: center;
	padding: 20px 0px 10px 0px;
}
.content {
	flex:1
}
.contest-list {
	display: flex;
}

.image-competition{
	float: none;
	margin: 0 auto;
}


/*.................FOOTER...............*/
footer {
	background: url('../images/footer.png');
	background-size:cover;
	background-repeat:no-repeat;
	min-height: 20em;
	position: relative;
}

//Trida pro fixni vysku footer na homepage

footer .container{

}

.footer-text{
	width: 100%;
	text-align: center;
	color:white;
	//padding-top: 80%;
	position:absolute;
    bottom:0;
    left:0;

}

.hidden-till-xs{
	display: block;
}

@media (max-width: 991px){
	//background-size: cover;


}



/*.................SEKCE SOUTĚŽE...............*/
.section-heading{
	color: rgb(35, 103, 191);
	text-align: center;
	width: 100%;
}

.content-competitions .container{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-center;
	align-items: center;
	padding: 20px 0px 50px 0px;

}

.title-text{
	padding-top: 50px;
}

.section-link{
	font-weight: bold;
	color: rgb(47, 150, 222);
}

.section-menu{
	border-bottom: 1px solid  rgb(47, 150, 222);
}

.submenu{
	display: flex;
	flex-wrap: wrap;
	text-align: left;
	justify-content: space-between;
}

.submenu li a{
	font-size: 1.3em;
	color: rgb(47, 150, 222);
}

.submenu li .submenu-active{
	background: url('../images/submenu_arrow.png');
	background-position: bottom;
	background-repeat: no-repeat;
	padding-bottom: 12px;
}

.submenu li a:hover{
	text-decoration: none;
	background: url('../images/submenu_arrow.png');
	background-position: bottom;
	background-repeat: no-repeat;
	padding-bottom: 12px;
}

.part ul {
	list-style-image: url('../images/menu-icon.png');
	line-height: 1.5em;
	padding-left:1em;
}

.part ul li ul {
	list-style-image: url('../images/submenu-icon.png');
	padding-left:2em;

}

@media (max-width: 767px){
	.part ul {
	line-height: 1.5em;
	padding-left:2em;
	}

	.part ul li ul {
		list-style-image: url('../images/submenu-icon.png');
		padding-left:4em;

	}
}
.static-page {
	margin:0 0 10px 0;
}
.static-main {
	color: #378ae0;
	font-size: 1.2em;
	font-weight: 800;
}

@media (max-width:1100px){
	.submenu{
		//flex-direction: column;
	}
}
/* Taby v sekci souteze */
#tab-content{
	display: none;
}


.compete{
	padding-top: 60px;
}

.compete-heading{
	color: black;
}

.compete-button{
	margin-top: 50px;
	background: url('../images/button-bg.png');
	background-repeat: repeat;
	font-size: 1.5em;
	color: white;
	text-align: center;
	padding: 20px 60px;
	border-radius: 35px;
	border: 1px solid white;
	transition: .3s;
}

.compete-button:hover{
	color: rgb(47, 150, 222);
	background: white;
	border: 1px solid rgb(47, 150, 222);
	transition: .5s;
}

.compete-button-gray{
	margin-top: 50px;
	background: url('../images/button-bg-gray.png');
	background-repeat: repeat;
	font-size: 1.5em;
	color: white;
	text-align: center;
	padding: 20px 60px;
	border-radius: 35px;
	border: 1px solid white;
	transition: .3s;
}

.compete-button-gray:hover{
	color: rgb(169, 180, 188);
	background: white;
	border: 1px solid rgb(169, 180, 188);
	transition: .5s;
}

.compete-footnote {
	text-align: center;
	font-size: 0.8em;
	color: #333333;
    margin-top: 2em;
}

.compete-image{
	float: right;
	position: relative;
	top: -250px;
	left: 60px;
	margin-bottom: -150px;
}

@media (max-width: 991px){
	.compete-image{
		top:0px;
		left: 0px;
		margin-bottom: 140px;

	}

	.title-text{
		margin: 0px 15px;
	}

	.compete-button{
		padding: 10px 30px;
	}

	.compete-button-gray{
		padding: 10px 30px;
	}
}

@media (max-width: 767px){
	.submenu{
		flex-direction: column;
		text-align: center;
	}

	.submenu li .submenu-active{
		text-decoration: underline;
		background: transparent;
		background-position: bottom;
		background-repeat: no-repeat;
		padding-bottom: 12px;
	}


	.submenu li a:hover{
		text-decoration: underline;
		background: transparent;
		background-position: bottom;
		background-repeat: no-repeat;
		padding-bottom: 12px;
	}
}



/*
 * Custom updates
 * --------------------------------------------------
 */
.form-image {
    max-width: 100%;
	height:auto;
}

#contest-list {
    display: inline-block
}


/*
 * Login modal
 * --------------------------------------------------
 */
.log-section {
    padding: 30px;
    max-width: 350px;
    width: 100% !important;
    background-color: #F7F7F7;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: roboto;
}

.log-section h1 {
    text-align: center;
    font-size: 1.8em;
    font-family: roboto;
    color: #337ab7;
}

.log-section input[type=submit] {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.log-section input[type=text], input[type=password], input[type=email] {
    height: 44px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    padding: 0 8px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.log-section input[type=text]:hover, input[type=password]:hover {
    border: 1px solid #b9b9b9;
    border-top: 1px solid #a0a0a0;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.loginmodal {
    text-align: center;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
}

.loginmodal-submit {
    border: 0;
    color: #fff;
    text-shadow: 0 1px rgba(0, 0, 0, 0.1);
    background-color: #337ab7;
    padding: 17px 0;
    font-family: roboto, serif;
}

.loginmodal-submit:hover {
    border: 0;
    text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    background-color: #5882a3;
    color: #ffffff;
}

.log-section a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    opacity: 0.6;
    transition: opacity ease 0.5s;
}

.login-help {
    //font-size: 12px;
}
.login-help a {
  font-weight: bold;
  color: #337ab7;
}
