﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #EAEAEA; /*sgi gray 92*/
    width: auto;
}

/*------------------------------------------------*/
/* Style the header */
.header {
    background-color: #135299; /*blue*/
    padding: 1.5em;
    height: 10em;
    margin: 0em -1.3em 0em 0em;
}

/*------------------------------------------------*/
/*nav bar container*/
.container {
    margin-left: -19px;
    margin-right: -4px;
    margin-top: 0;
    width: auto;
}

/*------------------------------------------------*/
/* https://www.script-tutorials.com/css3-responsive-menu/ */
/*nav bar with dropdowns*/
#nav span {
    display: none;
}

#nav, #nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

#nav {
    background-color: #000000; /*black*/
    border-bottom: 5px solid #FF0000; /*red*/
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    position: relative;
    width: 100%;
}

#nav ul.subs {
    background-color: #135299; /*blue*/
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    color: #FFFFFF; /*white*/
    display: none;
    left: 0;
    padding: 2%;
    position: absolute;
    top: 54px;
    width: 100%;
}

#nav > li {
    border-bottom: 5px solid transparent;
    float: left;
    margin-bottom: -5px;
    text-align: left;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;
}

#nav li a {
    display: block;
    text-decoration: none;
    -moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    white-space: normal;
}

#nav > li > a {
    color: #FFFFFF; /*white*/
    display: block;
    font-size: 1em;
    line-height: 49px;
    padding: 0 15px;
    text-transform: uppercase;
}

#nav > li:hover > a, #nav > a:hover {
    background-color: #FF0000; /*red*/
    color: #FFFFFF; /*white*/
}

#nav li.active > a {
    background-color: #000000; /*black*/
    color: #FFFFFF; /*white*/
}

/* submenu */
#nav li:hover ul.subs {
    display: block;
}

#nav ul.subs > li {
    display: inline-block;
    float: none;
    padding: 10px 1%;
    vertical-align: top;
    width: 33%;
}

#nav ul.subs > li a {
    color: #FFFFFF; /*white*/
    line-height: 20px;
}

#nav ul li a:hover {
    color: #FF0000; /*red*/
}

#nav ul.subs > li > a {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#nav ul.subs > li li {
    float: none;
    padding-left: 8px;
    -moz-transition: padding 150ms ease-out 0s;
    -ms-transition: padding 150ms ease-out 0s;
    -o-transition: padding 150ms ease-out 0s;
    -webkit-transition: padding 150ms ease-out 0s;
    transition: padding 150ms ease-out 0s;
}

#nav ul.subs > li li:hover {
    padding-left: 15px;
}

/* responsive rules */
@media all and (max-width : 650px) {
    #nav > li {
        float: none;
        border-bottom: 0;
        margin-bottom: 0;
    }
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: none;
    }
    #nav li #s1:target + ul.subs,
    #nav li #s2:target + ul.subs,
    #nav li #s3:target + ul.subs,
    #nav li #s4:target + ul.subs, 
    #nav li #s5:target + ul.subs {
        display: block;
    }
    #nav ul.subs > li {
        display: block;
        width: auto;
    }
}

/*------------------------------------------------*/
/* https://www.w3schools.com/css/css_website_layout.asp */
/* Create two unequal columns that floats next to each other */
/* right column */
.rightcolumn {   
    float: left;
    width: 75%;
    padding-right: 110px;
}

/* left column */
.leftcolumn {
    float: left;
    width: 25%;
    background-color: #EAEAEA; /*sgi gray 92*/
    padding-left: 100px;
}

/* Fake image */
.imgs {
    background-color: #EAEAEA; /*sgi gray 92*/
    width: auto;
    padding: 20px;
}

/* Add a card effect for articles */
.card {
     background-color: #FFFFFF; /*white*/
     padding: 20px;
     margin: 15px;
     box-shadow: 6px 8px #888888; /*gray*/
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 1000px) {
    .leftcolumn, .rightcolumn {   
        width: 100%;
        padding: 0;
    }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media (max-width: 600px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}

/*------------------------------------------------*/
/*-----seperator-----*/
#footer-line-break {
    height: 5px;
    background-color: #FF0000; /*red*/
    margin-right: -1.3em;
}

/*------------------------------------------------*/
/* Style the footer */
.footer {
    background-color: #135299; /*blue*/
    padding: 10px;
    text-align: center;
    height: 120px;
    margin: 0em -1.3em 0em 0em;
}

/*------------------------------------------------*/
#google_translate_element
{
    float: right;
    padding: 7px 6px 7px 6px;
}

/*------------------------------------------------*/
#social_media_element
{
    float: left;
    padding: 0;
}

/*------------------------------------------------*/
 .slider {
   width: auto;
   height: auto;
   overflow :hidden;
   margin: auto;
 }

 .slider img {
   width: auto;
   height: auto;
   display: none;
   margin: auto;
 }