﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #eee;
    font-size: .85em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color:#9C0031;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #008ec1;
}

h1 {
    font-size: 1.8em;
    padding-bottom: 0;
    margin-bottom: 0;
}


h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
    font-weight:600;
    background-color:#008ec1;
    color:White;
    display:inline-block;
    width:80%;
    padding:2px 2px 10px 10px;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
	max-width:1200px;
    background-color:#fff;
    margin: 10px auto 0 auto;
    border-radius:10px;
    box-shadow: 10px 10px 5px #888;
}

#header {
    color: #000;
    padding: 15px 15px 5px 15px;
}

#header h1 {
    margin: 0;
    color: #008ec1;
    font-size: 2.5em;
    text-shadow: 1px 1px 2px #666;
	width: 70%;
}

#main {
    padding: 15px 2.5%;
    background-color: #fff;
    border-bottom: 1px #97BE10 solid;
    border-top: 1px #97BE10 solid;
    overflow:auto;
	clear:both;
}

#footer {
    color: #999;
    padding: 4px 0;
    text-align: center;
    margin: 0 0 30px 0;
    border-radius: 0 0 10px 10px;
    clear:both;
}

.left-column {
	width:55%;
	float:left;
}

.right-column {
    width:45%;
	float:left;
}

.arrow {
	text-align:right;
	width:15em;
	display:inline-block
}

.arrow img {
	vertical-align:middle;
}

/* TAB MENU   
----------------------------------------------------------*/
.nav {
	display: block;
    float: left;
    max-width: 175px;
    width: 20%;
}

ul#menu {
    padding: 0;
    margin: 0;
}

ul#menu li {
    list-style: none;
	padding: 0;
	margin: 0;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    text-align:right;
    padding: 5px 15px 5px 10px;
    display:block;
    font-weight: bold;
    text-decoration: none;
    background-color: #97BE10;
    color: #fff;
    margin:2px 0;
    border-radius: 10px 4px 10px 4px;
}

ul#menu li a:hover {
    background-color:#008ec1;
}

ul#menu li a:active {
    background-color: #a6e2a6;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
    width:auto;
    display:block;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    color:#008ec1;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;   
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

.field__checkbox-wrapper {
    align-items: center;
    display: flex;
    width: 80%;
}

.field__checkbox-label {
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}

.field__checkbox {
    cursor: pointer;
    height: 20px;
    width: 20px;
}

.submit-button-container__wrapper {
    display: flex;
    margin: 20px 0 40px 0;
    width: 80%;
}

.submit-button__wrapper {
    margin-right: 10px;
}

.warning__text {
    background: #FFEAEA;
    color: #A72D2D;
    padding: 10px;
}

/* TABLE
----------------------------------------------------------*/
table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    margin: 5px 0 10px 0;
    overflow: scroll;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: right;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

table thead th {
    padding: 6px 5px;
    text-align:left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

table caption {
    font-weight:bold;
    font-size:1.2em;
    color:#fff;
    background-color:#008ec1;
    text-align:left;
    padding:2px 2px 10px 10px;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

div#title {
    background:url("wigan-logo.gif") no-repeat scroll right center;
	float:left;
	width:100%;
	height:75px;
}

#logindisplay {
    font-size: 1.1em;
    margin: 10px;
	float:right;
}

#logindisplay a:link {
    color: #9c0031;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: #9c0031;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: #9c0031;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

#content {
    width:78%;
	margin-left:2%;
    min-height:480px;
	float:right;
}

#content p {
    display:block;
    width:80%;
}

div.selecteditem {
    padding:2px;
    margin:2px 2px 2px 10px;
    border-radius:7px;
    border:1px solid #ccc;
    background-color:#eee;
}

.mobile {
	display: none;
}

@media only screen and (max-width:800px) {
    .page {
        width: 90%;
        max-width: 700px;
        background-color: #fff;
        margin: 10px auto 0 auto;
        border-radius: 10px;
        box-shadow: 10px 10px 5px #888;
    }

    #header h1 {
        font-size: 1.7em;
        text-shadow: none;
    }

    .left-column {
        width: 100%;
        float: none;
    }

    .right-column {
        width: 100%;
        float: none;
    }

    .arrow {
        width: 1em;
    }

    .arrow img {
        vertical-align: text-top;
    }

    table {
        max-width: 500px;
    }

    .tdcollapse {
        display: none;
    }
}

@media only screen and (max-width:540px)
{
    /* arbitrary breakpoint for simplicity */
    #header h1 {     
        font-size:1.5em;
        text-shadow:none;      
    }
    
    .page {
        width: 90%;
	    max-width:500px;
        background-color:#fff;
        margin: 10px auto 0 auto;
        border-radius:10px;
        box-shadow: 10px 10px 5px #888;
    }
    
    div#title {
        background:url("wigan-logo-small.gif") no-repeat scroll right center;
	    float:left;
	    width:100%;
	    height:75px;
    }
    
    .nav {
	    display: block;    
        width: 100%;
        clear:both;
        margin:auto;
    
    }

    ul#menu {
        padding: 0;
        margin: 0;
    }

    ul#menu li {
        list-style: none;
	    padding: 0;
	    margin: 0;
    }

    ul#menu li#greeting {
        padding: 10px 20px;
        font-weight: bold;
        text-decoration: none;
        line-height: 2.8em;
        color: #fff;
    }

    ul#menu li a {
        text-align:right;
        padding: 5px 15px 5px 10px;
        display:block;
        font-weight: bold;
        text-decoration: none;
        background-color: #97BE10;
        color: #fff;
        margin:2px 0;
        border-radius: 4px 4px 4px 4px;
        width:100%;
    }

    ul#menu li a:hover {
        background-color:#008ec1;
    }

    ul#menu li a:active {
        background-color: #a6e2a6;
    }

    ul#menu li.selected a {
        background-color: #fff;
        color: #000;
    }

    .mobile {
	    display: block;
    }

    td {
	    display:inline-block;
    }

    table {
        max-width:400px;
    }  
}