﻿label { width: 15%; float: left; font-weight: bold; }
input[type="text"].search, textarea.search, select.search { width: 25%; float: left; margin-right: 20px; }

label.email { width: 33%; }
label.clear { width: 100%; float: none; }

input[type="text"].search.email { width: 60%; margin: 0 20px 0 0; } 
textarea.search.email  
{
    clear: both;
    float: none;
    width: 92%;
    height: 150px;
    margin: 10px 0;
}

.btnpeoplesearch { margin: 1em 0; }

.departmentsearchform input[type="submit"].btn-secondary,
.peoplesearchform input[type="submit"].btn-secondary
{
    background-color: #425563;
}

.departmentsearchform input[type="submit"].btn-secondary:hover,
.departmentsearchform input[type="submit"].btn-secondary:focus,
.peoplesearchform input[type="submit"].btn-secondary:hover,
.peoplesearchform input[type="submit"].btn-secondary:focus
{
    background-color: #2e3b44;
}

input[type="submit"].email { margin: 0.5em 0 0 0; }

span#txtMessage { top: -0.5em; }

/* SEARCH PAGE */

.search-page #links, .department-search-page #links 
{
    text-align: center;
    border: 1px solid #AAA;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.search-page #links a, .department-search-page #links a
{
    margin-right: 10px;
}

.search-page label.long, .department-search-page label.long 
{
    width: 22%;
}

.search-page span.radio, .department-search-page span.radio 
{
    float: left;
    width: 5%;
    padding-top: 3px;
}

.search-page label.field, .department-search-page label.field 
{
    width: 15%;
}

.search-page label.field.long, .department-search-page label.field.long 
{
    width: 25%;
}

br.clear { line-height: 3em; }
br.clear.short { line-height: 2.5em; }

.search-page input[type="submit"], .department-search-page input[type="submit"] 
{
    margin-top: .5em;
}

/* PERSON RESULTS */
#people .personContactInfo, #departments .departmentInfo 
{
    /*border-top: 1px solid #AAA;*/
    line-height: 1.5em;
    padding: 1em 0 0 0;
    overflow: auto;
}
#people .personContactInfo.bg-alt, #departments .departmentInfo.bg-alt 
{
    background: #eceeef;
}

#people .personContactInfo .personInfo,
#departments .departmentInfo .deptInfo
{
    padding-bottom: 0.5em;
    min-width: 50%;
}

.dir-num-results
{
    width: 100%;
    border-bottom: 1px solid #aaa;
}

#people .personContactInfo .personInfo .name { font-weight:bold; margin-bottom: 0.5em; font-size: 1.3em; }
#people .personContactInfo .personInfo .name .email { font-weight: normal; }

/* DIRECTORY RESULTS */
#departments .departmentInfo .title { font-weight:bold; margin-bottom: 0.5em; font-size: 1.3em; }
#departments .departmentInfo .title .directory { font-weight: normal; }

.peoplesearchform span.radio
{
    display: inline;
    margin: 0;
}
.peoplesearchform span.radio input[type="radio"]
{
    float: left;
    margin-right: 7px;
    margin-left: 0;
    position: relative;
}
.departmentsearchform label,
.peoplesearchform label
{
    font-family: $font-family-sans-serif;
    width: auto;
}
.peoplesearchform .divfacstaff label,
.peoplesearchform .divstudent label
{
    width: inherit;
    margin: 0;
}
.peoplesearchform .divfacstaff
{
    float: left;
    margin-right: 40px;
}
.peoplesearchform .divstudent
{
    float: left;
}
.peoplesearchform .divfirst
{
    overflow: auto;
    margin-bottom: 15px;
    margin-top: 30px;
    float: left;
    width: 100%
}
.peoplesearchform .divfirst label
{
    display: block;
    width: initial;
    clear: left;
}
.peoplesearchform .divlast
{
    overflow: auto;
    float: left;
    width: 100%;
}
.peoplesearchform .divlast label
{
    display: block;
    width: initial;
    clear: left;
}

.departmentsearchform input[type="text"].search,
.departmentsearchform  textarea.search,
.peoplesearchform input[type="text"].search,
.peoplesearchform  textarea.search
{
    clear:left;
    border: 1px solid #797f83;
    background-color: #fff;
    padding: 7px;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 14px;
    color: #425563;
    height: 30px;
    width: 350px;
    max-width: 90%;
    overflow: hidden;
}

.deptsearchresults,
.peoplesearchresults
{
    margin-top: 20px;
}

.departmentsearchform .divdept
{
    overflow: auto;
}
.departmentsearchform .divdept label
{
    display: block;
    width: initial;
    clear: left;
}

@media screen and (max-width: 768px)
{
    .peoplesearchform .divfacstaff {width: 100%; margin-right: 0;}
    .peoplesearchform .divstudent {width: 100%;}
    .peoplesearchform .divfacstaff label, .peoplesearchform .divstudent label {width: 90%;}
    .peoplesearchform .divfirst {margin-top: 20px;}
}
@media screen and (max-width: 480px)
{
    .departmentsearchform input[type="text"].search, .departmentsearchform textarea.search, .peoplesearchform input[type="text"].search, .newssearchform input[type="text"].search, .peoplesearchform textarea.search {width: 100%;}
    .newssearchform label { width: 100%; float: none; font-weight: bold; }
}
