/*
Theme Name: Swell Lite Child
Author: Nel
Description: Дочерняя тема Swell Lite
Version: 1.0
Template: swell-lite

This is the child theme for Swell Lite theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.map{
    padding: 0;
    margin: 0;
}
/*отступы в записях после списка и перед 3-мя тремя колонками контекста или перед слайдером*/
ul + div.wp-block-columns, ul + div.wp-block-nextend-smartslider3 {
    margin-top: 30px;
}
/*отступы в страницах ГИДЫ между заголовком и тремя колонками контекста*/
.wp-block-column > :first-child {
    margin-top: 15px;
}

/*ссылка в ДЕГУСТАЦИИ*/
p > a.white-text {
   color: #ffffff !important; 
}
a, a:link, a:visited, strong.link a, div.organic-widgets-feature-list-item-text h6 a, h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
    color: #00264C;
}
a strong {
    color: #00264C;
    /*text-decoration: underline;*/
}
div.organic-widgets-feature-list-item-text h6 a {
    font-weight: 500;
}
a:focus, a:hover, a:active, strong.link a:hover, div.organic-widgets-feature-list-item-text h6 a:hover, a strong:hover, div.organic-profile-content h3 strong a:hover, h5 a:hover {
    color: #771525;
}
/*ссылки в редакторе*/
p > a {
   color: #00264C !important; 
}
p > a:hover, h3 a span:hover, .footer-widgets .title {
   color: #771525 !important; 
}
.headline {
    text-align: center;
    letter-spacing: 1px;
    color: #771525;
    font-size: 2.4em;
    font-weight: 400;
}
/*изменения цвета и шрифта на базовые*/

body, h1, h2, h3, h4, h5, h6, .article h1:first-child + p, .article > p:first-child, .article span + p, code, pre, .wp-block-code, .footer-widgets .title {
	font-family: Roboto, Georgia, Times, serif;
	font-weight: 400;
	 line-height: 1.7;
	 color: #000;
	}
/*уменьшение шрифта в профиле*/
.has-medium-font-size, div.organic-widgets-feature-list-item-text h6, {
    font-size: 1em;
}
.article h1:first-child + p {
    font-family: Roboto, Georgia, Times, serif;
    font-weight: 400;
    font-size: 1em;
}
/*увеличение шрифта заголовка профиля*/
div.organic-profile-content h3 strong span.profile-size{
    font-size: 1.3em;
}
/*увеличение тени профиля*/
.wp-block-organic-profile-block {
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
}

/*плавное изменение цвета при наведение курсора в навигации*/
.menu {
    transition: color .2s linear;
}

#navigation {
	font-family: Roboto, Georgia, Times, serif;
}
/*вторая панель навигации*/
#nav_menu-2, #nav_menu-3, #nav_menu-4, #nav_menu-5, #nav_menu-6 {
    font-size: 0.9em;
}

/*изменение цвета и шрифта на базовые в навигации*/
/*** SKIN ***/
#navigation .menu .current_page_item a,
#navigation .menu .current_page_ancestor a,
#navigation .menu .current-menu-item a,
#navigation .menu .current-cat a, #navigation .menu li .current_page_item a, #navigation .menu li .current_page_item a:hover,
#navigation .menu li .current-menu-item a, #navigation .menu li .current-menu-item a:hover,
#navigation .menu li .current-cat a, #navigation .menu li .current-cat a:hover, #navigation .menu li.current-menu-ancestor a,
#navigation .menu li.current_page_ancestor a,
#navigation .menu .current_page_item ul li a:hover,
#navigation .menu .current-menu-item ul li a:hover,
#navigation .menu .current-menu-ancestor ul li a:hover,
#navigation .menu .current_page_ancestor ul li a:hover,
#navigation .menu .current-menu-ancestor ul .current_page_item a,
#navigation .menu .current_page_ancestor ul .current-menu-item a,
#navigation .menu .current-cat ul li a:hover, .menu a:focus,
.menu a:hover,
.menu a:active,
.menu li li a:focus,
.menu li li a:hover,
.menu li li a:active, h4 a:hover  {
	color: #771525;
}
 
 /* КНОПКИ*/
button, button[type=submit], .button, a.button, #comments .reply a, .wp-block-button a,
#searchsubmit, #prevLink a, #prevLink a:link, #prevLink a:visited, #nextLink a, .wp-block-search__button,
#submit, input[type=submit], input#submit, input.button, #infinite-handle span button {
	background-color: #00264c;
	font-family: Roboto, Georgia, Times, serif;;
	color: rgba(255, 255, 255, .7);
}
button[type=submit]:hover, #comments .reply a:hover, .wp-block-button a:hover, .wp-block-search__button:hover, 
#searchsubmit:hover, #prevLink a:hover, #nextLink a:hover, input[type=submit]:hover,
#submit:hover, input#submit:hover, input.button:hover, #infinite-handle span button:hover {
	background-color: #771525;
}
/*КНОПКИ*/

