.afmap {
    position:relative;
}

.afmap__map-container {
    opacity:1;
    transition: all 300ms;
    height: 700px !important;
}

.afmap__load-indicator {
    height: 100%;
    width:100%;
    position:absolute;
    z-index:2;
    background-color:transparent;
    /* opacity:0.3; */
    display:none;
}

.afmap__button-container {
    position:absolute;
    z-index:3;
    top:0;
    left:0;
    padding-top:22px;
    padding-left:22px;
}

.afmap__button-container .map-button {
    display:inline-block;
    margin-left:10px;
    color:white !important;
    cursor: pointer !important;
    /* font-family: 'Roboto Condensed', Arial, sans-serif !important; */
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-weight:400 !important;
    font-size: 16px !important;
    line-height: 42px; 
    padding-left: 25px; 
    padding-right: 25px;
    text-transform:uppercase;
    text-decoration:none !important;
    background-color: rgb(255, 127, 0); 
    box-shadow: rgba(0, 0, 0, 0.4) 5px 0px 8px;
}

.afmap__button-container .map-button:first-child {
    margin-left:0;
}

.afmap__button-container .map-button.more-jobs, .afmap__button-container .map-button.more-jobs-loading, .afmap__button-container .map-button.extra {
    background-color: rgb(0, 82, 156);
}

.afmap__map-container {
    position:relative;
    z-index:1;
}

.infobox {
    padding:0;
    font-size: 20px;
}

.infobox_title {
    padding:0 50px 0 16px;
    background-color: white;
    font-size: 21px;
    font-weight: bold;
    line-height:40px;
    border-bottom: 1px solid #b9c6d0;
}

.infobox_content {
    overflow:auto;
    background-color: rgb(234, 244, 250);
    padding-top:10px;
    padding-bottom:10px;
    max-height:365px;
    box-sizing: border-box;
}

.afmap .gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg,rgba(234,244,250,1) 50%,rgba(234,244,250,0) 51%,rgba(234,244,250,0) 100%) !important;
}

.infobox_content ul, .infobox_content li {
    list-style: none;
    padding:0;
    line-height:1.4em;
    margin-bottom: 0;
}

.infobox_content li {
    padding: 2px 16px;
    font-size: 14px !important;
}

.infobox_content li a {
    color: #333333 !important;
    text-transform: capitalize;
    outline: none !important;
}

.infobox_content li a:focus {
    text-decoration:inherit !important;
}

.infobox_content li a:focus:hover {
    text-decoration:underline !important;
}
.show-on-mobile {
    display:none !important;
}

/**
*   Mobile Map Styles
*/
@media screen and (max-width: 768px) {
    #map-canvas {
        height: 500px !important;
    }
    .afmap__map-container {
        height: 500px !important;
    }
    .infobox_content {
        max-height:250px;
    }
    .afmap__button-container .map-button {
        font-size: 12px !important;
        line-height: 32px; 
        padding-left: 10px; 
        padding-right: 10px;
        margin-left: 5px;
    }
    .afmap__button-container .map-button:first-child {
        margin-left:0;
    }
    .infobox_title {
        font-size: 16px;
    }
    .hide-on-mobile {
        display:none !important;;
    }
    .show-on-mobile {
        display:inline !important;;
    }
}

body.more-jobs .afmap__map-container {
    opacity:0.5;
}

body.more-jobs .afmap__load-indicator {
    display:block;
}

body.more-jobs.more-jobs-loaded .afmap__map-container {
    opacity:1;
}

body.more-jobs.more-jobs-loaded .afmap__load-indicator {
    display:none;
}

.map-button {
    vertical-align: middle;
}

.map-button.more-jobs {
    display:none;
}

.map-button.more-jobs-loading {
    display:inline-block;
    opacity:0.5;
    cursor:no-drop !important;
    overflow:hidden;
}

.map-button.hot-jobs {
    display:none;
}

body.hot-jobs-loaded .map-button.hot-jobs {
    display: inline-block;
}

body.hot-jobs-loaded .map-button.hot-jobs-loading {
    display:none;
}

.map-button.hot-jobs-loading {
    display:inline-block;
    opacity:0.5;
    cursor:no-drop !important;
    overflow:hidden;
}

body.more-jobs-loaded .map-button.more-jobs {
    display:inline-block;
}

body.more-jobs-loaded .map-button.more-jobs-loading {
    display:none;
}

.afmap__button-container {
    cursor:default !important;
}

body.hot-jobs .usaJobBoardItem {
    display: none;
}

body.more-jobs .jobBoardItem {
    display: none;
}

body.hot-jobs form.more-jobs-search {
    display: none;
}

i.map-loading {
    font-size:22px;
    line-height:42px;
    animation-duration: 1.25s;
    animation-name: rotate; 
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.afmap__load-indicator>i.map-loading {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    animation-name: rotateTranslate;
    display:block;
    height:100px;
    width:100px;
    line-height:100px;
    text-align:center;
    font-size:40px;
    color:rgba(255,255,255,0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }
    50% {
        transform: rotate(180deg);
    }
    to {
        transform: rotate(359deg);
    }
  }

  @keyframes rotateTranslate {
    from {
        transform: translate(-50%, -50%) rotate(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(359deg);
    }
  }