/*
Theme Name: Carvill Johson
Author: JE Consulting
Author URI: https://www.je-consulting.co.uk/
Version: 1.0.0
*/ :root {
  --textcolour: #252839;
  --white: #FFFFFF;
  --purple: #99349a;
  --pink: #F85858;
  --yellow: #FFDD00;
  --lightgrey: #EAEAEA;
  --grey: #5D5D5D;
  --blac: #000000;
  --darkblue: #0E3558;
  --blue: #185C9A;
  --lightblue: #00BBD3;
  --orange: #cc6600;
  --green: #1ca480;
}
.text-white {
  color: var(--white);
}
.text-lightblue {
  color: var(--lightblue);
}
.text-blue {
  color: var(--blue);
}
.text-darkblue {
  color: var(--darkblue);
}
.link-btn {
  padding: 15px;
  background: var(--blue);
  color: var(--white);
  border-radius: 5px;
}
.link-btn:hover {
  background: var(--lightblue);
  color: var(--white);
}
/* =========== header =============*/
#header-main {
  display: grid;
  grid-template-columns: 37% 63%;
  gap: 70px;
  padding: 30px 0 0 0;
}
#header-right {
  display: grid;
  grid-template-columns: 100%;
  margin-bottom: -2px;
  z-index: 999 !important;
}
.container-header {
  border-bottom: 2px solid var(--blue);
  background-color: var(--white);
}
.contact-info {
  margin-left: 200px;
  width: 800px;
  color: var(--blue);
  font-size: 18px;
  font-weight: normal;
}
.contact-info a {
  font-size: 18px;
  font-weight: 400;
}
.contact-info .mail, .contact-info .phone {
  float: left;
  width: 45%;
  display: flex;
  align-items: center;
}
.nav-menu {
  display: block;
  width: 100%;
  float: left;
  background: var(--blue);
  margin-top: 2%;
  right: -30px;
  height: 45px;
  -webkit-transform: skew(-40deg);
  -khtml-transform: skew(-40deg);
  -moz-transform: sskew(-40deg);
  -ms-transform: skew(-40deg);
  position: relative;
}
.menu-main-container, .mobile-menu {
  position: relative;
  right: -40px;
  transform: skew(40deg);
  -webkit-transform: skew(40deg);
  -khtml-transform: skew(40deg);
  -moz-transform: skew(40deg);
  -ms-transform: skew(40deg);
}
.mobile-menu {
  display: none;
}
.menu > li {
  list-style: none;
  position: relative;
  margin: 0 auto;
  float: left;
}
.menu a {
  color: var(--white);
  font-weight: 500;
  padding: 1px 16px;
}
.menu a:hover {
  color: var(--lightblue);
}
.menu > li:not(:last-child) > a {
  border-right: 2px solid var(--white);
}
.sub-menu ul {
  /*  display: none;*/
  visibility: hidden;
  opacity: 0;
  /* delay of 0.2 second/s on hover off */
  /*  transition: visibility 0.2s;*/
  transition: opacity 0.5s; /* delay of 0.5 second/s on hover off */
  position: absolute;
  width: 11vw;
  top: 30px;
  background-color: var(--blue);
  padding: 0;
  /*  z-index: 999999 !important;*/
}
.sub-menu li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 10px 0px;
  border-bottom: 1px solid var(--white);
}
.sub-menu li:last-child {
  border: none;
}
.sub-menu.chevron > a::after {
  color: var(--white);
  content: url(img/submenu-off.gif);
  padding-left: 5px;
}
.sub-menu ul ul {
  left: 165px;
  top: 0;
}
.sub-menu:hover > ul {
  /*  display: block;*/
  visibility: visible;
  /* react immediately on hover */
  /*  transition-delay: 0s;*/
  opacity: 1;
}
.sub-menu > ul::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 26px;
  top: -10px;
  left: 0;
}
/* =========== header ends ==========*/
/* ============= footer =============*/
#footer {
  background-color: var(--darkblue);
  border-top: 5px solid var(--lightblue);
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-item {
  padding: 40px 0px;
}
.footer-item h3 {
  font-size: 18px !important;
  color: var(--white);
  font-weight: bold;
}
.footer-item h3 span {
  border-bottom: 4px solid var(--lightblue);
  padding-bottom: 8px;
  line-height: 45px;
}
.footer-item:not(:last-child) .item-desc {
  border-right: 1px solid var(--grey);
  padding-right: 20px;
  min-height: 330px;
}
.footer-item .item-desc p, .footer-item .item-desc a {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
}
.footer-item .item-desc a:hover {
  color: var(--lightblue);
}
.footer-bottom {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 100%;
}
.footer-bottom #footer-links {
  display: block;
  width: 1000%;
  background: var(--blue);
  right: -30vw;
  min-height: 35px;
  overflow: hidden;
  padding-bottom: 10px;
  -webkit-transform: skew(-40deg);
  -khtml-transform: skew(-40deg);
  -moz-transform: sskew(-40deg);
  -ms-transform: skew(-40deg);
  position: relative;
  white-space: nowrap;
}
.footer-bottom #footer-links > div {
  position: relative;
  right: -2vw;
  top: 35%;
  transform: skew(40deg);
  -webkit-transform: skew(40deg);
  -khtml-transform: skew(40deg);
  -moz-transform: skew(40deg);
  -ms-transform: skew(40deg);
  display: inline-block;
}
.footer-bottom span, .footer-bottom a {
  color: var(--white);
  font-weight: 500;
  font-size: 1.0vw;
}
.footer-bottom span {
  padding: 0 5px;
}
.footer-bottom a:hover {
  color: var(--lightblue);
}
/* =========== footer ends ==========*/
/* ========== testimonials ========= */
.wptww-testimonials-text > p {
  padding: 10px 0px;
}
.bottom-quote {
  margin-top: -50px;
}
.wptww-testimonial-content h4, .wptww-testimonial-content i {
  display: none;
}
.wptww-testimonials-text em::before, .wptww-testimonials-text em::after {
  color: var(--purple);
  content: '';
}
/* ======= testimonial ends ======= */
/* =========== inner page ==========*/
#breadcrumbs a {
  font-weight: 600;
}
#breadcrumbs a:hover {
  color: var(--lightblue);
}
.page-banner {
  background: var(--lightgrey);
  border-bottom: 2px solid var(--blue);
}
.page-banner .container {
  display: grid;
  grid-template-columns: 35% 65%;
  column-gap: 30px;
}
.innerpage-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.innerpage-title h1 {
  color: var(--blue);
  font-size: 35px;
  font-weight: 600;
}
.page-bread-crumbs a, .page-bread-crumbs span {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.innerpage-img {
  margin-bottom: -3px;
  text-align: center;
}
.innerpage-img img {
  width: 75%;
}
.page-wrap {
  padding: 100px 0;
}
.page-wrap .inner-content {
  display: grid;
  grid-template-columns: 75% 20%;
  column-gap: 5%;
}
.related-links h3 {
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  padding-bottom: 15px;
}
.related-links span {
  border-bottom: 4px solid var(--lightblue);
  padding-bottom: 8px;
}
.related-links ul {
  padding: 0;
}
.related-links ul li {
  list-style: none;
  margin: 0;
}
.related-links ul li a {
  display: block;
  border-bottom: 1px dotted var(--blue);
  font-weight: 500;
  padding: 5px;
}
.related-links ul li:hover > a {
  background: var(--blue);
  color: var(--white);
}
.blue {
  color: var(--blue);
}
.light-blue {
  color: var(--lightblue);
}
hr {
  border-color: var(--lightblue);
  border-style: solid none none;
  border-width: 1px 0 0;
  height: 0;
  margin: 10px 0;
}
.page-wrap .vc_tta-color-blue.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading {
  border-color: var(--blue);
  background-color: var(--blue);
}
.page-wrap .vc_tta-color-blue.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading:focus, .page-wrap .vc_tta-color-blue.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading:hover {
  border-color: var(--lightblue);
  background-color: var(--lightblue);
}
.page-wrap .vc_tta-shape-rounded.vc_tta-o-shape-group:not(.vc_tta-o-no-fill) .vc_tta-panel:not(:first-child):not(:last-child) .vc_tta-panel-heading, .page-wrap .vc_tta.vc_tta-shape-rounded .vc_tta-panel-body, .vc_tta.vc_tta-shape-rounded .vc_tta-panel-heading, .page-wrap .vc_tta-shape-rounded.vc_tta-o-shape-group:not(.vc_tta-o-no-fill) .vc_tta-panel:first-child:not(:last-child) .vc_tta-panel-body, .page-wrap .vc_tta-shape-rounded.vc_tta-o-shape-group:not(.vc_tta-o-no-fill) .vc_tta-panel:first-child:not(:last-child) .vc_tta-panel-heading, .page-wrap .vc_tta-shape-rounded.vc_tta-o-shape-group:not(.vc_tta-o-no-fill) .vc_tta-panel:last-child:not(:first-child) .vc_tta-panel-body, .page-wrap .vc_tta-shape-rounded.vc_tta-o-shape-group:not(.vc_tta-o-no-fill) .vc_tta-panel:last-child:not(:first-child) .vc_tta-panel-heading {
  border-radius: 5px;
}
.Additional-Link {
  margin-bottom: 10px;
}
.HomeBanner {
  background-color: var(--lightgrey);
}
.HomeBannerSlide {
  display: grid;
  grid-template-columns: 30% 60%;
  gap: 10%;
}
.HB-ImgInner::before, .HB-ImgInner::after {
  content: "";
  display: block;
  width: 85px;
  height: 100%;
  top: 0;
  position: absolute;
}
.HB-ImgInner::after {
  background-image: linear-gradient(to left top, var(--lightgrey) 0%, var(--lightgrey) 50%, transparent 50%);
  right: 0;
}
.HB-ImgInner::before {
  background-image: linear-gradient(to right bottom, var(--lightgrey) 0%, var(--lightgrey) 50%, transparent 50%);
  left: 0;
}
.HB-ImgInner {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.HomeBannerText {
  padding: 50px 0;
}
.HB-ButtonWrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.HB-ButtonWrap a {
  background-color: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 13px 20px;
  font-weight: 400;
}
.HB-ButtonWrap a:hover {
  opacity: .6;
}
.HomeBannerText p {
  font-size: 18px;
}
.HomeBannerText h2 {
  font-size: 40px;
  color: var(--purple);
}
.HomeBannerWrap .slick-dots li button::before {
  font-family: unset;
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  content: '';
  text-align: center;
  opacity: 1;
  background-color: var(--grey);
  border-radius: 50px;
  border: 2px solid var(--lightgrey);
  transition: all .5s ease-in-out;
}
.HomeBannerWrap .slick-dots li button:hover::before, .HomeBannerWrap .slick-dots li.slick-active button:before {
  opacity: 1;
  border-color: var(--black);
  background-color: var(--lightgrey);
}
.HomeBannerWrap .slick-dots {
  bottom: 15px;
}
.HomeBannerWrap.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.HomeWhyBox h2, .HomeWhyBox h3, .HomeWhyBox h4, .HomeWhyBox h5, .HomeWhyBox h6, .HomeWhyBox p, .HomeWhyBox li {
  color: var(--purple);
}
.HomeWhyBox ul {
  padding-left: 40px;
}
.HomeWhyBox li {
  font-size: 18px;
  line-height: 40px;
  list-style-type: none;
  position: relative;
}
.HomeWhyBox li::before {
  background-image: url(img/quote-li.png);
  content: "";
  width: 21px;
  height: 21px;
  display: block;
  position: absolute;
  left: -30px;
  top: 9px;
}
.HomeIconWrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}
.HomeIconWrap .HomeIcon {
  display: block;
  position: relative;
  background-color: transparent;
  border: 3px solid;
  border-radius: 50%;
}
.HomeIconWrap .HomeIcon::before {
  padding-bottom: 100%;
  content: "";
  display: block;
}
.HomeIconInner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.HomeIcon.PurpleIcon {
  border-color: var(--purple);
}
.HomeIcon.BlueIcon {
  border-color: var(--lightblue);
}
.HomeIcon.YellowIcon {
  border-color: var(--yellow);
}
.HomeIcon.OrangeIcon {
  border-color: var(--orange);
}
.HomeIcon.GreenIcon {
  border-color: var(--green);
}
.HomeIcon.PinkIcon {
  border-color: var(--pink);
}
.HomeIcon i {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--textcolour);
}
.HomeIconInner p {
  font-weight: 600;
  line-height: 1.2em;
  transition: all .5s ease-in-out;
}
.HomeIcon.PurpleIcon:hover {
  background-color: var(--purple);
}
.HomeIcon.BlueIcon:hover {
  background-color: var(--lightblue);
}
.HomeIcon.YellowIcon:hover {
  background-color: var(--yellow);
}
.HomeIcon.OrangeIcon:hover {
  background-color: var(--orange);
}
.HomeIcon.GreenIcon:hover {
  background-color: var(--green);
}
.HomeIcon.PinkIcon:hover {
  background-color: var(--pink);
}
.HomeIcon:hover p, .HomeIcon:hover i {
  color: var(--white);
}
#styled-select select {
  background: url(img/new-arrow.png) no-repeat right var(--lightgrey);
  width: 100%;
  float: left;
  font-size: 15px;
  color: var(--grey);
  line-height: 1;
  border: 0;
  border-radius: 0;
  padding-left: 5px;
  padding-top: 1px;
  height: 32px;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  overflow: hidden;
  text-indent: 0.01px;
  text-overflow: "";
  margin-bottom: 20px;
}
#wp-search input[type="text"], input[type="text"] {
  width: 75%;
  padding: 4px 10px;
  height: 35px;
  line-height: 20px;
  color: var(--grey);
  background-color: var(--white);
  margin: 0;
  border: 1px solid var(--lightgrey);
  border-radius: 3px;
}
#wp-search input[type="submit"], input[type="submit"] {
  width: 22%;
  border-radius: 3px;
  margin-left: 5px;
  margin-bottom: 0;
  padding: 9px 5px;
  background: var(--lightblue);
  border: 0;
  color: var(--white);
  font-size: 14px;
  appearance: none !important;
  cursor: pointer;
  display: inline-block;
}
/* ====== inner page ends ====== */
/* ======== pricing tables ======== */
.pricing-table {
  overflow: auto;
}
.pricing-table table th {
  background-color: var(--blue);
}
.pricing-table table th, table td {
  padding: 10px;
  border: 1px solid var(--lightgrey);
}
/* ====== pricing table ends ====== */
/* ============ Gravity Form ============ */
#gform_submit_button_1 {
  background: var(--lightblue);
  border: 0px;
  color: var(--white);
  padding: 10px 20px !important;
  border-radius: 5px;
  width: 200px;
}
#gform_submit_button_1:hover {
  background: var(--blue);
}
.gform_title {
  font-size: 25px;
}
.ginput_container {
  margin-bottom: -20px !important;
}
.gfield.gfield--type-captcha {
  margin-top: -30px;
  margin-bottom: 10px !important;
}
/* ========= Gravity Form ends ========= */
/* ======== different screen sizes ======== */
@media only screen and (min-width : 1650px) {
  .footer-bottom span, .footer-bottom a {
    font-size: 0.8vw;
  }
}
@media only screen and (max-width : 1650px) {
/*
  .sub-menu ul {
    width: 135px;
  }
*/
  .sub-menu ul ul {
    left: 125px;
  }
  .sub-menu ul li {
    font-size: 12px;
  }
}
/* Screen 1400px */
@media only screen and (max-width:1400px) {
  #header-main {
    grid-template-columns: 30% 70%;
  }
  .menu-main-container {
    right: 0;
  }
  .menu-main-container {
    display: none;
  }
  /* this class is only to toggle the mobile responsive menu from JQuery */
  .expand-menu {
    display: block !important;
    margin-left: 2px;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu span::before {
    content: "\f0c9";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #FFFFFF;
    font-size: 21px;
    padding-right: 10px;
  }
  .mobile-menu span {
    color: var(--white);
    font-size: 20px;
    line-height: 45px;
    cursor: pointer;
  }
  ul#menu-main {
    background-color: var(--blue);
    float: right;
    width: 100%;
    margin-top: 0px;
  }
  .menu > li {
    float: none;
  }
  .menu > li:not(:last-child) > a {
    border-right: none;
  }
  .menu-item > a {
    display: block;
    border-bottom: 1px solid var(--white);
    padding: 10px 30px;
  }
  .sub-menu ul {
    visibility: visible;
    opacity: 1;
    position: static;
    width: 100%;
  }
  .sub-menu li {
    border: none;
    padding: 0px;
  }
  .sub-menu li a {
    padding-left: 60px;
  }
  .sub-menu.chevron > a::after {
    content: '';
  }
  #menu-item-582 a {
    border-bottom: none;
  }
  .footer-bottom span, .footer-bottom a {
    font-size: 1.1vw;
  }
}
/* Screen 1200px */
@media only screen and (max-width:1200px) {
  #header-main {
    gap: 30px;
  }
  #header-left img {
    width: 80%;
    margin-top: 10px;
  }
  .footer-bottom span, .footer-bottom a {
    font-size: 1.2vw;
  }
}
/* Screen 1100px */
@media only screen and (max-width:1100px) {
  #header-main {
    gap: 0px;
  }
  #header-left {
    text-align: left;
    padding-left: 20px;
  }
  #header-left img {
    width: 80%;
    margin-top: 10px;
  }
  .contact-info {
    margin-left: 78px;
    width: 100%;
  }
  .contact-info .mail {
    width: 55%;
  }
  .contact-info .phone {
    width: 30%;
  }
  .nav-menu {
    right: -20px;
  }
  ul#menu-main {
    padding: 0px;
  }
  #wp-search input[type="text"] {
    width: 74%;
  }
}
/* Tablet Landscape */
@media only screen and (max-width:1024px) {
  .HomeIconWrap {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    width: 70%;
  }
  .HomeIconWrap .HomeIcon {
    width: 75%;
  }
}
/* Tablet Portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  .HomeBannerSlide, .page-banner .container {
    grid-template-columns: 50% 40%;
  }
  .HomeIconWrap {
    width: 90%;
  }
  .innerpage-img img {
    width: 100%;
  }
  .page-wrap .inner-content {
    grid-template-columns: 100%;
    gap: 50px;
  }
}
/* iPhone 6 Landscape */
@media only screen and (min-device-width : 375px) and (max-device-width : 907px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
  .HomeBannerSlide, .page-banner .container {
    grid-template-columns: 50% 40%;
  }
  .HomeIconWrap {
    width: 90%;
  }
  .innerpage-img img {
    width: 100%;
  }
  .page-wrap .inner-content {
    grid-template-columns: 100%;
    gap: 50px;
  }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 870px) {
	
  #wp-search input[type="text"] {
    width: 68%;
  }
  #wp-search input[type="submit"] {
    width: 27%;
  }
}
/*Phone Portrait*/
@media only screen and (max-width:812px) {
  #header-main {
    grid-template-columns: 42% 58%;
  }
  #header-left img {
    width: 100%;
    padding-bottom: 20px;
  }
  .contact-info .mail, .contact-info .phone {
    width: 100%;
    padding-bottom: 20px;
    margin-top: 10px;
  }
  .HomeBannerSlide, .page-banner .container {
    grid-template-columns: 50% 40%;
  }
  .HomeIconWrap {
    width: 100%;
  }
  .innerpage-img img {
    width: 100%;
  }
  .innerpage-title h1 {
    font-size: 30px;
  }
  .page-wrap .inner-content {
    grid-template-columns: 100%;
    gap: 50px;
  }
}
/*Smaller Size Portrait*/
@media only screen and (max-width:700px) {
  #rmp_menu_trigger-791 {
    top: 145px;
    right: 3%;
  }
  .nav-menu {
    display: none;
  }
  #header-main {
    grid-template-columns: 100%;
  }
  #header-left {
    text-align: center;
  }
  #header-left img {
    width: 70%;
    padding-bottom: 20px;
  }
  .contact-info .mail, .contact-info .phone {
    width: 50%;
    padding-bottom: 20px;
    margin-top: 10px;
  }
  .HomeBannerSlide, .page-banner .container {
    grid-template-columns: 100%;
  }
  .HomeBannerImg, .innerpage-img {
    display: none;
  }
  .HomeIconWrap {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
  .innerpage-title {
    padding: 20px 0px;
  }
  .footer-bottom #footer-links {
    right: -35vw;
    padding-bottom: 15px;
  }
  .footer-bottom #footer-links > div {
    right: -5vw;
    width: 55vw;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-items: center;
    row-gap: 5px;
    column-gap: 0px;
  }
  .footer-bottom span, .footer-bottom a {
    font-size: 1.8vw;
  }
}
/*Smaller Size Portrait*/
@media only screen and (max-width:620px) {
  #rmp_menu_trigger-791 {
    top: 175px;
  }
  .contact-info .mail, .contact-info .phone {
    float: center;
    width: 100%;
  }
  .pricing-table table th, table td {
    padding: 5px;
  }
  .footer-top {
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
  }
  .footer-item {
    padding: 20px 0px;
  }
  .footer-item:not(:last-child) .item-desc {
    border-right: none;
    border-bottom: 1px solid var(--grey);
    min-height: unset;
    padding-bottom: 30px;
  }
  .footer-bottom span, .footer-bottom a {
    font-size: 2.2vw;
  }
}
/*Smaller Size Portrait*/
@media only screen and (max-width:465px) {
  #header-left {
    text-align: left;
    padding-left: 70px;
  }
  #header-right {
    display: none;
  }
  #rmp_menu_trigger-791 {
    top: 40px;
  }
  .contact-info {
    margin-left: 30px;
  }
  .HomeIconWrap {
    grid-template-columns: repeat(1, 1fr);
    width: 70%;
  }
  .pricing-table table th, table td, table td p {
    font-size: 12px;
  }
  .footer-bottom #footer-links > div {
    right: -3vw;
    row-gap: 7px;
  }
  .footer-bottom span, .footer-bottom a {
    font-size: 2.2vw;
  }
}