/* Maths People proxy page */
button.subcat {margin: 10px 6px; border-color: #DDDDDD;}
.school_roles table tr  td {width: 50%}
#proxy_mathsStaff tr.even{background-color: #FFF;}
#proxy_mathsStaff thead tr{background-color: #FFF;}
#proxy_intro_content {background: linear-gradient(to right, #012869 0%, #065099 47%) repeat scroll 0 0 rgba(0, 0, 0, 0); min-height: 229px; }
#proxy_intro_content .person_info_container img {bottom: 0; display: inline; float: right; vertical-align: bottom; }
#proxy_intro_content .hide {display: none; }
#proxy_intro_text {color: #fff; font-size: 1.1em; padding-left: 1em; padding-top: 1em; width: 500px; }
#proxy_intro_text .title {font-size: 1.4em; font-weight: bold; line-height: 1.5em; }
#proxy_intro_text a, #intro_text ul a {color: #ffef60; text-decoration: none; }
#proxy_intro_text a:hover, #intro_text a:active {color: #ffef60; text-decoration: underline; }
#proxy_person_banner h1, #proxy_intro_content h1 {color: #ffef60; }
 
/* For key roles table on people page*/
.keyroles .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px
}
 
.keyroles .table>tbody>tr>td,.keyroles .table>tbody>tr>th,.keyroles .table>tfoot>tr>td,.keyroles .table>tfoot>tr>th,.keyroles .table>thead>tr>td,.keyroles .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd
}
 
.keyroles .table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd
}
 
.keyroles .table>caption+thead>tr:first-child>td,.keyroles .table>caption+thead>tr:first-child>th,.keyroles .table>colgroup+thead>tr:first-child>td,.keyroles .table>colgroup+thead>tr:first-child>th,.keyroles .table>thead:first-child>tr:first-child>td,.keyroles .table>thead:first-child>tr:first-child>th {
    border-top: 0
}
 
.keyroles .table>tbody+tbody {
    border-top: 2px solid #ddd
}
 
.keyroles .table .keyroles .table {
    background-color: #e8e8e8
}
 
.keyroles .table>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9
}
 
 
.keyroles .table>tbody>tr.active>td,.keyroles .table>tbody>tr.active>th,.keyroles .table>tbody>tr>td.active,.keyroles .table>tbody>tr>th.active,.keyroles .table>tfoot>tr.active>td,.keyroles .table>tfoot>tr.active>th,.keyroles .table>tfoot>tr>td.active,.keyroles .table>tfoot>tr>th.active,.keyroles .table>thead>tr.active>td,.keyroles .table>thead>tr.active>th,.keyroles .table>thead>tr>td.active,.keyroles .table>thead>tr>th.active {
    background-color: #f5f5f5
}
 
.keyroles .table>tbody>tr.success>td,.keyroles .table>tbody>tr.success>th,.keyroles .table>tbody>tr>td.success,.keyroles .table>tbody>tr>th.success,.keyroles .table>tfoot>tr.success>td,.keyroles .table>tfoot>tr.success>th,.keyroles .table>tfoot>tr>td.success,.keyroles .table>tfoot>tr>th.success,.keyroles .table>thead>tr.success>td,.keyroles .table>thead>tr.success>th,.keyroles .table>thead>tr>td.success,.keyroles .table>thead>tr>th.success {
    background-color: #dff0d8
}
 
.keyroles .table>tbody>tr.info>td,.keyroles .table>tbody>tr.info>th,.keyroles .table>tbody>tr>td.info,.keyroles .table>tbody>tr>th.info,.keyroles .table>tfoot>tr.info>td,.keyroles .table>tfoot>tr.info>th,.keyroles .table>tfoot>tr>td.info,.keyroles .table>tfoot>tr>th.info,.keyroles .table>thead>tr.info>td,.keyroles .table>thead>tr.info>th,.keyroles .table>thead>tr>td.info,.keyroles .table>thead>tr>th.info {
    background-color: #d9edf7
}
 
 
.keyroles .table>tbody>tr.warning>td,.keyroles .table>tbody>tr.warning>th,.keyroles .table>tbody>tr>td.warning,.keyroles .table>tbody>tr>th.warning,.keyroles .table>tfoot>tr.warning>td,.keyroles .table>tfoot>tr.warning>th,.keyroles .table>tfoot>tr>td.warning,.keyroles .table>tfoot>tr>th.warning,.keyroles .table>thead>tr.warning>td,.keyroles .table>thead>tr.warning>th,.keyroles .table>thead>tr>td.warning,.keyroles .table>thead>tr>th.warning {
    background-color: #fcf8e3
}
 
 
.keyroles .table>tbody>tr.danger>td,.keyroles .table>tbody>tr.danger>th,.keyroles .table>tbody>tr>td.danger,.keyroles .table>tbody>tr>th.danger,.keyroles .table>tfoot>tr.danger>td,.keyroles .table>tfoot>tr.danger>th,.keyroles .table>tfoot>tr>td.danger,.keyroles .table>tfoot>tr>th.danger,.keyroles .table>thead>tr.danger>td,.keyroles .table>thead>tr.danger>th,.keyroles .table>thead>tr>td.danger,.keyroles .table>thead>tr>th.danger {
    background-color: #f2dede
}
.staff-info .staff-photo img{border: 1px solid #CCC;}