﻿/* Move down content because we have a fixed navbar that is 50px tall */

html {
    font-size: 2rem;
    font-family: sans-serif;
}



@media (min-width: 768px) {
    html {
        font-size: 1rem;
    }
}


@media (min-width: 992px) {
    html {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 1rem;
    }
}

:focus {
    outline: none;
}


body {
    /*padding-top: 25px;*/
    padding-bottom: 20px;
    background-color:#6f6d62;
    overflow-y:scroll;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-color:#fff;
    border-radius:10px;
    padding-bottom:10px;
    padding-top:15px;
    margin-top:15px;
    max-width: 95% !important;
}

.bg-gradient {
    background: linear-gradient(to bottom, rgb(34, 34, 34,.7), rgb(34, 34, 34,1), rgb(34, 34, 34,.7));
    background: -moz-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(34, 34, 34,.7)), color-stop(100%,rgba(34, 34, 34,1)),color-stop(100%,rgba(34, 34, 34,.7))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* IE10+ */
 
    background-color: transparent !important;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

    .navbar-inverse .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }


.dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #cfd5dc;
}

.btn-secondary {
    cursor: pointer;
    border-radius: 28px;
    font-family: Calibri, Helvetica, Arial, sans-serif;
    color: #fff !important;
    font-size: 1.5rem;
    text-align: center;
    background: #d75f33;
    padding: 5px 15px 5px 15px;
    text-decoration: none;
    margin: 10px 0 10px 0;
    border: 0;
    -webkit-appearance: none;
}

.btn-primary {
    cursor: pointer;
    border-radius: 3rem;
    color:black;
    font-size: 1.5rem;
    text-align: center;
    background: #d7b480;
    padding: .2em .75em;
    text-decoration: none;
    margin: .2em .5em;
    border: 0;
    -webkit-appearance: none;
}

.btn-primary:disabled, .btn-primary:disabled:hover {
    cursor: default;
    color: darkgrey;
    background: #d7b480;
}

.btn-primary-small {
    cursor: pointer;
    border-radius: 2rem;
    color:black;
    font-size: 1rem;
    text-align: center;
    background: #d7b480;
    padding: .05em .75em;
    text-decoration: none;
    margin: .25em .5em;
    border: 0;
    -webkit-appearance: none;
}


.btn-primary:hover, .btn-primary-small:hover {
    background-color: #5a6268;
    text-decoration:none;
    color: white;

}


.btn-primary-small:disabled, .btn-primary-small:disabled:hover {
    cursor: default; 
    color:darkgrey;
    background: #d7b480;
}



