/* - CSS Reset -> Begin ----------------------------------------- */
html {
    color: #000;
    background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
p,
blockquote {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
    max-width: none;
}

address,
button,
caption,
cite,
code,
dfn,
em,
input,
optgroup,
option,
select,
strong,
textarea,
th,
var,
b,
ins,
i,
u,
table,
cite {
    font-family: inherit;
    font-size: inherit;
}


ul,ol {
    list-style-type: none;
}

caption,
th {
    text-align: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}


/*because legend doesn't inherit in IE */
legend {
    color: #000;
}

html, body {
    min-height:100%;    
    text-align: left;
}

strong, b {
    font-weight: bold;
}

i, cite, em, var, address, dfn {
    font-style: italic;
}
u, ins {
    text-decoration: underline;
} 
  
p {
    margin: 0 0 0.5em 0;
    padding: 0;
    line-height: normal;
    text-align:justify;    
}

a, .ui-widget-content a, .sidebar a {color:#367DB3; text-decoration:none;}

a:hover, .ui-widget-content a:hover, .sidebar a:hover {color: #367DB3; text-decoration: underline}



.ui-widget-content a:visited:not(.ui-state-default),
.sidebar a:visited {
    color: #367DB3; 
    text-decoration: none
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open sans', Arial, sans-serif;
    margin: 0 0 0.5em 0;
    color: #364656;/*385EA7*/
    /*font-weight: 100;*/
    line-height: 1.25;
    
}

h1 {font-size: 22px;} 
h2 {font-size: 21px;}
h3 {font-size: 18px;}
h4 {font-size: 15px;font-weight:bold;margin-top:0.5em;} 
h5 {font-size: 14px;} 
h6 {font-size: 12px;} 

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
}

/* - CSS Reset -> End ----------------------------------------- */

/* -- flatbutton ------------------------------*/


.flat-button,
.ui-widget-content a.flat-button {
	cursor: pointer;
	display: inline-block;
	transition: border .25s linear,color .25s linear,background-color .25s linear;
  	-webkit-font-smoothing: subpixel-antialiased;
  	padding: 7px 12px;
  	border-radius: 2px;  	
  	vertical-align: middle;  	  	
  	text-decoration: none;
	border:0;
	color: #fff;
}

.ui-widget-content a.flat-button:hover {
	color: #fff;
}
.flat-button.withShadow {
    box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
}
.flat-button-big {
	padding: 15px 20px;
	font-size: 1.4em;
}
.flat-button-bigger {
	padding: 10px 25px;
	font-size: 1em;
}
.flat-button:hover {
	text-decoration: none;
}

.flat-button-yellow {
	color: #fff;
  	background-color: #f1c40f;
    border-color: #eea236;
}
.flat-button-yellow:hover,.flat-button-yellow:focus {
	color: #fff;	
  	background-color: #f4d313;
  	border-color: #f4d313;
}

.flat-button-blue,
.ui-widget-content a.flat-button-blue {
	color: #fff;
  	background-color: #3498db;
    border-color: #3498db;
}

.flat-button-blue:hover,.flat-button-blue:focus,
.ui-widget-content a.flat-button-blue:hover {
	color: #fff;	
  	background-color: #5dade2;
  	border-color: #46b8da;
}

.flat-button-blue.selected {
	color: #fff;
  	background-color: #38495a;
    border-color: #38495a;
}


.flat-button-teal {
	color: #fff;
  	background-color: #009688;
    border-color: #009688;
}
.flat-button-teal:hover,.flat-button-teal:focus {
	color: #fff;	
  	background-color: #00796B;
  	border-color: #009688;
}

.flat-button-green {
	color: #fff;
  	background-color: #2ecc71;
    border-color: #4cae4c;
}
.flat-button-green:hover,.flat-button-green:focus {
	color: #fff;	
  	background-color: #58d68d;
  	border-color: #58d68d;
}

.flat-button-red {
	color: #fff;
  	background-color: #e74c3c;
    border-color: #d43f3a;
}
.flat-button-red:hover,.flat-button-red:focus {
	color: #fff;	
  	background-color: #ec7063;
  	border-color: #ec7063;
}

.flat-button-gray {
	color: #fff;
  	background-color: #bdc3c7;
    border-color: #bdc3c7;
}
.flat-button-gray:hover,.flat-button-gray:focus {
	color: #fff;	
  	background-color: #cacfd2;
  	border-color: #cacfd2;
}


.flat-button-brown {
	color: #fff;
  	background-color: #795548;
    border-color: #795548;
}
.flat-button-brown:hover,.flat-button-brown:focus {
	color: #fff;	
  	background-color: #8D6E63;
  	border-color: #8D6E63;
}

.flat-button-greenm {
	color: #fff;
  	background-color: #4CAF50;
    border-color: #4CAF50;
}
.flat-button-greenm:hover,.flat-button-greenm:focus {
	color: #fff;	
  	background-color: #66BB6A;
  	border-color: #66BB6A;
}


.flat-button-asphalt {
	color: #fff;
  	background-color: #34495e;
    border-color: #34495e;
}
.flat-button-asphalt:hover,.flat-button-asphalt:focus {
	color: #fff;	
  	background-color:#2c3e50;
  	border-color: #2c3e50;
}

.flat-button-graym {
	color: #fff;
  	background-color: #78909C;
    border-color: #78909C;
}
.flat-button-graym:hover,.flat-button-graym:focus {
	color: #fff;	
  	background-color: #546E7A;
  	border-color: #546E7A;
}


/* main classes --------------------- */



body {
	font-family: 'Open Sans', sans-serif;
	color: #2c3e50;
	font-size: 16px;
}


.p-hero {
	background-color: #576574;
}

.p-hero h1 {
	font-size: 4vh;
	margin: 0;
	color: #fff;
}

.p-hero-bg {
	width: 100%;
	height: 100%;
	background: url('../icons/hero1.svg') center center no-repeat;
	background-size: contain;
}

.p-hero-subtitle {
	opacity: 0.7;
}

.p-hero-inner {
	max-width: 1200px;
	box-sizing: border-box;
	padding: 30px;
	min-height: 30vh;
	display: flex;
	flex-flow: row wrap;
	color: #fff;
	margin: auto;
}

.p-hero-l {
	flex: 45% 1 1;
	align-self: center;
	min-width: 200px;
}

.p-hero-r {
	flex: 45% 1 1;
	min-width: 200px;
}

.p-cols {
	max-width: 1200px;
	
	box-sizing: border-box;
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	
}

.p-col {
	flex: 45% 1 1;
	box-sizing: border-box;
	min-width: 200px;
	padding: 50px 30px;
	margin: 0 20px;
}


.p-col h2 {
	
	font-weight: bold;
}

.p-col .svgicon {
	opacity: 0.5;
}

.main-outer {
	min-height: 100vh;
	background-color: #7f8c8d;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	box-sizing: border-box;
}

.main-inner {
	margin: 0 auto;
	width: calc(100% - 100px);	
	max-width: 500px;
	padding: 50px;
	background-color: #fff;
	box-shadow: 1px 2px 4px rgba(0,0,0,0.35);	
}	


h1.main-title {
	font-size: 32px;
	color: #34495e;
	font-weight: 100;
}

.main-frm input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #95a5a6;
	padding: 10px 12px;
}

.main-errorbox {
	margin: 15px 0;
	color: #e74c3c;
	font-weight: bold;
}


.potvrdenie-outer {
	width: 100%;
	max-width: 21cm;
	background-color: #fff;
	box-sizing: border-box;
	box-shadow: 1px 2px 4px rgba(0,0,0,0.35);	
	
	margin: 0 auto;
}

.potvrdenie-content {
	padding: 1.5cm;
	display: flex;
	flex-flow: row wrap;
}


.potvrdenie-text {
	flex: auto 1 1;
	min-width: 200px;
}

.potvrdenie-qr {
	flex: auto 0 0;
	min-width: 150px;
	align-self: center;
	padding-top: 1cm;
}

.potvrdenie-poucenie {
	flex: 100% 1 1;
	box-sizing: border-box;
	margin-top: 1cm;
	
	padding-top: 0.4cm;
}


.potvrdenie-podpis {
	flex: 100% 1 1;
	box-sizing: border-box;
	margin-top: 2cm;
	text-align: right;
}

.potvrdenie-header {
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;	
	display: flex;
	flex-flow: row nowrap;
}
.potvrdenie-header-valid {
	background-color: #2ecc71;
	color: #fff;


}

.potvrdenie-header i.header-icon {
	font-size: 0.9cm;
	position: absolute;
	top: 0.3cm;
	left: 0.2cm;

}

.potvrdenie-field {
	display: flex;
	flex-flow: row nowrap;
}

.potvrdenie-field .label {
	flex: auto 0 0;
	margin-right: 8px;
}

.potvrdenie-header-l {
	flex: auto 1 1;
	font-weight: bold;
	padding: 0.4cm 0.4cm  0.4cm 1.5cm;
}

.potvrdenie-header-r {
	
	flex: auto 1 1;
	text-align: right;
}

.potvrdenie-header-button {
	color: #fff;
	display: inline-block;
	text-transform: uppercase;
	padding: 0.2cm 0.5cm;
	margin: 0.2cm;
	cursor: pointer;
}

.potvrdenie-header-button:hover {
	text-decoration: none;
	color: #fff;
}


@media (max-width: 500px) {
	.main-outer {
		background-color: #fff;
		justify-content: flex-start;
	}
	.potvrdenie-header {
		box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
	}
	.potvrdenie-header-l {
		padding-left: 0.8cm;
	}
	.potvrdenie-header-r {
		padding-right: 0.8cm;
		padding-bottom: 0.4cm;
	}
	.potvrdenie-header i.header-icon {
		display: none;
	}
	.potvrdenie-outer {
		box-shadow: none;
	}
	.potvrdenie-content {	
		padding: 0.8cm;
	
	}

	.potvrdenie-header {
		flex-flow: row wrap;
	}
}


@media print {
	.potvrdenie-header {
		display: none;
	}
	.main-outer {
		min-height: none;
		background-color: transparent;
		justify-content: flex-start;
		padding-top: 0 !important;
	
	}
	.potvrdenie-outer  {
		box-shadow: none;
		max-height: none;
		
	}
}

@page {
    margin-top: 0cm;
    margin-bottom: 0cm;
}


.svgicon { 
	display: inline-block;
	width: 1em;
	height: 1em;
	font-size: 50px;
	background-position: center center;
	background-repeat:  no-repeat;
	background-size: contain; 
}



.p-code-outer {
	background-color: #131b25;
	min-height: 100vh;
	padding-top: calc(50vh - 253px);
	box-sizing: border-box;	
	-webkit-tap-highlight-color: transparent;
}
.p-code-inner0 {
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	max-width: 800px;
	
}
.p-code-inner0 .p-code-inner-img {
	padding-top: 25px;
	flex: 37% 1 1;
	max-width: 300px;
	align-self:center;		
	padding: 20px;
	box-sizing: border-box;	
	text-align: center;
}
.p-code-inner0 img {
	max-width: 300px;
	width: 100%;
}
.p-code-inner0 img.p-code-iuventa-logo {
	margin-top: 20%;
	max-width: 200px;
}
.p-code-inner {
	flex: 60% 1 1;
	background-color: transparent;	
	margin: auto;
	color: #fff;
	position: relative;	
}
.p-code-title {
	padding: 30px 25px 0 25px;
	color: #fff;
	background-color: transparent;
	display: flex;
	flex-flow: row wrap;
}


.p-code-title h1 {
	flex: 50% 1 1;
	text-align: left;	
	font-size: 50px;
	margin: 16px 0 16px 0;
	color: inherit;
	align-self: center;	
}


.p-code-subtitle {
	margin-bottom: 25px;
	opacity: 0.8;
}

.p-code-form {
	padding: 25px;
	
}

.p-code-form-row {
	padding: 8px 0;
}

.p-code-field {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 12px;	
	border: 1px solid #ddd;
	background: #fff;
	color: black;
	
}

.p-code-form-row.submitRow {
	text-align: right;
}
.p-code-submit-btn {
	box-sizing: border-box;
	padding: 12px 25px;
	background-color: #43A047;
	color: #fff;
	border: 0;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.35);
	cursor: pointer;
}

