/*   
Theme Name: My Festival Theme
Theme URI: http://festival.rubankov.ru
Description: Тема для сайта фестиваля
Author: OverKilL.
Author URI: http://overkill013/
Template: twentysixteen
Version: 0.1
.
бла бла бла
.
*/
@import url("../twentysixteen/style.css");

/*-------   Antispam field Антиспам поле   -------*/
.comment-form-checkin {
    display: none;
}
body{
    background-color: #ffca82;
}
/*-------   Main   -------*/
body.custom-background{
    background-size: cover;
}
body:not(.custom-background-image)::before, body:not(.custom-background-image)::after{
    display: none !important;
}
.site {
    background-color: rgba(255, 255, 255, 0.9);
    //border-radius: 10px;
    margin:0px;
}
/*fix gallery*/
body .is-layout-flex{
    display: flex;
    flex-wrap: wrap;
}
/*.site::after {
    border-color: brown rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) brown;
    border-radius: 10px 0 50px;
    border-style: solid;
    border-width: 10px 100px 100px 10px;
    content: "";
    left: 19px;
    position: absolute !important;
    top: 50px;
    z-index: 100;
}
.site::before {
    border-color: brown brown rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
    border-radius: 0px 10px 0px 50px;
    border-style: solid;
    border-width: 10px 10px 100px 100px;
    content: "";
    position: absolute !important;
    right: 20px;
    top: 50px;
    z-index: 100;
}
*/
/*-------   End of Main   -------*/
/*-------   Header   -------*/
.site-header {
    padding: 0em 0em;
}
.site-header-main{
    border-bottom: 2px solid brown;
}
.header-image a {
    text-align: center;
}
.site-branding, .site-header-menu, .header-image {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
/*новое меню старт*/
.site-branding{
    display: inline-flex;
    flex-direction: row;
    width: 100%;
}
.dopinfo {
    display: inline-flex;
    margin-left: auto;
    margin-right: 1em;
    align-self: flex-end;
}
.phones {
    margin: 0;
}
/*новое меню конец*/
.site-header-main.sticky-element-original.sticky-element-active {
    background:none;
    border:none;
}
.site-header-main.sticky-element-original {
    background: rgba(255,255,255,0.95);
}
.site-header-main.sticky-element-cloned {
    background: rgba(255,255,255,0.95);
}
.sticky-element-cloned > .site-branding > .title > .site-title {
    font-size: 1rem;
    margin-top:2em !important;
}
.sticky-element-cloned > .site-branding > .title > .site-description {
    display:none;
}
a  > span.sub {
    font-size: 0.8em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-decoration: ivory;
    font-style: italic;
    display: block;
}
.header_text {

}
.header-text span {
    padding-left: 10px;
}
.site-branding {
    display: inline-flex;
}
.wp-custom-logo .site-title {
    margin-top: 0.25em;
}
@media all and (max-width: 1440px) {
    .site-title {
    font-size: 1.3rem;
    }
    .wp-custom-logo .site-title {
    margin-top: 0.75em;
}
}  
.title {
    padding-left: 2em;
}
.primary-menu .closed {
    text-decoration: line-through;
    text-decoration-color: red;
}
.primary-menu .sub-menu .closed {
    background-color: #ababab;
}
.primary-menu .sub-menu .closed > a > span.sub {
    text-decoration: none !important;
}
/*-------   End of Header   -------*/
/*-------   Start of breadCrumbs   -------*/
.kama_breadcrumbs{
    list-style: none;
    display: inline;
    overflow-x: hidden;
    max-height: 1.5em;
}
.kama_breadcrumbs > li {
    float: left;
}
.kama_breadcrumbs > li > a, .kama_breadcrumbs > .kb_title span{
    padding-right: 5px;
    color: #fff;
    background-color: black;
    margin-left: 5px;
    padding-left: 5px;
    position: relative;
}
.kama_breadcrumbs > li > a:hover, .kama_breadcrumbs > li > a:focus{
    color: brown;
}
.kama_breadcrumbs > li + li > a, .kama_breadcrumbs > .kb_title span{
    padding-left: 10px;
}
.kama_breadcrumbs > li + li > a::before, .kama_breadcrumbs > .kb_title span::before {
    padding: 0;
    padding-right: 0px;
    content: "" !important;
    color: #1c1c1c;
    border-left: 5px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    height: 0;
    width: 0;
    display: block;
    margin-left: 0px;
    top: 0;
}
.kama_breadcrumbs > .kb_title span{
    background-color: #a52a2a;
}
.kama_breadcrumbs > li > a::after, .kama_breadcrumbs > .kb_title span::after {

    content: '';
    border-left: 5px solid #2f353b;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    margin-left: 5px;
    top: 0;
}
.kama_breadcrumbs > .kb_title span::after {
    border-left: 5px solid #a52a2a;
}
/*-------   End of breadCrumbs   -------*/
/*-- Start Shop --*/
.shop_items{
border-radius: 0.3em;
    box-shadow: 0.2em 0.5em 1.2em 0.2em rgba(245, 57, 57, 0.5);
    padding: 0.3em;
}
#priceblock {
    display: flex;
    width: 100%;
}
.price {
	background: -moz-linear-gradient(left, rgba(245,57,57,1) 0%, rgba(245,57,57,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(245,57,57,1) 0%,rgba(245,57,57,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(245,57,57,1) 0%,rgba(245,57,57,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f53939', endColorstr='#00f53939',GradientType=1 ); /* IE6-9 */
    float: left;
	width:49%;
	padding-left: 1em;
    border-radius: 0.3em;
}
.buy {
    background: rgba(245, 57, 57, 0.9);
    border: 0.1em solid brown;
    border-radius: 0.3em;
    width: 49%;
}
.buy:hover{
	background: rgba(30, 180, 30, 0.9);
}
.buy > a {
    color: white;
}
/*-- End Shop --*/
/*-------   Inner   -------*/
.site-inner {
    max-width: 1900px;
}
/*-------   End of Inner   -------*/
/*-------   Navigation   -------*/
.main-navigation {
    margin-left: auto;
    margin-right: auto;
    background: #960303;
}
.main-navigation ul ul li {
    background-color:#fff9f9;
}
.main-navigation ul ul{
    /*! margin-left: 3px; */
    /*! margin-right: 3px; */
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
}
.main-navigation ul ul:hover {
    //border:none;
}
.main-navigation li:after {
    content:'';
    display:block;
    width:0%;
    height:3px;
    background-color:transparent;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation li:hover {
    //background: radial-gradient(at bottom,#e9e7e4,#ffffff);
    background: #dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation li:hover:after {
    width:100%;
    height:3px;
    background-color:#dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation li:active {
    //background: radial-gradient(at bottom,#e9e7e4,#ffffff);
    background: #dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation li:active:after {
    width:100%;
    height:3px;
    background-color:#dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    font-weight: 700;
}
.main-navigation li:hover > a, .main-navigation li.focus > a {
    //color: brown;
    color:#fff;
}
.main-navigation a {
    padding-left: 0.5em;
    line-height: 1;
    color: #fff;
}
.sub-menu li a {
    color: #000;
}
.main-navigation ul ul::before {
    left: 9px;
    top: -9px;
    right: unset;
}
.main-navigation ul ul::after {
    left: 10px;
    top: -7px;
    right: unset;
}
@media screen and (min-width:909px) {
.main-navigation .primary-menu, .main-navigation .primary-menu > li {
    display: flex;
    border-right: 2px solid #530000;
    //flex-wrap: wrap;
}
}
.main-navigation .current-menu-item:after, .main-navigation .current-menu-ancestor:after {
    width:100%;
    height:3px;
    background-color:#dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    /*font-weight: 500;*/
    //color: brown;
    //background: radial-gradient(at bottom,#e9e7e4,#ffffff);
    color: #fff;
    background: #dd0504;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
}
.site-branding .site-title a:hover, .site-branding .site-title a:focus {
    color: brown;
}
.current-menu-item.current_page_item {
    //background-color: rgba(255,156,0,0.5);
}
.site-header-menu.toggled-on .current-menu-parent {
    background-color: #dd0504;
    //padding-left: 0.5em;
}
@media screen and (min-width: 56.875em){
.sub-menu{
    padding-top: 3px;
}
.main-navigation li:hover > .sub-menu, .main-navigation li.focus > .sub-menu {
    left:0;
    right: auto;
    margin-top:3em;
}
.main-navigation ul ul li:hover > .sub-menu, .main-navigation ul ul li.focus > .sub-menu {
    left: auto;
    right: 100%;
    margin-top: 0;
}
.main-navigation ul ul::before{
    border-width: 0px 12px 12px;
}
.main-navigation ul ul::after{
    border-width: 0px 14px 14px;
}
}
.site-header-menu.toggled-on .sub-menu.toggled-on {
    background-color: #fff9f9;
    //padding-left: 0.5em;
}
.menu-toggle, .menu-toggle.toggled-on{
    width: 100%;
    background-color:#960303;
    color:#fff;
}
.menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active, .menu-toggle.toggled-on:hover {
    background-color:#dd0504;
    color:#fff;
}

/*-------   End of Navigation   -------*/
/*-------   Righr-sidebar   -------*/
@media screen and (min-width: 359px) {
.sidebar{
padding-left: 1em;
width: 100%;
float: none;
margin-left: 0;
}
}
@media screen and (min-width: 1023px) {
.sidebar{
padding-left: 1em;
margin-left: 70%;
width: 25%;
float: left;
}
}
/*-------   End of Righr-sidebar   -------*/
/*-------   Widget   -------*/
.widget{
	border-color: brown;
	border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}
.textwidget img:hover {
    transform: scale(1.1);
}

/*---  Left-Widget  ---*/
.left-widget-area {
    display: block;
    width: 100%;
    clear: both;
}
.left-widget-area > li {
    margin-left: 1em;
    list-style: none;
    float: left;
}
/*---   End of Left-Widget   ---*/
/*---  Ad Inserts   ---*/
.ad_insert_frame{
    padding: 1em;
    padding-bottom: 2em;
}
.ad_align{
    display: flex;
    margin-left:auto;
    margin-right: auto;
}
.ad_insert {
    display: flex;
    padding: 1em;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+5,d3af6b+50,000000+95&0+0,0+5,0.1+15,1+50,0.1+85,0+95,0+100 */
    background: -moz-linear-gradient(-45deg,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 5%, rgba(47,39,24,0.1) 15%, rgba(211,175,107,1) 50%, rgba(47,39,24,0.1) 85%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 5%,rgba(47,39,24,0.1) 15%,rgba(211,175,107,1) 50%,rgba(47,39,24,0.1) 85%,rgba(0,0,0,0) 95%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 5%,rgba(47,39,24,0.1) 15%,rgba(211,175,107,1) 50%,rgba(47,39,24,0.1) 85%,rgba(0,0,0,0) 95%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    box-shadow: 0.2em 0.2em 2em 0.1em rgba(100,100,100, 0.5);
    border-top: 0.2em dashed rgba(100,100,100, 0.5);
    border-bottom: 0.2em dashed rgba(100,100,100, 0.5);
}
.ad_insert_div{
    float: left;
    margin-left: 0.5em; 
}
.ad_insert_div img:hover, .ad_insert_div img:active{
    box-shadow: 0em 0em 0.3em 0.1em rgba(100,100,100, 0.5);
    transform: scale(1.05);
}
/*---   End of Ad Inserts   ---*/
/*-------   Social   -------*/
.ya-share2 a {
    box-shadow: none !important;
}
.ya-share2 a:hover {
    transform: scale(1.2);
}
/*---   End of Social   ---*/
/*-------   End of Widget   -------*/

/*---   Gallery Start   ---*/
.wp-block-gallery .blocks-gallery-item figcaption{
    padding: 10px 5px 5px;
    max-height: 60%;
}
/*---   Gallery End   ---*/

/*-------  Comment Form START   -------*/
.comment-form-author, .comment-form-email, .comment-form-url {
    float: left;
    min-width: 150px;
	margin-left:0.5em;
}
.g-recaptcha{
	margin-bottom: 0.5em;
	clear:both;
}
/*-------  Comment Form END   -------*/
/*-------  Footer   -------*/
.site-footer {
    align-items: baseline;
    border-top: 2px solid brown;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.site-info, .contacts, .adress{
    padding-left: 1rem;
    width: 33%;
    font-size: 0.8125rem;
    line-height: 1.61538;
    height: 10em;
}
.site-info{
    order: 2;
    border-left: 2px solid brown;
    border-right: 2px solid brown;
	text-align: center;
}

/*--- Contacts ---*/
.contacts, .adress {
    order: 3;
}
.adress {
    order: 1;
}
/*--- End of Contacts ---*/
/*-------  End of Footer   -------*/
/*-------   Post content Template   -------*/
.entry-content .museum_btn a{
    color: #fff;
    border-radius: 5px;
    background-color: #960303;
}
.entry-content .museum_btn a:hover{
    background-color: #dd0504;
}
.entry-content .museum_btn a:target, .entry-content .museum_btn a:focus{
    background-color: #dd0504;
}
.entry-content .museum_btn.vmuseum_btn a {
  background-image: url("data:image/svg+xml,%3Csvg width='63' height='50' viewBox='0 0 63 50' fill='none' xmlns='http://www.w3.org/2000/svg' class='vmuzey_btn'%3E%3Cpath d='M11.105 1.645c5.186 0 9.402 4.066 9.402 9.063v28.584c0 4.997-4.219 9.063-9.402 9.063-5.183 0-9.402-4.066-9.402-9.063V10.708c0-4.997 4.219-9.063 9.402-9.063zm0-1.645C4.972 0 0 4.793 0 10.708v28.584C0 45.207 4.972 50 11.105 50S22.21 45.207 22.21 39.292V10.708C22.213 4.793 17.242 0 11.105 0zM51.892 1.645c5.186 0 9.405 4.066 9.405 9.063v28.584c0 4.997-4.219 9.063-9.402 9.063-5.183 0-9.402-4.066-9.402-9.063V10.708c-.004-4.997 4.216-9.063 9.399-9.063zm0-1.645c-6.134 0-11.105 4.793-11.105 10.708v28.584C40.787 45.207 45.758 50 51.892 50 58.025 50 63 45.207 63 39.292V10.708C63 4.793 58.028 0 51.892 0z' fill='%23fff'%3E%3C/path%3E%3Cpath d='M51.902 1.645c1.903 0 3.742.553 5.319 1.595 2.07 1.372 3.463 3.441 3.92 5.82.456 2.378-.075 4.786-1.499 6.78L39.261 44.414c-1.284 1.8-3.198 3.09-5.39 3.635l-.035.01-.024.007c-.115.03-.231.052-.35.079l-.018.003-.102.02c-.098.02-.197.036-.306.052l-.16.027c-.085.013-.174.023-.259.032-.068.007-.133.017-.201.023l-.238.02c-.072.007-.147.01-.218.013a5.263 5.263 0 01-.228.007c-.075.003-.15.003-.225.003l-.225-.003c-.075-.003-.153-.003-.228-.007-.072-.003-.146-.01-.218-.013-.078-.006-.16-.01-.238-.02a4.176 4.176 0 01-.201-.023c-.085-.01-.174-.02-.26-.032-.05-.007-.098-.017-.149-.023l-.024-.004c-.099-.016-.197-.033-.29-.05l-.098-.019-.03-.006c-.116-.023-.232-.05-.345-.076l-.027-.007-.034-.01c-2.193-.546-4.11-1.838-5.39-3.635L3.357 15.84c-1.42-1.994-1.955-4.402-1.499-6.78.457-2.382 1.85-4.448 3.92-5.82a9.612 9.612 0 015.32-1.595c3.101 0 6.003 1.47 7.76 3.931L30.1 21.334l1.403 1.964 1.403-1.964L44.148 5.576c1.75-2.46 4.651-3.931 7.754-3.931zm0-1.645c-3.535 0-7.008 1.622-9.16 4.642L31.5 20.399 20.259 4.642C18.107 1.622 14.633 0 11.099 0c-2.17 0-4.36.612-6.284 1.885-5.053 3.352-6.334 10.017-2.86 14.89l20.381 28.573c1.58 2.214 3.869 3.672 6.368 4.297.024.006.044.013.068.016.137.033.273.063.412.092l.147.03c.116.023.231.043.347.06.068.009.136.022.201.032l.303.04c.078.01.16.02.239.026.091.01.187.016.282.023.085.006.17.013.256.016l.272.01c.088.003.177.003.266.003l.265-.003c.092-.003.18-.003.273-.01.085-.003.17-.01.255-.016a8.424 8.424 0 00.521-.05c.102-.013.204-.023.303-.039a419.708 419.708 0 01.548-.092l.147-.03c.136-.03.276-.059.412-.092l.068-.016c2.503-.622 4.791-2.083 6.368-4.297L61.04 16.774c3.476-4.872 2.196-11.537-2.858-14.889A11.332 11.332 0 0051.901 0z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  padding-left: 80px;
  background-size: 31% 90%;
  background-position: 2px 2px;
}
@media screen and (min-width: 359px) {
.content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}
.site-info, .contacts, .adress {
    width: 100%;
    text-align: center;
    display: table;
}
}
@media screen and (min-width: 1023px) {
.content-area{
    width: 70%;
    float: left;
    margin-right: -100%;
}
.site-info, .contacts, .adress {
    width: 33%;
}
}
@media screen and (min-width: 1279px) {
.site-main{
    margin-right: 1em;
}
}
@media screen and (min-width: 1899px) {
.content-area{
    width: 74%;
}
.site-main{
    margin-right: 4em;
}
}
/*--- Shop Items ---*/
#tovarOdnotip-dop {
    background: #fff none repeat scroll 0 0;
    border-radius: 1rem;
    display: block;
    margin: 0.5rem;
    padding: 0.5rem;
	box-shadow: 0.1em 0.1em 0.1em 0.1em rgba(196,42,42,0.5);
}
.tovarOne_img {
    padding-bottom: 1rem;
}
.tovarOne_img img{
    border-radius: 1rem;
    padding-bottom: 0.5rem;
}
.tovarOne_name {
    height: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1rem;
    text-align: center;
}

.tovarOne_name a {
    font-family: Arial;
    font-size: 1rem;
    color: #d93939;
}

.tovarOne_name a:link {
    color: #d93939;
    text-decoration: underline;
}

.tovarOne_name a:visited {
    color: #cc2d2d;
    text-decoration: underline;
}

.tovarOne_name a:hover {
    color: #d93939;
    text-decoration: none;
}

.tovarOne_name a:active {
    color: #666;
    text-decoration: underline;
}
.tovarOne_content {
    color: #505050;
    font-family: Arial;
    font-size: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    margin-top: 0.5rem;
	max-height:165px;
    overflow: hidden;
}

.tovarOne_content a {
    font-family: Arial;
    font-size: 1rem;
    color: #666;
}

.tovarOne_content a:link {
    color: #d93939;
    text-decoration: underline;
}

.tovarOne_content a:visited {
    color: #d93939;
    text-decoration: underline;
}

.tovarOne_content a:hover {
    color: #d93939;
    text-decoration: none;
}

.tovarOne_content a:active {
    color: #666;
    text-decoration: underline;
}
.tovarThree_price4 {
    font-family: Arial;
    font-size: 1rem;
    color: #4170a0;
    font-weight: 600;
    padding-top: 0.25rem;
    height: 2rem;
}
#priceblock {
    background: none repeat scroll 0 0 rgba(245, 245, 245, 0.8);
    border-radius: 0.5rem;
    bottom: 0;
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
    height: 2.5rem;
    left: 0;
    padding: 0.25rem;
    position: relative;
    vertical-align: bottom;
    width: 99%;
}
div.price {
    font-size: 1rem;
    font-weight: bolder;
    line-height: 1.5rem;
    padding: 0.1rem;
    width: 50%;
}

strong.price {
    font-family: Arial;
    font-size: 1rem;
    font-weight: 600;
    color: #4170a0;
}

#priceblock .buy {
    float: right;
    height: 1rem;
    text-align: center;
    width: 50%;
	height:100%;
}
.tovarThree_order_4 {
    background: rgba(247, 57, 57, 0.9) none repeat scroll 0 0;
    border: 0.1em solid #ff0;
    border-radius: 0.3rem;
    color: #fff;
    font-family: Arial;
    font-size: 1rem;
    height: 2rem;
}

.tovarThree_order_4:hover {
    color: #ff0;
    background: rgba(30, 180, 30, 0.9) none repeat scroll 0 0;
}
/*--- /Shop Items ---*/
/*-------   Media query horizontal   -------*/