/*
The MIT License

Copyright 2017 David Yilma.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* 
    Created on : 05-Feb-2017, 22:15:23
    Author     : David Yilma
*/

body {
    font-family: tahoma;
    text-align: center;
    margin: auto;
    padding: auto;
}

h1 {
    font-size: 8vw;
    margin: 4% 0;
}

h2 {
    font-size: 3vw;
    margin: 1% 0;
}

p {
    font-size: 20px;
    margin: 2% 0;    
}

/*Logo*/
h1.logo {
    font-size: 10vw;
    margin: 5% 0;
}

/*Sections*/
section {
    padding: 2%;
}

/*Navigation bar*/
section#navigation {
    position: fixed;
    bottom: 0%;
    width: 96%;
    height: 4vw;
    text-align: right;
    border-top: 5px solid rgb(200, 200, 200);
    background: rgb(50, 50, 50);
}

section#navigation span.button {
    font-size: 2vw;
    margin: 1vh 1vw;
}

section#navigation span.button a {
    color: rgb(0, 150, 250);
    text-decoration: none;
    margin: 0;
    padding: 1vh 2vw;
    background: rgb(80, 80, 80);
}

section#navigation span.button a:hover {
    color: rgb(200, 200, 200);
}

section#navigation span.warning a:hover {
    color: rgb(255, 100, 0);
}

section#navigation div.note {
    font-size: 0.7em;
    text-align: left;
    color: rgb(100, 100, 100);
}

/*Flash notification*/
.flash-success {
    position: fixed;
    top: 0%;
    width: 100%;
    height: auto;
    font-size: 2vw;
    color: rgb(255,255,255);
    text-align: center;
    border-bottom: 5px solid rgb(0, 200, 0);
    background: rgb(50, 50, 50);
    padding: 1vw 0vh;
}

.flash-error {
    position: fixed;
    top: 0%;
    width: 100%;
    height: auto;
    font-size: 2vw;
    color: rgb(255,255,255);
    text-align: center;
    border-bottom: 5px solid rgb(200, 0, 0);
    background: rgb(50, 50, 50);
    padding: 1vw 0vh;
}

/*Main Section*/
section.main {
    height: 100vh;
    padding: 5% 2% 0 2%;
}

section.main p.text {
    font-size: 16px;
}

section.main a {
    color: rgb(100, 100, 100);
}

section.main a:hover {
    color: rgb(255, 255, 255);
    background: rgb(100, 100, 100);
    text-decoration: none;
}

section.main span.button a {
    display: inline-block;
    text-decoration: none;
    background-color: rgb(200, 200, 200);
    padding: 1%;
    margin: 0.5%;
}

section.main span.button a:hover {
    background: rgb(100, 100, 100);
}

section.form {
    height: 100vh;
    padding: 5% 2% 0 2%;
}

section.form h1 {
    font-size: 5vw;
    color: rgb(0, 0, 0);
    padding: 0;
    margin: 0;
}

section.form h3 {
    font-size: 3vw;
    color: rgb(100, 100, 100);
    padding: 0;
    margin: 0;
}

/*Dark Blue Section*/
section.darkblue {
    height: 100vh;
    background: rgb(0, 50, 150);
}

section.darkblue h2 {
    color: rgb(255, 255, 255);
    background: rgb(0, 30, 50);
    padding: 2%;
}

section.darkblue p {
    color: rgb(255, 255, 255);
}

section.darkblue a {
    color: rgb(255, 255, 255);
    padding: 1%;
    margin: 0.5%;
}

section.darkblue a:hover {
    color: rgb(255, 255, 255);
    background: rgb(0, 100, 200);
    text-decoration: none;
}

section.darkblue span.button a {
    display: inline-block;
    text-decoration: none;
    background-color: rgb(0, 40, 140);
    padding: 1%;
    margin: 0.5%;
}

section.darkblue span.button a:hover {
    background: rgb(0, 100, 200);
    padding: 1%;
}

section.darkblue form {
    margin: 0;
    color: rgb(255,255,255);
}

section.darkblue span.block-envelop {
    display: inline-block;
    min-width: 15vw;
    width: auto;
    height: auto;
    text-align: left;
    margin: 1%;
    padding: 0;
    border: none;
}

section.darkblue span.group {
    display: inline-block;
    width: 30%;
    height: auto;
    text-align: right;
    font-size: 16px;
    color: rgb(200,200,200);
    margin: 0;
    padding: 0 5%;
    border-right: 2px solid rgb(255, 255, 255);
}

