.center {
    text-align: center;
}

/* Animations */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}


/* /* Dealer finder Map */
#map {
    height: 100%;
    min-height: 500px;
}

/* Dealer finder results */
.dealer-finder .container-wrap {
    -webkit-box-flex: 1;
        -ms-flex: 1 50%;
            flex: 1 50%;
}

.dealer-finder .container-wrap.option-brand {
    padding: 10px 20px 20px 0px;
}

.dealer-finder .container-wrap.option-radius {
    padding: 10px 0px 20px 10px;
}

.dealer-finder .flex-parent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 50%;
    margin: auto;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.dealer-finder .flex-child {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.dealer-finder .flex-parent input[type="text"] {
    -webkit-box-flex: 1;
        -ms-flex: 1 60%;
            flex: 1 60%;
    box-shadow: 0 0 0 2px #ec0000;
}

.home-find-a-dealer a {
    margin-top: 20px;
    display: inline-block;
    text-decoration: underline;
    font-weight: 900;
}

.dealer-finder .flex-parent .w-btn {
    -webkit-box-flex: 1;
        -ms-flex: 1 40%;
            flex: 1 40%;
    background-color: #df0523;
    color: white;
    box-shadow: 0 0 0 2px #ec0000;
    border: solid 0px #ec0000;
    font-size: 0.9em;
}

.dealer-finder .flex-parent .w-btn:hover {
    background-color: #b81d35;
}

.empty_space {
    border-bottom: 1px solid black;
    margin: 5% 20% 3%;
}

@media screen and (max-width: 1110px) {
    .dealer-finder .flex-parent {
        max-width: 80%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .dealer-finder .container-wrap.option-brand {
        padding: 10px 0px 20px 0px;
    }

    .dealer-finder .container-wrap.option-radius {
        padding: 10px 0px 20px 0px;
    }

    .dealer-finder .flex-parent input[type="text"] {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        margin-bottom: 20px;
    }

    .dealer-finder .w-btn.flex-child {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
        width: 100%;
        margin-top: 10px;
    }
    .empty_space {
        margin-left: 10%;
        margin-right: 10%;
    }
}

#results {
    display: flex;
    height: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#results > div {
    background: #edf2f6;
    border-left: 5px solid #fd0900;
    padding-top: 1rem;
    border-radius: 5px;
    margin: 0px 1% 50px 1%;
    flex: 0 1 31%;
    box-shadow: 0 0 10px 0px #ccc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#results h3,
#results p {
    padding: 0 1rem;
    margin: 3px 0px;
}
#results p a{
    font-weight: bold;
}
#results h3 {
    flex: 1 1 100%;
}
#results .direction {
    text-align: center;
    background: #ff0200;
}
#results .direction a {
    color: #fff;
    display: block;
}
#results .direction a i {
    display: inline-block;
    padding: 0 3px;
}
#results .direction a:hover {
    text-decoration: underline;
}
#results .direction a:hover i {
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@media screen and (max-width: 900px){
    #results > div {
        flex: 1 1 48%;
    }
}
@media screen and (max-width: 600px){
    #results > div {
        flex: 1 1 100%;
        margin: 0 0 20px;
    }
}
.online-dealers {
    text-decoration: underline;
    font-weight: bold;
    color: #d91200;
}

.online-dealers span, .online-dealers span a{
	text-decoration: underline;
	font-weight: normal;
	color: #d91200;
    cursor: pointer;
}

.online-dealers span:hover, .online-dealers span a:hover {
	color: #000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.map-content {
    /*text-align: center;*/
}

.map-content .direction {
    background-color: #ff0200;
    text-align: center;
}

.map-content .direction a {
    display: block;
    color:  white;
    padding: 5px;
}