:root {
  --main-color: black;
  --image-text: white;
  --shadow-text: white;
}

@font-face {
	font-family: Montserrat;
	src: url('Montserrat.ttf');
}

* {
	font-family: Montserrat;
}

body{
	box-sizing: border-box;
	line-height: 1.25;
	/*background-image: url("../images/gallery/7-large.webp");
	background-color: rgba(102, 102, 102, 0.7);
	background-repeat: no-repeat;
	background-blend-mode: multiply;*/
	background-image: url("../images/background.svg");
	background-repeat: no-repeat;

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

main {
	min-height: calc(100vh - 15vh - 200px);
}

.hala {
	/*background-image: url("../images/gallery/20231126_150420-large.webp");*/
	background-color: rgba(102, 102, 102, 0.85);
}

h1,h6 {
	font-weight: 350;
	color: var(--main-color);
	text-align: center;
	font-size: 3rem;
}

p {
	font-size: 1.25rem;
}

a {
	text-decoration: none;
	color: var(--main-color);
}

.logindiv{
	min-height: 930px;
}

.name {
	text-align: center;
	font-weight: 500;
	font-size: 34px;
}

.title {
	color: var(--main-color);
	text-align: center;
	margin-bottom: 10px;
	margin-top: -10px;
	font-size: 24px;
}

/*.obsah1{
	background-image: url("../images/background1.png?v=1.2");
	background-repeat: no-repeat;
	background-size: 1920px;
}*/

.web-logo {
	max-width: 100%;
}

/*FAQ START*/
.nadpisfaq {
    font-size: 34px;
    background-color: rgba(0,0,0,.25);
	color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
	border: none;
    margin-top: 5px;
	border-radius: 15px;
}

.textfaq {
    padding: 0 18px;  background-color: white;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
	background-color: rgb(0, 0, 0,0.2);
	border: none;
	border-radius: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

.active {
    max-height: 1000px;
  	transition: max-height 1s ease-in-out;
} 

.faqli {
	color: var(--main-color);
    font-size: 35px;
}

.faq li a {
        text-align: center;
        font-size: 28px;
		text-decoration: none;
		color: var(--main-color)
	}
.faqli button:hover {
          /*text-decoration: 1px solid white underline;
		  text-underline-offset: 4px;*/
		  font-weight: 550;
}
.faq {
  list-style-type:none;
}


/*KONEC FAQ*/

/*Table nabizime*/
.nabizime{
	margin: 0 2%;
	border-collapse: collapse;
    border-style: hidden; /* hide standard table (collapsed) border */
    box-shadow: 0 0 0 1px #666; /* this draws the table border  */ 
	width: 100%;
}

.nabizime td,th {
	text-align: center;
	padding: 15px;
	margin: 0;
	border-bottom: 1px solid #ccc;
	width: 50%;
}

.bordertd{
	border: 1px solid #ccc;
}

.nabizime tr{
	font-size: 35px;
	text-align: left;
	color: var(--main-color);
	background-color: rgba(78, 78, 78, 0.8);
}

.nabizime tr:nth-child(even){
	background-color: rgba(78, 78, 78, 0.6);
}

/*Konec table nabizime*/

/*table kontakt*/
.kontaktT {
	font-size: 30px;
	text-align: center;
	color: var(--main-color);
	border: none;
	width: 80%;
	margin: 0 10% 100px 10%;
}

.kontaktT td,tr,th {
	border: none;
}

.kontaktT th{
	font-weight: 600;
	color: rgba(255,255,255,.85);
}

.kontaktItem{
	height: 250px;
	width: 22rem;
}

.kontaktItem h1,.kontaktItem h2 {
	font-size: 35px;
	margin-bottom: 10px;
	text-align: center;
	font-weight: 450;
	color: var(--main-color);
}

.kontaktItem p {
	font-size: 30px;
	text-align: left;
	font-weight: 250;
	color: var(--main-color);
}

.kontaktItem a, .text a{
	text-decoration: none;
	color: var(--main-color)
}

.a-link {
	text-decoration: none;
	color: var(--main-color);
}
/*table kontakt end*/

.nadpis-back{
	font-size: 45px;
	margin: 0 2%;
	padding: 20px 0;
	text-align: center;
	background-color: rgba(78, 78, 78, 0.6);
	border-bottom: 1px solid #ccc;
	margin-bottom: 1px;
	margin-top: 15px;
	width: 100%;
}

.text {
	font-size: 35px;
	text-align: left;
	color: var(--main-color);
	margin-bottom: 15px;
}

.marginlr{
	margin: 0 10%;
}

.marginl5{
	margin-left: 5%;
}

.bold{
	font-weight: 600;
}

.nabidka {
	font-size: 23px;
	text-align: center;
	color: var(--main-color);
}

.odsadit  {
	margin-top: 30px;
}

.podnadpis {
	font-size: 27px;
	text-align: center;
	margin-bottom: 5px;
	color: var(--main-color);
	text-decoration: underline;
}

footer{
	margin-top: 100px;
	padding: 0 20px;
	background-color: rgba(0, 0, 0, 0.1);
	height: 100px;
	display: flex;
    align-items: center;
    justify-content: center;
	flex-wrap: wrap-reverse;
	gap: 0 40px;
}

.sociallink{
	font-size: 30px;
	text-decoration: none;
	color: var(--main-color);
}

.right{
	margin-right: 30px;
}

.hiddenlink2 {
	color: var(--main-color);
	font-size: 20px;
}

main h1.nadpis, .nadpisFoto {
	margin-bottom: 25px;
	font-size: 60px;
	color: var(--main-color);
	text-align: center;
}

main h2.nadpis {
	margin-bottom: 25px;
	font-size: 60px;
	color: var(--main-color);
	text-align: center;
	font-weight: 350;
}

main h3 {
	font-size: 50px;
	color: var(--main-color);
	font-weight: 300;
}

main h4 {
	font-size: 40px;
	color: var(--main-color);
	font-weight: 300;
	margin-bottom: 100px;
}

main ul {
	color: var(--main-color);
	font-size: 35px;
	list-style-type: circle;
	list-style-position: inside;
}

main ul.ustajeni, main ul ul {
	margin-left: 50px;
}

main li {
	margin-bottom: 25px;
	font-weight: 200;
}

main .highlight {
	font-weight: 250;
}

main ul ul {
	font-size: 25px;
}

main.login {
	display: flex;
    min-height: calc(100vh - 17px);
	padding-top: 0;
    justify-content: center;
    align-items: center;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.stred-sloupec {
	margin: 0 15%;
}

.mid {
	display: grid;
	gap: 100px;	
}

.stred-sloupce {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: 45% 45%;
	gap: 30px;
	justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
}

.dva-sloupce {
	display: grid;
	grid-template-columns: 35% 35%;
	justify-content: space-evenly;
    align-items: center;
}

.dva-sloupce p {
	margin-top: 1rem;
}

.dva-sloupce img {
	width: 100%;
}

.dva-sloupce iframe {
	width: 100%;
	height: 20vw;
}

.uvod {
	background-image: url("../images/gallery/7-large.webp");
	background-color: rgb(0, 0, 0,0.1);
	background-blend-mode: multiply;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	width: 95%;
	height: 85vh;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 3rem;
	border-radius: 15px;
}

.uvod div {
	width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
	gap: 50px;
}

.uvod a, .uvod p {
	color: var(--image-text);
}

.uvod a {
	font-size: 4rem;
	text-shadow: 5px 5px 5px black, 0 0 2px black;
}

.uvod p {
	font-size: 3rem;
	text-shadow: 3px 3px 3px black, 0 0 1px black;
}

.about {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.empty {
	min-height: calc(100vh - 300px);
}

.fas:hover{
	text-decoration: none;
	color: red;
}

.mapa{
	display: block;
	text-align: center;
	margin-top: 50px;
	width: 100%;
}

.mapa iframe {
	width: 80%;
	height: 600px;
	margin: 0 10%;
}

.logo{
	display: block;
	max-height: 40px;
	margin-left: auto;
	margin-right: auto;
	width: 60px;
	text-align: center;
	margin-bottom: 25px;
}

.hiddenlink,.hiddenlink:hover {
	text-decoration: none;
	color: var(--main-color)
}

.hiddenlink2,.hiddenlink2:hover {
	text-decoration: none;
	cursor: text;
}

.hiddenlink {
	text-decoration: none;
}

.loginForm {
	width: 100%;	
}

.login-title {
	text-align: center;
	margin-top: 0;
}

.login-input {
	width: 20%;
	margin-left: 40%;
	margin-right: 40%;
  	padding: 12px 20px;
  	display: inline-block;
  	border: 1px solid #ccc;
  	border-radius: 4px;
  	box-sizing: border-box;
	margin-bottom: 10px;
	font-size: 20px;
}

.login-button {
	margin-top: 10px;
	width: 20%;
	padding: 12px 20px;
	margin-left: 40%;
	margin-right: 40%;
	border: 1px solid #ccc;
	border-radius: 4px;
  	cursor: pointer;
	font-size: 20px;
}

.login-button:hover {
	background-color: #6E6E6E
}

/*    EVENTY    */
.udalosti {
	margin-left: 5%;
	margin-right: 5%;
}

.udalosti h2 {
	font-weight: 400;
	color: var(--main-color);
}

.edit {
	margin-top: 2%;
	margin-bottom: 5%;
}

.center-td{
	text-align: center;
	vertical-align: middle;
}

.table_eventy{
	border: none;
}

.e_nadpis{
	font-size: 2rem;
	margin-top: 5px;
}

.e_datum{
	font-size: 25px;
	font-weight: 270;
}

.e_popis{
	font-size: 1.25rem;
	margin: 15px 10px;
	min-height: 225px;
	max-height: 225px;
	text-align: left;
	font-weight: 250;
}

.e_button a{
	font-size: 20px;
	border: 1px black solid;
	border-radius: 15px;
	padding: 10px 15px;
	cursor: pointer;
}

.e_button {
	margin-top: 30px;
}

.e_link{
	color: var(--main-color);
	text-decoration: none;
}

.e_no {
	color: var(--main-color);
	font-size: 35px;
}

.center{
	text-align: center;
}

.pointer{ 
	cursor: pointer;
}

.columns{
	columns: 350px 3;
	column-gap: 30px;
}

.event{
	border: 1px solid black;
	padding: 15px 30px;
	background-color: rgb(0, 0, 0,0.2);
	border-radius: 30px;
	height: 450px;
	text-align: center;
	color: var(--main-color);
	break-inside: avoid;
	margin-bottom: 30px;
}

/* Nová událost - admin page */

.new_event-form{
	text-align: center;
	width: 40%;
	margin: auto;
}

.new_horse-form {
	display: block;
    position: fixed;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	background-color: rgba(150, 150, 150, 0.9);
	padding: 4.5rem 6rem 6rem 6rem;
	border-radius: 10px;
	width: 45vw;
	visibility: hidden;
}

.new_horse-form h1 {
	padding-bottom: .5rem;
}

.new_horse-form a {
	position: fixed;
    top: 5%;
    left: 86%;
	font-size: 3rem;
	color: rgb(255, 0, 0);
}

.new_horse-form a:hover {
	color: rgb(200, 0, 0);
	cursor: pointer;
}

.action-buts {
	display: contents;
}

.new_event {
	font-size: 45px;
}

.new_event-input,.date-input,.create_event-button,.new_event-long_input{
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-sizing: border-box;
	width: 100%;
}

.new_event-input,.date-input,.new_event-long_input{
	padding: 12px 20px;
	margin-bottom: 10px;
	font-size: 25px;
}

input[type="radio"], label {
	padding: 12px 20px 12px 5px;
	font-size: 25px;
}

input[type="radio"] {
	width: 20px;
	height: 20px;
}

.create_event-button{
	margin-top: 10px;
	padding: 14px 24px;
	font-size: 30px;
	cursor: pointer;
}

.create_event-button:hover {
	background-color: #c4c4c4
}

.create-complete{
	text-align: center;
	font-size: 40px;
}

.back{
	padding: 15px 25px;
	font-size: 30px;
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-sizing: border-box;
	text-align: center;
	display: block;
	margin: auto;
	margin-top: 15px;
}

/*Table udalosti - admin page*/
.udalosti-table{
	margin: 1rem 2% 0;
	border-collapse: collapse;
    border-style: hidden;
    box-shadow: 0 0 0 1px #666;
	table-layout: fixed;
	width: 96%;
}

.udalosti-table td,th {
	text-align: center;
	padding: 15px;
	margin: 0;
	border-bottom: 1px solid #ccc;
}

.udalosti-table td a:hover {
	cursor: pointer;
}

table .middle {
	writing-mode: vertical-lr;
    text-orientation: upright;
}

.delete-event{
	margin-left: 10px;
	cursor: pointer;
}

.delete-event:hover{
	color: var(--main-color);
}

.udalosti-table tr{
	font-size: 30px;
	text-align: left;
	color: var(--main-color);
	background-color: rgba(78, 78, 78, 0.8);
}

.udalosti-table tr:nth-child(even){
	background-color: rgba(78, 78, 78, 0.6);
}

.link-event_edit{
	text-decoration: underline;
	color: var(--main-color);
	overflow-wrap: break-word;
}

label {
	color: var(--main-color);
}

iframe {
	width: 100%;
	height: 800px;
}

.link {
	padding: 1rem 2rem;
	font-size: 2rem;
	border-radius: 15px;
	background-color: rgb(240, 240, 240,1);
	margin-left: auto;
    margin-right: auto;
    display: block;
}

.link:hover {
	background-color: rgb(215, 215, 215,1);
	cursor: pointer;
	font-weight: 500;
}

/* Změny rozlišení */

@media(max-width:1500px){
	.login-button,.login-input{
		width: 60%;
		margin-left: 20%;
		margin-right: 20%;
		font-size: 30px;
		Height: auto;
	}
	.login-title {
		Font-size: 50px;
	}

	.mapa iframe{
		margin-left: 9%;
		margin-right: 9%;
		width: 86%;
	}

	/*.pokus{
		width: 33%;
		margin: 47px;
	}*/
	
}

@media(max-width:1200px){
	.stred-sloupec {
		margin: 0 10%;
	}

	.dva-sloupce {
		grid-template-columns: 45% 45%;
	}

	main li {
		margin-bottom: 35px;
	}

	main h1.nadpis {
		font-size: 2.5rem;
	}

	.name {
		font-size: 2rem;
	}

	.title {
		font-size: 1.25rem;
	}

	.login-button,.login-input{
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		font-size: 55px;
		Height: auto;
	}
	.login-title {
		Font-size: 70px;
	}
	.podnadpis{
		font-size: 30px;
	}
	.nabidka {
		font-size: 25px;
	}
	.text{
		font-size: 1.25rem;
	}
	.kontaktItem p{
		font-size: 40px;
	}
	.kontaktItem h1, .kontaktItem h2{
		font-size: 2.25rem;
	}
	.stred-sloupce {
		grid-template-columns: 90%;
		row-gap: 50px;
	}

	.kontaktItem {
		width: 30rem;
	}

	.kontaktItem h1,.kontaktItem h2,.kontaktItem p,.kontaktItem a, .text a{
		color: var(--main-color);
	}

	.mapa iframe{
		margin-left: 3%;
		margin-right: 3%;
		width: 94%;
	}
	
}

@media all and (max-width:800px){
	.uvod {
		height: 60vh;
	}

	.uvod a {
		font-size: 3rem;
	}

	.uvod p {
		font-size: 2rem;
	}

	main ul.ustajeni {
		margin: 0;
	}

	.new_event-form{
		text-align: center;
		width: 80%;
		margin: auto;
	}

	.udalosti {
		margin-left: 2%;
		margin-right: 2%;
	}

	.new_horse-form {
		width: 70vw;
	}

	.text {
		line-height: 180%;
		font-weight: 250;
	}

	.action-buts {
		display: block;
	}

	.udalosti-table {
		width: 100%;
		margin: 1rem 0 0;
	}

	.udalosti-table tr{
		font-size: 1rem;
	}

	.stred-sloupec {
		margin: 0 3%;
	}

	.dva-sloupce {
		display: flex;
		gap: 50px;
		flex-wrap: wrap;
	}

	.dva-sloupce div {
		width: 65%;
	}

	.dva-sloupce iframe {
		height: 15rem;
	}

	.dva-sloupce:nth-child(even) {
		flex-direction: column-reverse;
	}

	main li {
		margin-bottom: 30px;
	}

	main h2 {
		font-size: 2.5rem;
	}

	main h2.nadpis {
		font-size: 2.25rem;
		font-weight: 300;
	}

	main h3 {
		font-size: 1.5rem;
		margin-bottom: 2rem;
		margin-top: 5rem;
	}

	main h4 {
		font-weight: 250;
		font-size: 2rem;
	}

	main ul {
		font-size: 1.4rem;
	}

	main ul ul {
		font-size: 1.3rem;
		margin-left: 20px;
	}

	.login-button,.login-input{
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		Font-size: 40px;
	}

	.kontaktItem {
		height: 100%;
		width: 15rem;
	}

	.kontaktItem p{
		font-size: 1.5rem;
	}
	.kontaktItem h1,.kontaktItem h2{
		font-size: 2rem;
	}
	.mapa iframe{
		margin-left: 2%;
		margin-right: 2%;
		width: 96%;
	}

	.text {
		line-height: 200%;
		font-size: 1.5rem;
	}
}

@media(max-width:500px){
	.uvod {
		height: 13rem;
	}

	.uvod div {
		gap: 25px;
	}

	.uvod a {
		font-size: 2.5rem;
	}

	.uvod p {
		font-size: 1.1rem;
	}

	.new_event-form{
		text-align: center;
		width: 100%;
		margin: auto;
	}

	.new_horse-form {
		width: 90vw;
		padding: 4.5rem 1rem;
	}

	.dva-sloupce div {
		width: 80%;
	}

	.delete-event {
		padding: 5px;
    	margin: 5px;
    	font-size: 1.2rem;
	}

	.udalosti-table tr{
		font-size: 1.2rem;
	}

	.text {
		line-height: 210%;
	}

	.kontaktItem p{
		font-size: 1.25rem;
		line-height: 180%;
	}
	.kontaktItem h1,.kontaktItem h2{
		font-size: 2rem;
	}
}


/*                Uploader                */
.filelist {
    width: auto;
	max-width: 400px;
    max-height: 300px;
    overflow-y: visible;
    overflow-x: hidden;
    position: relative;
    display: inline-block;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
    top: 70px;
}

.dragover {
	display: inline-block;
    color: #000;
	border: 1px dashed black;
}

progress {
    height: 60px;
    width: 100%;
    margin-top: 15px;
    -webkit-appearance: none;
}

::-webkit-progress-bar {
    background-color: white;
    border-radius: 25px;
}

::-webkit-progress-value {
    background-color: rgb(0, 174, 255);
    border-radius: 25px;
}

.upload_form {
    margin: 50px auto;
    border-radius: 5px;
    width: 25%;
    padding: 30px 25px;
    padding-bottom: 60px;
    text-align: center;
}

.button {
    color: #fff;
	background-color: rgb(175, 175, 175);
    align-items: center;
    border: 0;
    outline: 0;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 25px;
}

label[for="button"]{
    color: var(--main-color);
    height: 50px;
    width: 300px;
	background-color: rgb(175, 175, 175);
    position: absolute;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    left: 0;
    right: 0;
    cursor: pointer;
    border-radius: 10px;
}

input[type="file"]{
    display: none;
}

label[for="file1"]{
    color: var(--main-color);
    height: 60px;
    width: 250px;
	background-color: rgb(175, 175, 175);
    position: absolute;
    font-size: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    left: 0;
    right: 0;
    cursor: pointer;
    border-radius: 10px;
}

label:hover {
	background-color: rgb(125, 125, 125);
}

.progress{
    background-color: #15171e;
    height: 60px;
    border-radius: 10px;
    position: relative;
    top: 75px;
    box-shadow: 5px -10px 12px 3px rgba(0, 0, 0, 0.3) inset;
    padding: 8px;
    margin-bottom: 90px;
}

#uploaded{
    font-size: 22px;
}

#status{
    color: black;
    font-size: 15px;
    text-align: center;
	margin-bottom: 10px;
}

#fill{
    background: linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%, transparent 50%, transparent 50%, rgba(255,255,255,0.4) 75%, transparent 75%, transparent);
    background-size: 20px;
    border-radius: 15px;
    animation: move 0.4s linear infinite;
    background-color: #f5af09;
    color: white;
    font-size: 35px;
    text-align: center;
    height: 100%;
}
#fill:hover {
    background-color: #db9a00;
}

@keyframes move {
    100%{
        background-position: 20px 0px;
    }
}

@media(max-width: 1000px) {
	.progress {
		width: 250%;
	}
}

/*SCROLLBAR*/
#fileList::-webkit-scrollbar {
    width: 20px;
}
  
#fileList::-webkit-scrollbar-track {
box-shadow: inset 0 0 7px grey; 
border-radius: 15px;
}

#fileList::-webkit-scrollbar-thumb {
	background-color: rgb(175, 175, 175);
border-radius: 15px;
}

#fileList::-webkit-scrollbar-thumb:hover {
	background-color: rgb(175, 175, 175);
}
