﻿
/* colors*/
.bg-dark {
    background-color: #162947; /* dark blue*/
    color: #2c3e50; /*text color-slightly blue-white*/
}

.bg-light {
    color: #ffffff; /*white*/
}

bg bg-secondary {
    color: #637e92; /*medium blue*/
}

bg bg-pale {
   color: #eff6f6;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body{
    min-height:100%;
    font-family: 'Open Sans', 'Calibri', 'Arial Unicode MS', 'DejaVu Sans', 'FreeSans', 'Lucida Sans Unicode';
    font-size: 15px;
    background-color: #eff6f6;
    scrollbar-face-color: #637e92; /*for IE 9 and above*/
    scrollbar-track-color: #2c3e50;
    flex-flow:column;
}

.col-gap {
    column-gap: 2rem;
}

/* Wrapping element */
/* Set some basic 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;
}

@media screen {
    .jumbotron {
        margin-top: 30px;
    }

    .body {
        padding-top: 70px;
    }
}

@media screen and (max-width:500px) /*for small screen with collapsed navbar*/
{
    .body-content {
        padding-top: 70px;
    }
    footer{flex-direction:column;}
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding-top: 50px;
    }
}

@media screen and (min-width: 970px) {
    .body-content {
        padding-top: 50px;
    }
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"],
input[type="number"] {
    width: 100px;
    margin-right: auto;
    height: 27px;
    padding-left: 4px;
    padding-right: 4px;
    border: none; /* needed for IE */
    outline-color: #93a2b9; /* slightly lighter than the nav bar*/
}

input[type="radio"] {
    margin: 4px;
    line-height: normal;
}

/*no spin buttons for number textbox*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.input-group {
    margin-bottom: 10px;
    display: inline-flex;
}

.scroll {
    width: 200px;
    height: 400px;
    background: none;
    overflow-y: auto;
}
.scroll::-webkit-scrollbar {
    width: 12px;
}

.scroll::-webkit-scrollbar-track {
    -moz-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -moz-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}

.dropdown {
    height: 27px;
    border: none;
    padding: 1px;
    margin-top:8px;
}

.navbar-inverse {
    background-color:#162947;
}

.navbar-brand {
    color: rgba(242, 242, 125, 0.89);
}

.navbar-header a.navbar-brand {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.nav li {
    font-size:20px;
    padding-right: 5px;
}


/*selected item in nav bar menu shows a color*/
.navbar-inverse > li > a:hover,
.navbar-inverse > li > a:focus {
    color: #ffffff;
}
/* the currently opened page link*/
.navbar-inverse > li > a:active{
    color: rgba(242, 242, 125, 0.89);
}

.jumbotron {
    background-image: url('../Images/chemistry-science-wallpapers.jpg');
    background-size: cover;
    color: #fffad5;
}
.jumbotron h1 {
    color: rgba(242, 242, 125, 0.89);
}

table {
    background-color: transparent;
    overflow: auto;
}

table a:not(.btn), .table a:not(.btn) {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
    line-height: 1.1;
    color: inherit;
}

h1, .h1 {
    font-size: 20px;
}

h2, .h2 {
    font-size: 24px;
}

h3, .h3 {
    font-size: 18px;
    font-weight: bold;
}

h4, .h4 {
    font-size: 10px;
}

fieldset {
    border: 1px #285E8E solid;
    margin: 0 0 0 0;
    padding: 10px;
    width: 100%;
}


legend {
    padding: 0;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: inherit;
    color: #285E8E;
    margin-top: -10px;
    float: none;
    width: auto;
}

.usericon input {
    padding-left: 25px;
}

.usericon:before {
    height: 100%;
    width: 25px;
    display: -webkit-box;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    -moz-box-pack: center;
    -moz-box-align: center;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    position: absolute;
    content: "\e008";
    font-family: 'Glyphicons Halflings';
    pointer-events: none;
    color: blue;
}



.inner-addon {
    position: relative;
}

/* add padding  */
.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

/* Sticky footer styles
    -------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-weight: 200;
    /* Set the fixed height of the footer here */
    height: 30px;
    background-color: #f5f5f5;
    align-items: center;
}

.ajax_slider_h_rail {
    border: 1px solid;
    border-radius: 3px 3px 3px 3px;
    height: 8px;
    width: 200px;
    color:darkblue;
    background-color: #798d8f;
    position:relative;
    margin-bottom:10px;
}

.ajax_slider_h_handle {
    height:25px;
    width:25px;
    position: absolute;
}

