/*!
Theme Name: ajs-electrics
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ajs-electrics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready 
*/  



@media(min-width:1450px){
	
.postid-928 .gb-section {
    background-image: url(https://ajs-fire.co.uk/wp-content/uploads/2026/01/alarm.svg) !important;
    background-size: 200px !important;
    background-position: 80% 193px !important;
    background-repeat: no-repeat !important;
}
}
li#menu-item-service-928 a {
    min-width: 170px;
}
 
.bg-mid-grey-grad p{ 
	color:white;
}

.bg-mid-grey-grad{
	background: #606060;
 }
@media(min-width: 768px){
	
	.col-xl-6:nth-child(odd) .service-item {
    padding-right: 17px;
}
	
	.col-xl-6:nth-child(even) .service-item {
    padding-left: 17px;
}
	.postid-928 .bg-mid-grey-grad{
		background: #606060;
	background: linear-gradient(90deg, rgba(96, 96, 96, 1) 49%, rgba(96, 96, 96, 1) 49%, rgba(117, 117, 117, 1) 49%); 
	}


	.postid-928 .d-pr-40:nth-child(1){ 
		padding-right: 80px;
	}
	.postid-928 .d-pr-40:nth-child(2){ 
		padding-left: 60px;
	}
	
}

.col-xl-6.ml-autoD.bg-lightblue.pt-50.pb-50.t-18 {
    border-right: 5px solid #ce122e;
}
.st .t-blue {
    margin-bottom: 40px;
}
.st p.t-white.mw-660 {
    margin-bottom: 50px;
}
.service-item p {
    font-size: 20px;
    font-family: "hb";
}
.page-content-custom p {
    line-height: 1.5;
}
footer .logos {
    padding-bottom: 50px;
}
body {
    overflow-x: hidden;
}
.single-service .quotes-carousel{
	margin-bottom: 0;
}
.single-service .bg-black strong{
	color: #ce122e; 
}
.single-service .bg-black * { 
	font-size: 28px;
}

.single-service p{
	font-size: 16px;
}

.single-service h3{
	font-size: 20px;
	margin-bottom: 40px;
	font-family:"hb"
}
.mw-660{
	max-width: 660px;
}
.bg-black{
	background: black !important;
}
.bg-black2 {
	background: black !important;
}
.t-28{ 
    font-size: 26px;
    line-height: 1.3; 
}
.center-content { 
	display: flex;
    align-items: center;
    justify-content: center;
}
.white_bar_content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0;
}
.white_bar_content p,
.white_bar_content h4{ 
	font-size: 28px;
}
.white_bar h4{
	margin-bottom: 40px;
	font-family: "hm"
}

.white_bar_content strong{ 
 color: #ce122e;
}
.bg-mid-grey{
	background: #4E4E4E;
	color: white;
}
.quotes-carousel .main-text {
    font-size: 28px;
}
.bg-mid-grey *{ 
	color: white;
}
p.mb-0.text-right.t-white {
    font-size: 20px;
}
.bg-black p:nth-last-child(1){
max-width: 970px;
    margin-bottom: 120px;
}
iframe { 
    min-height: 494px;
}
.home span.t-blue {
    font-family: 'hb';
    display: block;
}
.home span.t-white {
    font-size: 22px;
}
.t-18{
	font-size: 18px;
}
.service-image {
    margin-bottom: 20px;
}
#map{
	min-height: 490px;
	margin-bottom: 40px;
}
.privacy-policy .quotes-carousel,
.privacy-policy .stats  ,
.privacy-policy .black-bar,
.privacy-policy .case_studies,
.privacy-policy .bg-1c.text-white,
.privacy-policy .bg-secondary-light{
	display: none;
}

