@charset "utf-8";
@import url("antispam.css");
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=latin-ext');

body {
    background:#C4C4C4 url(../images/background.png) top center repeat-y;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container {
  width: auto;
  max-width: 957px;

  font-family:"Open Sans",sans-serif;
  font-size: 14px;
  color:#2b2b2b;
}

.topsection{
    background:url(../images/topsection.jpg) top left no-repeat;
    min-height: 259px;
    position: relative;
}
#logo{
    position: absolute;
    left: 5%;
    top: 10%;
    max-width: 169px;
    max-height: 194px;
}
@media (max-width:957px) {
    .topsection{
        background-size: cover;
        background-position: 3% 0;
    }
}
@media (max-width:768px) {
   #logo{

    }
}
.bottom-margin{
    margin-bottom:202px;
}
.footer {
    height:202px;
    padding-top:15px;
}
.footer .container{
    height:202px;
     background:transparent url(../images/footer.png) bottom repeat-x;
}
.footer p{
    text-align:center;
    width:100%;
    color:#FFF;
    margin-top:15px;
}
.footer .gray-line{
    height: 100px;
}
.footer .copyright{
    height: 52px;
    line-height: 52px;
    text-align:center;
    width:100%;
    color:#FFF;
    position: relative;
}
.footer-logo {
    position: absolute;
    right:0;
    bottom:0;
}
.flogo {
    margin-top:25px;
}
.fslogen {
    height:60px;
}
.ftext {
    text-align: center;
    color:#203f91;
    font-weight: bold;
    margin-top:20px;
}
.text-wrapper{
    margin-top:15px;
}
.navbar-bg {
    background-image: url(../images/navbar-bg.png);
    background-position: bottom;
    background-repeat: repeat-x;
    background-color: #5e6eb2;
    border-top:1px solid white;
    border-bottom:1px solid white;
    min-height:50px;
    margin-bottom: 0;
}
/* ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
} */
.dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after{
  display:block;
  content:" ";
  float:right;
  width:0;
  height:0;
  border-color:transparent;
  border-style:solid;
  border-width:5px 0 5px 5px;
  border-left-color:#fff;
  margin-top:5px;margin-right:-10px;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
.navbar-bg a:link{
    color:#fff;
    font-weight: normal;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
    color:#fff;
}
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background: #6e9a41;

}
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background: #6e9a41;
}



ul.nav li.dropdown:hover ul.dropdown-menu{
    background-color: #5e6eb2
}
.nav > li > a:focus, .nav > li > a:hover{
    background-color: #6e9a41;
    color:#FFF;
}

.navbar-toggle{
    background-color: #6e9a41;
}
.navbar-toggle .icon-bar{
   background-color: #fff;
}
h1, h2, h3, h4, h5 {
    color: #6b9a41;
}
h1 {font-size:20px; line-height:20px;}
h2, h3, h4, h5 {font-size:18px; line-height:18px;}

a:link {
	text-decoration: none;
	color:#6b9a41;
	outline:none;
}
a:visited {
	text-decoration: none;
	color:#6e9a41;
	outline:none;
}
a:hover {
	text-decoration: underline;
	color:#6e9a41;
	outline:none;
}
a:active {
	text-decoration: none;
	color:#6e9a41;
	outline:none;
}
/* BOX */
.box {
    background: url(../images/box_footer.png) 0 bottom no-repeat;
    padding:10px;
    padding-top:0;
    padding-right:0;
}
.box-header-bgr {
    background: url(../images/box_header.png) left bottom no-repeat;
    margin:0 -15px 0 -6px;
}
.box-header{
    padding:15px;
    color: #213e92;
    /*font-weight: bold;*/
    font-size: 130%;
}
.box-content {
    padding:15px;
}
.box-content h3 {
    font-size: 1em;
}






















/***************************************/
/* LANGS MENU
/***************************************/
.langs{
	font-weight: bold;
	position:absolute;
	right:5%;
	top:15px
}

.langs ul{
	padding:0;
	margin: 0;
	text-align: right;
}

.langs ul li{
	display: inline;
        color:#213e92;
}

.langs ul li:after {
        content: " • ";
}
.langs ul li:last-child:after {
        content: "";
}

.langs ul li a{
	color: #243f93;
	padding: 4px;
	text-decoration: none;
}

.langs ul li a:hover, .langs ul li a.selected{
	color: #6e9a3e;
	text-shadow: 0 0 0.8em #F4F7F7, 0 0 0.8em #F4F7F7, 0 0 0.8em #F4F7F7;
}


/*CALENDAR*/
#calendar table {
	width:100%;
}
#calendar table th {
    text-align:center;
    font-size: 15px;
}

