.wp-block-riad-alert.alert-danger { color: red; }
.wp-block-riad-alert.alert-success { color: green; }
.wp-block-riad-alert.alert-warning { color: orange; }


/* Хлебные крошки */

#path {font-size: 12px; text-decoration: none; margin-bottom: 15px;}
#path a {font-weight: 600; text-decoration: none;}
#path i {margin-right: 0px;}

@media screen and (max-device-width: 480px) { #path {display: none;} }


/* ---------- Поиск ---------- */

#searchform {position: relative;}

#header-search #s {
    width: 100%;
    padding: 5px 8px 5px 16px;
    border-radius: 50px;
    position: relative;
    z-index: 75;
    border: 3px solid #ccc;
    background: rgba(255, 255, 255, 0.5);;
}

#header-search #s:focus {background: #fff;}

#header-search .pic-sea {
    padding: 5px 10px 5px 0;
    right: 10%;
    border: none;
    background: none !important;
    position: absolute;
    color: #fff;
    z-index: 76;
    cursor: pointer;
}

#header-search .pic-sea i {
	color: #ccc !important;
	margin: 0;
	transition: color .3s ease;
    -o-transition: color 0.3s;
	-webkit-transition: color 0.3s ease 0s;
}

#header-search .pic-sea i:hover {color: #000 !important;}
#header-search .pic-sea:focus, #s:focus {outline: none;}

#header-search #s::-webkit-input-placeholder {color: #ccc;}
#header-search #s::-moz-placeholder          {color: #ccc;}
#header-search #s:-ms-input-placeholder      {color: #ccc;}

