body{
    margin: 0;    
    background-image: url("../images/taxibody3.jpeg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.667);
    cursor: url("../images/cursor.png"), auto;
}
/*vlastnosti navigacie na kazdej podstranke*/
header{
    background: crimson;
    padding: 0 40px;
    height: 95px;
}
.logo{
    float: left;
    padding: 10px 0;
    width: 75px;
}
nav {
    float: right;
    background-color: crimson;
    border-radius: 10px;
    position: relative;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: rgb(189, 0, 38);
}
nav li {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-right: 25px;
    text-align: center;
    width: 100%;
}
nav a {
    color: white;
    text-decoration: none;
    font-family: Arial;
}
nav a:hover {
    color: rgb(41, 40, 40);
}
.menu-icon {
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.menu-icon:hover{
    background-color: rgba(0, 0, 0, 0.173);
    border-radius: 5px;
}
#menu-toggle:checked + .menu-icon + #menu {
    display: block;
    position: absolute;
    top: 50px;
    right: 0;
    padding: 10px;
    border-radius: 10px;
    font-size: 25px;
    width: 180px;
}
#menu-toggle{
    display: none;
}
h1{
    color: white;
    font-family: Arial;
    font-weight: lighter;
    padding-top: 30px;
    margin-left: 6%;
    margin-right: 70%;
}
 header h1:hover{
    color: rgb(252, 225, 70);
}
a{
    text-decoration: none;
}
section{
    width: 60%;
    background: rgba(255, 255, 255, 0.704);
    margin-left: 18%;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px 30px;
    font-size: large;
    text-align: justify;
    border-radius: 10px;
}
section h2{
    text-align: center;
    color:  black;
    font-family: Arial;
}
section h3{
    text-align: center;
    color:  black;
    font-family: Arial;
}
section h4{
    text-align: center;
    color:  black;
    font-family: Arial;
}
section ul{
    font-size: larger;
    list-style: none;
}
section dt{
    font-family: Arial;
    font-weight: bolder;
    margin: 10px 0;
}
section hr{
    border: none;
    border-color: crimson;
    border-top-style: double;
}
/*vlastnosti obrazka na podstranke index.html*/
.introduction img{
    width: 100%;
    height: 100%;
}
/*vlastnosti article na podstranke vozovy_park.html*/
.car{
    width: 60%;
    margin-left: 17%;
    margin-top: 25px;
    margin-bottom: 25px;
    border: none;
    border-color: crimson;
    border-left-style: solid;
    border-right-style: solid;
    padding: 20px;
    text-align: justify;
}
.car img{
    width: 100%;
    height: 100%;
    padding: 10px 0;
}
/*vlastnosti article na podstranke aktuality.html*/
.announcement{
    border-color: rgb(41, 40, 40);
    border-width: 1px;
    border-style: solid;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 0 20px;
}
.announcement ul{
    list-style: none;
    font-weight: bolder;
}
.announcement del{
    text-decoration-style: double;
    text-decoration-color: crimson;
}
.announcement ins{
    text-decoration-color: crimson;
}
.announcement mark{
    background-color: crimson;
}
.announcement a{
    color: crimson;
    text-decoration: underline;
}
.announcement img{
    object-fit: cover;
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 7px;
    border-style: inset;
    border-width: 5px;
    border-color: crimson;
    float: left;
    overflow-y: auto;
}
.announcement img:hover{
    zoom: 1.1;
}
/*33. riadok na podstranke aktuality.html*/
#p-overflow{
    margin-bottom: 50px;
}
/*vlastnosti article na podstranke referencie.html*/
.ref{
    border-color: crimson;
    border-width: 4px;
    border-top-style: dotted;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 5px;
}
.ref h2{
    text-align: left;
}
.ref img{
    object-fit: cover;
    width: 200px;
    height: 200px;
    padding: 10px;
}
.ref video{
    width: 365px;
    height: auto;
    padding: 10px;
}
/*vlastnosti section na podstranke sluzby.html*/
.services details{
    text-align: center;
    border-bottom-style: groove;
    border-bottom-color: crimson;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
summary{
    font-weight: bolder;
}
/*vlastnosti neusporiadaneho zoznamu na podstranke pracovna_doba.html*/
#working-hours{
    list-style: none;
}
#working-hours li{
    font-size: 20px;
}
/*vlastnosti section s obrazkovou mapou na podstranke cennik.html*/
.price-list img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
/*vlastnosti tabulky na podstranke cennik.html*/
.tabcennik{
    table-layout: fixed;
}