/* переливающиеся кнопки с большой тенью, тень убирается и светлеют при наведении*/
  button, button[type=submit], .button, a.button, .wp-block-button a {
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  background-image: linear-gradient(0deg, #E6E7E5 0%, #00264c 50%, #E6E7E5 100%);
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .45);
  -webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, .45);
    -moz-box-shadow: 0 8px 15px rgba(0, 0, 0, .45);
  transition: .5s;
  -webkit-transition: .5s;
     -moz-transition: .5s;
      -ms-transition: .5s;
}
.button:hover, button:hover, a.button:hover, .wp-block-button a:hover, button[type=submit]:hover  {
  background: rgba(87, 86, 86, .3););
  box-shadow: 0 15px 20px rgba(87, 86, 86, .7););
  -webkit-box-shadow: 0 15px 20px (87, 86, 86, .7);
    -moz-box-shadow: 0 15px 20px (87, 86, 86, .7);
  color: #00264c;
  font-weight: 500;
  transform: translateY(-7px);
  -webkit-transform: translateY(-7px); 
-moz-transform: translateY(-7px);
}

/*** SKIN ***/

/*размер и тень логотипа*/
#logo img {
	max-height: 300px;
	-webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
}

/*убираем дату и автора в записях, а также убираем шапку-фото в записи*/
.organic-widgets-post-meta, .post-author, div.post-date p:last-child, .none {
 display: none;
}
/***ВИДЖЕТЫ***/
/*отступ в виджете ТЕКСТ*/
.organic-widget.organic-widget_widget_text {
    padding-top: 0px;
}

/*Новини*/
.organic-widget_widget_recent_entries ul, .organic-widget_widget_recent_comments ul, .organic-widget_widget_archive ul, .organic-widget_widget_categories ul, .organic-widget_widget_meta ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}  
/*ДЕГУСТАЦИИ - подложка на главной*/
.organic-widget_widget_organic_widgets_hero_section, .organic-widget_widget_organic_widgets_hero_section div.organic-widgets-aligner.organic-widgets-aligner-middle-left, .organic-widget_widget_organic_widgets_hero_section div.organic-widgets-content, .organic-widgets-hero-information {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: auto;
    -webkit-align-items: normal;
    -ms-flex-align: normal;
    align-items: normal;
    -webkit-align-self: normal;
    align-self: normal;
}
.organic-widget_widget_organic_widgets_hero_section {
    width: 99vw;
    height: 80vh;
}
.organic-widgets-section.organic-widgets-hero-section {
    min-height: 500px;
    padding: 0px;
}
.organic-widgets-section.organic-widgets-hero-section.organic-widgets-fixed-bg-img.ocw-bg-img.ocw-bg-dark, .organic-widgets-section.organic-widgets-hero-section.ocw-bg-img.ocw-bg-dark, .organic-widgets-aligner.organic-widgets-aligner-middle-left {
    padding: 0px;
    margin: 0px; 
    height: 100%;
    width: 99vw;
}

