﻿.searchresult:hover {
    border: 1px solid #ccc !important;
    background-image: url('../../Images/view-registry.png');
    background-repeat: no-repeat !important;
    background-position: right;
    background-position-y: center !important;
    cursor: pointer !important;
}

#findwrapper {
    margin-top: 15%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 50px;
}

#search {
    display: inline-block;
    width: 50%;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-right: 1em;
}

#search > form, .searchresult {
    padding: 1em 1em 1.5em 1.5em;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: white;
    box-shadow: 0px 0px 5px #ccc;
    -moz-box-shadow: 0px 0px 5px #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
}

.searchresult {
    padding: 1em 1em 1em 1em;
    margin-top: 30px;
    text-align: left;
    border: 1px solid #fff;
    overflow: hidden;
}

.searchresult:hover {
    border: 1px solid #ccc;
}

.resultphotoarea {
    display: inline-block;
    width: 20%;
}

.resultphoto {
    min-width: 75px;
    max-width: 75px;
    min-height: 75px;
    max-height: 75px;
    border: 1px solid #ccc;
}

.resultinfoarea {
    padding-right: 45px;
    display: block !important;
    float: right;
    text-align: left;
    width: 65%;
}

.title > a {
    color: #469abd;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
}

    .title > A:hover {
        text-decoration: underline !important;
    }

.members {
    font-size: 80%;
}

.registry {
    color: #989898;
    font-size: 80%;
}

#fieldList {
    text-align: left;
    margin: 0;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    font-size: 100%;
    font-family: Arial,sans-serif;
    list-style-type: none;
    padding: 0;
    list-style-position: inside;
}

#fieldList > li {
    display: block;
}

#fieldList > * > * {
    display: inline-block;
    margin-right: 1ex;
    vertical-align: top;
    font-size: 100%;
    font-family: Arial,sans-serif;
}

#fieldList > li > label {
    width: 25%;
    margin-top: 5px;
    margin-bottom: 5px;
}

#fieldList > li > input {
    width: 68%;
    margin-right: 0px;
    border: 1px solid white;
    border-radius: 1ex;
    -moz-border-radius: 1ex;
    -webkit-border-radius: 1ex;
    padding: 4px 6px;
    background-color: #ece9e1;
    box-shadow: inset 0px 2px 3px rgba(0,0,0,0.2);
    margin-top: 5px;
    margin-bottom: 5px;
}

#search > form > h1 {
    text-align: left;
}

#photoarea {
    position: relative;
    vertical-align: top;
    float: right;
    width: 50%;
    bottom: 10%;
}

#frame {
    position: relative;
    top: -5px;
    left: 0px;
    z-index: 5;
    transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
}

#photo {
    position: absolute;
    top: 32px;
    left: 44px;
    z-index: 6;
    transform: rotate(2.25deg);
    -moz-transform: rotate(2.25deg);
    -webkit-transform: rotate(2.25deg);
    -ms-transform: rotate(2.25deg);
}

@media screen and (max-width: 930px) {
    #findwrapper {
        margin-top: 1em !important;
    }

    .resultinfoarea {
        text-align: left;
        width: 65%;
        vertical-align: middle;
    }

    #photoarea {
        position: relative;
        vertical-align: top;
        float: right;
        width: 40%;
        bottom: 10%;
    }

    #photo {
        position: absolute;
    }

    #search {
        width: 60%;
    }

    #frame {
        float: left;
        width: 80%;
    }

    #photo {
        position: absolute;
        top: 15px;
        left: 7.5%;
        width: 64%;
    }
}

#captcha {
    border-top: 1px solid #eae9e6;
    clear: both;
}

#captcha > h1 {
    margin-bottom: 5px;
    margin-top: 1em;
}

@media screen and (max-width: 850px) {
    .resultinfoarea {
        width: 62% !important;
    }

    #captcha {
        margin-left: 0% !important;
        margin-top: 0% !important;
        float: none !important;
        clear: both !important;
    }
}

@media screen and (max-width: 770px) {
    .resultinfoarea {
        width: 58% !important;
    }
}

@media screen and (max-width: 710px) {
    #photo {
        top: 11px;
    }

    .resultinfoarea {
        width: 54% !important;
    }

    #captcha {
        margin-left: 0% !important;
        margin-top: 0% !important;
        float: none !important;
        clear: both !important;
    }
}

@media screen and (max-width: 600px) {
    .searchresult:hover {
        background-image: none;
    }

    #photoarea, #photo, #frame {
        visibility: hidden !important;
        display: none !important;
        float: left !important;
        width: 0%;
        margin: 0em !important;
    }

    #search {
        display: inline-block;
        width: 100%;
        float: left;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        padding-right: 1em;
    }

    #headernav {
        float: left;
        clear: left;
    }

    #headernav > ul > li {
        text-align: left !important;
    }

    .resultinfoarea {
        text-align: left;
        width: 100% !important;
    }

    .searchresult {
        height: 100% !important;
    }

    .searchresult > * {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }

    input {
        width: 90% !important;
    }

    .resultphoto {
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: initial !important;
        max-height: 100% !important;
    }

    #captcha {
        margin-left: 0% !important;
        margin-top: 0% !important;
        float: none !important;
        clear: both !important;
    }
}
