.megapost {
	width:100%;
	height:500px;
	position: relative;
    display: none;
}
.megapost__map {
	width: 100%;
	height: 100%;
    position: relative;
}
.megapost__sidebar {
	width: 330px;
    height: 480px;
    position: absolute;
    top:10px;
    right:10px;
    z-index:6;
    background: rgba(255, 255, 255, 0.65);
    overflow: hidden;
    -webkit-transform: rotateY(-101deg);
    transform: rotateY(-101deg);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s linear, opacity 0.5s ease-in;
    transition: transform 0.3s linear, opacity 0.5s ease-in;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
}
.megapost__sidebar * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.megapost__sidebar.open {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    opacity: 1;
}
.megapost__panel-headline {
    text-align: center;
    white-space: nowrap;
    padding: 5px 0;
    text-overflow: ellipsis;
    margin: 0 50px;
    width: auto;
    overflow: hidden;
}
.megapost__panel-headline span {
    font-size: 24px;
}
.megapost__panel-content {
	width: 100%;
	height: 420px;
	padding: 0px 5px 0px 1px;
	color: #333333;
}
.megapost__sidebar > div {
    height: 100%;
    width: 330px;
    position: absolute;
    top: 0px;
}
.megapost__panel-details {
    background: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 100%;
    left: 0px;
    -webkit-transition: left ease 0.5s;
    transition: left ease 0.5s;
    padding: 0 18px;
}
.megapost__panel-details__back {
    width: 46px;
    height: 43px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    z-index: 4;
}
.megapost__panel-details__back:before, .megapost__panel-details__back:after {
    position: absolute;
    left: 22px;
    top:4px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
.megapost__panel-details__back:before {
    transform: rotate(45deg);
}
.megapost__panel-details__back:after {
    transform: rotate(-45deg);
}
.megapost__panel-details__back:hover {
	opacity:0.5;
}
.megapost__panel-details__block {
    margin-top: 12px;
}
.megapost__panel-details__block p {
    margin: 0px;
    padding-right: 18px;
}
.megapost__panel-details__block-head {
    font-size: 14px;
    margin-bottom: 2px;
    color: #b9b9b9;
}
.megapost__panel-details__block-text {
    font-size: 16px;
}
.megapost__choose {
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 3px;
    background-color: #DDD;
    color: #000;
}
.megapost__choose:hover {
    color: #333;
}
.megapost__choose.active {
    background-color: #a0d468;
    color: #fff !important;
}
.megapost__alert-danger, .megapost__current-pvz {
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
}
.megapost__alert-danger {
    color: #a94442;
    background-color: #f2dede;
}
.megapost__current-pvz {
    color: #3c763d;
    background-color: #dff0d8;
    display: none;
}
.megapost__current-pvz-address, .megapost__show-map {
    display: inline-block;
    margin-right: 20px;
}
.megapost__show-map {
    color: #0276d0;
    text-decoration: none;
    border-bottom: 1px dashed;
    cursor: pointer;
}
.megapost__map-touch-scroll{
    position:absolute;
    top:0;
    left:0;
    transition:opacity .2s;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:-2147483648;
    background:#000;
    opacity:0;
}
.megapost__map-touch-scroll:before{content:"";display:inline-block;vertical-align:middle;height:100%}
.megapost__map-touch-scroll-bg{position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;}
.megapost__map-touch-scroll-content{position:relative;display:inline-block;vertical-align:middle;width:100%;color:#fff;text-align:center;box-sizing:border-box}
@media (max-width: 768px) {
    .megapost__sidebar {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
    }
}