body {
    background-color: #8d898967;
}

.text {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.3vw;
    text-align: center;
}

#map {
    width: 60%;
    height: 60vh;
    float: left;

}

#hlaska {
    width: 25%;
    float: right;
    margin-top: 0.5vw;
    
    font-size: 1.8vw;
    /*color: green;*/
    /*background-color: green;*/
}

.tabulka {
    width: 38%;
    height: 95vh;
    float: right;
}

.tlacitka {
    width: 35%;
    float: left;
    margin-top: 0.5vw;
}

.options {
    width: 60%;
    float: left;
    margin-top: 0.5vw;
}

.formular {
    width: 60%;
    float: left;
    margin-top: 0.5vw;

}

.swal2-li {
    text-align: left;
}

table{
  border-collapse: collapse;
}
tr,td {
  border: 1px solid black;

}
#stanice, #spoje, #topologie{
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#stanice td, #spoje td, #topologie td {
    border: 1px solid #ddd;
    padding: 0.4vh 0.4vw;
    font-size: 1.6vh;
    cursor: pointer;
}

#topologie td {
    cursor: default;
}

/*První sloupec*/
#topologie td:first-child {
  font-weight: bold;
  text-align: right;
  padding-right: 0.5vw;
  width: 17.5vw;
}

/*Poslední sloupce prvních 3 řádků*/
#topologie tr:nth-child(-n+3) td:nth-child(2) {
  text-align: left;
  padding-left: 0.5vw;
}

/*Poslední sloupce posledních 3 řádků*/
#topologie tr:nth-last-child(-n+3) td:last-child {
  text-align: center;
}

#stanice tr:nth-child(even), #spoje tr:nth-child(even), #topologie tr:nth-child(even) {background-color: #f2f2f2;}

#stanice tr:hover, #spoje tr:hover, #topologie tr:hover {background-color: #ddd;}

#stanice th, #spoje th, #topologie th{
    padding-top: 1.2vh;
    padding-bottom: 1.2vh;
    font-size: 1.9vh;
    text-align: center;
    background-color: #03a1b6cc;
    color: white;
    border: 1px solid #ddd;
}

.tlacitka button { 
    color: #000000;
    background-color: #c7d3d4cc;
    font-size: 1.9vh;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.8vh 1.75vw;
    cursor: pointer;
    float: left;
    margin-right: 0.3vw;
}


.tlacitka button:hover {
    color: #ffffff;
    background-color: #a2aaac38;
}

.options button { 
    color: #000000;
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(74, 74, 74));
    font-size: 1.9vh;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.8vh 1.75vw;
    cursor: pointer;
    float: left;
    margin-right: 0.3vw;
}

.options button:hover {
    color: #ffffff;
    background-color: #a2aaac38;
}

.options input[type="button"] { 
    color: #000000;
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(74, 74, 74));
    font-size: 1.9vh;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.8vh 1.75vw;
    cursor: pointer;
    float: left;
    margin-right: 0.3vw;
}


.options input[type="button"]:hover {
    color: #ffffff;
    background-color: #a2aaac38;
}

.options p {
    font-size: 4 vh;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: red;
    text-align: left;
}


/* Formuláře TOPOLOGIE */
/* Vytvořit formularTopologieVytvorit */
/* Vybrat formularTopologieVybrat */
/* Editovat formularTopologieEditovat formularTopologieEditovatPoznamka
/* Odstranit formularTopologieOdstranit */

/* Formuláře STANICE */
/* Vytvořit formularStaniceVytvorit formularStaniceVytvoritFull formularStaniceVytvoritLatLong formularStaniceVytvoritNazev*/

.formular input[type="text"], .formular input[type="number"], .formular select {
    padding: 0.2vw 0.5vw;
    margin: 0.3vw 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 1vw;
}

.formular input[type="text"]:focus, #formularTopologieVytvorit select:focus {
    border: 2px solid #555;
}

.formular label {
    display: inline-block;
    width: 17%;
    text-align: right;
    font-size: 1vw;
    font-weight: bold;
    margin-top: 0.5vw;
    font-size: 1.2vw;
    padding: 0.2vw 0.5vw;
    font-family: Arial, Helvetica, sans-serif
}


#podnadpis{
    width: 100%;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
    color: #921b1b;
    margin-top: 0.1vw;
}

#formularThird{
    width: 18.6%;
    display: inline-block;
}

#progressBar{
    width: 18.6%;
    float: right;
}


#formularThirdLabel{
    width: 13%;
    display: inline-block;
}

#formularHalf{
        width: 31.2%;
        display: inline-block;
}

#formularFull{
        width: 81%;
        display: inline-block;
}



#submitButton{
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 1vw;
    margin-top: 1vw;
    float: right;
}

#resetButton{
    background-color: gray;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 1vw;
    margin-top: 1vw;
    float: left;
}


#restoreDefaultButton{
    background-color: rgb(45, 158, 196);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 1vw;
    margin-top: 1vw;
    margin-left: 2vw;
    float: left;
}

#blockedButton {
    background-color: gray;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: not-allowed;
    margin-bottom: 1vw;
    margin-top: 1vw;
    float: right;
}

/* styl pro progress bar */
progress {
    width: 100%;
    height: 15px;
    border-radius: 10px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
  }
  
  /* výplň progress baru */
  progress::-webkit-progress-value {
    
    border-radius: 10px;
  }
  
  /* prázdná část progress baru */
  progress::-webkit-progress-bar {
    background-color: #e9ecef;
    border-radius: 10px;
  }
/*
#formularTopologieEditovat input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: lightblue;
    border: none;
    color: white;
    cursor: pointer;
}*/



/* Odstranit TOPOLOGII formularTopologieOdstranit */
#formularTopologieOdstranit input[type="text"], #formularStaniceOdstranit input[type="text"], #formularSpojOdstranit input[type="text"]{
    background-color: lightcoral;
}

#formularTopologieOdstranit label, #formularStaniceOdstranit label, #formularSpojOdstranit label {
    display: inline-block;
    width: 40%;
    text-align: right;
    font-size: 1vw;
    font-weight: bold;
    margin-top: 0.5vw;
    font-size: 1.2vw;
    padding: 0.2vw 0.5vw;
    font-family: Arial, Helvetica, sans-serif
}

#TopologieOdstranitFull, #StaniceOdstranitFull, #SpojOdstranitFull{
    width: 58%;
    display: inline-block;
}


/* Formuláře STANICE */
/* Vytvořit formularStaniceVytvorit */
/* Vybrat formularTopologieVybrat */
/* Editovat formularTopologieEditovat formularTopologieEditovatPoznamka
/* Odstranit formularTopologieOdstranit */


/* Formuláře STANICE */
/* Vytvořit formularStaniceVytvorit formularStaniceVytvoritFull formularStaniceVytvoritLatLong*/

/*#formularStaniceVytvorit label, #formularStaniceEditovat label, #formularStaniceOdstranit label {
    font-weight: bold;
    margin-top: 0.5vw;
    font-size: 1.2vw;
    padding: 0.2vw 0.5vw;
    font-family: Arial, Helvetica, sans-serif;
}*/









/*
label[for="nazevText"], label[for="poznamkaText"] {
    display: inline-block;
    width: 17%;
    text-align: right;
    font-size: 1vw;
}

label[for="latitude"], label[for="longitude"] {
    display: inline-block;
    width: 17%;
    text-align: right;
    font-size: 1vw;
}

#formularHalf{
        width: 31.2%;
        display: inline-block;
}

#formularFull{
        width: 81%;
        display: inline-block;
}

*/