/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 *
 * 2do barva selekce
 */

::-moz-selection {
    background: #d8f8fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'TeutonMager';
    src: url('fonts/TeutonMager.eot');
    src: url('fonts/TeutonMager.eot?#iefix') format('embedded-opentype'),
         url('fonts/TeutonMager.woff') format('woff'),
         url('fonts/TeutonMager.ttf') format('truetype'),
         url('fonts/TeutonMager.svg#teuton_magerregular') format('svg');
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body, html {
	font-family: 'TeutonMager', sans-serif;
	font-size: 17px;
	height: 100%;
	min-width: 670px;
	min-height: 550px;
}

body, html {
	font-family: 'TeutonMager', sans-serif;
	text-shadow: none;

	background-color: #ffffff;
	color: #003059;
	background: linear-gradient(to right,  rgba(0,48,89,1) 49.9999%, rgba(255,255,255,1) 50%);
	height: 100%;
}

button, input, select, textarea {
	font-family: 'Verdana', sans-serif;
	color: #003059;
}

a { color: #003059; text-decoration: none; }
a:hover { color: #d2232a; text-decoration: underline; }

/* --- project --- */

#card {
	min-width: 670px;
	position: absolute;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
}

.left, .right {
	width: 50%;
	box-sizing: border-box;
	padding-left: 30px;
	float: left;
	text-align: left;
}

.left {
	color: #ffffff;
	text-align: right;
	padding-right: 30px;
}

.left a {
	color: #ffffff;
	font-weight: bold;
}

#stripe {
	margin-top: 16px;
	background-image: url("../img/stripe.png");
	background-position: top left;
	background-repeat: repeat-x;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

div.center {
	text-align: center;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}
