/**
 * General styles for overall page formatting.
 */

/* General */
html, body {
    margin: 0;
}

body {
    background: url("../images/main-bg.jpg");
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: scroll;
    background-size: 100%;
    font-family: 'Roboto', sans-serif;
}

@media (min-width: 1200px) {
    .container {
        width: 1080px;
    }
}

@media (min-width: 768px) {
    html, body, body>div.dialog-off-canvas-main-canvas {
	height: 100%;
	display: flex;
	flex-direction: column;
    }

    body>div.dialog-off-canvas-main-canvas>* {
	flex-shrink: 0;
    }

    #main {
	flex-grow: 1;
	position: relative;
	overflow: hidden;
    }
}

/* Header */
#header {
    background-color: #000000;
    border-bottom: 8px solid #9fcf6e;
    padding: 20px;
    color: #ffffff;
}

#header .logo img {
    width: 260px;
    height: 70px;
}

#header .name {
    font-size: 40px;
    margin-left: 80px;
    font-weight: bold;
    color: #ffffff;
    line-height: normal;
}

#header .doi img {
    width: 65px;
    margin: 10px;
}

/* Menu Bar */
#menu-bar {
    background: #726e64;
    color: #ffffff;
}

#menu-bar .nav>li {
    display: inline-block;
}

#menu-bar .nav>li>a {
    color: #ffffff;
    font-size: 18px;
    padding: 20px;
}

#menu-bar .nav>li>a:focus, #menu-bar .nav>li>a:hover {
    text-decoration: none;
    background-color: #dcddde;
    color: #000000;
}

#menu-bar .nav>li>a.is-active {
    background-color: #dcddde;
    color: #000000;
    box-shadow: inset 0 -4px 0 #9fcf6e;
}

#menu-bar .navbar-nav {
    margin: 0;
}

#menu-bar section {
    padding: 0;
}

/* Content */
#main {
    padding: 20px;
    padding-bottom: 40px;
    background: #ffffff;
}

#main nav.tabs {
    margin-bottom: 20px;
}

.page-header {
    margin-top: 0
}

button.btn {
    font-size: 16px;
    color: #000000;
}

.btn-primary {
    background-color: #9fcf6e;
    border-color: #8fba63;
}

.btn-primary:active, .btn-primary:hover {
    color: #fff;
    background-color: #7fa558;
    border-color: #5f7c42;
}

.btn-primary:focus {
    color: #fff;
    background-color: #7fa558;
    border-color: #3f522c;
}

.btn-primary:active:focus, .btn-primary:active:hover {
    color: #fff;
    background-color: #5f7c42;
    border-color: #3f522c;
}

.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus {
    background-color: #9fcf6e;
    border-color: #8fba63;
}

thead {
    background-color: #726E64;
    color: #ffffff;
}

thead a:hover, thead a:focus {
    color: #ffffff;
}

.breadcrumb>.active {
    color: #726E64;
}

.breadcrumb {
    background-color: inherit;
}

/* Footer */
#footer {
    background-color: #000000;
    border-top: 1px solid #726e64;
    margin-top: 0;
    padding: 15px 20px;
    padding-bottom: 0;
    color: #ffffff;
}

#footer .container {
    padding: 0;
}

.menu--footer {
    text-align: justify;
}

.menu--footer:after {
    content: '';
    width: 100%;
    display: inline-block;
}

.menu--footer li {
    display: inline-block;
}

.menu--footer li>a {
    color: #ffffff;
    padding: 5px 20px;
}

.menu--footer li>a:focus, .menu--footer li>a:hover {
    text-decoration: underline;
    background: none;
}

/* Mobile */
@media (max-width: 1199px) {
/* Header */
    #header .name {
        margin-left: 50px;
    }
}

@media (max-width: 991px) {
/* Header */
    #header .logo img {
        width: 200px;
	height: 55px;
    }
    #header .name {
        font-size: 30px;
        margin-left: 30px;
    }
    #header .doi img {
        width: 50px;
    }
}

@media (max-width: 767px) {
/* Header */
    #header .logo img {
        width: 180px;
	height: 50px;
    }
    #header .name {
        font-size: 24px;
        margin-left: 20px;
    }
    #header .doi img {
        width: 40px;
    }
}

@media (max-width: 599px) {
/* Header */
    #header .doi img {
        display: none;
    }
}

@media (max-width: 549px) {
/* Header */
    #header .logo img {
        width: 250px;
	height: 70px;
    }
    #header .name {
        font-size: 22px;
        margin-left: 0;
    }
}

/* Email Settings Page */
#block-views-block-email-group-settings-block-1 .block-title {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}

.phd-emails-application-root {
    font-weight: bold;
    font-size: large;
}

.phd-emails-subapp .views-field-name {
    padding-left: 20px;
}

.phd-emails-subapp .views-field-name:before {
    content: '- ';
}

.phd-emails-second-level .views-field-name {
    padding-left: 40px;
}

.phd-emails-second-level .views-field-name:before {
    content: '-- ';
}

#views-form-email-group-settings-block-1 caption,
.field--name-field-access-group .select-wrapper:after,
.field--name-field-email-group .select-wrapper:after {
    display: none;
}

#views-form-email-group-settings-block-1 .disabled td {
    opacity: 0.65;
    font-style: italic;
}

#views-form-email-group-settings-block-1 .form-group {
    margin-bottom: 0;
}

#views-form-email-group-settings-block-1 .views-field-form-field-status label,
#views-form-email-group-settings-block-1 .views-field-form-field-field-blm-only label {
    display: inherit;
    font-size: 0;
    text-align: center;
}

#views-form-email-group-settings-block-1 .views-field-name {
    width: 40%;
    vertical-align: middle;
}

#views-form-email-group-settings-block-1 .views-field-form-field-field-access-group {
    width: 25%;
    vertical-align: middle;
}

#views-form-email-group-settings-block-1 .views-field-form-field-field-email-group {
    width: 25%;
    vertical-align: middle;
}

#views-form-email-group-settings-block-1 .views-field-form-field-status,
#views-form-email-group-settings-block-1 .views-field-form-field-field-blm-only {
    width: 5%;
    vertical-align: middle;
}

#views-form-email-group-settings-block-1 table {
    margin-bottom: 0;
}

#views-form-email-group-settings-block-1 #edit-actions {
    margin-top: 20px;
}

/* Applications and Groups Settings Pages */

.tabledrag-toggle-weight {
    float: right;
    margin: 1px 2px 1px 10px
}

.tabledrag-changed-warning {
    margin: 0;
    overflow: hidden
}

.tabledrag-handle {
    color: #777;
    cursor: move;
    float: left;
    font-size: 125%;
    line-height: 1;
    margin: -10px 0 0 -10px;
    padding: 10px
}

.tabledrag-handle:focus,.tabledrag-handle:hover {
    color: #337ab7
}

.indentation {
    float: left;
    height: 1.7em;
    margin: -.4em .2em -.4em -.4em;
    padding: .42em 0 .42em .6em;
    width: 20px
}
