/*
Theme Name: walkit
Theme URI: https://www.walkit.co.il
Author: Codenroll
Author URI: https://www.codenroll.co.il
Description: Custom theme for Walkit
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: walkit
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wdth,wght@62.5..100,100..900&display=swap');

body {
    color: #000;
    font-family: "Noto Sans Hebrew", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
.logo a {
    border: 0;
}
.logo a:hover, .logo a:focus {
    border: 0;
}
a {
    color: #166534;
    text-decoration: none;
    border-bottom: 1px dotted #166534;
}
a:hover, a:focus {
    color: #166534;
    text-decoration: none;
    border-bottom: 1px solid #166534;
}

h1, h2, h3, h4, h5, h6, .icon-label {
    font-family: "Noto Sans Hebrew", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 75;
}

.main-nav .navbar-nav li {
    margin-left: 1rem;
}
.main-nav .navbar-nav li:first-child {
    margin-left: 0;
}
.dl-horizontal {
    display: inline-block;
    width: 100%;
}
.dl-horizontal dt {
    float: right;
    width: 160px;
    clear: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-horizontal dd {
    margin-right: 180px;
}

.single-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.single-header p {
    margin: 0;
    font-size: 0.6rem;
    line-height: 1.5;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.5rem 1rem;
    opacity: 0.8;
}
.single-header.has-media {
    min-height: 480px;
    color: #fff;
}

.single-header .header-video,
.single-header .header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.single-header .header-image {
    background-size: cover;
    background-position: center;
}

.single-header .overlay {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);
    z-index:1;
}

.single-header .container {
    z-index:2;
}

.trail-icons-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.trail-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    flex-direction: column;
    font-size: 1.2rem
}

.trail-icon .material-symbols-outlined {
    font-size: 2.4rem;
}

.trail-attractions {
    margin-top: 1rem;
}
.trail-attractions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.trail-attractions li {
    margin-bottom: 0.5rem;
}
.trail-attractions li .material-symbols-outlined {
    font-size: 2rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

#trail-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trail-sidebar h3, .trail-sidebar .h3 {
    margin: 0 0 2rem;
}

.trail-location .material-symbols-outlined {
    font-size: 15px;
    position: relative;
    top: 3px;
}

.comment-content {
    display: flex;
    position: relative;
    width: 100%;
}
.comment-metadata {
    position: absolute;
    top: 0;
    left: 0;
}
.comment-avatar {
    margin-left: 1rem;
}
.reply a,
.comment-metadata a {
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
}

.comment-form input[type="submit"] {
    display: inline-block;
    font-weight: 400;
    color: #000;
    background-color: #3cb371;
    border: 1px solid #3cb371;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.comment-form input[type="submit"]:hover,
.comment-form input[type="submit"]:focus {
    color: #fff;
    background-color: #166534;
    border-color: #166534;
}

.hero-section {
  background: #f0f0f0;
}

.hero-section .form-label {
    display: block;
    text-align: right;
}

.featured-trails .card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.hero-section {
  position: relative;
  
}
.hero-section .container {
    min-height: 68vh;
    z-index: 20;
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

.form-select {
    padding: .375rem .75rem .375rem 2.25rem;
        background-position: left .75rem center;
}
.form-check .form-check-input {
    float: right;
    margin-left: 10px;
}
.hero-section .form-check {
    margin-top: 10px;

}

.hero-section form .btn {
    margin-top: -2px;
}

.bg-green {
    background: #3cb371;
}
.hero-section .bg-green {
    padding: 0;
}
.hero-section .nav-tabs .nav-link:focus, .nav-tabs .nav-link {
    border: 0;
}
.hero-section .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border: 0;
    background-color: #166534;
    color: white;
}
.hero-section .nav-tabs .nav-link:focus, .nav-tabs .nav-link.active:hover {
    border: 0;
    background-color: #fff;
    color: black;
}

.hero-section .nav-link {
    color: black;
}

.btn.btn-primary {
    background-color: #3cb371;
    border-color: #3cb371;
    color: black;
}

.btn.btn-primary:hover {
    background-color: #166534;
    border-color: #166534;
    color: white
}

.btn .material-symbols-outlined {
    float: right;
    margin-left: 0.5rem;
}

.trail-content iframe {
    width: 100%;
    height: 500px;
    border: none;
}
.video-hover {
  opacity: 0;
  pointer-events: none;
}

.video-hover.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.card {
    border: 0;
}

.map-page {
    height: calc(100vh - 207px);

}

.trail-search-form-row {
    top: -50px;
    position: relative;
}
.trail-search-form-row .rounded {
    overflow: hidden;
}
.trail-search-form {
    background-color: white;
    padding: 20px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}

.main-nav li {
  position: relative;
}
.main-nav a {
    display: block;
    padding: 0.75em 1em;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
    border: 0;
}

.main-nav ul.navbar-nav > li {
  margin: 0 1em;
  float: right;
}

.main-nav a {
  display: block;
  padding: 0.75em 1em;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.main-nav a:hover,
.main-nav li:hover > a {
  background: #f0f0f0;
}

/* דרופדאון רמה 1 */
.main-nav li ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 200px;
  display: none;
  border: 1px solid #ddd;
  z-index: 999;
}

