#sector_modal {
    padding: 0 !important;
    font-size: 10px;
}
.modal-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}

.modal-position {
    margin: 0 !important;
    top: 6em;
    left: 50% !important;
    max-width: 90% !important;
    transform: translate(-50%, 0) !important;
}
.row-modal-1 {
    justify-content: space-between;
    align-items: center;
    border-bottom: none !important;
}
.seating-row {
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    margin: 0 8% 0 8%;
}
.seating-col {
    flex-direction: row;
    justify-content: flex-start;
    margin: 0 0.2em 0 0;
    overflow-x: auto;
    position: relative;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge */
}
.seating-col::-webkit-scrollbar {
    display: none;               /* Chrome / Safari */
}
.row-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
.podium {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 50em;
    height: 6em;
    background-color: #555;
    border-radius: 3px;
    color: #fff;
}
.podium-text {
    margin: 0;
    font-size: 1.6em;
}
#sector_modal tr {
    display: flex;
    flex-direction: row;
}
#sector_modal td {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.8em;
    height: 2.8em;
    border-radius: 3px;
    margin: 0.1em 0.1em;
    font-weight: 700;
    color: #fff;
}
#sector_modal td > * {
    font-size: 1.3em;
}
.row-description {
    margin: 0.1em 0;
    background-color: #555;
}
.row-description > span {
    font-size: 1.3em;
}

/* seat background colors  */

.disabled, .expl-disabled::before {
    /*background-color: #b00018;*/
    background-color: #b2c4ad;
}
.not_available {
    background-color: #a3a3a3;
}
.available, .expl-available::before {
    background-color: #269d00;
}
.custom-price {
    background-color: #b99600;
}
.selected {
    background-color: #250f80;
}
.no-seat {
    background-color: #fff;
    border: thin solid #555;
}
.custom-seat-price, .expl-custom-seat-price::before {
    background-color: #b99600;
}
.in_cart, .expl-in-cart::before {
    background-color: #b00;
}

.guide-row {
    display: none;
    justify-content: center;
    align-items: center;
}

.guide-row-part {
    display: flex;
    margin: 1em 0 1.5em 0;
}

