@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Arvo:400,400i,700,700i|Hind:300,400,500,600,700|Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i&display=swap');

/* MyriadPro regular */

@font-face {
    font-family: "MyriadPro";
    src: url("../fonts/MyriadPro/MyriadPro-Regular.eot");
    src: url("../fonts/MyriadPro/MyriadPro-Regular.eot?#iefix") format('embedded-opentype'),
         url("../fonts/MyriadPro/MyriadPro-Regular.woff2") format('woff2'),
         url("../fonts/MyriadPro/MyriadPro-Regular.woff") format('woff'),
         url("../fonts/MyriadPro/MyriadPro-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}
img {
    max-width: 100%;
}
a:hover {
	text-decoration: none;
}

body {
	font-family: 'Lato', sans-serif;
}
.showLoader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
header.top_bar {
    position: relative;
    float: left;
    width: 100%;
    padding: 10px 100px;
    background-color: #0069ff;
    box-shadow: 0px 6px 11px 0px #7888a0;
    z-index: 2;
}
.search_form {
    position: relative;
    float: left;
    width: 100%;
}
.search_form button {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -13px;
    font-size: 16px;
    border: 0;
    background-color: #0000;
}
.search_form input {
    border: 0;
    background-color: #0000;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    padding: 10px 20px 10px 30px;
    font-weight: 600;
}
.search_form input::placeholder {
	color: #fff;
}
.toggle {
    position: relative;
    float: right;
    width: 100%;
    text-align: right;
}
.toggle svg {
    width: 40px;
    height: 50px;
}
.toggle svg g path {
    fill: #fff;
}
#map {
	position: absolute; 
	top: 0; 
	bottom: 0; 
	width: 100%; 
}

.mapboxgl-popup {
    max-width: 305px !important;
}
.mapboxgl-popup-content h3 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #0069ff;
    text-transform: uppercase;
}
.mapboxgl-popup-content p {
    margin-bottom: 0;
    font-family: 'Lato', sans-serif;
}
.mapboxgl-popup-content p b {
    float: left;
    padding-right: 3px;
}
.mapboxgl-popup-content p b:last-child {
    float: initial;
}
.mapboxgl-popup-content p.event_de a {
    color: #ff700a;
    font-weight: 400;
}
.mapboxgl-popup-content hr {
    margin: 0.5em 0px;
    border-top: 1px solid #d7d7d7;
}

