/*
    Administrator styles to override and extend django admin defaults
*/

#content {
    margin: 0px 15px 0px 15px;
    padding: 0;
}

.module {
    margin-bottom: 5px;
}

h1 {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin: 18px 0 18px 13px;
}

h2 {
    margin: 10px 0 10px 0;
}

#header {
    background: white;
    color: #4a4a4a;
    overflow: hidden;
    height: 75px;
    padding: 0;
    text-align: center;
}

#branding {
    float: none;
    position: absolute;
}

#branding img {
    margin: 20px 20px 15px 28px;
    float: left;
    height: 34px;
}

#branding h1 {
    float: left;
    font-size: 22px;
    font-weight: lighter;
    padding: 0;
    margin: 0;
    line-height: 77px;
    color: #4a4a4a;
    text-align: center;
}

#branding h2 {
    padding: 0 10px;
    font-size: 18px;
    margin: 8px 0;
    font-weight: normal;
    color: #4a4a4a;
    text-align: center;
}

#middle_banner {
    line-height: 82px;
    font-size: 20px;
    font-weight: bold;
}

#system_msg {
    text-align: center;
    position: relative;
    border-top: 8px solid #4a90e2;
    height: 50px;
}

#system_msg>.secondary_banner {
    position: absolute;
    color: #4a90e2;
    font-size: 18px;
    font-weight: 300;
    padding-top: 5px;
    padding-left: 28px;
}

#system_msg>.secondary_promote {
    display: inline-block;
}

#system_msg a:link,
#system_msg a:visited {
    color: white;
}

button.promote,
input[type=submit],
input[type=button],
.submit-row input,
a.button {
    background: none;
    font-size: 15px;
    font-weight: 500;
    height: 36px;
    background-color: #4a90e2;
    color: white;
    padding: 5px 27px;
    border-radius: 5px;
    border: solid 1px #4a90e2;
    margin: 3px;
    margin-top: -5px;
}

#user-tools {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0px 18px 0px 18px;
    line-height: 75px;
    font-size: 12px;
    font-weight: lighter;
    text-align: right;
    color: #4a4a4a;
    text-transform: none;
}

#user-tools a:link,
#header a:visited {
    color: #4a4a4a;
}

#user-tools-user {
    font-weight: normal;
    margin-right: 10px;
}

#user-tools #alarm-alert a:hover {
    text-decoration: none;
}

div.breadcrumbs {
    border: none;
    padding-left: 28px;
    height: 46px;
    line-height: 46px;
    background: #3f3f3f none;
    font-size: 15px;
    font-style: italic;
    font-weight: normal;
    color: #ef8915;
}

div.breadcrumbs a:link,
div.breadcrumbs a:visited {
    color: #ef8915;
}

.module {
    border: none;
    margin-bottom: 15px;
}

.module table {
    border-collapse: separate;
}

thead th {
    padding: 2px 12px;
}

table thead th .text span {
    padding: 2px 12px;
}

thead th,
thead th.sorted {
    background: none;
    line-height: 30px;
    border: none;
    text-transform: none;
}

table thead th.sortable:hover {
    background: none;
}

thead th a:link,
thead th a:visited,
thead th .text span {
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 300;
}

table {
    border: 1px solid #bfbec0;
    border-radius: 8px;
    box-shadow: 0 0 13px 3px #E8E8E8;
}

table>tbody>tr:last-of-type {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

table>tbody>tr:last-of-type> :first-child {
    border-bottom-left-radius: 8px;
}

table>tbody>tr:last-of-type> :last-child {
    border-bottom-right-radius: 8px;
}

table>tbody:first-child>tr:first-child> :first-child,
table thead tr:first-child th.sortable:first-child:hover,
table thead tr:first-child th.sortable:first-child a:hover {
    border-top-left-radius: 8px;
}

table>tbody:first-child>tr:first-child> :last-child,
table thead tr:first-child th.sortable:last-child:hover,
table thead tr:first-child th.sortable:last-child a:hover {
    border-top-right-radius: 8px;
}

td,
th {
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 0;
    line-height: 31px;
    padding: 5px 12px;
}

.form-row {
    margin-left: 2px;
}

.form-row p {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
}

ul.messagelist {
    margin: 28px;
}

#content>span {
    margin: 12px;
}

