/*
Theme Name: Little Barn, Norfolk theme
Theme URI: https://www.littlebarn-norfolk.co.uk
Description: A WordPress powered website with a custom theme (design)
Author: Josh.biz Web Design
Author URI: https://www.josh.biz
Version: 1.0

Designed July 2018 - Using a RESPONSIVE DESIGN and DESKTOP FIRST approach
*/

body {
    font-family: Arial, Verdana;
    font-size: 16px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #4f4f4f;
    background: #e1ddd4 /*url(images/reeds-bg4.jpg) no-repeat fixed bottom*/;
}
.clearfloat { /* this class should be placed on a div or break element
and should be the final element before the close of a container that should fully contain a float */
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}
/*Responsive media*/
img, .wp-caption, object, embed, video {
    max-width: 100%;
    height: auto;
}
/*Image alignment*/
.alignleft, .caption.alignleft {
    float: left;
    margin: 0em 1.5em 1.5em 0em;
    text-align: left;
}
.alignright, .caption.alignright {
    float: right;
    margin: 0em 0em 1em 1em;
    text-align: right;
}
.aligncenter, .caption.aligncenter {
    display: block;
    margin: 1em auto;
    text-align: center;
}
.alignnone {
	margin-right: 12px;
}
p.caption-text {
    margin-top: 0;
    font-style: italic;
}
#nav {
    font-size: 19px;
    margin: 0px 0px 18px 0px;
    background-color: #5A7788;
}
.fixed {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
}
#header h1 {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
    font-size: 46px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.25em;
    margin-bottom: 0px;
    margin-top: 18px;
}
#header h1 a:link, #header h1 a:visited {
    color: #ffffff;
    text-decoration: none;
}
#header h1 a:hover, #header h1 a:active {
}
#header h1 span {
    font-size: 0.65em;
	/*color: #fbf4e0;*/
}

.content h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: 40px;
    font-weight: normal;
    margin: 50px 0 12px 0;
    padding: 0;
    color: #8c8786;
    line-height: 1.25em;
}


#header p.sleeps {
    font-family: Arial, Verdana;
    font-size: 23px;
    line-height: 1.4em;
    letter-spacing: 0px;
    font-weight: normal;
    color: #fff8e8;
    margin: 0;
	font-style: italic;
}

#header .strapline {
    font-family: 'Philosopher', sans-serif;
    color: #ffedc3;
    font-size: 18px;
}
h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 34px;
    font-weight: normal;
    margin: 44px 0 12px 0;
    padding: 0;
    color: #8c8786;
    line-height: 1.25em;
}
h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 22px;
    font-weight: normal;
    margin: 24px 0 8px 0;
    padding: 0;
    color: #8c8786;
	line-height: 1.25em;
}
p {
    line-height: 1.5em;
    margin: 0 0 10px;
    padding: 0;
}
p strong {
	color: #7d7978;
}
p.intro {
    font-size: 20px;
}
p.wp-caption-text {
	font-size: 14px;
    color: #949494;
    font-style: italic;
}
a:link, a:visited {
    color: #85836b;
    text-decoration: underline;
}
a:hover, a:active {
    color: #9c9a84;
    text-decoration: underline;
}
/*Overall Container*/

#container {
    clear: both;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    padding: 0;
    background-color: #9a9790;
    -webkit-box-shadow: 0px 0px 50px -1px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 50px -1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 50px -1px rgba(0,0,0,0.5);
}
/*Header*/

#header {
    margin: 0 3% 12px 3%;
    color: #ffffff;
    text-align: left;
    padding-top: 24px;
    overflow: auto;
    clear: both;
}
#header a:link, #header a:visited {
    text-decoration: underline;
    color: #fff4b8;
}
#header a:hover, #header a:active {
}
a#book-online, a#book-online:visited {
    font-family: 'Philosopher', sans-serif;
    padding: 6px 7px;
    margin-top: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.05em;
    background-color: #fff8e8;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
}
#header a#book-online:link, #header a#book-online:visited {
    text-decoration: none;
    color: #8d8d8d;
	clear: both;
	margin-bottom: 1em;
}
.page-id-176 #header a#book-online:link {
	display: none;
}
#header a#book-online:hover, #header a#book-online:active {
    text-decoration: underline;
}
#header .contact p a:link, #header .contact p a:visited {
    color: #ffffff;
    text-decoration: underline;
}
#header .contact p a:hover, #header .contact p a:active {
    color: #ffffff;
    text-decoration: underline;
}
#header img.logo {
    margin-top: 0.5em;
}
.contact {
    float: right;
    text-align: right;
}
.contact img {
    margin-left: 12px;
    margin-bottom: 12px;
}
#header .contact p {
    margin: -4px 0px 0px;
    padding: 0px;
    font-size: 20px;
    line-height: 1.5em;
    letter-spacing: 0em;
    text-align: right;
    font-weight: normal;
    clear: right;
}
#header .wifi {
    margin: 50px 0px 10px 20px;
    float: right;
    clear: right;
}
/*Slider */

