﻿html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    border-top: solid 10px #000;
    color: #333;
    font-size: 1em;
    font-family: Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

/*    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }*/

    a:hover {
        background-color: #c7d1d6;
    }

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;  
}
#itemCount2, #itemCount {
    font-size: 0.4em;
    font-weight:normal;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h3.close {
    margin-block-start:0.4em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

#body {
    background-color: #f4f0ef;  /*#efeeef*/
    clear: both;
    border-top: 1px solid darkgray;
}

/*    .main-content {
        background: url("../Images/accent.png") no-repeat;
    }*/

    /*.featured + .main-content {
        background: url("../Images/heroAccent.png") no-repeat;
    }*/

header .content-wrapper {
    padding-top: 10px; 
}
    
footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: 1em;
    height: auto;
    border-top: 1px solid #a0a0a0;
    padding-bottom:10px;
}

.print-only {
    display: none;
} 

@media print {
    .noprint {
        display: none;
    }
    .print-only {
        display: block;
        visibility: visible;
    }
}

.nowrap {
    white-space:nowrap;
}


/* site title
----------------------------------------------------------*/
.site-title {
    margin-top: 0;
    margin-bottom: 0;
}
.site-title1 {
    color: #BBB;
    font-family: "Gill Sans","Times New Roman"; 
    font-size: 2.4em;
}
.site-titleLang {
    color: #000;
    font-size: 1.2em;
    font-weight: 600;
    margin-right: 25px;
    margin-top:0;
    margin-bottom:0;
    padding:3px;
    float: right;
}

.site-title2 {
    color: #BBB;
    font-family: "Gill Sans","Times New Roman";
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
    float: left;
}

.site-titleLang a, .site-title a, .site-title2 a {
    color: #777;
    text-decoration: none;
}

.site-titleLang a:hover {
    color: #AAA;
}


/* menu
----------------------------------------------------*/
nav {
    margin-bottom: 5px;
    float: right;
}

ul#menu {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 0px;
    padding: 0;
    text-align: center;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            text-decoration: none;
        }

        ul#menu li a:hover {
            color: #333;
            text-decoration: none;
        }


/* page elements
----------------------------------------------------*/


.italic {
    font-style:italic;
}

/* narrative */
.narrative {
    max-width: 600px;
    margin-left: 40px;
    font-family: "Times New Roman", Serif
}

ul.contents p {
    margin-block-end: 0.4em;
    margin-block-start: 0.4em;
}

/* featured */
.featured {
    background-color: #fff;
}

.featured {
    background-color: #7ac0da;
    background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
    background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    color: #3e5667;
    height:100%
}
        .featured-content {
                max-width:600px;
                margin:0 auto;
                padding-top:20px;

            }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: #fff;
        }

        .featured p {
            font-size: 1.1em;
        }
        .feature-group {
            margin-top:15px;
        }
        .feature-group h1 {
            color:white;
        }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
    padding-top:10px;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* popups */
div.bigPicture {
    position: fixed;
    top: 200px;
    left: 50px;
    border-color:lightsteelblue;
    border-style:solid;
    border-width:15px 2px 2px 2px;
    background-color: lightslategray;
    /*width:640px;*/
    height:390px;
    max-width:100%;
    resize:both;
    /*overflow:hidden;*/
/*    overflow-y:hidden;
    overflow-x:hidden;*/
}
#bigYouTube {
    width: 640px;
}

div.bigPDF {
    width:450px;
    height:550px;
    max-height:100%;
    top:200px;
}

video.player, iframe.player {
    width:100%;
    height:100%;
}
.noSupport, .noSupport a {
    color:white;
    text-align:center;
}

/*gallery elements*/

.featuredImage {
    margin-block-start: 0;
}
.featuredImage img {
    max-height: 200px;
    max-width: 100%;
}
.featuredImage figcaption {
    text-align: left;
    font-size: smaller;
}
figure.pdfGallery {
    max-width: 125px;
    margin-block-start: 0.3em;
    margin-block-end: 0.2em;
    margin-inline-start: 5px;
    margin-inline-end: 5px;
}
.pdfGallery figcaption {
    text-align: center;
    font-size: smaller;
}
.pdfGallery img {
    height: 100px;
    display: block;
    margin: 0 auto
}
figure.imgGallery {
    margin-block-start: 0.3em;
    margin-block-end: 0.2em;
    margin-inline-start: 5px;
    margin-inline-end: 5px;
}
.imgGallery figcaption {
    text-align: center;
    font-size: smaller;
    max-width: 150px;
}
.imgGallery img {
    display: block;
    height: 100px;
    margin: 0 auto
}
img.imgGallery {
    display: inline;
    height: 100px;
    padding: 0px 15px 10px 0px;
}