@media screen and (max-device-width: 800px) { #header-search {width: 26% !important;} }
@media screen and (max-device-width: 480px) { #header-search {width: 80% !important; margin: 0 10% !important; order: 11;} }

@media screen and (max-device-width: 375px) {
	#header-search #s {padding: 3px 8px 3px 16px;}
	#header-search .pic-sea {padding: 3px 0;} 
}



/* Контентная часть */

#content {position: relative; align-self: self-start;}

#after-content {background: whitesmoke; margin-top: 30px; border-top: 2px solid #50aaff;}

.title {margin-bottom: 30px; font-size: 2rem;}
.title i {color: #2195f3;}

.descript {margin-bottom: 30px;}

@media screen and (max-device-width: 800px) { #content {width: 100%; /*margin-bottom: 30px;*/} }



/* Страница, Запись */

#post-content {padding-left: 60px;}

.area {font-size: 1.1rem; text-align: left;}

.area a {text-decoration: underline;}
.area a:hover {text-decoration: none;}

.area h2, #post-content h2 {margin-bottom: 30px;}
.area h2 a, #post-content h2 a {color: #333;}

.area > h2:after, #post-content > h2:after {
    position: absolute;
    top: 50%;
    margin-top: 3px;
    content: '';
    border-bottom: 2px dotted #8bc34a;
    margin-left: 40px;
    width: 100%;
}

.area p {margin-bottom: 30px; line-height: 1.5;}

.area > img, .area > div {margin-bottom: 30px;}

.area > ul, .area > ol {display: inline-block; margin-bottom: 15px; width: 100%; padding-left: 20px;}
  
.area ul li, .area ol li {width: 100%; margin-bottom: 15px; list-style: none; position: relative; line-height: 1.5;}

.area ul li::before {
    content: "■";
    font-size: 0.8rem;
    position: absolute;
    left: -20px;
    top: 3px;
    color: #8bc34a;
}

.area table {border-spacing: 3px; margin-bottom: 30px;}

.area th {text-align: center; background: #50aaff; padding: 10px 12px; border: 3px solid #ccc; color: #fff; font-weight: 600;}

.area td {padding: 5px 12px; border: 3px solid #ccc;}

.area tr:nth-child(2n) {background: whitesmoke;}

.area table h2 {margin: 10px 0;}


blockquote {font-style: italic; border-left: 2px solid #80c7ff; padding-left: 30px; margin-bottom: 30px; color: #555;}
  
.alignleft {display: inline; float: left; margin-right: 30px; margin-bottom: 15px; max-width: 480px;}
.alignright {display: inline; float: right; margin-left: 30px; margin-bottom: 15px;}
.aligncenter {display: block; margin-right: auto; margin-left: auto; margin-bottom: 15px;}

.gallery {display: flex; flex-wrap: wrap; margin-left: -5px; margin-right: -5px;}
.gallery > * {width: 20%; padding: 0 5px; margin-bottom: 10px; position: relative;}
.gallery > * img {display: block;}

p.price {
    background: #4daf50;
    color: #fff;
    display: inline-block;
    padding: 7px 30px;
    border-radius: 5px;
    font-weight: 600;
}

a[data-fancybox="gallery"]:hover:before {top: 50%; opacity: 1;}

a[data-fancybox="gallery"]:before {
    position: absolute;
    top: 45%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    content: '\f002';
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    color: #79d67d;
    background: rgb(51 51 51 / 0.6);
    border-radius: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}


form.form-container {font-size: 1.2rem;}
form.form-container p {margin-bottom: 20px;}

form.form-container input, form.form-container textarea, form.form-container select {
	width: 100%; 
	margin-bottom: 25px; 
	font-size: 1.2rem; 
	border-radius: 5px; 
	padding: 15px 30px; 
	background: #f3f3f3;
	border: none;
}

form.form-container input.submit-button {width: 100%;}

.submit-container {margin-bottom: 15px; text-align: center;}

form.form-container input.submit-button {
    background: #ffde00;
    border: none;
    width: 50%;
    font-size: 1.4rem;
    box-shadow: 0px 3px 0px #FFC107;
    border-radius: 5px;
	cursor: pointer;
}

form.form-container input.submit-button:hover {background: #FFEB3B;}

@media screen and (max-device-width: 1280px) { img.alignleft, img.alignright {max-width: 400px;} }

@media screen and (max-device-width: 1024px) { #post-content {padding-left: 30px;} }

@media screen and (max-device-width: 800px) { #post-content {padding: 0 30px;} }

@media screen and (max-device-width: 480px) { 
	#post-content {box-shadow: none; padding: 0;} 
	.area table {font-size: 0.9rem; overflow-x: scroll; display: inline-block;} 
	.gallery > * {width: 25%;}
	img.alignleft, img.alignright {width: 100%;}
}

@media screen and (max-device-width: 380px) { 
	.gallery > * {width: 33.33%;}
}


/* Записи в архивах */

.posts-archive {display: -webkit-flex; display: flex; flex-wrap: wrap; margin-bottom: 30px; margin-left: -15px; margin-right: -15px;}

.hentry {position: relative; width: 50%; margin-bottom: 30px; padding: 0 15px;}

.hentry h3 {display: inline-block; font-size: 1.1rem; padding: 0 30px; margin-bottom: 30px;}
.hentry a {color: #333; text-align: center; display: block; border: 3px solid #eee;}

.hentry img {width: 100%; margin-bottom: 30px; display: block; border-bottom: 3px solid #eee;}

.hentry:hover a {color: #4daf50; border-color: #7cce7f; /*box-shadow: 0 20px 50px rgba(65,49,27,0.2);*/}

.hentry .line-cont {width: 100%;}

.hentry .excerpt {display: none;}	

.posts-archive.services > * a {display: flex; align-items: center; text-align: left; padding: 15px 30px; border: 2px solid #eee; border-radius: 5px;}
.posts-archive.services > * a:hover {border-color: #7cce7f;}
.posts-archive.services > * a img {max-width: 85px; margin-bottom: 0; border: 0;}
.posts-archive.services h3 {margin-bottom: 0; padding-right: 0;}

@media screen and (max-device-width: 800px) { 
	.posts-archive {margin-bottom: 0;} 
	.hentry {width: 50%; margin-bottom: 20px;} 
	a.post-image {margin-bottom: 10px;}
	.post-title {padding: 0 15px;}
}  

@media screen and (max-device-width: 480px) {
	.posts-archive {margin-left: -10px; margin-right: -10px;}
	.hentry {width: 100%; padding: 0 10px;}
	a.post-image {margin-bottom: 5px;}
	.posts-archive.services > * {margin-bottom: 15px;}
	.posts-archive.services > * a {padding: 10px 20px;}
}

@media screen and (max-device-width: 375px) { .hentry {width: 100%;} }	

@media screen and (max-device-width: 330px) { .posts-archive.services > * a img {max-width: 55px;} }


/* Блоки с подкатегориями */
  
#subcategory-archive {display: -webkit-flex; display: flex; flex-wrap: wrap; margin-bottom: 30px; margin-left: -15px; margin-right: -15px;}

.subcategory {position: relative; width: 33.33%; padding: 0 15px; margin-bottom: 30px; text-align: center;}
	
a.subcategory-image {display: inline-block; width: 100%; margin-bottom: 15px;}	
	
a.subcategory-image img {width: 100%;}	
	
.subcategory-title {display: inline-block; width: 100%; font-size: 1.1rem; padding: 0 30px; margin-bottom: 15px;}

.subcategory-title a {color: #4daf50;} 
	  
.subcategory:hover .subcategory-title a {color: #2196f3;}  
	
.subcategory ul {display: inline-block; padding: 0 15px 0 30px; margin-bottom: 15px; color: #2196f3;}	
.subcategory ul li {text-align: left;}
.subcategory ul li a {color: #000;}
.subcategory ul li a:hover {color: #2196f3;}
	
.subcategory .count {
    position: absolute;
    background: #afd615;
    width: 40px;
    line-height: 40px;
    text-align: center !important;
    top: 15px;
    left: 15px;
    border-radius: 50px;
}



@media screen and (max-device-width: 800px) { 
	#subcategory-archive {margin-bottom: 0;}
	.subcategory {width: 50%; margin-bottom: 20px;} 
	a.subcategory-image {margin-bottom: 10px;}
	.subcategory-title {padding: 0 15px;}
}  

@media screen and (max-device-width: 480px) {
	#subcategory-archive {margin-left: -10px; margin-right: -10px;} 
	.subcategory {padding: 0 10px;} 
}

@media screen and (max-device-width: 375px) { .subcategory {width: 100%; } }
	


/* Сайтбар, Виджеты */

aside {align-self: flex-start; min-width: 300px;}
	  
aside > div:last-child {margin-bottom: 0px;}

.widget:last-child {margin-bottom: 0;}


.banner {margin-bottom: 30px;}
.banner a {display: flex; align-items: center; background: #eee; padding: 30px; border-radius: 5px; border: 3px solid #eee;}
.banner a:hover {border: 3px solid #aaa;}

.banner i {font-size: 2rem; margin-right: 5%; width: 20%; text-align: center; color: #aaa;}
.banner p {width: 75%;}


.banner.water a {background: #b9e9ff;}
.banner.water a:hover {border: 3px solid #03A9F4;}
.banner.water i {color: #03A9F4;}

.banner.electro a {background: #fbf19d;}
.banner.electro a:hover {border: 3px solid #FFC107;}
.banner.electro i {color: #FFC107;}

.widget.objects > * {padding: 30px; border: 3px solid #eee; border-radius: 5px;}
.widget.objects i {color: #4daf50;}
.widget.objects a:hover {color: #4daf50;}
.widget.objects ul {padding: 0 0 0 30px; display: inline-block; text-align: left;}
.widget.objects ul li {margin-bottom: 10px;}
.widget.objects ul li:last-child {margin-bottom: 0;}

.widget.left-menu {margin-bottom: 30px;}
.left-menu.widget > * {padding: 30px; border: 3px solid #eee; border-radius: 5px;}
.left-menu.widget li {display: block; margin-bottom: 15px;}
.left-menu.widget li:last-child {margin-bottom: 0;}
.left-menu.widget li a {
    display: block;
    background: #eee;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
	border: 3px solid #eee;
}
.left-menu.widget li a:hover {border: 3px solid #ccc;}

  
.widget a {color: #333;}  

.headwidget, .headwidget a {text-align: center; position: relative; margin-bottom: 30px;}

.headwidget:after {
    content: "";
    width: 60px;
    margin-left: -30px;
    height: 2px;
    background: #2195f3;
    position: absolute;
    bottom: -5px;
    left: 50%;
}




@media screen and (max-device-width:1024px) {
	.widget > div, .widget > form  {padding: 5px;}
	.widget.objects ul {padding: 0 0 0 20px;}
	.banner a {padding: 20px 10px;}
	.left-menu.widget > * {padding: 15px;}
	.objects i {display: none;}
}

@media screen and (max-device-width: 800px) { 
	aside {order: 11 !important; display: flex; flex-wrap: wrap; width: 100% !important;}
	aside > * {width: 50%;}
	.widget {padding: 15px;}
	.widget.objects {display: none;}
}

@media screen and (max-device-width: 480px) { .widget {width: 100%; padding: 0;} }



/* Постраничная навигация, Предыдущая-Следующая записи */

.nav {width: 100%; display: -webkit-flex; display: flex; margin-bottom: 30px; text-align: center; justify-content: center;}

nav.navigation.pagination {text-align: center;}

.nav-links {display: inline-block; overflow: hidden;}

.nav-links a, .page-numbers.current, .page-numbers.dots {
    float: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    min-width: 42px;
    line-height: 42px;
    background: #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transition: color .2s ease, background .2s ease, border-color .2s ease;
    -moz-transition: color .2s ease, background .2s ease, border-color .2s ease;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
	
.page-numbers.current {
    float: left;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    padding: 0;
    text-align: center;
    background: #03a9f4;
    color: #fff;
    border-color: #03a9f4;
}		

.nav-links a:last-child {border-right: 1px solid #fff;}
	
.prev.page-numbers, .next.page-numbers {padding: 0 11px;}

.nav > a p {display: table-cell; vertical-align: middle;}

.nav > a {display: table; width: 100%; padding: 10px 0;}

#nav-left, #nav-right {width: 49%; background: #fff; border: 3px solid #fff; border-radius: 3px;}

#nav-right {margin-left: auto;}

#nav-left:hover, #nav-right:hover {border: 3px solid #50aaff;}

.nav img {border-radius: 25px;}
.nav i {color: #50AAFF; padding: 0 10px;}

@media screen and (max-device-width: 800px) { #nav-left, #nav-right {width: 100%; margin: 5px 0;} }



/* Результаты поиска */

#search-list {padding-left: 0;}
.list a {display: -webkit-flex; display: flex; align-items: center; margin-bottom: 15px; color: #111; text-decoration: none; border: 3px solid #eee;}
.list a:hover {border: 3px solid #2195f3;}
.list img {max-width: 50px; margin-right: 25px; display: block;} 
.list p {margin-bottom: 0;}
.list::before {display: none;}
  
@media screen and (max-device-width: 375px) { .list img {align-self: start;} }



/* Подвал */

footer {position: relative; z-index: 66; margin-top: 30px;}

#footer-foot {padding: 45px 0; background: #4CAF50; border-top: 1px solid #eee; color: #fff; font-size: 0.9rem;}

#footer-foot a {color: #fff;}
#footer-foot a:hover {text-decoration: underline;}

#footer-foot #footer-info {font-size: 0.8rem;}

#footer-head {background: #2196F3; padding: 7px 0;}

#footmenu > div {/*align-self: flex-start;*/ margin-bottom: 45px;}
#footmenu > div div {display: inline-block; text-align: left;}
  
#footmenu > div p {font-size: 1rem; width: 100%; margin-bottom: 15px;}

#footmenu > div i {color: #ffeb3b;}

#footmenu > div ul {display: inline-block; padding-left: 20px;}
#footmenu > div li {list-style: none; margin-bottom: 7px; text-align: left;}
#footmenu > div li:last-child {margin-bottom: 0;}

#footmenu > div li a:before {
    content: "\f105";
	font-family: "Font Awesome 5 Pro";
	font-weight: 600;
    color: #ffeb3b;
    display: inline-block;
    margin-left: -20px;
    width: 20px;
	font-weight: 600;
}

#footmenu > div div.social {font-size: 1.8rem; display: flex; justify-content: center;}

@media screen and (max-device-width: 800px) {
	#footmenu {-webkit-flex-wrap: wrap; flex-wrap: wrap;}
	#footmenu > div {width: 50%;}
}

@media screen and (max-device-width: 480px) { #footmenu > div {width: 100%; text-align: center;} }


/* плавное изменение прозрачности  placeholder-а при фокусе */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder, textarea::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder, textarea:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder        {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-moz-placeholder, textarea:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}

/* Текст предназначен только для чтения с экрана */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px); position: absolute !important;	height: 1px; width: 1px; overflow: hidden;}




.call-item {position: fixed; z-index: 99; width: 90px; right: 5%; bottom: 50%;}

.call-item a {
    background: #8BC34A;
	border: 3px solid #8BC34A;
    color: #fff;
    text-decoration: none;
    position: fixed;
    z-index: 999;
    height: 90px;
    width: 90px;
    text-align: center;
    border-radius: 80px;
    bottom: 50%;
	cursor: pointer;
}

.call-item a:hover {background: #4daf50; color: #fff;}

.call-item i {position: absolute; right: 25px; top: 18px; font-size: 1.6rem;}

.call-item small {
    position: absolute;
    line-height: 14px;
    bottom: 12px;
    right: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
}

.dot {
  height: 2px;
  width: 2px;
  border-radius: 100%;
  position: absolute;
  z-index: 9;
  animation: sploosh 3s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: transparent;
  left: 45px;
  bottom: 45px;
}

@keyframes sploosh {
  0% {
    box-shadow: 0 0 0 0px rgba(77, 175, 80, 0.7);
    background: rgba(77, 175, 80, 0.7);
  }
  100% {
    box-shadow: 0 0 0 100px rgba(77, 175, 80, 0);
    background: rgba(77, 175, 80, 0);
  }
}




#Go_Top {
	position: fixed;
	right: 5%;
	bottom: -70px;
	z-index: 291; 
	display: block;
    text-align: center;
    font-size: 25px;
    line-height: 50px;
	width: 50px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
	border: 3px solid #eee;
    color: #000;
	cursor: pointer;
}
body.compensate-for-scrollbar #Go_Top, body.windows-active #Go_Top {display: none;}	

#Go_Top i {margin: 0;}
#Go_Top:hover {background: #111; color: #fff;}
.up {bottom: 70px !important;}

@media (max-width:1024px) { #Go_Top {right: 0;}	.up {bottom: 0px !important;} }

@media (max-width:480px) { 
	.call-item {right: 50%; margin-right: -45px; bottom: 30px}
	.call-item a {bottom: 30px;}
}