:root {
    --primary-color: #015cab;
    --secondary-color: #c9242b;
}

body {
    color: black;
}

p {
    font-weight: 300;
    letter-spacing: .025rem;
}

html, body {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

input, select, textarea, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#primary-menu {
    display: flex;
    gap:18px;
}

.menu-main-menu-container {
    width: 100%;
}

#primary-menu a {
    color:#000;
    font-weight:500;
    font-size: 1em;
}

.bg-contour {
    background-image: url(http://ronperry.test/wp-content/uploads/2025/07/topography.png);
    background-size: 45vw;
}

#primary-menu  a:hover, #primary-menu li.current-menu-item a {
    color:var(--primary-color);
}

/* Visited link (reset to look like normal link) */


html .btn {
    display: inline-block;
    position: relative;
    background-color: var(--primary-color);
    color: #FFF;
    padding: 15px 30px;
    border-radius: 0px;
    margin-left:4px;
    width: auto;
    letter-spacing: .5px;
    z-index: 2;
    box-shadow: -4px 4px var(--secondary-color);
    transition-property: background-color, box-shadow;
    transition-property: background-color, box-shadow;
    transition-property: background-color, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 250ms;
}

html .btn:hover {
    background-color: var(--secondary-color);
    box-shadow: -4px 4px var(--primary-color);

}

.page-content, .entry-content, .entry-summary, .post, .page{
    margin: 0;
}

html .sub-title {
    color:var(--primary-color);
    font-size:1.2em;
}

.post-item article {
    background-color:#FFF;
}

/* body .owl-stage {
    padding-bottom:40px;
} */

#masthead {
    box-shadow: 1px 1px 20px rgb(0 0 0 / 7%);
    position: relative;
}

.single-post {
    background-color:#f9f9f9;
}

.single-post [data-section="sidebar"] ul li a {
    font-size: .9rem;
    font-weight: 400;
    display: block;
}

.single-post [data-section="sidebar"] ul li img {
    max-width: 64px;
    border-radius: 2px;
}

.single-post [data-section="sidebar"] ul li {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
}

.single-post [data-section="sidebar"] ul li:last-of-type {
    border:0px;
}

.single-post .wp-post-image {
    width:100%;
}

body .owl-carousel:not([data-section="hero-slider"],[data-section="gallery-slider"]) .owl-item {
    padding:0 15px;
}

html .title {
    color: #111;
    font-size: 2em;
    font-weight: bold;
    line-height: 2.5rem;
    margin-bottom: 15px;
}

.text-primary {
    color:var(--primary-color);
}

.bg-primary {
    background-color:var(--primary-color);
}

.bg-secondary {
    background-color:var(--secondary-color);
}

.text-secondary {
    color:var(--secondary-color);
}

.border-primary {
    border-color:var(--secondary-color);
}

.border-secondary {
    border-color:var(--secondary-color);
}

[data-section="hero"] p {
    font-family: "Lexend", sans-serif;
    font-weight:300;
}

.plus-after {
    position: relative;
    display: flex;
    gap:10px;
    align-items: center;

}

.plus-after:after {
    content: '+';
    width:23px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:11px;
    border-radius: 2px;
    text-align: center;
    height:23px;
    background-color:var(--primary-color);
    color: #FFF;
    box-shadow: -2px 2px var(--secondary-color);
}

.box-shadow-secondary {
    box-shadow: -2px 2px var(--secondary-color);
}

.active .hidden {
    display: block;
}

ul.tick-list li {
    position: relative;
    padding: 15px 0px;
    padding-left:30px;
}

ul.tick-list li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    position: absolute;
    width: 30px;
    color: var(--secondary-color);
    height: 30px;
    font-size: 21px;
    left: 0;
    top: 14px;
}

.service-icon {
    font-size: 17em;
    color:var(--primary-color);
}

body .owl-theme .owl-dots .owl-dot span {
    margin:5px;
}

body .owl-theme .owl-dots .owl-dot.active span, body .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}

.services-menu-menu > li > a {
    display: block;
    padding: 11px 0px;
    border-bottom: 1px solid #e0e0e0;
    font-size:1.05em;
    font-weight:300;
    letter-spacing:.5px;
    transition: color 1s ease 0s;
    padding-left: 20px;
    position: relative;
}

.services-menu-menu > li > a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    content: "\f054";
    font-size: 0.8em;
    display: inline-block;
    width: 20px;
    color: #dbdbdb;
    transition: color 1s ease 0s;
    position: absolute;
    left:0;
    top: 14px;
}

.services-menu-menu > li > a:hover {
    color:var(--secondary-color)
}

.services-menu-menu > li > a:hover:before {
    color:var(--secondary-color);
}

