/*
	CSS written by PSLWeb.co.uk for Hire Heights Ltd (hireheights.co.uk)
	Copyright 2025 PSLWeb.co.uk - All Rights Reserved.
*/
/* Global Reset
   ------------ */
* {
    margin: 0;
    padding: 0;
}

/* Globals
   ------- */
:root {
    --text-col: #232322;
    --btn-col: #C33603;
    --border-col: #232322;
    --back-col: #F7F7F7;
    --page-side-padding-mobile: 15px;
    --page-side-padding-tablet: 40px;
    --page-side-padding-desktop: 70px;
    --title-back-col: #C33603;
}

/* Elements
   -------- */
body {
    font-family: "Inter", sans-serif;
    color: var(--text-col);
    background-color: #FFF;
    box-sizing: border-box;
}
h1, h2, h3 {
    font-family: "Cardo", serif;
    font-weight: 400;
    
}
h1 {
    font-size: 2.6rem;
    margin: 0;
    line-height: 1.3;
}
h2 {
    font-size: 2.2rem;
    margin: 0 0 1.4rem 0;
    line-height: 1.2;
}
h3 {
    font-size: 2rem;
    margin: 0 0 1.3rem 0;
}

@media (min-width: 800px) {
    h1 {
	font-size: 2.9rem;
    }
    h2 {
	font-size: 2.4rem;
	margin-bottom: 1.9rem;
    }
}
@media (min-width: 1024px) {
    h1 {
	font-size: 3.2rem;
    }
    h2 {
	font-size: 2.6rem;
	margin-bottom: 2.2rem;
    }
}

p, li, address, th, td {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-style: normal;
}
a[href^="http"]:not([href*="localhost"]):not([href*="telesto.co.uk"]):not([href*="hireheights.co.uk"]) {
    padding-right: 12px;
    background: url(../images/external-link.png) no-repeat right 2px;
}
li {
    margin-bottom: 0.5rem;
}
label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3px;
}
input, textarea {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem;
    border: 2px solid var(--text-col);
    border-radius: 8px;
}
input:focus, textarea:focus {
    outline: 0;
    border-color: var(--btn-col);
}
input[type="submit"] {
    width: auto;
    padding: 0.5rem 0.8rem;
    border: 0;
    background-color: var(--btn-col);
    color: #FFF;
    transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
    background-color: var(--text-col);
    transition: background-color 0.3s ease;
    cursor: pointer;
}
label[for="address"], input[name="address"] {
    display: none;
}
table {
     border-collapse: collapse;
     margin-bottom: 1.8rem;
     width: 100%;
}
tr {
    vertical-align: top;
}
th, td {
    padding: 4px 8px;
    border: 2px solid var(--text-col);
}

/* Buttons
   ------- */
.cta-btn a {
    padding: 0.5rem 0.8rem;
    background-color: var(--btn-col);
    display: inline-block;
    color: #FFF;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.cta-btn a:hover {
    background-color: var(--text-col);
    transition: background-color 0.3s ease;
    color: #FFF;
    text-decoration: none;
}

/* Decorative
   ---------- */
.error {
    color: #C00;
    font-size: 1.4rem;
}
.msgOK {
    color: #008000;
    font-size: 1.4rem;
}

/* Header
   ------ */
