﻿.memberGroupSearch--title {
    font-size: 23px;
    color: #2E487D;
    font-weight: bold;
    text-align: center;
}

.memberGroupSearch--search {
    border-top: solid 1px #284376;
    padding: 3px;
    font-weight: bold;
}

.memberGroupSearch--search--title {
    font-style: italic;
    font-size: 16px;
    padding: 0;
}

.memberGroupSearch--search--form--item {
    font-size: 14px;
    margin: 5px 10px;
}

    .memberGroupSearch--search--form--item div:nth-child(1) {
        font-weight: bold;
        font-size: 13px;
    }
.memberGroupSearch--details {
    display: flex;
    background-color: #7fe2ff;
}


div#searchResults > div.memberGroupSearch--search--resultheader {
    color: #2E487D;
    margin-bottom: 10px;
    background-color: rgba(180, 195, 82, 0.12);
    border: solid 1px #284376;
    margin-top: 10px;
    text-align:center;
}

.memberGroupSearch--search--form select {
    font-size: 16px;
    width: 100%;
}

.memberGroupSearch--search--form--item:nth-child(4) {
    margin-top: 11px;
}

.memberGroupSearch--search--form--item #btnSearch {
    font-size: 15px;
    width: 120px;
    height: 38px;
    background: #8C9A35;
    background-image: -webkit-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -moz-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -ms-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -o-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -webkit-gradient(to bottom, #8C9A35, #6F7A2A);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #FFFFFF;
    font-family: Arial;
    padding: 3px;
    text-shadow: 1px 1px 20px #000000;
    border: solid #0059A0 1px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

    .memberGroupSearch--search--form--item #btnSearch:hover {
        border: solid #337FED 1px;
        background: #344E85;
        background-image: -webkit-linear-gradient(top, #344E85, #3E5B97);
        background-image: -moz-linear-gradient(top, #344E85, #3E5B97);
        background-image: -ms-linear-gradient(top, #344E85, #3E5B97);
        background-image: -o-linear-gradient(top, #344E85, #3E5B97);
        background-image: -webkit-gradient(to bottom, #344E85, #3E5B97);
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        text-decoration: none;
    }

.memberGroupSearch--search--results {
    margin: 2px;
    background-color: #f5f5f5;
}

.memberGroupSearch--searchresult {
    margin: 5px;
    background-color: white;

}

.memberGroupSearch--detailsRows {
    flex: 1 1 50%;
    margin-left: 5px;
}
.memberGroupSearch--detailsRows-hasdescription {
    max-width:50%;
}

.memberGroupSearch--detail--descriptionContainer {
    flex: 1 1 50%;
    display: flex /*make content div full height*/
}


.memberGroupSearch--detailrow {
    border-top: 1px dotted #e9dfdf;
    margin: 2px 0;
}

    .memberGroupSearch--detailrow:hover {
        background-color: rgba(180, 195, 82, 0.12);
    }

.memberGroupSearch--detail-title {
    width: 170px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    vertical-align: top;
}

.memberGroupSearch--detail-value {
    font-size: 14px;
    display: inline-block;
    vertical-align: top;
}


.memberGroupSearch--detail--description {
    background: white;
    border: 1px solid black;
    padding: 5px;
    width: calc(100% - 20px);
    margin: 5px;
   max-height:250px;
   overflow-y: auto
}

div.memberGroupSearch--searchresult > div.memberGroupSearch--searchresult--header {
    background-color: #3F8FCD;
    color: white;
    padding: 5px;
    cursor: pointer;
    display: flex
}
span.memberGroupSearch--searchresult--header--toggle {
    font-weight: bold;
    font-size: 11px;
    line-height: 13px;
}
div.memberGroupSearch--searchresult--header > button {
    height: 26px;
    font-size: 13px;
    width: 80px;
    background: #8C9A35;
    background-image: -webkit-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -moz-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -ms-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -o-linear-gradient(top, #8C9A35, #6F7A2A);
    background-image: -webkit-gradient(to bottom, #8C9A35, #6F7A2A);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #FFFFFF;
    font-family: Arial;
    padding: 3px;
    text-shadow: 1px 1px 20px #000000;
    border: solid #0059A0 1px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

    div.memberGroupSearch--searchresult--header > button:hover {
        border: solid #337FED 1px;
        background: #344E85;
        background-image: -webkit-linear-gradient(top, #344E85, #3E5B97);
        background-image: -moz-linear-gradient(top, #344E85, #3E5B97);
        background-image: -ms-linear-gradient(top, #344E85, #3E5B97);
        background-image: -o-linear-gradient(top, #344E85, #3E5B97);
        background-image: -webkit-gradient(to bottom, #344E85, #3E5B97);
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        text-decoration: none;
    }

.memberGroupSearch--searchresult--header--left {
    flex: 1 1 auto
}
.memberGroupSearch--searchresult--header--right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.memberGroupSearch--searchresult--header--group {
    font-weight: bold;
    margin-right: 20px;
}

.flexboxLineBreak {
    /*if parent flexbox is flex-wrap: warp should cause a new line if applied to a div*/
    flex: 0 0 100%
}

@media screen and (min-width: 720px) {
    .memberGroupSearch--detailrow.memberGroupSearch--detail--pic > img {
        max-width: 183px;
    }
    .memberGroupSearch--detailrow.memberGroupSearch--detail--pic {
        float: right;
    }
}
@media screen and (min-width: 520px) and (max-width: 719px) {
    .memberGroupSearch--detailrow.memberGroupSearch--detail--pic > img {
        max-width: 120px;
    }
    .memberGroupSearch--detailrow.memberGroupSearch--detail--pic {
        float: right;
    }
}
@media screen and (max-width: 519px) {
    .memberGroupSearch--detailrow.memberGroupSearch--detail--pic {
        display: none;
    }
}
@media (max-width: 768px) {
    .memberGroupSearch--details {
        flex-wrap: wrap;
    }

    .memberGroupSearch--detailsRows {
        max-width: 100%
    }
}

@media (min-width: 768px) {
    .memberGroupSearch--detailsRows {
        max-width: 500px
    }
}