html, body {
    background: #EEEEEE;
}
body, input, select, textarea {
    font-family: Helvetica, sans-serif;
    font-size: 12pt;
    font-weight: 100;
    line-height: 1em;
}
body {
    margin: 0px;
}
a {
    -moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    color: blue;
    text-decoration: none;
}

a:hover {
    color: blue !important;
}


/* Box Model */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* small screen/touch/non-hover off-canvas navigation */
#titleBar {
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    display: none;
    height: 44px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    background: #ddddee;
    box-shadow: 0 0.125em 0.125em 0 rgba(0, 0, 0, 0.125);
}

#titleBar .title {
    color: gray;
    display: block;
    font-weight: 300;
    height: 44px;
    line-height: 44px;
    text-align: center;
    white-space: nowrap;
}

#titleBar .title :before {
    color: #ddddee; content: "MMMM";
}
#titleBar .title a {
    color: inherit;
    border: 0;
}

#titleBar .toggle {
    text-decoration: none;
    height: 60px;
    left: 0;
    position: absolute;
    top: 0;
    width: 90px;
    outline: 0;
    border: 0;
}

#titleBar .toggle:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

#titleBar .toggle:before {
    background: darkgray;
    color: gray;
    content: '=';
    display: block;
    font-size: 33px;
    height: 44px;
    left: 0;
    line-height: 44px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 54px;
}

#navPanel {
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform: translateX(-275px);
    -webkit-transform: translateX(-275px);
    -ms-transform: translateX(-275px);
    transform: translateX(-275px);
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    display: none;
    height: 100%;
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 275px;
    z-index: 10002;
    background: #181920;
    padding: 0.75em 1.25em;
}

#navPanel .link {
    border: 0;
    border-top: solid 1px rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    display: block;
    height: 3em;
    line-height: 3em;
    text-decoration: none;
}

#navPanel .link:hover {
    color: white !important;
    box-shadow: 0 0.075em 0.35em 0 green;
}

#navPanel .link:first-child {
    border-top: 0;
}

#navPanel .link.depth-0 {
    color: #ffffff;
    font-weight: 300;
}

#navPanel .link .indent-1 {
    display: inline-block;
    width: 1.25em;
}

#navPanel .link .indent-2 {
    display: inline-block;
    width: 2.5em;
}

#navPanel .link .indent-3 {
    display: inline-block;
    width: 3.75em;
}

#navPanel .link .indent-4 {
    display: inline-block;
    width: 5em;
}

#navPanel .link .indent-5 {
    display: inline-block;
    width: 6.25em;
}

body.navPanel-visible #titleBar {
    -moz-transform: translateX(275px);
    -webkit-transform: translateX(275px);
    -ms-transform: translateX(275px);
    transform: translateX(275px);
}

body.navPanel-visible #navPanel {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
/* end of off-canvas navigation */


/* page sections */
/* header */
/* wayfinding (breadcrumbs, clicktrail etc) */
h3 {
    font-size: 1.2em;
}
/* main (outer) div */
div#main {
    padding: 3.3em 0 0 0;
    margin: 8px;;
}

/* content div */
div.content {
    margin: 0;
    padding: 0;
}
/* footer */

/* Form */

/*label {
    color: black;
    display: block;
    font-size: 0.9em;
    font-weight: 300;
    margin: 0 0 1em 0;
}*/

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: border-color 0.2s ease-in-out;
    -webkit-transition: border-color 0.2s ease-in-out;
    -ms-transition: border-color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out;
    background: transparent;
    border-radius: 4px;
    border: solid 1px rgba(128,128,255,0.3);
    color: inherit
    display: block;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #e44c65;
}

.select-wrapper {
    text-decoration: none;
    display: block;
    position: relative;
}

.select-wrapper:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

.select-wrapper:before {
    color: rgba(255, 255, 255, 0.3);
    content: '\f078';
    display: block;
    height: 3em;
    line-height: 3em;
    pointer-events: none;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 3em;
}

.select-wrapper select::-ms-expand {
    display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
    height: 3em;
}

textarea {
    padding: 0.75em 1em;
}

select option {
    background-color: #1c1d26;
    color: #ffffff;
}

select:focus::-ms-value {
    background: transparent;
}

input[type="checkbox"],
input[type="radio"] {
/*    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2em;
    opacity: 0;
    width: 1em;
    z-index: -1;*/
}

input[type="checkbox"] + label,
input[type="radio"] + label {
/*    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 100;
    padding-left: 2.55em;
    padding-right: 0.75em;
    position: relative; */
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
/*    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;*/
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
/*    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, 0.3);
    content: '';
    display: inline-block;
    height: 1.8em;
    left: 0;
    line-height: 1.725em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1.8em;*/
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
/*    background: rgba(255, 255, 255, 0.25);
    color: black;
    content: '\f00c'; */
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
    border-color: #e44c65;
}

input[type="checkbox"] + label:before {
    border-radius: 4px;
}

input[type="radio"] + label:before {
    border-radius: 100%;
}

