/*!
 * Start Bootstrap - One Page Wonder HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
@import url(http://fonts.googleapis.com/css?family=Indie+Flower);

body {
    background-color: #e8e8e8;
}

hr {
  margin-top: 15px;
  margin-bottom: 15px;
  border: 0;
  border-top: 1px solid #c3c3c3;
}

.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #c3c3c3;
}

/* --- Topbar --- */
.topbar {
    height: 75px;
    text-align: center;
    background: rgba(61,142,196,1);
    background: -moz-linear-gradient(top, rgba(61,142,196,1) 0%, rgba(0,96,159,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(61,142,196,1)), color-stop(100%, rgba(0,96,159,1)));
    background: -webkit-linear-gradient(top, rgba(61,142,196,1) 0%, rgba(0,96,159,1) 100%);
    background: -o-linear-gradient(top, rgba(61,142,196,1) 0%, rgba(0,96,159,1) 100%);
    background: -ms-linear-gradient(top, rgba(61,142,196,1) 0%, rgba(0,96,159,1) 100%);
    background: linear-gradient(to bottom, rgba(61,142,196,1) 0%, rgba(0,96,159,1) 100%);
}
.topbar h1 {
    margin-top: 5px;
    padding: 5px;
    color: white;
    font-size: 45px;
    font-family: 'Indie Flower', cursive;
    text-shadow: 0 -1px #000, 1px 0 #000, 0 1px #000, -1px 0 #000;
}

/* --- Navbar --- */
#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:100;
}

.navbar {
    margin-bottom: 0px;
}
.navbar-nav {
    padding: 5px;
    font-weight: bold;
}

.cimer {
   position: absolute;
}

@media (min-width: 768px) {
  .navbar-nav {
    width: 100%;
    text-align: center;
  }
  .navbar-nav > li {
    float: none;
    display: inline-block;
  }
  .navbar-nav > li.navbar-right {
    float: right !important;
  }
}

/* --- Carousel --- */
.carousel-caption {
    position: absolute;
    bottom: 12%;
    left: 12%;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    color: #fff;
    text-align: left;
    padding-left: 2%;
}
.carousel-caption h3 {
font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    letter-spacing: -1px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
    text-align:left;
    text-shadow: 2px 1px 2px rgba(0,0,0,0.9);
}
.carousel-caption p {
    margin-top: 0;
    font-size: 14px;
    text-align:left;
}

/* --- Útvonaltervező --- */
.honnanhova {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

#map_canvas {
   display: block;
   width: 700px;
   height: 500px;
}

@media (max-width: 768px) {
    .honnanhova {
        font-size: 15px;
    }
    #map_canvas {
        width: 100%;
        height: 400px;
    }
}

/* --- Page --- */
.header-image {
    display: block;
    width: 100%;
    text-align: center;
    background: url(../images/bg.jpg) repeat scroll;
}

header mark a{
    color: black;
    padding: 5px;
}

header mark a:hover{
    text-decoration: none;
    color: deepskyblue;
}