#content-main>h2 {
    margin-left: 12px;
}

div.submit-row {
    z-index: 100;
}

#content>span {
    margin: 12px;
}

#content-main>h2 {
    margin-left: 12px;
}

.module caption,
.inline-group h2 {
    text-transform: none;
}

/* Additional base styles */

input[type=submit].saveanother {
    float: left;
}

input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
input[type=search],
textarea,
select,
.vTextField {
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 2px 3px;
    margin-bottom: 2px;
    margin-top: 2px;
}


.button,
input[type=submit],
input[type=button],
.submit-row input,
a.button {
    background: none;
    font-size: 13px;
    font-weight: 500;
    height: 30px;
    color: #4a90e2;
    padding: 5px 27px;
    border-radius: 3px;
    border: solid 1px #4a90e2;
}

.button.default:active,
input[type=submit].default:active,
.button.default:focus,
input[type=submit].default:focus,
.button.default:hover,
input[type=submit].default:hover {
    background: #4a90e2;
}

.button:active,
input[type=submit]:active,
input[type=button]:active,
.button:focus,
input[type=submit]:focus,
input[type=button]:focus,
.button:hover,
input[type=submit]:hover,
input[type=button]:hover {
    background: none;
}

a.button {
    padding-top: 6px;
    padding-bottom: 7px;
}

#alarm-alert {
    visibility: hidden;
    display: inline;
    margin-right: 18px;
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#alarm-alert svg {
    -webkit-animation: blink 2s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation: blink 2s;
    -moz-animation-iteration-count: infinite;
    -o-animation: blink 2s;
    -o-animation-iteration-count: infinite;
}

/* Cell colours */

span.text_normal {}

span.text_ok {
    color: #00AA00;
}

span.text_warning {
    color: #E09020;
}

span.text_error {
    color: #DD1111;
}

span.text_upgrade_ongoing {
    color: #8b008b;
}

span.text_upgrade_pending {
    color: #8b008b;
    font-weight: 100;
}

span.text_muted {
    color: #999999;
}

/* Fix up fieldset collapse to override bootstrap */
fieldset.collapse {
    display: block;
}

/* Fix alignment of file input elements */
.form-row input[type=file] {
    display: inline-block;
}

/* Fix for #13176 */
.field-truncated_remote_alias,
.field-truncated_participant_alias {
    max-width: 20em;
    overflow-wrap: break-word;
}

div#conferencegraph_pane {
    height: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#conferencegraph {
    height: 100%;
}

div#conferencegraph_container {
    width: 100%;
    position: relative;
}

div#conferencegraph_child {
    position: relative;
    padding-bottom: 56.25%;
}

div#conferencegraph.graph_thumbnail {
    float: right;
    margin-bottom: 0px;
    margin-left: 15px;
    line-height: 0px;
    border-top-left-radius: 8px;
    width: 400px;
}

.no_border {
    border: none;
    box-shadow: none;
    border-radius: 0px;
}

.row1 {
    /* Fix row coloring so that first row is colored (rather than white) */
    background-color: #f8f8f8;
}

.row2 {
    /* Fix row coloring so that second row is white (rather than colored) */
    background-color: #fff;
}

input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea,
select,
.vTextField {
    /* Fix input fields to be centered vertically just like their label is */
    margin-bottom: 4px;
    margin-top: 4px;
}

div.selector div.selector-chosen select {
    /* Fix multi-selector boxes so they are the same height */
    height: 20.3em;
}

table thead th.sortable:hover {
    /* Fix hovering over table column headers - they should highlight background of sort icons as well as text */
    background: #eee;
}

#alarm-alert a:hover {
    /* Remove the blue bottom border when hovering over the alarm triangle (in the user tools in the top right of the page) */
    border-bottom: none;
}

textarea.pem_encoded {
    font-family: monospace;
    white-space: pre;
}

/* The div parent of a div.readonly which, for some reason, doesn't use the full width of the page. */
div.readonly-outer {
    width: 100%
}

input#user-search {
    height: 1.5em;
    outline-offset: 0px;
}
