﻿/*----------------------------------------------------------
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. Changed to #006699
----------------------------------------------------------*/
body {
    background-color: #004101;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    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;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

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: 94%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #BBCE8F;
    color: #004101;
    padding: 10px;
    text-align: right;
    line-height: normal;
    margin: 5px 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/

.dataTables_wrapper
{
    position:inherit;
}

ul#menu {
    border-bottom: 1px #004101; solid;
    padding: 40px 0 2px;
    position: relative;
    display: inline-block;
    margin: 0;
    text-align: right;
    float:right;
}

ul#menu li {
    display: inline;
    list-style: none;
    position:relative;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/*Drop Down Menu Added*/
ul#menu ul{
    /*background:#fff;*/ /* 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: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... */
    background-color: #e8eef4;
    list-style:none;
    padding-left:0px;
    padding-top:0px;
    float:left;
    position:absolute;
    top: 26px;
    left:0px;
    display:none; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
ul#menu ul li{   
    padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:left;
    width:100%;
    /*position:relative;*/

}
ul#menu ul a{
    display:block;
    text-align:left;
    border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    border: solid;
    border-color:#e8eef4;
    border-width:2px;
    border-top-color:#004101;
    border-top-width:1px;
    border-bottom-width:1px;
    padding-top:0px;
    padding-bottom:0px;
    /*border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;*/
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
ul#menu li:hover ul{ /* Display the dropdown on hover */
    display:block; /* Bring back on-screen when needed */
}

ul#menu 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;
}

#menuMaterialTab{
    padding-left:30px !important;
    padding-right:30px !important;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    /*font-size: 1.2em;*/
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    /*font-size: 1.2em;*/
    color: #444;
}

input[type="submit"],
input[type="button"] {
    /*font-size: 1.2em;*/
    padding: 5px;
}

input[type="file"] {
    border: 1px solid #ccc;
    padding: 2px;
    /*font-size: 1.2em;*/
    color: #444;
    width: 400px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 20px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

div#language {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

/* 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;
}

.error {
    color:Red;
}

.command-button {
    width: 50px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.keep-space {
    white-space:pre-wrap;
}

/*For Home Index page*/
#IndexLeftPanel
{
    float: left;
    width: 39%; 
}

#IndexRightPanel
{
    float: right;
    width: 59%;
}

#WelcomeWord div img
{
    height: 50px;
}

/*For Home bulletin page*/
#WorshipLeftPanel
{
    float: left;
    width: 58%;
}

#WorshipLeftPanel ul li.subitem
{
    list-style-type: none;
}

#WorshipRightPanel
{
    float: right;
    width: 40%;
}

/*For Home About page*/
#AboutLeftPanel
{
    float: left;
    width: 58%
}

#AboutRightPanel
{
    float: right;
    width: 40%;
}

#AboutUs img
{
    float: left;
}

/*For Library Index page */
#LibraryLeftPanel
{
    width: 100%
}

#LibraryRightPanel
{
    width: 100%;
}

.LibrarySermonType
{
    min-width: 60px;
}

.LibrarySermonDate
{
    min-width: 65px;
}

.LibrarySermonSpeaker
{
    width: 88px;
}

#BookLeftPanel
{
    width: 18%;
    float: left;
}

#BookRightPanel
{
    width: 80%;
    float: right;
}

.NoListType
{
    list-style-type:none;
    list-style-position:outside;
    padding:0px;
}

/* For member tab */
ul#navigator {
    border-bottom: 1px #006699 solid;
    /*position: relative;*/
    margin: 0;
    text-align: center;
}

ul#navigator li {
    display: inline;
    list-style: none;
}

ul#navigator li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#navigator li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
}

ul#navigator li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#navigator li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#navigator li.selected a {
    background-color: #fff;
    color: #000;
}

/* User top bar */
div#UserBar {
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

div#UserBar a {
    color: White;
}

div#UserBar a:hover {
    background-color: #034af3;
}

div#UserBar a:active {
    background-color: #a6e2a6;
}

/* For anniversary tab */

.photo-area {
    margin:auto;
    width: 1040px;
    border:none;
}

.photoframe {
    width:250px; 
    margin:5px; 
    border:none;
    padding: 0px;
}

.anniversaryphoto {
    width:250px;
}

.highslide img{
    border:none;
}


@media (max-width:1200px) {
    .photo-area {
        width: 840px;
    }

    .photoframe {
        width:200px; 
    }

    .anniversaryphoto {
        width:200px;
    }
}  

@media (max-width:1000px) {
    .photo-area {
        width: 680px;
    }

    .photoframe {
        width:160px; 
    }

    .anniversaryphoto {
        width:160px;
    }
}  

.hidden{
    display:none;
}