﻿body {
    background-color: #ecf6d9;
}

footer {
    clear: both;
    text-align: center;
    margin: 32px 0;
}


/*
    basic font
*/

p, h1, h2, h3, h4, article,  .navbar {
    line-height: 1.4em;
    color: #4a4333;
    font-family: 'Martel', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
}

article {
    margin-top: 1em;
    text-align: justify;
}

a {
    color: #192515; /*192515;*/
}

a:hover,
a:focus,
a:active {
    color: #5c6615;
}

article p a,
article p a:hover,
article p a:focus,
article p a:active {
    color: #85A857;
}	

article p a {
    text-decoration: underline dashed;
}

#dashboard h3 a {
    text-decoration: underline dashed;
}

/*
    allows a div or a link to contain and crop an image    
*/
.sb-fill-bg{
    display: block;
   /* position: absolute;*/
    width: 100%;
    height: 0;
    padding-bottom: 75%; /*% of width, defines aspect ratio*/
    
    background-repeat: no-repeat;
    background-position: center top;
    background-size: fill; 
}


.sb-fill-bg:hover {
    text-decoration:none;
}

.sb-fill-img {
    display: block;
    width: 100%;
}

/*
    SWIPABLE Image Gallery
*/
.sb-slider {
    display: block;
    /* position: absolute;*/
    width: 100%;
    height: 0;
    padding-bottom: 75%; /*% of width, defines aspect ratio*/

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/*

    3 - column layout item container

*/
div.row {
    position: relative;
}
div.sb-block {
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 25px;
}

div.sb-block:hover {
    background-color: #f6fbeb;
}

div.sb-block h3{
    margin-top: 5px;
    margin-bottom: 0;
}

div.sb-block p {
    margin-top: 0;
    margin-bottom: 0;
    text-align: justify;
}

div.sb-block .morelink{
    position: absolute;
    right: 5px;
    bottom: 1px;
    display: none;
}

div.sb-block:hover .morelink{
    display: block;
}

  /*  div.sb-block h3 {
        margin-top: -50%;
    }*/

/*
    100px square thumbnail image, if image dimensions are > 100x100 then it is cropped and centred
    DIV.sb-thumb > IMG
*/
div.sb-thumb {
    display: inline-block;
    height: 100px;
    width: 100px;
    overflow: hidden;
}

div.sb-thumb img {

}



/*
    link containing a DIV.sb-thumb alongside a bunch of text
*/
a.sb-thumblink {
    display: block;
    height: 100px;
    clear: both;
    text-decoration: none;
}

a.sb-thumblink div.sb-thumb {
    display: block;
    float: left;
}

button, 
input[type=button], 
input[type=submit], 
a.sb-button{
    display: inline-block;
    margin: 0 2px;
    padding: 2px 5px;
    background-color: #ddd;
    border: 1px solid #333;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

a.sb-button:hover {
    color: black;
    text-decoration: none;
}

button:active, 
input[type=button]:active, 
input[type=submit]:active, 
a.sb-button:active{
    background-color: #999;
}

table.sb-grid {

}

table.sb-grid td,
table.sb-grid th {
    padding: 3px;
    vertical-align: top;
    text-align: left;
}


table.sb-grid th {
   font-weight: bold;
}

tr.sb-hidden {
    background-color: pink;
}

tr.sb-visible {
    background-color: white;
}

tr.sb-selected,
tr.sb-hidden.sb-selected {
    background-color: yellow;
}

tr.sb-header {
    background-color: #ddd;
}



/*
    center items in the bootstrap main menu / navbar

.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar .navbar-collapse {
    text-align: center;
}


.navbar-brand {
    text-align: center;
    display: block;
    float: none;
}



*/

.navbar-default {
	background-color: #91b95f;
	border-color: #91b95f;
}

.navbar-default .navbar-nav > li > a {
	color: #192515;
    font-weight: bold;
} 

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
	color: #000;
	background-color: #e9f6d9;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background-color: #e9f6d9;
}
.navbar-default .navbar-toggle {
	border-color: #192515;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #192515;
}
/*

    pagination control

    span = disabled
    a    = page link
    b    = selected / current

*/

div.sb-pager,
div.sb-pager-year {
    margin: 10px;
    text-align: center;
}


div.sb-pager span,
div.sb-pager a, 
div.sb-pager b {
    display: inline-block;
    min-width: 2em;
    height: 2em;
    line-height: 2em;
}


div.sb-pager-year span,
div.sb-pager-year a, 
div.sb-pager-year b {
    display: inline-block;
    width: 4em;
    height: 2em;
    line-height: 2em;
}


input.wide, 
textarea.wide {
    width: 100%;
}
textarea.wide {
     min-height: 100px;
}



/*
    bootstrap augmentations
*/

/*
    center a block
*/
.col-center-block {
    clear: both;
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*

    makes the navbar collapse at a higher width than the bootstrap default

.searchydiv{
    display: none;
}*/
@media (max-width: 900px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
    .searchydiv{
        display: none;
    }
}

@media (min-width: 900px) {
    .col-center-block {
        width: 830px;
    }
}


/*
    home page logo magic
*/



/*
    logo scroll by Smitty http://codepen.io/warzone246/
*/
.small-logo-outer {
    height: 50px;
    overflow: hidden;
  }
.small-logo-container {
    padding-top: 0px;
    height: 50px;
    overflow: hidden;
  }

.small-logo {
  font-size: 24px;
  padding-bottom: 2px;
}
.big-logo-row {
   /* background: gold;*/
}
.big-logo-container {
text-align: center;
}
  
h1 {
font-size: 4em;
margin:0;
padding:0 0 15px 0;
font-size: 60px;
}

.field-validation-error{
    color: red;
    font-weight: bold;
}

.sb-accepted {
    background-color: green;
    color: white;
}

.sb-accepted a {
    color: white;
}

.sb-rejected {
    background-color: red;
}

.sb-maybe {
    background-color: yellow;
}


#blueimp-gallery-carousel {
    background-color: #ecf6d9 !important;
}