/*
Theme Name: Madjordom
Theme URI: https://madjordom.ru/madjordom-theme-wordpress/
Author: the Madjordom Domen
Author URI: https://madjordom.ru/
Description: Responsive multi Landing page theme for you bussiness: hotel, booking, tour, product, studio, service, portfolio. Minimal and simple theme based on Twitter Bootstrap 4. Options: Simple Forms, slider, logo, SEO, popup combacker window, colors. Compatible Browsers: IE9, IE10, IE11, Firefox, Safari, Opera, Chrome.
Version: 1.1.5
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-colors, custom-header, custom-menu, custom-logo, theme-options, translation-ready, e-commerce, portfolio, flexible-header
Text Domain: madjordom
Domain Path: /languages
*/
/* The target CSS ID with :before pseudo class */

/* Социалка от Яндекса */

/* 1 */
.ya-share2__container_size_m .ya-share2__icon {
    height: 32px !important; /* 24px */
    width:  32px !important; /* 24px */
    background-size: 32px 32px !important; /* Увеличиваем кнопки, по-умолчанию: 24px 24px */
}

.ya-share2__item {
	padding-bottom:5px;
}

/* 2 */
.ya-share2__container_size_m .ya-share2__counter {
    font-size: 14px !important; /* Увеличиваем шрифт счетчиков, по-умолчанию: 12px */
    padding: 8px 10px 0 10px !important; /* 5px 8px 0 8px */
}

/* 3 */
.ya-share2__container_size_m .ya-share2__icon_more:before {
    line-height: 22px !important; /* 13px */
}
.ya-share2__container_size_m .ya-share2__popup_direction_bottom {
    top: 36px !important; /* 28px */
}

.offset:before { 
  display: block; 
  content: ""; 
  height: 100px;      /* Give height of your fixed element */
  margin-top: -100px; /* Give negative margin of your fixed element */   
  visibility: hidden; 
}

.wp-block-embed figcaption {
	text-align : center;
    float: none;
    clear: both;
    width: 100%;
    position: relative;

	    text-align: center;
}

.wp-block-embed-youtube{
text-align : center;
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
	}
.wp-block-embed-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
max-width: 730px;
max-height: 384px;
}
.modal-backdrop.show {
    opacity: .8;
}

/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft
{
float: left;
}
 
.alignright
{
float: right;
}
 
.wp-caption, p img {
	padding: .25rem;
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: .25rem;
	-moz-border-radius: .25rem;
	-khtml-border-radius: .25rem;
	-webkit-border-radius: .25rem;
    transition: all .2s ease-in-out;
    max-width: 100%;
    height: auto;
	text-align: center;
	margin-bottom: 1.2rem;
}
 
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
 
.wp-caption p.wp-caption-text {
font-size: 14px;
line-height: 17px;
padding: 5px 4px;
margin: 0;
}
/* End captions */

/* Sidebar */

#sidebar {

left: auto;
  right:0;
  flex-shrink: 0;
  flex-grow: 1;

max-height: calc(100vh - 9rem);
      overflow-y: auto;
}

#sidebar::-webkit-scrollbar { 
    display: none; 
}

.sticky-top {
    top: 100px;
}

.sidebar {
  margin-top: 20px
}
.sidebar section {
  margin-bottom: 40px
}
.sidebar ul,
.sidebar ol {
  list-style-type: none;
  padding: 0
}
.sidebar li {
  margin: 10px 0
}








.admin-bar .fixed-top {
    top: 32px;
  }

.navbar-collapse {
	margin-left:25px;
}

.form-control-danger, .form-control-success, .form-control-warning {
    padding-right: 0.25rem;
	font-size: small;
}



.navbar {} /*flex-wrap: nowrap!important;*/
.madjordom-order-form, .madjordom-payment-form {
	-webkit-box-shadow: 0 9px 64px -7px rgba(0,0,0,.35);
    -moz-box-shadow: 0 9px 64px -7px rgba(0,0,0,.35);
    box-shadow: 0 9px 64px -7px rgba(0,0,0,.35);
	margin-bottom: 2rem;
	}

.breadcrumb {opacity: .8;}