#container .metaslider .caption-wrap {
    background: #53514b;
    color: white;
    opacity: 0.7;
	font-size: 12px;
	text-align: center;
    line-height: 1.4em;
}
/*Banner*/

#feature {
    background: none;
    text-align: center;
    margin-bottom: 20px;
}


/*Main Content*/

#maincontent {
    clear: both;
    margin: 0 36px;
    padding: 0;
    background: #fffefa;
    overflow: auto;
}
/*.home #maincontent {
	padding-top: 2em;
}*/
#container #maincontent .content {
    padding-top: 16px;
    padding-right: 30px;
    padding-bottom: 36px;
    padding-left: 30px;
/*    border-left: 16px #6A6753 solid;
    border-right: 16px #6A6753 solid;*/
    margin-left: 12px;
    margin-right: 12px;
    overflow: auto;
}

/*Announcements box*/
#container #maincontent .content .announcements {
    background-color: #0a4e75;
    color: #ffffff;
    padding: 1.5em 0.5em 0.75em;
    text-align: center;
    margin-top: 2.5em;
    margin-bottom: 2em;
    font-size: 1.25em;
    clear: both;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
#container #maincontent .content .announcements a:link, #container #maincontent .content .announcements a:visited {
    color: #a7dfff;
}
#container #maincontent .content .announcements a:hover, #container #maincontent .content .announcements a:active {
}


#soundbite {
    padding: 1em;
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.5em;
	clear: both;
}
#soundbite em {
    color: #fbf4e0;
}
#soundbite #soundbiteinner {
    max-width: 960px;
    margin: 1em auto;
    border-top: solid #fbf4e0 1px;
    border-bottom: solid #fbf4e0 1px;
}




/*Blog box*/
#container #maincontent .content #blog {
    max-width: 240px;
    float: right;
    background-color: #0a4e75;
    color: #ffffff;
    padding: 1.5em 0.5em 0.75em;
    text-align: center;
    margin-top: 2.5em;
    margin-bottom: 2em;
    margin-left: 1em;
    font-size: 1.25em;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
#blog h3 {
    margin-top: 0px;
    color: #FFDB86;
    font-size: 30px;
}
#container #maincontent .content #blog a:link, #container #maincontent .content #blog a:visited {
    color: #ffffff;
    text-decoration: none;
}
#container #maincontent .content #blog a:hover, #container #maincontent .content #blog a:active {
    text-decoration: underline;
}
#container #maincontent .content #blog ul {
    list-style: none;
    padding-left: 0;
}
#container #maincontent .content #blog ul li {
    margin-bottom: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: solid 2px rgba(255, 255, 255, 0.13);
    line-height: 1.4em;
}
#container #maincontent .content ul {
    margin-bottom: 20px;
}
#container #maincontent .content li {
    margin-bottom: 10px;
    line-height: 22px;
}
figure {
    margin: 0;
}
figcaption {
}
blockquote {
    display: block;
    background: #fff;
    padding: 22px 20px 15px 50px;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
    width: auto;
    /*Font*/
    font-size: 15px;
    line-height: 1.4;
    /*Borders*/
    border-left: 15px solid #cb9628;
    border-right: 2px solid #cb9628;
    /*Box Shadow*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}
blockquote::before {
    content: "\201C"; /*Unicode for Left Double Quote*/
    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;
    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 0px;
}
blockquote::after {
    /*Reset to make sure*/
    content: "";
}
blockquote a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}
blockquote a:hover {
    color: #666;
}
blockquote em {
    font-style: italic;
}
/*Footer*/

#footer {
    padding: 20px 20px 50px;
    text-align: center;
}

#footerinner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

#footerinner .box {
	padding: 1em 1em 1.5em 1em;
    margin-bottom: 1em;
    background-color: #76726b;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    text-align: center;
}

#footer #footerinner h4 {
	font-family: 'Philosopher', sans-serif;
	color: #fbf4e0;
    font-weight: normal;
    font-size: 24px;
    margin: 1em 1em 0.5em 1em;
}

#footer #footerinner ul {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.75em;
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer #footerinner ul li {
	margin: 0;
}
	

#footer a:link, #footer a:visited {
    text-decoration: underline;
    color: #ffffff;
}
#footer a:hover, #footer a:active {
    text-decoration: underline;
}

#footer #credit {
    margin-top: 6em;
    font-size: 11px;
    border-top: 1px solid #fbf4e0;
    border-bottom: 1px solid #fbf4e0;
    padding: 3px 6px 3px 6px;
    display: inline-block;
}
#footer #credit a:link, #footer #credit a:visited {
	color: #f1f1f1;
	text-decoration: none;
	}

/*Miscellaneous*/

