/* Created on 14-Sep-2012 21:36:52 */

a:link {
    color: #0000ff;
}

a:visited {
    color: #0000ff;
}
/* was #ff0000 */
h1 {
    color: Green;
    font-size: 2.0em;
    font-family: verdana;
    margin: 0;
}

h2 {
    color: #006400;
    font-family: verdana;
    font-size: 1.5em;
    margin: 4px;
}

title {
    font-family: verdana;
    color: green;
}

ex {
    color: #ff0000;
    font-weight: bold;
    font-size: 24px;
}

small {
    font-family: verdana;
    font-size: 1.0em;
}

p {
    font-family: verdana;
    font-size: 1.0em;
}

own {
    font-family: verdana;
    font-size: 1.2em;
}

.zoom {
    transition: transform .2s; /* Animation */
    margin: 0 auto;
}

    .zoom:hover {
        transform: scale(2.0); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

.img1 {
    height: 125px;
    width: auto;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px
}

.img2 {
    width: 200px; 
    height: auto;
}


.img3 {
    height:250px;
    width: auto;
}

.columnflex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content:space-between
}

.grid-container {
    display: grid;
}

hr {
    width: 90%;
    height: 2px;
    border-width: 0;
    color: #0000ff;
    background-color: gray;
}

/*Body background color was green*/
body {
    width: 980px;
    background-color: #003300;
    margin: auto;
}

gridview {
    color: red;
    font-family: verdana;
    font-size: 1.5em;
}

.gridview {
    font-family: "arial";
    background-color: #FFFFFF;
    width: 100%;
    font-size: small;
}

    .gridview th {
        background: #7AC142;
        padding: 5px;
        font-size: small;
    }

        .gridview th a {
            color: #003300;
            text-decoration: none;
        }

            .gridview th a:hover {
                color: #003300;
                text-decoration: underline;
            }

    .gridview td {
        background: #D9EDC9;
        color: #333333;
        font: small "arial";
        padding: 4px;
    }

    .even td {
        background: #FFFFFF;
    }

    .gridview td a {
        color: #003300;
        font: bold small "arial";
    }

input[type="text"] {
    color: black;
    border: solid 1px;
    border-color: black;
}

.slide {
    font-family: verdana;
    font-size: 0.875em;
}

.slidecomments {
    height: 300px;
    width: 300px;
}

.greentext {
    color: green;
}


.redtext {
    color: red;
}

#main {
    width: 940px;
    background-color: white;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
    clear: both;
}

#contents {
    width: 980px;
    background-color: white;
    margin: inherit;
    padding-left: 0;
    padding-right: 0;
}

#content {
    width: 980px;
    background-color: white;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/*Styling for simple slide show - probably not used*/
.fadein {
    position: relative;
    width: 500px;
    height: 332px;
}

    .fadein img {
        position: absolute;
        left: 0;
        top: 0;
    }

#Books {
    overflow: hidden;
}

    #Books div {
        display: none;
    }

        #Books div.first {
            display: block;
        }

.cycle-slideshow {
    overflow: hidden;
}

    .cycle-slideshow.img no {
        display: none;
    }

    .cycle-slideshow.img.first {
        display: block;
    }


.myslideshow {
    position: relative;
    width: 500px;
    height: 332px;
}

    .myslideshow img {
        position: absolute;
        left: 0;
        top: 0;
    }

.myslideshow2 {
    position: relative;
    width: 900px;
    height: 332px;
}

    .myslideshow2 img {
        position: absolute;
        left: 0;
        top: 0;
    }

.buttons {
    float: left;
    margin-left: 400px;
    position: relative;
    top: -100px;
    margin-bottom: -30px;
    z-index: 150;
}

div button {font:arial;
width:50px;
background-color:#7AC142;
border-radius:10px;
border:0 solid #ff0000; /* no border so color does not matter - change from red if necessary*/
}


/* Blue background for menu was #000099*/
#menu {
    background: #065803;
    height: 52px;
    z-index: 100;
}

    #menu ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    #menu a {
        display: block;
        color: white;
        background-color: #065803;
        font-size: 1.2em;
        text-decoration: none;
        text-align: center;
        padding: 15px;
    }

        #menu a:hover {
            background-color: #6666AA;
        }

    #menu li {
        position: relative;
        float: left;
    }

    #menu ul.submenu {
        display: none;
        width: 600px; /*Added to make submenu horizontal.  Remove this line to go back to vertical.*/
    }

        #menu ul.submenu li {
            position: relative;
            padding: 0;
        }

    #menu li:hover ul.submenu {
        display: block;
        position: absolute;
        padding: 0;
        top: 50px;
        white-space: nowrap;
        z-index: 90;
    }

/*The following is taken from the cycle2 website*/
/*
    these are just the default styles used in the Cycle2 demo pages.  
    you can use these styles or any others that you wish.
*/


/* set border-box so that percents can be used for width, padding, etc (personal preference) */
/*
.cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*/
/*
.cycle-slideshow { width: 45%; min-width: 200px; max-width: 500px; margin: 10px auto; padding: 0; position: relative;
    background: url(http://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;

 }*/

/* slideshow images (for most of the demos, these are the actual "slides") */
/*
.cycle-slideshow img { 
    /* 
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */ /*
    position: absolute; top: 0; left: 0;
    width: 100%; padding: 0; display: block;
}
*/
/* in case script does not load */
.cycle-slideshow img:first-child {
    position: static;
    z-index: 100;
}

/* pager */
.cycle-pager {
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    top: 10px;
    overflow: hidden;
}

    .cycle-pager span {
        font-family: arial;
        font-size: 50px;
        width: 16px;
        height: 16px;
        display: inline-block;
        color: #ddd;
        cursor: pointer;
    }

        .cycle-pager span.cycle-pager-active {
            color: #D69746;
        }

    .cycle-pager > * {
        cursor: pointer;
    }


/* caption */
.cycle-caption {
    position: absolute;
    color: white;
    bottom: 15px;
    right: 15px;
    z-index: 700;
}


/* overlay */
.cycle-overlay {
    font-family: tahoma, arial;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 600;
    background: black;
    color: white;
    padding: 15px;
    opacity: .5;
}


/* prev / next links */
.cycle-prev, .cycle-next {
    position: absolute;
    top: 0;
    width: 30%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 800;
    height: 100%;
    cursor: pointer;
}

.cycle-prev {
    left: 0;
    background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
}

.cycle-next {
    right: 0;
    background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
}

    .cycle-prev:hover, .cycle-next:hover {
        opacity: .7;
        filter: alpha(opacity=70);
    }

.disabled {
    opacity: .5;
    filter: alpha(opacity=50);
}


/* display paused text on top of paused slideshow */
/*
.cycle-paused:after {
    content: 'Paused'; color: white; background: black; padding: 10px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 10px;
    opacity: .5; filter: alpha(opacity=50);
}
*/
/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-slideshow {
        width: 200px;
    }

    .cycle-overlay {
        padding: 4px;
    }

    .cycle-caption {
        bottom: 4px;
        right: 4px;
    }
}

/*  W3schools modal box  */

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 20%;
    top: 0;
    width: 940px; /* Changed from Full width to site width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}