.policy ol {

list-style: none; 

counter-reset: li;
margin: 20px 0;
}
.policy li:before {

counter-increment: li; 

content: counters(li,".") ". "; 
}






.bg-inverse {

}

.carousel-item .container {padding:0 !important;}
.list-group-item {
	padding: .45rem 1.25rem;
}

a.nounderline {text-decoration: none}

iframe, object, embed {
    max-width: 100%;
}

.container {

}

.header {
	webkit-box-shadow: 0px 13px 30px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 13px 30px -12px rgba(0,0,0,0.75);
    box-shadow: 0px 13px 30px -12px rgba(0,0,0,0.75);
}



.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #636c72;
    content: "/";
}

.divider {
    margin: 2rem 0;
}


.footer {
	border-top: 1px solid #dedede;
	padding-top: 10px;
	margin-top: 20px;
	padding-right: 15px;
    padding-left: 15px;
}


.card img:hover {
	-webkit-filter: saturate(200%); filter: saturate(200%);
	
}


	#carouselRooms .list-inline {
		white-space:nowrap;
		overflow:hidden;
		margin: 25px 0;
	}

	#carouselRooms .carousel-indicators {
		position: static;
		left: initial;
		width: initial;
		margin-left: initial;
	}

	#carouselRooms .carousel-indicators > li {
		width: initial;
		height: initial;
		text-indent: initial;
		    max-width: 100px;
	}

	#carouselRooms .carousel-indicators > li.active img {
		opacity: 0.7;
	}
	
	#carouselRooms .carousel-indicators > li:hover img {
		-webkit-filter: saturate(200%); filter: saturate(200%);
	}



.card-deck .card {
    margin-left: 15px;
    margin-right: 15px;
}

.card-deck .card:not(:last-child) {
    margin-right: 15px;
}

.card-deck .card:not(:first-child) {
    margin-left: 15px;
}





@media (max-width: 575px) {

	h1 {font-size: 1.7rem;}
	/*.madjordom-site-name {margin: 0 auto;}*/
	/*.madjordom-main-phone {margin: 0 auto; font-size: 1rem;}*/
	.madjordom-main-phone {font-size: .9rem !important;}
	.madjordom-page-title {font-size: 1.2rem;}
	.madjordom-page-description{font-size: 1rem}
	.h3, h3 {
		font-size: 1.50rem;
	}
	.h5, h5 {font-size: 1.1rem;}
	body {padding-top: 4rem;}
	.navbar-brand {font-size:1rem;}
	.navbar-toggler-right {top: 2rem;}
	.breadcrumb {display: none;}
	.admin-bar .fixed-top {
	  top: 46px;
	}
	
	.card-deck .card {}

}

@media (min-width: 576px) and (max-width: 767px) {

	h1 {font-size: 2rem;}
	h2 {font-size: 1.5rem;}
	body {padding-top: 4rem;}
	.madjordom-site-name {}
	.main-phone {font-size: 1.2rem;}
	.navbar-toggler-right {top: 2rem;}
	.breadcrumb {display: none;}
	.admin-bar .fixed-top {
	  top: 46px;
	}
	.card-columns {column-count: 2;}
}

@media (min-width: 768px) and (max-width: 991px) {
	body {padding-top: 4rem;}
	.madjordom-site-name {}
	.main-phone {font-size: 1.2rem;}
	.navbar-toggler-right {top: 2rem;}
	.breadcrumb {display: none;}
	.card-columns {column-count: 2;}
	.card-deck .card {max-width: 330px;}
	
}

@media (min-width: 992px) and (max-width: 1199px) {
	body {padding-top: 4rem;}
	.madjordom-site-name {}
	.main-phone {font-size: 1.2rem;}
	.breadcrumb {display: block;}
	.form-submit-button {font-size: 0.9rem;}
	.card-columns {column-count: 3;}
	.card-deck {column-count: 3;}
	.col-lg-8 .card-columns  {column-count: 2;}
	.card-deck .card {max-width: 290px;}
}

@media (min-width: 1200px) {
	body {padding-top: 4rem;}
	
	.main-phone {}
	.breadcrumb {display: block;}
	.card-columns {column-count: 3;}
	.card-deck .card {max-width: 350px;}
}