.content{
	background: #564F4F; 
}
.content *{
	color: white;
}
.content div {
    max-width: 970px;
	padding: 0px 20px;
    margin: 0 auto;
    font-size: 26px;
    line-height: 1.2;
}
.content h3{
	font-family: "hb";
	margin-bottom: 40px;
}
.content a{
	border-bottom: 2px solid white;
}
.mw-270{
	min-width: 270px;
}
.mb-20{
	margin-bottom: 20px;
}
.accreditation-item, .client-item{
	margin: 0 30px;
}
.black-half-bg{
	background: linear-gradient(0deg, #1c1c1c 50%, #ffffff 50%); 
}
.black-bg{
	background: linear-gradient(0deg, #1c1c1c 50%, #1c1c1c 50%); 
}
.stat {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-page a {
    font-family: "hm";
	display: inline-block;
	border-bottom: 1px solid;
}
.mt-120{
	margin-top: 120px;
}
.mt-150{
	margin-top: 150px;
}
.menu-item-has-children:hover .sub-menu {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: lightblue;
    padding: 20px;
    justify-content: space-between;
}
.services-header h2 {
    max-width: 810px;
}
.d-block{
	display: block;
} .m-auto{
	margin: 0 auto;
}
.service-item {
    margin-bottom: 25px;
}
@font-face {
  font-family: 'oss';
  src: url('https://ajs-electrics.co.uk/oss.woff') format('woff') /* Pretty Modern Browsers */ 
}
@font-face {
  font-family: 'hn';
  src: url('https://ajs-electrics.co.uk/HelveticaNeue.woff') format('woff') /* Pretty Modern Browsers */ 
}
@font-face {
  font-family: 'hm';
  src: url('https://ajs-electrics.co.uk/HelveticaNeueMedium.woff') format('woff') /* Pretty Modern Browsers */ 
}
@font-face {
  font-family: 'hb';
  src: url('https://ajs-electrics.co.uk/HelveticaNeueBold.woff') format('woff') /* Pretty Modern Browsers */ 
}

h2 p{
	margin-bottom: 0 
}
strong,b{
	font-family: "hb";
}
.bg-1c{
	background: #1c1c1c;
}
.bg-secondary-light p:nth-last-child(1){
	margin-bottom:0;
}

@keyframes moveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

.big_image::before,.service_pos::before {
  animation: moveUpDown 3s ease-in-out infinite;
}

.big_image::after,.service_pos::before {
  animation: moveUpDown 4s ease-in-out 1s infinite;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%
}

body {
	margin: 0
}

h1 {
	font-size: 2em;
	margin: .67em 0
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible
}

pre {
	font-family: monospace, monospace;
	font-size: 1em
}

a {
	background-color: transparent
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted
}

b,
strong {
	font-weight: normal
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em
}

small {
	font-size: 80%
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline
}

sub {
	bottom: -.25em
}

sup {
	top: -.5em
}

img {
	border-style: none
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0
}

button,
input {
	overflow: visible
}

button,
select {
	text-transform: none
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText
}

fieldset {
	padding: .35em .75em .625em
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal
}

progress {
	vertical-align: baseline
}

textarea {
	overflow: auto
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit
}

details {
	display: block
}

summary {
	display: list-item
}

template {
	display: none
}

[hidden] {
	display: none
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both
}

p {
	margin-bottom: 1.5em
}

dfn,
cite,
em,
i {
	font-style: italic
}

blockquote {
	margin: 0 1.5em
}

address {
	margin: 0 0 1.5em
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: .9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: .9375rem
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none
}

big {
	font-size: 125%
}

html {
	box-sizing: border-box
}

*,
*:before,
*:after {
	box-sizing: inherit
}

body {
	background: #fff
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em
}

ul,
ol {
	margin: 0 0 1.5em 3em
}

ul {
	list-style: disc
}

ol {
	list-style: decimal
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em
}

dt {
	font-weight: 700
}

dd {
	margin: 0 1.5em 1.5em
}

img {
	height: auto;
	max-width: 100%
}

figure {
	margin: 1em 0
}

table {
	margin: 0 0 1.5em;
	width: 100%
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: .75rem;
	line-height: 1;
	padding: .6em 1em .4em
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111
}

select {
	border: 1px solid #ccc
}

textarea {
	width: 100%
}

a {
	color: royalblue
}

a:visited {
	color: purple
}

a:hover,
a:focus,
a:active {
	color: midnightblue
}

a:focus {
	outline: thin dotted
}

a:hover,
a:active {
	outline: 0
}

.main-navigation {
	clear: both;
	display: block;
	float: right;
	padding-top: 45px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, .2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	left: 100%
}

.main-navigation ul ul a {
/* 	width: 200px */
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto
}

.main-navigation li {
	float: left;
	position: relative
}

.main-navigation a {
	display: block;
	text-decoration: none
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block
}
 

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: .875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000
}

#content[tabindex="-1"]:focus {
	outline: 0
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both
}

.widget {
	margin: 0 0 1.5em
}

.widget select {
	max-width: 100%
}

.sticky {
	display: block
}

.post,
.page {
	margin: 0 0 1.5em
}

.updated:not(.published) {
	display: none
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0
}

.page-links {
	clear: both;
	margin: 0 0 1.5em
}

.comment-content a {
	word-wrap: break-word
}

.bypostauthor {
	display: block
}

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none
}

.infinity-end.neverending .site-footer {
	display: block
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0
}

embed,
iframe,
object {
	max-width: 100%
}

