/*
Theme Name: Marble Arch
Description: Marble Arch 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%;
}

h1 {
	font-size: 2.6em;
	margin-top: 0;
}

h2 {
	font-size: 2.0em;
}

h3 {
	font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #eee;
	color: #eee;
	margin: 30px 0;
    clear: both;
}

.subheader, footer h3 {
    color: var(--main);
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* 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;
}

.readmore, input[type="submit"] {
	background: var(--highlight);
	color: #fff;
	padding: 18px 26px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
    letter-spacing: 0.1em;
	text-shadow: none;
	line-height: 140%;
	border: 0;
	cursor: pointer;
    max-width: 300px;
}

.readmore:hover, input[type="submit"]:hover {
	background: var(--main);
	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;
}

.homepagestrip, .greyhomepagestrip {
    padding: 60px 0;
}

.homepagestrip h2 {
    color: #fff;
    font-size: 26px;
    line-height: 150%;
}

.homepagestrip .subheader {
    color: #f38266;
    font-size: 20px;
}

.homepage-panels {
    padding: 60px 0;
}

.homepage-panels .columns-container {
    display: flex;
}

.homepage-panels .column-third {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.homepage-panels .column-third img {
    width: 60px;
    height: auto;
    display: block;
    margin: 40px auto 20px auto;
}

.homepage-panels .readmore {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--main);
}

.homepage-panels .readmore:hover {
    background: var(--highlight);
}

.panelcontent {
    background: var(--main);
    padding: 20px 20px 120px 20px;
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.panelcontent h2, .panelcontent p {
    color: #fff;
}

.panelcontent h2 {
    font-size: 20px;
}

.panelcontent2 {
    background: var(--secondary);
}

.panelcontent3 {
    background: var(--third);
}


/* 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;
}

.footerstrip {
    padding: 60px 0;
}

.footerstrip, .footerstrip p {
    color: #fff;
}

.footerclients {
    padding: 60px 0;
    text-align: center;
    margin-top: 12px;
    border-top: 18px solid #fff;
}

.footerclients h2 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.footerclients img {
    margin: 0;
    display: inline-block;
    scale: 0.7;
}

/* Footer                                           */
/* ------------------------------------------------ */
footer {
	font-size: 0.9em;
	padding: 60px 0;
	text-align: center;
	background: #14161c url(images/footer-bg.png) 50% 50% no-repeat;
    background-size: cover;
    overflow: hidden;
}

footer a, footer, footer p, footer li {
	color: #fff;
}

#footerlogo {
    display: block;
    margin: 30px auto;
    max-width: 300px;
    height: auto;
}

footer .column-third {
    text-align: left;
}

footer li::marker {
    color: var(--main);
}

footer li a {
    text-decoration: none;
    color: #fff;
}

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;
}

#copyright {
    opacity: 0.5;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 800px) {
    .column-quarter {
        width: 50%;
    }

    .column-quarter:nth-child(2n+1) {
        clear: both;
    }
}

@media screen and (max-width: 800px) {
    .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;
    }
}