@font-face {
  font-family: "REM Thin";
  src: url('webfonts/REM-Thin.woff2') format('woff2');
}

@font-face {
  font-family: "REM SemiBold";
  src: url('webfonts/REM-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: "REM Regular";
  src: url('webfonts/REM-Regular.woff2') format('woff2');
}

/* TABS */

.topnav {
  overflow: hidden;
  padding-left: 15%;
  padding-right: 15%;
  max-height: 48px;
}

.topnavright {
  float: right;
}

.topnavright img {
  object-fit: cover;
  max-height: 32px;
}

.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav img {
  object-fit: cover;
  max-height: 32px;
}

.topnav a.nadpisnebologo {
  float: left;
}

.topnav a:hover {
  font-weight: bold;
  color: white;
}

.topnav a.active {
  font-weight: bold;
  color: white;
}

.topnav .icon {
  display: none;
}

.nadpis {
  text-align: center;
  color: white;
  font-family: REM SemiBold;
}

.nadpisMain {
  text-align: center;
  color: white;
  font-family: REM SemiBold;
  font-size: 5.0vw;
  margin-top: 160px;
}



/*footer*/

.footer {
  overflow: hidden;
  padding-left: 15%;
  padding-right: 15%;
  color: white;
}

/*page padding and font*/
.pagecontent {
  padding-left: 15%;
  padding-right: 15%;
}

body {
  font-family: REM Regular;
  background-image: linear-gradient(#2b347f, #191f50);
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], input[type=email], input[type=password], input[type=button], input[type=number], input[type=checkbox], input[type=date], select, textarea {
	width: 100%; /* Full width */
	padding: 12px; /* Some padding */
	border: 1px solid #ccc; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

.g-recaptcha {
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
}

/* Style the submit button with a specific background color etc */
input[type=submit], .nicebtn {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/*Platby filtr vzhledy*/
.divPlatbyFiltr {
  float: left;
  margin: 10px;
}

.floatOnlyLeft {
  float: left;
}

.floatOnlyRight {
  float: right;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.container30 {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 30%;
	float: left;
}

.container60 {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 60%;
	float: right;
}

.containerlogin {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 40%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.container h2{
  font-family: REM SemiBold;
  color: #2F3994;
}

.containersimple {
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.containersimpleToMainNadpis {
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: white;
  font-size: 1.0vw;
}


/*TABULKA PRO FOTKY*/
.row > .column {
  padding: 0 8px;
}

.row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/*tabulky*/
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* Create four equal columns that floats next to eachother */
.column {
  width: 33%;
  margin: 0 auto;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.imggalerie {
  width: 29%;
  height: auto;
  object-fit: contain;
  margin:2px;
  transition: 0.3s;
  cursor:pointer;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  /*position: relative;*/
  background-color: black;
  margin: auto;
  margin-top: 3%;
  padding: 0;
  width: 90%;
  height: 80%;
  max-width: 1200px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
  left: 0;
}


/* nastaveni pro priblizeni a notebooky*/
@media screen and (max-width: 1300px) {
  .pagecontent {
  padding-left: 1%;
  padding-right: 1%;
  }
}

/* nastaveni pro telefony*/
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
	padding-top: 0px;
  }
  .topnav {
	padding-left: 3%;
	padding-right: 3%;
  }
  .topnav a {
    padding-top: 5px;
	padding-bottom: 5px;
	padding: 14px 0px;
  }
  .topnav a.nadpisnebologo {
  float: none;
  display: none;
  }
  .pagecontent {
  padding-left: 3%;
  padding-right: 3%;
  }
  .nadpisMain {
  font-size: 10.5vw;
  margin-top: 80px;
  }
  .containersimpleToMainNadpis {
  font-size: 5vw;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {
	  position: relative;
	  max-height: none;
  }
  .topnav.responsive .icon {
    position: block;
    left: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
  .topnav a.nadpisnebologo {
  float: none;
  display: none;
  }
  
  .imggalerie {
  width: 100%;
  }
}