.p-code-submit-btn:active {
	background-color: #2E7D32;
}
@media (hover: hover)  and (pointer: fine) {
	.p-code-submit-btn:hover {
		background-color: #388E3C;
	}
}

@media (max-width: 800px) {
	.p-code-outer {
		padding: 0;
	}
	.p-code-inner0 .p-code-inner-img {	
		flex: 100% 0 0;	
		white-space: nowrap;
		box-sizing: border-box;
		max-width: none;
		text-align: left;
	}
	.p-code-inner0 img {
		max-height: 20vh;
		vertical-align: middle;
		width: 50%;
	}

	.p-code-inner0 img.p-code-iuventa-logo {
		margin-top: 0;
		
	}
	.p-code-title h1 {
		font-size: 40px;
	}
	.p-code-title, 
	.p-code-form {
		padding-top: 18px
	}	
	.p-code-inner {
		flex: 100% 0 0;
		box-shadow: none;
		position: relative;		
	}
}

ul.pokyny li {
	margin: 0 0 4px 0;
}


.contest-old-browser {
	color: #fff;
    font-weight: bold;
    margin: 15px -10px;
    background-color: #e84118;
    padding: 10px;
	border-radius: 15px;
}

.contest-old-browser a {
	color: inherit !important;
	text-decoration: underline;	
}