/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* razdelitel */
.wp-block-separator.is-style-wide {
    max-width: 100%;
	}


/* menu centre mobile */
#site-header.top-header .oceanwp-mobile-menu-icon {
    float: none;
    left: 20px;
    right: auto;
}


/* cvet linii razdelitelya */
hr {
    clear: both;
    height: 1px;
    min-height: 0;
    margin: 20px 0;
    border-top: 1px solid #4d83a2;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/* umenshennyj shrift v tablitse dlya iphone 5 */
@media only screen and (max-width: 420px)
{
.tablepress thead th, .tablepress tfoot th {
    font-size: 7px;
}
}
	
/* umenshennyj shrift v tablitse dlya iphone 5 */
@media only screen and (max-width: 420px)
{
.tablepress td, .tablepress th {
        font-size: 10px;
}
}

/* menu po centru */
#site-header.top-header #site-navigation-wrap {
    float: none;
    right: auto !important;
    left: -15px;
    width: max-content;
}

/* zvyozdochki u formy obratnoj svyazi */
.forminator-required {	
	color:red
}
/* oshibka obratnoj svyazi */
.forminator-error-message{
		color:red
}


.video-wrapper {
  position: relative;
  width: 100%; /* Ширина видео контейнера равна ширине экрана */
  height: 0; /* Начальная высота должна быть 0, чтобы padding-top мог определить конечную высоту */
  padding-top: 40%; /* Высота в процентах для соотношения сторон 21:9 ((9 / 21) * 100) */
  overflow: hidden; /* Скрывает части видео, которые выходят за пределы контейнера */
}

.video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}


/* ten u foto ang border radius */
.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}


/* oshibka obratnoj svyazi */

.widget-area .sidebar-box {
    padding: 0 0 0 5px;
}

#site-header-inner {
    position: relative;
    height: 100%;
    display: none;
}

/* zakrepit saitbar na meste */
.content-left-sidebar .widget-area {
    position: sticky;
    top: 70px;
}




@media only screen and (min-width: 960px) {
    .content-area, .content-left-sidebar .content-area {
        position: sticky;
        top: 50px;
    }
}