.main-nav li:hover > ul {
  display: block;
}

/* דרופדאון רמה 2 */
.main-nav li ul li ul {
  top: 0;
  right: 100%;
}

.main-nav li ul li a {
  padding: 0.75em;
}

.results-tabs {
    width: 300px;
}
#resultTabsContent .card {
    display: flex;
    flex-direction: row;
}
#resultTabsContent .card .card-body {
    flex-grow: 1;
    padding: 10px;
    border: 0;
}
#resultTabsContent .card:hover,
#resultTabsContent .card:focus {
    background-color: #f9f9f9;
    cursor: pointer;
    border: 0;
}
#resultTabsContent .card .card-body h5 {
    font-size: 1rem;
    margin: 0;
}
#resultTabsContent .card .card-body p {
    font-size: 0.8rem;
    margin: 0.2rem 0 0; 
    color: #666;
}
#resultTabsContent .card img {
    width: 90px;
    height: 90px
}

/* אפקט מעבר */
.main-nav li ul li a:hover {
  background: #f9f9f9;
}

.site-footer {
    text-align: center;
}
#resultsContainer {
    position: relative;
    height: calc(100vh - 310px);
}
#resultsContainer #map {
    width: calc(100% - 300px);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

#resultTabs {
    padding: 0;
    display: flex;
}
#resultTabs .nav-item {
    flex-grow: 1;
}
#resultTabs .nav-item .nav-link {
    width: 100%;
    border-radius: 0;
    color: #000
}
#resultTabs .nav-item .nav-link:hover,
#resultTabs .nav-item .nav-link:focus {
    color: white;
}
#resultTabs .nav-item .nav-link.active {
    background-color: #3cb371;
    color: white;
}
#resultTabsContent {
    height: calc(100vh - 350px);
}
@media screen and (max-width: 768px) {
    .logo {
        margin: 0 auto
    }
    .logo img {
        max-width: 180px
    }
    .main-nav {
        display: none;
    }
    .hero-video-bg {
        position: relative;
        height: 320px
    }
    .trail-search-form-row {
        top: -7px;
    }
    .trail-search-form-row .rounded {
        border-radius: 0 !important
    }
    .featured-trails {
        padding: 0 !important;
    }
    .single-header.has-media {
        min-height: 320px;
    }
    .single-header p {
        display: none;
    }
    .comment-metadata {
        bottom: 0;
        left: 0;
        right: 0;
        top: auto
    }
    #resultsContainer {
        display: block !important;
    }
    .results-tabs {
        width: 100%;
    }
    .results-tabs .card {
        width: 100%;
    }
    .map-page {
        height: auto;
    }
    .comment-content {
        padding-bottom: 30px;
    }
}