#container #maincontent #map {
    display: block;
    border: 1px solid #000000;
}
#quotation {
    border: solid 1px #ccc;
    background: #f1f5f1;
    padding: 12px 14px 6px;
    clear: both;
    margin: 36px 0 20px 0;
}
#quotation p {
    font-size: 15px;
    line-height: 1.5em;
}
#container #maincontent .content table {
    font-size: 12px;
    margin-bottom: 12px;
}
#container #maincontent .content table {
    border-top-color: #ddd;
    border-right-color: #ddd;
    border-bottom-color: #ddd;
    border-left-color: #ddd;
}
#container #maincontent .content .contact-details {
    font-size: 18px;
}
#container #maincontent .content .large {
    font-size: 26px;
}
.icons {
/*    float: right;*/
}
#footer .icons {
    float: none;
    margin-top: 0px;
}
.icons img {
    margin-left: 8px;
    border: none;
}
.icons img.button {
    opacity: 0.65;
}
.icons img.button:hover {
    opacity: 1;
}
.page-link {
    font-size: 20px;
    margin-top: 42px;
    padding-bottom: 12px;
}
.shadow {
    -webkit-box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
}
.gallery {
    margin-top: 14px;
}
.gallery img, .accommodation #maincontent ul img, .balcony {
    display: inline-block;
    margin: 0px 6px 6px 0px;
    line-height: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    border: 3px solid #5E5E5E;
}
.accommodation #maincontent ul img {
    margin-top: 14px;
}
img.email-share {
    margin-top: 10px;
}
#gallery-1 .gallery-item {
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.post {
    margin-top: 4em;
}
#map_canvas {
    margin-bottom: 26px!important;
}
.ssba-wrap {
    margin-top: 2em;
}
section.slider .cycloneslider-template-standard {
    margin-bottom: 38px;
}
section.slider .cycloneslider-template-default .cycloneslider-caption-title {
    font-family: 'Philosopher', sans-serif;
    color: #ffde8f;
}
section.slider .cycloneslider-template-default .cycloneslider-pager span.cycle-pager-active {
    background-color: #ffffff;
}
#nav .ubermenu-skin-white {
    border: none;
}

/*#nav .ubermenu-skin-white li.ubermenu-current-menu-item a {
	font-weight: bold;
}*/
#feature {
    text-align: center;
    line-height: 1em;
}
.nextpage {
    font-size: 26px;
    margin-top: 2em;
}
#maincontent #mapp0_layout {
    border: none!important;
}
div.wpcf7 .wpcf7-form-control {
    max-width: 100%;
}

.page-id-176 .dataTables_wrapper {
	margin: 2em 0em;
}

.page-id-176 .tablepress tfoot th, .page-id-176 .tablepress thead th {
    background-color: #ebeadf;
}

/* FIRST Media Breakpoint - less than 1024px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
	body {
		background-image: none;
		background-color: #f9f4de;
	}
#header {
    margin-top: 0;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
#header h2 {
    font-size: 26px;
}
}


/* Media Breakpoint - less than 850px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 850px) {
.aligncenter, .caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft, .caption.alignleft, .alignright, .caption.alignright, .aligncenter, .caption.aligncenter, .alignnone {
    float: none;
    margin: 1em auto;
    display: block;
    text-align: center;
}
.alignleft p.caption-text, .alignright p.caption-text {
    text-align: center;
}
.page-id-29 #container #maincontent .content.yellow {
	background-image: none;
}
}


/* Media Breakpoint - less than 816px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 816px) {
	#header .icons {
		display: none;
	}
}


/* Media Breakpoint - less than 780px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width:780px) {
.logged-in #nav {
    margin-top: 0px;
}

}

/* Media Breakpoint - less than 712px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width:712px) {
#header {
    text-align: center;
}
#header h1, #header h2, #header p.sleeps {
	text-align: center;
	}

#header .contact {
    display: none;
}

}



/* Media Breakpoint - less than 660px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width:660px) {
#container #maincontent .content #blog {
    margin-left: auto;
    margin-right: auto;
    float: none;
}
}


/* Media Breakpoint - less than 450px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width:450px) {

#header {
		padding-top: 0;
	}
	
#header h1 {
    font-size: 36px;
	}

#header h1 span {
    font-size: 1em;
}
#header p.sleeps {
    font-size: 18px;
	}
#maincontent {
    margin: 0 20px;
}
#container #maincontent .content {
    padding-right: 14px;
    padding-left: 14px;
}

/* Media Breakpoint - less than 555px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width:555px) {

/*#container #maincontent .content {
    padding-top: 16px;
    padding-right: 20px;
    padding-bottom: 36px;
    padding-left: 20px;
    border-left: 8px #7FB7D6 solid;
    border-right: 8px #7FB7D6 solid;
    margin-left: 6px;
    margin-right: 6px;
}*/
}





/* Media Breakpoint - less than 436px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 436px) {
#header h2 {
    font-size: 22px;
}
h2 {
    margin-top: 20px;
    font-size: 24px;
}
h3 {
		font-size: 18px;
	}
.nextpage {
    font-size: 22px;
}
#container #footer .small {
    line-height: 1.1em;
    margin-bottom: 0.5em;
}
#footer p {
    font-size: 16px;
}
}

/* Media Breakpoint - less than 336px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 336px) {
#header h2 {
    font-size: 18px;
}
}
