/*
Theme Name: The St James 2025
Description: The St James 2025 theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

/* 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 {
	line-height: 120%;
    color: var(--secondary);
}

h1 {
	font-size: 2.0em;
	margin-top: 0;
}

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                                          */
/* ------------------------------------------------ */
.content {
	padding: 60px 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 h1 {
    font-size: 3.4em;
    margin-bottom: 16px;
}

body.home .content h1 + h2 {
    margin-top: -20px;
    font-weight: 300;
}

.content-left {
    width: 20%;
    padding-right: 2%;
    float: left;
    font-size: 0.9em;
    /*background: #f8f5f0;*/
}

.content-right {
    width: 75%;
    margin-left: 2%;
    margin-bottom: 30px;
    float: right;
}

.readmore, input[type="submit"] {
	background: var(--secondary);
	color: #fff;
	padding: 14px 26px;
	text-decoration: none;
	display: inline-block;
    letter-spacing: 0.5px;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
    border: 2px solid #fff;
	cursor: pointer;
}

.readmore:hover, input[type="submit"]:hover {
	background: var(--third);
	color: #fff;
}


.readmore, .content a, input[type="submit"], #homepageintro img, .newsbox {
	-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;
}

.specials h2 {
    display: block;
    text-align: center;
    padding: 30px 0 0 0;
    color: #fff;
    font-size: 50px;
}

.newsposts {
    display: flex; /* next two lines for full-height columns */
    flex-wrap: wrap;
}

.newsposts .column-quarter {
    flex: 21%;
    background: var(--third);
    margin: 20px;
    padding: 0;
}

.newsbox {
}

.newsimage {
    aspect-ratio: 1 / 1;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: 50%;
    max-height: 300px;
}

.newscontent {
    padding: 30px 20px 20px 20px;
}

.newsbox h4, .newsbox p {
    color: #fff;
    margin: 0 0 10px 0;
}

.newsbox a {
    text-decoration: none;
}

.newsbox:hover {
    transform: scale(1.1);
}

#contactstrip {
    padding: 180px 0;
    overflow: hidden;
    text-align: center;
}

#contactstrip p {
    font-size: 45px;
    color: #fff;
    line-height: 120%;
    max-width: 1200px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    margin: 0 0 20px 0;
}

.contactstrip-inner {
    margin-bottom: -20px !important;
}

.faqs {
    position: relative;
}

.faqs p {
    margin-left: 100px;
    line-height: 100%;
}

.faqs b {
    width: 100px;
    position: absolute;
    left: 0;
}

.spacer {
    display: block;
    height: 30px;
}

/* 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;
}


#testimonials_slider, #testimonials_slider ul.slides, #testimonials_slider ul.slides li {
    background: transparent;
    height: 500px;
}

#testimonials_slider {
    background: url(images/header03.jpg) left top no-repeat;
    background-size: cover;
}

#testimonials_slider > .wrapper {
    text-align: left;
}

#testimonials_slider a {
    pointer-events: none;
    text-decoration: none;
}

.tripadvisor {
    display: block;
    width: 100%;
    margin: 50px 0;
    text-align: center;
}

.testimonial {
    background: rgba(0, 0, 0, 0.6);
    margin: 80px 0;
    padding: 30px;
    font-size: 1.1em;
    max-width: 800px;
}

.testimonial p {
    margin-top: 0;
}

.testimonial::before {
    content: '';
    display: inline-block;
    background: url(images/quote.svg) left top no-repeat;
    background-size: 100%;
    width: 30px;
    height: 30px;
    opacity: 0.5;
}

.testimonial, .testimonial p, .testimonial a {
    color: #fff;
}

.mapdiv {
    width: 100%;
    height: 450px;
}

/* Footer                                           */
/* ------------------------------------------------ */
footer {
	padding: 90px 0;
	text-align: center;
	background: var(--third);
    background: linear-gradient(45deg, rgba(57,1,5,1) 47%, rgba(162,19,47,1) 100%);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

footer a, footer, footer p {
	color: #c4c4c4;
}

footer, footer a, footer li {
    color: #fff;
}

.footer-content {
    position: relative;
    z-index: 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;
}

.fbottom {
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 20px 0;
}

.footerawards {
    clear: both;
    float: right;
    margin: 30px 0 0 30px;
    width: 100%;
}

.footerawards img {
    height: 140px;
    width: auto;
    float: right;
    display: block;
    margin-left: 10px;
}

.circles {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.4;
}

.circles div {
    position: absolute;
    border-radius: 50%;
    -moz-border-radius: 50%;
}

.circles .circle1 {
    width: 500px;
    padding-top: 500px;
    background: rgba(0,0,0,0.4);
    left: 0%;
    top: -200px;
    border: 0;
}

.circles .circle2 {
    width: 500px;
    padding-top: 500px;
    background: rgba(0,0,0,0.2);
    left: 35%;
    top: 60px;
    border: 0;
}

.circles .circle3 {
    width: 350px;
    padding-top: 350px;
    background: rgba(0,0,0,0.2);
    left: 70%;
    top: 30px;
    border: 0;
}

.circles .circle4 {
    width: 250px;
    padding-top: 250px;
    background: rgba(0,0,0,0.2);
    left: 50%;
    top: -130px;
    border: 0;
}

.sidebar {
    background: #f5f1ea;
    margin: 0 auto;
    position: relative;
    min-height: 380px;
    padding: 20px;
    overflow: hidden;
    border-radius: 10px;
}


.sidebarcontent {
    position: relative;
    z-index: 3;
}

.sidebarcontent h3 {
    margin-bottom: 5px;
}

.sidebarcontent a.readmore {
    background: var(--third);
}

.sidebarcontent a.readmore:hover {
    background: var(--secondary);
}

.sidebarcircles {
    position: absolute;
    width: 100%;
    height: 200px;
    z-index: 2;
}

.sidebarcircles div {
    position: absolute;
    border-radius: 50%;
    -moz-border-radius: 50%;
    overflow: hidden;
}

.sidebarcircles .circle1 {
    width: 90%;
    padding-top: 90%;
    background: rgba(255,255,255,0.5);
    left: -15%;
}

.sidebarcircles .circle2 {
    width: 90%;
    padding-top: 90%;
    background: rgba(255,255,255,0.3);
    left: 35%;
}

.sidebarcircles .circle3 {
    width: 85%;
    padding-top: 85%;
    background: rgba(255,255,255,0.4);
    left: -30%;
    top: 40%;
}

footer .columns-container {
    text-align: left;
}

footer ul {
    list-style: none;
    margin: 0;
}

footer ul li {
    line-height: 150%;
    padding: 0 0 10px 0;
    position: relative;
}

footer li a {
    text-decoration: none;
}

footer li.current-menu-item a {
    text-decoration: underline;
    color: var(--secondary);
}

footer a:hover {
    text-decoration: underline;
}

#copyright {
    opacity: 0.5;
    font-size: 0.9em;
    clear: both;
    padding-top: 40px;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1200px) {
    body.home .content h1 {
        font-size: 2.2em;
    }

    .cols {
        column-count: 2;
    }

    .newsposts .column-quarter {
        flex: 44%;
    }

    .column-quarter {
        width: 50%;
        margin: 0;
    }
}

@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) {
    .cols {
        column-count: 1;
        text-align: left;
        column-gap: 0px;
    }

    .column-quarter {
        width: 50%;
    }

    .column-quarter:nth-child(2n+1) {
        clear: both;
    }

    .footerawards img {
        height: auto;
        width: auto;
        max-width: 200px;
        float: none;
        margin: 0 auto 20px auto;
    }
}

@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;
    }
}