#search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #a0cf96;
    border-radius: 5px;
    font-weight: bold;
}

#search-form select {
    margin: 5px;
    height: 28px;
}

#search-form #postcode {
    width: 60px;
}

label {
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

#lost-message {
    text-align: center
}

#search-form {
    padding: 5px;
}

input, button {
    height: 28px;
}

button {
    margin-top: 7px;
}

#rainbowbridge, #found {
    height: auto;
}

.result {
    padding: 10px;
    border: 1px solid #456b34;    
    border-radius: 5px;
    margin-top: 10px;
}

.result-found {
    background-color: #a0cf96;
}

.result-lost {
    background-color: #7c1c2c;
}

.result-lost .result-details {
    color: white !important;
}

.result-lost > div.result-details > div.result-info > div.result-main-info > div.result-main-info-info > div.result-heading {
    text-shadow: none;
}

.result-lost > div.result-actions > .result-links {
    background-color: #51121d;
}

.result-lost > div.result-details > div.result-info > div.result-main-info > div.result-shares {
    background-color: #51121d;
}

.result-rainbowbridge {
    background-color: cornsilk;
}

.result-image {
    text-align: center;
}

.result-details {
    display: flex;
}

.result-details div {
    flex-grow: 1;
}

.result-picture {
    margin-right: 10px !important;
    margin-right: 10px;
    max-width: 110px;
}

.result-links {
    color: #fff;
    background-color: #456b34;
    position: relative;
    bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    left: -10px;
    bottom: -10px;
    padding: 5px;
    width: calc(100% + 20px);
}

.result-link:before {
    content: " | ";
}

.result-link:nth-child(1):before {
    content: "";
}

.result-quick-links {
    width: 100%;
    text-align: center;
}

.result-link {
    padding-right: 3px;
    padding-left: 3px;
}

.result-shares {
    top: 0px;
    background: url(../../img/pawprint.png) no-repeat;
    background-position: center; 
    text-align: center;
    margin-left: 10px;
    min-width: 50px;
    width: 70px;
    float: right;
    flex-grow: 0;
    height: 70px;
    color: #fff;
    font-weight: bold;
    background-color: #456b34;
    border-radius: 5px;
    display: table;
    vertical-align: middle;
}

.result-social-links {
    margin-top: 5px;
}

.result-reporter img {
    margin-top: 5px;
    width: 55px;
    margin-left: 5px;
}

.social-link {
    margin: 5px;
}

.result-quick-links {
    display: flex;
}

.result-details {
    color: #274f00 !important;
}

.result-heading {
    text-shadow: 0 1px 0.5px #fff;
    font-weight: bold !important;
}

.result-main-details {
    font-size: 1.3rem;
}

.result-description {
    margin-top: 10px;
}

.result-main-info-info {
    width: calc(100% - 80px);
    display: inline-block;
}

.result-shares-spacer{
    height: 10px;
}

#gMapBox {
    height: 70%;
    width: 70%;
    background-color: transparent;
    display: absolute;
    vertical-align: middle;
    margin: 15vh auto;
}

#gMapContainer {
    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.6);
}

.navigation-button {
    display: inline-block;
    padding: 10px;
    background-color: #456b34;
    margin-left: 10px;
    border-radius: 5px;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#paging {
    height: 50px;
}

.navigation-button a {
    color: #a0cf96;
}

#navigation-forward {
    position: relative;
    float: right;
    right: -10px;
}

#navigation-back {
    position: relative;
    left: -10px;
}

.navigation-button:hover {
    background-color: #a0cf96;
}

.navigation-button:hover a {
    color: #456b34;
}

.reunited-overlay { 
    z-index: 10;
    width: 111px;
    height: 149px;
    position: absolute;
    background-image: url(../../images/reunited-overlay.png);
    display: none;
}

.reserved-overlay { 
    z-index: 10;
    width: 111px;
    height: 149px;
    position: absolute;
    background-image: url(../../images/reserved-overlay.png);
    display: none;
}

.rehomed-overlay { 
    z-index: 10;
    width: 111px;
    height: 149px;
    position: absolute;
    background-image: url(../../images/rehomed-overlay.png);
    display: none;
}

.twitter-link a {
    cursor: pointer;
}

.reunited-yes .result-details .result-picture .reunited-overlay, 
.reserved-yes .result-details .result-picture .reserved-overlay, 
.rehomed-yes .result-details .result-picture .rehomed-overlay {
    display: block;
}

#no-results-notice {
    text-align: center;
}

#rehoming-links {
    display: flex;
    flex-flow: row wrap;
}

.rehoming-logo-left {
    padding-right: 10px;
}

.rehoming-logo-right {
    padding-left: 10px;
}

.rehoming-logo img {
    width: 50px;
    height: 50px;
}

.rehoming-link {
    display: flex;
    padding: 10px;
    margin: 10px;
    text-align: center;
    text-shadow: 0 1px 0.5px #fff;
    font-weight: bold !important;
    font-size: 1rem;
    border-radius: 25px;
    min-width: 500px;
    flex: 1;
}

.rehoming-details {
    width: 100%;
}

.rehoming-link-catchat {
    background: rgb(165,90,214);
    background: -moz-linear-gradient(180deg, rgba(165,90,214,1) 0%, rgba(141,75,184,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(165,90,214,1) 0%, rgba(141,75,184,1) 100%);
    background: linear-gradient(180deg, rgba(165,90,214,1) 0%, rgba(141,75,184,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a55ad6",endColorstr="#8d4bb8",GradientType=1);
    color: #a55ad6 !important;
}

.rehoming-link-catchat a {
    color: white;
    font-size: 30px;
    text-shadow: none;
}

.mobile-image {
    display: none;
}

@media all and (max-width: 667px){
    .rehoming-logo img {
        margin-top: 0;
    }
    
    .rehoming-details {
        line-height: 35px;
    }

    .result-phone-number {
        font-size: 30px !important;
    }
}

h3 {
    text-align: center;
}

.in-need-of-space {
    border: 5px solid #51121d;
    background-color: #7c1c2c;
    color: #d89608;
    padding: 5px;
    font-weight: bold;
    display: none;
    margin-top: 5px;
    text-transform: uppercase;
    text-align: center;
}

.in-need-of-space-true {
    display: block;
}


@media all and (max-width: 1200px) {
    .rehoming-logo img {
        margin-top: 0;
    }
    
    .rehoming-details {
        line-height: 35px;
    }
    .result-phone-number {
        font-size: 30px !important;
    }
}