.custom-logo-link {
	display: inline-block
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption .wp-caption-text {
	margin: .8075em 0
}

.wp-caption-text {
	text-align: center
}

.gallery {
	margin-bottom: 1.5em
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%
}

.gallery-columns-2 .gallery-item {
	max-width: 50%
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%
}

.gallery-columns-4 .gallery-item {
	max-width: 25%
}

.gallery-columns-5 .gallery-item {
	max-width: 20%
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%
}

.gallery-caption {
	display: block
}

@media (min-width:1200px) {
	.container {
		max-width: 1450px;
		padding: 0 45px;
	}
}

.main-navigation .current-menu-item a {
    color: #ce122e !important;
}

.main-navigation .menu-item a{
	transition: all 0.2s ease;
}
.main-navigation .menu-item a:hover {
    color: #ce122e !important;
}
.big_image {
    min-height: 780px;
    position: relative;
	flex-wrap: wrap;
    display: flex;
    align-items: flex-end;
	margin-bottom: 170px;
	background-position: 80% !important;
}
.blue_box h2 {
    font-size: 30px;
}

a:hover{
	color: inherit;
}
.blue_box a {
    color: white;
    border-bottom: 1px solid;
	text-decoration: none;
    margin-bottom: 5px;
    display: inline-block;
    margin-top: 30px;
}
.blue_box a {
	text-decoration: none;
}
.big_image_content {
    position: absolute;
    bottom: 20px;
}
.big_image_content a{ 
	color: white;
	text-decoration: none;
    border-bottom: 1px solid;
}
a,a:hover{
	text-decoration:none;
}

.blue_box {
    background: #ce122e;
    padding: 50px 40px;
    color: white;
	margin-bottom: -45px;
}
#masthead{
	padding-bottom: 45px;
}


#masthead{
	padding-top: 45px;
}
.blue_box strong {
    font-size: 20px;
}
.main-navigation a{
	color: black;
	margin-right: 25px;
}
.main-navigation li:nth-last-child(1) a{ 
	margin-right: 0px;
}

.main-navigation{
	padding-top: 55px;
}

.big_image .col-md-6:nth-child(2) { 
    color: white;
    padding-bottom: 20px;
}
.service_pos{
	position: relative;
}
.big_image:after,
.service_pos:before {
    content: "";
    width: 175px;
    height: 175px;
    position: absolute;
    top: 4%;
    background: url(https://ajs-fire.co.uk/wp-content/uploads/2025/12/flame.svg);
    right: 5%;
    background-size: contain;
    background-repeat: no-repeat;
}
/* 
.big_image:before {
    content: "";
    width: 175px;
    height: 175px;
    position: absolute;
    bottom: 0%;
    right: 5%;
    background: url(https://ajs-fire.co.uk/wp-content/uploads/2025/12/flame.svg);
    background-size: contain;
    background-repeat: no-repeat;
} */
.cs {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    color: white;
    margin-bottom: 140px;
}

.cs div {
    padding: 30px 40px;
    font-size: 23px;
} 
.cs div a{
   border-bottom: 1px solid white;
	color: white;
}
.case_studies > .container > div {
    margin-bottom: 50px;
    font-size: 20px;
}.wp-video {
    width: 100% !important;
}
.services > .container > div {
    margin-bottom: 50px;
    font-size: 20px;
	color: white;
}
 
.copyright { 
    font-size: 10px;
    color: #727272;
}
.copyright .col-md-6:nth-child(2){ 
	text-align: right;
	padding-right: 30px;
}
.services > .container .sst {
    font-size: 30px;
    max-width: 1128px;
    padding-bottom: 50px;
}
ul#footer-menu li {
    list-style: none;
    float: left;
    margin-right: 20px;
    font-size: 15px;
    line-height: normal;
    color: #9D9D9D;
}

#colophon hr{
	height: 1px;
	border: 0;
	outline: 0;
	background: transparent;
	border-top: 1px solid #e7e7e7 !important;
}

ul#footer-menu {
    float: right;
    margin: 20px 0 0 0;
    padding: 0;
    margin-bottom: 40px;
}
ul#footer-menu li:nth-last-child(1){
	margin-right: 0;
}
.mobmenur-container {
    top: 10px !important;
    right: 5px;
    opacity: 0.3;
}
.copyright{
    border-top: 1px solid #e7e7e7;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
}

.row.copyright {
    margin-right: 0;
    margin-left: 0;
}

.row.copyright .col-md-6 {
    padding-right: 0;
    padding-left: 0;
}
.embed-container {
    max-width: 1360px;
    margin: 0 auto;
	min-height: 210px;
}
.services .embed-container {
    padding-bottom: 100px; 
    margin-bottom: 0;
}

a{
	color: inherit;
}
a:visited{
	color: inherit;
}
.mb-n90{
	margin-bottom: -90px;
}
.services {
background: #1c1c1c;
/* background: -moz-linear-gradient(top, #1c1c1c 0%, #1c1c1c 62%, #1c1c1c 62%, #ffffff 62%);
background: -webkit-linear-gradient(top, #1c1c1c 0%,#1c1c1c 62%,#1c1c1c 62%,#ffffff 62%);
background: linear-gradient(to bottom, #1c1c1c 0%,#1c1c1c 62%,#1c1c1c 62%,#ffffff 62%); 
    padding-top: 100px; */
}
.pb-200{
	padding-bottom: 200px;
}

