/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * General styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.br_linkback {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
}

.br_linkback a img {
    border: none;
    border-radius: 5px;
    width: 200px;
}

svg.open-quotes.quotes, svg.close-quotes.quotes {
    margin: 0 5px;
    display: block;
}

svg.close-quotes.quotes {
    margin-left: auto;
}

.br-positive-star {
    width: 20px;
    margin: 2px;
    fill: #fa0;
}

.br-negative-star {
    width: 20px;
    margin: 2px;
    fill: #ccc;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Check-in's styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#Checkins {
    width: 100%;
    text-align: center;
    font-family: "montserrat", sans-serif;
    font-weight: 300;
    background: #fff;
    border-radius: 10px;
    margin: 10px auto;
    padding: 10px 5px;
    box-sizing: border-box;
}

#Checkins h2 {
    color: #5f5f5f;
}

#Checkins #checkin-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

#Checkins .checkin {
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    width: 48%;
    margin: 7px auto;
    text-align: left;
    color: #7d7d7d;
}

/* Apply this style when the viewport width is less than 1200px */
@media screen and (max-width: 1200px) {
  #Checkins .checkin {
    width: 100%;
  }
}

#Checkins .checkin-user {
    font-size: 1.41rem;
    display: block;
    margin-bottom: .25rem;
}

#Checkins .checkin time {
    font-size: 0.81rem;
    display: block;
    margin-bottom: .5rem;
}

#Checkins .checkin-text {
    margin: 20px;
    font-style: italic;
    font-size:14px;
    line-height: 1.75;
    text-align: center;
}

#Checkins .br-map-image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

#Checkins .br-image-container, .br-map-container {
    flex: 1;
    margin: 5px;
}

#Checkins .checkin-thumbnails {
    display: block;
    margin: 5px 0;
}

#Checkins .checkin-thumbnails div a img:nth-of-type(even){
/*    display: block;*/
}

#Checkins .br-nav-buttons {
    width: 100%;
    display: block;
    text-align: center;
}

#Checkins button {
    display: inline-block;
    margin: 5px;
    background-color: #03bff9;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 3px;
}

#Checkins .checkin .checkin-image {
    width: 260px;
    height: 260px;
    outline: 0px solid #eaeaea;
    border: 0px solid #fff;
    background: transparent;
    padding: 0;
    margin: 0;
}

#Checkins .checkin .checkin-image-thumb {
    width: 40px;
    height: 40px;
    margin: 2px;
    background: transparent;
    padding: 0;
}

#Checkins .br-geo-map {
    width: 260px;
    height: 260px;
    outline: 1px solid #eaeaea;
    border: 8px solid #fff;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Check-in Map styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#CheckinMap {
    border: 3px solid #fff;
    border-radius: 10px;
    margin: 10px auto;
}

#CheckinMap #br-map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Reviews styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#Reviews {
    width: 100%;
    text-align: center;
    font-family: "montserrat", sans-serif;
    font-weight: 300;
    background: #fff;
    border-radius: 10px;
    margin: 10px auto;
    padding: 10px 5px;
    box-sizing: border-box;
}

#Reviews h2 {
    color: #5f5f5f;
}

#Reviews #review-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

#Reviews .review {
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    width: 48%;
    margin: 7px auto;
    text-align: left;
    color: #7d7d7d;
}

#Reviews .review-user {
    font-size: 1.41rem;
    display: block;
    margin-bottom: .25rem;
}

#Reviews .review-author {
    font-size: 20px;
    font-weight: 600;
}

#Reviews .review-author img {
    max-height: 18px;
    margin-right: 3px;
}

#Reviews .review time {
    font-size: 0.81rem;
    display: block;
    margin-bottom: .5rem;
}

#Reviews .review-text {
    margin: 20px;
    font-style: italic;
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}

#Reviews .br-map-image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

#Reviews .br-image-container, .br-map-container {
    flex: 1;
    margin: 5px;
}

#Checkins .review-thumbnails {
    display: block;
    margin: 5px 0;
}

#Reviews .review-thumbnails div a img:nth-of-type(even){
/*    display: block;*/
}

#Reviews .br-nav-buttons {
    width: 100%;
    display: block;
    text-align: center;
}

#Reviews button {
    display: inline-block;
    margin: 5px;
    background-color: #03bff9;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 3px;
}

