.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;} }



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

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

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

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

.descript {margin-bottom: 30px;}

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



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

#post-content {padding: 50px 300px;}

.main-bg {
    height: 400px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: -30px;
}

.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:after, #post-content > h2:after {
    position: absolute;
    top: 50%;
    margin-top: 3px;
    content: '';
    height: 1px;
    background: #87d4d8;
    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: #2196f3;
}

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

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

.area td {padding: 5px 12px; border: 1px 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;}
.alignright {display: inline; float: right; margin-left: 30px; margin-bottom: 15px;}
.aligncenter {display: block; margin-right: auto; margin-left: auto; margin-bottom: 15px;}

.aligncenter img {margin: 0 auto; display: block;}

/*@media screen and (min-device-height: 800px) { #post-content {min-height: 60vh;} }*/

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

@media screen and (max-device-width: 1024px) { .main-bg {height: 300px;} }

@media screen and (max-device-width: 480px) { 
	#post-content {padding: 15px 0; box-shadow: none;} 
	.area table {font-size: 0.9rem; overflow-x: scroll; display: inline-block;} 
}



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

#subcategorys {display: flex; justify-content: center; margin-bottom: 30px; align-items: center;}
#subcategorys > * {display: block; margin: 0 30px; text-align: center;}


.grid {margin: 0 -15px 50px;}

.grid > * {width: 33.33%; height: 500px; padding: 15px;}

.grid > *.doubleh {height: 1000px;}
.grid > *.doublew {width: 66.66%;}

.grid-sizer {width: 33.33%;}

.grid > * a {
    background: #15c0ca;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff;
    padding: 50px 100px;
    font-size: 2rem;
	border-radius: 10px;
    overflow: hidden;
}

.grid > * a div {width: 100%;}

.grid > * a:before {
    background: rgb(32 90 150 / 0.4);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.grid > *:hover a:before {
    background: rgb(32 90 150 / 0.8);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.grid > * a p {position: relative;}


.releases .hentry {border-bottom: 1px solid #eee; padding: 30px 0;}
.releases .hentry:last-child {border: none;}


p.postcat {
    font-size: 1.4rem;
    border-bottom: 2px solid white;
    display: inline-block;
    margin-bottom: 15px;
}

p.date {
    position: absolute !important;
    left: 100px;
    bottom: 30px;
    font-size: 1rem;
}


@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 {padding: 0 10px;}
	a.post-image {margin-bottom: 5px;}
}

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



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

.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: #15c0ca;
    color: #fff;
    border-color: #15c0ca;
}		

.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: 1px solid #fff; border-radius: 3px;}

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

#nav-left:hover, #nav-right:hover {border: 1px 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; text-align: left;}
#search-list > * {list-style: none;}
#count-search {margin-bottom: 50px;}
.list a {display: -webkit-flex; display: flex; align-items: center; margin-bottom: 15px; color: #111; text-decoration: none; border: 1px solid #eee;}
.list a:hover {border: 1px solid #205a96;}
.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;}

#footer-foot {padding: 30px 0; background: #fff; color: #333; font-size: 0.9rem; border: 1px solid #eee; border-bottom: none; border-radius: 10px 10px 0 0; text-align: center; margin-top: 30px;}

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

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

#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: #2196F3;}

#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 Free";
	font-weight: 600;
    color: #fff;
    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%;} }

/* ScrolBar */
/*::-webkit-scrollbar {width: 10px;}
::-webkit-scrollbar-thumb {background: #ddd; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);}
::-webkit-scrollbar-thumb:hover {background: #B9B9B9;}
::-webkit-scrollbar-thumb:window-inactive {background: #999;}*/

/* плавное изменение прозрачности  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;}


#Go_Top {
    position: fixed;
    right: 0;
    bottom: -100px;
    z-index: 291;
    display: block;
    text-align: center;
    font-size: 1.5rem;
    line-height: 60px;
    width: 60px;
    background: #0099a7;
    color: #fff;
    cursor: pointer;
	border-radius: 5px 0 0 0;
}
body.compensate-for-scrollbar #Go_Top, body.windows-active #Go_Top {display: none;}	

#Go_Top i {margin: 0;}
#Go_Top:hover {background: #333; color: #fff;}
#Go_Top.up {bottom: 0px;}

#Go_Top:hover i {
    -webkit-animation: animArrow 1s infinite;
    animation: animArrow 1s infinite;
}

@keyframes animArrow {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

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


#glinks {
    border-left: 1px solid #eee;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#glinks a {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 8px;
    height: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
	color: #333;
}

#glinks:hover {background: #eee;}

#glinks a.lang-activ {display: none;}


#header-search {
    line-height: 100px;
    text-align: center;
    font-size: 1.4rem;
    cursor: pointer;
	border-left: 1px solid #eee;
	border-radius: 0 10px 10px 0;
}

#header-search:hover {background: #eee;}
#header-search:hover i {color: #0096a7;}

#header-search i {margin: 0;}


.navigate ul {display: flex; justify-content: space-between; width: 100%;}

.navigate ul li {list-style: none; width: 100%; text-align: center;}

.navigate ul li a {display: block; /*color: #fff;*/ padding: 15px 0;}


.parallax__container{clip:rect(0,auto,auto,0);height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-100}.parallax__container .parallax{background-position:center;background-repeat:no-repeat;background-size:cover;position:fixed;top:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;width:100%}