/*ДЕГУСТАЦИИ - ширина подложки*/
.organic-widgets-hero-information {
    width: 30vw;
    max-width: 1500px;
}
div.organic-widgets-hero-information div.organic-widgets-text {
    width: 100%;
    text-align: center;
}
/*ДЕГУСТАЦИЯ - текст на подложке*/
div.souvenir {
    display: flex; 
    -webkit-flex-flow: column; 
    flex-flow: column; 
    width: 100%; 
    height: 100%; 
    padding-top: 40px; 
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: rgba(0, 36, 78, 0.5);
}
p.souvenir-title {
    font-size: 2em; 
    color: #ffffff !important;
    font-weight: 300;
}
p.souvenir-link {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
/*ДЕГУСТАЦИЯ - ссылка на подложке*/
a.white-text, .organic-widget p.white-text {
    color: #ffffff; 
}
a.white-text:hover {
    color: rgba(113, 13, 40, 0.9);
}
h2 + p.white-text {
    margin: 0px 0px 150px 0px;
    line-height: 0px;
}
/*изменение заголовка в виджетах*/
.organic-widgets-title, h4.organic-widgets-default-title {
    color: #771525 !important;
    font-weight: 400;
}
/*СОЛЯНАЯ ШАХТА на главной*/
.saltmap {
    width: 100%;
    height: 80vh;
    background-image:url(https://saltway.in.ua/wp-content/uploads/2021/01/solyana-shahta1.jpg);
}
#saltmap {
    line-height: 25px;
}
/* картинка в таблице Organic Pricing Table*/
div.organic-widgets-pricing-table .organic-widgets-card .organic-widgets-profile-img {
    max-width: 100%;
} 
/*обводка вокруг карты Organic Featured Product*/
a.organic-widgets-featured-product-img img {
    border: 1px solid #00264C;
}
/*кнопки посередине возле карты Organic Featured Product*/
.organic-widgets-featured-product-information .organic-widgets-button-holder, .footer-widgets .title {
    text-align: center;
}

/*белый текст в всплывающей подсказке галереи и меняем цвет фона текста, добавляем ему прозрачность - Organic Portfolio  и слайдер*/
.organic-widget .ocw-bg-light.ocw-bg-img h6, .organic-widgets-content-slideshow-slide-content  {
    color: #ffffff;
}

/*меняем цвет фона текста, добавляем ему прозрачность - Organic Portfolio (Маршрут) и слайдер*/
.organic-widgets-portfolio-section .organic-widgets-portfolio-img h6, .footer-information {
    background-color: rgba(0, 38, 76, 0.4);
}

/*размер иконок в Organic Feature List (Гиды) и на главной*/
.organic-widgets-feature-list-item-icon img, img.gid-img{
    max-width: 300px;
    min-width: 100px;
}

/*увеличиваем расстояние между блоками галереи Organic Portfolio (Маршрут)*/
div.organic-widgets-masonry-wrapper.organic-widgets-column.organic-widgets-portfolio-item.organic-widgets-third {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 3px;
    width: 32%;
}
.gid {
    width: 95vw;
}
/*увеличение картинки в профиле и в классическом параграфе на весь экран*/
div.organic-profile-image figure, div.wp-block-organic-profile-block figure {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}
/*СЛАЙДЕР - убираем текст*/
div.organic-widgets-excerpt {
    display: none;
}
/*СЛАЙДЕР - убираем фон вокруг заголовка - делаем его прозрачным*/
.organic-widgets-content-slideshow-slide-content {
    background-color: rgba(255, 255, 255, 0);
}
/*СЛАЙДЕР - меняем цвет заголовка и делаем вокруг текста белую обводку*/
.organic-widgets-content-slideshow-slide-content h3 a{
    font-size: 1.9em;
    color: #771525;
    font-weight: 500;
    text-shadow: 1px 0 1px #fff, 
0 1px 1px #fff, 
-1px 0 1px #fff, 
0 -1px 1px #fff;
}
/*СЛАЙДЕР - помещаем текст по центру блока*/
.organic-widgets-content-slideshow-slide-content.organic-widgets-card h3 {
    margin: 0 auto;
    padding: 0;
}
/*СЛАЙДЕР - помещаем длинную фразу на одной строке*/
.organic-widgets-content, .organic-widgets-content-slideshow-slide-content.organic-widgets-card {
    min-width: 90%;
    text-align: center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    
    
}
/*СЛАЙДЕР - вертикальный размер*/
.organic-widgets-content-slideshow-section .slides li.post {
    min-height: 90vh;
}

/*СЛАЙДЕР - на всю ширину экрана*/
.organic-widgets-section.organic-widgets-content-slideshow-section {
    padding: 0 !important;
}


/*Маршруты - делаем обводку вокруг заголовка на страницах Маршрутов*/
h1.headline.img-headline {
    text-shadow: 1px 0 1px #771525, 
0 1px 1px #771525, 
-1px 0 1px #771525, 
0 -1px 1px #771525;
}
/*убираем подчеркивание в профиле*/
.organic-profile-content h3 strong a strong {
    text-decoration: none;
}

/* расстояние между виджетами в разделе ГИДЫ*/
.page-id-180 .organic-ocw-container .organic-widgets-section, .organic-ocw-container .organic-widgets-section, .gid-div {
    padding: 15px 25px 25px 25px;
}

/* выравнивание блоков в виджете Гиды*/
div.textwidget.custom-html-widget {
    -webkit-justify-content: center;     
    justify-content: center;       
}

/* расстояние между виджетами возле КАРТЫ на главной*/
.organic-widgets-section.organic-widgets-featured-product-section {
    padding: 50px 25px 50px 25px;
}
				
/* вертикальное выравнивание блоков ТУРЫ и ГИДЫ на главной*/
.organic-widgets-blog-posts-holder.organic-widgets-post-holder.organic-widgets-row.organic-widgets-masonry-container, .gid {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    height: auto !important;
}
div.organic-widgets-blog-posts-holder.organic-widgets-post-holder.organic-widgets-row.organic-widgets-masonry-container div.organic-widgets-masonry-wrapper.organic-widgets-column, .gid-img {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: static !important;
}

/*Футер*/
div.textwidget.custom-html-widget .fb-group {
    position: relative!important;
    max-width: 100vw; 
    width: 280px !important;
}

.fb_iframe_widget_fluid span {
    width: 280px !important;
}

.fb_iframe_widget span {
    left: 2rem;
}
.footer-content {
    max-width: 1180px;
    margin: 0px auto 0px;
    padding: 0;
    position: relative;
}

/*вывод последних записей с миниатюрами в футере*/ 
/*для общего блока записей*/
.popular_box {
    padding: 15px 0 15px 0;
}
.popular_box br {
  display: none;
}
.popular_box ul li{
display: block;
border-bottom: 1px solid #e9e9e9;
padding: 0.2rem 0 0.2rem 0;
height: 6.4rem;
font-size: 1.1rem;
font-weight: 400;
margin: 0 30px 0 30px;

}
/*для блока миниатюр*/
.popular_box ul li img {
width: auto;
height: 6rem;
border: 1px solid #ccc;
background: #fff;
padding: 2px;
float: left;
margin: 0 10px 0 0px;
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.2); /* ДЛЯ FIREFOX */
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); /* ДЛЯ SAFARI И CHROME */
box-shadow: 2px 2px 2px rgba(0,0,0,0.1); /* ПАРАМЕТРЫ ТЕНИ */
-moz-transition: border 0.3s 0.05s ease;
-o-transition: border 0.3s 0.05s ease;
-webkit-transition: border 0.3s 0.05s ease;
}
 