body.page-template.page-template-page-Case_Study main{
	background: rgb(255,255,255);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 31%, rgba(28,28,28,1) 31%, #1c1c1c 31%);
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 31%,rgba(28,28,28,1) 31%,#1c1c1c 31%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 31%,rgba(28,28,28,1) 31%,#1c1c1c 31%); 
} 
body.single-case_study main{
	background: rgb(255,255,255);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 24%, rgba(28,28,28,1) 24%,#1c1c1c 51%);
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 24%,rgba(28,28,28,1) 24%,#1c1c1c 51%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 24%,rgba(28,28,28,1) 24%,#1c1c1c 51%); 
	    padding-bottom: 50px;
    margin-bottom: 100px;
} 

.services > .container > div.st{
	color: #ABABAB;
}
.main-navigation a {
    display: block;
    text-decoration: none;
    font-size: 15px;
    line-height: normal;
    color: #4E4E4E !important;
}

.big_image.small {
    height: 420px !important;
    min-height: auto;
    color: white;
}
.big_image.small h1 {
    font-size: 40px;
}
.big_image.small p {
    font-size: 20px;
	max-width: 789px;
    margin-bottom: 55px;
	color: white;
} 
.mob-standard-logo {
    display: inline-block ;
    height: 41px !important;
    margin-top: 5px !important;
}
.container.services_boxes hr,.container.testimoninals_boxes hr, .page-content-custom hr, .case-studies hr,
 .contact-page hr, .single-case_study .container hr,
 .contact-page hr{
    background: #e7e7e7;
    border-bottom: 0 !important;
    border: 0 !important;
    margin-bottom: 70px;
    margin-top: 50px;
}
.container.testimoninals_boxes .col-md-6 {
    margin-bottom: 70px;
}
.container.testimoninals_boxes hr,
.case-studies hr,
 .page-content-custom hr,
 .contact-page hr, .single-case_study .container hr{
	margin-top: 75px;
}
div#top_image {
    min-height: 748px;
    margin-bottom: 55px;
}

.big_image.small {
    height: 420px !important;
    min-height: auto;
    color: white;
    margin-bottom: 70px;
    margin-bottom: 0px;
}

.big_image.small:after { 
	top: 20% ;
    top: -5%;
	display: none;
}
.col-md-4 h3 {
    font-size: 20px;
/*     border-top: 2px solid #ce122e; */
    padding-top: 20px;
    color: #ce122e;
}
.services_boxes p { 
    padding-top: 15px;
    color:  #9D9D9D;;
}
.bg-secondary-light{
	background: #949494;
}

.big_image.small:before { 
	content: "";
	background: transparent !important;
}
.container.testimoninals_boxes p {
    font-size: 15px;
    color: #4E4E4E;
}
.test-box {
    padding: 0 8%;
    line-height: 1.2;
	position: relative;
	color: white;
}
.cs_image {
    min-height: 413px;
    margin-bottom: 65px;
	position: relative;
	color: white;box-shadow: inset 0 0 0 1000px rgb(0 0 0 / 50%);
}


#top_image h2  {
    position: absolute;
    bottom: 111px;
    left: 50px;
    color: white;
    font-size: 30px;
} 
.cs_image h2 {
    position: absolute;
    bottom: 111px;
    left: 30px;
    color: white;
    font-size: 30px;
}

body,input,p{
	color: #4E4E4E;
}
input.wpcf7-form-control.wpcf7-submit {
    background: #ce122e;
    color: white;
    width: 153px;
    padding: 18px;
    font-size: 10px;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
}
form label, form input{
	width: 100%;
}
form.wpcf7-form input, textarea {
    padding: 10px;
}
form input[type="text"],form input[type="email"], form textarea{
	border-radius: 0px !important;
	border: 1px solid #DCDCDC  !important;
}

form label span:nth-child(1){
	font-size: 10px;
	display: block;
	margin-bottom: 15px;
}

span.year {
    color: white;
    position: absolute;
    top: 40px;
    right: 55px;
    font-size: 50px;
	font-family: "oss";
}
div#top_image a  {
    position: absolute;
    bottom: 90px;
    left: 53px;
    color: white;
    border-bottom: 1px solid;
}
.cs_image a {
    position: absolute;
    bottom: 90px;
    left: 33px;
    color: white;
    border-bottom: 1px solid;
}
.cs_image a { 
    bottom: 40px; 
}

.cs_image h2 { 
    bottom: 60px; 
}

.case-study-wrap {
    padding-top: 70px;
}
.cs-image {
    min-height: 748px;
    width: 100%;
	margin-bottom: 75px;
}
.site-branding img {
    width: 115px;
    padding: 14px 0;
}

