///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.casinfo-local-container {
    @include outer-container;
}

.casinfo-local-wrapper {
    @include span-columns(12);
    border: 5px solid $color-golden;
    padding: 100px;
    margin: 80px 0 60px 0;
    position: relative;

    .casinfo-local-icon {
        
        background: #FFFFFF;
        box-shadow: 0 0 0 2px $color-golden, 0 0 0 12px #FFFFFF;
        border-radius: 50%;
        position: absolute;
            left: 50%;
            top: 0;
        transform: translateX(-50%) translateY(-50%);
        
        svg
        {
            display: block;
            fill: $color-golden;
            height: 70px;
            width: 70px;
        }
    }
}

.casinfo-local-left {
    float: left;
    width: 47%;
    text-align: center;
    margin-right: 50px;

    .casinfo-local-title {
        font-family: "lucien-bold";
        text-transform: uppercase;
        font-size: 1.5rem;
        color: $color-golden;
        padding: 0;
    }

    .casinfo-local-address {
        font-size: 1rem;
        font-family: 'Georgia';
    }

    a {
        color: $color-golden;
    }

    .casinfo-local-phone {
        font-size: 1.5rem;
        color: $color-golden;
        margin: 20px 0 20px 0;

        .icon-phone {
            background: url('../img/svg/icon-phone.png') no-repeat;
            display: inline-block;
            height: 25px;
            width: 18px;
            vertical-align: middle;
            margin-right: 10px;
        }
    }

    .casinfo-local-button {
        margin-top: 20px;
        .button-geolocation-icon {
            margin-left: 10px;
        }
    }

    .casinfo-local-separator {
        width: 100%;
        height: 1px;
        background: $color-grey-background;
        margin: 30px 0 20px 0;
        display: inline-block;
    }

    .casinfo-local-free-entry {
        color: $color-golden;
        font-family: "lucien-bold";
        font-size: 16px;
        text-transform: uppercase;
    }

    .casinfo-local-schedule {
        ul {
            list-style: none;
            li {
                margin-top: 20px;
                strong {
                    font-family: "lucien-bold";
                    font-size: 1.1rem;
                    display: block;
                    margin-bottom: 5px;
                    text-transform: uppercase;
                }
                div {
                    font-size: 1em;
                    font-family: 'Georgia';
                }
            }
        }
    }

}

.casinfo-local-right {
    display: inline-block;
    width: 47%;
    img {
        display: block;
        width: 100%;
    }
}

/* TRANSPORTS */
.casinfo-local-transport {

}

.casinfo-local-transport-separator {
    border: 0;
    height: 1px;
    background-color: $color-golden;
    margin: 60px 0 60px 0;
}

.casinfo-local-transport-title {
    text-transform: uppercase;
    font-family: "lucien-bold";
    color: $color-golden;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 55px;
}

.casinfo-local-transport-list {
    display: flex;
        align-items: stretch;
        justify-content: center;
    list-style: none;
    width: 100%;
}

.casinfo-local-transport-list-item {
    border: 1px solid $color-grey-border-light;
    flex-basis: 0;
    flex-grow: (1/5);
    padding: 20px;
    text-align: center;
    display: block;
    
    &:not(:first-child)
    {
        margin-left: 4px;
    }

    ul {
        list-style: none;
        li {
            margin-bottom: 20px;
            font-family: "Georgia";
            word-wrap: break-word;
        }
    }
}

.casinfo-local-transport-list-item-picto {
    display: block;
    width: 45px;
    height: 30px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;

    svg {
        fill: $color-golden;
    }
}

@include desktop-xl {
    .casinfo-local-container {
        padding: 0 !important;
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet :: LANDSCAPE and BELOW
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .casinfo-local-container {
        padding: 0 20px;
    }
    .casinfo-local {
        padding: 60px;
    }

    .casinfo-local-left {
        width: 100%;
    }

    .casinfo-local-right {
        width: 100%;
        margin-top: 60px;
    }
    .casinfo-local-transport-list-item {
        li {
            font-size: 1.4vw;
        }
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet :: LANDSCAPE and UP
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-up {
    .casinfo-local-container {
        padding: 0 20px;
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet :: PORTRAIT and BELOW
///////////////////////////////////////////////////////////////

@include tablet-portrait-and-below {
    .casinfo-local-transport-list-item {
        ul {
            li {
                font-size: 1.2rem !important;
            }
        }
    }
    .casinfo-local-wrapper {
        padding: 60px 40px 40px 40px;
    }
}

///////////////////////////////////////////////////////////////
// SPECIAL BREAKPOINT
///////////////////////////////////////////////////////////////

@media screen and (max-width: 1062px) {
    .casinfo-local-left {
        margin-right: 40px;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .casinfo-local-wrapper {
        padding: 60px 20px 20px 20px;
    }
    .casinfo-local-transport-list {
      display: block;
    }
    .casinfo-local-transport-list-item {
        margin-left: 0 !important;
        
        &:not(:last-child)
        {
          margin-bottom: 20px;
        }
      
        ul {
            li {
                font-size: 1.2rem !important;
            }
        }
    }
    .casinfo-local-button {
        font-size: 0.8em;
        &:hover {
            font-size: 0.8em;
        }
    }
}