/* Global Styles are in base.css */

html, body {
}

body {
    padding-top: 50px; /* body padding for fixed top nav */
    position: relative; /* for bootstrap affix */
    -webkit-font-smoothing: antialiased;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
    cursor: pointer;
}

/*Meta Info
----------------------------------------------------*/

#metaInfo {
    text-shadow: 0 1px 0 #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    color: #555;
    position: relative;
    padding-top:20px;
    padding-bottom:20px;
    z-index:10;
    background-color:white;
    border-top:2px solid black;
}

#metaInfo th, #metaInfo td{
    padding-left: 15px;
    text-align: left;
}

/* Footer
-------------------------------------------------- */
.footer {
    padding-top: 10px;
    margin-top: 20px;
    text-shadow: 0 1px 0 #FFF;
    width: 100%;
    color: #515151;
    text-align: center;
    background-color: #efefef;
}

.footer a {
    color: #2d6a9f;
}


.footer ul, .footer li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

/* Warning Banner for cookies and browser depreciation goes on bottom of page */
.warningBanner {
    margin-bottom: 0px;
    background-color: #263947;
    color:white;
    text-align: left;
    border-width: 1px;
    border-color: white;
    display: none;
    align-items: center;
}

.footBanners {
    width: 100%;
    z-index: 10;
    bottom:0;
    left:0;
}

.footer-links > a {
    color: #264F82;
}

.warningBannerText {
    margin-left: 10%;
    margin-right: 75px;
}

.warningBannerAcceptBtn {
   margin-right: 10%
}

.warningBanner a {
    color: white;
    text-decoration: underline;
}

.warningBanner a:hover {
    color: #ADCCE6;
}

.warningBanner a:visited {
    color: #ADCCE6;
}

/* Footer slide-in */
#footerSlideIn {
    position:fixed;
    bottom:0;
    width:100%;
    padding-top:20px;
    padding-bottom:20px;
    z-index:9;
    background-color:white;
    border-top:2px solid black;
    display:none;
}

#footerSlideIn h1 {
    margin-top:0;
}

#footerSlideIn img {
    width:100%;
}

#footerSlideIn div > a {
    margin-right: 5px;
    white-space: nowrap;
}


/* Copyright
-------------------------------------------------- */
.copyright{
    text-align: center;
    background: #fff;
    width: 100%;

}

/* Make images responsive */
.panel img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* Project page has project navigation bar, which is fixed and therefore increases the offset the anchors need */
.project-page .anchor {
    margin-top: -100px;
    padding-top: 100px;
    display: block;
    z-index: -1;
    position: relative;
}

.anchor {
    margin-top: -60px;
    padding-top: 60px;
    display: block;
    z-index: -1;
    position: relative;
}

.scripted {display: none;}

.pointer {cursor: pointer;}

/* Minimal Treebeard for Configure Notifications/Wiki in project and user settings */
.osf-treebeard-minimal #tb-tbody {
    border: none;
    max-height: 500px;
    height: inherit;
    margin-top: 10px;
}
.osf-treebeard-minimal .tb-row {
    padding-left: 10px;
}

.osf-treebeard-minimal .tb-row-titles {
    border: none;
}
.osf-treebeard-minimal .tb-td {
    padding-top: 4px;
}
.osf-treebeard-minimal .title-text {
    line-height: 25px;
}
.osf-treebeard-minimal .tb-head {
    display: none;
}

.osf-treebeard-minimal .form-control {
    height: 26px;
    padding: 0px;
}

.tb-no-icon .tb-expand-icon-holder {
    width : 0;
}

/* For menu icon */
.navbar-toggle {
    margin-top: 5px;
    margin-bottom: 3px;
}

/* Wrapper for Spinner  -- Applied for citation and file*/
.spinner-loading-wrapper {
    text-align: center;
    font-size: 16px;
    font-weight: 200;
    background: white;
    padding: 20px;
    border-radius: 4px;
}

#projectSubnav .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

/* Multiple device support for project nav-bar */
@media (max-width: 767px) {
    .project-nav {
        overflow: hidden;
    }

    /* Allow project nav to move the content on small screen */
    #projectBanner .osf-project-navbar {
        position: relative;
        top: 0;
        margin-top: -55px;
    }
    #projectBanner {
        margin-right: -15px;
        margin-left: -15px;
    }
}

