@charset "utf-8";
/*
Theme Name: Chaika
Theme URI: http://dev.pollas.ru/
Author: Aleksandr Yakushin
Author URI: http://dev.pollas.ru/
Description: Созданно специально для Студи Чайка по заказу Андрея Кротова
Version: 1.48.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chaika
*/
@import url('https://fonts.googleapis.com/css?family=Play:400,700&subset=cyrillic');
#YMaps_0 {
    float: left;
    display: inline-block;
    margin-top: 30px;
}
#YMaps_0 a {
    display: none !important;
}
input:-webkit-autofill {
    box-shadow: 0 0 0 30px #f1f1f1 inset;
}
input, select {
    margin: 10px 1px;
}
/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/
body {
    width: 100%;
    height: 100%;
    display: inline-block;
    background-color: #fff;
    /*
    background-size: cover;
    background-attachment: fixed;
	background-position-y: center;
	*/
    font-family: 'Play', sans-serif;
    margin: 0;
}
iframe {
    border: none;
}
h1, h2, h3, h4, h5 {
    font-weight: normal;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
    text-decoration: none;
}
h1 {
    font-size: 2em;
}
p {
    margin: 0 0 10px;
}
.site {
    margin: 20px auto;
}
.clr {
    clear: both;
}
.more-link {
    display: table;
}
a.more-link {
    color: #FFFFFF;
    background: #132b3a;
    font-size: 10px;
    text-transform: uppercase;
    padding: 2px 5px 3px;
    margin-top: 15px;
    text-decoration: none;
}
a.more-link:hover {
    background: #265573;
    text-decoration: none;
}
.more-link .meta-nav {
    display: none;
}
img {
    max-width: 100%;
    height: auto;
}
.site-content {
    display: inline-block;
    width: 100%;
}
nav {
    float: left;/* text-align: center; */
}
.grey {
    background-color: #f1f1f1;
}
.marb40 {
    margin-bottom: 40px;
}
.marb20 {
    margin-bottom: 20px;
}
.marb10 {
    margin-bottom: 10px;
}
.borbot {
    background-color: transparent;
    border-bottom: 2px solid #f1f1f1;
    z-index: 999;
}
.soc-i, .telefon {
    float: right;
    margin-right: 15px;
}
.telefon {
    line-height: 34px;
    margin: 0 20px;
}
.telefon p {
    margin: 0
}
.telefon a {
    margin-left: 20px;
    font-size: 14px;
}
#site_root {
    height: 100%;
    width: 100%;
    background-size: cover;
    position: fixed;
    top: 0
}
.site {
    width: 70%;
    position: static;
    top: 0;
    margin: auto
}
header {
    display: inline-block;
    width: 100%
}
header #left, header #right {}
#left {
    /*	border: 1px solid transparent;
	-webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,.6);
	box-shadow: 0 1px 4px 0 rgba(0,0,0,.6)
*/
}
#right {
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
#right #soc_icon {
    margin: auto;
}
.site-branding {
    margin: 13px;
    display: inline-block;
}
#addres {
    /* float: right; */
    line-height: 1.2;
    font-size: .8em;
    text-align: center
}
.message, .message .register {
	display: none;
}
/*
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding: 10px;
    line-height: 20px;
    min-width: 310px;
}
*/

