﻿*
{
    margin: 0px;
    padding: 0px;
}

html
{
    height: 100%;
    width: 100%;
}

body
{
    background-color: #fff;
    font-family: Arial, sans-serif;
    font-size: 1.0rem;
    height: 100%;
    line-height: 1.5rem;
    width: 100%;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
}

h1
{
    color: #000;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin: 30px 0px 20px 0px;
}

h2
{
    color: #000;
    font-size: 1.4rem;
    line-height: 2.1rem;
    margin: 30px 0px 0px 0px;
}

h3
{
    color: #000;
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin: 30px 0px 0px 0px;
}

h4
{
    color: #2c3e50;
    font-size: 1.0rem;
    font-weight: bold;
    line-height: 1.5rem;
    margin: 20px 0px 0px 0px;
}

h5
{
    color: #2c3e50;
    font-size: 1.0rem;
    line-height: 1.5rem;
    margin: 20px 0px 0px 0px;
}

h6
{
    color: #7f8c8d;
    font-size: 0.8rem;
    line-height: 1.5rem;
    margin: 10px 0px 0px 0px;
}

hr
{
    margin: 30px 0px;
}

p
{
    color: #2c3e50;
    margin: 10px 0px;
}

ul
{
    color: #2c3e50;
    margin: 0px 0px 0px 30px;
}

ol
{
    color: #2c3e50;
    margin: 0px 0px 0px 30px;
}

li
{
    margin: 10px 0px; 
}

a:link
{
    color: #008bc5;
    text-decoration: none;
}

a:visited
{
    color: #006699;
}

a:hover, a:active, a:focus
{
    border-bottom: 1px solid #008bc5;
}

a:visited:hover, a:visited:active, a:visited:focus
{
    color: #008bc5;
    border-bottom: 1px solid #008bc5;
}

a.admin:link, a.admin:visited
{
    color: #008bc5;
}

a.admin:hover, a.admin:active, a.admin:focus, 
a.admin:visited:hover, a.admin:visited:active, a.admin:visited:focus
{
    border-bottom: 1px solid #008bc5;
    color: #008bc5;
}

div.message
{
    background-color: #ccddff;
    margin: 10px 0px;
    padding: 5px 20px;
}

div.notice
{
    background-color: #cceecc;
    margin: 10px 0px;
    padding: 5px 20px;
}

div.warning
{
    background-color: #eecccc;
    margin: 10px 0px;
    padding: 5px 20px;
}

div.module
{
    background-color: #f6f6f6;
    border: 1px solid #cccccc;
    margin: 10px 0px;
    padding: 5px 20px;
}

div.module p.description
{
    font-size: 0.8rem;
}


/*  */
/******************************************************************/

#content-wrapper
{
    height: 100%;
    margin: auto;
    position: relative;
    width: 90%;
}

#header-bar
{
    background-color: #eeeeee;
}

#user-bar
{
    display: block;
    height: 40px;
    margin: auto;
    width: 90%;
}

#user-bar ul 
{
    margin: 0px;
}

#user-bar ul li
{
    float: left;
    list-style: none;
    margin: 10px 20px 10px 0px;
}

#user-bar p
{
    float: right;
    margin: 10px 0px;
}

#user-bar form
{
    display: inline;
    margin: 0px;
    padding: 0px;
}


/* Forms */
/******************************************************************/
form
{
    overflow: hidden;
}

form .form-field
{
    clear: both;
    display: block;
    padding: 5px 0px;
    overflow: hidden;
}

form label
{
    clear: left;
    color: #333;
    float: left; 
    padding: 10px 0px;
    width: 30%;
}

form input[type="text"], 
form input[type="password"], 
form input[type="number"], 
form input[type="date"], 
form input[type="datetime"], 
form input[type="file"], 
form input[type="time"], 
form select, 
form textarea
{
    border: solid 1px #ccc;
    color: #666;
    float: left;
    font-size: 1rem;
    padding: 10px;
    width: 60%;
}

form textarea
{
    height: 100px;
    resize: none;
}

form input[type="text"]:focus, 
form input[type="password"]:focus, 
form input[type="number"]:focus, 
form input[type="date"]:focus,  
form input[type="datetime"]:focus,  
form input[type="file"]:focus, 
form input[type="time"]:focus, 
form select:focus, 
form textarea:focus
{
    border: solid 1px #96ca4a;
}

form input[type="checkbox"], 
form input[type="radio"]
{
    filter: alpha(opacity=0); /* For IE8 and earlier */
    opacity: 0;
}

