/**
* Style général des pages de gestion
*
* @copyright Copyright (c) 2010-2014 Mathieu ABATI (mathieu.abati@gmail.com)
* @author Mathieu ABATI
*/

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(../font/opensans_light.woff) format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(../font/opensans.woff) format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../font/opensans_bold.woff) format('woff');
}
@font-face {
    font-family: 'DejaVu Sans';
    font-style: normal;
    font-weight: 400;
    src: local('DejaVu Sans'), url(../font/DejaVuSans.ttf) format('ttf');
}

body {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}
#logo
{
    max-width: 80%;
    max-height: 4em;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 400;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
a,.link {
    color: #1976C6;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
a:visited {color: #1976C6}
a:hover {color: #73B3E5}
span.js_link {
    color: #3B5998;
    cursor: pointer;
}
span.js_link:hover {
    text-decoration: underline;
}
img {
    border: none;
    vertical-align: middle;
}
.dpe {border: 1px solid black}
hr
{
    margin-top: 1em;
    margin-bottom: 1em;
    height: 1px;
    border: 0;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
}

td.photo {
    padding: 5px;
    vertical-align: top;
    font-size: small;
    text-align: center;
}
.photo_preview {
    border: 1px solid #BBBEB7;
    background-color: white;
    padding: 4px;
}

table.lines {
    border-collapse: collapse;
    background-color: #F0F0F0;
    background-repeat: repeat-x;
    background-position: bottom;
    border: 1px solid #1976C6;
}
table.lines td, table.lines th {
    border: 1px solid #1976C6;
    padding: 0.5em 2em;
}
table.lines th {
    background-color: #1976C6;
    color: white;
    padding: 0.5em;
    font-size: 1.2em;
    text-align: center;
}
table.lines th a {
    color: white;
}
table {margin: auto}
th.sortable {cursor: pointer}
#contents {
    width: 960px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 10px;
}
.nobr {white-space: nowrap}
#info_popup_overlay {
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.5);
}
#info_popup {
    position: fixed;
    width: 100%;
    top: 40%;
    left: 0;
    color: black;
    font-weight: bold;
}
.info_messages {
    display: inline-block;
    padding: 10px;
    background-color: white;
    border: 1px solid #909090;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
}
.error {
    padding: 0 2em;
    color: red;
}
.success {
    padding: 0 2em;
    color: green;
}
.frame {
    background-color: #F0F0F0;
    border: 1px solid #B5B4B5;
    margin-top: -1px;
    padding: 6px;
}
.button-gfx {
    font: 12px arial,sans-serif bold;
    border: 1px solid #BBBBBB;
    cursor: pointer;
    height: 24px;
    width: 92px;
}
.button-gfx:hover {border: 1px solid #717171}
.absolute_position {position: absolute}
.list {
    background-color: white;
    border: 1px solid #1976C6;
}
.list_item {
    background-color: white;
    color: black;
    padding: 0.5em 2em;
    border-bottom: 1px solid #B4BBCD;
    cursor: pointer;
}
.list_item.special_item {
    background-color: #69A74E;
    color: white;
    border: none;
}
.list_item:hover {
    background-color: #627AAD;
    color: white;
}
table.documents_list {border-collapse: separate}
table.documents_list td {
    padding: 0 20px;
    min-width: 10%;
}
table.abstract {border-collapse: separate}
table.abstract td {
    padding: 0 20px;
}
.dragitem {
    margin: 0.25em;
    padding: 0.25em;
    display: inline-block;
    background: #1976C6;
    color: white;
    cursor: pointer;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
#footer {
    margin-top: -1em;
    font-size: 0.75em;
}

.disabled {
    filter: grayscale(100%);
    pointer-events: none;
}