.closeBtn {
    position: absolute;
    top: -22px;
    right: -10px;
    width: 30px;
    cursor: pointer;
}


/* collabsible */
/* Note: there is a script associated 
    with collapsible content */
.collapsibleContainer {
    padding-bottom: 15px;
}

.collapsibleHead {
    cursor: pointer;
    padding: 2px;
    margin: 0;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
    width: fit-content;
    background-color: #e8e8f0;
}

.collapsibleHead:hover {
    background-color: #DDD;
}

.collapsibleContent {
    padding: 0 18px;
    max-height: 0;
    width: 600px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #e8e8f0;
}

.collapsibleHead:after {
    content: '\2193'; 
    font-size: 17px;
    float: right;
    margin-left: 5px;
}

.activeCollapsible:after {
    content: "\2191"; 
}

/* content */
article {
    float: left;
    width: 70%;
}

article.mediatable {
   width: 100%
}

aside {
    float: right;
    width: 25%;
}

article.maintable {
    float: right;
    width: 80%;
}

aside.maintable {
    float: left;
    width: 20%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
    font-size: 1.2rem;
}
   
/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
div.form-group {
    padding-bottom:10px;
}

.twenty-percent {
    width:160px;
}

/* tables
----------------------------------------------------------*/
.sorticon-up {
     background: url("../Images/up.gif") no-repeat;
}

.sorticon-down {
     background: url("../Images/down.gif") no-repeat;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
	font-size: 1.1em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
        
    }

	th a:link, th a:visited, th a:active, th a:hover {
		color: #333;
		font-weight: 600;
		text-decoration: none;
        padding: 0;
	}

	th a:hover {
		color: #000;
	}

    th.asc a, th.desc a {
        margin-right: .75em;
    }
    
    th.asc a:after, th.desc a:after {
		display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
	}

	th.asc a:after {
		content: '▲';
	}

	th.desc a:after {
		content: '▼';
	}

td {
    padding: 0.25em 1em 0.25em 0em;
    border: 0 none;
    }

    td.last {
    padding: 0.25em 0 0.25em 0em;
    }

#formView1 {
    margin-top:0;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}


/******************************************************************************
*   Mobile Styles                                                             *
*******************************************************************************/

/* tablet size ----------------------------*/
@media only screen and (max-width: 850px) {

    .earlydispose {
        display: none;
    }

     aside.maintable, article.maintable {
        float: none;
        width: 100%;
    }

    header .content-wrapper {
        padding-top: 0;
    }

    .content-wrapper {
        padding-right: 8px;
        padding-left: 8px;
    }

    div.bigPicture, div.bigPDF {
        border-width: 25px 2px 2px 2px;
    }
}

/* phone size ----------------------------*/
@media only screen and (max-width: 600px) {

    /* header ----------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    header  .content-wrapper {
        padding-top:0;
    }

    /* logo */
    header .site-title {
        font-size: 1.2em;
        margin-top:5px;
        margin-left:0;
    }
    header .site-titleLang {
        padding:1px;
    }

    .site-title1 {
        font-size:1.2em;
    }
    .site-title2 {
        font-size: 1.1em;
    }
    .site-titleLang {
       /* margin-top: 5px;*/
        font-size: 0.8em;
        margin-right:0;
    }
    hgroup.title h1, .feature-group h1 {
        font-size:1.6em
    }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        font-size:1em;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ---------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 5px;
        padding-left: 5px;
        max-width: 100%
    }

    .narrative {
        max-width: 100%;
        margin-left: 0;
    }

    .featured-content  {
        padding: 10px;
    }

    /* page content */
    article, aside, article.maintable, aside.maintable {
        float: none;
        width: 100%;
    }

    .disposable {
        display:none;
    }
    /*gallery popup*/
    .closeBtn {
        top: -26px;
        right: -2px;
     }
    
    /* collapsible panel */
    .collapsibleContainer {
        padding-bottom: 0;
    }

    .collapsibleContent {
        width: 100%;
        padding:0;
    }

            /* tables */
        td {
        vertical-align: top;
        }

        /* Video player */
        div.bigPicture, div.bigPDF {
        top:0px;
        left:0px;
        height:250px;
    }

        /* features */
        section .feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer .float-right {
        padding-top:8px;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0 10px 0;
    }

        footer p {
            margin: 0;
        }
}
/* END: Mobile Styles */
