/* General Style */ 
html {
	overflow-x:hidden;
	height:100%;
}

body {
  background:#DCDCDC;
  font-size:100%;
  font-family:Helvetica;
  margin:0em;
  padding:0em;
  overflow-x:hidden;
  min-height:100%;
  display:flex;
  flex-direction:column;
}

h1 {
	font-size:2.0em;
	font-family:Helvetica;
	font-weight:100;
	color:#E2DBDB;
    margin:0em;
    padding:0em 0em 0em 0em;
}

h2 {
	font-size:1.563em;
	line-height:1.8em;
	font-family:Helvetica;
	font-weight:100;
	color:#2F2D2C;
	text-align:left;
    margin:0em;
	padding:1.25em;
}

p {
	line-height:1.25em;
	font-family:Helvetica;
	font-weight:100;
	color:#2F2D2C;
	text-align:justify;
    margin:0em;
	padding:1.25em;
}

ul {
	margin:0em;
	padding:0em;
}

li {
	list-style:square;
	font-family:Helvetica;
	font-weight:100;
	color:#2F2D2C;
	line-height:1.25em;
	padding:0em;
	margin:0.313em 0em 0.313em 0em;
}

img {
	width:96%;
	height:auto;
	max-width:100%;
    border:none;
}

#logo {
	max-width:960px;
}

a {
	text-decoration: none;
}

input {
	font-family:Helvetica;
    font-size:0.9em;
    font-weight:100;
	color:#2F2D2C;
}

input[type="submit"] {
	font-size:1.0em;
	background: none;
    border: none;
    display: inline;
    margin: 0;
    padding: 0;
    outline: none;
    outline-offset: 0;
    box-shadow: none;
    /* Additional styles to look like a link */
    cursor: pointer;
    text-decoration: none;
    border-bottom: 0.188em solid transparent;
    border-radius:3px;
    transition:all 0.5s ease-in-out;
}

input[type="submit"]:hover {
	border-bottom: 0.188em solid #E7590B;
}

textarea {
    resize: none;
    font-family:Helvetica;
    font-size:0.9em;
    font-weight:100;
	color:#2F2D2C;
	box-sizing: border-box;
	width:100%;
}

i {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
}

/* On Top Bar */
#menubar {
	display:block;
	background:#FFFFFF;
} 
#menubar ul {
	display:block;
	width:2em;
	padding:0.9em;
}
#menubar ul li {
	display:inline;
}
#menubar ul li a.menubutton {
	display:none;
}

/* Header */ 
header {
  display:block;
  /*background:#2F2C2C;*/
  background:#FFFFFF;
  text-align:center;
}

header p {
  font-size:1.0em;
  font-family:Helvetica;
  font-weight:100;
  color:#E2DBDB;
  margin:0em;
  padding:0.8em 0em 1.6em 0em;
  text-align:center;
}

/* Slider */
#slides {
  display: none
}

/* Navigation */ 
nav {
	display:block;
	height:2.5em;
 	background:#FFFFFF;
	text-align:center;
	border-radius:0px 0px 8px 8px;
}

nav ul {
	display:block;
}
nav ul li {
	display:inline;
	margin:0em 0.188em 0em 0.188em;
}
nav ul li a {
	color:#454040;
	font-size: 1.125em;
	line-height:2.5em;
	padding:0.563em 0.938em 0.375em 0.983em;
	border-bottom: 0.188em solid transparent;
	border-radius:3px;
	transition:all 0.5s ease-in-out;
}

nav ul li a:hover {
	background:#DBD9D8;
	border-bottom: 0.188em solid #E7590B;
}
nav ul li a.active {
	border-bottom: 0.188em solid #E7590B;
}

/* Content Area */
#dom {
  min-height:100%;
  display:flex;
  flex-direction:column;
  flex: 1 0 auto;
}

