/* General Style */

html {

	font-family:'Raleway', serif;

}

body {

	background:#0099CC;

	color: #000000;

font-size:100%;

font-weight:100;

margin:0em;

padding:0em;

}

h1 {

	font-size:2.5em;

	line-height:3.8em;

margin:0em;

text-align:center;

}

p {

	line-height:1.25em;

	text-align:justify;

}

ul {

	margin:0px;

	padding:0px;

}

li {

	list-style:none;

	line-height:1.25em;

margin:0.313em 0em 0.313em 0em;

}

img {

	width:90%;

	height:auto;

max-width:100%;

}

a {

	text-decoration: none;

}

/* On top bar */

#menubar {

	display:block;

	background:#FFF;

	position: fixed;

	top:0px;

	z-index: 9999;

	width: 100%;

	height: 50px;

	box-shadow:0px 0px 25px -5px #000;

}

#menubar ul{

	display:block; 

	width:2em;

	padding:0.9em;

}

#menubar ul li{

	display:inline;

}

#menubar ul li a.menubutton{

	display:none;

}

/* Navigation */

nav {

	display:block;

	height:2.5em;

	background:#FFF;

	text-align:center;

	position: fixed;

	z-index: 9999;

	top:0px;

	width: 100%;

}

nav ul{

	display: block;

}

nav ul li{

	display: inline;

	margin:0em 0.188em 0em 0.188em;

}

nav ul li a{

	color:#000;

	font-size:1.125em;

line-height:2.5em;

padding:0.563em 0.938em 0.375em 0.983em;

transition:background: 0.2s;

-webkit-transit:background:0.2s;

}

nav ul li a:hover {

	background:#FFF;

	color:#0099CC;

border-bottom: 0.188em solid #0099CC;

}

nav ul li a.active {

	background:#FFF;

	color:#0099CC;

border-bottom: 0.188em solid #0099CC;

}

.top{

	height:100px;

}

/* Content Area */

#main {

	display:block;

	width: 96%;

max-width: 980px;

margin:1.25em auto;

padding:0em;

}

#main article{

	width: 96%;

	max-width:980px;

display:inline-block;

background-color:#FFF;

vertical-align: top;

margin:0em 0em 1.25em 0em;

padding:2.5em 1em 2.5em 1em;

box-shadow:0px 0px 25px -5px #000;

text-align:center;	

}

#main article img{

	max-width: 980px;

	box-shadow:0px 0px 10px -5px #000;

border-radius:0.438em;

z-index: :1;

position: relative;

}

/* Liststyle */

.listtop{

	color:#FFF;

	width: 80%;

margin-left: auto;

margin-right: auto;

background: #0099CC;

border-radius: 0.438em;

border: 0.063em solid #0099CC;

padding: 1em;

margin-bottom: 0.625em;

position: relative;

}

.listtop:after{

    content: "";

    position: absolute;

    bottom: -0.625em;

    left: 2.188em;

    border-style: solid;

    border-width: 0.625em 0.625em 0em;

    border-color: #0099CC transparent;

    display: block;

    z-index: 1;

}

.listtop img{

	width:auto;

	height: 150px;

}

.list {

	width: 80%;

	background: #D1D1D1;

color: #000;

border-radius: 0.438em;

padding: 1em;

margin-left:auto;

margin-right:auto;

}

.list ul {

 padding-left: 0.625em;

 margin: 0;

}

.list ul li{

	color: #FFF;

	position: relative;

margin-bottom: 1em;

padding: 0.4em 0.4em 0.3em 1em;

list-style: none;

background: #0099CC;

border-radius: 0.25em;

border: 0.063em solid #0099CC;

}

.list ul li:last-child{

	margin-bottom:0em;

}

/* Footer */

footer {

	display: block;

	background-color:#FFF;

text-align: center;

}

footer ul{

	display:block;

	width:100%;

max-width:980px;

text-align:left;

margin:0px auto;

}

footer ul li{

	display: inline;

	font-size:0.8em;

line-height:2.8em;

color:#000;

padding:0em 0.625em 0em 0.625em;

}

