/*
Copyright (c) 2011, Cornell University
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of Cornell University nor the names of its contributors
      may be used to endorse or promote products derived from this software
      without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/* Fix browser issues in IE6 browsers */

/* Fix for homepage in IE6 browsers */
body {
    background-position: center, 0;
}
#intro h2 { 
    margin-left: 24px; 
}
#intro p { 
    margin-left: 24px; 
}
#search-home h3 { 
    margin-left: 0; 
}
#search-field {
    background-image: url("../images/search-interior-pages.gif");
    height: 32px;
    width: 330px;
}
#search-field input.search {
    padding-left: 14px;
}
#login {
    margin-right: 0;
}
ul#browse-classgroups { 
    margin-left: 20px; 
}
#browse-classes { 
    width: 620px;
}
ul#classes-in-classgroup.vis {
    width: 40%;
}
#login-form p.submit {
    margin-left: 15px;
}
ul#browse-classgroups a.selected {
    background-position-x: 0;
    background-position-y: 12px;
}
/* Fix for menupages */
ul#vgraph-classes {
    float: left;
    width: 265px;
    margin-left: 15px;
}
#browse-by {
    padding-bottom: 20px;
}
ul#browse-classes {
    width: 290px;
    margin-left: 0;
    padding-left: 10px;
    margin-left: 15px;
}
#individuals-in-class { 
    width: 450px; 
}
article.foaf-person {
    width: 400px;
    margin-left:10px;
    margin-right: 10px;
    padding: 0;
    margin-bottom: 10px;
}
#profile-photo-display { 
    width: 620px;
}
#browse-classes {
    width: 590px;
}
ul#classgroup-list.vis {
    width: 38%;
}
.pagination li {
    display: block;
    float: left;
}
.pagination h3 {
    float: left;
}
.pagination ul {
    display: block;
    float: left;
}
/* Fix for site admin: the wonders of the IE float model...
fix to maintain sanity in rendering sections of site admin targets IE7 and below */
#adminDashboard .pageBodyGroup {
  *float: none !important;
  *display: inline !important;
  *vertical-align: top !important;
}
/* Fix for individual pages */
#individual-intro.person {
    width: 100%;
}
.sparkline_text, 
.collaboratorship-link-container {
    width: 148px;
}
#individual-intro.person #individual-info {
    width: 72%;
}
/* Fix for dropdown user menu */
ul.dropdown {
    z-index: 9999;
}
/* Fix for menupages */
nav#alpha-browse-container {
    width: 542px;
}
ul#alpha-browse-individuals {
    width: 540px;
}
ul#alpha-browse-individuals a {
    height: 30px;
    margin-left: 0;
    padding-left: 6px;
    width: 8px;
}
#individuals-in-class {
    width: 545px;
}
#individual-intro.person .individual-overview {
    clear: left;
}
#find-by {
    width: 445px;
}
/* Fix for photo upload */
#photoUploadForm input.submit, 
#photoUploadForm input.submit:visited,
#cropImage input.submit,
#cropImage input.submit:visited {
    padding: 5px 5px 7px;
    margin-left: -8px;
}
#photoUploadForm span.or,
#cropImage span.or {
    display: block;
    float: left;
    padding-top: 10px;
}
/* Fix position for input type submit buttons */
input.submit, 
input.submit:visited,
input#submit, 
input#submit:visited {
    display: block;
    float: left;
    clear: both;
    margin-left: 0;
}
/* Fix position for "Required fields" text */
form.customForm #requiredLegend {
    clear: both;
}
/* Fix for verbose mode */
#verbose-mode {
    float: left;
    clear: left;
    margin-top: -14px;
}
.verbose-toggle {
    top: 12px;
}
#admin .uri-link {
    padding-top: 5px;
}
/* Fix account management pages */
table#account th {
    position: relative;
}
.account-alpha-browse {
    position: absolute;
    float: none;
    top: 7px;
    right: 0;
}
#filter-roles {
    clear: both;
}
#search-accounts {
    width: 400px; 
}
#search-accounts input[type="text"] {
    float: left;  
}
#search-accounts input[type="submit"] {
    float: right;
    margin-top: 0;
}
#add-account {
    width: 400px;
    margin-bottom: 20px;
}
#add-account span {
    float: left;
}
#add-account input.add-account {
    margin-top: 0;
    margin-left: 5px;
    float: right;
}
p.requiredHint {
    clear: left;
}
#add-account span.requiredHint {
    float: none;
}
input#externalAuthChkBox {
    margin-top: 0;
    margin-bottom: 0;
}
#associated {
    display: none; 
    float: none;
}
#associationOptions {
    display: none; 
    float: none;
}
#associateProfileBackgroundOne {
    width: 443px;
    border-bottom: none;
}
#associateProfileBackgroundTwo {
    width: 435px;
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 14px;
    border-top: none;
}
#associateProfileBackgroundThree {
    width: 435px;
    padding-left: 8px;
    padding-top: 8px;
    border-top: none;
}
#associateProfileBackgroundFour {
    width: 435px;
    padding-left: 8px;
    padding-top: 4px;
}
/* Fix menu management main page */
span.controls {
    margin-top: -30px;
    padding-right: 5px;
}
/* Co-author and co-investigator visualizations */
#ego_profile {
    min-height: 100px;
}