/*
		ZČU::ELEKTRONICKÉ VOLBY
		Stylesheet
		
		Basic styling provided by Milligram 1.4.1
		
		Copyright (c) 2020 Ekštein+Úbl+Pártl | KIV | FAV | ZČU
*/

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

		STANDARD HTML ELEMENT RE-STYLING

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

body {
	background-color: rgb(49, 83, 157);
	color: #ffffff;
	
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 1.5rem;

	line-height: 1.1;
}

a {
	color: #9e5500;
}

a:hover, a:focus {
	color: #ddaa00;
}

h1, h2, h3, h4, h5, h6, h7 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	line-height: 1.0;
	margin: 0 0 0 0;
}

h1 {
	font-size: 2.9rem;
	font-weight: 400;
}

h2 {
	font-size: 2.9rem;
	font-weight: 300;
}

h3 {	
	font-size: 2.5rem;
	font-weight: 400;
}

h4 {
	font-size: 2.5rem;
	font-weight: 300;
}

h5 {
	font-size: 2.1rem;
	font-weight: 400;
}

h6 {
	font-size: 2.1rem;
	font-weight: 300;
}

h7 {
	font-size: 1.7rem;
	font-weight: 400;
}


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

		MILLIGRAM OVERRIDES

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

.container {
	width: 100%;
	max-width: 100%;
	min-width: 100%;

	padding: 0;
	
	background-color: #ffffff;
	color: #000000;
}

.row {
	margin-left: 0;
}

@media (min-width: 40rem) {
	.row {
		flex-direction: row;
		margin-left: 0;
		width: 100%;
	}
	
	.row .column {
		margin-bottom: inherit;
		padding: 0 0rem;
	}
}

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
	background-color: #d0d0d0;
	border: 2px solid #a0a0a0;
	border-radius: .4rem;
	color: #000000;
	cursor: pointer;
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 700;
	height: 3.8rem;
	letter-spacing: .1rem;
	line-height: 3.8rem;
	padding: 0 3.0rem;
	margin: 0;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 4px 4px 8px -2px rgba(0, 0, 0, 0.2);
}

.button:focus, .button:hover, button:focus, button:hover, input[type='button']:focus,
input[type='button']:hover, input[type='reset']:focus, input[type='reset']:hover,
input[type='submit']:focus, input[type='submit']:hover {
    background-color: #f0f0f0;
    border-color: #c0c0c0;
    color: #000000;
    outline: 0;
}
	
input[type="checkbox"], input[type="radio"] {
	margin-bottom: auto;
	margin-top: 1rem;
	margin-left: 2rem;
}
	

/*
.row.fullwidth {
	margin: 0;
	border: 1px solid green;
}
*/

/*
tr:hover, tr:focus {
	background-color: #ffcc00;
}
*/

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

		LOCAL COMPONENT STYLING

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

#header-logo {
	margin-left: 4rem;
	margin-top: 4rem;
	margin-bottom: 4rem;
	
	width: 40%;
}

#header-alert-area {
	padding-right: 5rem;
	padding-left: 5rem;
	padding-top: 5rem;
	padding-bottom: 3rem;
	
	background-color: #ffcc00;	
}

#header-alert-area a {
	text-decoration: none;
	color: #000000;
}

#header-alert-banner {
	font-family: 'Open Sans', sans-serif;
	font-weight: 800;
	font-size: 3rem;
	font-size: 3.8vw;
	line-height: 90%;
	
	text-align: right;	
}

#footer {
	background-color: rgb(49, 83, 157);
	color: rgb(255, 255, 255);
	
	min-height: 3rem;
	
	padding: 1rem 1.2rem 0.7rem 1.2rem;
}

#footer a {
	color: #80ffff;
}

#footer a:hover, a:focus {
	color: #ffcc00;
}


#invalid-ballot-alert {
	font-weight: 400;
	font-size: 2rem;
	
	color: #ffffff;
	background-color: #ff0000;
	
	padding: 1rem 2rem 1rem 2rem;
}

#invalid-ballot-alert .eng {
	color: #c0c0c0;
}

.error-alert {
	font-weight: 400;
	font-size: 1.6rem;
	
	color: #ffffff;
	background-color: #ff0000;
	
	padding: 1rem 2rem 1rem 2rem;
}

.error-alert .eng {
	color: #c0c0c0;
}

.success-alert {
	font-weight: 400;
	font-size: 1.6rem;
	
	color: #222222;
	background-color: #00ff00;
	
	padding: 1rem 2rem 1rem 2rem;
}

.success-alert .eng {
	color: #444444;
}