footer ul li a{

	color:#000;

}

section article.image{

	position:relative;

}

article#art4 img {

	float:right;

	object-fit:cover;

	height:200px;

	width:50%;

}

article#art4 img:nth-child(odd) {

	float:left;

	object-fit:cover;

	height:200px;

	width:50%;

}

/* News */

.news{

	color: #FFF;

    float: left;

    position: absolute;

    padding:1em 1em 1em 1em;

    right: 3.9em;

    top: 2.5em;

    background-color:rgba(0,153,204,.8);

    z-index: 999;

    border-radius: 0.438em;

    width:25%;

}

.news h1{

	font-size:1.5em;

	line-height:1.5em;

margin:0em;

text-align:center;

}

/* Images */

.thumbnail {

	position: relative;

  width: 25em;

  height: 25em;

  overflow: hidden;

  border: 1px black solid;

}

/*.thumbnail img{

	position: absolute;

	left: -50%;

	top: -50%;

	}*/

.clearboth { clear: both; }

/* Google Maps */

#theMap{

	border-radius:2em;

	position: relative;

}

#googleMap, iframe{

	border-radius:2em;

	width:100%;

	height:380px;

}

#overlay {

	padding-top:1em;

	padding-bottom: 1em;

	border-bottom-right-radius: 2em;

	border-bottom-left-radius: 2em;

    background-color:rgba(0,153,204,1);

	color: #fff;

	bottom: 0;

	position: absolute;

	text-align: center;

	width: 100%;

}

/*Back to Top */

.scrollToTop{

	width:6.25em;

	height:6.25em;

padding:0.625em; 

text-align:center;

text-decoration: none;

position:fixed;

bottom:0.625em;

right:0.625em;

display:none;

opacity: 0.8;

}

.scrollToTop:hover{

	text-decoration:none;

	opacity:1;

}

/* Mobile Style */

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

	body{

	font-size:90%;

}

}

@media screen and (min-width: 880px) {

	nav.nav {

	display:block !important;

}

}

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

	body{

	font-size:80%;

}

#menubar ul li a.menubutton {

	display:block;

}

nav {

	display:none;

	height:auto;

}

nav ul li {

	display: block;

	margin:0.3em 0em 0.3em 0em;

}

nav {

	box-shadow:0px 0px 25px -5px #000;

}

}

/* Contact form */

table.contact tr td{

	width:50%;

}

table.contact tr td textarea{

	max-width:100%;

	width:100%;

	height:4em;

}

.table.contact tr td input{

	font-size:1em;

}

input[type=submit], input[type=reset]{

  width:50%;

  margin-left: 0.5em;

  height: 2.5em;

  padding: 0.2em 1em 0.2em 2.25em;

  font-size: 1em;

  font-weight: bold;

  color: #000;

  background: url(../images/Paper.png) no-repeat scroll 0.75em 0.07em transparent;

  background-size: 1em;

  border-radius: 2em;

  border: 0.15em solid #FFF;

  cursor: pointer;

  transition: all 0.3s ease 0s;

}

input[type="submit"]:hover, input[type="reset"]:hover {

    color: #FFF;

    background-color: #0099CC;

    border-color: #000;

    background-position: 0.75em bottom;

    -webkit-transition: all 0.3s ease;

    -ms-transition: all 0.3s ease;

    transition: all 0.3s ease;

}

input[type="submit"]:focus, input[type="reset"]:focus {

    background-position: 2em -4em;

    -webkit-transition: all 0.3s ease;

    -ms-transition: all 0.3s ease;

    transition: all 0.3s ease;

}

/* Backend */

input {

    font-size: 2em;

    width: 100%;

}

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

	body{

	font-size: 70%;

}

}

.img__wrap {
  position: relative;
  width: 100%;
}

.img__description_layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0, 0.6);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description_layer {
  visibility: visible;
  opacity: 1;
}

.img__description {
  transition: .2s;
  transform: translateY(1em);
}

.img__wrap:hover .img__description {
  transform: translateY(0);
}