/***********************************************************************************************/
/* HEADER AND NAV */
/***********************************************************************************************/

html{ overflow-x:hidden; }

span.mobile-close {
    display: none;
}

.peralax a img {
    width: 350px;
}

body
{
	background:#000 !important;
}

.containerTEXT p {
    font-size: 17px;
    /*margin-top: 50px;*/
}

.containerTEXT h2 {
    margin: 50px 0 50px 0;
    font-size: 27px;
}
.containerTEXT ul {
    font-size: 16px;
}

a:hover, a:focus {
    text-decoration: none !important;
	color: #9c9b9a !important;
}

.heder {
    background: #000;
    height: 100px;
    padding: 10px 0;
}

img.logo {
    float: left;
	margin-right: 10px;
}

.heder a h2, .footer a h2 {
    color: #dbd4c8;
    margin: 32px 0 0 0;
    font-size: 25px;
	text-decoration: none;
}

.heder a h2:hover, .footer a h2:hover {
    color: #9c9b9a;
	text-decoration: none;
}

.footer p {
    color: #dbd4c8;
    line-height: 15px;
    text-align: right;
    font-size: 16px;
}

.heder p {
    color: #dbd4c8;
    line-height: 15px;
    text-align: right;
    font-size: 16px;
}
a.map-btn-inline {
    display: block;
    width: max-content;
    margin: 5px auto;
    /* float: right; */
}

.hederjpg
{
width: 100vw;
display: block;	
}

.addres {
    margin-top: 12px;
}

.navbar {
    margin-bottom: unset !important;
	border-radius: unset !important;
}

.containerTEXT {
    background: #fff;
}

.navbar-default {
    background-color: #000000 !important;
    border-color: unset !important;
}

ul.nav.navbar-nav li {
    border-left: 1px solid #4a4949 !important;
    /*border-right: 1px solid #5f5c5c;*/
    padding: 0 10px;
}

ul.nav.navbar-nav li:first-child {
    border: 0;
    border-left: 0 !important;
}

.peralax { 
    background: url(img/heder.jpg)no-repeat center;
    background-size: cover;
    height: 360px;
}

.peralax h3 {
    font-size: 32px;
    color: #fff;
    padding-top: 100px;
}

.addres a {
    /* text-align: right !important; */
    color: #ccc;
}

p.text-center.footerCOP {
    color: #868383;
    border-top: 1px solid #1f1e1e;
    padding: 20px 0;
	margin-top:20px;
}


.peralax img:hover {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
}

/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;

  width: 100% \9;
/*width: 100%;*/
  max-width: 100%;
  height: auto;
}
.alignleft
{
float: left;
display: block;
	/*width: 100%;*/
  width: 100% \9;
  max-width: 100%;
  height: auto;
}

.alignright
{
float: right;
display: block;
	/*width: 100%;*/
 width: 100% \9;
  max-width: 100%;
  height: auto;
}


.navbar {
    position: unset !important;
    border: 0px !important;
}

.MINIAT {
border: 1px solid #ccc;
    padding: 13px;
    border-radius: 5px;
    margin: 10px;
	height: 300px;
}
.MINIAT a img:hover {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
}






/* --- Контейнер модального вікна --- */
.modal-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    max-width: 500px;
    margin: 15px auto;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Шапка модального вікна --- */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eaeaea;
    background-color: #fcfcfc;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin: 0;
}

/* Кнопка закриття (х) */
.modal-header .close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: #999999;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    margin: 0;
}

.modal-header .close:hover {
    color: #333333;
}

/* --- Тіло модального вікна та Форма --- */
.modal-body {
    padding: 24px;
}

/* Стилізація абзаців-обгорток CF7 */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

/* Мітки (Labels) */
.wpcf7-form label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.5;
}

/* Поля введення (Inputs) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
textarea
{
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    background-color: #f7fafc;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none; /* Прибирає внутрішні тіні на iOS */
}

.wpcf7-form input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* --- Кнопки --- */

/* Кнопка відправки (Submit) */
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #3182ce;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #2b6cb0;
}

.wpcf7-form input[type="submit"]:active {
    background-color: #2c5282;
}

/* Нижній футер з кнопкою закриття */
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eaeaea;
    background-color: #fcfcfc;
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn-default {
    background-color: #edf2f7;
    color: #4a5568;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-footer .btn-default:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

/* --- Адаптивність під мобільні екранчики (< 576px) --- */
@media (max-width: 576px) {
    .modal-content {
        margin: 10px;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="email"],
    textarea
    {
        padding: 10px 14px; /* Трішки менші відступи, щоб зручніше тапалось */
        font-size: 16px; /* Запобігає авто-зуму форми на iPhone (iOS примусово зумить інпути, якщо font-size < 16px) */
    }
    
    .wpcf7-form input[type="submit"] {
        padding: 15px;
    }
}

/* --- Стілізация помилок Contact Form 7 (опціонально) --- */
.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 0.9rem;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #38a169 !important;
    background-color: #f0fff4;
    color: #276749;
}

.wpcf7-validation-errors {
    border: 2px solid #e53e3e !important;
    background-color: #fff5f5;
    color: #9b2c2c;
}


.modal-header .close {
    color: #3182ce !important;
}

.close {
    opacity: .5 !important;
}