.services-menu-menu > li:last-of-type > a {
    border:0px;
}

.services-menu-menu > li.current-menu-item a {
    font-weight:400;
}

.services-menu-menu > li.current-menu-item a:before, .services-menu-menu > li.current-menu-item a {
    color:var(--secondary-color);

}


.contact-btn i {
    font-size: 1.4em;
    float: left;
    margin-top: 1px;
    margin-right: 5px;
}

#colophon li a {
    color:#FFF;
    font-weight:300;
    letter-spacing: .5px;
    display: block;
    padding:4px 0px;
}

.services-menu-container:after {
    content: '';
    position: absolute;
    right: -90px;
    top: -80px;
    height: 150px;
    width: 140px;
    background-color: #015cab;
    transform: rotate(140deg);
    border-radius: 0px;
}

.breadcrumbs > li:first-of-type a:before {
    display: none;
}

.breadcrumbs > li {
    position: relative;
    padding-left:13px;
}

.breadcrumbs > li:first-of-type {
    padding-left:0px;
}

.wow {
    visibility: hidden;
}

#newsletterSignup input:not(.wpcf7-submit) {
    width: 100%;
    background-color: white;
    padding: 0.75rem !important;
    font-weight: 300;
    display: block;
    font-size: 0.875rem;
}

#newsletterSignup input.wpcf7-submit {
    background-color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    margin-top: 0.75rem;
    font-weight: 400;
    color: white;
    font-size: .9rem;
    cursor: pointer;
    border: 0;
    transition: all 300ms;
}

#newsletterSignup .wpcf7 form.invalid .wpcf7-response-output {
    font-size: .85rem !important;
}

#newsletterSignup input.wpcf7-submit:hover {
    background-color: var(--primary-color);
}

.breadcrumbs > li > a:before,
.breadcrumbs > li > span:before{
    font-family: "Font Awesome 6 Free";
    position: absolute;
    top:1px;
    left:0px;
    font-weight: 600;
    content: "\f054";
    font-size: 0.6em;
    display: inline-block;
    width: 1rem;
    transition: color 1s ease 0s;
}

#newsletterSignup .wpcf7-form p {
    width: 100%;
}

#newsletterSignup .wpcf7-form br {
    display: none;
}

.faqs > li {
    box-shadow: 1px 1px 12px #ededed;
    border: 1px solid #e2e2e2;
}

.active-tab:before {
    content: '';
    width: 2.5px;
    background: #ffffff !important;
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 0px;
}

body .active-tab:before {
    background:var(--secondary-color) !important;
}

#colophon .footer-menu > li > a {
    color: #e6e6e6;
    font-weight: 200;
    font-size: .9em;
    letter-spacing: 1px;
}

#colophon .footer-menu > li > a:hover {
    color:#FFF;
    text-decoration: underline;
}

.service-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#footerContact {
    top: -30px;
    left: 0;
    right: 0;
    z-index: 25;
    box-shadow: 1px 1px 50px #00000024;
}

#footerContact a:hover {
    color:var(--secondary-color) ;
}

.single .entry-content p, .single .entry-content li {
    color: #000;
    font-weight: 300;
    letter-spacing: .02rem;
    line-height: 30px;
    font-size: .98em;
}

.entry-content li {
    margin-bottom: .65rem;
}

.entry-content ul {
    margin-bottom: 1.25rem !important;
}

.entry-content h3 {
    font-size: 1.25em;
    font-weight: 500;
    color: black;
    line-height: 1.7rem;
    margin: 15px 0px !important;
}

.entry-content p strong {
    color: black;
    font-weight: 500;
}

.entry-content p a {
    color:var(--secondary-color);
    text-decoration: underline;
}

.entry-content p a:hover {
    color:var(--secondary-color);
}

.entry-content h2 {
    color:#000;
    font-size: 2em;
    font-weight: 500;
    line-height: 2.85rem;
}

.entry-content ul {
    list-style: disc;
    margin-left:15px;
}

#contactTabs > li > span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f055";
    position: absolute;
    width: 30px;
    color: black;
    height: 30px;
    font-size: 21px;
    right: 5px;
    top: 19px;
    font-size:16px;
    pointer-events: none;
}

#contactTabs > li.active > span:before {
    color:var(--primary-color);
    content: '\f056';
}

#contactTabs > li:hover:not(.active) span,
#contactTabs > li:hover:not(.active) span::before {
    color:var(--primary-color);
}

body .wpcf7-form input:not(.wpcf7-submit), body .wpcf7-form select, body .wpcf7-form textarea {
    width: 100%;
    display: block;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    padding: 10px;
    font-weight: 300;
    background-color: #fefefe;
    margin-top:2px;
}

