/*
Theme Name: Greenwood Park
Description: Greenwood Park
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

@font-face {
    font-family: 'FontAwesome';
    src:  url('fonts/fontawesome-webfont.woff2') format('woff2');
}


/* fix issues with the WP admin bar messing with sticky/absolute header items */
body.admin-bar #branding-wrap{ top: 28px; }
body.admin-bar #wrapper{ margin-top: 145px; }

td {
	vertical-align: top;
}

a {
	color: var(--secondary);
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: var(--secondary);
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	font-family: 'Merriweather', sans-serif;
    line-height: 120%;
    color: var(--secondary);
}

h1 {
	font-size: 2.0em;
	margin-top: 0;
    position: relative;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}


hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #eee;
	color: #eee;
	margin: 30px 0;
    clear: both;
}



/* Content                                          */
/* ------------------------------------------------ */
.fa {
    font: normal normal normal 14px/1 "FontAwesome";
    font-size: 18px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0,0);
    padding-right: 6px;
}

.fa-phone::before {
    content: "\f095";
}

.fa-envelope::before {
    content: "\f0e0";
}

.content {
	padding: 30px 0 100px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
    clear: both;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.content a {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/*body.home .content p:first-of-type {
    font-size: larger;
}*/

body.home .content h1 {
    font-size: 3.4em;
}

body.home .content h1 + h2 {
    margin-top: -20px;
    font-weight: 300;
}

.content-left {
    width: 22%;
    padding-right: 2%;
    float: left;
    font-size: 0.9em;
}

.content-right {
    width: 73%;
    margin-left: 2%;
    margin-bottom: 30px;
    float: right;
}

.readmore, input[type="submit"] {
	background: var(--main);
    background: none;
	color: var(--main);
	padding: 18px 40px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
    border: 3px solid var(--main);
}

.readmore:hover, input[type="submit"]:hover {
	background: var(--secondary);
	color: #fff;
}


.readmore, .content a, input[type="submit"], img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.flex-caption a.readmore {
    background: none;
    border: 3px solid #fff;
    color: #fff;
}

/* Columns                                          */
/* ------------------------------------------------ */
.columns-container {
    margin: 0 -30px;
    overflow: hidden;
}

.column-half, .column-third, .column-quarter, .column-twothirds {
    box-sizing: border-box;
    padding: 30px;
}

.column-half {
    width: 50%;
    margin: 0 0 40px 0;
    float: left;
}

.column-twothirds {
    width: 66.333%;
    margin: 0 0 40px 0;
    float: left;
}

.column-third {
    width: 33.333%;
    margin: 0 0 40px 0;
    float: left;
}

.column-quarter {
    width: 25%;
    margin: 0 0 40px 0;
    float: left;
}

.column-half img, .column-twothirds img, .column-third img {
    width: 100%;
    height: auto;
}

/*.columns-container .column-half:nth-of-type(2n+1) {
    clear: both;
    background: red;
}*/

.clearfix {
    clear: both;
}

/* homepage                                         */
/* ------------------------------------------------ */
#homepageintro {
    background: var(--main);
    padding: 70px 0 50px 0;
}

#homepagepanels {
    margin: 0 -1.5%;
    overflow: hidden;
}

.homepagepanel {
    float: left;
    width: 30.333%;
    margin: 0 1.5%;
}

.homepagepanel img {
    display: block;
    width: 100%;
    height: auto;
}

.homepagepanel img:hover, .accommodationpanel img:hover {
    transform: scale(1.05);
}

.homepagepanel a {
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

.homepagepanel h3 {
    font-size: 26px;
}

.homepagepanel, .homepagepanel h3, .homepagepanel p, .homepagepanel a {
    color: #fff;
}

.homepagepanel a.readmore {
    color: #fff;
    border: 3px solid #fff;
}

.homepagepanel a.readmore:hover {
    background: var(--secondary);
}

.homepagepanel h3, footer h3 {
    position: relative;
    margin-bottom: 40px;
}

.homepagepanel h3:after, footer h3:after {
    width: 70px;
    height: 5px;
    display: block;
    content: ' ';
    position: absolute;
    left: 0;
    bottom: -24px;
    background: var(--secondary);
}

#homepage-rooms {
    font-weight: 800;
}

.homepage-room {
    border-bottom: 4px solid #ddd;
    padding-bottom: 6px;
    text-align: left;
}

.homepage-room a {
    color: var(--third);
    text-decoration: none;
}

.homepage-room a:hover {
    opacity: 0.6;
}

#homepage-content {
    text-align: center;
}

#homepage-rooms .column-third {
    margin: 0;
}

#homepage-rooms .column-third:nth-child(3n+1) {
    clear: both;
}





.sidebarbox {
    border-radius: 24px;
    margin-bottom: 54px;
    background: var(--main);
    padding: 20px 30px;
}

.sidebarbox h3 {
    font-size: 26px;
    line-height: 120%;
    margin: 0 0 10px 0;
    color: #fff;
}

.sidebarbox a {
    text-decoration: none;
    color: #fff;
}

