/* tapicer page foto */
a {color: #607d8b;}
a:hover {text-decoration: underline;}
p {color: #fffafa;}
.h2, h2 {
    font-size: 20px;
    font-weight: 500;
}
.h1, h1 {
    font-size: 24px;
    font-weight: 500;
    color: #ebe5a7;
    margin: 30px 30px 10px;
}
.h3, h3 {
    font-size: 18px;
    font-weight: 500;
}
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
@media (min-width: 768px) {
    html {font-size: 16px;}
}
.border-top {border-top: 1px solid #e5e5e5;}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    overflow: hidden;
    background-color: #0d0d0d;
    /*background: url(../assets/backgrounds/zzw.png);*/
}
/*-----------HEADER---------------*/
.sidenav {
    background-color: #1f1f1f;
    color: #1f1f1f;
}
.sidenav .sidenav-header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidenav .sidenav-header div {position: initial;}
.sidenav .sidenav-header div .background {position: initial;}
.sidenav li {line-height: 80%;}
.sidenav li a {
    color: #fffafa;
    text-transform: uppercase;
}
.sidenav .nav-phone-numbers a {
    width: 100%;
    display: flex;
    justify-content: center;
}
.sidenav .nav-phone-numbers a img {
    height: 20px;
    padding-right: 10px;
    align-self: center;
}
.sidenav .divider {margin-bottom: 15px;}
.user-view .background {text-align: center;}
.user-view .background img {width: 60%;}
.container-header {
    width: 100%;
    /*background: url(../assets/header/bg_wrapTopHeader.png);*/
    background-repeat: repeat-x;
    position: absolute;
    top: 0;
    z-index: 20;
    transition: 1s;
}
/*---------------------- Menu ----------------------------*/
.topMenu {
    /*background-image: url(../assets/header/bg_wrapNav.png);*/
    background-position: right 0;
    background-repeat: no-repeat;
    width: 570px;
    height: 45px;
    margin: 0 0 0 2528px;
    position: absolute;
    top: 85px;
    margin-left: 435px;
}
.topMenu li {
    float: left;
    display: block;
    padding: 0 15px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 14px;
}
.topMenu li a {
    color: #c20a0c;
    font-weight: 600;
}
.topMenu li a:hover, .dropdown:hover .dropbtn {color: #ebe5a7;}
.topNav {
    position: relative;
    z-index: 10;
    padding-left: 40px !important;
}
.dropbtn {  
    display: inline-block;
   /* line-height: 45px;    вирівнює текст по висоті меню 
    vertical-align: middle;*/
}  
.dropdown {position: relative;}         /* ключове! */
.dropdown-content { /*випадаюче меню*/
    display: none;
    position: absolute;
    top: 98%;   /* під кнопкою */
    left: 0;
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 101;
    overflow: hidden;       /* акуратно обрізати фон */
    z-index: 999;
}
.dropdown-content a {
    /*color: #fffafa;*/
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}
/*.white {color: #fffafa;}*/
.dropdown-content a:hover {color: #ebe5a7;}
.dropdown:hover .dropdown-content {display: block;}
        /* На всяк випадок: випадаюче меню не обрізається контейнером */
.topMenu {overflow: visible;}


/*---- end menu ----------*/
.header-warapper-inner {
    width: 1022px;
    margin: auto;
    background: url(../assets/header/bg_wrapTopHeaderInner.png) center 0 no-repeat;
    height: 130px;
    position: relative;
    z-index: 4;
}
.logo {
    position: absolute;
    top: 0, auto;
    margin-left: 80px;
    padding-top: 10px;
}
.logo img {width: 120px;}
.mainText {
    position: absolute;
    right: 5px;
    top: 25px;
    color: #ebe5a7;
    font-size: min(2.2vw, 30px);
    font-family: 'Maiden Orange', cursive;
    letter-spacing: 0.05em;
}
#topMenuButton {
    display: none;
    color: #fffafa;
}
#topMenuButton i {font-size: 40px;}
@media(max-width: 1023px) {
    .container-header {
        background: #1F1F1F url(../assets/header/bg_wrapTopHeader.png) repeat-x 0 107%;
        height: 171px;
        position: absolute;
        z-index: 99;
        margin-bottom: 0;
    }
    .mainText {display: none;}
    .topMenu {
        width: 50px;
        background: none !important;
        margin: 0;
        z-index: 100;
        top: 175px;
    }
    #topMenuButton {display: block;}
    .topNav {
        display: none;
        min-width: 320px;
        margin: 0 !important;
        padding: 0;
        position: relative;
        right: 140px;
        top: 40px;
        height: auto;
        background-color: #1F1F1F;
    }
    .topNav li {
        text-align: center;
        float: none;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px inset #2F2F2F;
        width: 80%;
        margin: auto;
    }
    .header-warapper-inner {
        background: url(../assets/header/bg_wrapTopHeaderInner.png) 20px 0 no-repeat;
        width: 320px;
        height: 130px;
        top: 85px;
    }

    .logo-container {
        display: flex;
        justify-content: center;
    }
    .logo {
        bottom: 50px;
        margin-left: 0;
    }
     .logo img {width: 140px;}
}
/*-----------END HEADER*--------------------/
/*----------------BODY----------------------*/
.scrolling-container {
    margin-top: 85px;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 84px);
    transition: 1s;
}
.scrolling-container::-webkit-scrollbar {
    position: relative;
    width: 16px;
}
.scrolling-container::-webkit-scrollbar-track {
    background: transparent rgba(255,255,255,0);
}
.scrolling-container::-webkit-scrollbar-thumb {
    width: 100%;
    background-color: #434343 !important;
    border-radius: 20px;
}
@media (max-width: 1023px) {
    .scrolling-container {margin-top: 170px;}
    .scrolling-container.home {margin-top: 85px;}
}
@media (max-width: 768px) {
    .scrolling-container.home {margin-top: 140px;}
    .h1, h1 {text-align: center;}
}


/* ---------------Container Styling------------------------- */
.containerFoto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 30px 20px 5px;
}
/*-------- Box Layout for Image Columns---------- */
.containerFoto .box3 {display: flex;}
.containerFoto .box2, .containerFoto .box1 {display: none;}
.containerFoto .box3 {
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  justify-content: space-between;
  width: 100%;
  margin: 0 20px 0;
  /*margin: -10px;*/ /* Adjust for added margins on children */
}
    /* Dream Section Styling for Individual Columns */
.containerFoto .box3 .dream {
    flex: 1 1 calc(33.33% - 20px); /* 3 columns layout with equal margins */
    margin: 10px; /* Equal margin on all sides */
}
.containerFoto .box2 .dream {
    flex: 1 1 calc(50% - 20px); /* Adjust to 2 columns with equal margins */
    margin: 10px; /* Equal margin on all sides */
 }
.containerFoto .box1 .dream {
    flex: 1 1 80%; /* Full width for single column */
    margin: 10px 0; /* Vertical margin only */
}
    /* Image Styling */
.dream img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px; /* Margin below each image */
  transition: transform 0.8s, filter 0.8s; /* Smooth transition for the effect */
}
    /* Hover effect for images */
