.gate-picker {
    width: 100%;
    height: 100%;

    width: max(700px, 74vw);
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0;
    
    margin-right: 0;
    margin-left: 0;
}

.grid-cell {
    padding: 0 !important;
    float: none !important;
    margin: 0 auto !important;
    display: inline-block;
    vertical-align: top;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


.gate-entity {
    display: flex;
    background: white;
    min-height: 122px;

    padding: 8px;
    padding-bottom: 10px;
    margin: 20px;
    box-shadow: 5px 0px 9px 2px rgb(0 0 0 / 8%);
    border-radius: 6px;
    overflow: visible;
    box-sizing: border-box;
    transition: all 0.4s;
    text-align: left;

    border-left: 6px solid #224166BB;

    cursor: pointer;
    color: #224166;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */

    animation: fadeIn 0.5s;
}

.gate-entity:hover {
    transition: all 0.25s;
    box-shadow: 7px 0px 18px 9px rgb(0 0 0 / 7%);
    transform: scale(1.04);
}

.gate-entity.current {
    border-left: 6px solid #D84315;
    position: relative;
}

.gate-entity.current:after {
    content: "BIEŻĄCA";
    width: max-content;
    padding-right: 7px;
    height: 11px;
    background: #D84315;
    position: absolute;
    top: -1px;
    right: 20px;
    color: #FFF;
    font-size: 6px;
    padding-left: 8px;
    padding-top: 1px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: 1px solid #D84315;
}

.gate-entity.current:hover {
    transition: all 0.25s;
}



/*
@media (max-width: 1200px) {
    .gate-entity:hover {
        transition: none;
        box-shadow: 0px -6px 18px 2px rgb(0 0 0 / 15%);
        transform: none;
    }
}
*/

.gate-entity__left {
   width: 60px;
   padding: 0px 8px;
}


.gate-entity.current md-icon svg path,
.gate-entity.current md-icon svg rect {
    /* stroke: #FFF; */
}

.gate-entity__right {
   flex: 1;
   padding: 3px;
}

.gate-entity__right__title {
    font-size: 16px;
}

.gate-entity__right__address {
    font-size: 10px;
}

.gate-entity__right__driving-directions {
    font-size: 10px;
}

.gate-entity__right__comment {
    font-size: 10px;
}

.gate-entity__right__gates-count {
    font-size: 10px;
}