/*
Theme Name: nimrah
Author: NIMRAH
Author URI: http://artsacademymuseum.org/
Description: custom
Text Domain: gutenwp

*/
/* -------------------------------------- *
*           Default WP CSS                *
* --------------------------------------- */
*{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a{
    text-decoration: none !important;
}
button {
    outline: none !important;
}
body {
line-height: 1;
}
html {
    width: 100%;
    height: 100%;
}
.page-links{
  margin-bottom: 30px;
  clear: both;
}
.page-content,
.blog-content-wrapper{
  margin-bottom: 30px;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
a:focus {
    outline: 0;
    outline-offset: 0;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
.gallery-caption {
    font-size: 12px;
}
.bypostauthor {
    font-size: 12px;
}
h1.search-title {
    font-size: 28px;
    margin-bottom: 30px;
}
.common-menu-wrap .nav>li>ul li a, .common-menu-wrap .nav > li > ul li.mega-child > a {
    text-transform: capitalize;
}
/* -------------------------------------- *
*           WordPress Core                *
* --------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    
    max-width: 100%; /* Image does not overflow the content area */
    width: 100% !important;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
        white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; 
}

h2.bordered {
    position: relative;
    z-index: 1;
}
h2.bordered span { 
    background: #fff; 
    padding: 0 25px; 
}
h2.bordered:before {
    border-top: 1px solid #dfdfdf;
    content:"";
    margin: 0 auto;
    position: absolute;
    top: 50%; left: 0; right: 0; bottom: 0;
    width: 0%;
    z-index: -1;
}
#loginform{
    width: 400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 4px;
    padding: 40px 30px 20px;
    border: 1px solid #e7e7e7;
}
.post-meta-info-list-in a {
    color: #5a5a5a;
    border-radius: 4px;
    padding: 4px 15px;
    margin-right: 5px;
    border: 2px solid #e7e7e7;
    transition: 400ms;
}
.post-meta-info-list-in a:hover{
  color: #fff;
}
.post-meta-info-list-in{
  margin: 40px 0 20px;  
}
.calendar_wrap #wp-calendar {
    width: 100%;
}
table tr th,
table tr td{
    padding:  15px;
    border: none;
}

table tr th {
	border-top: 2px solid #93abb7;
	border-bottom: 2px solid #93abb7;
	font-weight: normal;
	color: #909495;
	font-size: 0.8rem;
}
table tr td {
	font-size: 0.8rem;
	line-height: 1.1rem;
	font-weight: bold;
	border-bottom: 1px solid #909495;
}
table{
  margin-bottom: 10px;
}

ul li,
ol li {
    padding: 5px 0;
}
ol li{
 list-style:none !important;
 }
 .children ol.children {
    margin-top: 20px;
}
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
	display: none;
	bottom: 5px;
	
}
.blocks-gallery-item:hover .blocks-gallery-item__caption {
	display: block;
}
.blocks-gallery-item__caption:hover {
	display: block;
}
.call_back{
-webkit-transform: rotate(-90deg);  /*Поворот блока с текстом кнопки  на 30 градусов*/
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
position:fixed; /*фиксированная позиция кнопки при прокрутке*/
z-index:999;
right: 0px; /*отступ с права*/
top: 35%; /*отступ сверху*/
margin-right:-50px; /*отрицательный отступ справа (чем длиннее название кнопки тем больше должно быть значение данного отступа )*/
}
/*Стили для ссылки*/
.call_back a{
color:#fff!important; /*цвет ссылки*/
display:block;
background:#DC3522; /*цвет фона кнопки*/
font-size:1.2em; /*размер шрифта*/
text-align:center; /*выравнивание по центру*/
padding:10px 20px; /*внутренние отступы*/
font-weight:bold;/*жирный шрифт*/
border-radius:5px; /*радиус скругления углов*/
border:1px solid #fff; /*рамка вокруг кнопки*/
}
/*делает первым элемент в разделе основная экспозиция и филиалы*/
/* .card-group.branches-cards>:first-child {
  
    min-width: 100%;
}
.card-group.branches-cards>:first-child img.img-responsive {
    width: 100%;
    object-fit: cover;
    height: 250px;
} */

/*для изменения вида слайдера*/

/*  .main-slider .carousel-inner {
		    display: flex;
    flex-direction: row-reverse;
	}

	.main-slider .carousel-item {
		    width: 70%;
	}
	.text-slider {
		    background: radial-gradient(circle at 10% 20%, rgb(0, 0, 0) 0%, rgb(64, 64, 64) 90.2%);
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
	}
	.main-slider .caption, .main-slider .ticket-button {
    position: static;
        width: 100%;
}
.main-slider .controls {
    position: absolute;
    bottom: 50px;
    left: 0px;
    width: 50%;
    height: 100px;
    color: #fff;
} */