/* Allow search-bar and nav-bar to support mutiple size of screen */
@media (max-width: 767px) {
    #searchControls > .osf-search {
        z-index: 99;
    }
    .navbar-brand {
        margin-left: 0 !important;
        height: 48px !important;
        line-height: 27px !important;
        padding: 11px 15px 10px 15px !important;
    }
    .osf-navbar-logo {
        margin-top: 0px !important;
    }
    .sign-in .btn-group {
        width: 90%;
        padding-left: 5%;
    }
    .sign-in .btn {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .navbar-brand {
        margin-left: 0 !important;
        padding-left: 0;
    }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}

@media (max-width: 991px) {
    .affix {
        position: relative; /*For project setting side-bar*/
    }
}

/* Settings side-nav positions. Min-width to prevent
 * affix scrolling into columns on small devices/affix
 * needs to be relative any smaller. See above @media.
 */
.osf-affix {
    display: none;
}
@media (min-width: 990px) {
    .osf-affix.profile-affix {
        top: 80px;
    }
}

#viewPanel > .osf-panel-body,
.mfr-file {
    height: 100%;
}

.text-center {
    text-align: center;
}

.osf-profile-image>img {
    border: 1px solid #CDCDCD;
    border-radius: 13px;
    margin-right: 5px;
}

