/*** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

html {

    /*background-color: #d7dcde;*/
    font-size: 16px;
}
* {
	box-sizing: border-box; 
}
.blog-list {
	background-color: #f6f6f6 !important;
}
.blog-entry {
	background-color: #f6f6f6 !important;
}
.gallery {
background-color: #f6f6f6 !important;
}
.subgallery {
background-color: #f6f6f6 !important;
}
.slider_gallery {
background-color: #f6f6f6 !important;
}
.text-list {
background-color: #f6f6f6 !important;
}
.text-entry {
background-color: #f6f6f6 !important;
}
.installation-entry {
background-color: #f6f6f6 !important;
}
.about {
background-color: #f6f6f6 !important;
}
figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: block;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-caption;
  caption-side: bottom;
	font-size: smaller;
	color: #fff;
	line-height: 1.4em;
}
.figcaption {
position: absolute;
bottom: 1em;
  right: 1em;
	font-size: smaller;
	color: #fff;
	line-height: 1.4em;
}
caption {
	display: table-caption;
  caption-side: bottom;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}
body {
	padding: 2%;
	/*max-width: 1600px;
        margin: 50px auto;*/
        font-family: 'Lora', serif;
	letter-spacing: 1.5px;
	font-size: 100%; 
	line-height: 1.8em;
	color: #444; 
	height: 100%;
}

 td, input[type=text], textarea {
	font-family: 'Lora', serif;
	letter-spacing: 1.5px;
	font-size: 100%; 
	line-height: 1.8em;
	color: #444; 
	background-color: #C0C0C0;

}

img {
    color: green;
    font: 40px Impact;
    height: auto;
}

img.align-right {
float:right;
}
h1 {
 	padding: 2% 0%;
	font-weight: bold;
	font-size: 1.5rem;
}
h2 {
	font-weight: normal;
}
h2.home {
	color: #FFF;
}

h3 { 
	font-family: 'Vollkorn';
	color: #000; 
        margin: 0px 0px !important;
}

a {
	color: #111;
	text-decoration: none;
	border-bottom: none; 
}
	a:hover,
	.nav a:hover {
		color: #171717;
		border-color: #aaa; 
                text-decoration: none;
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}
* {
  margin: 0;
  padding: 0;
}
em {
    color: #ffffff !important;
}
.uk-link a {
    color: #6bb8db;
    text-decoration: none !important;
    }

 .active {
    color: #000000 !important;
    text-decoration: none !important;
    }

p.bottom {
    color: #FFF;
    float: right;
    position: fixed;
    bottom: 10px;
    right: 10px;
}
p.about {
  max-width: 800px;
}
	.logo-links {position:absolute;
		right:20px;} 
		.logo-links {position:relative;
		right:20px;}
/*********************************************************************
 * 2. Masthead area
 *
 */
.uk-navbar-nav>li.uk-active>a {
color: #181818 !important;
font-size: 200%; 
}
/*.uk-navbar-nav>li:first-child {
color: #FFFFFF !important;
font-size: 115%; 
}*/
.uk-navbar-nav>li>a
{
    color: #181818;
    text-decoration: none !important;
    }
    
.topnav {
	list-style: none; 
	padding: 0;
	margin-bottom: 10px;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
 left: 0; 
width: 100%;
background: transparent; 
z-index: 20;
font-style: italic;
font-size: 150%; 
	color: #fff;
}
	.topnav li {
		float: left; 
		margin-right: 1em;
	}

.topnav li:first-child {
	font-size: 175%; 
	color: #FF6347 !important;
        font-style: none;
}

	.topnav a {
		padding: 0.5em 0.5em;
		text-decoration: none; 
		display: block;
		background: transparent; 
		color: #777; 
	}
	.topnav a:hover {
		background: transparent;
		color: #ff; 
	}
	.topnav li a.active {
		background: transparent;
		color: #fff; 
	}
	.topnav a:current {
		background: transparent;
		color: #fff;
	}
	.topnav li.edit a {
		background: none; 
	}


form.search {
	float: right; 
	margin: 0;
	width: 30%; 
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
	}

.breadcrumbs {
	clear: both; 
	padding-top: 1em; 
}
	.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}