table{
    border-style: solid;
    border-color: black;
    border-collapse: collapse;
    border-width: thick;
    text-align: center;
    font-family: Arial;
    width: 100%;
}
table a{
    color: crimson;
    text-decoration: underline;
}
thead{
    background-color: rgb(234, 92, 120);
}
#table-name{
    background-color: rgb(214, 40, 75);;
}
thead tr th{
    font-weight: bolder;
    padding: 5px;
}
tbody{
    font-weight: lighter;
    background-color: white;
}
tbody tr:nth-child(even){
    background-color: rgb(236, 235, 235);
}
th, td{
    border-color: black;
    border-style: solid;
    border-width: thin;
    height: 35px;
    padding: 2px;
}
tbody tr td img{
    object-fit: cover;
    width: auto;
    height: auto;
    vertical-align: -5px;
}
/*vlastnosti section, article a aside na podstranke kontakt.html*/
.contact-container{
    align-content: start;
    display: inline-flex;
    width: 100%;
    padding-left: 20px;
}
.contact-container h3{
    color: rgba(255, 255, 255, 0);
}
#map{
    width: 48%;
    text-align: center;
    padding-bottom: 10px;
    margin: 0 85px;
    background-color: rgb(41, 40, 40);
}
#map h3{
    vertical-align: 5px;
    font-family: Arial;
    color: white;
}
.contact{
    width: 48%;
}
#contact{
    list-style: none;
    padding-bottom: 5px;
}
#contact img{
    width: 35px;
    height: 35px;
    padding-top: 10px;
    padding-right: 10px;
    vertical-align: -13px;
}
#contact a{
    color: black;
}
#contact a:hover{
    color: crimson;
}
/*vlastnosti p (41. riadok) na podstranke pracovna_doba.html*/
#change a{
    color: crimson;
    text-decoration: underline;
}
/*vlastnosti neusporiadaneho zoznamu s obrazkami - Zdroje na podstranke kontakt.html*/
#resources{
    list-style: circle;
    text-decoration: crimson;
    font-size: smaller;
}
/*vlastnosti kotvy na vsetkych podstrankach*/
#anchor{
    margin-left: 48%;
}
#anchor img{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-style: solid;
    border-color: crimson;
    border-width: 2px;
}
/*vlastnosti footer na vsetkych podstrankach*/
footer{
    color: white;
    background-color: rgba(0, 0, 0, 0.775);
    background-image: url("../images/taxifooter.png");
    background-position: center;
    background-size: 100%;
    background-blend-mode: multiply;
    font-family: Arial;
    padding-top: 25px;
    height: 220px;
}
footer hgroup p{
    margin: 0;
    padding: 0;
}
.footer-company{
    float: left;
    margin-left: 25%;
}
.footer-contact{
    float: right;
    margin-right: 25%;
}
footer ul{
    list-style: none;
    align-items: start;
}
.hr-1{
    margin-top: 170px;
    border-color: crimson;
}
#footer-copy{
    text-align: center;
    color: white;
    padding-bottom: 15px;
}
footer img{
    width: 25px;
    height: 25px;
    padding-top: 10px;
    padding-right: 15px;
}
footer a{
    color: white;
}
footer a:hover{
    color: crimson;
}
/*Navigácia po prihlásení vodiča na podstránkach pridat_zamestnanca.php; prehlad_rezervacii.php; vodic.php; zamestnanci.php*/ 
.aflogin{
    display: flex;
    height: 95px;
}
.aflogin ol li a:hover{
    color: rgb(41, 40, 40);
}
.aflogin ol li{
    list-style: none;
    color: white;
    padding-bottom: 15px;
}
.butnav{
    margin-top: 25px;
}
/*Na podstránke vodic.php*/
.secvod{
    display: flex;  
    justify-content: center;
    align-items: center;
    gap: 10px; 
}
.butvod{
    border: none;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-family: arial;
    font-weight: bolder;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 200px;
    height: 200px;
    background-color: white; 
    color: black; 
    border-radius: 10px;
}
.butvod:hover{
    background-color: #f44336;
    color: white;
}
/*Na podstránke zamestnanci.php*/
.table-container{
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
}
.zamtab{
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.zamtab thead{
    background-color: crimson;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}
.zamtab thead tr th{
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    white-space: normal;
    word-wrap: break-word;
    max-width: 200px;
}
.zamtab th, .zamtab td{
    padding: 12px;
    min-width: 120px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.zamtab tbody tr:nth-child(even){
    background-color: #f2f2f2;
}
tbody tr:hover{
    background-color: #ddd;
}
.zamtab td{
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zamtab td:hover{
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}
.zamtab button.contrast{
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}
.zamtab button.contrast:hover{
    background-color: #c82333;
}
.zamtab td:last-child, .zamtab td:nth-last-child(2){
    display: flex;
    justify-content: center;
    align-items: center;
}
.butplus{
    border-radius: 90%;
    font-weight: bolder;
    position: absolute;
    width: 25px;
    height: 25px;
    color:black;
    margin-left: 10px;
    margin-top: 2px;
}
.butplus a:hover{
    color: crimson;
}
.but{
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}
.but a{
    text-decoration: none;
}
.but:hover{
    background-color: #c82333;
}
/*Na podstránke pridat_zamestnanca.php*/
form{
    border: 2px solid black;
    padding: 20px;
    width: 50%;
    margin: 20px auto;
    border-radius: 10px;
    background-color: #f9f9f9;
    font-family: Arial;
}
label{
    display: block;
    font-weight: bold;
    margin-top: 10px;
}
select, textarea, input{
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-bottom: 3px solid crimson;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type=text]:focus{
    background-color: rgb(236, 235, 235);
}
input[type=number]:focus{
    background-color: rgb(236, 235, 235);
}
input[type=date]:focus{
    background-color: rgb(236, 235, 235);
}
input[type=password]:focus{
    background-color: rgb(236, 235, 235);
}
input[type=submit]{
    background-color: white;
    font-weight: bold;
    width: auto;
    display: block;
    margin: 0 auto;
}
input[type=submit]:hover{
    background-color: crimson;
    color: white;
}
form .required-field::after {
    content: " *";
    color: red;
}
