/* -------------------------------------------------------------------------- */
/* global.css                                                                 */
/* -------------------------------------------------------------------------- */

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    border: 0 none;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    line-height: 1.2em;
    background: none rgba(255, 255, 255, 1.0) !important;
    overflow-y: scroll;
}

body,
input,
textarea {
    color: rgba(51, 51, 51, 1.0);
}

a,
a:active,
a:focus,
a:hover,
a:link,
a:visited {
    color: rgba(51, 51, 51, 1.0);
    text-decoration: underline;
}

a.blue,
a.blue:active,
a.blue:focus,
a.blue:hover,
a.blue:link,
a.blue:visited {
    color: rgba(0, 153, 204, 1.0) !important;
    text-decoration: underline !important;
}

a:active,
a:focus {
    outline: 0;
}

b,
strong {
    font-weight: 700;
}

h1 {
    font: normal 24px "Arial", Helvetica, sans-serif;
}

h2 {
    font: normal 20px "Arial", Helvetica, sans-serif;
}

h3 {
    font: normal 16px "Arial", Helvetica, sans-serif;
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    color: rgba(51, 51, 51, 1.0);
}

hr {
    width: 100%;
    height: 1px;
    margin: 5px 0;
    background-color: rgba(51, 51, 51, 0.2);
}

#wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nobr {
    white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* HEADER                                                                     */
/* -------------------------------------------------------------------------- */

#header {
    text-align: center;
}

#header-top {
    background-color: rgba(0, 51, 171, 1.0);
}

#header-logo {
    height: 50px;
}

#header-slogan {
    height: 50px;
    margin: 0;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 1.0);
    text-shadow: 1px 1px 1px rgba(51, 51, 51, 1.0);
    background: rgba(0, 51, 171, 1.0) url(../../img/global/world.jpg) no-repeat right;
    display: none;
}

#header-nav {
    max-height: 30px;
    background-color: rgba(255, 188, 33, 1.0);
}

#header-nav div.buttons {
    position: relative;
    margin: 5px;
    float: right;
    z-index: 999;
}

#header-nav div.buttons form {
    font-size: 0.8em;
    display: inline-block;
}

#solutions {
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 1.0);
}

#solutions a,
#solutions p {
    color: rgba(255, 255, 255, 1.0) !important;
}

#solutions > div {
    padding: 20px !important;
}

#solutions > div:nth-child(1) {
    background-color: rgba(123, 88, 166, 1.0);
}

#solutions > div:nth-child(2) {
    background-color: rgba(255, 143, 42, 1.0);
}

#solutions > div:nth-child(3) {
    background-color: rgba(60, 123, 199, 1.0);
}

#solutions > div:nth-child(4) {
    background-color: rgba(203, 61, 58, 1.0);
}

#nav-top a {
    line-height: 1.2em;
    display: inline-block;
}

#nav-top form {
    text-align: center;
}

#nav-top button,
#nav-top input {
    width: 150px;
}

#nav-top input {
    margin-bottom: 5px;
}

#nav-top div.logo-wrapper {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

#nav-top img.logo {
    width: 60px;
}

/* -------------------------------------------------------------------------- */
/* MAIN                                                                       */
/* -------------------------------------------------------------------------- */

#errors,
#notices,
#success {
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 5px;
}

#errors {
    background-color: rgba(204, 0, 0, 0.2);
    border: 1px solid rgba(204, 0, 0, 1.0);
}

#notices {
    background-color: rgba(255, 204, 0, 0.2);
    border: 1px solid rgba(255, 204, 0, 1.0);
}

#success {
    background-color: rgba(102, 204, 51, 0.2);
    border: 1px solid rgba(102, 204, 51, 1.0);
}

#main {
    font-size: 0.8em;
    display: flex;
    flex: 1 0 auto;
}

#main > div.col-l-spacer:first-child {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .1) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .1) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .1)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=1);
    background-repeat: repeat-x;
    opacity: .5;
}

#main > div.col-l-spacer:last-child {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .0001) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .0001) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .1)), to(rgba(0, 0, 0, .0001)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .0001) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1a000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
    opacity: .5;
}

#main > div:not(.col-l-spacer) {
    padding: 20px 10px;
}

#main .ta-center { text-align: center; }
#main .ta-left { text-align: left; }
#main .ta-right { text-align: right; }