.header {
    margin-left: -15px;
    margin-right: -15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /*padding-left:15px;*/
    /*padding-right:15px;*/
    padding:10px;

    background: linear-gradient(to bottom, rgb(34, 34, 34,.6), rgb(255, 255, 255,1));
    background: -moz-linear-gradient(top, rgba(34, 34, 34,.6) 0%,rgba(34, 34, 34,1) 50%,rgb(255, 255, 255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(34, 34, 34,.6)), color-stop(100%,rgb(255, 255, 255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(34, 34, 34,.6) 0%,rgb(255, 255, 255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(34, 34, 34,.6) 0%,rgb(255, 255, 255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(34, 34, 34,.6) 0%,rgb(255, 255, 255,1) 100%); /* IE10+ */
    /*background: linear-gradient(to bottom, rgb(34, 34, 34,.7), rgb(34, 34, 34,1), rgb(34, 34, 34,.7));*/
    /*background: -moz-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(34, 34, 34,.7)), color-stop(100%,rgba(34, 34, 34,1)),color-stop(100%,rgba(34, 34, 34,.7))); Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* Opera 11.10+ */
    /*background: -ms-linear-gradient(top, rgba(34, 34, 34,.7) 0%,rgba(34, 34, 34,1) 50%,rgba(34, 34, 34,.7) 100%); /* IE10+ */
    background-color: transparent !important;
}


/* Set widths on the form inputs since otherwise they're 100% wide 
input,
select,
textarea {
    max-width: 280px;
}*/

/* Responsive: Portrait tablets and up 
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}*/

/*span.error, span .error {
    background: #e4ded4 url('../images/alert.png') 0px 50% no-repeat;
    color: #D5290A;
    font-weight: bold;
}

span.attention, span.clock, span.stop, span.alert, span.error, span .error {
    display: block;
    padding: 0px 0px 0px 25px;
    margin: 15px 0;
    border-radius: 5px;
}
*/

.error {
    color:red;
    font-weight:bold;
}
input {
    border: 1px solid #ccc;
    padding: 2px;
    line-height: normal;
    margin-left: .3rem;
    margin-right: .3rem;
    margin-bottom: .3rem;
}

.input2Char {
    width: 2rem;
}

.input4Char {
    width: 4rem;
}

div.panel div.row {
    border-radius: .25rem;
    border: 1px solid white;
    background-color: #e4ded4;
}

.popup {
    border-radius: .25rem;
    border: 1px solid black;
    background-color:white;
    padding: .5rem;
}

.popup-bg {
    background-color: black;
    opacity: 0.75;
}

div.table{
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

div.table a, div.table a:hover {
    color:black;
    text-decoration: underline;
}

div.table div.row {
    border: 1px solid black;
    border-radius: .25rem;
    font-weight:bold;
}

div.table div:first-child.row div {
    margin-top: auto;
    margin-bottom: auto;
}

div.table div:nth-child(odd).row {
    background-color: #d7b480;
}

div.table div:nth-child(even).row {
    background-color: #e4ded4;
}

div.table div:nth-child(odd).row .btn-primary-small, div.table div:nth-child(odd).row .btn-primary-small:disabled:hover {
    background-color: #e4ded4;
}

div.table div:nth-child(odd).row .btn-primary-small:hover {
    background-color: #5a6268;

}


td.lightbg, tr.lightbg, div.lightbg
{
	background: #e4ded4;
	color: black;
}

td.darkbg, tr.darkbg, div.darkbg
{
	background: #d7b480;
	color: black;
}

tr.datarow, div.datarow {
    background-color: #e4ded4;
}



tr.alternatingrow, div.alternatingrow
{
    background-color: #d7b480;
}

.pbEnabled
{
	color: black;
	text-decoration: none;
}

.pbSubEnabled
{
	color: black;
	text-decoration: none;
}

.pbDisabled
{
	color: gray;
	text-decoration: none;
}

.nav-tabs {
  border-bottom: 1px solid black;
}

.nav-tabs .nav-link {
    margin-right: 3px; 
    border-color: grey grey black;
    color:black;
    background-color: #e4ded4;
    text-decoration: none;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  border-color: grey grey black;
  color:black;
  background-color: #d7b480;
  text-decoration: none;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  border-color: black black white;
  background-color: white;
  text-decoration: none;
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
  color: black;
  background-color:  #e4ded4;
  margin: 0px 5px 5px 0px;
  text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: black;
  background-color: #d7b480;
  margin: 0px 5px 5px 0px;
  text-decoration: none;
}


.tab-pane {
    border:solid 1px;
    border-color: black;
    width:100%;
    padding:5px;

}

input[type=radio] {
    width: 1rem;
    height: 1rem;
    text-decoration-color: black;
}

input[type=radio] + label {
    color: black;
}

input[type=radio]:disabled + label {
    color:grey;
}

.radio

.modalBackground {
    background-color: white;
}

.expand-button {
    cursor: pointer;
    border-radius: .25rem;
    color:black;
    font-size: 1.25rem;
    text-align: center;
    background: #d7b480;
    padding: 5px 15px 5px 15px;
    text-decoration: none;
    margin: 10px 0 10px 0;
    border: 0;
    -webkit-appearance: none;
    display: block;
}

.expand-link {
    cursor: pointer;
    color:black;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    padding: 5px 0px 5px;
    margin: 0px;
    border: 0;
    -webkit-appearance: none;
    display: block;
}

.text-toggle[aria-expanded=false] .text-expanded {
    display: none;
}
.text-toggle[aria-expanded=true] .text-collapsed {
    display: none;
}

hr.separator {
    border: 1px solid darkgrey;
    width: 95%;
}

@media (min-width: 576px) {
    div.panel div.row {
        border: 0;
        border-radius: 0;
        background-color: white;
    }

    div.panel div.row div:nth-child(odd) {
        border-radius: .25rem .25rem 0 0;
        border: 2px solid white;
        border-bottom: 0px;
        background-color: #e4ded4;
    }

    div.panel div.row div:nth-child(even) {
        border-radius: 0 0 .25rem .25rem;
        border: 2px solid white;
        border-top: 0px;
        background-color: #e4ded4;
    }
}

@media (min-width: 768px) {
    .btn-primary-small {
        font-size: 1.25rem;
    }

    .row-md-dark {
        border: 2px solid black;
        border-radius: .25rem;
        background-color: #e4ded4;
    }

    .row-md-darker {
        border: 2px solid black;
        border-radius: .25rem;
        background-color: #d7b480;
    }

    .md-text-right {
        text-align: right;
    }

    div.panel div.row div:nth-child(odd) {
        border-radius: .25rem 0 0 .25rem;
        border: 2px solid white;
        border-right: 0px;
        background-color: #e4ded4;
    }

    div.panel div.row div:nth-child(even) {
        border-radius: 0 .25rem .25rem 0;
        border: 2px solid white;
        border-left: 0px;
        background-color: #e4ded4;
    }

}


@media (min-width: 992px) {

    div.panel div.row{
        background-color: #e4ded4;
        border: 1px solid white;
        border-radius:.25rem;
    }

    div.panel div.row div:nth-child(odd), div.panel div.row div:nth-child(even) {
        border-style:hidden;
        background-color: transparent;
    }


    .btn-primary-small {
        font-size: 1rem;
    }

    .tab-pane {
        border-top:0;
    }

    .max-300 {
        max-width: 300px;
    }

    .max-600 {
        max-width: 600px;
    }

    .max-700 {
        max-width: 700px;
    }

    .max-850 {
        max-width: 850px;
    }

    .max-1000 {
        max-width: 1000px;
    }

    .max-1200 {
        max-width: 1200px;
    }

    .expand-lg-flex.collapse {
        display: flex  !important;
        height: auto !important;
        overflow: visible !important;
    }
}


span.cbtextwrap {
    display: table;
}

span.cbtextwrap > input {
    display: table-cell;
}


span.cbtextwrap > label {
    display: table-cell;
    vertical-align: top;
}