/* --- Panel --- */
.panel-default > .panel-heading-custom {
    background: -moz-linear-gradient(#535353, #1d1d1d);
    background: -o-linear-gradient(#535353, #1d1d1d);
    background: -webkit-linear-gradient(#535353, #1d1d1d);
    border-color: grey;
    color: #fff;
}

.panel-body {
    color: white;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    margin-bottom: 25px;
}

/* --- Gallery --- */
.album {
    position: relative;
    width: 100%;
    height: 100%;
}
.album .caption {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 20%;
    font-size: 20px;
    color: white;
    background: black;
    text-align: center;
    font-weight:bold;
    -webkit-transition: all 400ms ease-out;
    -moz-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    -ms-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
}
.album:hover .caption {
    opacity: 0.7;
}

.thumbnail {
  border: 2px solid #5a98c3;
  margin: 10px;
  float: left;
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
}
.thumbnail img {
  border-bottom: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
.thumbnail img:hover {
            filter: blur(1px)
            grayscale(100%);
    -webkit-filter: blur(1px)
            grayscale(100%);
}
.thumbnail img.portrait {
    width: 100%;
    height: auto;
}

.yui3-widget-mask {
  background-color: black;
  zoom: 1;
  -ms-filter: "alpha(opacity=70)";
  filter: alpha(opacity=70);
  opacity: .7;
}

/* --- Blog --- */
hr.blog {
    border: 0;
    border-bottom: 4px dashed #c3c3c3;
}
h1.blog {
    color: #308DCC;
}
body.blog {
    background: url(../images/bg.jpg) repeat scroll;
}
.content-blog {
    background-color: #e8e8e8;
}

.content-padding {
    padding-top: 20px;
    padding-bottom: 40px;
}

.content-section-a {
    padding: 20px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 10px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.content-h2 {
    margin-bottom: 30px;
}

.content-footer {
    padding: 50px 0;
    background: #d8d8d8;
}

.headline {
    padding: 50px 0;
}

.headline h1 {
    font-size: 130px;
    background: #fff;
    background: rgba(255,255,255,0.9);
}

.headline h2 {
    font-size: 77px;
    background: #fff;
    background: rgba(255,255,255,0.9);
}

footer {
    margin: 50px 0;
}

/* --- Responsive settings --- */
@media(max-width:1200px) {
    .headline {
        padding: 10px;
    }
    .topbar {
    height: 60px;
    }
    .topbar h1 {
    font-size: 37px;
    }
}

@media(max-width:991px) {
    .headline h1 {
        font-size: 105px;
    }
    .headline h2 {
        font-size: 50px;
    }
    .topbar h1 {
    font-size: 35px;
    }
}
@media(max-width:768px) {
    .container {
        margin: 0 15px;
    }
    .topbar {
    height: 60px;
    }
    .topbar h1 {
    font-size: 31px;
    }
}
@media(max-width:668px) {
    .headline {
        padding: 50px 0 25px 0;
    }
}
@media(max-width:640px) {
    .headline {
        padding: 75px 0 25px 0;
    }
    .topbar {
    height: 60px;
    }
    .topbar h1 {
    font-size: 22px;
    }
}
.countdown-circles {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.circle {
    position: relative;
    width: 80px;
    height: 80px;
    text-align: center;
}

.circle svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.circle svg circle {
    fill: none;
    stroke-width: 6;
    stroke: #ddd;
}

.circle svg circle:nth-child(2) {
    stroke: #18097d;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: 0.5s;
}

.number {
    position: absolute;
    top: 20px;
    width: 100%;
    font-weight: bold;
    font-size: 18px;
}

.label {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);  /* EZ A KULCS */
    font-size: 11px;
    white-space: nowrap;
}
.countdown-title {
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}


/* ===== HATÁRTALANUL GALÉRIA ===== */

.ht-gallery {
    position: relative;
    margin: 20px 0 30px 0;
}

.ht-gallery-simple .ht-strip{
    justify-content:center;
    flex-wrap:wrap;
}

.ht-gallery-simple .ht-btn,
.ht-gallery-simple .ht-counter{
    display:none;
}


.ht-strip-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 45px;
    scrollbar-width: none;
}

.ht-strip-wrapper::-webkit-scrollbar{
    display:none;
}



.ht-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    transition: transform .3s ease;
}

.ht-thumb {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: .3s;
}

.ht-thumb:hover {
    transform: scale(1.05);
    box-shadow:0 6px 18px rgba(0,0,0,.45);
}

.ht-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,96,159,.85);
    color: white;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
}

.ht-prev { left: 0; }
.ht-next { right: 0; }

.ht-counter {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #00609f;
}

/* ===== LIGHTBOX ===== */

.ht-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.95);
}

.ht-lightbox img {
    max-width: 90%;
    max-height: 85%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ht-close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.ht-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
}

.ht-nav-left { left: 25px; }
.ht-nav-right { right: 25px; }

.ht-lightbox-counter {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 18px;
}
