:root {
    /* style */
    --primary: #ef8317;
    --primary-hover: #fe8a1d;
    --primary-input-focus: rgba(239, 131, 23, .6);
    --grey5: #555;
    --grey6 : #666;
    --background: #f6f6f6;
    --nav: #fff;
    --nav-font: #555;
    --nav-button: rgba(0, 0, 0, .5);
    --footer: #fff;
    --footer-font: #555;
    --button-background: var(--primary);
    --button-hover-background: var(--primary-hover);
    --button-text: #fff;
    --button-hover-text: #fff;
    /* live */
    --tabs-background: transparent;
    --tabs-text: var(--grey6);
    --tabs-active-background: var(--primary);
    --tabs-active-text: #fff;

    --modules: #fff;
    --modules-text: #000;
    --modules-info-text: rgba(0, 0, 0, .5);
    --modules-title: var(--grey5);

    --darkblue: #0e2b63; 
    --blue: #004f9f;
    --cyan: #00b1eb;
    --green: #50af47;
    --purple: #5a328a;
    --yellow: #ffbb00;
    --lightgreen: #afca0b;
    --magenta: #e72582;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: 'Open Sans';
    margin: 0;
    padding: 0;
    background-color: var(--background);
}

/* ** ***************************************** HEADER ****************************************** ** */

nav {
    background: var(--nav);
    color: var(--nav-font);
	/*padding: 10px;*/
    box-shadow: 0 2px 2px rgba(0,0,0,.08), 0 1px 0 rgba(0,0,0,.08);
}
nav .images {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}
nav .images img {
    margin-right: 20px;
}
nav .menu {
    text-align: right;
    padding: 10px 20px;
}
nav .menu a {
    text-decoration: none;
    color: var(--nav-font);
}
nav .menu a:hover {
    color: var(--nav-button);
}
nav .menu a:first-child {
    margin-right: 20px;
}
nav .menu a i {
    display: none;
}

/* ** ***************************************** CENTER ****************************************** ** */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

/* ** ***************************************** FOOTER ****************************************** ** */

footer {
    background-color: var(--footer);
    color: var(--footer-font);
    line-height: 35px;
    padding: 5px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0px 2px 2px rgba(0,0,0,.08), 0px -1px 0px rgba(0,0,0,.08);
}

footer p {
    margin: 0;
}

/* ** ***************************************** VLM CLASSES ****************************************** ** */

.success, .error {
    display: none;
    padding: 15px;
    border-radius: 3px;
    font-size: 13px;
    width: 100%;
    margin: 0;
}
.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.success span, .error span {
    font-weight: bold;
}
.success p, .error p {
    margin: 2px 0;
}
.color-bar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.color-bar .color:first-child {
    width: 30%;
    background: var(--darkblue);
    height: 10px;
}
.color-bar .color:nth-child(2) {
    width: 20%;
    background: var(--blue);
    height: 10px;
}
.color-bar .color:nth-child(3) {
    width: 15%;
    background: var(--cyan);
    height: 10px;
}
.color-bar .color:nth-child(4) {
    width: 10%;
    background: var(--primary);
    height: 10px;
}
.color-bar .color:nth-child(5) {
    width: 8%;
    background: var(--yellow);
    height: 10px;
}
.color-bar .color:nth-child(6) {
    width: 7%;
    background: var(--green);
    height: 10px;
}
.color-bar .color:nth-child(7) {
    width: 5%;
    background: var(--lightgreen);
    height: 10px;
}
.color-bar .color:nth-child(8) {
    width: 3%;
    background: var(--purple);
    height: 10px;
}
.color-bar .color:nth-child(9) {
    width: 2%;
    background: var(--magenta);
    height: 10px;
}

.vlm-form-control {
    display: inline-block;
    padding: .275rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    border-radius: 2px;
    resize: none;
}
.vlm-form-control:hover {
    border-color: #555;
}
.vlm-form-control:focus {
    border-color: #64bed8;
    outline: 0;
    color: #495057;
    background-color: #fff;
    box-shadow: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.vlm-btn {
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 1em;
    font-weight: bold;
    border: 0;
    border-radius: 2px;
    color: var(--button-text);
    background-color: var(--button-background);
    float: right;
    height: fit-content;
}
.vlm-btn:hover {
    color: var(--button-hover-text);
    background-color: var(--button-hover-background);
}
.vlm-btn:focus {
    outline: 0;
}
.vlm-primary {
    color: #fff;
    background-color: var(--primary);
}
.vlm-primary:hover {
    color: #fff;
    background-color: var(--primary-hover);
}
.vlm-primary:focus {
    box-shadow: none;
}
.vlm-green {
    color: #fff;
    background-color: #ace71c;
}
.vlm-orange {
    color: #fff;
    background-color: #ffcf00;
}
.vlm-darkblue {
    color: #fff;
    background-color: var(--darkblue);
}

.vlm-darkblue:hover {
    color: #fff;
    background-color: var(--darkblue);
}

.vlm-input-icon {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    min-height: 100%;
    cursor: pointer;
    color: #666;
}
.vlm-input-icon:hover, .vlm-input-icon:focus {
    background-color: rgba(0, 0, 0, .1);
}

.vlm-input-btn {
    position: absolute;
    /* top: 0; */
    right: 0;
    transform: translateX(-40%);
}

/* ** *********************************************** IE 11 ***************************************** ** */

@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop, body { background-color: #f6f6f6; }
    *::-ms-backdrop, nav { background-color: #fff; color: #555; }
    *::-ms-backdrop, nav .menu a {
        color: #555;
    }
    *::-ms-backdrop, nav .menu a:hover {
        color: rgba(0, 0, 0, .5);
    }
    *::-ms-backdrop, footer { position: fixed; bottom: 0; background-color: #fff; color: #555; width: 100%; }
    *::-ms-backdrop, .vlm-btn {
        width: auto;
        height: 50px;
        background-color: #ef8317;
        color: #fff;
    }
    *::-ms-backdrop, .vlm-input-btn {
        transform: translate(-40%, -50%);
    }
    *::-ms-backdrop, .vlm-input-icon {
        line-height: 30px;
    }
    *::-ms-backdrop, .vlm-input-icon i {
        transform: translateY(10px);
    }
}