.container-xxl {
    width : 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.unselectable {
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */

    /* No support for these yet, use at own risk */
    -o-user-select: none;
    user-select: none;
}

.no-border {
    border: none !important;
    box-shadow: none !important;
}

.bootbox.modal h4 {
    font-size: 24px;
    font-weight: normal;
}

.modal-body {
    word-wrap: break-word;
}

/* sub-header for modal*/
.modal-subheader {
    font-size: 20px;
}

.footer h4 {
    font-weight: normal;
}

.popover h3 {
    font-weight: 500;
}
/* In list group, not allow icon to be pushed down */
.component-overflow {
    word-wrap: break-word;
    max-width: 90%;
    display: inline-block;
}

/*  Add-on styles */
.addon-auth {
    margin-top: 4.8px;
}

.user-settings-addon-auth {
    font-size: 13.5px;
    border-bottom: 2px solid #DDD;
}

.default-authorized-by {
    font-weight: normal !important;
}
/* bootstrap disable doesn't disable pointer event. This disable class adds pointer event disable. */
.disabled {
    cursor: default !important;
    pointer-events: none;
}

/* OSF-panel */

.osf-panel {
    border: 1px solid #ddd;
    height: 764px;
    overflow: auto;
    display: block;
    position: relative;
    overflow-x: hidden;
}

/* removes the automatic height and overflow properties from the Edit Wiki pane */
.osf-panel-edit {
    height: auto;
}

@media (max-width: 991px) {
    .osf-panel {
        margin-bottom: 20px;
    }
}

.osf-panel  .fa-angle-right, .osf-panel .fa-angle-left {
    cursor: pointer;
}
.osf-panel .fa-list {
    color: #808080;
}

.osf-panel .navbar-collapse {
    background: #F5F5F5;
    padding: 0px;
}

.reset-height {
    height: auto;
}

.alert-notify-success {
    padding: 5px;
    color: #3C763D;
}

.alert-notify-danger {
    padding: 5px;
    color: #A94442;
}

.table-hover {
    word-break: break-all;
}

.keep-all {
    word-break: keep-all;
}

select {
    word-wrap: normal;
}

.tag:hover
{
    background-color: #337ab7;
    color: #E0EBF3;
}
.tag:hover > .tag-text, .tag:hover > a
{
    color: #E0EBF3;
}
.tag:hover > .remove-tag
{
    visibility: visible;
/* to make the center of the x not transparent */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 35%, rgba(255,255,255,1) 44%, rgba(255,255,255,1) 53%, rgba(255,255,255,0) 64%, rgba(255,255,255,0) 72%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(35%,rgba(255,255,255,1)), color-stop(44%,rgba(255,255,255,1)), color-stop(53%,rgba(255,255,255,1)), color-stop(64%,rgba(255,255,255,0)), color-stop(72%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 35%,rgba(255,255,255,1) 44%,rgba(255,255,255,1) 53%,rgba(255,255,255,0) 64%,rgba(255,255,255,0) 72%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 35%,rgba(255,255,255,1) 44%,rgba(255,255,255,1) 53%,rgba(255,255,255,0) 64%,rgba(255,255,255,0) 72%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 35%,rgba(255,255,255,1) 44%,rgba(255,255,255,1) 53%,rgba(255,255,255,0) 64%,rgba(255,255,255,0) 72%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(255,255,255,1) 35%,rgba(255,255,255,1) 44%,rgba(255,255,255,1) 53%,rgba(255,255,255,0) 64%,rgba(255,255,255,0) 72%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.tag-big
{
    font-size: 13pt;
}

.tag-med
{
    font-size: 11pt;
}
.tag-container
{
    position: relative;
}

.remove-tag
{
    visibility: hidden;
    position: absolute;
    top: -5px;
    right: -5px;
    color: #AAAAAA;
}

.remove-tag.big
{
    top: -8px;
    right: -8px;
}

.remove-tag.med
{
    top: -6px;
    right: -6px;
}

.tagsinput {
    border:1px solid #CCC;
    float: left;
    padding: 5px;
    background: #FFF;
    padding:5px;
    width:300px;
    height:100px;
    overflow-y: auto;
}
#node-tags_tag:focus {
    outline: 2px solid #DEF;
}

.tagsinput div {
    float: left;
}

.tagsinput span.tag {
    float: left;
    padding: 5px;
}

.tagsinput input {
    width:80px;
    margin:0px;
    font-family: helvetica;
    font-size: 13px;
    border:1px solid transparent;
    padding:5px;
    margin-right:5px;
    margin-bottom:5px;
}

.tag a {
    font-weight: bold;
    color: #000;
    text-decoration:none;
    font-size: 11px;
    vertical-align: top;
}

.tag {
    text-decoration:none;
    display: inline-block;
    background: #DEF;
    margin-right: 5px;
    margin-bottom:5px;
    font-size:13px;
    padding:5px;
    border:1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}

.btn-link.project-toggle {
    padding-top: 0;
    padding-bottom:0;
}

.btn-link.project-toggle:focus {
    outline: none;
}

/* list group node item display*/
.list-group-item-node.unavailable {
    background-color: #EEEEEE;
}

button.close {
    line-height: 0.9;
}

/* table for add link and contributor */
.osf-icon-td {
    width: 50px;
}

/* Override Select2 CSS*/
.select2-search-choice-close {
    margin-top: -3px;
}

.affix-bottom {
    position: relative;
    word-break: break-all;
    word-break: break-word; /* Non standard for webkit*/
}

/* Style for toggle height knockout helper */
.toggle-height-toggle {
    border: 1px solid #EEE;
    background-color: #F8F8F8;
    height: 15px;
    line-height: 10px;
    color: #888;
    width: 100%;
    margin-bottom: 10px;
}
.toggle-height-toggle:hover {
    background-color: #F5F5F5;
    color: #666;
    cursor: pointer;
}
.toggle-height-gradient {
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
}
.toggle-height-parent {
    position: relative;
    overflow: hidden;
}

/* growlBox style */
.alert.growl-animated {
    padding-right: 35px; /* work as alert-dismissable in bootstrap */
}

.tb-modal-shade {
    /*  Override z-index here to avoid clashing with navigation elements */
    z-index: 98 !important;
}


/* Cards
-------------------------------------------------- */

.toggle-icon {
    color: #337ab7;
    margin-right: 10px;
}

.header-content {
    max-width: 75%;
    display: inline-block
}

/* Override insane add tag font
-------------------------------------------------- */
.tagsinput input {
    font-family : 'Open Sans', Helvetica, sans-serif;
}

/* Bootstrap Accesibility Override */
.btn-success-high-contrast {
    background-color: #006803;
    border-color: #54AC54;
}

.action-buttons {
    margin-top: 10px;
    margin-bottom: 10px;
}

.token-warning {
    margin-bottom: 5px;
    margin-top: 15px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#copy-button {
    margin-top: 10px;
}

.create-password {
    margin-top: 5px;
    margin-bottom: 5px;
    height: inherit;
}
.more-replies {
    margin-right: 15px;
}

div.ball-scale-blue>div, span.ball-scale-blue>div {
    background-color: #BED1E2;
}

span.ball-pulse-small>div {
    height: 8px;
    width: 8px;
}

/* Make registrations modal scrollable and background hidden
-------------------------------------------------- */

.background-unscrollable {
    overflow: hidden;
}

.modal-scrollable {
    overflow: scroll;
}

/* Add Links Modal
----------------------- */
.node-dates {
    white-space: pre;
}

/* Password strength check component colors for darker backgrounds  */
.pv-darkbg .text-danger {
    color: #f97773;
}
.pv-darkbg .text-warning {
    color: #f0ad4e;
}
.pv-darkbg .text-success {
    color: #5cb85c;
}

.pv-darkbg .osf-box-lt {
    background-color: #a8bbc9
}

/* Maintenance alert  */
#maintenance.alert {
    margin-bottom: 0;
}

/* To be added to osf-style: generic dropdown-menu */

.generic-dropdown .dropdown-menu {
    /* Prevents dropdowns from obscuring navs and subnavs */
    z-index: 98;
}
.generic-dropdown ul.dropdown-menu > li > a {
    color: #000;
}

.generic-dropdown ul.dropdown-menu > li > a:hover,
.generic-dropdown ul.dropdown-menu > li > a:focus {
    background-image: none;
    background-color: #D9D9D9;
}

.generic-dropdown button.dropdown-toggle-sm {
    padding: 4px 12px;
    line-height: 0;
}

.generic-dropdown ul {
    background-color: #EFEFEF;
    min-width: 180px;
}

.generic-dropdown a {
    color: #333;
}

.generic-dropdown li .disabled {
    opacity: 0.65;
}

/* Table
-----------------------*/
table.add-links tr {
    padding: 5px;
  }

table.add-links td {
    padding: 10px;
}

table.add-links {
    width: 100%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
}

.fa-fix-width {
    width: 20px;
}

.fa-button {
    padding: 5px;
    margin-right: 5px;
}

@media screen and (max-width: 600px) {
    table.add-links  {
        border: 0;
    }

    table.add-links  tr {
        border: 1px solid #ddd;
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
    }

    table.add-links  td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }

    table.add-links  td:first-child {
        border-top: 0;
        text-align: left;
    }

    table.add-links  td:last-child {
        border-bottom: 0;
    }

    table.add-links  td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
}