section.darkblue span.data {
    display: inline-block;
    width: 45%;
    height: auto;
    text-align: left;
    font-size: 20px;
    margin: 0 5%;
    padding: 0;
}

/*Light Gray Section*/
section.lightgray {
    min-height: 100vh;
    height: auto;
    background: rgb(235, 235, 235);
}

section.lightgray span.block-envelop {
    display: inline-block;
    min-width: 15vw;
    width: auto;
    height: auto;
    text-align: left;
    margin: 1%;
    padding: 0;
    border: none;
}

section.lightgray span.group {
    display: inline-block;
    width: 30%;
    height: auto;
    text-align: right;
    font-size: 16px;
    color: rgb(100,100,100);
    margin: 0;
    padding: 0 5%;
    border-right: 2px solid rgb(0, 50, 150);
}

section.lightgray span.data {
    display: inline-block;
    width: 45%;
    height: auto;
    text-align: left;
    font-size: 20px;
    margin: 0 5%;
    padding: 0;
}

section.lightgray h2 {
    background: rgb(200, 200, 200);
    padding: 2%;
}

section.lightgray a {
    color: rgb(0, 50, 150);
    padding: 1%;
}

section.lightgray a:hover {
    color: rgb(255, 255, 255);
    background: rgb(0, 30, 50);
    text-decoration: none;
    padding: 1%;
}

section.lightgray span.button a {
    display: inline-block;
    text-decoration: none;
    background-color: rgb(200, 200, 200);
    padding: 1%;
    margin: 0.5%;
}

section.lightgray span.button a:hover {
    background: rgb(100, 100, 100);
}

section.lightgray form {
    margin: 0;
}

section#report {
}

/*Additions to sections*/
div.body-envelop section:last-child {
    padding: 2% 2% 7% 2%;    
}

.hoverhelp {
    cursor: help;
}

.hoverinfo {
    cursor: default;
}

.wide-envelop {
    width: 100%;
    height: auto;
    padding: 5vh 0;
    margin: auto;
}

.additional-info {
    font-size: 10px;
    color: rgb(100, 100, 100);
    padding: 0 2% 2% 2%;    
    margin: auto;
}

.button-list {
    margin: 0;
}

span.button {
    height: auto;
    margin: 2% 0;
}

.long-text {    
    overflow-x: auto;
    overflow-y: auto;
    height: 45vh;
    text-align: left;
    padding: 1vh 1vw;
    margin: 0;
}

/*Data blocks*/
div.wide-white-block, div.wide-darkgary-block, div.wide-darkblue-block,
div.white-block, div.darkgary-block, div.darkblue-block {
    display: inline-block;
    width: 45%;
    height: auto;
    vertical-align: top;
    margin: 1%;
}

