﻿body {
    padding-top: 70px;
    padding-bottom: 20px;
}

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #707FB5;
}

::selection {
    color: #fff;
    background: #707FB5;
}

a {
    color: #707FB5;
}

    a:hover {
        color: #5F6B9B;
    }

.nav-link {
    color: #707FB5;
}

    .nav-link:hover {
        color: #5F6B9B;
    }

.btn-link {
    color: #707FB5;
}

    .btn-link:hover {
        color: #5F6B9B;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}
*/
.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

.workspace-dropdown {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .workspace-dropdown {
        max-width: 240px;
    }
}

@media (min-width: 992px) {
    .workspace-dropdown {
        max-width: 480px;
    }
}

@media (min-width: 1200px) {
    .workspace-dropdown {
        max-width: 660px;
    }
}

@media (min-width: 1400px) {
    .workspace-dropdown {
        max-width: 840px;
    }
}

.field-required {
    color: #b94a48;
}

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

textarea.input-validation-error {
    border: 1px solid #b94a48;
}

span.input-validation-error span:first-child {
    border-color: #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

a:hover, a:active, a:focus {
    outline: 0;
}

textarea {
    resize: none;
}

.custom-bold {
    font-weight: 600;
}

label {
    font-weight: 600;
}

.modal-dynamic {
    margin: 10px 10px 10px 10px;
    min-width: 540px;
    max-width: 100%;
}

.modal-adapt {
    max-width: 100%;
    width: auto !important;
    display: inline-block;
}

.bootbox-body {
    text-align: left;
}

.modal {
    text-align: center;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

a {
    text-decoration: none !important;
}

    a:hover, a:active, a:focus {
        outline: 0;
    }

    a:focus {
        text-decoration: underline;
    }

.protocol-table tbody:nth-child(odd) {
    background: #F2F2F2;
}

.bg-dark {
    background-color: #40568D !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1.0);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 1.0);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-text {
    color: rgba(255, 255, 255, 1.0);
}

    .navbar-dark .navbar-text a,
    .navbar-dark .navbar-text a:hover,
    .navbar-dark .navbar-text a:focus {
        color: #fff;
    }

.theme-color-1 {
    color: #5D6B99 !important;
}

.theme-color-2 {
    color: #40568D !important;
}