/*
@media only screen and (max-width: 50em) {
	#header-logo {
		margin-top: 4rem;
		width: 50%;
	}
}


#user-salutation-login {
	width: 100%;
	
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 6.7rem;
	font-size: 5.2vw;

	text-align: center;
	
	line-height: 1;
}

#user-salutation-left {
	width: 100%;
	
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 3.5rem;
	font-size: 2.6vw;
	
	text-align: right;
	line-height: 1;
	
	padding: 0;
}

#user-salutation-right {
	width: 100%;
	
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 3.5rem;
	font-size: 2.6vw;
	
	text-align: left;
	line-height: 1;
	
	padding: 0;
	margin-right: 2rem;
}

@media only screen and (max-width: 35em) {
	#user-salutation-left {
		font-size: 1em;
		font-weight: 400;
		
		text-align: left;
		padding-left: 2rem;
		padding-top: 2rem;
	}
	
	#user-salutation-login {
		text-align: left;
		padding-left: 2rem;
	}
	
	#user-salutation-right {
		font-size: 1em;
		font-weight: 400;
		
		padding-left: 2rem;
	}
}

.content {
	margin: 1rem 5rem 2rem 5rem;
}

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

.content h1 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 3rem;
	font-size: 2.4vw;
	
	margin-top: 2rem;
}

.content h4 {
	margin-top: 2rem;
}

@media only screen and (max-width: 35em) {
	.content {
		margin: 5rem 3rem 5rem 2rem;
	}
	
	.content h1 {
		font-weight: 400;
		font-size: 2rem;
	}
}

*/

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

		LOCAL STYLING CLASSES - COLOURS

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

.lightblue-tinted-bg {
	background-color: #bfcfff;
}

.lightgreen-tinted-bg {
	background-color: #dfffde;
}

.lightgold-tinted-bg {
	background-color: #fff8de;
}

.lightgray-tinted-bg {
	background-color: #e8e8e8;
}

.lightred-tinted-bg {
	background-color: #ffe8e8;
}

.red-bg {
	background-color: #ff0000;
}

.error {
	background-color: #ff0000;
	color: #ffffff;
}

.error .eng {
	color: #b0b0b0;
}

.info {
	background-color: #0000ff;
	color: #ffffff;
}

.warn {
	background-color: #ffcc00;
	color: #000000;
}

.green-btn {
	background-color: #a5ffa5 !important;
	border-color: #2f9c2f !important;
}

.green-btn:hover, .green-btn:focus {
	background-color: #caffc5 !important;
	border-color: #00ff00 !important;
	color: #000000 !important;
}

.red-btn {
	background-color: #ffa5a5 !important;
	border-color: #9c2f2f !important;
}

.red-btn:hover, .red-btn:focus {
	background-color: #ffc5c5 !important;
	border-color: #ff0000 !important;
	color: #000000 !important;
}

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

		LOCAL STYLING CLASSES

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

.large {
	font-size: 3.5rem;
	font-weight: 700;
}

.salutation {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 3.2rem;
	
	line-height: 1.0;
}

.salutation-login {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 6rem;
	
	line-height: 1.0;
}

.eng {
	font-style: italic;
	color: #808080;
}

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

.center-aligned {
	text-align: center;
}

.top-padded {
	padding-top: 1rem;
}

.top-padded-3 {
	padding-top: 3rem;
}

.bottom-padded {
	padding-bottom: 1rem;
}

.bottom-padded-3 {
	padding-bottom: 3rem;
}

.bottom-margin {
	margin-bottom: 1rem;
}

.bottom-margin-2 {
	margin-bottom: 2rem;
}

.bottom-margin-3 {
	margin-bottom: 3rem;
}

.padded {
	padding: 1rem 1rem 0rem 1rem;
}

.padded-full {
	padding: 1rem 1rem 1rem 1rem;
}

.padded-3 {
	padding: 3rem 3rem 0rem 3rem;
}

.lr-padded-3 {
	padding: 0rem 3rem 0rem 3rem;
}

.padded-3-full {
	padding: 3rem 3rem 3rem 3rem;
}

.vertically-centered {
	position: relative;
	top: 50%;
	transform: translate(0, -50%);
}

.right-floating {
	float: right;
}

.salutation-left {
	margin-left: 3rem;
	margin-right: 1rem;
}

.salutation-right {
	margin-left: 1rem;
	margin-right: 3rem;
}

.copyright {
	font-weight: 100;
	font-size: 1.2rem;
}

/*
.clean {
	border: 0;
}

.welcome-tab {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 4rem;
	
	line-height: 1;
	
	padding: 0;
}

.welcome-tab-en {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 100;
	font-size: 4rem;
	font-style: italic;
	
	line-height: 1;
	
	padding: 0;
	
	color: rgb(160, 160, 160);
}

.welcome-tab-user {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 6rem;

	padding: 0 2rem 0 2rem;
	
	line-height: 1;
}


.centered {
	text-align: center;
}
*/

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

		SKELETON ADD-ONS

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

/*
.button, button, input[type="submit"], input[type="button"] [class^="green"] {
	color: #000000;
	
	border-width: 2px;
}

*/

table.equal-width-columns {
	table-layout: fixed;
	width: 100%;
}

table.equal-width-columns th, table.equal-width-columns td {
	width: 50%;
}

.datepicker-panel>ul>li {
    color: #000000;
}

.candidate-description {
    width: 60%;
}