.case-study-wrap .row:nth-child(3) div div:nth-child(1) {
    color: #ce122e;
    font-family: "hb";
    font-size: 15px;
}
.case-study-wrap .col-md-8.offset-md-2 p:nth-child(2) {
    font-size: 15px;
    color: #ce122e;
    font-family: "hb";
}
.case-study-wrap .col-md-8.offset-md-2 p:nth-child(2) {
    font-size: 15px;
    color: #ce122e;
    font-family: "hb";
}
.case-study-wrap .col-md-8.offset-md-2 p:nth-child(2) span {
	color: gray;
}

.case-study-wrap .col-md-8.offset-md-2 p {
    color: #F2F2F2;
    font-size: 30px;
}

.case-study-wrap .col-md-8.offset-md-2   {
	margin-top: 45px;
	margin-bottom: 45px;
}
.case-study-wrap p{
	font-size: 28px;
	color: white;
	line-height: 35px;
}

.case-study-wrap .row:nth-child(3) div div:nth-child(2) {
    color: #F2F2F2; 
    font-size:  30px;
}
.case-study-wrap img {
    margin-top: 50px;
    margin-bottom: 50px;
}
.case-study-wrap .col-md-8 {
    margin-bottom: 48px;
}
.case-study-wrap h1 {
    color: #4E4E4E;
    font-size: 30px;
    margin-top: 0;
	font-family: "hb";
}
.main-navigation {
    padding-top: 25px;
}
.cs-image {
    margin-top: 60px;
}
.case-study-wrap .col-md-3:nth-child(1) {
    color: #ce122e;
    font-size: 15px;
    font-family: "hb";
}
.t-20{
	font-size: 20px;
}
.blue_box p{
	color: white;
/* 	font-family: "hm"; */
	font-size: 27px;
}

.hm a{
	font-family: "hm";
}

@media(max-width: 1200px){
	p.mb-0.text-right.t-white{
		text-align: left !important;
	}
	.h-100.d-flex.align-items-center.justify-content-end.pr-240 {
		justify-content: flex-start !important;
		padding-left: 40px;
	}
	.stat.t-blue.t-108.mb-30 {
		line-height: 1;
	}
	.big_image{
		margin-bottom: 270px;
	}
	#primary-menu > li > a{
		font-size: 1.75rem;
	}
	.t-108, .t108{
		font-size: 78px !important;
	}
	.pr-240{
		padding-right: 40px !important;
	}
	.big_image {
   	 min-height: 640px !important;
	}	 
	.services > .container .sst{
		font-size: 20px !important; 
	}
	div#top_image {
		min-height: 640px !important; 
	}
	body .mob-menu-header-holder {
    background-color: #fff;
	}
	body .mob-standard-logo {
		display: inline-block ;
		height: 41px !important;
		margin-top: 5px !important;
	}
} 
.page-template-page-Standard .cs {
    margin-bottom: 41px;
}
.case_studies .cs div {
	font-family: "hm"
}
.case_studies .cs div a{
    font-weight: normal;
}
.year{
	display: none;
}
.stretch{
	    max-width: 1530px;
}

.mt-110{
	margin-top: 110px;
}
.headline {
    width: 740px;  
    color: white;
    font-size: 54px;
    float: left;
	margin-top: 20px;
    line-height: 1.2;
    max-width: 100%;
}
.sub-menu li a{
	line-height: 1.3
}

.break {
  flex-basis: 100%;
  height: 0;
}
.blue_box span {
    font-size: 22px;
}
@media(max-width: 1200px){
	.blue_box span {
    font-size: 16px;
}
	.big_image {
    background-position: 70% 50% !important;
}
	.headline { 
	margin-bottom: 20px;
        font-size: 35px;
        max-width: 75%;
        margin-bottom: 60px;
	}
	.blue_box p{
		font-size: 24px;
	}
	.case-study-wrap h1 { 
    font-size: 24px; 
		margin-bottom: 0;
}
	#footer-menu li {
    display: block;
    float: none;
    width: 100%;
	margin-bottom: 20px;
}
	ul#footer-menu {
    display: block;
    float: none;
    width: 100%;
}
	
	.cs-image {
		min-height: 460px;
		width: 100%;
	}



	#top_image h2,.cs_image h2 { 
		font-size: 20px !important;
	}

	div#top_image {
    min-height: 460px !important;
    margin-bottom: 55px;
	}
	.big_image:after { 
		width: 75px;
		height: 75px; 
	}

	.big_image:before { 
		width: 75px;
		height: 75px; 
	}
	
	.big_image_content {
		position: absolute;
		bottom: 140px;
	}
	.blue_box a { 
		margin-top: 6px;
	}
	.blue_box h2 {
		font-size: 20px;
	}
	.blue_box{
		margin-bottom: -245px !important;
	} 
	.big_image { 
/* 		margin-bottom: 300px !important; */
   		 min-height: 460px !important;
	}	 
	.big_image.small { 
/* 		margin-bottom: 100px !important;  */
	}	 
}