div.wide-white-block {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

div.wide-darkgray-block {
    color: rgb(0, 0, 0);
    background-color: rgb(200, 200, 200);
}

div.wide-darkblue-block {
    color: rgb(255, 255, 255);
}

div.wide-white-block, div.wide-darkgary-block, div.wide-darkblue-block {
    width: 90%;
}

div.wide-darkgary-block h3.title, div.wide-darkblue-block h3.title,
div.darkgary-block h3.title, div.darkblue-block h3.title {
    color: rgb(255, 255, 255);
    padding: 2vh 0;
    margin: 0;
    background-color: rgb(50, 50, 50);
}

div.darkblue-block h3.title {
    background-color: rgb(0, 100, 200);
}

div.wide-darkgary-block p.text, div.wide-darkblue-block p.text,
div.darkgary-block p.text, div.darkblue-block p.text {
    text-align: left;
    padding: 1vh 1vw;
    margin: 0;
}

div.darkblue-block p.text {
    color: rgb(255, 255, 255);
}

div.wide-darkgary-block p.text a, div.wide-darkblue-block p.text a,
div.darkgary-block p.text a, div.darkblue-block p.text a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.wide-darkgary-block p.text a:hover, .wide-darkblue-block p.text a:hover,
.darkgary-block p.text a:hover, .darkblue-block p.text a:hover {
    color: rgb(200, 200, 200);
    text-decoration: underline;
    background-color: inherit;
}

.wide-darkgary-block p.tools, .wide-darkblue-block p.tools,
.darkgary-block p.tools, .darkblue-block p.tools {
    font-size: 0.8em;
    text-align: right;
    color: rgb(100, 100, 100);
    padding: 1vh 1vw;
    background-color: rgb(190, 190, 190);
}

.darkblue-block p.tools {
    background-color: rgb(50, 50, 50);
}

div.wide-darkblue-block label, div.darkblue-block label {
    color: rgb(255, 255, 255);
}

.wide-white-block span.block-envelop, .wide-darkgary-block span.block-envelop, .wide-darkblue-block span.block-envelop {
    display: inline-block;
    min-width: 15vw;
    width: auto;
    height: auto;
    text-align: left;
    margin: 1%;
    padding: 0;
    border: none;
}

.wide-white-block span.group, .wide-darkgary-block span.group, .wide-darkblue-block span.group {
    display: inline-block;
    width: 30%;
    height: auto;
    text-align: right;
    font-size: 16px;
    margin: 0;
    padding: 0 5%;
    border: none;
    border-right: 2px solid rgb(100, 100, 100);
}

.wide-white-block span.data, .wide-darkgary-block span.data, .wide-darkblue-block span.data {
    display: inline-block;
    width: 45%;
    height: auto;
    text-align: left;
    font-size: 20px;
    margin: 0;
    padding: 0 5%;
}

.wide-white-block span.group {
    border-right: 2px solid rgb(0, 100, 200);
}

.wide-white-block a, .wide-darkgary-block span a, .wide-darkblue-block span a {
    text-decoration: none;
}

.wide-white-block span.button a, .wide-darkgary-block span.button a, .darkblue-block span.button a {
    display: inline-block;
    text-decoration: none;
    padding: 1%;
    margin: 0.5%;
}

.darkblue-block span.button a {
    background-color: rgb(0, 100, 200);
}

.wide-white-block span.button a:hover, .wide-darkgary-block span.button a:hover, .darkblue-block span.button a:hover {
    background: rgb(50, 50, 50);
    padding: 1%;
}

.darkblue-block span.button a:hover {
    background-color: rgb(50, 50, 50);
}

div.data {
    display: inline-block;
    width: 98%;
    height: auto;
    vertical-align: top;
    margin: 1%;
}

/*Forms*/
form div {
    display: inline-block;
    margin: 0;
    padding: 1%;
    text-align: center;
}

form div.wide {
    display: block;
    width: 95vw;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

form div.wide div {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 1%;
    text-align: center;
}

form div.wide ul {
    display: inline-block;
    list-style-type: none;
    width: 84vw;
    height: 45vh; /*For long-text scroll.*/
    text-align: left;
    color: rgb(0,0,0);
    margin: 0;
    background-color: rgb(240,240,240);
    border: 1px solid rgb(255,255,255);
}

form div.triple {
    display: block;
    width: 95vw;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

form div.triple div {
    display: inline-block;
    text-align: center;
    padding: 1%;
}

form div.triple div:first-child {
    text-align: right;
}

form div.triple div:last-child {
    text-align: left;
}

label {
    display: block;
    font-size: 1em;
    text-align: left;
    margin: 1% 0;
    padding: 0;
}

label.inline {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 1% 0;
    padding: 0;
}

input[type="text"], input[type="password"], input[type="email"], select, textarea {
    font-family: inherit;
    font-size: 1em;
    height: 15vh;
    width: 43vw;
    padding: 5px;    
    margin: 0;
    border: 1px solid rgb(50, 50, 50);
    background: rgb(240, 240, 240);
}

select{
    height: 5vh;
}

div.wide div select {
    height: 20vh;
    width: 85vw;
}

div.wide div textarea {
    height: 10vh;
    width: 85vw;
}

input[type="text"], input[type="email"], input[type="password"] {
    height: 4vh;
}

select[multiple="multiple"] {
    height: 17vh;
}

form div.triple select, form div.triple input[type="text"] {
    width: 30vh; 
}

textarea[required='required'], input[required='required'], select[required='required'], label.required {
    color: rgb(0,100,200);
}

textarea[required='required'], input[required='required'], select[required='required'] {
    border-color: rgb(0,100,200);
}

input[type="checkbox"] {
    width: 3vw;
    height: 3vh;
    margin: 1%;
}

input[type="file"] {
    display: block;
    height: 5vh;
    width: 43vw;
    padding: 20px;
    margin: 0;
    border: 1px solid rgb(0,0,0);
}

input[type="submit"], button {
    display: inline-block;
    width: 20vw;
    height: 5vh;
    padding: 1%;
    margin: 2% 0;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(50, 50, 50);
    background: rgb(100, 100, 100);
}

input[type="submit"]:hover, button:hover {
    color: rgb(100, 100, 100);
    background: rgb(200, 200, 200);
}

/*JQCloud*/
div.jqcloud {
    position: relative;
    width: 96%;
    height: 350px;
    padding: 2%;
}

