/*   
Theme Name: My Festival Theme
Theme URI: https://rubankov.ru/festival
Description: Тема для сайта фестиваля
Author: OverKilL.
Author URI: http://overkill013/
Template: twentysixteen
Version: 0.12.0
Requires at least: 5.8
Tested up to: 5.9
*/
@import url("../twentysixteen/style.css");

/*-------   Antispam field Антиспам поле   -------*/
.comment-form-checkin {
    display: none;
}
/*-------   Main   -------*/
body{
    background-color: #ffca82;
}
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;
}
/*.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;
}
*/
.btn_main > a{
    border-radius: 8px;
    background: #960303;
}
.btn_main:hover > a, .btn_main:active > a, .btn_main:hover > a.wp-block-button__link,.btn_main:active > a.wp-block-button__link{
    background: #dd0504;
    color:#fff;
}
/*-------   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 of Content   -------*/
blockquote {
font-size:1rem;
}
/*ширина первой колонки 70*/
.wp-block-table.fest_table_70 td:first-child, .wp-block-table.fest_table_70 th:first-child {
  width: 70px;
  text-align: center;
}
/*-- Start Shop --*/
.shop_items{
border-radius: 0.3em;
    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 --*/

/*---   Gallery Start   ---*/
.wp-block-gallery .blocks-gallery-item figcaption{
    padding: 10px 5px 5px;
    max-height: 60%;
    overflow: hidden;
}
/*body:not(.search-results) article:not(.type-page) img.below-entry-meta,
    body:not(.search-results) article:not(.type-page) figure.below-entry-meta {
    margin-left: 0;//правим галерею, полом в 5.9
}*/
/*правка галереи 6.4.3*/
@media (min-width: 600px) {
    .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
        width: calc(25% - var(--wp--style--unstable-gallery-gap, 18px)*.85) !important;
    }
}
@media screen and (min-width: 61.5625em) {
  body:not(.search-results) article:not(.type-page) img.below-entry-meta, body:not(.search-results) article:not(.type-page) figure.below-entry-meta {
    clear: both;
    display: block;
    float: none;
    margin-right: 0;
    margin-left: 0 !important;
    max-width: 100%;
  }
}
/*---   Gallery End   ---*/
/*--- Slider Start ---*/
.metaslider {
    padding-bottom: 1em;
}
/*--- Slider End ---*/
/*-------   End of Content   -------*/
/*--- Lightbox 2 примечания ---*/
#caption > span {
    font-size: 1.5em;
}
/*- /Lightbox 2 примечания-*/
/*-------   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);
}
.search-submit {
    border-radius: 0 2px 2px 0;
    bottom: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 42px;
}
/*---  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   -------*/
/*-------  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   -------*/

/*-------  Comments START -------*/
.comment.depth-1.parent {
    border: 1px solid #d1d1d1;
    margin: 1em;
    padding: 1em;
    box-shadow: 0 0 1em 0;
}
/*-------  Comments 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: 7em;
}
.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   -------*/
@media screen and (min-width: 359px) {
.content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}
.site-info, .contacts, .adress {
    width: 100%;
    text-align: center;
}
}
@media screen and (min-width: 1023px) {
.content-area{
    width: 70%;
    float: left;
    margin-right: -100%;;
}
.site-info, .contacts, .adress {
    width: 33%;
}
/*--- 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   -------*/