form input[type="checkbox"] ~ label:after
{
    border: 1px solid #ccc;
    content: "";
    cursor: pointer;
    display: block;
    float: right;
    height: 38px;
    margin: -10px -40px -10px 0px;
    width: 38px;
    
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

form input[type="checkbox"]:checked ~ label:after
{
    background-image: url("../Images/box_checked.png");
    background-position: -1px -1px;
    border: 1px solid #ccc;
}

form input[type="radio"]:checked ~ label:after
{
    background-image: url("../Images/box_selected.png");
    background-position: -1px -1px;
    border: 1px solid #ccc;
}

form input[type="checkbox"]:focus ~ label:after, 
form input[type="radio"]:focus ~ label:after
{
    border: solid 1px #96ca4a;
}

form .input-validation-error
{
    background-color: #ffdede;
    color: #333;
}

form .validation-summary-errors ul
{
    margin: 10px 0px 20px 0px;
}

form .validation-summary-errors ul li
{
    color: #b53f37;
    list-style-type: none;
    margin: 0px;
}

form .field-validation-error
{
    clear: both;
    color: #b53f37;
    display: block;
    margin: 10px;
    margin-left: 30%;
    padding: 10px 0px;
}

form button
{
    border: solid 1px #ccc; 
    clear: both;
    color: #333;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1.5rem;
    margin: 30px 0px 0px 0px;
    padding: 5px 15px;
}

form button:hover
{
    background-color: #eee;
    border: 1px solid #ddd;
    color: #008bc5;
}

form button.inline
{
    clear: none;
    display: inline;
    float: left;
    margin: 2px 0px 0px 10px;
}

form button.toggle-on
{
    background-color: #fff;
    background-image: url("../Images/toggle-on.png");
    border: none;
    height: 70px;
    width: 130px;
}

form button.toggle-off
{
    background-color: #fff;
    background-image: url("../Images/toggle-off.png");
    border: none;
    height: 70px;
    width: 130px;
}

form fieldset
{
    border: none;
    margin: 20px 0px;
}

form fieldset legend
{
    border-bottom: 1px solid #ccc;
    color: #ccc;
    display: block;
    font-size: 1.2rem;
    margin: 20px 0px;
    width: 100%;
}

form .required:after 
{
    content: " *";
    font-weight: bold;
}


/* Table */
/******************************************************************/
table
{
    border-collapse: collapse;
    font-size: 0.8rem;
    margin: 20px 0px;
    width: 100%;
}

table thead
{
    border-bottom: 2px solid #666;
    color: #000;
    font-weight: bold;
}

table tfoot
{
    border-top: 2px solid #666;
    color: #000;
    font-weight: bold;
}

table tbody
{
    color: #333;
}

table tbody tr:nth-child(2n-1)
{
    background-color: #eee;
}

table td
{
    padding: 10px;
}

table th
{
    padding: 10px;
    text-align: left;
}

table ul
{
    margin: 0px; 
}

table ul li
{
    border-right: solid 1px #333;
    float: left;
    list-style-type: none;
    margin: 0px 10px 0px 0px;
    padding: 0px 10px 0px 0px;
}

table ul li:nth-last-of-type(1)
{
    border-right: none;
    margin: 0px;
    padding: 0px;
}


/* Controls */
/******************************************************************/

ul.controls
{
    clear: both;
    overflow: hidden;
    margin: 20px 0px;
}

ul.controls li
{
    float: left;
    list-style-type: none;
    margin: 10px 10px 0px 0px;
}

ul.controls li a
{
    background-color: #ddd;
    border: solid 1px #ccc; 
    clear: both;
    color: #333;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 15px;
}

ul.controls li a:hover
{
    background-color: #eee;
    border: 1px solid #ddd;
    color: #008bc5;
    text-decoration: none;
}

ul.controls button
{
    margin: 0px;
}


/* Paginator */
/******************************************************************/

.paginator
{
    clear: both;
    font-size: 0.8rem;
    overflow: hidden;
    margin: 10px 0px;
}

.paginator li
{
    float: left;
    list-style-type: none;
    margin: 10px 10px 0px 0px;
    text-align: center;
}

.paginator li a
{
    background-color: #fff;
    border: solid 1px #008bc5; 
    clear: both;
    color: #008bc5;
    cursor: pointer;
    display: block;
    float: left;
    padding-top: 5px;
    height: 25px;
    width: 30px;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.paginator li a:hover
{
    background-color: #fff;
    border: 1px solid #96ca4a;
    color: #96ca4a;
    text-decoration: none;
}

.paginator li.currentpage a
{
    background-color: #008bc5;
    border: solid 1px #008bc5; 
    color: #fff;
}

.paginator li.currentpage a:hover
{
    background-color: #96ca4a;
    border: 1px solid #96ca4a;
    color: #fff;
}


/* Lightbox Gallery */
/******************************************************************/

ul.gallery-thumbnails
{
    margin: 20px 0px;
    line-height: 1.0rem;
}

ul.gallery-thumbnails li
{
    float: left;
    list-style-type: none;
    margin: 5px 5px 0px 0px;
}

ul.gallery-thumbnails li a
{
    background-color: #ffffff;
}

ul.gallery-thumbnails li a:hover
{
    border-bottom: none;
}

ul.gallery-thumbnails li a img
{
    height: 100px;
}

ul.gallery-thumbnails li a img:hover
{
    filter: alpha(opacity=90); /* For IE8 and earlier */
    opacity: 0.9;
}