/**********************/
.mage_seat_item {
    -webkit-transition: 250ms ease-in-out;
    -moz-transition: 250ms ease-in-out;
    -o-transition: 250ms ease-in-out;
    transition: 250ms ease-in-out;
}

[class*="flexEqual"],
.seat_plan_row,
.seat_plan_symbol {display: -webkit-flex !important;display: flex !important;}
.mage_seat_plan {
    display: -webkit-flex !important;display: flex !important;
    -webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;
}
[class*="flexEqual"] > *,
.seat_plan_row>*,
.seat_plan_symbol > * {-webkit-flex: 1;-ms-flex: 1;flex: 1;}
[class*="allCenter"]{
    display: -webkit-flex !important;display: flex !important;
    -webkit-justify-content: flex-start;justify-content: flex-start;
    -webkit-align-items: center;align-items: center;
    -webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;
}
.mage_seat_plan .roomText,
.admin_seat_plan_area .roomText,
.mage_seat_plan .seat_plan_area,
.admin_seat_plan_area .seat_plan_area,
.mage_seat_plan .empty_seat_area,
.admin_seat_plan_area .empty_seat_area{
    display: -webkit-flex ;display: flex ;
    -webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;
    -webkit-justify-content: center;justify-content: center;
    -webkit-align-items: center;align-items: center;
}
.mage_seat_plan .mage_seat_item,
.mage_seat_plan .seat_img {
    display: -webkit-flex ;display: flex ;
    -webkit-justify-content: center;justify-content: center;
    -webkit-align-items: center;align-items: center;
}
.seat_img {
    -webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;
}
.mage_seat_plan_area{
    display: -webkit-flex !important;display: flex !important;
    -webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;
}
.seat_plan,
.seat_img,
.seat_details,
.mage_seat_item,
.empty_seat_area{-webkit-border-radius: 5px;border-radius: 5px;}
.mage_seat_selected .empty_seat_area,
.mage_seat_selected .seat_img,
.mage_seat_selected span.mage_seat_icon {
    -webkit-box-shadow: -1px 2px 2px #444;
    -moz-box-shadow: -1px 2px 2px #444;
    -o-box-shadow: -1px 2px 2px #444;
    box-shadow: -1px 2px 2px #444;
}
/**********************/
.mep_sp_seat_plan_sec {margin: 10px 0;}
.mep_sp_seat_plan_sec h5 {font-size: 20px;border-bottom: 1px solid #DDD;margin-bottom: 10px;}
/**********************/
.mage_seat_plan {margin: 20px 0;text-align: center;}

/*.seat_plan_area {max-width: 70%;}*/

.seat_plan {border: 1px solid #DDD;padding: 15px;overflow-x: auto;max-width: 100%;}

.seat_plan_symbol {margin: 0 0 20px 0;width: 100%;}
.seat_plan_symbol > *{margin: 0 7px 0 0;}
.seat_plan_symbol p {width: 100%;margin: 7px 0 0 0 !important;}
/**********************/
div.seat_plan_area{max-width: 100%;}
.mage_seat_item{cursor: pointer;}
.mage_seat_item,
.seat_plan_row > div {float: left;position: relative;border: 1px solid transparent;}
.seat_plan_symbol .mage_seat_item,
.seat_plan_symbol .seat_plan_row > div {
    width: 60px;height: 60px;overflow: hidden;
}
/**********************/
.mage_seat_list {margin: 0 0 0 20px;min-width: 250px;background-color: #F2F2F2;}
.mage_selected_list {padding: 0;border-bottom: 1px solid #DDD;}
.mage_selected_list h6 {font-size: 14px;font-weight: 500;color: #444;background: #DDD;margin: 0;padding: 7px 0;}
.mage_selected_seat_list h6 {font-size: 14px;font-weight: 500;color: #777;background: #F2F2F2;margin: 0;padding: 7px 0;}

.mage_seat_unselect {cursor: pointer;}
.mage_selected_seat_item {border-bottom: 1px dotted #777;}
.mage_selected_seat_list .mage_selected_seat_item:last-child {border-bottom-style: solid;}
.mage_seat_unselect {color: firebrick;}
/**********************/
.stage_image {margin: 0 0 15px 0;}
.stage_image img {width: 100%;height: auto;border-radius: 5px;}

.seat_img {padding: 5px;width:100%;height:100%;position: relative;border:1px solid #ddd;}
.seat_img img {height: auto;max-width: 100%;width: auto;}
.seat_img *{font-size: 12px;width: auto;margin:0 auto !important;text-align: center;}
.seat_img p{height:15px;text-align: center;}
.empty_seat_area {width: 100%;height: 100%;border: 2px solid #ddd;overflow: hidden;text-align: center;font-size: 12px;}

.extended_area {position: relative;}
.extended_area > div {position: absolute;left: 0;top: 0;z-index: 1;}

.roomText {font-size: 9px;border: 2px solid #ddd;border-radius: 5px;overflow: hidden;text-align: center;}

.seat_details_area{
    display: -webkit-flex !important;display: flex !important;
    -webkit-justify-content: center;justify-content: center;
    -webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;
}
/**********************/
.mage_seat_available:hover::after {
    position: absolute;content: '';
    border: 10px solid transparent;
    top: 100%;left: calc(50% - 10px);z-index: 111;
}
.seat_plan_row .mage_seat_available:nth-last-child(3) .seat_details {right: -100px;left: inherit;}
.seat_plan_row .mage_seat_available:nth-last-child(2) .seat_details {right: -50px;left: inherit;}
.seat_plan_row .mage_seat_available:last-child .seat_details {right: 0;left: inherit;}
.seat_plan .seat_plan_row:nth-last-child(2) .seat_details,
.seat_plan .seat_plan_row:last-child .seat_details {top: inherit;bottom: calc(100% + 10px);}
.seat_plan .seat_plan_row:nth-last-child(2) .mage_seat_available:hover::after,
.seat_plan .seat_plan_row:last-child .mage_seat_available:hover::after {top: inherit;bottom: 100%;}

.seat_plan .seat_plan_row:nth-child(2) .seat_details{top: calc(100% + 10px);bottom: inherit;}
.seat_plan .seat_plan_row:nth-child(2) .mage_seat_available:hover::after{top: 100%;bottom: inherit;}
/**********************/
.seat_details {
    display: none !important;position: absolute;
    left: 0;top: calc(100% + 10px);
    border: 1px solid #ddd;min-width: 200px;
    padding: 10px;z-index: 11;color: #fff;
}
.seat_details p {font-size: 13px;}
.seat_details p strong {padding: 0 5px 0 0;font-weight: bold;font-size: 13px;}
.mage_seat_item:hover .seat_details {display: block !important;}
/**********************/
[class*='mage_icon'] {display: inline-block;}
span.mage_seat_icon {
    position: relative;
    width: 30px;
    height: 35px;
    border: 1px solid #ddd;
    text-align: center;
    padding: 5px 0 0 0;
    display: inline-block;
}
span.mage_seat_icon::before,
span.mage_seat_icon::after,
span.mage_seat_icon {
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
span.mage_seat_icon::before,
span.mage_seat_icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 20px;
    border: 1px solid #ddd;
    bottom: -1px;
    background-color: #fff;
}
span.mage_seat_icon::before {left: -4px;}
span.mage_seat_icon::after {right: -4px;}
span.seat_handle {
    position: absolute;
    width: 25px;
    height: 6px;
    bottom: 0;
    left: 4px;
    border-top: 1px solid #ddd;
    background-color: #fff;
}
/**********************/
[class*='defaultLoader'] {
    position: fixed;z-index: 11111;
    left: 0;right: 0;top: 0;bottom: 0;
    background-color: #777a;
    font-size: 25px;
    width: 100%;height: 100%;
    max-width: 100vw;max-height: 100vh;
    display: -webkit-flex;display: flex;
    -webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;
    -webkit-justify-content: center;justify-content: center;
    -webkit-align-items: center;align-items: center;
}
[class*='defaultLoader'] span {
    -webkit-border-radius: 50%;border-radius: 50%;
    border-top: 5px solid #2C3E50;
    border-right: 5px solid #febb02;
    border-bottom: 5px solid red;
    border-left: 5px solid #F2F2F2;
    width: 50px;height: 50px;
    -webkit-animation: spin 1000ms linear infinite;
    animation: spin 1000ms linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}
#mage_event_submit button.mpwemasp_get_sp~button.btn-mep-event-cart{display: none;}
button.mpwemasp_get_sp{
    line-height: 1.2;
    font-weight: 500;
    color:#fff;
    background-color: #0A6F92;
    height: auto;
    min-width: auto;
    outline: 0;
    padding: 10px 20px !important;
    display: block;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    max-width: 100%;
    transition: .3s;
    margin: 0 auto !important;
}
.mpwemasp_area h4{text-align: center;}
.mpwemasp_area .seat_plan_area{margin: 0 auto;}
.mpwemasp_area  .sp_back_ticket{cursor: pointer;margin: 0 10px 0 0;color: #0A5BB1;font-size: 16px;}