@font-face {
    font-family: Roboto;
    src: url('https://rus.geofizika.com.ua/system/Roboto-Regular.ttf') format('truetype'), url('/system/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: Open-sans;
    src: url('https://rus.geofizika.com.ua/system/OpenSans-Regular.ttf') format('truetype'), url('/system/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: IBMPlexSans;
    src: url('https://rus.geofizika.com.ua/system/IBMPlexSans-Regular.ttf') format('truetype'), url('/system/IBMPlexSans-Regular.ttf') format('truetype');
}

#gallery-bg {
    background: url(images/img05.jpg) repeat-y left top;
}

#gallery-bgtop {
    background: url(images/img04.jpg) no-repeat left top;
}

#gallery-bgbtm {
    background: url(images/img06.jpg) no-repeat left bottom;
    padding: 50px 40px;
}

/* Основные стили слайдера */
#foobar {
    width: 100%;
    height: 590px;
    position: relative;
    overflow: hidden;
}

.slider-image {
    width: 1180px;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Навигация слайдера */
#foobar .navigation {
    position: absolute;
    display: block;
    z-index: 105;
    bottom: 20px;
    right: 20px;
    margin: 10px;
    padding: 10px;
    background-color: rgba(255,255,255,.0) !important;
    opacity: 0.75;
}

#foobar .previous, #foobar .next {
    height: 30px;
    display: inline-block;
}

#foobar .previous img, #foobar .next img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

#foobar .previous:hover, #foobar .next:hover {
    background-color: rgba(30,30,30,.5) !important;
}

/* Контейнер слайдов */
#foobar .viewer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
}

#foobar .viewer .reel {
    width: 400%;
    height: 100%;
    position: relative;
}

#foobar .viewer .reel .slide {
    position: relative;
    width: 25%;
    height: 100%;
    float: left;
    overflow: hidden;
}

/* Наложение на слайд */
#foobar .nalojenie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #000000;
    opacity: 0.15;
}

/* Стили для текстовой линии */
#foobar .galerylinea {
    position: absolute;
    bottom: 90px; /* Отступ от нижнего края слайда */
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 101;
    text-align: left;
    margin: 0 !important;
}

#foobar .galerylinea a {
    display: inline-block;
    color: white !important;
    font-family: IBMPlexSans !important;
    font-size: 46px;
    text-decoration: none;
    background-color: rgba(0,0,0,0.6);
    padding: 12px 24px;
    border-radius: 4px;
    max-width: 90%;
    word-wrap: break-word;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Адаптивные стили */
@media screen and (max-width: 1200px) {
    #foobar .galerylinea {
        bottom: 90px;
    }
    #foobar .galerylinea a {
        font-size: 32px;
        padding: 10px 20px;
    }
	#contacts0 {
	width: 100% !important; 
	text-indent: 0px;"
}
}

@media screen and (max-width: 992px) {
    #foobar, #foobar .nalojenie {
        height: 400px;
    }
    #foobar .galerylinea {
        bottom: 30px;
    }
    #foobar .galerylinea a {
        font-size: 20px;
        padding: 8px 16px;
    }
	#contacts0 {
	width: 100% !important; 
	text-indent: 0px;"
}
#logo a img
{
	width: 150px !important;
}

}

@media screen and (max-width: 768px) {
    #foobar, #foobar .nalojenie {
        height: 350px;
    }
    #foobar .galerylinea {
        bottom: 75px;
    }
    #foobar .galerylinea a {
        font-size: 22px;
        padding: 6px 12px;
    }
	#contacts0 {
	width: 100% !important; 
	text-indent: 0px;"
}
}

@media screen and (max-width: 480px) {
    #foobar, #foobar .nalojenie {
        height: 250px;
    }
    #foobar .galerylinea {
        bottom: 95px;
    }
    #foobar .galerylinea a {
        font-size: 18px;
        padding: 5px 10px;
    }
	#contacts0 {
	width: 100%; 
	text-indent: 0px;"
}
}

/* Стили для маленького слайдера (если нужно) */
#foobarsm {
    width: 100%;
    height: 130px;
    position: relative;
}

#foobarsm .navigationsm {
    position: absolute;
    display: block;
    z-index: 100;
    color: #ffffff;
    bottom: 0px;
    right: 0px;
    margin: 10px;
    padding: 10px;
    background-color: #303030;
    opacity: 0.75;
}

#foobarsm .navigationsm a {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

#foobarsm .viewersm {
    width: 100%;
    height: 130px;
}

#foobarsm .viewersm .reelsm .slidesm {
    position: relative;
    width: 100%;
    height: 130px;
}

#foobarsm .viewersm .reelsm .slidesm span {
    position: absolute;
    display: block;
    width: 100%;
    padding: 20px;
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    bottom: 0px;
    left: 0px;
    opacity: 0.50;
}

#contacts0 {
	width: 1120px; 
	text-indent: 0px;"
}

@media screen and (max-width: 768px) {
    @keyframes slideIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideInFromRight {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideInFromLeft {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .text-line2, .image-content {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: opacity 0.5s ease-in-out; /* Плавное появление */
    }
}
#text-container {
    width: 100%;
    overflow: hidden; /* Это предотвратит влияние вылетающих элементов на общую ширину */
}