/*
Theme Name: Oxford Court
Description: Oxford Court theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

@font-face {
    font-family: 'FontAwesome';
    src:  url('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 {
	line-height: 120%;
    color: var(--main);
}

h1 {
	font-size: 2.8em;
	margin-top: 0;
}

h2 {
	font-size: 2.2em;
}

h3 {
	font-size: 1.8em;
}

h4 {
    font-size: 1.4em;
}

hr {
    height: 8px;
    width: 80px;
    border: none;
    margin: 12px 0;
    background-color: var(--secondary);
    text-align: left;
}


/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 50px 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 + 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;
}

.bookbox {
    clear: both;
    margin: 30px 0 90px 0;
    padding: 20px 60px;
    background: #292929;
    background-image: linear-gradient(to right, #292929 , #333333);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 140%;
}

.bookbox .column-twothirds, .bookbox .column-third {
    padding: 0;
    margin: 0;
}

.bookbox .column-third {
    text-align: right;
}

.bookbox a.readmore {
    margin: 15px 0;
}

.readmore, input[type="submit"] {
	background: var(--main);
	color: #fff;
	padding: 14px 26px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

.readmore:hover, input[type="submit"]:hover {
	background: var(--secondary);
	color: #fff;
}


.readmore, .content a, input[type="submit"] {
	-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;
}

.content-left .readmore {
    width: 90%;
    padding: 14px 5%;
    text-align: center;
}

a.testimonials {
    background: #44a7f1;
}

.testimonialarrow {
    background: url(images/testimonials.png) top right no-repeat;
    width: 90%;
    height: 16px;
    margin-top: -16px;
}

.accommodation-features {
    background: var(--main);
    background: #eff0f5;
    padding: 30px;
    margin: 40px 0;
}

.accommodation-features h2 {
    font-size: 1.6em;
    margin: 0 0 20px 0;
}
.accommodation-features ul {
    margin: 0;
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
    font-size: 0.9em;
}

.accommodation-features li {
    list-style: none;
}

.accommodation-features i {
    margin-right: 8px;
}

.fa {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0,0);
}

.fa-wifi::before {
    content: "\f1eb";
}

.fa-check::before {
    content: "\f00c";
}

.fa-desktop::before {
    content: "\f108";
}

.fa-bed::before, .fa-hotel::before {
    content: "\f236";
}

/* 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;
}

.clearfix {
    clear: both;
}

/* Footer                                           */
/* ------------------------------------------------ */
footer {
    padding-top: 60px;
    background: #143e76;
    /*background-image: linear-gradient(to bottom, #323232 , #141414);
    background: var(--main);*/
}

footer h3 {
    color: #fff;
    font-size: 1.4em;
}

footer, footer p {
    color: #fff;
}

footer ul.menu > li, footer ul.menu li a {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 140%;
    font-size: 1.0em;
}

footer li {
    color: #f7931d;
}

footer li a {
    text-decoration: none;
    color: #fff;
}

footer a.readmore {
    background: var(--secondary);
}

footer a.readmore:hover {
    background: var(--main);
}

footer img {
    max-width: 150px;
}

#copyright {
    background: #0e3365;
    padding: 20px;
    clear: both;
    font-size: 0.9em;
    text-align: center;
    margin-top: 50px;
}

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;
}

/*jssor slider loading skin spin css*/
.jssorl-009-spin img {
    animation-name: jssorl-009-spin;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes jssorl-009-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*jssor slider arrow skin 106 css*/
.jssora106 {display:block;position:absolute;cursor:pointer;}
.jssora106 .c {fill:#fff;opacity:.3;}
.jssora106 .a {fill:none;stroke:#000;stroke-width:350;stroke-miterlimit:10;}
.jssora106:hover .c {opacity:.5;}
.jssora106:hover .a {opacity:.8;}
.jssora106.jssora106dn .c {opacity:.2;}
.jssora106.jssora106dn .a {opacity:1;}
.jssora106.jssora106ds {opacity:.3;pointer-events:none;}

/*jssor slider thumbnail skin 101 css*/
.jssort101 .p {position: absolute;top:0;left:0;box-sizing:border-box;background:#000;}
.jssort101 .p .cv {position:relative;top:0;left:0;width:100%;height:100%;border:2px solid #000;box-sizing:border-box;z-index:1;}
.jssort101 .a {fill:none;stroke:#fff;stroke-width:400;stroke-miterlimit:10;visibility:hidden;}
.jssort101 .p:hover .cv, .jssort101 .p.pdn .cv {border:none;border-color:transparent;}
.jssort101 .p:hover{padding:2px;}
.jssort101 .p:hover .cv {background-color:rgba(0,0,0,6);opacity:.35;}
.jssort101 .p:hover.pdn{padding:0;}
.jssort101 .p:hover.pdn .cv {border:2px solid #fff;background:none;opacity:.35;}
.jssort101 .pav .cv {border-color:#fff;opacity:.35;}
.jssort101 .pav .a, .jssort101 .p:hover .a {visibility:visible;}
.jssort101 .t {position:absolute;top:0;left:0;width:100%;height:100%;border:none;opacity:.6;}
.jssort101 .pav .t, .jssort101 .p:hover .t{opacity:1;}

/* 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) {
    h1 {
        font-size: 2.0em;
        margin-top: 0;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    h4 {
        font-size: 1.2em;
    }

    .bookbox .column-third {
        text-align: center;
        margin: 20px 0;
    }

    .column-half, .column-twothirds, .column-third, .accommodationpanel {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }

    .column-quarter:nth-child(2n+1) {
        clear: both;
    }

    .homepagepanel {
        float: none;
        width: auto;
        margin: 0 0 30px 0;
    }
}

@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;
    }
}