.dream img:hover {transform: scale(1.02);}
/* -----Responsive Design-------- */
    /* Tablets (2 columns) */
@media only screen and (max-width: 1023px) {
    .containerFoto .box3 {display: none;}
    .containerFoto .box2 {
        display: flex;
        /*margin: 0 20px 0;*/
    }
}
@media only screen and (max-width: 768px) {
    .h1, h1 {margin: 30px 30px 10px;}
}
    /* Mobile (1 column) */
@media only screen and (max-width: 640px) {
    .containerFoto .box3, .containerFoto .box2 {display: none;}
    .containerFoto .box1 {display: flex;}
    .containerFoto .box1 {
        flex-direction: column; /* Stack columns vertically */
        /*margin: 0 20px 0;*/ /* Reset container margin for single column */
    }
}
/*----------------------------------------------------*/
/*-----------------END BLOG--------------------*/
/*----------------END BODY---------------------*/
/*-----------------FOOTER----------------------*/
.footer {
    width: 100%;
    /*white-space: nowrap;*/
    line-height: 30px; /* Vertically center the text there */
    border-top: 2px solid silver;
    background-color: #0d0d0d;
    height: 100px;
}
.footer-container {
    position: relative;
    width: 100%;
    padding: 0;
    margin: auto;
    max-width: 1320px;
}
.footer-container p {
    color: #fffafa;
    padding: 0 3vw;
    margin: 5px 0;
}
/*---------------BREADCRUMBS-----------------------*/
.page-header {
    /*min-height: 100px;*/
    background: #0d0d0d;
    /*border-bottom: 2px solid silver;*/
}
.page-header-container {
    padding-top: 45px;
    max-width: 1320px;
    margin: auto;
}
@media only screen and (max-width: 1024px) {   
    .page-header .page-header-container {padding-top: 120px;}
}
.header-title {
    max-width: 1320px;
    margin: auto;
}
.header-title p {
    margin-top: 0;
    margin-bottom: 12px;
    padding: 0 2vw;
    text-align: justify;
}
/*----------END BREADCRUMBS----------------*/
#powered {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 0;
}
.active {color: #ebe5a7;}
/*-----------------Counter------------------*/
.counter {
    border: 1px solid #fff;
    background: #0d0d0d;
    width: 280px;
    margin: 0 auto 20px;
    padding: 10px;
}
.counter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.counter ul li {
    font-size: max(1.2vw, 16px);;
    line-height: 1.4;
    color: #ebe5a7;
}
.counter ul li span {color: #fff;}
span li {color: #fff;}
/* мобільна адаптація */