#Reviews .review .review-image {
    width: 260px;
    height: 260px;
    outline: 1px solid #eaeaea;
    border: 8px solid #fff;
}

#Reviews .review .review-image-thumb {
    width: 40px;
    height: 40px;
    margin: 2px;
}

#Reviews .br-geo-map {
    width: 260px;
    height: 260px;
    outline: 1px solid #eaeaea;
    border: 8px solid #fff;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Review Slider styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#review-slider {
    width: 100%;
    font-family: "montserrat", sans-serif;
    background: #fff;
    border-radius: 10px;
    margin: 10px auto;
    padding: 15px;
    box-sizing: border-box;
    color: #7d7d7d;
    font-size: 16px;
}

#review-slider .slider-content {
    margin: 15px 0;
}

#review-slider .slider-author img {
    max-height: 18px;
    margin-right: 3px;
}

#review-slider .slider-author {
    font-size: 20px;
    font-weight: 600;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Review Us Modal styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#datapins_reviewus .br-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#datapins_reviewus .br-modal-content {
    background-color: #fefefe;
    font-family: "montserrat", sans-serif;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 600px;
    border-radius: 10px;
    text-align: center;
}

#datapins_reviewus .br-modal-content h2 {
    font-size: 20px;
    font-weight: 400;
}

#datapins_reviewus .br-modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#datapins_reviewus .br-modal-close:hover, .br-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#datapins_reviewus hr {
    border: none;
    height: 1px;
    background: #d4d4d4;
    margin: 14px 0;
}

#datapins_reviewus select {
    padding: 5px;
    border-radius: 5px;
    margin: 7px;
    min-width: 200px;
}

#datapins_reviewus .br-rating {
    border: none;
    display: block;
    width: 20rem;
    margin: 1rem auto 0;
    direction: rtl;
    box-sizing: content-box;
}

#datapins_reviewus .br-form-group label {
    position: relative;
    display: inline-flex;
}

#datapins_reviewus .br-rating .br-star {
    position: relative;
}

#datapins_reviewus .br-rating input {
    display: none;
}

#datapins_reviewus .br-form-group {
    border: 1px solid #dadada;
    margin: 20px 0;
    padding: 15px 5px;
    border-radius: 10px;
    background: #f7f7f7;
}

#datapins_reviews .review-star, #datapins_reviewus .review-star {
    width: 40px;
    fill: #b7b7b7;
}

#datapins_reviewus .br-rating > input:checked ~ label .review-star,
#datapins_reviewus .br-rating:not(:checked) > label .review-star:hover,
#datapins_reviewus .br-rating:not(:checked) > label:hover ~ label .review-star {
    fill: #FFD700;
}

.br-review-img {
    max-width: 150px;
}

.br-review-link {
    display: inline-block;
    width: 150px;
    text-decoration: none;
    color: #000;
    background-color: #e8e8e8;
    padding: 8px;
    border: 1px solid #cacaca;
    border-radius: 7px;
}

.br-review-link:hover {
    background-color: #dedede;
    border: 1px solid #a0a0a0;
}

.br-company-logo {
    max-width: 400px;
    margin: 8px auto 12px auto;
}

.review-us-button {
    background-color: #03bff9;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    color: #fff;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Hub page list styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#datapins_hubpages {
    background: white;
    padding: 6rem 2rem;
}

#datapins_hubpages ul {
    text-align: center;
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
}

#datapins_hubpages li {
    display: inline-block;
    margin: .5rem;
}

#datapins_hubpages h2 {
    color: black;
    font-weight: 700;
    text-align: center;
    margin: 0 0 4rem;
}

@media screen and (min-width: 700px) {
    ul {
        margin: 0 1rem 0 0;
    }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Mobile Responsive styling
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 1200px) {

    #Checkins {
        flex-direction: column;
    }

    #Checkins .br-map-image-container {
        flex-flow: row wrap;
    }

    #Checkins .checkin {
        width: 100%;
    }

    #Reviews {
        flex-direction: column;
    }

    #Reviews .br-map-image-container {
        flex-flow: row wrap;
    }

    #Reviews .review {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {

    #Checkins .br-map-image-container {
        flex-flow: column wrap;
        align-items: center;
    }

    #Reviews .br-map-image-container {
        flex-flow: column wrap;
        align-items: center;
    }

}
