/*
Theme Name: Дочерняя тема Endolf
Template: Endolf
*/

@import url("../Endolf/style.css");
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i&display=swap');

.members tr:nth-child(odd) {background: #EEE;}
.members tr td {padding:5px;}

body, button, input, select, textarea {
    font-family: 'Roboto',sans-serif;
}
body.custom-background {
    background-image: url("https://toursoyuz.by/wp-content/uploads/2019/06/site_bg.png") !important;
    background-position: left 200px !important;
    background-size: auto !important;
    background-repeat: repeat-x !important;
    background-attachment: scroll !important;
    background-color: #fff !important;
}
body .body-wrapper {
    margin: 10px auto 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto',sans-serif;;
}
.site-footer {
    background: #f8f6f6 url("/wp-content/themes/Endolf-child/img/foot_bg.jpg") no-repeat center top;
    color: #565555;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    max-width: 100%;
    margin: 0 auto;
    font-size: 12px;
}
.site-footer .container {
    padding: 0;
    margin: 10px auto 50px;
}
.site-footer p {
    margin-bottom: 15px;
}
.phone {
    font-weight: bold;
    font-size: 18px;
}
.copy {
    margin-top: 26px;
}
.soc_icon {
    margin: 23px 5px 0;
    display: inline-block;
}
.foot_logo {
    text-align: right;
    margin-top: 7px;
}
.foot_logo img {
    margin-bottom: 32px;
}
.search-right .search-form input.search-submit {
    border-radius: 0;
    text-shadow: none;
    border: none;
    background: #fe0000;
    background: -moz-linear-gradient(left, #fe0000 0%, #1b4ab5 100%);
    background: -webkit-linear-gradient(left, #fe0000 0%,#1b4ab5 100%);
    background: linear-gradient(to right, #fe0000 0%,#1b4ab5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe0000', endColorstr='#1b4ab5',GradientType=1 );
    text-transform: uppercase;
    font-size: 12px;
    padding: .7em 1em .6em;
}
.home .site-content .fab-pagination a {
    background: #fe0000;
    background: -moz-linear-gradient(left, #fe0000 0%, #1b4ab5 100%);
    background: -webkit-linear-gradient(left, #fe0000 0%,#1b4ab5 100%);
    background: linear-gradient(to right, #fe0000 0%,#1b4ab5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe0000', endColorstr='#1b4ab5',GradientType=1 );
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    width: auto;
    padding: 0 35px;
}
.home .fab-pagination {
    text-align: center;
}
input[type="search"]{
    color: #666;
    border: none;
    border-radius: 0;
}
.head_soc {
    margin-top: 30px;
    padding: 0;
    text-align: right;
}
.head_soc .soc_icon {
    margin: 23px 0 0;
}
.nav > li > a {
    padding: 10px 0;
}
.nav.navbar-nav {
    border-bottom: 2px solid;
    -webkit-border-image: -webkit-linear-gradient(45deg, #fe0000, #1b4ab5) 1;
    -o-border-image: -o-linear-gradient(45deg, #fe0000, #1b4ab5) 1;
    border-image: linear-gradient(45deg, #fe0000, #1b4ab5) 1;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.navbar-default {
    background-color: transparent;
    border: none;
}
.navbar-default .navbar-collapse {
    border: none;
}
.navbar-default .navbar-nav > li > a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #7c2a68;
    background: transparent;
}
.site-content h3.section-title {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 20px 0px 5px 0px;
    padding: 0px 0px 0px 0px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
}
.site-content h3.section-title {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.site-content h3.section-title span {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.site-content h3.section-title.news {
    margin: 20px 0px 11px 0px;
}
/*
.entry-content p img {
	width:100%;
}

.entry-content p img.fix {
	width:auto;
}
*/

#secondary #neliofp_widget-2 h3.widget-title, #secondary .widget.widget_categories h3.widget-title,
#secondary .widget.widget_execphp h3.widget-title,
#secondary .widget.widget_custom_html h3.widget-title {
     -webkit-box-shadow: none;
     box-shadow: none;
     margin: 20px 0px 21px 0px;
     padding: 0px 0px 0px 0px;
     font-size: 22px;
     font-weight: 600;
     text-transform: uppercase;
     color: #000;
 }
#secondary #neliofp_widget-2 h3.widget-title  {
    color: #fe0000;
}
#secondary  #neliofp_widget-2 h3.widget-title span, #secondary .widget.widget_categories h3.widget-title span,
#secondary .widget.widget_execphp h3.widget-title span,
#secondary .widget.widget_custom_html h3.widget-title span {
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-bottom: 0;
}
#slider-box {
    margin-bottom: 10px;
}

#slider-box .flex-caption {
	position:relative !important;
}

#slider-box .flex-caption h2 {
	margin:0px !important;
	padding:0px !important;
}

#slider-box .flex-caption h2 a {
	color:#4c5fc2;
	font-size:26px;
}

#neliofp_widget-2 {
    border-bottom: 1px solid #adb2b2;
}
.widget_neliofp_widget article .featured-image {
    float: left;
    width: 170px;
}
.widget_neliofp_widget article .featured-image a, .widget_neliofp_widget article .featured-image a img {
    margin: 0;
    padding: 0;
    width: 170px;
    height: 115px;
}
.widget_neliofp_widget article.includes-feat-image .entry-title {
    padding: 5px 5px 5px 195px;
    height: 115px;
}
.widget_neliofp_widget article.includes-feat-image:hover .entry-title, .widget_neliofp_widget article.includes-feat-image:hover .featured_post_link {
    background: #576b9a;
    color: #fff;
}
.widget_neliofp_widget .entry-title .more_link_side a {
    display: block;
    color: #4e79dc;
}
.widget_neliofp_widget .entry-title .more_link_side span {
    text-decoration: underline;
    font-size: 12px;
}
.widget_neliofp_widget .entry-title .more_link_side a:hover span {
    text-decoration: none;
}

.featured_post_link {
    color: #565555;
    text-decoration: none;
    font-size: 14px;
    line-height: 16px;
}
.featured_post_link:hover, .featured_post_link:visited {
    color: #7c2a68;
}
.widget_neliofp_widget article.includes-feat-image {
    margin: 0px 0px 20px 0px;
    padding-bottom: 8px;
	position: relative;
}
.latest-entries .latest-entry {
    padding-right: 8px;
    padding-left: 8px;
}
.latest-entry-content {
    padding: 15px;
}
.time_post {
    color: #b0b0b1;
    font-size: 12px;
}
.site-content .latest-entries .latest-entry .latest-entry-content h2 {
    font-size: 18px;
    margin: 7px 0;
}
.site-content .latest-entries .latest-entry .latest-entry-content h2 a {
    color: #565555;
    text-decoration: none;
}
.latest-entry-content .entry-meta a {
    color: #565555;
}
.latest-entry-content p {
    margin-bottom: 0.8em;
}
.latest-entry:nth-child(1) .latest-entry-content, .latest-entry:nth-child(4) .latest-entry-content, .latest-entry:nth-child(5) .latest-entry-content, .latest-entry:nth-child(8) .latest-entry-content,
.site-content .latest-entry:nth-child(1) .latest-entry-content h2 a, .site-content .latest-entry:nth-child(4) .latest-entry-content h2 a, .site-content .latest-entry:nth-child(5) .latest-entry-content h2 a, .site-content .latest-entry:nth-child(8) .latest-entry-content h2 a,
.latest-entry:nth-child(1) .latest-entry-content .entry-meta a, .latest-entry:nth-child(4) .latest-entry-content .entry-meta a, .latest-entry:nth-child(5) .latest-entry-content .entry-meta a, .latest-entry:nth-child(8) .latest-entry-content .entry-meta a {
    background: #4c5fc2;
    color: #fff;
}
.flexslider .time_post, .flexslider .entry-meta {
    margin: 0px;
    padding: 0px;
}
.flexslider .entry-meta a {
    color: #666;
    font-size: 12px;
}

.flexslider .flex-caption {
	padding: 10px 0px;
}

.flexslider h2 a, .first-promo h2 a, .rest-promo h2 a{
    text-decoration: none;
}
.col-md-8.slide_box {
    padding-left: 8px;
    padding-right: 10px;
}
.slide_box_second .first-promo{
    margin-bottom: 2px;
	padding-bottom:90px;
}
.more_link_side {
	position: absolute;
	bottom: 16px;
	left: 195px;
}
.col-md-4.slide_box_second {
    padding-left: 1px;
}
.slide_box_second .rest-promo:nth-child(2) {
    padding-left: 15px;
    padding-right: 1px;
}
.slide_box_second .rest-promo:nth-child(3) {
    padding-left: 1px;
    padding-right: 15px;
}
.slide_box_second .rest-promo h2 {
    position: initial;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    background: #4c5fc2;
    padding: 0 10px 10px;
    height: 76px;
}
.site-header .search-right {
    float: none;
}
.site-header .search-right .search-form .search-field {
    width: 100%;
    background: #ebeeee;
    outline: none;
}
.relpost-block-single .time_post {
    margin-top: 5px;
    display: block;
}
.relpost-thumb-container .relpost-block-container {
    margin-bottom: 15px;
}
.search-form label.col-md-10 {
    padding-right: 0;
}
.navbar-default .navbar-toggle {
    width: 100%;
}
.navbar-toggle {
    position: initial;
    float: none;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 0;
    margin-bottom: 8px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-left: 8px;
}
.foot_second {
    margin-top: 19px;
}
.navbar-nav {
     float: none;
}
@media (max-width: 1000px) {
    .nav.navbar-nav {
        flex-direction: column;
    }
	.flex-active-slide .flex-caption {
	display: block;
}
    .navbar-header {
        float: none;
        margin: 0 auto;
        width: 100%;
    }
    .featured_post_link {
        font-size: 12px;
        line-height: 14px;
    }
    .foot_second {
        margin-top: 0;
    }

}
@media (max-width: 768px) {
    .navbar-nav {
        margin: 0;
    }
    .col-md-8.slide_box, .col-md-4.slide_box_second {
        padding-left: 15px;
        padding-right: 15px;
    }
    .site-footer {
        text-align: center;
    }
    .foot_logo {
        text-align: center;
        margin-top: 7px;
    }
    .foot_logo img {
        display: block;
        margin: 0 auto 7px;
    }
    .relpost-thumb-wrapper {
        display: none;
    }

}
.relpost-block-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.relpost-block-single {
    width: 25%;
}
.relpost-block-single .relpost-block-single-image {
    margin: 0 auto;
}
.flex-direction-nav a.flex-next::before {
    content: ">>";
    font-weight: bold;
    font-family: "Roboto";
}
.flex-direction-nav a::before {
    content: "<<";
    font-weight: bold;
    font-family: "Roboto";
}
.az-letters ul.az-links li, .a-z-listing-widget .az-letters ul.az-links li, .a-z-listing-widget.widget .az-letters ul.az-links li {
    list-style: none;
    width: 2em;
    height: 2em;
    box-sizing: border-box;
    margin: 0 0 0.6em;
    border: 2px solid #e5e5e5;
    background: #f5f5f5;
    color: #adadad;
}
#secondary .widget ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.az-letters ul {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#secondary .widget .letter-section ul li {
    display: inline-block;
    margin-right: 6px;
}
.letter-section ul li a {
    font-size: 14px;
    color: 565555;
}
.letter-title {
    margin: 13px 0 0;
}
.letter-title span {
    color: #565555;
    font-size: 22px;
    font-weight: bold;
}
.first-promo .time_post {
    position: absolute;
    bottom: 10px;
    right: 25px;
    left: 25px;
}
.slide_box_second .first-promo h2 {
	bottom: 20px;
	color:#000;
}

.slide_box_second .first-promo h2 a {
	color:#000;
}

.rest-promo .time_post {
    background: #4c5fc2;
    padding: 5px 10px 0;
}
.partner_box {
    display: flex;
    flex-flow: row wrap;
    text-align: center;
}
#secondary .widget ul.partner_box li {
    width: 50%;
    padding: 0 6px;
}
@media (max-width: 450px) {
	.mylogo img {
		width: 100% !important;
	}
	.search-form label.col-md-10 {
		padding-left: 0;
	}
	.navbar-toggle {
		margin-left: 0;
	}
}

.central-banner {
	text-align:center;
}

@media (max-width: 990px) {
	.central-banner {
		margin-top:30px;
	}
}
/*
.entry-content p img.original {
    height: auto !important;
    width: auto !important;
}
*/