/*
Copyright (c) 2009, Aleksandr Vladimirskiy
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    * Neither the name of the Aleksandr Vladimirskiy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

body {
    background: #000 url(/static/images/background_pattern.jpg) repeat-y center top;
}

body * {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #774F23;
}

a {
    text-decoration: none;
    outline: none;
}

a:hover, 
a:active,
a:visited {
    color: #774F23;
}

p + p {
	text-indent: 0;
}

p {
    font-size: 1.2em;
    margin-bottom: 2.2em;
}

table {
    margin-bottom: 0;
}

thead th {
    background: #F3D396;
}

#container-wrapper {
    background: url(/static/images/background.jpg) no-repeat center top;
}

#header {
	visibility: hidden;
	height: .5em;
	margin: 0;
	padding: 0;
}

#navigation ul {
    list-style: none;
    list-style-type: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#navigation ul li {
    display: inline;
    float: none;
    margin: 0 1em;
}

#navigation ul li a {
	font-size: 1.4em;
}

#navigation ul li a {
    border: none;
}

#navigation ul li a:hover {
    border-bottom: 2px dotted #B76B2F !important;
}

/* @group Alert */

.alert h2 {
    text-align: center;
}

.alert h2 a {
    border-bottom: 3px dotted #774F23;
}

/* @end */

#content {
    margin-top: 13em;
}

#subscribe {
  margin-bottom: 1em;
}

#subscribe ul {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

#subscribe ul li {
  margin: 0;
  padding: 0;
}

#subscribe ul li a {
  font: 1.25em "Lucida Grande", Lucida, Verdana, sans-serif;
  border-bottom: 1px dotted #774F23;
}

h4.guestlist-rules {
    font-size: 1.4em;
    font-weight: bold;
}

.slideshow {
    background: url(/static/images/slideshow_background.jpg) no-repeat center top;
}

#copyright {
    text-align: center;
    text-transform: uppercase;
    background: url(/static/images/divider.gif) no-repeat center top;
	padding-top: 1em;
}

#footer {
    background: url(/static/images/footer.jpg) no-repeat center top;
}

#footer ul {
    list-style: none;
    list-style-type: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

#footer ul li {
    font-size: 1.2em;
}

#footer * {
	font-weight: bold;
    color: #ECC986;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
    text-transform: uppercase;
}

/* @group Calendar */

.fc-event * {
	color: #fff !important;
}

.fc-event, .fc-event a {
	background-color: #B76B2F;
	border-color: #B76B2F;
}

.fc-widget-content {
	border: 1px solid #B76B2F;
}

#calendar th,
#calendar td,
#calendar tr {
    border-color: #B76B2F;
}

/* @end */

/* @group Scrollable */

div.scrollable-wrapper {
    position: relative;
    padding: auto;
	padding-top: 15px;
    text-align: center;
}

div.scrollable {
	margin: 0;
	margin-left: 39px;
	margin-right: 39px;
	margin-bottom: 39px;
    overflow:hidden;
    position:relative;
    text-align: left;
    width: 350px;
    height: 385px;
}

.gallery div.scrollable {
    height:480px;
    overflow:hidden;
    position:relative;
    text-align: left;
    width: 620px;
}

div.scrollable div.items {
    position:absolute;
    width:20000em;
}

div.scrollable div.items div.image-caption-wrapper {
    float:left;
    text-align: center;
}

div.scrollable div.items div.image-wrapper {
    height: 300px;
    overflow: hidden;
}

.gallery div.scrollable div.items div.image-wrapper {
	height: 400px;
	overflow: hidden;
}

div.items div.active {
    border:1px inset #ccc;
    background-color:#fff;
}

/* this makes it possible to add next button beside scrollable */
div.scrollable {
	margin: auto;
}

/* prev, next, prevPage and nextPage buttons */
a.prev, a.next, a.prevPage, a.nextPage {
	display:block;
	width: 80px;
	height: 40px;
	float:left;
	cursor:pointer;
	font-size:1px;
    overflow: hidden;
    position: absolute;
    top: 340px;
    font-size: 2em;
    color: white !important;
    z-index: 10000;
}

.gallery a.prev, 
.gallery a.next, 
.gallery a.prevPage, 
.gallery a.nextPage {
	top: 420px;
}

a.prev {
    left: 0;
    margin-left: 10px;
}

a.next {
    right: 0;
}

.caption {
	width: 150px;
    margin: 1em 6em;
    width: 200px;
    text-align: center;
}

.gallery .caption {
    width: 500px;
}

/* mouseover state */
a.prev:hover, a.next:hover, a.prevPage:hover, a.nextPage:hover {

}

/* disabled navigational button */
a.disabled {

}

/* next button uses another background image */
a.next, a.nextPage {
    right: 0;
    margin-right: 10px;
}

/*********** navigator ***********/

/* position and dimensions of the navigator */
div.navi {
	padding-left: 293px;
	width:628px;
	height:14px;
	text-align: center;
}

/* items inside navigator */
div.navi a {
	width:8px;
	height:8px;
	float:left;
	margin:3px;
	background:url(/static/images/scrollable/arrow/navigator.png) 0 0 no-repeat;
	display:block;
	font-size:1px;
}

/* mouseover state */
div.navi a:hover {
	background-position:0 -8px;      
}

/* active state (current page state) */
div.navi a.active {
	background-position:0 -16px;     
} 	

/* @endgroup */