/* ----------------- Слайдер --------------------*/
/* 

.slideshow_slide_image img {
    float: left !important;
}
.slideshow_description_box {
	width: 50% !important;
	float: right;
	position: relative !important;
	opacity: 1 !important;
	background-color: transparent !important;
	margin-top: 10%;
}
.slideshow_title, .slideshow_description {
	color: #000 !important;
}

*/
/* ------------------ БЛОГ --------------------- */
#left, #right, footer, .site-content {}
.navigation, footer.entry-footer {
    background-color: transparent !important;
}
.content-area, .widget-area {
    float: left;
    width: 100%
}
#left, #right {
    /* padding: 15px; */
}
.site-description {
    letter-spacing: .5em;
    text-transform: uppercase;
    -moz-text-align-last: justify;
    text-align-last: justify;
    width: 330px
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto!important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}
.online-bron, article .blog-list, .blog-list-m {
    margin: 15px 0;
    float: left;
    background: #ececec;
    padding: 0;
    width: 32%;
}
.bloc_c .blog-list {
    margin-left: 2%;
    margin-right: 2%;
}
article:nth-child(1) .blog-list, article:nth-child(3) .blog-list, div.midle {
    margin-left: 2%;
    margin-right: 2%;
}
.row article:nth-child(1) .blog-list-m, .row article:nth-child(3) .blog-list {
    margin-left: 2%;
    margin-right: 2%;
}
article.event:nth-child(1) .blog-list, article.event:nth-child(3) .blog-list{
    margin-left: 0;
    margin-right: 0;
}
article.event:nth-child(2) .blog-list, article.event:nth-child(5) .blog-list{
    margin-left: 2%;
    margin-right: 2%;
}
.blog-list h2.entry-title {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
}
.blog-list .entry-meta .data {
    font-size: 0.9em;
    font-weight: 600;
}
.content_pst .category {
    position: absolute;
    top: -25px;
    right: 0;
}
.entry-meta .category a, .blog-single .category a {
    background-color: #132B3A;
    color: white;
    padding: 2px 5px;
    font-size: 0.8em;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.15em;
}
.blog-list .category a:hover, .blog-single .category a:hover {
    background-color: #265573;
}
.blog-list .entry-header, #blog-list .entry-images {
    position: relative;
    width: 100%;
}
.blog-list .entry-images {
    /* height: 310px;
    width: 100%;
    background-size: cover;
    background-position: center; */
}
.blog-images img {
    width: 100%;
    height: auto;
}
.content_pst {
    padding: 10px 10px 5px;
    position: relative;
}
.blog-list .entry-meta {
    font-size: 14px
}
.blog-list .entry-content p {
    font-size: 1em;
    line-height: normal;
    margin-top: 10px;
    margin-bottom: 0;
}
.blog-single h1, .blog-single .entry-meta {
    margin: 0 20px 20px;
}
.blog-single .entry-content {
    margin: 0 20px 20px;
}
.blog-single .entry-images {
    margin-left: 20px;
    margin-right: 20px;
    float: left;
}
.blog-single .data {
    font-size: 11px;
}
.lamp {
    height: 2px;
    top: 38px;
}
.lamp span {
    height: 2px;
}
.lamp span:after {
    border-width: 3px;
    margin-left: -3px;
}
.site-description {
    letter-spacing: 0.4em;
}
#soc_icon {
    text-align: center;
}
#soc_icon h2 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}
.widget_theme_my_login {
    text-align: center;
    display: contents;
}
ul.tml-user-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.tml-user-description-wrap, .tml-user-url-wrap {
    display: none;
}
.tml-form-table ~ h3 {
    display: none;
}
.entry-content .tml .tml-action-links a {
    font-size: 16px;
}
.tml {
    margin: 5px;
}
.tml .error, .tml .message, .tml .success {
    padding: 0.5em;
}
.tml .message {
    border: 1px solid #a9a9a9;
    background-color: #f1f1f1;
    color: #000;
}
.tml-form-table .description {
    font-size: 12px;
}
.tml-form-table label {
    margin-top: 18px;
    font-size: 16px;
}
#soc_icon .fa {
    font-size: 26px;
    color: #fff;
    padding: 6px;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.38);
}
.soc-i .fa {
    font-size: 20px;
    padding: 5px;
    margin-top: 2px;
    opacity: 0.6;
    color: #000;
}
.sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item {
    width: 180px !important;
}
.sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a {
    width: 180px !important;
}
.so-widget-sow-post-carousel {
    max-width: 180px;
    margin: auto;
}
.fa:hover {
    opacity: 1
}
.fa-vk {
    color: #2a5885;
}
.fa-facebook-official {
    color: #3b5998;
}
.fa-instagram {
    color: #00610d;
}
.fa-youtube {
    color: #cc181e;
}
#id li {
    float: left;
    width: 50%;
    padding: 0 20px;
}
.menu-enter-container ul {
    list-style: none;
    padding: 0;
}
.slideshow_container {
    margin: auto !important;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}