.popular_box li img:hover {
border:1px solid #888;
}
.footer-widget h6.title {
    font-size: 1.3em;
}


.footer {
    background: #EEEEEE;
}

.footer-box {
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
     width: 100%;
     align-items: center;
    justify-items: center; 
}
#custom_html-13 {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center; 
    
}

.footer-box .widget {
    width: 100%;   
    margin: 0 auto;
}

.footer-information, .footer-copyright a {
    color: #fff;
}
.footer-copyright a {
    text-decoration: underline;
}
.footer-disclaimer {
    font-size: 10px;
    clear: both;
}
.footer-copyright {
    font-size: 0.8em;
}
.footer .align-right {
    font-size: 0.9em;
    line-height: 1.8;
}
/*ФУТЕР - БЛОГ*/
#true_blog_widget-4{
    width: 80vw;
    max-width: 1180px;
}

.popular_box ul {
    display: grid;
    grid-template-columns: minmax(80%, 1180px);
}

.tour_box ul li{
    display: grid;
    grid-template-columns: minmax(7rem, 0.2fr) 1fr;
    gap: 2rem;
    align-items: center;
    
}
.blog_box ul li{
    display: grid;
    grid-template-columns: minmax(7rem, 0.2fr) 1fr .1fr .5fr;
    gap: 2rem;
    align-items: center;
    
}

/*Мобилка*/
@media handheld, only screen and (max-width: 767px){ 
/* слайдер*/
.menu a {
    margin: 17px 0px !important;
}
h3 {
    font-size: 1.33rem !important;
}
h2 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
}
/*ширина в мобильной версии таблицы Organic Pricing Table*/
.organic-widgets-pricing-table {
    max-width: 100% !important;
}
/*ДЕГУСТАЦИИ - подложка*/
.organic-widgets-hero-section .organic-widgets-content {
    padding: 0px !important;
}
.organic-widgets-hero-information{
    width: 48vw !important;
}
p.souvenir-title {
    font-size: 1.6rem;
}
p.footer-disclaimer-img {
    width: 150%;
}
p.footer-disclaimer-i {
    width: 206%;
    /*margin-left: 3%;*/
}
.tour_box ul li, .blog_box ul li{
    gap: 1rem;
}

.popular_box ul li{
font-size: 0.9rem;
}
#true_last_widget-9, #custom_html-13, #true_blog_widget-4 {
    width: 100% !important;
}
.footer-widget {
    padding: 0.8rem 0;
}
.popular_box ul li {
    margin: 0;
}
@media (max-width: 576px){
    .footer-box {
    display: grid;
     grid-template-columns: minmax(90%, 1fr);
     width: 100%;
}
}
@media (max-width: 375px){
    .blog_box ul li {
    display: grid;
    grid-template-columns: minmax(7rem, 0.2fr) 1fr 1fr;
    gap: 1rem;
    }
    .fb_iframe_widget span {
    left: 0.4rem;
}
    .a_blog__decor {
        display: none;
}
}
@media (max-width: 330px){
    
    .a_blog__date {
        display: none;
}
}