body,input,a,p{
	font-family: "hn", sans-serif;
}

@media (max-width: 1200px){
body .mob-standard-logo { 
    float: left;
    margin-left: 20px;
}
}
span.line {
    margin-right: 12px;
}
@media only screen and (max-width: 1023px){
.mobmenur-container i { 
    font-size: 23px !important; 
}
}
@media only screen and (max-width: 1023px){
.mob-cancel-button {
    font-size: 23px !important; 
}
.copyright .col-md-6:nth-child(2) {
    text-align: left;
    padding-right: 30px;
}
	span.line{
		display:block;
		text-align: left;
	}
}


.single-case_study .row:nth-child(3) .col-md-2 {
    display: none;
}
.cs_image .year {
    display: none;
}
#colophon a:hover {
    color: #ce122e;
}
.page-id-3 .col-md-6 strong {
    color: #ce122e;
}
.page-id-16 .col-md-5 p {
    max-width: 380px;
}
.mobmenu [class^="mob-icon-"]:before, .mobmenu [class*=" mob-icon-"]:before{
	font-size: 23px;
}


.cs div a {
    border-bottom: 1px solid white;
    color: white;
    font-size: 1rem;
}
#mobmenuright li a, #mobmenuright li a:visited, #mobmenuright .mobmenu_content h2, #mobmenuright .mobmenu_content h3 {
    font-family: "hn", sans-serif !important; 
}


.quotes-carousel {
	font-weight: 500;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    background-color: #1C1C1C;
    min-height: 350px;
    padding: 85px 0;
    display: flex;
    align-items: center;
	margin-bottom: 100px;
    justify-content: center;
}

.quotes-container {
    width: 100%;
    max-width: 800px; /* Adjust this value as needed */
    margin: 0 auto;
}

.quote-slide {
    display: none;
    text-align: center;
}

.quote-slide.active {
    display: block;
}

.quote-content {
    padding: 0 60px; /* Add some padding for the arrows */
}