header > * {
    max-width: 1320px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 5px var(--page-side-padding-mobile) 10px var(--page-side-padding-mobile);
}
.header-logo {
    flex-basis: 30%;
    height: 160px;
}
.header-nav {
    width: 60%;
}
.header-nav ul { /* By default hide all menus... */
    display: none;
    list-style: none;
}
.header-nav p {
    margin-bottom: 0;
    text-align: center;
    font-size: 1.2em;
}
.header-nav p span {
    font-size: 2.2rem;
    position: relative;
    top: 2px;
}
.header-nav ul.show { /* ...but show all with class 'show' */
    display: block;
    margin: 0;
    padding: 0;
}
.header-nav li {
    border-top: 2px solid var(--border-col);
    margin: 0;
    text-align: center;
}
.header-nav a { /* Style Anchors */
    display: block;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.2em;
    padding: 15px 2%;
    color: var(--text-col);
    text-decoration: none;
}
.header-nav a:hover { /* Style hover states */
    color: var(--btn-col);
    text-decoration: underline;
}
.header-tel {
    flex-basis: 30%;
}
.header-tel p {
    font-size: 1.8rem;
    text-align: right;
    margin-bottom: 0;
}
.header-tel p a {
    color: var(--text-col);
    text-decoration: none;
}
.header-tel p a:hover {
    color: var(--btn-col);
    text-decoration: underline;
}
.section-header > *:nth-child(1) {
    order: 1;
}
.section-header > *:nth-child(2) {
    order: 3;
}
.section-header > *:nth-child(3) {
    order: 2;
}
@media (min-width: 800px) {
    .section-header {
	flex-direction: row;
	padding: 0 var(--page-side-padding-tablet);
	gap: 1rem;
    }
	.section-header > *:nth-child(1) {
	order: 1;
    }
    .section-header > *:nth-child(2) {
	order: 2;
    }
    .section-header > *:nth-child(3) {
	order: 3;
    }
    .header-nav {
	width: 40%;
    }
}
@media (min-width: 1024px) {
    .section-header {
	padding: 0 var(--page-side-padding-desktop);
    }
    .header-logo {
	flex-basis: 20%;
    }
    .header-nav {
	width: auto;
    }
    .header-nav p {
	display: none;
    }
    .header-nav ul {
	display: flex;
	flex-basis: 60%;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 0.4rem;
    }
    .header-nav li {
	border: 0;
    }
    .header-nav li:last-child {
	border: 0;
    }
    .header-nav a {
	padding: 0.7rem 1.2rem;
	text-decoration: none;
	font-size: 1.3rem;
    }
    .header-tel {
	flex-basis: 20%;
    }
}

/* Main
   ---- */
main section > * {
    max-width: 1320px;
    margin: 0 auto;
}

/* Main Title
   ---------- */
.section-title {
    background-color: var(--title-back-col);
    color: var(--back-col);
    /*border-top: 2px solid var(--border-col);
    border-bottom: 2px solid var(--border-col);*/
    padding: 20px var(--page-side-padding-mobile);
}
.page-title {
    display: flex;
    justify-content: center;
}
.page-title-content {
    max-width: 980px;
    text-align: center;
}
main a {
    color: var(--btn-col);
    text-decoration: none;
}
main a:hover {
    color: var(--text-col);
    text-decoration: underline;
}
@media (min-width: 800px) {
    .section-title {
	padding: 30px var(--page-side-padding-tablet);
    }
}
@media (min-width: 1024px) {
    .section-title {
	padding: 40px var(--page-side-padding-desktop);
    }
}

/* Main Hero
   --------- */
.section-hero {
    padding: 15px var(--page-side-padding-mobile);
}
.page-hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}
.page-hero-column {
    display: flex;
    align-items: center;
    flex-basis: 100%;
}
.page-hero-content {
    text-align: left;
    flex-basis: 100%;
    padding: 15px 0;
}
.page-hero-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 32px;
    border: 2px solid var(--text-col);
}
.hero-list {
    list-style: none;
    margin: 0 auto 1.8rem auto;
}
.page-hero-content span.check {
    position: relative;
    top: 8px;
    left: -4px;
    font-size: 32px;
    color: #008000;
}
.page-hero-content span.contact {
    position: relative;
    top: 8px;
    left: -4px;
    font-size: 32px;
}
@media (min-width: 800px) {
    .section-hero {
	padding: 20px var(--page-side-padding-tablet);
    }
}
@media (min-width: 1024px) {
    .section-hero {
	padding: 25px var(--page-side-padding-desktop);
    }
    .page-hero {
	flex-direction: row;
    }
    .page-hero-column {
	flex-basis: 50%;
    }
    .page-hero-content {
	text-align: left;
    }
}