/*--------------------------------------------------------------
# MAIN 
--------------------------------------------------------------*/
h1, h2, h3, h4 {
    line-height: 1.2;
    margin: 14px 0;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.3em
}
h3 {
    font-size: 1.1em
}
h4 {
    font-size: .9em
}
#right.registr {
    overflow-y: auto;
}
ol#news {
    list-style-type: none;
    counter-reset: num;
    padding: 0;
    margin: 0;
}
ol#news li {
    float: left;
    width: 50%
}
ol#news li h1 {
    margin: 0
}
ol#news li .date {
    font-weight: 600;
    color: #6b6b6b;
    margin-bottom: .5em
}
ol#news li::before {
    content: counter(num) ". ";
    counter-increment: num;
    font-size: 40px;
}
footer {
    margin: auto;
    width: 100%;
    float: left
}
.site-info {
    padding: 15px
}
label {
    font-size: 12px;
}
#secondary .widget {
    border-bottom: 1px solid #9e9e9e;
    padding-bottom: 10px;
}
.widget h2 {
    text-align: left;
}
input, textarea {
    width: 100%;
}
textarea {
    height: 115px;
}
#theme-my-login-2 h2 {
    font-size: 14px;
}
#theme-my-login-2 ul {
    padding: 0;
    font-size: 12px;
    text-align: center;
}
.tml label {
    min-width: 175px;
}
.tml-user-links li {
    list-style-type: none;
    margin: 4px 0;
}
.tml-user-links li a {
    text-transform: uppercase;
    text-decoration: none;
}
/* -------- SOCIALAIZER --------- */
.the_champ_social_login_title {
    font-size: 10px;
}
ul.the_champ_login_ul li {
    float: none !important;
    display: inline-block !important;
}
.theChampLogin {
    height: 25px;
    width: 25px;
}
/* -------- SOCIALAIZER --------- */
ol#news li {
    padding: 0 20px;
    min-height: 315px;
    float: left;
    width: 50%;
}
ol#news h2 {
    margin: 0;
}
ol#news h2 a {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}
ol#news p {
    font-size: 14px;
    text-align: justify;
}
ol#news a {}
ol#news .post header {
    margin-bottom: 0;
}
footer.entry-footer {
    margin: 5px auto;
    width: 50%;
    float: left;
    font-size: 12px;
}
.tml p {
    margin: 0;
}
.entry-meta {
    font-size: 14px;
    margin: 5px 0;
}
.comments-link, .tags-links, .edit-link {
    display: inline-block;
}
.navigation {
    display: inline-block;
    width: 100%;
    padding-top: 10px;
}
.nav-previous, .nav-next {
    width: 47%;
    float: left;
    margin-left: 1.5%;
    margin-right: 1.5%;
    color: #265573;
    padding: 6px 20px;
}
.nav-next {
    text-align: right;
    float: right;
}
.nav-previous a, .nav-next a {
    color: #265573;
}
.nav-previous:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f112";
    margin-right: 10px;
}
.nav-next:after {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f064";
    margin-left: 10px;
}
.entry-content p {
    text-align: justify;
}
.online {
    width: 100%;
    text-align: center;
    position: relative;
}
.online img {
    width: auto;
    max-height: 159px;/* box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #000 0 10px 15px -10px;*/
}
.clik {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.full-width {
    width: 100vw;
    margin-left: -15%;
}
.butons, button, .button-primary, .wpcf7-submit {
    margin: 15px auto;
    padding: 5px 30px 8px;
    display: inline-block;
    background-color: #132B3A;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.5s;
    color: #fff;
    border: none;
}
input.button-primary {
    margin: 10px auto;
}
table.form-table {
    margin: 15px 0;
}
#wp-submit1 {
    margin: 0;
    padding: 4px 5px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.5s;
    color: #fff;
    border: none;
    margin-left: 5px;
    background-color: #132B3A;
}
#user_login1, #user_pass1 {
    font-size: 12px;
    margin: 3px auto;
}
.tml .tml-action-links {
    margin: 0;
    font-size: 11px;
}
.tml .tml-action-links li {
    float: left;
}
.tml-login .tml-rememberme-submit-wrap {
    margin-bottom: 5px;
}
#wp-submit1:hover, .button-primary:hover, .wpcf7-submit:hover {
    background-color: #265573;
}
.discript_room a.butons {
    text-decoration: none;
}
.wpcf7-submit {
    width: auto;
}
.online-bron .entry-meta {
    margin: 0;
}
.bron {
    text-align: center;
}
table.equpment_list {
    font-size: 14px;
    background: white;
    border-collapse: collapse;
    text-align: left;
    margin: auto;
}
table.equpment_list th {
    font-weight: normal;
    color: #039;
    padding: 10px 15px;
}
table.equpment_list td {
    border-top: 1px solid #e8edff;
    padding: 7px 10px;
}
table.equpment_list tr:hover td {
    background: #e8edff;
}
.slideshow_container p {
    display: none;
}
.ads .thumbnail {
    display: inline-block;
    margin: 20px;
    float: left;
    margin-top: 0px;
}
.ads .entry-header, .ads .entry-content {
    display: inline-block;
    width: 49%;
    float: left;
}
.ads .entry-meta, .ads .entry-title {
    text-align: left;
    font-weight: 100;
    margin: 0;
}
.ads {
    position: relative;
    display: inline-block;
    width: 100%;
}
.ads .entry-meta {
    font-size: 10px;
    position: absolute;
    top: 10px;
    left: 30px;
    background-color: #FFFFFF;
    padding: 0px 3px;
}
.line_end {
    border-bottom: 1px solid #686868;
    margin-bottom: 10px;
    display: inline-block;
    width: inherit;
}
img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}
img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#addres p {
    margin: 0;
}
.sow-carousel-title {
    height: 30px;
    margin-top: 15px;
}
.widget-title {
    margin: 3px 0px;
}
.header-sls img {
    width: 100%;
    height: auto;
    margin: 25px 0;
}
.gallery-columns-2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}
.gallery-columns-3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}
.gallery-columns-4 {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}
.gallery-columns-5 {
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
}
.gallery-columns-6 {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
}
.gallery-columns-7 {
    -webkit-column-count: 7;
    -moz-column-count: 7;
    column-count: 7;
}
.gallery-columns-8 {
    -webkit-column-count: 8;
    -moz-column-count: 8;
    column-count: 8;
}
.gallery-columns-9 {
    -webkit-column-count: 9;
    -moz-column-count: 9;
    column-count: 9;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    margin: 0 0 0.5em;
}
/* ---- Events start  ---- */
.event_discription, .event_form, .event_map, .event_location {
    padding: 15px;
    position: relative;
}
.em-calendar {
    width: 100%;
}
table.fullcalendar thead td {
    text-align: center;
}
.event-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.em-block, .em-block1 {
    background-color: #f1f1f1;
    padding: 20px;
}
.map {
    padding: 0;
}
.em-booking-form label {
    width: 100%;
}
/*label[for="booking_comment"], textarea[name="booking_comment"] {
	display: none;
}*/
input[name="data_privacy_consent"] {
    width: 17px;
}
/* ---- Events end ---- */