.main-text {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.blue-text {
    font-size: 16px !important;
    color: #ce122e !important;
    margin-bottom: 10px !important;
	font-family: "hm" !important;
	line-height: 16px !important;
}

.grey-text {
    font-size: 16px !important;
    color: #949494 !important;
    margin-bottom: 10px !important;
	font-family: "hm" !important;
	line-height: 16px !important;
}
.mw-460{
	width: 460px;
	max-width: 100%;
} 
.m-auto {
	margin: 0 auto;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ce122e;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
	border-radius: 100%;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
	background-image: url(https://ajs-electrics.co.uk/wp-content/uploads/2024/07/next.svg);
	background-size: 30%;
	background-position: center;
	background-repeat: no-repeat;
}

.prev-btn {
    left: 20px;
	background-image: url(https://ajs-electrics.co.uk//wp-content/uploads/2024/07/prev.svg); 
	background-position: 45% 51% !important;
}

.next-btn {
    right: 20px;
	background-position: 55% 51% !important;
}
.rel{
	position: relative;
} 

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 25px;
}
.reason-heading, .reason-text {
    max-width: 250px;
}
.hm{
	font-family: "hm";
}
.reason-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.reason-heading {
    min-height: 50px;
    display: flex;
    align-items: center;
	font-family: "hm";
}
.blue-text, .grey-text {
    line-height: 1.35 !important;
}
.reason-image {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.reason-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reason-heading {
    font-size: 20px;
    margin-bottom: 20px;
}

.reason-text {
    font-size: 16px;
    margin-bottom: 40px;
}

@media screen and (max-width: 1200px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1199px) {
	.stat.mb-30{
		margin-bottom: 0;
	}
	.big_image:after,
.service_pos:before { 
    width: 75px;
    height: 75px; 
}

.big_image:before { 
    width: 75px;
    height: 75px; 
}
	
	
    .quotes-carousel {
        padding: 60px 0; /* Slightly reduced padding */
    }

    .quote-content {
        padding: 0 50px; /* Slightly reduced side padding */
    }

    .main-text {
        font-size: 24px; /* Reduced from 28px */
        margin-bottom: 15px; /* Slightly reduced margin */
    }

    .blue-text,
    .grey-text {
        font-size: 14px; /* Reduced from 16px */
        margin-bottom: 8px; /* Slightly reduced margin */
		
    }

    .prev-btn,
    .next-btn {
        width: 35px; /* Slightly smaller buttons */
        height: 35px;
        font-size: 18px; /* Slightly smaller arrow */
    }
}



.quote-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.quote-slide.active {
    display: block;
    opacity: 1;
}


.learn-more{
	color: #555 !important;
	font-family: "hm";
	display: inline-block;
	font-size: 22px;
	border-bottom: 2px solid;
}
.t-16{
	font-size: 16px;
}

.lh-16{
	line-height: 16px;
}
.lh-18{
	line-height: 18px;
}
.lh-1_3{
	line-height: 1.3;
}
.bb-1-white{
	border-bottom: 1px solid white;	
}

.pt-150{
	padding-top:150px;
}
.pb-150{
	padding-bottom:150px;
}
.mb-150{
	margin-bottom: 150px;
}
.page-template-page-Standard p.main-text {
    max-width: 490px;
    margin: 0 auto;
}

.t-108,.t108{
	font-size: 108px;
}
.t-blue{
	color: #ce122e
}

.toggled .hamburger-line{
	background-color: #ce122e !important;
}

.t-28{
	font-size: 28px;
}
.t-16{
	font-size: 16px;
}

.mb-40{
	margin-bottom: 40px;
}

.mb-30{
	margin-bottom: 30px;
}
.bg-lightblue{
	background: #ce122e;
} 

.main-navigation ul .sub-menu,
.sub-menu {
    display: none;
}

.t-lightblue{
	color: #ce122e;
}

.d-ib{
	display: inline-block;
}

.t-1c{
	color: #1c1c1c;
}
.bg-1c{
	background: #1c1c1c;
}

.t-right{
	text-align: right;
}

 .bb{
	 display: inline-block;
	border-bottom: 1px solid;
}

.t-blue{
	color: #ce122e;
}

.mb-n110 {
    margin-bottom: -110px !important;
}
.mb-n190 {
    margin-bottom: -190px !important;
}
.pb-150{
	padding-bottom: 150px;
}
.bg-secondary{
	background: #4c4c4c !important;
}

.pr-240{
	padding-right: 240px;
}

.pt-150{
	padding-top: 150px;
}

.services-header{ 
	color: white;
}

.services-header h1,
.big_image{
	font-size: 40px;
	color: white;
}

.lh-23{
	line-height: 23px;
}
.t-15{
	font-size: 15px;
}

.services-header h2,
.services-header h2 p{
	font-size: 22px;
	line-height: 1.4;
	color: white !important;
}ul, ol {
    margin: 0 0 3em;
}

.pb-70{
	padding-bottom: 70px;
}

.pt-100{
	padding-top: 100px;
}

.pb-100{
	padding-bottom: 100px;
}
.pt-50{
	padding-top: 50px;
}

.t-hm{
	font-family: "hm"
}
@media(min-width:1200px){
	
.case-study-wrap .col-md-7 {
    max-width: 72% !important;
    flex: 0 0 72%;
}
	.d-pl-20{
		padding-left: 20px;
	}
	.d-pr-20{
		padding-right: 20px;
	}
	.d-pl-40{
		padding-left: 40px;
	}
	.d-pr-40{
		padding-right: 40px;
	}
}
.t-center{
	text-align: center;
} 
.t-30{
	font-size: 30px;
} 
.t-grey{
	color: #555
}
.mt-100{
	margin-top: 100px;
}
.bg-secondary a{
	color: #ce122e;
	font-family: "hm"
}
.bg-lightblue a{ 
	font-family: "hm"
}
.t-white,
.t-white p{
	color: white !important;
}
 

#content .bg-lightblue a{
	color: white;
	display: inline-block;
	border-bottom: 1px solid white;
}

.t-20{
	font-size: 20px;
}
.pt-50{
	padding-top: 50px;
}

.pb-50{
	padding-bottom: 50px;
}

.footer-title{
	margin: 50px 0;
	display: block;
	font-size: 20px;
}
.accreditations-carousel {
    margin: 0 auto;
    max-width: 100%;
}

.accreditation-item,
.client-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 80px; /* Adjust this value to give some vertical space around the logos */
}

.client-item {
   padding: 0 25px !important;	
}
.row.service-images img {
    width: 100%;
    margin-bottom: 0;
}
.accreditation-logo {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}
.bg-light {
    background-color: #d5d5d5 !important;
} 






.contact-page a[href^="tel"] {
    color: inherit;
    text-decoration: none !important;
	border-bottom: 0;
	font-family: "hn";
}

.case-study-wrap .row:nth-child(3) div div:nth-child(1) {
    color: #ce122e;
    font-size: 20px;
    font-family: 'hb';
    margin-bottom: 20px;
}

.case-study-wrap .quotes-carousel{
	margin-bottom: 0;
	margin-top: 20px;
} 
.main-navigation ul ul{
	box-shadow: 0 0 !Important;
}
iframe {
    margin-bottom: 40px;
}
@media screen and (max-width: 1199px) {
	.stats .row > .col-lg-3 {
    margin-bottom: 40px !important;
}
	.countup {
    line-height: 1;
}
	.main-navigation .menu-item a{
		padding: 0 20px;
	}
	.special-3 *{
		text-align: left; 
	}
	.special-3{
		margin-top: 80px;
		margin-bottom: 20px;
	}
	.case-study-wrap.black-half-bg{
		padding-top: 0;
	}
	.col-md-12 > .cs-image{
		margin-top: 0;
	}
.d-only{
	display: none;
}
	#primary-menu > li.menu-item{
		border-bottom: 1px solid gray;
		margin-bottom: 10px;
	}
	#primary-menu > li:nth-last-child(1).menu-item,
	#primary-menu > li:nth-child(2).menu-item{
		border-bottom: 0px solid gray;
		margin-bottom: 0px;
	}
	#primary-menu > li:nth-child(3).menu-item{
		border-top: 1px solid gray; 
		padding-top: 10px;
	}

    .menu-toggle {
        display: block;
    }
	.main-navigation a{
		text-align: left;
		color: #ce122e !important;
		font-family: "hn";
	}
	.main-navigation .sub-meny a{
		text-align: left;
		font-family: "hn";
		color: #fff !important;
	}
	.main-navigation .menu-item a {
		transition: all 0.2s ease;
		width: 100%;
		font-family: "hn";
	}
    .main-navigation ul {
        display: none;
			text-align: center;
    }
	    li#menu-item-24 .sub-menu {
        position: static;
			opacity: 1!important;
        display: block !important;
        background: #fff;
        text-align: left;
        width: 100%; 
        max-width: none;
		background: #323334;
		color: white;
    }

    li#menu-item-24:hover .sub-menu {
        display: block !important;
		margin:  0px 0;
    }

    li#menu-item-24 .sub-menu a {
        display: block;
		color: inherit !important; 
        margin-bottom: 10px !important;
        max-width: none;
		font-family: "hn";
		font-size: 14px;
    }
	.sub-menu li, .menu li{
		clear:both;
		display: block;
		float:none; 
		font-size: 26px;
		width: 100%;
	}
	.sub-menu li a, .menu li a{ 
		margin-bottom: 10px; font-size: 18px;
        font-family: "hm";
	}
	.toggled .menu-main-container {
		position: fixed;
		left: 0;
		right: 0;
		background: #323334;
		color: white;
		bottom: 0;
		top: 0;
		padding: 0px;
		z-index: 9;
/* 		display: flex;  */
		padding-top: 62px;
	}
	button.menu-close-button {
		z-index: 999;
		position: fixed;
		top: 30px;
		right: 40px;
		background: transparent;
		border: 0;
		font-size: 40px;
		padding: 0 10px;
		cursor: pointer;
		display: none;
	}
	.toggled button.menu-close-button {
		display: block
	}
}

