.header-image {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 500px;
    vertical-align: middle;
 }

.lead {
    text-align:left;
}

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

.navbar
{
	border-bottom:1px solid #999;
	background: #F1F1F1;
}

.navbar-toggle
{
	background-color:#999;
}

.nav>li{
  padding-right: 10px;
  padding-left: 10px;
}


.navbar-nav>li>a:hover {
    color: black;
}

.navbar-text{
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    padding: 10px;
}

.btn-primary {
    background-color: #4e477f !important;
    border-color: #4e477f !important;
 }

.btn-primary:hover {
    color: white !important;
    background-color: #8780be !important;
    border-color: #4e477f !important;
 }

.btn-primary:active {
    background-color: #7b72be !important;
    border-color: #4e477f !important;
 }

.btn-primary:focus {
    background-color: #7c75be !important;
    border-color: #4e477f !important;
 }

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #7c75be !important;
    border-color: #4e477f !important;
}

.btn-tertiary {
    color: #4e477f !important;
    background-color: #ffffff !important;
    border-color: #4e477f !important;
 }

.btn-tertiary:hover {
    color: black !important;
    background-color: #e6e6e6 !important;
    border-color: #4e477f !important;
 }

.btn-tertiary:active {
    color: black !important;
    background-color: #eeeeee !important;
    border-color: #4e477f !important;
 }

.btn-tertiary:focus {
    color: black !important;
    background-color: #e6e6e6 !important;
    border-color: #4e477f !important;
 }

.btn-tertiary:active:hover,
.btn-tertiary.active:hover,
.open > .dropdown-toggle.btn-tertiary:hover,
.btn-tertiary:active:focus,
.btn-tertiary.active:focus,
.open > .dropdown-toggle.btn-tertiary:focus,
.btn-tertiary:active.focus,
.btn-tertiary.active.focus,
.open > .dropdown-toggle.btn-tertiary.focus {
    color: #000000 !important;
    background-color: #e6e6e6 !important;
    border-color: #4e477f !important;
}

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

.modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.container {
    padding-left: 0px;
    padding-right: 0px;
}

.parsename-grid-container {
    display: grid;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    grid-template-columns: 30% 20%;
    column-gap: 1%;
    row-gap: 8px;
    align-items: center;
}
.upload-grid-container {
    display: grid;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    grid-template-columns: 8% 91%;
    column-gap: 1%;
    row-gap: 8px;
    align-items: center;
 }
.progress {
    margin:0px;
 }
.progress-bar {
    width:100%;
    background-color: #4e477f;
 }
.upload-name-label {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
 }
.upload-name-input {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.upload-name-input-text {
    width:100%;
}
.upload-tag-label {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.upload-tag-input {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.upload-tag-input-text {
    width:100%;
}

.upload-folder-label {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.upload-folder-input {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.upload-folder-input-text {
    width:100%;
}


.upload-team-label {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.upload-team-input {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.upload-team-input-text {
    width:100%;
}

.upload-link-grid-container {
    display: grid;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    grid-template-columns: 8% 16% 16% 57%;
    column-gap: 1%;
    row-gap: 8px;
    align-items: center;
 }

.conversion-warning-text {
    margin-left:10px;
    color: red;
}
.tableHomeScreen {
    width: 100%;
    white-space: nowrap;
}


.table > tbody > tr > td {
    vertical-align:middle;
    white-space: nowrap;
 }
.col {
    padding:20px;
    text-align:center;
}
.form-control {
    min-width:70%;
    min-height:500px;
}
.modal-form-control {
    min-width:70%;
    min-height:500px;
}

.uppy-StatusBar-actionBtn--upload {
    background-color: #4e477f !important;
    border-color: #4e477f !important;
}

.uppy-StatusBar-actionBtn--upload:hover {
    color: white !important;
    background-color: #786ebe !important;
    border-color: #4e477f !important;
 }

.uppy-StatusBar-actionBtn--upload:active {
    background-color: #897fd7 !important;
    border-color: #4e477f !important;
 }

.uppy-StatusBar-actionBtn--upload:focus {
    background-color: #786ebe !important;
    border-color: #4e477f !important;
 }

/* Style the form - display items horizontally */
.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

/* Add some margins for each label */
.form-inline label {
    margin: 5px 10px 5px 0;
}

/* Style the input fields */
.form-inline input {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Style the submit button */
.form-inline button {
    padding: 10px 20px;
    background-color: dodgerblue;
    border: 1px solid #ddd;
    color: white;
}

.form-inline button:hover {
    background-color: royalblue;
}

/* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
@media (max-width: 800px) {
    .form-inline input {
        margin: 10px 0;
    }

    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

.table.user-select-none {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hiddenRow {
    padding: 0 !important;
}

.accordion-label {
    position: relative;
    text-align: center;
}


.panel-heading .accordion-toggle:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: #4e477f;         /* adjust as needed */
    display:inline-block;
}
.panel-heading .accordion-toggle.collapsed:before {
    /* symbol for "collapsed" panels */
    display:inline-block;
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}
.glyphicon{
    position:relative;
}

.btn-blank {
    color: #4e477f !important;
    background-color: none !important;
    border-color: #ffffff !important;
    border: 0px;
    font-size:100%;
}

.btn-blank:hover {
    color: black !important;
    background-color: #e6e6e6 !important;
    border-color: #4e477f !important;
}

.btn-blank:active {
    color: black !important;
    background-color: #eeeeee !important;
    border-color: #4e477f !important;
}

.btn-blank:focus {
    color: black !important;
    background-color: #e6e6e6 !important;
    border-color: #4e477f !important;
}

/* Make the Bootstrap container take 100% of the available height */
.container-fluid, .row, .col-lg-6 {
    height: 100%;
}

/* Make the #divFileBrowser container take 100% of its parent's height and scrollable */
#divFileBrowser {
    height:  85vh;
    overflow-y: auto; /* Add vertical scrollbar */
    border: 1px solid #ccc; /* Optional: Add a border for clarity */
}

body {
    position: relative;
    padding: 0;
}

/********** NEW TOP NAV ***************/

/* Add a black background color to the top navigation */
.topnav {
    overflow: hidden;
    border-bottom:1px solid #999;
    background: #F1F1F1;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    background-color: #4e477f;
    margin-right: 2rem;
    border-color: #fff;
    width: fit-content;
    display:flex;
    justify-content:space-evenly;
}
li{display:inline;}

.flex{
    display:flex;
    justify-content:space-evenly;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: #4e477f;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    color: #4e477f;
    border-color: #4e477f;
    background-color: #fff;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 960px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: table-cell;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 960px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: table-cell;
        text-align: left;
    }
}

/* Right-aligned section inside the top navigation */
.topnav-right {
    float: right;
    display: flex;
}

/******** drop down on nav menu *********/


/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;

}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: #4e477f;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
    background: #fff;
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #ddd;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    min-width: 70vw;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 80vh;
    overflow-y: auto;
    background:#fff;

}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background:	#fff;

}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}