.peerj-modal {
    font-size: 16px;
    font-weight: 300;
}

.modal-header-title h3 {
    font-weight: 400;
}

.peerj-modal .modal-footer .btn {
    border-radius: 2px !important;
    -moz-border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
}

.peerj-modal .modal-header {
    display:block;
    border-bottom: 1px solid #ddd;
    background: #F5F5F5;
}

.peerj-modal .modal-header h3 {
    color: #0088c9;
    display: inline-block;
    font-weight: 400;
    margin:0;
}

.peerj-modal-body h5 {
    font-weight: 200;
    color: #888;
}

.peerj-modal-body-inner {
    margin-left: 15px;
}

.peerj-modal-body-inner .alert {
    margin: 20px 15px;
}

.peerj-modal-label label,
.peerj-modal-label .optional-text {
    font-size: 16px;
    /* font-weight: 300; */
    line-height: 23px;
    color: #999;
    margin-top: 6px;
}

.peerj-modal-label-select label {
    margin-top: 0px;
}

.institution-item-container label {
    font-weight: 500;
}

.toggle-group label {
    font-weight: 200;
}

.peerj-modal-body input {
    font-size: 16px;
}

.peerj-modal-body input[type="text"],
.peerj-modal-body input[type="email"],
.peerj-modal-body input[type="textarea"] {
    width: 100%
}

.peerj-modal-body textarea {
    line-height: 1.3;
    font-size: 20px;
    font-weight: 200;
}

#submit-server-message {
    color: red;
    font-weight: 200;
}

.peerj-modal form {
    margin: 0;
}

.peerj-modal-body {
    height: 250px;
    overflow-y: auto;
    padding: 0;
}

.peerj-modal-sidebar {
    display: none !important;
}

.peerj-modal-sidebar p {
    color: #999;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4em;
}

#modal-server-message {
    color: #B6312F;
    font-weight: 200;
}

.peerj-input-help {
    font-size: 15px;
    color: #777;
}

.peerj-small-help {
    display: none;
    color: #999;
    font-weight: 200;
    font-size: 12px;
}

.close {
    line-height: 24px;
    font-size:23px;
    margin-top: 2px;
    display:none;
}

.peerj-tag-input-text {
    margin-top: 5px;
}

.peerj-tag-add-button{
    margin-top: 3px;
    padding: 5px 20px 5px 20px;
}
.tag {
    background-color: #3d7bbf;
    margin: 3px;
    font-size: 12px;
    letter-spacing: 0.02em;
    font-weight:500;
}

.tag, .peerj-tags-help {
    /* These values are here to make explicit the tag styling
     * so that there is no judder when a tag is added or removed
     */
    display: inline-block;
    line-height: 25px;
    height: 2em;
    border-radius: 4px;
}

.tag a {
    color:#fff;
}

.peerj-tags-help {
    font-size: 15px;
}

.tagsinput input {
    font-size: 15px;
    height: 1.5em;
    width: 100% !important;
}

#peerj-cited-row {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}

.control-group {
    margin-bottom: 5px;
}

/*multi-step*/
.m-progress {
    margin-top: 40px;
    font-size: 15px;
    color: #0c3561;
    padding: 0 5px;
}

.m-progress-bar {
    min-height: 1em;
    background: #2a85e8;
    width: 5%;
}

@media (min-width: 768px) {
    .peerj-modal-body .span4 {
        display: inline-block;
    }

    .close {
        display:inline-block;
    }

    .peerj-modal-body-inner {
        margin-top: 20px;
        margin-left: 0;
    }

    .peerj-modal {
        width: 95% !important;
        left: 15px  !important;
        margin-left: 0 !important;
    }

    .peerj-modal-sidebar {
        display: block !important;
        background: #F5F5F5;
        border-right: 1px solid #ddd;
        padding: 0 8px;
        height: 255px;
        overflow-y: auto;
    }

    .peerj-modal-sidebar h5 {
        font-weight: 400;
        color: #888;
    }

    .peerj-modal-sidebar p,
    .peerj-modal-sidebar h5 {
        padding: 3px 5px;
    }

    .peerj-modal-label {
        text-align: right;
    }
}

@media (min-width: 980px) {
    .peerj-modal {
        width: 960px !important;
        left: 50%  !important;
        margin-left: -480px !important;
    }
    .peerj-modal-body, .peerj-modal-sidebar  {
        height: 350px;
    }
}

@media (min-width: 1200px) {
    .peerj-modal-body, .peerj-modal-sidebar  {
        height: 400px;
    }
}

