.masonry-up{
    text-align: center;
    margin-bottom: 30px;
}
.masonry-up button{
    padding: 0 20px;
    display: table;
    margin: 0 auto;
}
.masonry-title{
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 76px;
    font-weight: 600;
    color: #217cb0;
}
.masonry-desc{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: block;
    color: rgb(73, 73, 73);
    margin-bottom: 34px;
}
.masonry-tag{
    color: rgb(0, 0, 0);
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
    white-space: pre-wrap;
    text-align: center
}
.masonry-box{
    padding: 38px 0 20px 0;
    margin: 0px 29px;
}
.progress-error{
    font-size: 12px;
    margin-top: 20px;
    width: 100%;
    text-align: center
}
@media(max-width:960px) {
    .masonry-box{
        margin: 0px 15px;
    }
}

.masonry-sort {
    position: relative;
    z-index: 3;
    min-height: 69px;
    margin-bottom: 21px;
    display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
}
.masonry-sort .masonry-item {
    position: relative;
    z-index: 1;
    width: calc(33.333% - 16px);
    margin: 0 0 29px 0px;
}
.masonry-sort .masonry-item:last-child{
    margin-left: auto
}
.masonry-sort .masonry-item label {
    margin: 0 0 10px 0;
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.02em;
}
.masonry-sort .select-holder {
    position: relative;
    font-size: 14px;
}
.masonry-sort .select-holder .select-first {
    position: absolute;
    left: 1px;
    top: 1px;
    font-size: 20px;
    color: #757575;
    z-index: 2;
    background: #e7e7e7;
    bottom: 1px;
    padding: 0 15px;
}
.masonry-sort .select-holder .select-first span{
    position: absolute;
    left: 5px;
    top: 11px;
}
.masonry-sort .select-holder .field{
    width: calc(100% - 50px);
}
.masonry-sort .select-holder.fields,
.masonry-sort .select-holder form {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}
.masonry-sort input {
    padding-left: 40px;
}
.masonry-sort .blue-butn {
    float: right;
    height: 40px;
    padding: 0 20px;
}

