/* page */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    margin: 0;
    line-height: 1.5em;
    background: url(assets/style_body-bg.gif) repeat-x #fff;
}
body > * {
    padding: 0 8px;
}

/* elements */
a {
    color: #ff1111;
    text-decoration: none;
}
a:hover {
    color: #ee2020;
}
h1 { font-size: 211%; margin: 1em 0; line-height: 1.2; }
h2 { font-size: 197%; margin: 1em 0; line-height: 1.2; }
h3 { font-size: 183%; margin: 1em 0; line-height: 1.2; }
h4 { font-size: 169%; margin: 1em 0; line-height: 1.2; }
h5 { font-size: 155%; margin: 1em 0; line-height: 1.2; }
h6 { font-size: 100%; margin: 1em 0; line-height: 1.2; }
li {
    line-height: 1.75;
    list-style: circle;
}
.big li {
    font-size: 115%;
}
img {
    border: 0;
    vertical-align: baseline;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    text-align: left;
    padding-right: 1em;
    border-bottom: 3px solid #ccc;
}

/* header */

#header {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
}
#header a, #header span {
    padding-right: 15px;
    margin-bottom: 20px;
}
#header .page-title a {
    color: #cc0000;
}
#header .page-title {
    display: inline;
    font-weight: bold;
    font-size: 25px;
    position: relative;
    font-family: Times, serif;
}
#header .page-claim {
    display: inline;
    font-weight: bold;
    position: relative;
    font-family: Verdana, Tahoma, sans-serif;
}

/* menu */

#menu-wrapper {
}
#menu {
    min-height: 35px;
    background: linear-gradient(180deg, rgb(204, 13, 13) 0%, rgb(255, 17, 17) 100%);
    border-radius: 4px;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.5em;

    display: flex;
    flex-flow: row wrap;
}
#menu > div {
    padding: 0 1px 0 0;
}
#menu > div.leaf {
    min-height: 35px;
}
#menu > .active {
    background: linear-gradient(180deg, rgb(255, 129, 129) 0%, rgb(223, 25, 25) 100%);
    border-radius: 4px;
}
#menu a, #menu span {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
#menu > div > a {
    padding: 7px 29px 0 29px;
    display: inline-block;
}
#menu #menu-right {
    float: right;
    line-height: 1;
    padding: 10px 5px;
    margin-left: auto;
}
#menu-right, #menu-right .active {
    color: #f99;
}
#menu-right div {
    float: left;
}
#menu-right div * {
    margin: 12px 0;
    padding: 0 5px;
    font-size: 10px;
    border-left: 1px solid #f99;
 }
#menu-right div.first * {
    border-left: 0;
}

/* slideshow (index.html) */

#slideshow-wrapper {
    height: calc((100vw - 16px) / 2.676 + 65px);
    margin: 14px auto -45px;
}
.slideshow-inner {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.slides {
    height: 100%;
    position: relative;
}
@media (min-width: 960px) {
    .slides {
        height: 355px;
    }
    #slideshow-wrapper {
        height: 420px;
        background: transparent url(assets/style_slideshow-shadow.gif) no-repeat center bottom;
    }
}
.slides > div {

    width: calc(100vw - 16px);
    max-width: 950px;
    aspect-ratio: 2.676;
    border-radius: 5px;
    position: absolute;

    transition: opacity 1s;
    opacity: 0;
    background-size: 100%;
    background-color: rgba(0, 0, 0, 0)
}
.slides > div:first-child {
    z-index: 2;
    opacity: 1;
}
.slides > div:last-child {
    z-index: 1;
    opacity: 1;
}
#slideshow-bottom {
    width: 100%;
    background: #FAFAFA99;
    min-height: 65px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: right;
    z-index: 6;
    line-height: 1.7em;
    cursor: default;
}
#slideshow-bottom #mission {
    padding: 20px;
    font-size: 1.6em;
    color: #002054;
    display: block;
    float: right;
}
@media (max-width: 960px) {
    #slideshow-bottom {
        display: none;
    }
}

/* content */

#content-wrapper {
    max-width: 950px;
    margin: 15px auto 10px;
    display: flex;
    flex-wrap: wrap;
}
#content {
    width: 100%;
}

#sidebar-left {
    font-size: 12px;
}

@media (min-width: 810px) {
    .sidebars-l #content,
    .sidebars-r #content {
        width: calc(100% - 232px - 25px);
        /*min-width: 69%;*/
        /*max-width: 69%;*/
        padding-right: 25px;
    }
}

#sidebar-right {
    font-size: 12px;
}

#sidebar-left .block, #sidebar-right .block {
    margin-bottom: 10px;
}

#sidebar-left .block-content, #sidebar-right .block-content {
    background-color: #f4f4f4;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
#sidebar-left .block-inner, #sidebar-right .block-inner {
    padding-bottom: 5px;
}
#sidebar-left .block-content-inner, #sidebar-right .block-content-inner {
    margin: 0;
    padding: 5px 15px 5px 15px;
}

/* content elements */

.front .title {
    margin: 0 auto;
    font-size: 3.2em;
    line-height: 1.2em;
}
.node {
    margin: .5em 0 1em;
    padding-bottom: 1em;
}
.node .content {
    margin: .5em 0 .5em;
}
.view-Pictures {
    padding: 15px 0;
}
.views-field-field-pictures-fid {
    text-align: center;
}

/* content bottom */

#bottom-teaser {
    max-width: 950px;
    margin: 10px auto 10px;
}
#bottom-teaser .column {
    float: left;
    min-width: 250px;
}
#bottom-teaser.in1 .column {
    width: 100%;
}
#bottom-teaser.in2 .column {
    width: 50%;
}
#bottom-teaser.in3 .column {
    width: 33.3%;
}
#bottom-wrapper {
    margin: 10px auto 0;
    text-align: left;
    max-width: 950px;
    position: relative;
}
#bottom-wrapper h2 {
    font-size: 1.3em;
    padding: 5px;
    clear: both;
}
#bottom-wrapper .column {
    background-color: #f4f4f4;
    border: 1px solid #bbb;
    float: left;
}
#bottom-wrapper.in1 .column {
    width: 100%;
}
#bottom-wrapper.in2 .column {
    width: 50%;
}
#bottom-wrapper.in3 .column {
    width: 33.3%;
}
#bottom-wrapper.in4 .column {
    width: 25%;
}
#bottom-wrapper .block {
    padding-left: 15px;
    padding-right: 15px;
}

/* footer */

#footer-wrapper {
}
#footer {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
    clear: both;
}
#footer-message {
    font-size: 70%;
    min-height: 32px;
}
#footer-message > .left {
    float: left;
    text-align: left;
}
#footer-message > .left > * {
    padding-right: 8px;
}
#footer-message > .left img {
    max-height: 16px;
}
#footer-message > .right {
    float: right;
    text-align: right;
}
