﻿/* Waterstar Main Site Cascading Style Sheet */
/* Author John McCutcheon, Waterstar 2016 */
/* Copyright Waterstar (John McCutcheon) 2013 - 2020 */
/* waterstar.css adapted for Lower Coquetdale Red Squirrel Conservation Group */
 
<!-- Main page areas -->

body {
}

* {
    padding:0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}

/* Overall Page Wrapper ouside of web site wrapper  ========================================================================= */
    #screenwrap {
        width:100%;
        height:800px;
}

/* Overall Site Wrapper to centre and specify 960 width  ==================================================================== */
    #pagewrap {
        width: 960px;
        margin: auto;
        padding: 5px;
        text-align: left;
        font-family: Arial, Helvetica, sans-serif;
        color:#006000;
        font-size: 11pt;
        background-color:white;
        }

    #headerwrap {
        color:#FFFFFF;
        background-color:#008000; 
        width:100%;
        height:60px;
        padding: 0px 5px 10px 5px;
    }

    #footerwrap {
        position:fixed; bottom:0;
        color:#FFFFFF;
        background-color:#008000; 
        height:20px; 
        width:960px;
        padding:5px 5px 0px 5px;
    }
    #footerwrap a:link { color: #C6C6C6; text-decoration:none;}
    #footerwrap a:visited { color: #C6C6C6; text-decoration:none;}

/* General body definitions  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
    body p{ 
        font-family: Arial, Helvetica, sans-serif;
        color:#005000;
        font-size: 11pt;
        }

/* Default Text Definitions  =============================================================================================== */
    h1      { font-size: 14pt; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #005000; margin-top: 0px; margin-bottom: 2px; }
    h2      { font-size: 12pt; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #005000; margin-top: 0px; margin-bottom: 2px; }
    h3      { font-size: 11pt; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #005000; margin-top: 0px; margin-bottom: 2px; }

    /* Table Definitions ==================================================================================================== */
table, th, td {
    border-collapse: collapse;
    color: #005000;
    padding-left: 5px;
    /*vertical-align:middle;*/
}

tr {
    height: 30px;
}

/* HR Definition ============================================================================================================ */
    hr {
        background-color: #005000;
        height: 1px;
        width: 100%;
        border: 0px solid black;
        }


    a:link          { color: #008000; text-decoration:none; }
    a:visited       { color: #008000; text-decoration:none; }
    a:link:hover    { color: #008000; text-decoration:none; font-weight:bold; }
    a:active        { color: red; text-decoration:none; font-weight:bold; }

/* Class Specifications >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

    .italic { font-style:italic; }
    .bold { font-weight:bold;}
    .bolditalic {font-weight:bold; font-style:italic;}
    .boldwhite {
        font-weight: bold;
        color: #FFFFFF;
        font-family: Arial, Helvetica, sans-serif; 
        font-size: 11px;
    }

/* Display Page Area Definitions ============================================================================================ */

/* Image centred in division ================================================================================================ */
    .imgctr {
        text-align:center;
        margin-top:10px;
        margin-right:10px;
        margin-bottom:10px;
        margin-left:10px;
        }

    .imgctr img {
        border: 2px solid;
        border-color: #005000;
        }

/* Image left in division ===================================================================================================== */
    .imgleft {
        text-align:left;
        margin-top:10px;
        margin-right:10px;
        margin-bottom:10px;
        margin-left:10px;
        }

    .imgleft img {
        border: 2px solid;
        border-color: #005000
        }

/* Image right in division ==================================================================================================== */
    .imgright {
        text-align:right;
        margin-top:10px;
        margin-right:20px;
        margin-bottom:10px;
        margin-left:10px;
        }

    .imgright img {
        border: 2px solid;
        border-color: #005000;
        }

    img{
        border: 2px solid;
        border-color: #005000;
    }
/* Box with rounded corners full width of display ============================================================================= */
    .box-wide {
        width:950px;
        /*color:white;
        background-color:#00B000;*/
        background-color:white;
        border:1px solid #008000;
        border-radius:10px;
        padding:5px;
        margin-bottom:10px;
        clear:both;
        float:left;
        }

    .div-wide {
        color:#005000;
        width:950px;
        padding:5px;
        margin-bottom:10px;
        clear:both;
        float:left;
        }

 /* Box at left side with rounded corners - specify width in page ============================================================ */
    .box-left {
        /*color:white;
        background-color:#00B000;*/
        background-color:white;
        border:1px solid #008000;
        border-radius:10px;
        padding:5px;
        margin-bottom:10px;
        float:left;
        }

    .div-left {
        color:#005000;
        padding:5px;
        margin-bottom:10px;
        float:left;
        }

 /* Box at right side with rounded corners - specify width in page ========================================================== */
    .box-right {
        /*color:white;
        background-color:#00B000;*/
        background-color:white;
        border:1px solid #008000;
        border-radius:10px;
        padding:5px;
        margin-bottom:10px;
        margin-right:15px;
        float:right;
        }

    .div-right {
        color:#005000;
        padding:5px;
        margin-bottom:10px;
        margin-right:15px;
        float:right;
        }

 /* Division wrappers and spacers  ========================================================================================== */

    .content {
        clear:both;
        color:#005000;
        background-color:#FFFFFF; 
        }

    .spacer {
        clear:both;
        background-color:#FFFFFF; 
        }


/* Main Menu Definition ========================================================================================================== */
    /* Container for Menu - adapted from csswizardry.com sample */
#nav {
    list-style: none;
    font-size: 11pt;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 10px;
    margin-left: 0;
    float: left; /* Clear floats */
    width: 100%;
    /* Bring the nav above everything else--uncomment if needed.
    position:relative;
    z-index:5;
    */
}
#nav li{
    float:left;
    margin-right:10px;
    position:relative;
}

#nav a{
    display:block;
    border-radius:4px 4px 4px 4px;
    padding:3px;
    color:#FFFFFF;
    background-color:#00C000;
    text-decoration:none;
    font-style:italic;
}
#nav a:hover{
    color:#000000;
}

/*--- Dropdown Menu CSS ---*/
#nav ul{
    background-color:white; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background-color:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#nav ul li{
    padding-top:2px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
#nav ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
    font-size:small;
}
#nav li:hover ul{ /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    color:#FFFFFF;
    background-color:#008000;
    text-decoration:none;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
#nav li:hover ul li a{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    color:#FFFFFF;
    background-color:#00C000;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    color:#FFFFFF;
    background-color:#008000;
}