/*
Theme Name: Pozemky Jižní Čechy
Author: Tvorba webu Váňovi
Author URI: https://www.tvorba-webu-vanovi.cz
Description: Pozemky Jižní Čechy
Version: 1.0
Text Domain: pozemky-jizni-cechy
*/

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    text-transform: uppercase;
}
.shelf h1 {
    font-size: 1.9em;
    line-height: 1.8;
    margin-bottom: 50px;
}
h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}
h3 {
    font-size: 18px;
}
.shelf h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-size: 1em;
    color: white;
    line-height: 1.8;
}
.shelf h3 {
    margin-bottom: 50px;
    font-size: 26px;
}
.shelf p {
    color: white;
}

.shelf {
    display: flex;
    background-color: #c58d20;
    margin-bottom: 40px;
}
.shelf .photo {
    width: 50%;
}
.shelf .content {
    position: relative;
    width: 50%;
    min-height: 350px;
}
.shelf .content-in {
    position: relative;
    padding: 30px;
}
.shelf .content:before {
    transform: skewX(-9deg);
    transform-origin: top right;
}
.shelf .content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #c58d20;
}
.shelf-left .content:before {
    left: 20%;
}
.shelf-small {
    min-height: 500px;
    margin-bottom: 0;
}
.shelf-small .photo {
    width: 85%;
}
.shelf-small .content {
    width: 15%;
}

.black-info {
    width: 100%;
    background-color: black;
    margin-bottom: 40px;
}
.black-info p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
    color: #c58d20;
    font-size: 40px;
    padding: 20px;
}

.navbar-dark .navbar-nav .nav-link {
    color: black;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    text-transform: uppercase;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #c58d20;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #c58d20;
}
.navbar-dark .navbar-toggler {
    color: black;
    margin: 0 auto;
}

.btn {
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    border: 3px solid black;
    padding: 5px 30px;
    font-size: 13px;
    letter-spacing: 1px;
    -webkit-box-shadow: 2px 5px 10px -6px #000000; 
    box-shadow: 2px 5px 10px -6px #000000;
}
.btn:hover {
    background-color: white;
    border: 3px solid black;
    color: black;
}
.btn-primary {
    background-color: black;
    border-color: black;
}
.btn-secondary {
    background-color: #c58d20;
    border-color: black;
    color: black;
}
a.link-pozemky {
    color: white;
    text-decoration: none;
    font-size: 14px;
}
a.link-pozemky:hover {
    color: white;
    text-decoration: underline;
    font-size: 14px;
}

header {
    margin-top: 40px;
}
header nav {
    border-top: 2px solid black;
}
.header-sidebar p {
    font-size: 12px;
    align-self: flex-end!important;
}
.header-sidebar img {
    max-height: 60px;
    margin-right: 10px;
}

#footer {
    background-color: black;
    color: #848484;
    height: 50px;
    font-size: 12px;
    margin: 0;
}
#footer a {
    color: #848484;   
}
#footer a:hover {
    color: white;   
}
#footer p {
    margin: 0;
}
.footer-widget {
    background-color: #c58d20;
    padding: 20px;
    color: white;
}
.footer-widget .wpcf7 {
    width: 80%;
    margin: 0 auto;
}
.footer-widget a {
    color: white;
}
.footer-widget a:hover {
    color: white;
    text-decoration: underline;
}
.footer-widget .wp-block-separator {
    border-top: 1px solid white;
    border-bottom: 0;
}
.footer-widget .wp-block-columns {
    margin:  0;
}
.wpcf7-form-control {
    width: 100%;
    border-radius: 7px;
    border: 1px solid black;
    border-style: solid;
    padding: 8px 14px;
}
.wpcf7-submit {
    width: 40%;
    margin: 0 auto;
    display: block;
}
.wpcf7-response-output {
    margin-top: 0;
    background-color: white;
    border: 0;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    color: #46b450;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
    background: #ffffff96;
    padding: 2px 10px;
    margin-top: 4px;
    border-radius: 14px;
}

#map {
    width: 100%;
    height: 500px;
}
#map-hint {
    position: absolute;
    top: 10px;
    z-index: 999;
    left: 60px;
    color: red;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px #ffffff;
}
#table-hint {
    color: red;
    font-weight: bold;
    margin: 0;
}
#footer-map {
    width: 100%;
    height: 300px;
}
.mapicon {
    font-size: 12px;
    font-weight: bold;
}
.maplocality {
    font-size: 12px;
    font-weight: bold;
    width: 100px !important;
}
#map-popup {
    height: 420px;
    width: 310px;
    position: absolute;
    display: block;
    background: white;
    z-index: 9999;
    top: 30px;
    right: 10px;
    padding: 5px;
    border: 1px solid black;
    -webkit-box-shadow: 2px 5px 10px -6px #000000; 
    box-shadow: 2px 5px 10px -6px #000000;
}

.separator {
    text-align: center;
    margin-bottom: 20px;
}
.separator img {
    max-width: 220px;
}
.separator h2 {
    font-size: 22px;
}

table.lands {
    margin-bottom: 20px;
}
table.lands tr th {
    background-color: #c58d20;
    padding: 10px;
    text-align: center;
    color: white;
    text-transform: uppercase;
}
table.lands tr td {
    padding: 10px;
    text-align: center;
    color: #848484;
}
table.lands .state-free {
    color: #00ccff;
    text-transform: uppercase;
    font-weight: bold;
}
table.lands .state-reserved {
    color: #c58d20;
    text-transform: uppercase;
    font-weight: bold;
}
table.lands .state-sold {
    text-transform: uppercase;
    font-weight: bold;
}
table.lands td a {
    color: #848484;
    text-decoration: underline;
}
table.lands td a:hover {
    color: #848484;
    text-decoration: none;
}

table.map-popup-table {
    width: 100%;
}
table.map-popup-table tr:nth-child(even) {
    background: #ededed;
}
table.map-popup-table tr td {
    padding: 2px 4px;
}
table.map-popup-table tr td:first-child {
    font-weight: bold;
}
table.map-popup-table tr td:last-child {
    text-align: right;
}

.text-gray {
    color: #848484;
}
.text-red {
    color: red;
}
.text-gold {
    color: #c58d20;
}
.text-land, table.lands tr.text-land td, table.lands tr.text-land td a {
    color: red;
}
.text-road, table.lands tr.text-road td {
    color: black;
}
table.lands tr.text-road td a {
    color: black;
    background-color: lightgray;
}
table.lands tr td.border-road {
    border: 2px solid gray;
}

@media only screen and (max-width: 600px) {
    .shelf {
        display: block;
    }
    .shelf .photo {
        width: 100%;
    }
    .shelf .content {
        position: relative;
        width: 100%;
        min-height: auto;
    }
    .shelf .content-in {
        position: relative;
        padding: 10px;
    }
    .shelf .content:before {
        content: none;
    }
    .shelf-small {
        min-height: auto;
    }
    .shelf-small .photo {
        height: 400px;
    }
    .footer-widget .wpcf7 {
        width: 100%;
    }
}