body{
    background-color: #eaeaeb;
}
#layout {
	/*position: relative;
    /*margin-top: -50vh;*/
    /* background-color: rgba(255, 255, 255, 0.5); */
    /* box-shadow: 0 0 1rem #000; */
   /* border-radius: 0rem;
	/*padding : 0;
    /* border-top: .5rem solid #d8222e; */
    /* border-bottom: .5rem solid #d8222e; */
}

.insidenew {
    padding-top : 10rem;
}

#layout .grid1200 {
    overflow: unset;
}

#layout .eventHeader {
    /* background-image: url(../../mainpage/images/pattern.jpg); */
   /* background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;*/
    flex-grow: 1;
    font-family: Noto Sans !important;
    color: #28292c  !important;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    justify-content: space-between;
    /*align-items: center;*/
    width : 60%;
    padding-left: 4rem;
    background: #fff;
    border-radius: 0.5rem;
    margin-left: -1rem;

}

#layout .eventHeader .grid2>div {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#layout .eventPoster {
	position: relative;
    margin-top: -2rem;
    padding-left: 2rem;
    width: 40%;
}

#layout .eventPoster img {
	border: .1rem solid #fff;
    width: 100%;
    height: auto;
}

#layout .eventDescription {
	padding: 5vh;
    font-size: .9rem;
    vertical-align: middle;
}

#layout .eventCalendar {
	border-top: 0;
	padding: 0;
}

.eventDetails {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*width: 50%;*/
    padding: 0 3rem;
    margin: 0 0 0 auto;
    /* float: left; */
    height: 45vh;
    text-align: center;
    line-height: 1;
    font-family: 'Noto Sans', bold;
    color: #28292c;
}

#layout .eventHeader .eventDetails h1 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 3.5rem;
    text-transform: uppercase;
    text-align: center;
    /* border-bottom: 2px solid #d8222e; */
    color: #c70909;
}

#layout .eventPlace {
	display: flex;
}

#layout .eventPlace p {
	margin : 0;
}

.eventCity {
	font-size: 2rem;
    text-transform: uppercase;
    padding: 1rem 0 0 0;
}

.eventPlace {
	font-size: 1rem;
    width: 100%;
}

.eventDate {
	font-size: 3rem;
}

.eventLink {
	display : inline-block;
	padding : .5rem 2rem;
	text-transform : uppercase;
	color : #fff;
	background-color : #d8222e;
    border: 1px solid #d8222e;
	text-decoration : none;
	font-family : 'Noto Sans', sans-serif;
}

.eventLink:hover {
	background-color : #FFF;
    color: #d8222e;
    border: 1px solid #d8222e;
} 

#galleryBase {
	}

.eventGalery {
    display: block;
    overflow: hidden;
    clear: both;
   /* background-color: #333;
	background-image : url('../../mainpage/images/backVideo.jpg');
	background-position : center center;
	background-repeat : no-repeat;
	background-size : cover;*/
}

.eventGalery.withvideo>div {
    display: inline-block;
    width: 50%;
    float: left;
}

.videoblock iframe {
	margin: 5vh;
	width : 100%;
}


.eventGalery a {
	display: inline-block;
    width: 48%;
    height: 142px;
    overflow: hidden;
    float: left;
    position: relative;
    margin: 5px 1%;
	border: 2px solid #fff;
    box-shadow: 0.1rem 0.1rem 1rem #000;
}

.eventGalery a img {
	display : inline-block;
	width : 100%;
	height : auto;
}


/*********************************************Новые стили**********************************/

#layout{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin : 0 auto;
    /*margin-right: 10%;*/
    /*margin-left: 10%;*/
    /*background-color: #fff;*/
    padding: 0 !important;
}

.insidepage.textpage #layout{
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 1rem;
}

.flexblok
{
    display: flex;
    /*display: -webkit-flex;*/
    flex-direction: row;
    /*flex-wrap: wrap;*/
    /*border-left: 1em solid #cacbcf;*/
    /*border-right: 1em solid #cacbcf;*/
    width: 100%;
    justify-content: space-between;
}
.eventPoster a {
    width: 100% !important;
    padding: 0;
    margin: 0;
    text-align: center !important;
    /*height: 35vw !important;*/
    background-color: transparent;
}

.linewhite{
    background-color: #fff;
    width: 100%;
    height: 1em;
}



.blok-info{
    display: flex;
    align-content: center;
    /*margin-left: 1em;*/
    /*margin-top: 0.3em;*/
    font-size: 1rem;
    align-items: center;
    flex-direction: column;
    width: 33%;
    text-align: center;
    border-radius: .5rem;
    margin : .5rem;
    background-color: #f7f7f7;

}

.blok-info i {
    font-size: 3rem;
    display: inline-block;
    margin: .5rem;
    color: #d8222e;
} 

.ico-date-big{
    background-image: url(../images/cart.png);
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    display: inline-block;
    align-self: center;
    flex-grow: 0;
    flex-shrink: 0;
    background-position: center center;
}
.ico-plece-big{
    background-image: url(../images/pl.png);
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    display: inline-block;
    align-self: center;
    flex-grow: 0;
    flex-shrink: 0;
    background-position: center center;

}
.ico-rub-big{
    background-image: url(../images/rub.png);
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    display: inline-block;
    align-self: center;
    flex-grow: 0;
    flex-shrink: 0;
    background-position: center center;

}
.inlineblock-big{
    display: inline-block !important;
}
.dis-bloc{
    font-size: .8rem;
    color : #a6a6a6;
    /*display: block;*/
    /*text-align: left;*/
    display: block;
    line-height: 1;
}

