div#message {
    width: 15em;
    margin: 1em;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: normal;
    font-size: 12px;
    border-radius: 5px;
    background: #388070;
    color: white;
    border: 2px solid white;
    padding: 0.01em 1em 0.01em 1em;
}

.map-container {
    position: relative;
    padding-bottom: 49%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.source-photo a {
    color: white;
}


/*Buttons on Click*/

.but-Map {
    background-color: #083D54;
    color: white;
    font-weight: bold;
    border: 1px solid #083D54;
    height: 30px;
    width: 95px;
    text-align: center;
    float: right;
}

.w3-col {
    padding-bottom: 10px;
    padding-top: 10px;
}


/*Buttons*/

.onoffButton {
    margin: 8px;
    font-size: 13px;
    padding: 8px 16px;
    width-min: 150px;
    text-align: center;
    float: left;
    border: none;
    display: inline-block;
    outline: 0;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    cursor: pointer;
    white-space: nowrap;
    background-color: #ebbe62;
    color: #151515;
    font-family: 'Raleway', sans-serif;
}


/* Map control buttons*/

button.onoffButton: hover {
    background: #11375F;
    color: white;
}

.buttonOn {
    background-color: #839721;
    color: white;
}

table {
    color: #090f0f;
    font-family: Lato, Serif;
    width: auto;
}

#summary_ofcommunityinput {
    padding: 2.5px 8px 2.5px 8px;
    float: left;
    width: 99%;
}

h2 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 23px;
}

#latestCommentHeader {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

p {
    color: #090f0f;
    font-family: Lato, Serif;
    font-size: 15px;
    max-width: 85%px;
    padding: 2.5px 15px 0px 15px;
    word-wrap: break-word;
}

#locationlastComment {
    font-style: italic;
    font-size: 15px;
}

.hidden {
    display: none;
}

.wrapper-content {
    width: 100%;
    overflow: hidden;
}

.dvMap {
    width: 100%;
    /*850px;*/
    overflow: hidden;
}

.wrapper {
    position: relative;
    padding-bottom: 100%;
    /* 56.25%; ratio 16x9 */
    height: 0;
    height: auto;
}


/*responsive styling */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .wrapper-content {
        max-width: 725px;
    }
    .dvMap {
        max-width: 600px;
    }
}


/*responsive styling */

@media only screen and (min-device-width: 360px) and (max-device-width: 767px) {
    .wrapper-content {
        max-width: 340px;
    }
    .dvMap {
        max-width: 340px;
    }
}


/*Like button */

#locationlastComment {
    font-style: italic;
}

.likeButtonC {
    margin: 0px 25px 2px 10px;
    background-color: rgba(3, 122, 207, 0.5);
    border: 2px solid white;
    width: 32px;
    border-radius: 8px;
    /*height: 24px;*/
    cursor: pointer;
    float: left;
}

.likeButtonC:hover {
    background-color: rgba(211, 211, 211, 0.95);
    border: 2px solid rgba(3, 122, 207, 0.8);
}

#thumbsUpIcon {
    fill: white;
    float: left;
    width: 28px;
    padding-right: 2px;
}

#supportText {
    font-size: 11px;
    float: right;
}

.likeButtonC:hover>#thumbsUpIcon {
    fill: rgba(3, 122, 207, 0.8);
}


/*Like Text and Flagged for removal interchange*/

#LikeText {
    color: white;
    font-family: Lato, Serif;
    font-size: 15px;
    margin: 5px 0px 5px 0px;
    padding: 5px 0px 3px 0px;
    background-color: rgba(211, 211, 211, 0.95);
    width: 240px;
    border-radius: 5px;
    height: 38px;
}

#FlaggedforRemoval {
    color: white;
    font-family: Lato, Serif;
    font-size: 15px;
    margin: 5px 0px 5px 0px;
    padding: 5px 0px 3px 0px;
    background-color: rgba(211, 211, 211, 0.95);
    width: 240px;
    border-radius: 5px;
    height: 38px;
}

#flagged-remove {
    color: #8C272A;
    font-weight: bold;
    padding-bottom: 5px;
}

