@import url("base.css");

:root {
  --body-color: #022b44 !important;
  --body-font-size: 16px !important;

  --cassiopeia-color-primary: #022b44 !important;
  --cassiopeia-color-secondary: #022b44 !important;
  --cassiopeia-color-link: #79bf1a !important;
  --link-color: #79bf1a;
  --cassiopeia-color-hover: #79bf1a !important;
  --link-hover-color: #79bf1a;

  --cassiopeia-font-family-body: "Poppins", sans-serif !important;
  --cassiopeia-font-weight-normal: 300 !important;
  --cassiopeia-font-family-headings: "Roboto Condensed", sans-serif !important;
  --cassiopeia-font-weight-headings: 600 !important;

  --wadebridge-computers-green: #79bf1a;
}


/* HTML TAGS/GENERIC CLASSES */

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: underline !important;
}

iframe {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 15px 0;
}

h1 {
  font-size: 32px;
  line-height: 36px;
}

h2 {
  font-size: 28px;
  line-height: 32px;
}

h3 {
  font-size: 22px;
  line-height: 24px;
}

.btn, .cf-btn {
  background-color: var(--wadebridge-computers-green) !important;
  border: 1px solid var(--wadebridge-computers-green) !important;
  color: white !important;
  text-transform: uppercase;
  font-weight: 400;
}

.btn:hover, .cf-btn:hover {
  background-color: white !important;
  border: 1px solid var(--wadebridge-computers-green) !important;
  color: var(--wadebridge-computers-green) !important;
  text-decoration: none !important;
}

/* NAVBAR */

header.container-header {
  background: none;
}

header.container-header.add-background {
  background-color: white;
  left: 0;
  margin: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 12;
  background-image: url(../images/header-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

header.container-header.add-background::after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(2, 43, 68, 0.8);
  position: absolute;
  z-index: 1;
  top: 0;
}

header.container-header > * {
  position: relative;
  z-index: 2;
}

header.container-header .container-menuwrap .brand-logo img {
  max-width: 220px;
}

header.container-header .container-menuwrap li.active a {
  color: var(--wadebridge-computers-green) !important;
}

header .container-menuwrap .container-nav li img {
  width: 32px;
}

/* TOP BANNER */

.container-banner {
  position: relative;
  max-width: 100%;
}

.container-banner svg {
  position: absolute;
  bottom: -2px;
  z-index: 2;
  max-width: 100%;
  height: fit-content;
}

.container-banner .topbannerswish .mod-custom {
  max-width: 100% !important;
  padding: 80px !important;
  padding-bottom: 10px !important;
  margin: 0 !important;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  text-align: center;
}

/* .container-banner::after {
content: "";
background-image: url(../images/swish.svg);
background-size: 100% auto;
background-repeat: no-repeat;
display: block;
width: 100%;
height: 200px;
position: absolute;
z-index: 1;
top: 325px;
} */

.container-banner .topbannerswish .mod-custom::after {
  content: "";
  background: rgba(2, 43, 68, 0.8);
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.container-banner .topbannerswish .mod-custom > * {
  position: relative;
  z-index: 3;
}

.container-banner .topbannerswish .mod-custom .wf-columns {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  margin-top: 60px;
}

/* BODY */

body:not(.has-sidebar-left) .site-grid .container-component {
  grid-column-start: full-start;
}

body:not(.has-sidebar-right) .site-grid .container-component {
  grid-column-end: full-end;
}

main {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

body.homepage > .site-grid {
  margin-top: -107px;
}

.site-grid .container-component.grid-child {
  background-image: url(../images/triangles-top-2.svg);
  background-color: white;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 300px auto;
}

.slideinanimation .wf-column,
.blog .items-row > div {
  transition: all 0.6s ease-in-out;
  transform: translateY(20px);
  opacity: 0;
}

.blog .blog-items .blog-item {
  display: flex;
  background: none;
}

.blog .blog-items .blog-item figure {
  max-width: 250px;
  width: 100%;
  align-self: top;
}

.cf.convertforms {
  background: none !important;
}

/* BOTTOM BANNER */

.repairbanner {
  padding-bottom: 20px;
  background-image: url(../images/triangles-bottom.svg);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 500px auto;
  text-align: center;
}

.repairbanner .mod-custom {
  display: flex;
  justify-content: center;
}

.repairbanner .mod-custom .wf-columns {
  max-width: 1320px;
  width: 100%;
}

.repairbanner .mod-custom .wf-columns .wf-column {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 23%;
}

.repairbanner .mod-custom .wf-columns .wf-column:not(:last-child) {
  border-right: 3px solid #022b44;
}

.repairbanner .mod-custom .wf-columns .wf-column img {
  max-width: 150px;
  width: 100%;
  transition: ease-in-out all .5s;
}

.repairbanner .mod-custom .wf-columns .wf-column:hover img {
  max-width: 155px;
}

.repairbanner .mod-custom .wf-columns .wf-column:hover h3 {
  margin-top: -10px;
}

.repairbanner .mod-custom .wf-columns .wf-column h3 {
  transition: ease-in-out all .5s;
  margin: 0;
}

.repairbanner .mod-custom .wf-columns .wf-column h3 a {
  color: var(--wadebridge-computers-green);
  text-decoration: none !important;
}

.repairbanner .mod-custom .wf-columns .wf-column a:hover {
  text-decoration: underline !important;
}

.opening-times-banner .mod-custom {
  padding: 50px 0;
  text-align: center;
  color: white;
}

.opening-times-banner .mod-custom::after {
  position: absolute;
  content: "";
  background-color: rgba(2, 43, 68, 0.8);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.opening-times-banner .mod-custom > * {
  position: relative;
  z-index: 2;
}

/* FOOTER */

footer.container-footer {
  padding-bottom: 10px;
  border-top: 10px solid #ffffff;
  background-image: url(../images/triangles-footer.svg);
  background-repeat: no-repeat;
  background-size: 700px;
}

footer.container-footer a {
  color: white !important;
}

footer.container-footer a:hover {
  color: white !important;
}

/* RESPONSIVE DESIGN */

.container-header .navbar-collapse {
  top: 91px;
}

@media (max-width: 992px) {
  body.homepage > .site-grid {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .repairbanner .mod-custom .wf-columns .wf-column {
    width: 48%;
  }

  .repairbanner .mod-custom .wf-columns .wf-column:nth-child(2),
  .repairbanner .mod-custom .wf-columns .wf-column:nth-child(4) {
    border-right: none !important;
  }

  .blog-items[class*=" columns-"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  footer.container-footer {
    background-image: none !important;
  }
}

@media (max-width: 600px) {
  .blog .blog-items .blog-item {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .repairbanner .mod-custom .wf-columns .wf-column {
    border-right: none !important;
  }
}