.dis-bloc.tbig {
    font-size: 1rem;
    color : #000;
}

.colormy{
    /*color: #a6a6a9;*/
}


#layout .eventHeader h1{
    color: #d8222e;
    text-transform: uppercase;
    margin-top: 5% !important;
    margin-bottom: 0 !important;
    text-align: center;
}
.eventshort{
    width: 100%;
    text-align: center;
}

.eventPoster a img {
    display: inline-block;
    border-radius: .5rem;
    box-shadow: 0 0 0.5rem;
  
}

.video-block{
    width: 100% ;
    margin: 2rem 0;
    height: calc( 1200px / 100 * 40 / 16 * 9 );
    display: inline-block;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem;
        border: 0.1rem solid #fff;
}

.eventHeader .mv {
    display: none;
}


.modal.preorder {
    display: inline-flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 999;
    display: none;
}

body.mopen {
    overflow: hidden;
}

.mopen .modal.preorder {
    display: inline-flex;
}

.modal.preorder form {
    display: inline-block;
    max-width: 40rem;
    width: 100%;
    max-height: 100%;
    overflow-y : auto;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    position: relative;
}

.modal.preorder form .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal.preorder form .header p {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
    color: #d8222e;
}

.modal.preorder form .header a {
    color : #d8222e;
    transition: color .5s ease;
    font-size: 2rem;
}

.modal.preorder form .header a:hover {
    color : #8f0e16;
}

.modal.preorder form .description {
    margin: 0 0 2rem 0;
}

.modal.preorder form .description p {
    margin: .5rem 0;
    font-size: .9rem;
    font-weight: 300;
}

.modal.preorder form .line {
    font-size: 1rem;
    display: flex;
    width: 100%;
}

.modal.preorder form .line .icon {
    display: none;
}

.modal.preorder form .line div {
    width: 100%;
    display: flex;
    padding-bottom: 1rem;
}

.modal.preorder form .line label {
    width: 6rem;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-block;
    text-align: right;
    padding-right: 1rem;
}

.modal.preorder form .line.check div label {
    width: auto;
    flex-grow: 1;
    flex-shrink: 1;
    display: inline-block;
    font-size: .9rem;
    margin-left: .5rem;
    text-align: left;
}

.modal.preorder form .line.check div {
    padding-left: 6rem;
    font-size: 1rem;
    padding-top: 1rem;
}

.modal.preorder form .line input[type="text"] {
    display: inline-block;
    padding: .5rem 1rem;
    border : 1px solid #aaa;
    width: 100%;
    font-size: 1rem;
}

.modal.preorder form .result,
.modal.preorder form .working {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background-color: rgba(255,255,255,1);
    visibility: hidden;
    opacity: 0;
    transition: opacity .5s ease;
}

.modal.preorder form .result p,
.modal.preorder form .working p {
    margin: 0;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.modal.preorder form .result i,
.modal.preorder form .working i {
    font-size: 3rem;
}

.modal.preorder form.done .result {
    visibility: visible;
    opacity: 1;
}

.modal.preorder form.processing .working {
    visibility: visible;
    opacity: 1;
}

.modal.preorder form .ctrls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.preorder form .ctrls>* {
    display: inline-flex;
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    color: #fff;
    background-color: #d8222e;
    border: 1px solid #d8222e;
    text-decoration: none;
    transition: background-color .5s ease, color .5s ease;
    cursor: pointer;
} 

.modal.preorder form .ctrls>*:hover {
    background-color: #8f0e16;
}


@media (max-width:1005px){

    #layout .eventPoster{
        width: 100%!important;
        box-shadow: none;
        border-radius: 0;
        position: relative;
        margin-top: -2rem;
        padding-left: 0rem;
    }

    #layout .eventHeader{
          width: 100%;
    }
    
    .flexblok {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    
}
@media (max-width:1004px){

    .video-block{
        width: calc( 100% - 2rem );
        height: calc( 100vw / 19 * 10 );;
        margin: 2rem 1rem;
    }
    .eventPoster a{
        height: 70vw !important;

    }
    #layout {
     margin-right: 3%;
     margin-left: 3%;

   }
   .linkimg{
    width:49% !important;
   
  
    }
}

@media (max-width:425px){
    .insidenew h1 {
        text-align: center;
        line-height: 1;
        padding: 0;
        font-size: 2rem;
    }


    #layout .eventPoster img {
        border-radius: 0;
        box-shadow: none;
        border: 0;
    }

    #layout .eventHeader {
        margin: 0;
        padding-left: 1rem;
    }

    #layout .eventPoster .video-block {
        display: none;
    }

    #layout .eventHeader .mv {
        display: block;
    }

    #layout .mv .video-block {
        width: 100%;
        height: calc( 100vw / 19 * 10 );
        margin: 0;
    }
}




.smallbannerblock{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 2vw;

}
.small-img{
    display: block;
    max-width: 100%;
    height: auto;
}
.linkimg{
    
    width: 24.8%;
    padding: 0.2em;
}