@media screen and (min-width: 1200px) {
	button.menu-close-button {
		display: none;
	}
	
	li#menu-item-24 .sub-menu{
		opacity: 1 !important;
	}
	li#menu-item-24 .sub-menu {
		position: fixed;
		left: 0;
		top: 148px;
		right: 0;  
		background: #ce122e;
		text-align: center;
		width: 100%;
		max-width: 100%;
		align-items: center;
		justify-content: center;
			flex-wrap: wrap;
	}
	li#menu-item-24:hover .sub-menu {
		display: flex  !important;
	}
	li#menu-item-24 .sub-menu li{
		flex-grow:1;
		max-width: 161px;
	}
	li#menu-item-24 .sub-menu a{
		color: white !important; 
		font-size: 16px;
		padding: 45px 0;
		margin: 0 !important;
		max-width: 136px;
		margin: 0 10px !important;
	}
	li#menu-item-24 .sub-menu li:nth-child(1) a{
		margin-left: 0  !important;
	}
	li#menu-item-24 .sub-menu li:nth-last-child(1) a{
		margin-right: 0  !important;
	}
	li#menu-item-24 .sub-menu li:nth-last-child(1){
		flex-grow:0;
		flex-shrink: 1;
		margin-left: 25px;
	}
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: block;
    }
} 
.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: none; /* Hide by default, show only on mobile */
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; /* Adjust color as needed */
    margin: 5px 0;
    transition: all 0.3s ease;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
p.blue-text {
    margin-top: 15px;
}
.cs_image h2 {
    max-width: 91%;
}
/* Show menu toggle on mobile */
@media screen and (max-width: 1200px) {
	
	.page-template-page-Contact .big_image,
	.page-template-page-Standard  .big_image{
		box-shadow: inset 0 0 0 1000px rgb(0 0 0 / 35%); 
	}
    .menu-toggle {
        display: block;
    }
}
/* Show menu toggle on mobile */
@media screen and (max-width: 768px) {
	.bg-secondary.text-white.pt-50.pb-70.mb-n110.t-20.t-white .col {
		padding-left: 38px;
	}
	
	.big_image .pt-150{
		padding-top: 50px;
	}
}



button.menu-toggle {
    position: absolute;
    z-index: 99;
    top: 8px;
    right: 35px;
	outline: 0 !important;
}
/* Optional: Animate to 'X' when menu is open */
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
form label span:nth-child(1) {
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
    font-family: "hm";
}