.hp-field--checkboxes, .hp-field--radio {
    overflow-y: visible;
}

.hp-field input[type=checkbox] + span::before, .hp-field input[type=radio] + span::before {
    top: 1px;
}
.hp-field input[type=checkbox] + span::after, .hp-field input[type=radio] + span::after {
    top: 5px;
}
.hp-field--radio ul li label {
    font-size: 16px;
}
.hp-field--checkboxes ul li:not(:last-child), .hp-field--radio ul li:not(:last-child) {
    margin-bottom: 0.7rem;
}
.hp-listing--view-block .hp-listing__categories a, .hp-listing--view-page .hp-listing__categories a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.6875rem;
    background-color: rgba(7, 36, 86, 0.085);
    color: rgba(15, 23, 39, 0.45);
    transition: color 0.25s, background-color 0.25s;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
}
.post__categories a:hover, .hp-listing--view-block .hp-listing__categories a:hover, .hp-listing--view-page .hp-listing__categories a:hover {
    background-color: #132b3a;
    color: #fff;
}

.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute {
    font-size: 0.9rem;
    text-align: left;
    padding: 4px;
    background-color: transparent;
}
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute:not(:last-child) {
    margin-bottom: 3px;
}
.hp-listing--view-block .hp-listing__attributes--primary .hp-listing__attribute {
    font-size: 0.9rem;
}
.hp-listing--view-block .hp-listing__content:not(:last-child), .hp-listing--view-block .hp-listing__footer:not(:last-child), .hp-listing--view-block .hp-listing__header:not(:last-child) {
    margin-bottom: 8px;
}
h4.hp-listing__title {
    font-size: 1.4em;
}
.hp-listing--view-page .hp-listing__details--primary:not(:last-child) {
    margin-bottom: 3px;
}
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute {
    padding: 0;
}
.hp-listing--view-block .hp-listing__created-date, .hp-listing--view-page .hp-listing__created-date {
  display: none;
}
.hp-listing--view-page .hp-listing__title:not(:last-child) {
    margin-bottom: 3px;
}
.hp-listing--view-block .hp-listing__categories a, .hp-listing--view-page .hp-listing__categories a {
    color: #0B0B0B;
}
.hp-listing--view-block .hp-listing__attributes--secondary:not(:last-child), .hp-listing--view-block .hp-listing__details--primary:not(:last-child), .hp-listing--view-block .hp-listing__image:not(:last-child), .hp-listing--view-block .hp-listing__title:not(:last-child) {
    margin-bottom: 0;
}
/* ------- ПРОПУСК ----------------*/
.propusk {
    max-width: 550px;
}
.propusk_b {
    visibility: hidden;
    background-color: green;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 18px;
}
.data_p {
    float: right;
    font-size: 32px;
}
.propusk h1 {
    text-align: center;
    font-size: 64px;
    color: #f72222;
    line-height: 1;
    margin: 10px 0;
}
.propusk h2 {
    text-align: center;
    font-size: 28px;
}
.propusk h3 {
    margin: 10px 30px
}
.propusk span {
    font-size: 32px;
    font-weight: 600;
    margin-left: 10px;
    padding-left: 20px;
    text-decoration: underline;
}
.propusk h2 {
    text-align: center;
    font-size: 24px;
}
.page-template-propusk {
    margin: 0;
    padding: 0
}