#main .va-top { vertical-align: top; }
#main .va-middle { vertical-align: middle; }
#main .va-bottom { vertical-align: bottom; }

#main ol li,
#main ul[class^="list-"] li {
    margin: 0 0 10px 20px;
    padding-left: 10px;
    line-height: 1.2em;
}

#main ul.list-arrow {
    list-style-image: url(../../img/icons/list_arrow.png);
}

#main ul.list-bar {
    list-style-image: url(../../img/icons/list_bar.png);
}

#main ul.list-references {
    margin: 0 10%;
    list-style-type: none;
}

#main ul.list-references li {
    margin: 0 0 20px 0;
    padding-left: 0;
    clear: both;
}

#main ul.list-references li a.cb-img {
    display: none;
}

#main ul.list-references li a.row {
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

#main ul.list-references li a.row > div:first-child {
    width: 80px;
    height: 57px;
    margin-right: 20px;
    background-size: 80px 57px;
    float: left;
}

#main ul.list-references li a.row > div:last-child {
    width: calc(100% - 100px);
    float: left;
}

#main div.date-wrapper {
    display: flex;
    align-items: center;
}

#main div.date {
    min-width: 40px;
    margin: 2px;
    margin-right: 20px;
    padding: 2px;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.2em;
    background-color: rgba(255, 255, 240, 1.0);
    box-shadow: 0 1px 2px rgba(51, 51, 51, 0.5);
    float: left;
}

#main div.date.blank {
    background: none;
    box-shadow: none;
}

#main div.date-day {
    font-size: 1.2em;
    font-weight: 700;
}

#main div.date-year {
    font-size: 0.8em;
}

#main div[id$="-years"] a {
    color: rgba(0, 153, 204, 1.0);
}

#main div.semiwiki {
    text-align: center;
}

#main div.semiwiki img {
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    margin-bottom: -5px;
}

#main div.semiwiki a {
    width: 100%;
    max-width: 398px;
    min-width: 198px;
    padding: 5px;
    text-align: left;
    background: linear-gradient(to bottom, rgba(235, 255, 255, 1.0) 0%, rgba(204, 255, 255, 1.0) 100%);
    box-shadow: 0 1px 2px rgba(51, 51, 51, 0.5);
    display: inline-block;
}

#main div.semiwiki span.glyphicon {
    margin-right: 5px;
}

/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */

#footer {
    min-height: 50px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(0, 153, 204, 1.0);
    display: flex;
    align-items: center;
}

#footer > div:not(.col-l-spacer) {
    padding: 0 10px;
}

#footer-nav a {
    font-weight: 700;
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}

#footer-nav a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* COLORBOX                                                                   */
/* -------------------------------------------------------------------------- */

#main div.colorbox-wrapper {
    display: none;
}

#cboxContent button {
    box-shadow: none;
}

#cboxLoadedContent {
    padding: 20px;
    font-size: 0.8em;
}

#cboxLoadedContent ul.list-arrow {
    list-style-image: url(../../img/icons/list_arrow.png);
}

#cboxLoadedContent ul.list-bar {
    list-style-image: url(../../img/icons/list_bar.png);
}

#cboxLoadedContent li {
    margin: 0 0 10px 20px;
    padding-left: 10px;
    line-height: 1.2em;
}

#cboxTitle,
#cboxCurrent {
    font-size: 0.8em;
}

/* -------------------------------------------------------------------------- */
/* GLYPHICONS                                                                 */
/* -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../../fonts/glyphicons-halflings-regular.eot');
  src: url('../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#nav-top span.glyphicon,
#main div.title span.glyphicon {
    margin-right: 5px;
}

#nav-top span.glyphicon {
    font-size: 0.8em;
}
#main div.title span.glyphicon {
    font-size: 0.9em;
}

#nav-top a:hover span.glyphicon,
#main div.title a:hover span.glyphicon {
    text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* GRID VIEW                                                                  */
/* -------------------------------------------------------------------------- */

@media only screen and (min-width: 600px) {
    #header { text-align: left; }
    #header-slogan { display: flex; align-items: center; }
    #main > div:not(.col-l-spacer) { padding: 20px 20px 50px; }
    #main div.box-right { padding-left: 20px; }
    #main ul.list-references li a.cb-img { margin: 0 0 20px 20px; float: right; display: inline; }
    #footer { min-height: 30px; }
    #footer-copyright { text-align: left; }
    #footer-nav { text-align: right; }
}