#calendar table th span{

}
#calendar table td{
	text-align:center;
	width:41px;
	line-height:22px;
}
#calendar table td a {
	color:#fff;
	background:#96AFC3;
	display:block;
	text-decoration:none;
	border-radius:3px;
}
#calendar table td strong {
	display:block;
	border-radius:3px;
	border:1px solid #ff7e00;
	font-weight:bold;
}

#calendar table td a:hover, #calendar table td a:hover strong {
	color:#fff;
	background:#ff7e00;
	text-decoration:none;
}
#calendar table tr:nth-child(even) {background-color: #fff}
#calendar table tr:nth-child(odd) {background-color: #FAFAFA}
.date {
	margin-top:-10px;
	font-size:12px;
	color:#666
}
#calendar .highlight {
	display:block;
	border-radius:3px;
	border:1px solid #ff7e00;
	font-weight:bold;
}

/***************************************/
/* FOOTER MENU
/***************************************/
.fmenu-wrapper{
    height:51px;
}
.fmenu{
        width: 100%;
        height:51px;
        line-height: 51px;
}
.fmenu ul{
	padding: 0;
	margin: 0;
	text-align: center;
}

.fmenu ul li{
	display: inline;
        color:#FFF;
}
.fmenu ul li:after {
        content: " | ";
}
.fmenu ul li:last-child:after {
        content: "";
}

.fmenu ul li a{
	color: #FFF;
	padding: 6px;
	text-decoration: none;
        font-weight: normal;
}

.fmenu ul li a:hover, .fmenu ul li a.selected{
	color: #fff;
        text-decoration: underline;
}


/* SCROLLTOTOP */

#scroll-top {
    position:absolute;
    right:20px;
    bottom:20px;
}



/***************************************/
/* PAGINATION
/***************************************/
p.pagination {
	text-align:center;
	margin:10px 0
}
p.pagination a {
	padding:10px;
	color: #fff;
	background:#7F5024;
	font-weight:normal;
	text-decoration:none;
	margin:0 2px;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}
p.pagination a:hover {
	text-decoration: none;
	color: #fff;
	background: #ff7e00;
}
p.pagination strong {
	padding:10px;
	background: #ff7e00;
	color: #fff;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}


/***************************************/
/* MESSAGES
/***************************************/
div.warning {
    background: #FEF8F6;
    border: solid 1px #CD0A0A;
    padding: 5px 0;
	margin-bottom:10px;
    text-align: center;
	font-size:13px;
    color: #DD0A0A;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
div.message {
    background: #FBFAF3;
    border: solid 1px #FCEFA1;
    padding: 5px 0;
	margin-bottom:10px;
    text-align: center;
	font-size:13px;
    color: #000;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
div.success {
    background: #F7FEF1;
    border: solid 1px #4EA30D;
    padding: 5px 0;
	margin-bottom:10px;
    text-align: center;
	font-size:13px;
    color: #000;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

div.error {
    background: #942730;
    border: solid 1px #B66369;
    padding: 5px 0;
	margin-bottom:10px;
    text-align: center;
	font-size:13px;
    color: #FFFFFF;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
div.form_error{
	color:#ff0000;
}

/***************************************/
/* GALLERY
/***************************************/
.gallery_box{
    padding: 10px;
    border:1px solid #CCCCCC;
}


#fotogroup {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#fotogroup li{
	float:			left;
	margin-right:	10px;
	margin-bottom:	10px
}
#fotogroup .last {
	margin-right:	0;
}
#fotogroup li img{
	border:			1px solid #ADADAD;
	width:			145px
}
/***************************************/
/* INFIELD FORM
/***************************************/
.infieldform {
	padding:0;
	margin:0;
}
.infieldform p {
	position:relative;
	margin-bottom:10px;
}
.infieldform label.infield  {
	position:absolute;
	top:5px;
	left:6px;
	color:#2b2b2b;
        font-weight: normal;
}
.infieldform .inputfield {
	width: 190px;
	background:#F6F6F6;
	border:1px solid #CCCCCC;
	padding:4px 0 4px 6px;
}
.infieldform label.error {
	width:auto;
	color:#F00;
	display:block;
}
.infieldform fieldset{
	padding:20px;
	margin:10px 0;
	border:1px solid #CCCCCC;
}
.infieldform fieldset .text-long{
	width:580px;
}
.infieldform fieldset .text-medium{
	width:300px;
}
.infieldform fieldset .text-short{
	width:150px;
}
textarea {
	resize:none;
}
input:focus, textarea:focus{
	outline:none;
}
