body.page-id-1772 #main{
    padding-left: 8px;
    padding-right: 8px;
}
body.page-id-1772 #main .ui-widget.ui-widget-content{
    border: none;
}
body.page-id-1772 #main .ui-tabs .ui-tabs-panel{
    padding: 0;
}
body.page-id-1772 select{
    border-color: #4a4e57;
    color: #4a4e57;
}
.glma-schedules-grid{
    /* max-width: 600px; */
    /* margin: 0 auto;
    /* padding: 16px; */
    /* border: 1px solid lightgrey; */
    margin-bottom: 20px;
    padding: 8px;
}
.glma-schedule-header:not(.dates-header){
    flex: 1;
}

.glma-schedule-text{
    flex: 1;
}
.island-header{
    text-align: right;
}
.glma-schedules-departures{
    display: none;
    min-height: 300px;
    position: relative;
    max-width: 850px;
}
.glm-schedule-loader{
    position: absolute;
    background: white;
    width: 100%;
    height: 100%;
    z-index: 99;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.glm-departure-icon{
    max-width: 35px;
    height: auto;
    display: inline-block;
    margin-right: 10px;
}
.glm-notice-container{
    /* padding: 8px; */
    align-items: center;
    border: 1px solid #c5c5c5;
    display: flex;
    margin-bottom: 4px;
}
.glm-notice-descr{
    line-height: 1;
}
.glm-notice-container .glm-departure-icon{
    max-width: 75px;
}
#glm-schedules{
    max-width: 1200px;
    display: none;
}
.glma-dock-schedules{
    margin-bottom: 10px;
}
body.page-id-1772 #main #glm-departures-list{
    margin: 0 auto;
    /* border-top: 1px solid lightgrey; */
}
#glm-departures-list .glma-dock-schedules, #glm-departures-list #glm-cloned-schedule-select{
    margin-bottom: 60px;
}
.glma-dock-containter:last-child hr{
    display: none;
}
.glm-depart-time{
    margin: 0 15px;
}
.depart-time-cell{
    /* display: flex; */
    text-align: center;
    border: 1px solid #e6e6e6;
    /* height: 50px; */
    align-items: center;
    /* padding: 6px; */
    position: relative;
    page-break-inside: avoid;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
    margin-bottom: 3px;
    overflow: hidden; 
    border: 1px solid #c5c5c5;
}
.depart-top-half{
    display: flex;
    align-items: center;
}

.depart-time-cell .glm-departure-icon {
    max-width: 50px;
    max-height: 50px;
}
.glma-dock-container-divide{
    display: none;
}

.depart-time-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-right: 15px;
}
.depart-time-text span{
    font-size: 18px;
    line-height: 1;
}
.glm-depart-notes{
    line-height: 1;
    text-align: left;
    padding: 4px;
}
.glm-schedule-color{
    height: 50px;
    min-width: 30px;
    margin-right: 10px;
}
.glm-dock-name{
    font-weight: bold;
    line-height: 1;
    margin-bottom: 20px;
}
#glm-dock-header{
    margin: 10px 0 20px 0;
    line-height: 1;
    font-size: 22px;
    background: #4a4e57;
    color: white;
    padding: 4px;
    text-align: center;
}
.glm-dock-image-front{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.glm-departure-notes{
    line-height: 1;
}
.sticky {
    position: fixed !important;
    top: 50px;
    left: 16px;
    width: 90%;
    max-width: 840px;
    z-index: 9;
    max-width: 360px;
}
#glm-notices-mount{
    background: white;
}
.ui-tabs-nav .ui-tabs-active.ui-state-active{
    background: black;
    border: black;
}
#glm-legend-collapse{
    position: absolute;
    top: -36px;
    /* color: white; */
    /* display: none; */
    padding: 6px 10px 1px 8px;
    background: #f6f6f6;
}
#glm-schedule-notices{
    margin-bottom: 15px;
    position: relative;
    transform: scaleY(1);
}
.sticky #glm-notices-mount{
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
#glm-notices-mount.toggle-hide{
    transform: scaleY(0);
    transition: transform 200ms ease-in-out;
}
.glm-notice-arrow{
    font-size: 18px;
    transition: transform 200ms ease-in-out;
}

i.glm-notice-arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    left: 4px;
    position: relative;
    top: -1px;
  }
  
.post-content .glma-cloned-select-container{
    margin-left: 50px !important;
}

 .glm-notice-arrow.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.glm-notice-arrow.arrow-spin{
    transform: rotateZ(-45deg);
}
@media only screen and (max-width: 1024px){
    .glma-dock-container-divide{
        margin: 25px 0 15px 0;
        border-color: #F3F3F3;
        display: block;
    }
}

@media only screen and (min-width: 640px){
    #glm-schedules > .glma-schedules-departures > .ui-tabs-panel {
        column-count: 2;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid-column;
        position: relative;
    }
    /* i.glm-notice-arrow{
        display: none;
    } */
}

@media only screen and (max-width: 640px) {
    #glm-dock-tab,#glm-island-tab {
       padding: 0;
    }
    .depart-time-cell {
        height: auto;
    }
    .glma-schedules-grid{
        margin: 0 auto;
        max-width: 320px;
    }
    .glma-schedule-header:not(.dates-header){
        flex: auto;
    }
    .glm-departure-icon {
        /* display: none; */
    }
    .post-content .glma-cloned-select-container{
        margin-top: 15px !important;
    }
}