body {
    background: url(../img/bg.jpg) left top #e4debc; 
    /*background: url(../img/bg1.gif) left top #e4debc; */
    font-family: Times,'Times New Roman',serif;
    color: #000;
    font-size: 16px;
    line-height: 1.428571429;
}

header {
    border-bottom: 1px solid #8B7373;
    padding-bottom: 0.5em;
}

footer {
    border-top: 1px dashed #8B7373
}

a {
    color: #930;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}
a:visited {
    color: #660;
}
a:hover {
    color: #603;
    text-decoration: underline;
}

p {
	font-size: 18px;
}

/* Branding */
h1.site-name{
    padding: 15px;
    line-height: 20px;
    /*height: 20px;*/
    margin: 0px;
    margin-top: 0.5em;
}
h1.site-name a {
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    color: #683535;
    letter-spacing: 6px;
    display: inline-block;
    float: none;
    font-size: 26px;
}

h2.site-slogan {
    font-weight: 300;
    font-size: 18px;
    font-family: Times,'Times New Roman',serif;
    font-style: italic;
    color: #000;
    padding: 0px 15px;
    margin: 0px;
}

#block-superfish-1 {
    padding-top: 20px;
}

/* Main menu */
.sf-menu.sf-style-transparent li, .sf-menu.sf-style-transparent.sf-navbar {
    background: transparent;
    margin-right: 10px;
}

.sf-menu.sf-style-transparent a, .sf-menu.sf-style-transparent span.nolink {
    padding: 0.5em 0.75em;
    font-size:18px;
}

li .sf-depth-1 {
    padding-top: 14px;
    padding-bottom: 14px;
}

li.sf-depth-2 {
    background-color: #e4debc;
}

.sf-clone-parent {
  display: none;
}

/* Translation block */
#block-gtranslate-gtranslate {
    margin-right: 30px;
}

#block-gtranslate-gtranslate, #block-search-form {
    float:right;
}

@media screen and (min-width: 480px) and (max-width: 640px) {

  #block-gtranslate-gtranslate {
    margin-right: 18px;
  }

}

@media screen and (max-width: 480px) {

  #block-gtranslate-gtranslate {
    margin-right: 4em;
    padding-top: 0.5em;
  }

}


/* Search form */
#edit-search-block-form--2 {
/*    background-color: #e4debc; */
    background-color: #FEFEFE;
    height: 30px;
    padding: 0 12px;
    line-height: 30px;
    border: 2px solid #ccc;
    outline: 0;
    font-size: 14px;
    width: 210px;
    margin-right: 0;
}

#search-block-form input[type="submit"] {
/*    background-color: #ddcdaf!important; */
    background-repeat: repeat-x;
    border-width: 2px;
    border-style: solid;
    border-color: buttonface;
    border-image: initial;
    height: 30px;
    vertical-align: bottom;
}

/* Node display stuff */
ul.flippy {
    height: 24px;
}

ul.flippy li.prev {
    float: left;
}

ul.flippy li.next {
    float: right;
}

.field--type-taxonomy-term-reference .field__label {
    width: 150px;
}

.field--type-taxonomy-term-reference .field__item {
    display: inline;
    margin-right: 20px;
}
.field--type-taxonomy-term-reference .field__item a {
  font-weight: 300;
  font-size: 14px;
}


/* Bottom menu */
#block-menu-menu-bottom-menu ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0 .6em;
}

#block-menu-menu-bottom-menu a {
    color: #683535;
    text-decoration: none;
}
#block-menu-menu-bottom-menu a:visited {
    color: #660;
}
#block-menu-menu-bottom-menu a:hover {
    color: #603;
    text-decoration: underline;
}

/* Views etc*/

.view .item-list-index {
  list-style-type: none;
  text-align: center;
}

.view .item-list-index li {
  display: inline-block;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.view .item-list-main {
  list-style-type: none;
}

.view .item-list-main li {
  display: inline-block;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.views-field-created {
    text-align: left;
    /*width: 80px;*/
    padding: 0;
}

.fieldset-content {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
/*    width: 83.33333333333334%;i */
}

h2.block__title {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 300;
}

.block .view .views-row {
    padding: 6px;
    background-color: rgba(100,100,100,.1);
    margin-bottom: 2px;
    color: #000;
    text-shadow: 1px 1px #fff;
    border-right: 1px solid #B39279;
    border-bottom: 1px solid #B39279;
    border-top: 1px solid #E7E3E0;
    border-left: 1px solid #E7E3E0;
}

.block .view .views-row a {
    font-weight: 600;
/*    color: black; */
    cursor: auto;
    text-decoration: underline;
    text-shadow: none;
}
.block .view .views-row a:hover {
/*    color: #930; 
    text-decoration: underline; */
}
.block .view .views-row a:visited {
    color: #930;
}

.taxonomy-term-box {
    padding: 10px;
    background-color: rgba(100,100,100,.1);
    border-right: 1px solid #B39279;
    border-bottom: 1px solid #B39279;
    border-top: 1px solid #E7E3E0;
    border-left: 1px solid #E7E3E0;
}
.taxonomy-term-box img {
    padding: 5px;
}

/* Date Picker stuff */

#archive-datepicker {
    border-top: 4px double #683535;
    width: 100%;
}

#archive-datepicker .table-condensed {
    width: 100%;
}

.datepicker {
    padding: 4px;
}

.datepicker td, .datepicker th {
    background-color: transparent;
    text-align: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

#archive-datepicker .datepicker table tr td span {
    width: auto;
    margin: 0;
    line-height: 180%;
    height: auto;
    display: inline-block;
    float: none;
    padding: 0 .5em;
    border-radius: 0;
}

#archive-datepicker .datepicker table tr td span.active {
    background: 0 0;
    color: #683535;
    text-shadow: 1px 1px #fff;
    border-bottom: 1px solid;
}

.datepicker-dropdown {
    background-color: #EBE7D0;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    width: 250px;
    position: absolute;
    padding: 5px;
}

.datepicker-dropdown .table-condensed {
    width: 100%;
}

.datepicker-dropdown .table-condensed span.month {
    display: inline-block;
    margin-right: 4px;
    float: none;
}

.datepicker-dropdown .table-condensed span.year {
    display: inline-block;
    margin-right: 4px;
    float: none;
}

.datepicker-dropdown .table-condensed span.decade {
    display: inline-block;
    margin-right: 4px;
    float: none;
}

.datepicker-dropdown .table-condensed span.century {
    display: inline-block;
    margin-right: 4px;
    float: none;
}

.datepicker-dropdown .table-condensed td {
    padding: 5px;
}

.datepicker-dropdown .table-condensed th {
    padding: 5px;
}

.sf-menu2 a {
	border: none !important;
}

.block--menu {
	text-align: center;
}

.block--menu .sf-menu.sf-style-transparent {
    float: none;
    margin-bottom: 0px;
    padding: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.field-content.ititle a {
	font-size: 20px;
}