/* Button */

input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: transparent;
    /*background-color: green;*/
    border-radius: 5px;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(128, 128, 255, 0.3);
    color: #black !important;
    cursor: pointer;
    display: inline-block;
    font-weight: 300;
    height: 2.5em;
    line-height: 2.5em;
    padding: 0 1em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    margin: 4px;
}


input[type="submit"]:hover, input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="button"]:hover,
input[type="button"]:active,
textarea:active,
textarea:hover,
textarea:focus,
.button:hover,
.button:active {
    box-shadow: inset 0 0 0 1px rgba(128,128,255, 1.0);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
    background-color: rgba(228, 76, 101, 0.15);
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
.button.icon:before {
    margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
.button.fit {
    display: block;
    margin: 0 0 1em 0;
    width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
.button.small {
    font-size: 0.8em;
}

input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
.button.big {
    font-size: 1.35em;
}

input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
.button.disabled,
.button:disabled {
    background-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: inset 0 0 0 1px rgba(128,128,255, 0.3) important;
    color: #ffffff !important;
    cursor: default;
    opacity: 0.25;
}

/* Dropotron Dropdown menus */

.dropotron {
    background: #DDDDEE;
    border-radius: 4px;
    box-shadow: 0 0.075em 0.35em 0 green;
    list-style: none;
    margin-top: calc(-0.25em + 1px);
    min-width: 12em;
    padding: 0.25em 0;
}

.dropotron > li {
    border-top: solid 1px rgba(255, 255, 255, 0.035);
    padding: 0;
}

.dropotron > li a, .dropotron > li span {
    border: 0;
    color: black;
    display: block;
    padding: 0.1em 1em;
    text-decoration: none;
}

.dropotron > li:first-child {
    border-top: 0;
}

.dropotron > li.active > a, .dropotron > li.active > span {
    color: #DDDDEE;
    box-shadow: 0 0.075em 0.35em 0 green;
}

.dropotron.level-0 {
    font-size: 0.8em;
    margin-top: 1em;
}

.dropotron.level-0:before {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #DDDDEE;
    box-shadow: -1px -1px 1px 0px green;
    content: '';
    display: block;
    height: 1em;
    position: absolute;
    right: 1.5em;
    top: -0.5em;
    width: 1em;
}

/* Header */

#header {
    background: #eeeeff;
    color: gray;
    box-shadow: 0 0 0.25em 0 rgba(0, 0, 0, 0.25);
    cursor: default;
    height: 3.5em;
    left: 0;
    line-height:3.5em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: block;
}

#header h1 input {
    position: absolute;
    left: 10em;
    top: 50%;
    transform: translate(0, -50%);
    width: 22em;
}

#logo a {
    font-size: 2.0em;
    color: gray;
    text-decoration: none;
    font-weight: bold;
    margin-left: .4em;
}

/* Header Dropdown for big screens/non-touch (dropotron) */
#header nav {
    position: absolute;
    right: 1em;
    top: 0;
}
#header nav ul {
    margin: 0;
}
#header nav ul li {
    display: inline-block;
    margin-left: 1em;
}
#header nav ul li a, #header nav ul li span {
    border: 0;
    color: inherit;
    display: inline-block;
    height: inherit;
    line-height: inherit;
    outline: 0;
}
#header nav ul li a.button, #header nav ul li span.button {
    height: 2em;
    line-height: 2em;
    padding: 0 1.25em;
}
#header nav ul li a:not(.button):before, #header nav ul li span:not(.button):before {
    margin-right: 0.5em;
}
#header nav ul li.active > a, #header nav ul li.active > span {
    color: #e44c65;
}
#header nav ul li > ul {
    display: none;
}


/* Footer */

#footer {
    background: #EEEEEE;
    padding: 6em 0;
    text-align: center;
}

#footer .copyright {
    color: gray;
    font-size: 0.8em;
    line-height: 1em;
    margin: 2em 0 0 0;
    padding: 0;
    text-align: center;
}

#footer .copyright li {
    border-left: solid 1px rgba(255, 255, 255, 0.3);
    display: inline-block;
    list-style: none;
    margin-left: 1.5em;
    padding-left: 1.5em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#footer .copyright li a {
    color: inherit;
}

span.title {
    width: 100%;
}
#topsearch {
    /* background-color: green; */
}
#topsearch input {
    position: relative;
    top: -5px;
}

/* small screen or coarse pointer overrides */
@media screen and (max-width: 736px),
       screen and (pointer:coarse) {
    #header {
	display: none;
    }
    #navPanel, #titleBar {
	display: block;
    }
    .topsearch {
	width: 58%;
	height: 101%;
    }
    .topsearch:focus {
	width:100%;
	position: absolute;
	top: 0px;
	left:0px;
    }
}

/* large screen */
/* @media screen and (min-width: 737px) {
    #header {
	display: block;
    }
    #navPanel, #titleBar {
	display: none;
    }
}
*/

@media print {
    nav#nav {
	visibility: hidden;
    }
}