#VoteUpCount {
    font-size: 14px;
    color: white;
    font-weight: bold;
    margin: 2px 4px 2px 4px;
}


/*Stars for the Google Rating*/

.rating {
    margin: 10px 0;
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.rating i {
    display: inline-block;
    width: 0;
    height: 1.5em;
    border-width: 0 0.75em;
    border-style: solid;
    border-color: #eee;
    border-radius: .22em;
    color: white;
    background: #eee;
    font-style: normal;
    line-height: 1.6em;
    text-indent: -0.5em;
    text-shadow: 1px 0 1px #b3b3b3;
}

[data-rate='.5'] .star-1 {
    border-left-color: #fae596;
}

[data-rate^='1'] .star-1 {
    border-color: #fae596;
    background: #fae596;
}

[data-rate='1.5'] .star-2 {
    border-left-color: #fae596;
}

[data-rate^='2'] .star-1,
[data-rate^='2'] .star-2 {
    border-color: #FAA86A;
    background: #FAA86A;
}

[data-rate='2.5'] .star-3 {
    border-left-color: #FAA86A;
}

[data-rate^='3'] .star-1,
[data-rate^='3'] .star-2,
[data-rate^='3'] .star-3 {
    border-color: #E06B4A;
    background: #E06B4A;
}

[data-rate='3.5'] .star-4 {
    border-left-color: #E06B4A;
}

[data-rate^='4'] .star-1,
[data-rate^='4'] .star-2,
[data-rate^='4'] .star-3,
[data-rate^='4'] .star-4 {
    border-color: #B04D3A;
    background: #B04D3A;
}

[data-rate='4.5'] .star-5 {
    border-left-color: #B04D3A;
}

[data-rate='5'] i {
    border-color: #8C272A;
    background: #8C272A;
}


/** Print */

@media print {
    .rating {
        -webkit-print-color-adjust: exact;
    }
    .rating i {
        text-shadow: none;
    }
}

.star {
    margin-right: .25em;
    padding-left: .25em;
}

.num-stars {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
}


/*Popup window on markers*/

.comment-popup {
    font-family: 'Lato', sans-serif;
}

.comment-popup b {
    font-size: 16px;
}


/*Input form */

.add-marker .text-comment {
    width: 100%;
}

.add-marker #type {
    font-size: 12px;
}

.remove-button i {
    color: red;
}


/*
.remove-button {
    width: 200px;
}
*/

.remove-button .glyphicon {
    margin-right: 15px;
}


/*legend*/

#summary_ofcommunityinput .w3-row {
    font-size: 15px;
}

#summary_ofcommunityinput .w3-row span {
    float: right;
}

#summary_ofcommunityinput h2 {
    margin-top: 10px;
    display: inline-block;
}

#summary_ofcommunityinput span {
    margin-left: 5px;
    font-size: 14px;
    margin-top: -10px;
    display: inline-block;
}

.legendLatestComment p {
    line-height: 15px;
}

.leged img {
    vertical-align: middle;
}

.leged-item img {
    float: left;
}

.legend-item span {
    margin-top: 5px;
    font-size: 14.5px;
}


/*TOOLTIP*/

.leged-item {
    position: relative;
}

.leged-item .tooltiptext {
    visibility: hidden;
    font-size: 14.5px;
    width: 135px;
    background-color: white;
    color: #083D54;
    text-align: center;
    border-radius: 6px;
    padding: 10px 5px;
    position: absolute;
    z-index: 77;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}

.leged-item .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #083D54 transparent transparent transparent;
}

.leged-item:hover .tooltiptext {
    visibility: visible;
}


/*If Very Small in an Iframe*/

h3 {
    font-size: 28px;
    line-height: 34px;
}

h4 {
    font-size: 22px;
    line-height: 29px;
}

div.w3-container p,
div p.w3-center,
div.w3-col,
div.w3-container {
    font-size: 14px;
}

#summary_ofcommunityinput h2 {
    font-size: 15px;
}

#summary_ofcommunityinput span {
    display: none;
}

.leged-item .tooltiptext {
    width: 105px;
}

div.clear-selection {
    margin: 0px;
}

@media (max-width: 400px) {
    #latest-comment {
        display: none;
    }
}
