/* tomasz@kotarba.net (system7) */

/* START fix: selected tab should not have a bottom border */

#system7_main ul.ui-tabs-nav {
    overflow: visible;
}

#system7_main ul.ui-tabs-nav li.ui-tabs-selected {
    margin-bottom: -1px;
    padding-bottom: 1px;
}

/* END fix: selected tab should not have a bottom border */

/* fixes formatting problem in IE7*/
#system7_main #post_infos div {
    width:99%;
}

#system7_main .researchActivities .evenitem {
    /* setting the width together with clearfix on higher level solves a bug in IE7 */
    width: 78%;
}

#system7_main .researchActivities .odditem {
    /* setting the width together with clearfix on higher level solves a bug in IE7 */
    width: 78%;
}

#system7_main .researchActivities .data {
    padding-bottom: 6px;
}



/* overriding Silva's margin setting for lists on the client's request */
#system7_main ol,ul,li {
    margin: 0 0 0 0;
}

#system7_main #iris_researcher_profile_title {
    border: none;
    background: transparent;
}


/*#system7_main #all_tabs {
    border-top: 0px;
}*/

.ui-corner-all { border-radius: 4px;}
.ui-corner-top {border-top-left-radius:4px; border-top-right-radius:4px;}


/* used for dynamically generated profiles (e.g. collaborators' profiles) */


#iris_researcher_profile_title a {
    font-size: 10px;
    color: #999999;
    padding-bottom: 5px;
    float: right;
}

/* prevent elements of the main profile overlapping the side container (e.g. the researcher's photograph) */
#profile_main_container {
    overflow: hidden;
}


/* a fix for the problem with jquery tab bar being three-lines high */
#all_tabs ul.ui-widget-header.ui-corner-all.ui-helper-clearfix.ui-tabs-nav {
    margin-left: 0px;
    width: 98.8%;
    display: inline-block;
}


#profile_main_container {
    margin-right: 28%;
    width: 70%; /* fixes safari formatting bug */
}

#all_tabs .profile.row {
    border-bottom: 1px dashed #BBBBBB;
    display: inline-block;
    margin: 0 10px 10px 0;
    width: 100%;
}

#all_tabs .profile.row .label {
    color: #999999;
    float: left;
    margin-right: -100px;
    width: 80px;
}

#all_tabs .profile.row .data {
    float: left;
    margin-left: 100px;
    width: 100%;
}

#tabs-6 .profile.row .data {
    float: left;
    margin-left: 0px;
    width: 100%;
}

.profileitem.appointmentTitle {
    font-weight: bold;
}

#system7_main .evenitem {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 2px;
    /* setting the width together with clearfix on higher level solves a bug in IE7 */
    width: auto;
}

#system7_main .odditem {
    background: #E0E0E0;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 2px;
    /* setting the width together with clearfix on higher level solves a bug in IE7 */
    width: auto;
}

#all_tabs div.publication {
    text-align: justify;
    padding: 5px;
}

#all_tabs .publicationTitle {
    font-weight: bold;
    padding-bottom: 3px;
}

#all_tabs .publicationAdditionalDetails {
    font-style: italic;
}

#all_tabs a.publicationLinks {
    text-decoration: underline;
}

#all_tabs .publicationAuthors span.over_limit.invisible {
    display: none;
}

#publications_tab div.publication_back_to_top {
    width: 99%;
    text-align: right;
    font-size: 10px;
}

#publications_tab .publicationProfile input[type="button"]{
    padding: 4px;
}

/* profile_side_container contains a researcher's photograph and the research themes box */
#profile_side_container {
    width: 25%;
    float: right;
    padding-top: 0;
}

#profile_side_container .content-box.imageURL {
    text-align: center; /* center the photograph */
    padding-top: 6px;
}

#profile_side_container .content-box.researchThemes {
    font-size: 10px;
    text-align: start;
}

/* get rid of bullets in lists */
#all_tabs li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#researcherListTabs li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* research profile */

/* biography */

#biography_tab table {
    border-collapse: collapse;
    width: 99%;
}

#biography_tab th, td {
    border-top: 1px solid #DDDDDD;
    padding: 10px 0;
}

#biography_tab td.subarea.description {
    padding-right: 10px;
}

#all_tabs .bio_clearfix {
    display: block;
}

#all_tabs .biographyText {
    padding-top: 10px;
}

/* fixes the IE9 problem with Bibliography*/
#all_tabs ul.past_academics.qualifications {
    margin-bottom: 1px;
}

#all_tabs li.bio_clearfix .awardYear {
    font-size: 10px;
}

#all_tabs li.bio_clearfix .letters {
    font-size: 10px;
}

#all_tabs li.bio_clearfix .description {
    font-size: 10px;
}

#all_tabs li.bio_clearfix .university {
    font-size: 10px;
}

#all_tabs .additionalInfoProfile .profileitem.keywords {
    text-transform: capitalize;
}

/* Common for all modules */

#system7_main{
    padding: 0.5em;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #f7f7f7;
}

#system7_main * {
    overflow: hidden;
}


#system7_main .cssSanitizer {
    overflow: hidden;
    text-align: justify;
    /* added paddings so that italics at the end of a line in the user's html stay visible */
    padding-left: 0;
    padding-right: 3px;
}


/* so that images from the user's html are rescaled instead of being partially hidden */
#system7_main .cssSanitizer img {
    width: 100%;
}


#system7_main .framedBox {
    /*border: 1px solid #DDDDDD;
    padding: 5px;
    margin: 5px;*/
    padding: 0.5em;
    border: 1px solid #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    /*border-top: 4px solid #910F13; Jon needs to add the appropriate styles into the corp identity style sheets*/
    background-color: #f7f7f7;
}

#system7_main .label {
    color: #AAAAAA;
}


#system7_main .section {
    border-bottom: 1px dashed #DDDDDD;
    margin-top: 10px;
    padding-bottom: 7px;
}


/* Research group specific CSS */

#researchGroupTitle {
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}


#researchGroupWebPage {
    font-weight: normal;
    float: right;
}


#researchGroupMembers {
    margin-top: 15px;
}


#system7_main .groupMember {
    border-top: 1px solid #DDDDDD;
    margin-right: 10px;
}


#system7_main .groupMember div {
    text-align: right;
    padding-left: 5px;
    padding-right: 5px;
}


#system7_main .groupMember:hover {
    background-color: #EEEEEE;
}


#system7_main .groupMemberAdditionalData a {
    font-weight: normal;
}


#system7_main .groupMemberData {
    float: left;
}