.uk-text-large {
    font-size: 1 rem;
    line-height: 1.3;
}

/*********************************************************************
 * 3. blogentry
 *
 */
.blogentry {
	background-color: transparent;
	color: #070707; 
        position: relative;
        display: block;
        margin: 50px auto;
}
.blogentry li {
		float: left; 
		margin-top: 2em;		
		margin-right: 1em;
		margin-bottom: 1em;
                list-style-type: none;
		width: 300px;
 		position: relative;
       		display: block;
	}

.blogentry ul {
  list-style-type: none;
}

.blogentry h3 {
  padding: 10px 10px 10px 0px;
}
.blogentry span {
  display: block;
  font-size: 70%; 
  letter-spacing: 1px;
  font-size: 80%; 
  line-height: 1.8em;
  color: #fff; 
  
}
/*********************************************************************
/*********************************************************************
 * 3. textentry
 *
 */
.textentry {
	background: transparent;
	color: #666; 
        position: relative;
        display: block;
        margin: 10px auto;
       max-width: 800px;
}

.textentry li {
		float: left; 
		margin-top: 1.5em;		
		margin-right: 1em;
		margin-bottom: 1em;
                list-style-type: none;
		width: 100%;
 		position: relative;
       		display: block;
	}

.textentry ul {
  list-style-type: none;
}

.textentry h3 {
  padding: 10px 10px 10px 0px;
}
.textentry span {
  display: block;
  font-size: 70%; 
  letter-spacing: 1px;
  font-size: 80%; 
  line-height: 1.8em;
  color: #666; 
  
}
.textentry img {
	float:left;
	padding: 10px 20px 20px 0px;
}
/*********************************************************************
 * 3. homepage news
 *
 */
.homepage-news {
	background: transparent;
	color: #fff; 
        position: relative;
        display: block;
        margin: 10px auto;
        max-width: 800px;
}

.homepage-news li {
		float: left; 
                list-style-type: none;
		width: 100%;
 		position: relative;
       		display: block;
	}

.homepage-news ul {
  list-style-type: none;
}

.homepage-news h3 {
	color: #fff;
  padding: 10px 10px 10px 0px;
}
.homepage-news span {
  display: block;
  font-size: 70%; 
  letter-spacing: 1px;
  font-size: 80%; 
  line-height: 1.8em;
  color: #666; 
  
}
/*********************************************************************
 * 3. gallery
 *
 */
.gallery body {
	padding: 2%;
	max-width: 1600px; 
        background-color: #C0C0C0;
        margin: 50px auto !important;
        font-family: 'Lora', serif;
	letter-spacing: 1.5px;
	font-size: 100%; 
	line-height: 1.8em;
	color: #444; 
/*********************************************************************
 * 3. subgallery
 *
 */

.subgallery body {
	padding: 2%;
	max-width: 1600px; 
        background-color: #C0C0C0;
        margin: 50px auto !important;
        font-family: 'Lora', serif;
	letter-spacing: 1.5px;
	font-size: 100%; 
	line-height: 1.8em;
	color: #444; 
}

.subgallery img {
		padding: 0px;
}

.uk-grid {
  margin: 0 auto;
}
/*********************************************************************
 * 3. subgallery
 *
 */
/*
.blog-list img {
        display: block;
}
*/

#about {
       display: block;
	width: 65%; 
	float:left;
}
/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	padding-top: 1em; 
	margin-top: 1em; 
	clear: both; 
}

#content {
	width: 100%; 
}

#content, #sidebar {
	padding-bottom: 2em; 
}
#slider {
width: 50%;
}
body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}

.align_left,
.align-left {
	float: left;
	margin: 0 1em 0.5em 0;
}

.align_right,
.align-right {
	float: right;
	margin: 0 0 0.5em 1em; 
}

.align_center,
.align-center {
	display: block;
	margin-left: auto;
	margin-right: auto; 
}
.float_left {
    float: left;
}

centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }

#lightbox img{ border: none; } 
#overlay img{ border: none; }
/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	clear: both; 
	border-top: 1px solid #eee; 
	font-size: 80%; 
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
	}
	
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 100%; 
	}
}
/*********************************************************************
 * 6. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
}

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #333;
	color: #fff;
}