.generic-dropdown.dropdown.pull-right .fa {
    padding-right: 0px;
}

.generic-dropdown .fa {
    padding-right: 7px;
    width: 20px;
}

.generic-dropdown i.fa.fa-sort {
    padding-left: 20px;
}

.category-list button {
    padding: 5px 6px;
}

.category-list ul.dropdown-menu > li > a {
    line-height: 1.65;
    padding-left: 8px;
}

/* Remove gutters between bootstrap cols */
.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* counter */
.counter-comment {
    margin-top: -20px;
    margin-right: 5px;
}

/* Prevents comment from overlapping with counter*/
.comment-box {
    padding-bottom: 25px;
}

/* Collection list */

.collections-container {
    margin-bottom: 20px;
}

.fa.bk-toggle-icon {
    border: 2px solid #FFFFFF;
    color: #000000;
}

.subject-preview {
    display: inline-block;
    background-color: #F8F8F8;
    border-radius: 3px;
    border: 1px solid #EEE;
    padding: 1px 7px;
    margin-bottom: 4px;
    margin-right: 5px;
}

.dl-subjects dt {
    width: 10px;
    overflow: visible;
    font-weight: normal;
}

.dl-subjects dd {
    margin-left: 65px;
}

@media (max-width: 767px) {
    .dl-subjects dd {
        margin-left: 0px;
    }

    .dl-subjects dt {
        padding-bottom: 5px;
    }
}

/* Override jumbotron to be a bit smaller.
   Used for the updated terms of service banner on all pages. */
.jumbotron {
    padding: 10px 40px 10px 40px;
    margin-bottom: 0;
}

#nodesDeleteTreebeard #tb-tbody {
    height: 350px;
    max-height: 500px;
}

/* Make links in alert-info more readable*/

.alert-info .alert-link {
    color: #245269;
}

.alert-link {
    font-weight: 700;
}

.storage-warning {
    color: white !important;
}

.storage-disabled {
    box-shadow: none;
    opacity: .65;
}

.subnav-header {
    color: #205075;
}

.high-contrast-link {
    color: #595959;
}

.high-contrast-link-italic {
    color: #595959;
    font-style: italic;
}

.text-smaller {
    color: #4d4d4d;
}