#main {
	display:flex;
	width:96%;
	max-width:980px;
	margin:1.25em auto;
	padding:0em;
	flex: 1 0 auto;
}

/* Images */

#images {
  width:96%;
  max-width:980px;
  padding:0em 0.5em 0em 0.5em;
}

.gallery {	
	list-style:none;
	text-align:center;  
}

.gallery li {
  position:relative;
  display:inline;
}

.gallery img {
	padding:1px;
	margin:0.3em;
	width:7.5em;
	height:7.5em;
	border-radius:8px;
	cursor:pointer;
  transition: all 0.7s ease-in-out;
  box-shadow:4px 4px 5px -1px #4c4948;
}

.gallery img:hover {
  box-shadow: 0px 0px 8px 5px #4c4948;
}

/*span.rollover {
  opacity:0;
  padding:1px;
  margin:0.3em;
  width:7.5em;
  height:7.5em;
	border-radius:8px;
	position:absolute;
	background:#000 url(../index/includes/img/zoom_in.png) no-repeat center center;
  transition:opacity 1s ease;
	z-index:99;  
}*/

/*span.rollover:hover {
	opacity:0.6;	
}*/

/* Main Article */

#main article {
	display:block;
	background:#FFFFFF;
	vertical-align: top;
	margin:0em;
	padding:0em;
	text-align:center;
	border-radius: 8px;
	width:100%;
}

#main article img {
	max-width:560px;
	/*box-shadow:4px 4px 5px -1px #4c4948;*/
	border-radius:8px;
}

#main article h2 {
	padding:0.8em 1.8em 0em 1.8em;
}
.Table
{
    display: table;
}
.Row
{
    display: table-row;
}
.Cell
{
    display: table-cell;
    border: none;
}
.Cell p
{
	padding-left: 1.25em;
	padding-right: 1.25em;
	padding-top: 1.25em;
    padding-bottom: 0.0em;
}

.Cell a
{
	color: #2F2D2C;
	font-family:Helvetica;
	font-weight:100;
    border-bottom: 0.188em solid transparent;
    border-radius:3px;
	transition:all 0.5s ease-in-out;
}

.Cell a:hover {
	border-bottom: 0.188em solid #E7590B;
}
.Cell a.active {
	border-bottom: 0.188em solid #E7590B;
}

/* Footer */ 
footer {
	display:block;
	background:#2F2C2C;
	text-align:center;
	border-radius:8px 8px 0px 0px;
	flex-shrink: 0;
}

footer ul {
	display:block;
	width:100%;
	max-width:980px;
	margin:0em auto;
	padding:1em 0.625em 0em 0.625em;
}

footer ul li {
	display:inline;
	font-size:0.8em;
	color:#E2DBDB;
	padding:0em 0.625em 0em 0.625em;
}

footer ul li a {
	color:#E2DBDB;
	transition:all 0.5s ease-in-out;
}

footer ul li a:hover {
	color:#E7590B;
}

footer ul li a.active {
	color:#E7590B;
}

footer p {
	font-size:0.8em;
	color:#E2DBDB;
	padding:1em 0.625em 1em 0.625em;
	text-align:center;
}

/* Mobile Style */
@media screen and (max-width:769px) {
	body {
		font-size:90%;
	}
}
@media screen and (max-width:659px) {
	body {
		font-size:86%;
	}
}
@media screen and (min-width:569px) {
	nav.nav {
		display:block !important;
	}
}
@media screen and (max-width:569px) {
	body {
		font-size:86%;
	}
	#menubar ul li a.menubutton {
		display:block;
	}	
	nav {
		display:none;
		height:auto;
	}
	nav ul li {
		display:block;
		margin:0.3em 0em 0.3em 0em;
	}
  #slides div {
    display:none;
		height:auto;
  }
  header {
    border-radius:0px 0px 8px 8px;
  }
}
@media screen and (max-width:376px) {
  .gallery img {
  	width:5.31em;
  	height:5.31em;
  }
}
