/* Stylesheet for website. */

* {
    margin: 0;
    border: 0;
    padding: 0;
}

html {
    background-color: darkgrey;
    height: 100%;
}

body {
    position: absolute;
    width: 90%;
    min-height: 100%;
    margin: 0% 5% 0% 5%;
    background-color: #d6eac8;
    font-family: Helvetica;
    font-size: 100%;
}

div#page {
	height: 100vh;
}

div#banner {
    height: 9%;
    text-align: center;
    vertical-align: middle;
    background-color: #ffd200;
    color: #542988;
}

div#site {
    background-color: #d6eac8;
    height: 85%;
}

div#login {
    text-align: center;
    padding: 50px;
}

div#menu {
    float: left;
    width: 15%;
    min-height: 100%;
    background-color: #7bc143;
}

div#workspace {
    float: right;
    width: 85%;
    height: 100%;
    background-color: #d6eac8;
}

div#client_search_results {
	height: 65%;
	overflow-y: auto;
}

div.bordered {
    border: 2px solid black;
    border-radius: 20px;
}

.padded {
    padding: 10px;
}

div.fullHeight {
	height: 100%;
}

input {
	font-size: 100%;
    border-radius: 4px;
}

input.login {
    border-radius: 4px;
    width: 250px;
    background-color: #ffd200;
    color: white;
}

input:focus, select:focus, textarea:focus {
    background-color: lightcyan;
}

input.error {
    border: 2px solid red;
}

input.check {
	width: 40px;
    text-align: centre;
    vertical-align: middle;
}

input.checkActive {
    width: 20px;
    text-align: centre;
    vertical-align: middle;
}

input.agencies {
    width: 200px;
}

select {
	font-size: 100%;
}

.narrowest {
	width: 10%;
}
.narrower {
	width: 20%;
}
.narrow {
	width: 25%;
}
.half {
	width: 50%;
}
.wide {
	width: 70%;
}
.wider {
	width: 85%;
}
.widest {
	width: 100%;
}

.left {
	text-align: left;
}
.centered {
	text-align: center;
}
.right {
	text-align: right;
}

table {
	border-spacing: 0px;
}

table.banded tr:nth-child(even) {
	background: #e4d8f3;
}
table.banded tr:nth-child(2n + 3) {
    background: lightyellow;
}
table.banded td:first-child {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
table.banded td:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

div#help {
}

div#admin_agencies {
    
}

ul {
    list-style-type: none;
    margin: 5px;
    padding-bottom: 10px;
    -webkit-padding-start: 0px;
    -moz-padding-start: 0px;
}

li {
}

li button {
    margin: 2px; 
    width: 100%;
}

button {
    background-color: #864eca;
    color: white;
    margin: 5px; 
    padding: 2px;
    border-radius: 4px;
    font-size: 100%;
}
button.save {
    border-radius: 8px;
    border: 3px solid yellow;
    font-size: 200%;
}
button:disabled {
    background-color: #E6D8F3;
    color: black;
}

table button {
    width: 100px;
    background-color: #864ECA;
    color: white;
    margin: 5px; 
    padding: 2px;
    border-radius: 4px;
    font-size: 100%; 
}

button:hover {
    background-color: #602f9d;
    color: white;
    transition-duration: 0.2s;
}

input.login:hover {
    background-color: #f89828;
    color: white;
}

li.menu_header {
    font-weight: bold;
    font-size: 120%
}

th, td {
    height: 25px;
    text-align: left;
    vertical-align: middle;
}

hr {
    height: 0em;
    margin: 1em 0em 1em 0em;
    border: 2px #bfbfbf solid;
}

td.hr {
    border-bottom: 2px #bfbfbf solid;
}

td.spacer {
    width: 50px;
}

h1 {
	font-size: 366%;
}

h2 {
	font-size: 195%;
}

h3 {
	font-size: 156%;
}

h4 {
	font-size: 125%;
}

h5 {
	font-size: 100%;
}

#TOAST {
    visibility: hidden;
    min-width: 200px;
    margin-left: -100px;
    background-color: black;
    color: green;
    text-align: center;
    border-radius: 5px;
    padding: 15px;
    position: fixed;
    left: 50%;
    bottom: 50px;
}

#TOAST.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3s;
    animation: fadein 0.5s, fadeout 0.5s 3s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1; }
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1; }
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1; }
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1; }
    to {bottom: 0; opacity: 0;}
}

/* Style the buttons that are used to open and close the accordion panel */
button.accordian {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.active, button.accordian:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
div.accordianpanel {
  padding: 0 18px;
  display: none;
//  overflow: hidden;
}

.accordian:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}