a {color: #fff; outline: none;}
a:hover {color: #fff;}
a:visited {color: #fff; }
a:focus {color: #fff;outline: none;}

h1,h2,h3,h4 { font-weight: bold; }

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}
::selection {
	background: #737373;
	text-shadow: none;
}
.shrink-img img {
	height: auto;
	width: 100%;
}
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-ultrabold { font-weight: 900; }
.align-middle   {
	display: -webkit-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row /* works with row or column */
	flex-direction: row;
	-webkit-align-items: center;
	align-items: center;
	justify-content: center;
}
ul.no-bull,.no-bull ul {
	margin: 0;
	padding: 0;
	list-style: none; 
}
.table-row {
	display: table;
	width: 100%;
}
.table-row>div {
	display: table-cell;
	vertical-align: middle;
	padding: 1em 2em;
}
/*
// ========================================== \\
||                                              ||
||               DYNWEB styles                  ||
||                                              ||
\\ ========================================== //
*/
html {
	background: #fff;
}
body {
	background: #fff;
	color: #000;
	padding:0;
	margin:0; 
	font-family: courier,monospace;
	/* pak pouzit tenhle font https://typekit.com/fonts/courier-prime */
	font-size: 170%;	
}
/* header */
header  {margin-bottom: 2em;}
a#home-link {
    display: inline-block;
	outline: none;
	padding: 2em 0;	
	}
.black-box {background-color: black;color: #fff;vertical-align: middle;}
.black-box div[class*="col-"] {padding: 1em;vertical-align: middle;}
/* main */
main {
	color: #fff;	
	position: relative;
}
.projects {}
a.project {position: relative;display: block;margin-bottom: 2em;} 
.project span {display: block;background-color: rgba(0, 0, 0, 0.75);text-align: center;padding: 1em 0;position: absolute;left: 0;bottom: 0;z-index: 1;width: 100%;}

.projects .expand-box {
	/*-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;*/
	background-color: #000; 
}
.projects .expanded-mobile {
	background-color: #000;
	padding: 2em; 
	margin-bottom: 2em;
	display: block; 
}
.projects article {display: none;}
.expand-box.expanded { padding: 4em; margin-bottom: 2em;}
.arrow:after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 20px 40px 20px;
	border-color: transparent transparent #000000 transparent;
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: -39px;
	margin-left: -10px;
}

/* footer */
footer {
	color: #7c8692;
	padding: 0 0 2em 0;
}
footer a {
	color: #fff; outline: none;	
}
footer .btn {width: 100%;padding: 1em 0;color: #fff;outline: none;}
footer .btn:hover, footer .btn:focus {color: #fff;outline: none;}
footer .well {background-color: #000;border: none;box-shadow: none;border-radius: 0;margin: 0;padding: 4em 6em;}

/*
// ========================================== \\
||                                              ||
||             DYNWEB styles end                ||
||                                              ||
\\ ========================================== //
*/

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

/*
* 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;
}

/* responsive layout */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {   
}
@media handheld, only screen and (max-width: 992px) {
	body {font-size: 150%;}
	footer .well {padding: 4em;}
}
@media handheld, only screen and (max-width: 767px) {
	body {font-size: 130%;}	
	.expanded-mobile {text-align: center;}
	.expanded-mobile p {margin: .5em 0;}
	footer .well { padding: 2em;}	
	.table-row, .table-row>div {
		display: block;
		text-align: center;
		padding: .5em 0;
	}	
}
@media handheld, only screen and (max-width: 480px) {
	body {font-size: 120%;}
	.projects .expanded-mobile {padding: 1em;}
	footer .well { padding: 1em;}	
}