@font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/Poppins-Bold.ttf');
}
@font-face {
    font-family: Poppins-Light;
    src: url('../fonts/Poppins-Light.ttf');
}
@font-face {
    font-family: Poppins-Regular;
    src: url('../fonts/Poppins-Regular.ttf');
}
body{
    overflow-x: hidden;
    background-color: #004070;
}
h5{
    font-family: Poppins-Bold;
    color: #f79f1f;
    margin-bottom: .5rem;
    text-transform: uppercase;
}
p{
    font-family: Poppins-Light;
    text-transform: uppercase;
    margin-bottom: 0;
}
#map{
    width: 100vw !important;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.leaflet-popup {
    top: 45px !important;
    width: 610px
}
.leaflet-popup-tip-container {
    top: 0px !important;
    overflow: auto !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip{
    box-shadow: none !important;
    background-color: rgba(0,44,84,1);
    border-radius: 0;
}
.leaflet-popup:before
{
    content: "";
    position: absolute;
    border: 13px solid transparent;
    border-bottom-color: rgba(0,44,84,1);
    bottom: 0px;
    margin-left: -13px;
}
.leaflet-popup-content{
    margin: 0;
    padding:5px;
    width: 100% !important;
}
.leaflet-right{
    display: none !important;
}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button{
    top: -20px;
    padding: 4px;
    background-color: red;
    width: 20px;
    height: 20px;
    color: #ffffff;
}
.leaflet-marker-shadow{
    width: 28px !important;
    opacity: 0.3;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar{
    border:transparent;
}
.leaflet-bar a.leaflet-disabled,
.leaflet-bar a, .leaflet-bar a:hover{
    background-color: #004070;
    color: #FFFFFF;
}
.popup .slideshow .image{
    display:none;
}
.popup .slideshow .image.active {
    display:block;
}
.popup .slideshow img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.popup .cycle {
    padding: 0;
    position: absolute;
    top: 50%;
    width: 90%;
}
.popup .cycle a.prev,
.popup .cycle a.next {
    background: #004070;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.popup .cycle a.prev {
    float:left;
    color: #FFFFFF;
    margin-left: 2%;
}
.popup .cycle a.next {
    float:right;
    color: #FFFFFF;
}
.map-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #FFFFFF;
}
.map-icons{
    border: 1px solid #f79f1f;
    text-align: center;
    padding: .5rem;
    border-radius: 5px;
    margin: 2px;
    flex: 0 0 32%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.map-icons span{
    color: #f79f1f;
    font-size: 2rem;
    font-family: Poppins-Bold;
    margin-bottom: .8rem;
}
/*Home Page*/
.maps-bg{
    background-color: #004070;
    padding: 2rem 0;
    height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}
.map-heading{
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.campus-map,
.campus-map:hover{
    position: relative;
    display: block;
    color: #FFFFFF;
    text-transform: uppercase;
}
.campus-map img{
    width: 100%;
    height: 300px;
    border-radius: 20px;
}
.map-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.map-explore{
    position: absolute;
    bottom: -25px;
    background-color: #dd9e00;
    z-index: 1;
    border-radius: 5px;
    text-align: center;
    padding: .75em 2.5em;
}
.main-logo{
    background-color: #002c54;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.main-logo .nav-link{
    text-align: center;
}
.main-logo .nav-link img{
    width: 250px;
}
@media screen and (max-width: 768px){
    .maps-bg{
        height: auto;
    }
    h5{
        margin-top: .5rem;
    }
    .leaflet-popup-content{
        width: auto !important;
    }
    .leaflet-popup {
        width: 300px;
    }
    .popup .slideshow img{
        height: 305px;
    }
    .map-icons{
        flex: 0 0 48%;
    }
    .leaflet-popup-content-wrapper, .leaflet-popup-tip{
        height: 350px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}