/* Created by http://freehtml5templates.com */

/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {
line-height: 1;
background: url(../images/greybg.png)no-repeat;
background-size: cover;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #666;
font-size: 14px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 5px;
margin-bottom: 5px;
-webkit-box-shadow: 2px 2px 7px #555;
-moz-box-shadow: 2px 2px 7px #555;

}

}
nav {
width: 940px;
height: 50px;
margin: 0 auto;
background: #fff;
}

header {
width: 940px;
height: 200px;
margin: 0 auto;
background: #fff url(../images/headerimg.jpg) no-repeat left top;
}

#main {
width: 940px;
margin: 0 auto;
padding-top: 20px;
background: #FFF;
overflow: hidden;
}

#content {
float: left;
margin: 0 37px;
}

#sidebar1 {
float: left;
padding-left: 20px;
width: 180px;
}

#sidebar2 {
float: right;
padding-right: 30px;
width: 180px;
}



/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #333;
text-align: left;
}

a:link, a:visited {
color:#577695;
text-decoration: none;
}

a:hover, a:active {
color: #333;
text-decoration: underline;
}

p {
margin-bottom: 18px;
text-align: left;
}

li {
padding-left: 5px;
text-align: left;
}

ul{
  list-style-type: none;
  text-align: left;
}
/* nav */

nav .menu {
font-size: 14px;
font-weight: bold;
}

nav .menu ul {
margin: 0;
padding: 17px 0 0 20px;
list-style: none;
line-height: normal;
}

nav .menu li {
display: block;
float: left;
}

nav .menu a {
display: block;
float: left;
margin-right: 5px;
padding: 0px 15px;
text-decoration: none;
color: #bbb;
}

nav .menu a:hover {
text-decoration: underline;
}

/** HEADER */


header h2 {
margin: 0;
font-family: 'Comfortaa', cursive;
font-weight: lighter;
line-height: normal;
text-align: center;
padding-top: 20px;
font-size: 14px;
color: #000;
}

header h1 { 	
padding-top: 50px; 
font-family: 'Comfortaa', cursive;
font-weight: lighter;
font-size: 40px;
text-align: center;

}

header h1 a:link, header h1 a:visited {
text-decoration: none;
color: #777;
}

header h1 a:hover { 
text-decoration: underline; 
}

.shine {
color: #F1B814;
}



/** ARTICLES **/


article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

#content p, ul, ol, hr {
margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
color: #333;
margin: 0 0 20px 0;
line-height: 1.5em;
text-shadow: 0px 2px 3px #ddd;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

.thumbnail{
	border: none;
}

.thumbnail>img{border: 3px solid #E6E6E6;
				border-radius: 5px;
				padding: 5px;
		}
/* sidebar and footer widget blocks */

.asidebox {
width: 180px;
-o-border-image: url('images/boxborder.gif') 27 27 27 27 round round;
-icab-border-image: url('images/boxborder.gif') 27 27 27 27 round round;
-khtml-border-image: url('images/boxborder.gif') 27 27 27 27 round round;
-moz-border-image: url('images/boxborder.gif') 27 27 27 27 round round;
-webkit-border-image: url('images/boxborder.gif') 27 27 27 27 round round;
border-image: url('images/boxborder.gif') 27 27 27 27 round round;
border: 10px solid #eee;
margin-bottom: 30px;
}

aside h3 {
font-size: 18px;
text-shadow: 0px 2px 3px #ddd;
padding-left: 10px;
margin-bottom: 25px;
color: #777;
border-bottom: 1px #ddd dotted;
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
padding-left: 10px;
}

footer {
width: 940px;
margin: 0 auto;
clear: both;
padding: 10px;
}
footer p {
margin-top: -15px, auto;
font-weight: bold;
color: #F0B81B;
text-align: center;
}



span.text-content {
  background: rgba(0,0,0,0.5);
  color: white;
  cursor: pointer;
  display: table;
  height: 200px;
  left: 61px;
  position: absolute;
  top: 12px;
  width: 200px;
  opacity: 0;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}

.thumb:hover span.text-content {
  opacity: 1;
}
 
span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#main{text-align: center;}