.accordion {
/*    border: 1px solid #2F4F4F;*/
    color: white;
    background-color: #93a2b9; /* slightly lighter than the nav bar*/
    font-weight: bold;
    padding: 2px;
    cursor: pointer;
}

.accordionContent {
    background-color: #D3E0E5;
    border-top: none;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.accordionHeader {
    border: 1px solid #2F4F4F;
    color: white;
    background-color: #93a2b9; /* slightly ligher than the nav bar*/
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
}

.accordionHeaderSelected{
    border: 1px solid #2F4F4F;
    color: white;
    background-color: #93a2b9; /* slightly ligher than the nav bar*/
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
}

.accordionHeader::after {
    content: "+";
    float: right;
}

.accordionHeaderSelected::after {
    content: "-";
    float: right;
}



/* generic label*/
label {
    font-weight: 400;
    display: initial;
}

/*label for radio buttons*/
label, input[type="radio"] {
    font-size: 12px;
    vertical-align: middle;
}

label, input[type="checkbox"] {
    font-size: 14px;
}
    .btn {
        color: white;
        background-color: #1c355d; /* slightly ligher than the nav bar*/
        border: none;
    }

    .btn:hover,
    .btn:focus,
    .btn:active {
        background-color: transparent;
        border:thin;
        border-width:1px;
        border-color: #798d8f;
    }

.btn-info {
    color: #1c355d; /* slightly ligher than the nav bar*/
    background-color: transparent;
    padding: 0,0,0,14px;
    font-size: 15px;
}

    .btn-info:hover, /* the inverse of the other buttons*/
    .btn-info:focus,
    .btn-info:active {
        color: #93a2b9; /* same as the header*/
        background-color: transparent;
    }

    .btn-info selected {
        /* the inverse of the other buttons*/
        color: white; /* slightly ligher than the nav bar*/
        background-color: #1c355d;
    }

.btn-send:hover,
.btn-send:active {
    color: yellow;
}

.btn-search, input[type=submit] {
    font-size: 15px;
    height: 30px;
    padding: 5px 5px;
    margin-left: 20px;
}

.Grid {
    margin: 0px;
    background-color: #eff6f6;
    border-style: none;
}

.Grid th, .Grid td, Grid tfoot {
    border-collapse: separate;
    border: 1px;
}

.Grid th {
    padding: 4px 3px;
    font-weight: 600;
    color: white;
    background-color: #93a2b9; /* slightly ligher than the nav bar*/
}

.Grid th a {
    color: white
}

.Grid .even td { /*even rows have a slight color - odd rows have grid background color*/
    background-color: #DFE8EB;
}

.Grid td {
    padding: 2px;
}

/*--style for the footer that hold the paginator*/
    .Grid tfoot {
        padding: 4px 2px;
        background-color: #93a2b9;
    }

/*-----styles for the pagination in the footer*/
    .Grid .pgr {
        font-weight: bold;
        color: white;
        background-color: #93a2b9;
    }

.Grid .pgr table {
    margin: 0;
}

.Grid .pgr td {
    color: #fff;
}

.Grid .pgr a {
    text-decoration: none;
}

.Grid .pgr a:hover {
    font-size: larger;
    text-decoration: none;
}

.GridMinimal { /*alternate style for the filter rdbe*/
    padding: 4px 3px;
    font-weight: 600;
    color: black;
    background-color: none;
}

.GridMinimal th {
    padding: 4px 3px;
    font-weight: 600;
    color: black;
    background-color: white;
}

in-line-radiobuttons input[type=radio] {
    width: auto;
}

in-line-radiobuttons tr { /*remove the site overrides for normal table row*/
    background-color: none;
    color: none;
    width: 100px;
}


in-line-radiobuttons label {
    display: inline;
    background-color: none;
    color: palegreen;
}

.flexBoxVertical /*one-above-the-other*/{
    display: flex;
    flex-direction: column;
    background-color: #D3E0E5;
    padding-top:20px;
    padding-left:10px;
    overflow:hidden;
    position: relative;
}

.flexBoxHorizontal /*side-by-side*/ {
    display: flex;
    flex-direction: row;
    background-color: #D3E0E5;
    padding: 10px; /*to match the text boxes above*/
}

.elementsTable /*no width- expand stop fit*/ {
    justify-content: flex-start;
}

.elementsButton {
    align-self: flex-end;
}

.flexFormGroup {
    justify-content: flex-start;
}