.hp-field--radio {
    overflow-y: inherit;
}

.em.pixelbones .em-event-booking-form a {
    display: table;
    height: 38px!important;
    padding: 0 30px!important;
    color: var(--text-color-softer)!important;
    text-align: center!important;
    font-size: 11px!important;
    font-weight: 600!important;
    line-height: 38px!important;
    letter-spacing: 1px!important;
    text-transform: uppercase!important;
    text-decoration: none!important;
    white-space: nowrap!important;
    background-color: transparent!important;
    border-radius: 4px!important;
    border: 1px solid var(--border-color)!important;
    cursor: pointer!important;
    box-sizing: border-box!important;
    margin-top: 20px;
}
.em-booking-message {
    box-sizing: border-box!important;
    color: red;
    font-weight: 700;
}
.em.em-item.em-item-single .em-item-image img, .em.em-item.em-item-single.size-small .em-item-header .em-item-image img, .em.em-item.em-item-single.size-medium .em-item-header .em-item-image img {
    border: none;
}


.em-tickets-form .form-table th, .em-tickets-form .form-table td {
    display: table-cell;
}
@media only screen and (max-width:1024px) {
    .site {
        width: 90%;
    }
}
@media only screen and (max-width:768px) {
    header #left, header #right {
        height: auto;
        width: 100%;
        margin: 3px auto;
        display: inline-block;
        text-align: center;
    }
    .admin-bar #mg-wprm-wrap.cbp-spmenu.custom, body.admin-bar #wprmenu_bar {
        top: 0;
    }
    .blog-list h2.entry-title, .entry-content p {
        font-size: 0.9em;
    }
    .blog-list .entry-content p {
        font-size: 0.9em;
    }
    .content-area, .widget-area {
        min-height: auto;
    }
    .tml .tml-action-links {
        margin: 0;
        font-size: 14px;
    }
    .blog-list-m {
        width: 48%;
    }
    .tml {
        max-width: none;
    }
}
@media only screen and (max-width:580px) {
    #addres {
        width: 100%;
    }
    #addres .soc-i {
        float: right;
        width: 170px;
    }
    ol#news li {
        padding: 0;
        min-height: auto;
        width: 100%;
    }
    #left, #right {
        padding: 0 5px;
    }
    .nav-previous, .nav-next {
        width: 100%;
    }
    .content_pst .entry-content {
        min-height: auto;
    }
    .content_pst {
        padding: 10px;
    }
    .gallery-columns-3, .gallery-columns-4 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .em-booking-form-details {
        width: 275px;
        overflow: hidden;
    }
    .online-bron, article .blog-list {
        width: 100%;
    }
    .mainav {
        display: none;
    }
    .menu-v-shapke-container > ul > li > a {
        padding: 15px 20px;
    }
}
@media only screen and (max-width:480px) {
    .site-branding img, .site-info img {
        width: 100%;
        height: auto;
    }
    .schedule table td .wrapper {
        min-width: 31px;
    }
    ul.tml-user-links {
        margin: 5px 0;
    }
    .site-description {
        width: 100%;
        letter-spacing: 0.1em;
    }
    header #left, header #right {
        text-align: center;
    }
    .soc-i, .telefon {
        margin: auto;
        width: 100%;
        text-align: center;
    }
    .telefon {
        margin: auto;
    }
    .widget {
        float: none;
        width: 100%;
        padding: 10px;
        margin: auto;
    }
    .content-area, .widget-area {
        padding: 5px;
    }
    .ads .thumbnail img {
        width: 100%;
        height: auto;
    }
    .ads .entry-header, .ads .entry-content {
        width: 100%;
    }
    article .blog-list {
        width: 95%;
        margin: 7px 2.5%;
    }
    .slideshow_container img {
        width: 100% !important;
        height: auto !important;
    }
    .blog-list-m {
        width: auto;
    }
    .row article:nth-child(2) .blog-list-m, .row article:nth-child(5) .blog-list {
        margin-left: 0;
        margin-right: 0;
    }
    .data_p {
        float: none;
        text-align: center;
    }
    .custom-logo-link {
        display: inline-block;
        width: 100%;
        text-align: center
    }
    .propusk span {
        display: inline-block;
        width: 100%;
        font-size: 32px;
        font-weight: 600;
        text-align: center;
        margin-left: 0
    }
    /* -------- SOCIALAIZER --------- */
    #user_login1, #user_pass1 {
        font-size: 24px;
    }
    #theme-my-login-2 ul {
        font-size: 20px;
    }
    .theChampLogin {
        height: 40px;
        width: 40px;
        margin: 5px;
    }
    .tml-login .tml-rememberme-wrap {
        font-size: 24px !important;
    }
    .tml .tml-rememberme-wrap label {
        margin: 1px auto 20px;
    }
    .tml p {
        margin-top: 10px;
    }
    /* -------- SOCIALAIZER --------- */
}
@media only screen and (max-width:320px) {
    .col-sm-12, .col-md-12 {
        padding: 0;
    }
}
/* Стили для мобильной версии таблиц с ценами */
/* Подключите этот файл в functions.php темы: wp_enqueue_style('price-table-mobile', get_template_directory_uri() . '/assets/style/price-table-mobile.css'); */