body .wpcf7-form label {
    font-weight:500;
}

body .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap:1rem;
}

body .wpcf7-form label {
    color:black;
}

body .wpcf7-form > p {
    width:calc(50% - 1rem);
}

/*body .wpcf7-form .wpcf7-submit {*/
/*    background-color: var(--primary-color);*/
/*    margin-top: .75rem;*/
/*    width: auto;*/
/*    color: #FFF;*/
/*    padding: 20px 35px;*/
/*    font-weight: 500;*/
/*    letter-spacing: .5px;*/
/*    border: 0px;*/
/*    cursor: pointer;*/
/*}*/

body .wpcf7-form .wpcf7-submit:hover {
    opacity: 0.8;
}

body .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: .8rem;
    font-weight: normal;
    display: block;
}

body .wpcf7 form .wpcf7-response-output {
    margin: 3px 0px;
    border: 0px;
    width: 100%;
    color: #0d690d;
    font-weight: 400;
    padding: 0px;
}

body .wpcf7 form.invalid .wpcf7-response-output {
    color:#dc3232 !important;
}

body .wpcf7-not-valid {
    border-color: #dc3232 !important;
}

body .history-item {
    width:calc(50% + 2px);
    position: relative;
    border:1px solid #e1e1e1;
}

body .justify-end .history-item {
    border-left:0;
}

body #timeline > .justify-start .history-item {
    border-right:0;
}

body .history-item:before {
    content: '';
    height: 28px;
    width: 28px;
    border-radius: 100%;
    background-color: var(--secondary-color);
    border: 4px solid #FFF;
    position: absolute;
    top: -10px;
    left: -13px;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 12%);
}

body #timeline > .justify-start .history-item:before {
    left:initial;
    right:-12px;
}

.bg-history {
    background-image:url('http://dev.ronperry.co.uk/wp-content/uploads/2024/09/history-bg.png');
    background-size:cover;
    height: 100%;
    overflow: scroll;
}

.single-post .entry-content .wp-block-heading {
    font-size: 1.4rem;
    color: black;
    font-weight: 600;
    line-height: 1.75rem;
    margin-bottom: 3px;
}

.single-post .entry-content p {
    margin-bottom: .85rem;
}

.single-service .logo-carousel .owl-stage {
    padding:20px 0px;
}

body .owl-carousel .owl-nav button {
    position: absolute;
    top: 40%;
    width: 32px;
    height: 32px;
    background-color: rgb(0 0 0 / 78%) !important;
    margin: 0;
    border-radius: 50% !important;
}

.owl-nav button:hover span {
    color:black;
}

body .owl-carousel .owl-nav button span {
    font-size: 20px;
    color: #FFF;
    font-weight: 300;
    display: block;
    margin-top: -4px;
}

body .owl-carousel .owl-nav {
    margin:0;
}

body .owl-carousel .owl-nav .owl-prev {
    left:-5px;
}

body .owl-carousel .owl-nav .owl-next {
    right:-5px;
}


body [data-section="hero-slider"] .owl-nav .owl-next, body [data-section="gallery-slider"] .owl-nav .owl-next {
    right:28px;
    top:45%;
}

body [data-section="hero-slider"] .owl-nav .owl-prev, body [data-section="gallery-slider"] .owl-nav .owl-prev {
    left:28px;
    top:45%;
}

body .owl-carousel .owl-nav button {
    background-color: transparent !important;
}

body .owl-carousel .owl-nav button span {
    font-size:4em;
    font-weight:300;
}

body .owl-carousel .owl-nav button span:hover {
    opacity: .5;
}

body .owl-carousel .owl-nav button {
    width: 64px;
    height: 64px;
}

.page-template-default .entry-content h2 {
    font-size:1.25em;
    margin:0;
    margin-top:20px !important;
    font-weight:500;
}

.page-template-default .entry-content p {
    margin:0 !important;
}
.nav-links {
    display: none !important;
}
.navigation .wp-paginate .current {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #FFF !important;
}
body .wpcf7 form .wpcf7-response-output {
    font-size: .85rem;
}
body .wpcf7-spinner {
    display: none;
}

.wp-block-heading strong {
    color: #025cac;
    font-weight: 500;
}
.navigation .wp-paginate > li > a, .navigation .wp-paginate > li > span {
    padding: 6px 12px;
    background-color: #f8f8f8;
    border: 1px solid #e8e8e8;
    color: black;
}
.navigation .wp-paginate > li > a:hover {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #FFF;
}
.wp-paginate > li > a:hover {
    background: var(--primary-color);
    color: #FFF;
}