.masonry{
    position: relative;
    cursor: pointer;
    max-width: 400px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.masonry-hover{
    display: none;
}
.masonry-hover-i{
    width: 100%;
    text-transform: uppercase;
}
.masonry:hover .masonry-hover{
    z-index: 1;
    display: block;
    text-align: center;
    position: absolute;
    background: rgba(0,0,0,.5);
    top:0px;
    width: 100%;
    height: 100%;
    left:0px;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    color:#fff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.manner-icon svg{
    display: table;
    margin: 0 auto;
    width: 38px;
    height: 38px;
    fill:#fff;
}
.masonry-date{
    font-size: 13px;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.masonry-user,
.masonry-plus{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}
.masonry-likes{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox; 
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    width: 100%;
    margin-bottom: 20px
}
.masonry-likes .icon-see{ 
    display: table;
    margin: 0 auto;
    width: 38px;
    height: 38px;
    fill:#fff;
}
.masonry-likes .icon-favorite{
    display: table;
    margin: 0 auto;
    width: 18px;
    height: 18px;
    fill:#fff;
    margin-right: 10px;
}
.masonry-plus .icon-cross{
    display: table;
    margin: 0 auto;
    width: 38px;
    height: 38px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    fill:#fff;
    border:2px solid #fff;
    padding: 5px;
}
.masonry-likes-i{
display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;

align-items: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
    margin: 0 auto;
    font-size: 12px;
}

.masonry-back{
    position: fixed;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
    width: 100%;
    height: 100%;
    top:0px;
    left:0px;
    cursor: pointer
}
.masonry-popup{
    position: fixed;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    z-index: 260;
}
.mpopup-inner{
    z-index: 2;
    position: absolute;
    /*overflow: hidden;*/
    background: #fff;
    max-width: 1024px;
    margin: 0 27px;
    width: 100%;
}
@media(min-width:1024px){
    .mpopup-inner{
        max-height: 700px;
    }
}
.mpopup-inner.maf{
    max-width: 512px;
}
.masonry-popup.succes .mpopup-inner{
    max-width: 600px;
}
.mpopup-photo{
    position: relative;
    width: calc(100% - 424px);
    overflow: hidden
}
.mpopup-photo picture{
    width: 100%;
    display: block;
    height: 100%;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
}
.mpopup-photo img{
    pointer-events: none;
    max-height: 600px;
    width: auto;
    margin: 0 auto
}
.masonry-links-blocks{
    display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
}
.masonry_frendly{
    width: calc(50% - 5px);
	margin: 10px 5px 10px 0;
}
.masonry_share{
    width: calc(50% - 5px);
	margin: 10px 0 10px 5px;
}
.masonry_link{
	display: none;
}
.masonry_link.active{
	display: block;
}
.masonry_link input{
	position: relative;
    display: block;
    width: 100%;
    height: 40px;
    padding: 2px 10px 0 10px;
    margin: 0;
    font-family: "Univers Cyr", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #494949;
    border: 1px solid #cccccc;
    background: #ffffff;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.masonry_frendly a,
.masonry_share button{
    margin: 0 auto;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    height: auto;
    padding: 10px 20px;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    line-height: 17px!important;
    width: 100%;
    text-align: center;
    justify-content: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
}
.masonry_frendly a svg,
.masonry_share button svg{
	margin: 0 14px 0 0!important;
}
.mpopup-comments{
    width: 424px;
    padding: 30px 20px 20px;
    overflow: hidden;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: column;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
}
.mpopup-close{
    position: absolute;
    width: 36px;
    height: 36px;
    right: -18px;
    top: -18px;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    -ms-border-radius: 18px;
    -o-border-radius: 18px;
    border-radius: 18px;
    background: #fff;
    z-index: 2;
    cursor: pointer;
    border: 1px solid #185b81;
}
.mpopup-close svg {
    stroke: #185b81;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 5px;
    left: 5px;
}
.mpopup-likes{
    position: absolute;
    right: 20px;
}
.mpopup-likes-i{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
}
.mpopup-likes-i svg{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: #2282b9;
    cursor: pointer
}
.mpopup-likes-i svg .st1{
    fill: #fff;
}
.mpopup-likes-i svg:hover .st1{
    fill: #2282b9;
}
.mpopup-likes-i svg.active{
    cursor: default
}
.mpopup-likes-i svg.active .st1{
    fill: #2282b9;
}
.mpopup-info{
    font-size: 16px;
}
.mpopup-text{
    font-size: 14px;
    line-height: 24px;
    min-height: 25px;
    padding-right: 20px;
    font-size: 13px;
}
.mpopup-user{
    margin-bottom: 10px
}
.mpopup-date{
    margin-bottom: 10px;
    font-size: 12px;
}
.mpopup-video{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;

	align-items: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
}
.mpopup-video video{ 
    display: table;
    height: auto;
    min-height: auto;
    width: auto;
    min-width: auto;
    margin: 0px auto;
    border: none;
    border-radius: 0px;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}
.mpopup-video-pos{
    position: absolute;
    inset: 0px;
    filter: blur(30px);
    transform: scale(1.1);
}
@media(min-width:841px) {
    .mpopup-inner{
        left: calc(50% - 27px);
        top:50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
    }
}
@media(max-width:840px) {
    .masonry-popup{
        overflow-y: auto;
    }
    .mpopup-inner{
        margin: 0 15px;
        left: calc(50% - 15px);
        max-width: 600px;
        height: auto;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .mpopup-comments,
    .mpopup-photo{
        width: 100%;
    }
    .mpopup-video{
        height: 600px;
    }
    .mpopup-photo{
        max-height: 600px;
    }
    .mpopup-photo img{
        max-height: 600px;
        width: auto;
        margin: 0 auto;
    }
    .mpopup-comments{
        padding: 20px 20px;
    }
}
.mpopup-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0px;
    pointer-events: auto;
    opacity: 0.8;
    transition: opacity 300ms ease 0s;
    z-index: 2;
    cursor: pointer;
    background: #fff;
    padding: 10px;
    
}
.mpopup-arr.prev{
    left:0px;
}
.mpopup-arr.next{
    right:0px;
}
.mpopup-arr svg{
    height: 100%;
    width: 100%;
    fill: rgb(0, 0, 0);
    display: inline-block;
    color: inherit;
    fill: #000;
    pointer-events: none;
    transition: opacity 300ms ease 0s;
}
.mpopup-arr:hover{
    background: #185b81;
    opacity: 1;
} 
.mpopup-arr:hover svg{
    fill:#fff
}   

.mpopup-products{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    overflow: hidden auto;
}
@media(min-width:841px) {
    .mpopup-products{
        height: auto;
    }
    .mpopup-text:not(.nonheight){
        max-height: 155px;
        overflow: hidden auto;
    }
}
.mpopup-product-title{
    font-size: 16px;
    margin: 20px 0 10px;
}
.mpopup-product:nth-child(2n+2){
    margin-left: 10px;
}
.mpopup-product a{
    text-decoration: none
}
.mpopup-product{
    width: calc(50% - 5px);
    border: 1px solid #ebebeb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.product-prev p{
    font: 14px "Univers Cyr", Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 1;
    padding: 0 10px;
    margin: 0 7px 10px 7px;
    text-align: center;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    color:rgb(73, 73, 73);
}
.product-img{
    overflow: hidden;
    padding: 4px;
    margin-bottom: 10px;
}
.product-name{
    padding: 0px 10px 0px 10px;
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #217cb0;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.product-art{
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 0px 10px 0px 10px;
    text-align: center;
    color: rgb(73, 73, 73);
}
.mpopup-product:hover{
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.35);
}
.masonry-vicon{
    position: absolute;
    top: 10px;
    z-index: 2;
    right: 10px;
    
}
.masonry-vicon svg{
    top: 12px;
    right: 12px;
    height: 30px;
    width: 30px;
    fill: rgb(255, 255, 255);
}
.mpopup-price {
    padding: 0px 10px 5px 10px;
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #217cb0;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.product-type{
    padding: 0px 10px 5px 10px;
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #217cb0;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
#masonryGalleries{
    height: 100%;
    overflow-y: auto;
}
.masonry-add-form{
    width: 100%;
    height: 100%
}
.masonry-add-form form{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    width: 100%;
    height: 100%
}
.masonry-gal-box {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    position: relative;
    margin-bottom: 10px;
}
.masonry-gal-close {
    position: absolute;
    z-index: 22222;
    cursor: pointer;
}
.masonry-gal-close svg{
    width: 20px;
    height: 20px;
    stroke: #000;
    background: #fff;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    border-radius: 16px;
    border: 1px solid #ccc;
}
.masonry-gal-close:hover{
}
.masonry-gal-close:hover svg{
    stroke:#fff;
    border: 1px solid #2282b9;
    background: #2282b9;
}
.masonry-gal-img{
    width: 100px;
    height: 100%;
    padding-right: 10px;
    position: relative;
}
.masonry-gal-frendly{
    width: calc(100% - 100px);
}
.masonry-gal-frendly textarea{
    height: 100%;
    border: 1px solid #808285;
    border-radius: 0em;
    font-size: .8em;
    color: #646667;
    width: 100%;
    min-height: 100%;
    max-height: 90px;
    padding: 4px;
}
.masonry-gal-text{
    width: 100%;
    margin-bottom: 20px;
}
.masonry-gal-text textarea{
    height: 30px;
    border: 1px solid #808285;
    border-radius: 0em;
    font-size: .9em;
    color: #646667;
    width: 100%;
    min-height: 76px;
    padding: 4px;
}
.masonry-gal-box img{
    width: 100px;
    height: 100%;
}
.masonry-add-title{
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    color: rgb(0, 0, 0);
}
.masonry-action{
}
.masonry-action-i{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    grid-gap: 10px;
}
.progress-error{
    margin-top: 10px;
    display: none;
}
.progress-error.show{
    display:inherit;
}
.send-butn,
.drag-butn-prev,
.drag-butn{
    padding: 0 20px;
    display: table;
    margin: 0 auto;
    height: 45px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: #185b81;
    background: linear-gradient(to top, #185b81 0%, #2282b9 100%);
    width: 100%;
}
.drag-butn-prev:disabled,
.drag-butn:disabled{
    opacity: .4;
}
.masonry-add-heading{
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid rgb(0, 0, 0);
    text-align: left;
}
.masonry-add-inner{
    padding: 40px 40px 40px 40px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.masonry-drag{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(0, 0, 0);
    background-color: rgb(236, 236, 236);
    
    border: 1px dashed rgb(183, 183, 183);
    margin-bottom: 0px;
    padding: 5px;
}
.masonry-drag-inner{
    flex: 1 0 auto;
    display: flex;
    flex-direction: row;
}
.masonry-drag input:not(#edit-submit):not(#edit-actions-submit):not(.button) {
    height: 30px;
    border: 1px solid #808285;
    border-radius: 0em;
    text-indent: 7px;
    font-size: .9em;
    color: #646667;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.drag-photos .mptitle{
    font-size: 20px;
    margin-bottom: 5px;
}
.drag-photos .mptitle.mb{
    display: none
}
.drag-photos .mptext{
    
}
.drag-photos-text label{
    line-height: 42px;
}
.masonry-drag-views{
    
}
.drag-photos{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(0, 0, 0);
    padding: 0px;
    background-color: rgb(236, 236, 236);
}
.drag-photos svg{
    color: rgb(0, 0, 0);
    height: 40px;
    width: 40px;
    margin-bottom: 5px;
    display: inline-block;
    color: inherit;
    fill: currentcolor;
    pointer-events: none;
}
.drag-photos-text{
    font-size: 12px;
    text-align: center;
}
#masonryStep1{
    height: 100%;
    overflow: auto
}
#masonryStep2{
    height: 100%;
}
#masonryStep3{
    height: 100%;
}
#masonryStep3 p{
    font-size: 18px;
}
.masonry-input{
   margin-bottom: 20px;
}
.masonry-label .checkbox{
    margin-right: 10px;
}
.masonry-label .label-text{
    cursor: pointer
}
.masonry-label .checkbox:not(.checked){
    background: rgb(236, 236, 236);
}
.masonry-label .label-text{
    width: calc(100% - 30px);
}
.masonry-input input.error{
    border: 1px solid red;
}
.masonry-input textarea{
    min-height: 50px;
    max-width: 100%;
    width: 100%;
    resize: vertical;
    max-height: 100px;
    padding: 5px 10px;
}
.checkbox.checked {
	background: #ffffff url("../images/ui/check.svg") no-repeat 0 0;
	background-size: 17px 17px
}