@media all and (max-width: 768px) {
    /* Контейнер с таблицей - улучшенная горизонтальная прокрутка */
    div[style*="overflow-x: auto"] {
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 5px 5px 5px;
        position: relative;
    }
    
    /* Подсказка о прокрутке */
    div[style*="overflow-x: auto"]:before {
        content: "← Прокрутите вправо для просмотра →";
        display: block;
        text-align: center;
        padding: 8px;
        color: #666;
        font-size: 12px;
        background: #f5f5f5;
        margin-bottom: 10px;
    }
    
    /* Таблица с минимальной шириной для прокрутки */
    div[style*="overflow-x: auto"] table[border="1"],
    div[style*="overflow-x: auto"] table {
        min-width: 600px;
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }
    
    /* Улучшенные стили для заголовков */
    div[style*="overflow-x: auto"] table tbody tr:first-child td,
    div[style*="overflow-x: auto"] table thead th {
        background: #f8f9fa;
        font-weight: 600;
        color: #333;
        padding: 10px 8px;
        text-align: center;
        border: 1px solid #dee2e6;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    /* Первая колонка (наименование) - фиксированная при прокрутке */
    div[style*="overflow-x: auto"] table tbody tr td:first-child,
    div[style*="overflow-x: auto"] table thead th:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 5;
        box-shadow: 2px 0 4px rgba(0,0,0,0.1);
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Заголовок первой колонки */
    div[style*="overflow-x: auto"] table tbody tr:first-child td:first-child,
    div[style*="overflow-x: auto"] table thead th:first-child {
        background: #f8f9fa;
        z-index: 15;
    }
    
    /* Ячейки таблицы */
    div[style*="overflow-x: auto"] table tbody tr td {
        padding: 8px 6px;
        border: 1px solid #dee2e6;
        text-align: center;
        white-space: nowrap;
    }
    
    /* Выделение цены */
    div[style*="overflow-x: auto"] table tbody tr td:nth-child(3) {
        font-weight: 600;
        color: #0073aa;
        font-size: 14px;
    }
    
    /* Убираем фиксированную высоту таблицы */
    div[style*="overflow-x: auto"] table[style*="height"] {
        height: auto !important;
    }
    
    /* Убираем colgroup для лучшей адаптивности */
    div[style*="overflow-x: auto"] table colgroup {
        display: none;
    }
}

/* Альтернативный вариант: преобразование в карточки для очень маленьких экранов */
@media all and (max-width: 480px) {
    /* Преобразование таблицы в карточки */
    div[style*="overflow-x: auto"] table[border="1"],
    div[style*="overflow-x: auto"] table {
        display: block;
        min-width: 100%;
        width: 100%;
    }
    
    /* Скрываем подсказку о прокрутке */
    div[style*="overflow-x: auto"]:before {
        display: none;
    }
    
    /* Преобразуем tbody */
    div[style*="overflow-x: auto"] table tbody {
        display: block;
        width: 100%;
    }
    
    /* Первая строка (заголовки) - скрываем */
    div[style*="overflow-x: auto"] table tbody tr:first-child {
        display: none;
    }
    
    /* Скрываем пустые ячейки (если все ячейки в строке пустые, строка скроется автоматически) */
    div[style*="overflow-x: auto"] table tbody tr:not(:first-child) td:empty {
        display: none;
    }
    
    /* Скрываем строки, где все ячейки пустые (для разделителей) */
    div[style*="overflow-x: auto"] table tbody tr:not(:first-child) td:only-child:empty {
        display: none;
    }
    
    /* Каждая строка становится карточкой */
    div[style*="overflow-x: auto"] table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ячейки становятся блоками */
    div[style*="overflow-x: auto"] table tbody tr td {
        display: block;
        width: 100% !important;
        border: none !important;
        padding: 10px 0 10px 0 !important;
        text-align: left !important;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        min-height: auto;
        box-sizing: border-box;
        font-size: 14px;
        color: #555;
        word-wrap: break-word;
        white-space: normal;
    }
    
    /* Последняя ячейка без границы */
    div[style*="overflow-x: auto"] table tbody tr td:last-child {
        border-bottom: none;
    }
    
    /* Добавляем метки для ячеек */
    div[style*="overflow-x: auto"] table tbody tr td:nth-child(1):before {
        content: "Наименование:";
        display: block;
        font-weight: 600;
        color: #333;
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    div[style*="overflow-x: auto"] table tbody tr td:nth-child(2):before {
        content: "Минимальное кол-во часов:";
        display: block;
        font-weight: 600;
        color: #333;
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    div[style*="overflow-x: auto"] table tbody tr td:nth-child(3):before {
        content: "Цена:";
        display: block;
        font-weight: 600;
        color: #333;
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    /* Выделение цены */
    div[style*="overflow-x: auto"] table tbody tr td:nth-child(3) {
        font-weight: 600;
        color: #0073aa;
        font-size: 16px;
    }
    
    /* Для второй таблицы (дополнительное оборудование) */
    div[style*="overflow-x: auto"] table[width="880"] tbody tr td:nth-child(1):before {
        content: "Наименование:";
    }
    
    div[style*="overflow-x: auto"] table[width="880"] tbody tr td:nth-child(3):before {
        content: "Цена:";
    }
    
    /* Скрываем пустую среднюю колонку во второй таблице */
    div[style*="overflow-x: auto"] table[width="880"] tbody tr td:nth-child(2) {
        display: none;
    }
}