.sidebarbox p, .sidebarbox a {
    line-height: 120%;
}

.speechbubble {
    background: #518d10;
    padding: 20px 30px;
    position: relative;
    color: #fff;
}

.speechbubble h3, .speechbubble p, .speechbubble a {
    color: #fff;
}

.speechbubble a {
    text-decoration: none;
}

.speechbubble p {
    margin: 0;
}

.speechbubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid #518d10;
    bottom: -18px;
    left: 70%;
    transform: translateX(-50%);
}

.greyspeechbubble {
    background: #eee;
}

.greyspeechbubble::after {
    border-top: 18px solid #eee;
}

.greyspeechbubble h3, .greyspeechbubble a {
    color: var(--main);
}

.speechbubble .fa {
    font-size: 22px;
    color: var(--secondary);
}

.sidebarcafe {
    padding: 20px 30px 120px 30px;
    background: url(images/coffee.jpg) top left no-repeat;
    background-size: cover;
}

.sidebarcycle {
    padding: 20px 30px 180px 30px;
    background: url(images/sidebar-cycle.jpg) left 50% no-repeat;
    background-size: cover;
}

.sidebarcafe h3, .sidebarcycle h3 {
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.fotorama__wrap {
    background: var(--main);
}

.features {
    background: #eee;
    border-radius: 24px;
    padding: 30px;
    margin-top: 50px;
    font-size: 1.1em;
}

.features ul {
    list-style-type: none;
}

.features li {
    margin-left: 20px;

}

.features li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('images/check.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: -30px;
    padding-right: 10px;
    vertical-align: middle;
}

.tablepress > :where(thead, tfoot) > tr > * {
    background: #c7dfae;
}

.vfbp-form .btn-primary {
    font-size: 20px;
    font-weight: bold;
    border-color: none;
    background-color: var(--secondary);
    padding: 12px 20px;
}

.vfbp-form .btn-primary:hover {
    background-color: var(--main);
}

.messagebox {
    border-radius: 24px;
    padding: 30px 30px 30px 60px;
    font-weight: bold;
}

.messagebox.available {
    background: url(images/check.png) 20px 30px no-repeat;
    background-size: 30px;
    background-color: #dae9ca;
}

.messagebox.unavailable {
    background: url(images/cross.png) 20px 30px no-repeat;
    background-size: 30px;
    background-color: #f7d9d9;
}

.messagebox.unavailable a {
    color: #d72827;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footerstrip {
    background: #eee url(images/stones.jpg);
    background-size: 900px auto;
    text-align: center;
    color: var(--secondary);
    padding: 50px;
    font-family: "Merriweather";
    font-size: 60px;
    line-height: 150%;
}

footer {
	font-size: 0.9em;
	padding: 60px 0;
	background: var(--main);
    background: #1a1c1f;
    overflow: hidden;
}

#footerlogo {
    display: block;
    margin: 0 auto;
    max-width: 250px;
    padding: 10px 0 40px 0;
}

footer a, footer, footer p {
	color: #fff;
}

footer a {
    text-decoration: none;
}

footer a, footer, footer p, footer h3, footer h4 {
    color: #fff;
}

footer ul {
    list-style-type: none;
    margin: 0;
}

footer li {
    border-bottom: 1px solid #444;
    padding: 5px 0;
}

#copyright {
    clear: both;
    text-align: center;
    opacity: 0.3;
}

a.scrollup {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    text-indent: -9999px;
    background: url(images/top.svg) no-repeat;
    background-size: 100%;
    opacity: 0.7;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 970px) {
    .content-left, .content-right {
        width: 100%;
        float: none;
        border-right: none;
        margin: 0;
    }

    .content-left {
        margin-top: 50px;
        padding-top: 50px;
    }
}

@media screen and (max-width: 800px) {
    body.home .content h1 {
        font-size: 2.6em;
    }

    h1 {
        font-size: 2.4em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    h4 {
        font-size: 1.2em;
    }

    .homepagepanel h3 {
        font-size: 20px;
    }

    .homepagepanel {
        float: none;
        width: auto;
        margin: 0 0 30px 0;
    }

    .accommodationpanel {
        width: 47%;
    }

    .accommodationpanel:nth-child(2n+1) {
        clear: both;
    }

    .column-quarter {
        width: 50%;
    }

    .column-quarter:nth-child(2n+1) {
        clear: both;
    }
}

@media screen and (max-width: 600px) {
    .column-half, .column-twothirds, .column-third, .column-quarter {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }
}

/* iOS */
@media screen and (max-width: 380px) {
	#footer img {
		width: 150px;
		height: auto;
	}
}


/* WP Common Styles */
figure {
    display: table;
}

.wp-block-image figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

figure.wp-block-image {
    margin-left: 0;
    margin-right: 0;
}

figure.wp-block-image img {
    max-width: none !important;
    width: 100%;
    height: auto;
}

.wp-caption {
    width: 100% !important;
}

.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}

.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}

.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}

.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}

.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.aligncenter, dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}