/* Main Content
   ------------ */
main {
    margin-bottom: 2rem;
}
.section-content {
    padding: 25px var(--page-side-padding-mobile);
}
.content-title {
    max-width: 680px;
    text-align: center;
}
.content-title span {
    font-size: 36px;
    color: var(--text-col);
}
.article-3-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 0 25px 0;
    gap: 1.2rem;
}
.article-column {
    flex-basis: 100%;
    padding: 15px 0;
}
.article-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 32px;
    border: 2px solid var(--text-col);
}
.article-column h3 {
    text-align: center;
}
@media (min-width: 800px) {
    .section-content {
	padding: 15px var(--page-side-padding-tablet) 20px var(--page-side-padding-tablet);
    }
    .content-title {
	padding: 20px 15px 0 20px;
    }
}
@media (min-width: 1024px) {
    .section-content {
	padding: 45px var(--page-side-padding-desktop) 25px var(--page-side-padding-desktop);
    }
    .content-title {
	padding: 25px 15px;
    }
    .article-3-col {
	flex-direction: row;
	gap: 2rem;
    }
}

/* Gallery
   ------- */
.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}
.gallery-column {
    flex-basis: 100%;
}
.gallery img {
    vertical-align: middle;
    width: calc(100% - 10px);
    padding: 10px 10px 0 0;
}
.gallery:last-child {
    padding-right: 5px; /* 5px + 10px (.gallery img) = 15px, otherwise the padding would be 15px + 10px */
}
@media (min-width: 800px) {
    .gallery-column {
	flex-basis: 50%;
    }
}
@media (min-width: 1024px) {
    .gallery-column {
	flex-basis: 33.333333%;
    }
}
@media (min-width: 1280px) {
    .gallery-column {
	flex-basis: 25%;
    }
}

/* Footer
   ------ */
footer {
    background-color: var(--title-back-col);
    color: var(--back-col);
}
footer > * {
    max-width: 1320px;
    margin: 0 auto;
}
footer a {
    color: var(--back-col);
    text-decoration: none;
}
footer a:hover, .footer-nav li a:hover {
    color: var(--back-col);
    text-decoration: underline;
}
footer a[href^="http"]:not([href*="localhost"]):not([href*="telesto.co.uk"]):not([href*="hireheights.co.uk"]) {
    padding-right: 12px;
    background: url(../images/external-link-white.png) no-repeat right 2px;
}
.section-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 15px var(--page-side-padding-mobile);
    flex-direction: column;
}
.footer-logo img {
    display: none;
}
.footer-nav {
    width: auto;
}
.footer-nav ul { /* By default hide all menus... */
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}
.footer-nav li a {
    padding: 0.7rem 1rem;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--back-col);
}
.footer-contact address {
    margin-bottom: 0;
}
.footer-contact {
    flex-basis: 100%;
    text-align: center;
}
.section-footer > *:nth-child(1) {
    order: 3;
}
.section-footer > *:nth-child(2) {
    order: 1;
}
.section-footer > *:nth-child(3) {
    order: 2;
}
@media (min-width: 800px) {
    .section-footer {
	padding: 25px var(--page-side-padding-tablet);
    }
}
@media (min-width: 1024px) {
    .section-footer {
	flex-direction: row;
	padding: 25px var(--page-side-padding-desktop);
    }
    .section-footer > *:nth-child(1) {
	order: 1;
    }
    .section-footer > *:nth-child(2) {
	order: 2;
    }
    .section-footer > *:nth-child(3) {
	order: 3;
    }
    .footer-logo {
	flex-basis: 25%;
    }
    .footer-logo img {
	display: inline;
    }
    .footer-contact {
	flex-basis: 25%;
	text-align: right;
    }
}