/*
 * *:hover {
 background-color: yellow;
 }

 */

#container {
	background-color: white;
	border: 10px white solid;
	width: 1040px;
	margin: 0 auto;
	overflow: hidden;
}

/*
 .entry {

 text-align: justify;
 }
 .entry img {
 float: center;
 max-height: 500px;
 max-width: 100%;
 margin-right: auto;
 margin-left: auto;
 }

 */
#header {
	margin-left: 220px;
	margin-right: 220px;
	text-align: center;
}

#header h1 {
	font-size: 43px;
	color: #424242;
	font-weight: normal;
	margin: 3px;
	padding: 0px;
	font-family: 'Sofadi One', cursive;
}
#header h1 a {
	text-decoration: none;
	color: #424242;
}

#header h1 .colouredwords {
	font-size: 28px;
}

#header h2 {
	font-size: 14pt;
}

#footer {
	margin-left: 120px;
	margin-right: 120px;
	color: #7f7f7f;
	text-align: center;
}

#navigation {
	float: left;
	position: relative;
	z-index: 2;
}

#socialmedia {
	margin: 0 auto 0 auto;
}

#socialmedia a {
	border-right: 5px;
	margin-right: 5px;
	color: #ababab;
	text-decoration-line: none;
	font-size: 32px;
}

#socialmedia a:hover {
	color: #000000;
}

#allentries {
	margin-top: 0px;
	margin-left: 220px;
	margin-right: 220px;
	min-height: 400px;
}

img {
}

#allentries img {
	border-style: none;
}

.entry img {
	padding: 5px;
}
.spacer {
	clear: both;
}

body {
	font-family: 'Open Sans', sans-serif,  "Georgia";
}

.gallery {
	position: relative;
	overflow: hidden;
	margin: 10px auto;
}

.gallery a:link, .gallery a:active, .gallery a:visited {
	color: #555;
	outline: 0;
	text-decoration: none;
}

.gallery a:hover {
	color: #fc0;
}

.gallery .thumb img {

	display: block;
	margin: 0 auto;
}
.gallery .float-left {
	float: left;
}
.gallery .float-right {
	padding: 5px;
	display: table;
	margin: auto;
}
.gallery .clear {
	clear: both;
}
.gallery .clearb10 {
	padding-bottom: 10px;
	clear: both;
}

.gallery .titlebar {
	height: 24px;
	line-height: 24px;
	margin: 0 5px;
}

.gallery .title {
	font-size: 18px;
	height: 500px;
	font-weight: 400;
}

.gallery .thumb {
	width: 200px;
	display: inline-block;
	vertical-align: middle;
}
/*
 .gallery .thumb:hover {
 border:0;
 width:120px;
 height:85px;
 }

 /***** pagination style *****/
.gallery .paginate-wrapper {
	padding: 10px 0;
	font-size: 11px;
}

.gallery a.paginate {
	color: #555;
	padding: 0;
	margin: 0 2px;
	text-decoration: none;
}

.gallery a.current-paginate, .gallery a.paginate:hover {
	color: #333;
	font-weight: 700;
	padding: 0;
	margin: 0 2px;
	text-decoration: none;
}

.gallery a.paginate-arrow {
	text-decoration: none;
	border: 0;
}

#footer #creator a{
        text-decoration: none;
        color: #7f7f7f;
}

#footer #creator a:hover{
        text-decoration: underline;
        color : red;
        font-size:larger;
}

#mobilenavbar{
	display: none;
}

/*Strip the ul of padding and list styling*/
#mobilenavbar ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
}
/*Create a horizontal list with spacing*/
#mobilenavbar li {
    display:inline-block;
    float: left;
    margin-right: 1px;
}
/*Style for menu links*/
#mobilenavbar li a {
    display:block;
    min-width:140px;
    height: 120px;
    text-align: center;
    line-height: 120px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
    background: #2f3036;
    text-decoration: none;
    font-size: 200%;
}
/*Hover state for top level links*/
#mobilenavbar li a {
    background: #2f3036;
}
/*Style for dropdown links*/
#mobilenavbar li ul a {
    background: #f3f3f3;
    color: #2f3036;
    height: 120px;
    line-height: 120px;
}
/*Hover state for dropdown links*/
#mobilenavbar li:hover ul a:hover {
    background: #2f3036;
    color: #fff;
}
/*Hide dropdown links until they are needed*/
#mobilenavbar li ul {
    display: none;
}
/*Make dropdown links vertical*/
#mobilenavbar li ul li {
    display: block;
    float: none;
    height: 120px;
}
/*Prevent text wrapping*/
#mobilenavbar li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}
/*Display the dropdown on hover*/
#mobilenavbar ul li a + .hidden, #mobilenavbar  .hidden {
    display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #2f3036;
    text-align: center;
    padding: 10px 0;
    display: none;
    font-size: 280%;
}
/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menumobile{
    display: block;
}

 #map {
	height: 500px;
	width: 100%;
}





@media screen and (max-device-width: 850px)  {
	
	body{
		/*font-size: 150%;*/
		margin: 0;
		margin-bottom: 40px;
	}
	#container{
		border: 0;
		width: 96%;	
	}
	#allentries{
		margin-top: -30px;
	}
	.entry{
		font-size: 250%;
		min-height: 1px;
		max-height: 999999px;
		
	}
	
	#socialmedia a{
		font-size: 500%;
	}
	
	#header h1{
		font-size: 680%;
	}
	
	#header, #allentries, #footer{
		margin-left: 5px;
		margin-right: 5px;
	}
	
	
	#navigation {
		display: none;
	}
	
	.gallery img{
		width: 95%;
	}
	
	.gallery .thumb{
		width: 50%;
		margin: auto;
	}
	.gallery .thumb img{
		width:80%;
		margin-top: 30px;
	}
	

	.p5-sides{
		font-size: 150%;
	}
	
	#mobilenavbar{
		display: block ;
		font-size: 150%
	}
	/*Make dropdown links appear inline*/
    #mobilenavbar ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    #mobilenavbar li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    #mobilenavbar ul li, #mobilenavbar li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    #mobilenavbar .show-menu {
        display:block;
    }
    
    #mobilenavbar .active1 > a {

	font-weight:900;
	font-size: 300%;
	}
	
}