header.event_cap {
    position: relative;
    float: left;
    width: 100%;
    padding: 50px 100px;
    background-color: #fff;
    z-index: 2;
}
.event_caption {
    position: relative;
    float: left;
    width: 100%;
}
.event_caption .event_label {
    position: relative;
    padding: 10px 20px;
    background-color: #2f71cd;
    max-width: 100px;
    float: left;
}
.event_caption .event_label svg {
    width: 30px;
    height: 30px;
}
.event_caption .event_label svg g path {
    fill: #fff;
}
.event_content {
    position: relative;
    float: left;
    width: calc( 100% - 70px);
    border: 1px solid #3070ba;
}
.event_content select#event_type {
    position: relative;
    float: left;
    width: 100%;
    padding: 13.5px 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #3070ba;
    border: 0;
}
.event_content select{
    -webkit-appearance: none;
    appearance: none;
}
.event_content input {
    padding: 13.5px 20px;
    width: 100%;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #3070ba;
    border: 0;
}
.event_content input::placeholder {
    color: #3070ba;
    opacity: 1;
}
.event_caption a {
    width: 100%;
    font-size: 18px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #fa6001;
    border-radius: 0px;
    transition: .3s;
    text-align: center;
    display: inline-block;
    padding: 14px 20px;
    color: #fff;
}
.map_details {
    position: relative;
    float: left;
    width: 100%;
}
.event_details .date-container img, .event_details .time-container img {
   margin-left: 20px;
}
.map_content_caption {
    position: relative;
    float: left;
    width: 100%;
    /*padding: 50px;*/
    box-shadow: 1px -6px 11px 0px #d0d0d0;
    z-index: 2;
    max-height: 1034px;
    overflow-y: scroll;
}
.map_content_caption .map_content {
    position: relative;
    float: left;
    width: 100%;
    padding: 50px;
    border-bottom: 1px solid #eaeaea;
}
.map_content_caption .map_content:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0px;
}
.map_content_caption .map_content .event_details {
    position: relative;
    float: right;
    width: 100%;
    text-align: right;
}
.event_details .date-time-container span > span svg {
    width: 17px;
    height: 17px;
    vertical-align: middle;
    margin-left: 10px;
}
.event_details .date-time-container {
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}
.event_details .time-container {
    margin-right: 30px;
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    color: #1d2939;
    display: inline-block;
}
.event_details .date-container {
    padding-left: 30px;
    border-left: 1px solid rgba(51, 51, 51, 0.2);
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    color: #1d2939;
    display: inline-block;
}
.event_image {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.event_image img {
    #width: 100%;
    #height: 100%;
    vertical-align: middle;
}
.event_details .event-title {
    position: relative;
    float: left;
    width: 100%;
}
.event_details .event-title h5 {
    font-family: 'Arvo', serif;
    font-size: 22px;
    font-weight: 400;
    color: #2f71cd;
    line-height: 1.3;
    max-width: 460px;
    float: right;
    cursor: pointer;
}
.event_details .event-vanue {
    position: relative;
    float: left;
    width: 100%;
}
.event_details .event-vanue a {
    font-family: 'Hind', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #fa6001;
    line-height: 23.65;
}
.event_details .event-description {
    position: relative;
    float: left;
    width: 100%;
}
.event_details .event-description p {
    font-size: 17px;
    font-weight: 400;
    font-family: "Hind";
    max-width: 450px;
    float: right;
    color: #1d2939;
}
.event_details .event-linkings {
    position: relative;
    float: left;
    width: 100%;
}
.event_details .event-linkings a {
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 20px;
    color: #1d2939;
}
.event_details .event-linkings a.event-details {
    margin-right: 0;
}
.map_content_caption .map_content:hover .event-title h5,
.map_content_caption .map_content:hover .event-linkings a  {
    color: #fa6001;
}
.map_content_caption .map_content:hover .event_image img {
    border-left: 5px solid #ff700a;
    box-shadow: 6px 0px 11px 0px #d0d0d0;
}
/*#map canvas{
    height: 1034px !important;
}*/
#map .marker.event_type_CANVASS{
    background-image: url('../img/event-icon/CANVASS.png');
}
#map .marker.event_type_OTHER{
    background-image: url('../img/event-icon/OTHERS.png');
}
#map .marker.event_type_PHONE_BANK{
    background-image: url('../img/event-icon/PHONE_BANK.png');
}
#map .marker.event_type_TEXT_BANK{
    background-image: url('../img/event-icon/TEXT_BANK.png');
}
#map .marker.event_type_MEETING{
    background-image: url('../img/event-icon/MEETING.png');
}
#map .marker.event_type_COMMUNITY{
    background-image: url('../img/event-icon/COMMUNITY.png');
}
#map .marker.event_type_FUNDRAISER{
    background-image: url('../img/event-icon/FUNDRAISER.png');
}
#map .marker.event_type_MEET_GREET{
    background-image: url('../img/event-icon/MEET_GREET.png');
}
#map .marker.event_type_HOUSE_PARTY{
    background-image: url('../img/event-icon/HOUSE_PARTY.png');
}
#map .marker.event_type_VOTER_REG{
    background-image: url('../img/event-icon/VOTER_REG.png');
}
#map .marker.event_type_TRAINING{
    background-image: url('../img/event-icon/TRAINING.png');
}
#map .marker.event_type_FRIEND_TO_FRIEND_OUTREACH{
    background-image: url('../img/event-icon/FRIEND_TO_FRIEND_OUTREACH.png');
}
#map .marker.event_type_SIGNATURE_GATHERING{
    background-image: url('../img/event-icon/SIGNATURE_GATHERING.png');
}
#map .marker.event_type_ADVOCACY_CALL{
    background-image: url('../img/event-icon/ADVOCACY_CALL.png');
}
#map .marker.event_type_BARNSTORM{
    background-image: url('../img/event-icon/BARNSTORM.png');
}
#map .marker.event_type_DEBATE_WATCH_PARTY{
    background-image: url('../img/event-icon/DEBATE_WATCH_PARTY.png');
}
#map .marker.event_type_FRIEND_TO_FRIEND_OUTREACH{
    background-image: url('../img/event-icon/FRIEND_TO_FRIEND_OUTREACH.png');
}
#map .marker.event_type_OFFICE_OPENING{
    background-image: url('../img/event-icon/OFFICE_OPENING.png');
}
#map .marker.event_type_SOLIDARITY_EVENT{
    background-image: url('../img/event-icon/SOLIDARITY_EVENT.png');
}
.map_content.selected-event {
    background-color: #f7f7f7;
}
.map_content_caption .have-no-events {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.map_content_caption .have-no-events h4 {
    font-family: Source Sans Pro;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #00b4ff;
    font-weight: bold;
    line-height: 1;
}
.map_content_caption .have-no-events p {
    font-family: Source Sans Pro;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #0014b0;
}
#reset_map {
    position: absolute;
    margin-top: 10px;
    margin-right: 10px;
    padding: 8px;
    border: none;
    border-radius: 3px;
    font-size: 18px;
    color: #fff;
    background: #fa6001;
    z-index: 9;
    right: 0px;
    cursor: pointer;
}
.mapboxgl-popup-content {
    position: relative;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 25px 20px 20px 20px;
    pointer-events: auto;
    text-align: center;
    font-family: 'Lato', sans-serif;
}
.mapboxgl-popup-close-button {
    right: 3px;
    top: 2px;
    cursor: pointer;
    color: #333333 !important;
    width: 15px;
    height: 15px;
    padding: 0;
    line-height: 10px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}
.mapboxgl-popup-content .event-title {
    font-size: 18px;
    font-weight: bold;
    color: #2f71cd;
}
.mapboxgl-popup-content .event-date {
    font-size: 14px;
    color: #1d2939;
    padding-top: 5px;
}
.mapboxgl-popup-content .event-location a {
    color: #bc0000;
    font-size: 14px;
    padding-top: 5px;
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
}
.mapboxgl-popup-content .gmap-waze-container {
    width: 150px;
    margin: 5px auto 0;
    display: flex;
    justify-content: center;
    height: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: height .8s;
    transition: height .8s;
}
.mapboxgl-popup-content .gmap-waze-container.show {
    height: auto;
    opacity: 1;
    visibility: visible;
}
.mapboxgl-popup-content .g-map-icon {
    background-image: url('../img/event-icon/google-maps.svg');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
}
.mapboxgl-popup-content .w-map-icon {
    background-image: url('../img/event-icon/waze.svg');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
}
#map .marker.active-marker {
    background-image: url('../img/event-icon/map-icon-active.png');
    width: 88px;
    height: 88px;
}
#map .mapboxgl-marker {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}
#map .marker {
    background-size: cover;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}
.select_county {
position: absolute;
z-index: 2;
    font-family: 'Arvo', serif;
    font-size: 18px;
    font-weight: 400;
    color: #2f71cd;
    text-align: center;
    top: 10px;
    left: 10px;

}
.select_county p{
background-color: #fff;
text-align: center;
padding: 4px;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
}
.select_county p:last-child {
    margin-bottom: 0;
}