/** Layout and general */
.institution-page-body {
    background: #eee;
}

.institution-page-content {
    margin-top: 20px;
}

.metrics-count-total {
    color: #7a7a7a;
    font-size: 40px;
    line-height: 30px;
    margin-bottom: 12px;
}

.metrics-label {
    color: #9a9a9a;
    font-size: 13px;
}

.institutional-settings h3 {
    font-weight: 400;
    color: #7a7a7a;
    border-bottom: 1px solid #dddddd;
}

.institutional-settings {
    color: #9a9a9a;
    margin: 30px 0;
}

.institutional-sidebar {
    word-break: break-word;
}

.institution-page-legend {
    padding: 0 19px;
    line-height: 1.5;
}

.peerj-paper-form legend {
    text-indent: 0;
}

.peerj-paper-form .institutional-settings {
    margin-top: 0px;
}

.peerj-paper-form .btn-group {
    margin-bottom: 30px;
}

.institutional-settings .badge {
    cursor: default;
}

.funding-request-debit-status {
    color: #7a7a7a
}

/** forms */
.funding-request-title {
    margin-top:45px !important;
    color: #444;
}

.funding-verification-status-container {
    margin-top: 45px;
}

.funding-verification-status-container h2 {
    color: #444;
}

.funding-request-form label {
    color: #444;
}

/** sections */
.institution-items-section {
    margin-top: 40px;
}

.institution-section-heading {
    border-bottom: 1px solid #6b6b6b;
    width: 100%;
    padding-bottom: 7px;
    margin-bottom: 25px;
    overflow: hidden;
    clear:both;
}

.institution-section-heading.peerj-preprint-orange {
    border-bottom: 1px solid #ce7e00;
}

.institution-section-heading.peerj-article-blue {
    border-bottom: 1px solid #006EA3;
}

.institution-section-heading h2 {
    font-size: 24px;
    font-weight: 300;
    color: #484848;
    float:left;
    line-height: 1.3em;
    margin:0;
}

.peerj-preprint-orange .institution-section-heading h2 {
    color: #d78300;
}

.peerj-article-blue .institution-section-heading h2 {
    color: #4c79bd;
}

/** articles */
.item-author-highlight {
    background: #BFE6FD;
    padding: 2px;
    font-weight: bold;
    color: #000;
}

.peerj-preprint-orange .item-author-highlight {
    background: #FDDEBF;
}

.subject-preprint .subject-article-counters {
    color: #d78300;
}

/** users */
a.institution-user-url:hover .span4, a.institution-user-url:hover .span4 .institution-user-name{
    background: #83CEF4 !important;
    color: #444 !important;
}

.institution-user .span4 {
    position: relative;
    padding: 8px 15px 10px;
    margin: 0 10px 30px 0;
    background: #F9F9F9;
    border-right: 1px solid #FFF;
}

.span4.institution-user-block {
    background: none;
}

.institution-user-block .institution-user-image {
    float: left;
    width: 18%;
}

.institution-user-block .institution-user-image img {
    width: 34px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0 !important;
}

.institution-user-block .institution-user-info {
    margin-left: 58px;
    padding: 6px 4px 0 12px;
}

.institution-user-name {
    font-weight: 400;
    font-size: 18px;
    color: #444;
}

.institution-user-meta {
    font-size: 12px;
    line-height: 13px;
    color: #666;
}

.institution-user-advisor-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #0D8CC9;
    color: #fff;
    font-size: 12px;
    font-weight: 200;
    padding: 2px 8px;
}

@media (min-width: 980px) {
    .institution-page-body #nav-pad {
        height: 40px !important;
    }

    .institution-page-content {
        margin-top: 25px;
    }
}

@media (min-width: 580px) and (max-width: 767px) {
    .institution-user .span4 {
        width: 48% !important;
        float: left !important;
    }
}

@media (min-width: 580px) {
   .institution-user .span4 {
        padding: 0;
        background: #FBFBFB;
    }

    .institution-user-block .institution-user-image {
        width: 28%;
    }

    .institution-user-block .institution-user-image img {
        width: 60px;
    }
}

/* Tabbed layout */

.accordion-toggle .caret {
    border-color: currentcolor transparent #757575;
    border-style: none solid solid;
    border-width: 0 7px 7px;
    opacity: 0.4;
    vertical-align: middle;
}

.accordion-toggle.collapsed .caret {
    border-bottom: 0 none;
    border-top: 7px solid #757575;
}

h2 {
    font-size: 26px;
    padding-bottom: 20px;
}

.accordion-toggle {
    text-decoration: none !important;
}