.masonry-popup.succes .masonry-add-right{
    width: 100%;
}
.masonry-add-form .mpopup-close:hover svg{
    stroke: #fff;
}
.masonry-add-form .mpopup-close:hover{
    border: 1px solid #2282b9;
    background: #2282b9;
}  
@media(min-width:769px){

}

@media(max-width:768px){
    .formDrag.step3 .masonry-add-right,
    .formDrag.step2 .masonry-add-right{
        height: 100%;
    }
    .masonry-add-form form{
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
    }
    .masonry-add-right,
    .masonry-add-left{
        width: 100%;
    }
    .mpopup-inner.maf{
        height: 100%;
    }
    .mpopup-close{
        top: 20px;
        right: 20px;
        border: none;
    }
    .mpopup-close svg{
        top: 6px;
        left: 6px;
    }
    .masonry-add-form .mpopup-close svg{
        stroke:#000;
        width: 40px;
        height: 40px;
    }
    .masonry-add-left{
        padding-left: 20px;
        padding-bottom: 0px;
    }
    .masonry-add-right{
        padding-right: 15px;
        height: calc(100% - 240px);
    }
    .masonry-title{
        font-size: 41px;
        line-height: 41px;
        margin-bottom: 9px;
        /*font-size: calc(-2.7143px + 8.03571vw);
        line-height: calc(-2.7143px + 8.03571vw);*/
    }
    .masonry-tag{
        font-size: calc(-2.7143px + 8.03571vw);
        line-height: calc(-2.7143px + 8.03571vw);
    }
    .masonry-desc{
        padding: 0 0 25px 0;
        font-size: 14px;
    }
    .masonry-drag{
        flex: initial;
    }
    .masonry-box{
        padding-top: 38px;
    }
    #masonryStep1 .masonry-add-title{
        display: none
    }
    .masonry-drag{
        flex:initial;
    }
    .drag-photos-text label{
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        width: 100%;
        max-width: 250px;
        margin: 10px auto;
        padding: 8px;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
        transition: background-color 100ms ease 0s;
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .drag-photos .mptitle.pc{
        display: none
    }
    .drag-photos .mptitle.mb{
        display: inherit
    }
    .drag-photos .mptext p{
        display: none
    }
    
}




