﻿/* Basic declarations */
@font-face {
	font-family: "rajdhani";
	src: url("fonts/rajdhani/rajdhani.regular.ttf");
}
@font-face {
	font-family: 'Letter Gothic Std Medium';
	font-style: normal;
	font-weight: normal;
	src: url('fonts/LetterGothicStd.woff') format('woff');
}
@font-face {
	font-family: 'Encode sans';
	font-style: normal;
	font-weight: normal;
	src: url('fonts/encodesans/EncodeSansExpanded-Regular.ttf');
}
body {
	margin: 0;
	padding: 0;
	background-color: #FFF;
}
div.content {
	width: 813px;
	height: 480px;
	margin: auto;
	font-family: "Encode sans", Arial, sans-serif;
}
/* Heading */
div.heading {
	margin-top: 10px;
}
a.button {
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #000;
	margin: auto;
	margin-bottom: 7px;
	text-align: center;
	text-decoration: none;
	display: block;
	color: #000;
}
div.blueLine {
	width: 100%;
	height: 5px;
	background-color: #4286f4;
	margin-bottom: 10px;
}
div.heading div.name h1 {
	font-family: "rajdhani", sans-serif;
	font-size: 72pt;
	color: #2c3e50;
	text-align: center;
	position: relative;
	top: -20px;
	margin-top: 0;
	margin-bottom: 0;
}
div.heading div.name h1 a {
	text-decoration: none;
	color: inherit !important;
}
div.heading div.name h1 img {
	width: 125px;
	border-radius: 75px;
	position: relative;
	top: 30px;
	margin-right: 15px;
}
div.heading div.name p {
	font-family: "rajdhani", sans-serif;
	font-size: 24pt;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 0;
	color: #000;
}
/* The blue stripe between heading and the page content
#bar {
	height: 15px;
	width: 100%;
	background-color: #3498DB;
	margin-bottom: 20px;
}*/
/* The bar with control icons for the gallery */
div.line {
	width: 100%;
	margin-bottom: 5px;
	text-align: center;
}
div.line p {
	margin: 0;
	padding: 0;
}
div.line img {
	cursor: pointer;
}
div.line img {
	width: 25px;
	cursor: pointer;
	transition: transform 800ms;
}
div.line img:hover {
	transform: rotate(360deg);
}
/* Table with the images */
table {
	margin: auto;
}
/* Settings for images in the table */
table tr td {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	transition: all 300ms;
}
img.cell {
	max-width: 200px;
	cursor: pointer;
}
div.overlay {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 72pt;
	color: #FFF;
	width: 100%;
	height: 97%;
	background-color: rgba(0, 0, 0, 0.3);
	text-align: center;
	cursor: pointer;
	display: none;
	transition: all 300ms;
}
td:hover div.overlay {
	display: block;
	transition: all 300ms;
}/* Enlarging the image on mouse over - in preparing
td:hover img.cell {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	transition: all 300ms;
} */
div.overlay span {
	position: relative;
	top: 40px;
}
/* The frame for an enlarged image */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.modal-content {
    margin: auto;
    display: block;
    height: 80%;
		max-height: 683px;
}
/* Ovladače obrázku */
.guiLine {
	margin-left: 15px;
	position: relative;
	bottom: 80px;
	opacity: 0.6;
	transform: scale(0.9);
	transition: all 500ms ease-in;
	cursor: pointer;
}
.guiLine:hover {
	transform: scale(1.1);
	opacity: 1;
	transition: all 500ms ease-in;
}
img.guiLine.rgt {
	transform: rotate(180deg) scale(0.9);
}
img.guiLine.rgt:hover {
	transform: rotate(180deg) scale(1.1);
}
#ovladace {
	text-align: center;
}
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*Emphasize for the buttons in modal */
div.modalbg {
	width: inherit;
}