.explanation-row {
    justify-content: flex-end;
    align-items: center;
    margin: 0 8% 2.5em 0;
    flex-wrap: wrap;
}
.row-modal-3 {
    bottom: 0;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2em;
}
.col-modal-1 {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}
.cards-col {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 0 0 2em;
}
.seat-card {
    padding: 2em;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25em;
    margin-bottom: 2em;
}
.seat-card:not(:last-child) {
    margin-right: 2em;
}
.sc-row:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1em;
}
.sc-col {
    flex: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 2em;
}
.sc-col:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    padding-left: 0;
    padding-right: 2em;
}
.sektor {
    font-family: "Etelka Text Pro Bold", sans-serif;
    font-size: 1.6em;
    font-weight: 700;
}
.cena {
    font-size: 1.6em;
    font-weight: 400;
}
small {
    font-size: 1em !important;
    color: #2c3e50;
}
.sector-name {
    font-family: "Etelka Text Pro Bold", sans-serif;
    font-weight: 700;
    margin: 0em 2em;
    font-size: 10px !important;
}
.sector-name > span {
    font-size: 2.3em !important;
}
.expl-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Etelka Text Pro", sans-serif;
    font-weight: 400;
}
.expl-text > span {
    font-size: 1.6em;
}
.expl-text:not(:last-child) {
    margin-right: 2em;
}
.expl-custom-seat-price::before,
.expl-disabled::before,
.expl-available::before,
.expl-in-cart::before {
    content: "";
    display: inline-block;
    width: 2.2em;
    height: 2.2em;
    margin-right: 1.5em;
    border-radius: 0.25em;
}
.selected-heading {
    font-family: "Etelka Text Pro", sans-serif;
    font-weight: 400;
    margin: 0 0 0 2em;
    font-size: 10px !important;
}
.selected-heading > span {
    font-size: 2.3em;
}
.seat-heading {
    font-family: "Etelka Text Pro Bold", sans-serif;
    font-weight: 700;
    margin: 0 0 1em 0;
    font-size: 10px !important;
}
.seat-heading > span {
    font-size: 1.6em;
}
.text {
    font-family: "Etelka Text Pro", sans-serif;
    font-size: 1.6em;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
}
.guide-text {
    margin: 0 2em 0 2em;
}
.guide-text > span {
    font-size: 2em;
}
.arrow-left,
.arrow-right {
    font-weight: 100;
    font-size: 2em;
}
.arrow-left {
    transform: rotate(180deg);
}
.close-btn,
.close-btn:link,
.close-btn:visited {
    width: 4em;
    height: 4em;
    text-align: center;
    cursor: pointer;
    margin: -1em 1.5em 0 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    color: #0e0d36;
    font-family: "Etelka Text Pro", sans-serif;
    font-weight: 400;
    transition: all 0.2s;
}
.close-btn > span {
    font-size: 4em;
}
.close-btn:focus,
.close-btn:hover {
    color: #e6163c;
    outline: 0;
}
.btn-red,
.btn-red:link,
.btn-red:visited {
    text-align: center;
    vertical-align: center;
    cursor: pointer;
    margin: 2em 2em 2em 0;
    padding: 0.75em 3em;
    border: 0;
    border-radius: 0.25em;
    background-color: #e6163c;
    color: #f5f7fc;
    font-family: "Etelka Text Pro", sans-serif;
    font-weight: 400;
    transition: all 0.2s;
}
.btn-red > span {
    font-size: 1.6em;
}
.btn-red:focus,
.btn-red:hover {
    background-color: #c31333;
}
@media screen and (max-width: 920px) {
    #sector_modal {
        font-size: 8px;
    }
    .modal {
        top: 3.5em;
        overflow: auto;
    }
    .modal-container {
        padding-bottom: 8em;
    }
    .seating-row {
        margin: 0 2em 0 2em;
    }
    .seating-col {
        flex-direction: row;
        justify-content: flex-start;
        margin: 0;
        overflow-x: scroll;
        position: relative;
    }
    .row-stage {
        position: sticky;
    }
    .seating {
        display: none;
        width: auto;
        height: 31.4em;
    }
    .podium {
        width: 100%;
        margin: 0 2em 0 2em;
        justify-content: center;
        align-items: center;
    }
    .sektor-name {
        font-size: 8px !important;
    }
    .explanation-row {
        justify-content: flex-start;
        margin: 0 2em 0 2em;
        flex-wrap: wrap;
    }
    .selected-seats {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .selected-heading {
        font-size: 8px !important;
    }
    .col-vybrane {
        flex-shrink: 0;
        margin-bottom: 2em;
    }
    .cards-col {
        width: 90%;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .seat-card {
        flex-shrink: 0;
    }
    .seat-heading {
        font-size: 8px !important;
    }
    .row-modal-3 {
        justify-content: center;
    }
    .expl-text {
        margin-bottom: 2em;
    }
    .close-btn,
    .close-btn:link,
    .close-btn:visited {
        height: 4.5em;
        margin: -2.5em 1.5em 0 0;
    }
    .btn-red {
        margin-right: 0;
    }
    .btn-red:first-child {
        display: none;
    }
}

/* additional */

td.available, td.in_cart {
    cursor: pointer;
}


#notification {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    max-width: 50em;
    height: 4em;
    background-color: #e6163c;
    border-radius: 6px;
    color: #fff;

    right: 60px !important;
    top: 14px;

    font-weight: bold;
    position: absolute;
    display: none;
    z-index: 1000;

    font-size: 1.6em;

    text-align: center;
}

.seating-row-empty-line {
    padding-top: 2em;
}

#sector_modal div.seat_detail {
    position:absolute;
    background:#b00;
    color:#FFF;
    border-radius:5px;
    padding:10px;
    text-align:center;
    display:none;
    z-index: 8000000;
    width:120px;
    min-height:30px;
    margin-left:-50px;
    line-height:14px;
    font-size:16px;
}

#tooltip
{
    font-size: 15px;
    text-align: center;
    color: #fff;
    background: #111;
    position: absolute;
    z-index: 100000;
    padding: 15px;
}

@media screen and (max-width: 920px) {
    #tooltip {
        font-size: 12px;
    }
}

#tooltip:after /* triangle decoration */
{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #111;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

    #tooltip.top:after
    {
        border-top-color: transparent;
        border-bottom: 10px solid #111;
        top: -20px;
        bottom: auto;
    }

    #tooltip.left:after
    {
        left: 10px;
        margin: 0;
    }

    #tooltip.right:after
    {
        right: 10px;
        left: auto;
        margin: 0;
    }

#sector_modal .delete_from_cart {
    right: 0;
    position: absolute;
    top: -5px;
    width: unset !important;
}

#sector_modal .delete_from_cart:hover {
    text-decoration: none;
}
