/*
  Theme Name: Infinity Dental Web
  Description: Custom website theme.
  Author: Infinity Dental Web
  Author URI: https://www.infinitydentalweb.com
  Version: 2024.08
 	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

:root {
	--primary-color: #2aa89e;
  --primary-fade:#b0e4e2;
  --dark-gray:#1c1c1c;
  --light-gray:#f1f1f1;
  --text-color:#292929;
  --body-font:'DM Sans', sans-serif;
  --heading-font:'DM Sans', sans-serif;

}

body {
    background-color:#fff;
    color:var(--text-color);
	  font-size:62.5%;
    line-height: 1.4;
    font-family:var(--body-font);
}

section {
	line-height: 1;
  position: relative;
}

h1, h2, h3, h4, h5, p, ul {
	margin-top: 0;
  font-family:var(--heading-font);
}

p, ol, ul {
  font-size:1.7rem;
	line-height: 1.6;
	margin: 0 0 3.2rem;
}

a, a:visited {
  color:var(--primary-color);
  text-decoration: none;
  font-weight:600;
}

a:hover {
  color:var(--dark-gray);
}

p:last-child {
  margin-bottom:0!important;
}

figcaption{
  text-align: center;
}

.mobile-only {
  display:none;
}

.page-content .container {
  max-width:1024px;
  width:100%;
}
.page-content.service-section .container {
  max-width:1250px;
}

.page-wide .container {
  max-width:1440px;
  width:100%;
}

.page-content h2 {
  font-size:3.4rem;
  line-height:1.1;
  font-weight:700;
  text-transform:uppercase;
}

.page-content h2 > span {
  color:var(--primary-color);
}

.page-content h3 {
  font-size:3rem;
  line-height:1.1;
  font-weight:700;
}

.img-borders {
  border-radius:0 10px 0 10px;
}



/*
* Base CSS for Search Functionality
* Last Update: 2022-11-11
*/


/* Search icon - color and position as needed */
.search-icon {
  display: block;
  position: absolute;
  right: 45px;
  top: 60px;
  transform:translateY(-50%);
  z-index: 2;
  transition:.4s ease-in all;
}

.stuck .search-icon {}

.search-icon {
  color:#222;
  cursor: pointer;
}

.search-icon i {
  font-size:22px;
}

.search-icon svg {
  width:50px!important;
  height:50px;
}


/* Search overlay - color as needed */
.search-overlay {
  position:fixed;
  top: 0;
  bottom:0;
  left:0;
  right:0;
  z-index: 9999999999990;
  background: rgba(255,255,255,.9);
  width:100%;
  height:0;
  display:flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  transition:.4s ease-in all;
  opacity: 0;
  
}

.search-overlay.active {
  height:100%;
  opacity:1;
}

.search-close {
  position: absolute;
  right:3.3rem;
  top:5.2rem;
  color:#222;
  font-size:36px;
  font-weight:bold;
  cursor: pointer;
}


/* Search overlay form - color as needed */
.search-overlay > form {
  display:flex;
  width:100%;
  max-width:640px;
  justify-content: space-between;
  align-items: stretch;
}

.search-overlay > form > input {
  width:100%;
  background:transparent;
  border:none;
  border-bottom:1px solid #222;
  font-size:24px;
  color:#222;
  padding:20px;
}

.search-overlay > form > button {
  width:200px;
  margin-left:20px;
  font-size:20px;
  font-weight:700;
  letter-spacing:2px;
  text-transform: uppercase;
  background:#222;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor: pointer;
}

.search-overlay > form > button:hover {
  background:#fff;
  color:#222;
}


/* Mobile search form - style and color as needed */
.mobile-search-form {
  display:flex;
  width:100%;
  max-width:100%;
  justify-content: space-between;
  align-items: stretch;
}

.mobile-search-form > input {
  width:100%;
  background:rgba(255,255,255,.2);
  border:1px solid #eee;
  font-size:18px;
  color:#fff;
  padding:8px;
  font-weight:400;
}

.mobile-search-form > button {
  width:120px;
  margin-left:20px;
  font-size:18px;
  font-weight:400;
  letter-spacing:2px;
  text-transform: uppercase;
  color:#fff;
  border:none;
  border-radius:3px;
  cursor: pointer;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--text-color);
  opacity: .7; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--text-color);
  opacity: .7;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--text-color);
  opacity: .7;
}

.icon-color {
  fill:var(--text-color);
}

#menu-footer li a {
  font-size: 11px;
  font-weight: 200;
}

.container.mw-960, .mw-960 {
  max-width:960px;
  margin:0 auto;
}

.d-block {
  display:block!important;
}

.d-inlineflex {
  display:inline-flex!important;
}

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

.f-wrap {
  flex-wrap:wrap;
}

/*------------------------- Custom styles ----------------------------------*/
.container {
  padding:0 6rem;
  width:100%;
  max-width:1440px;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:space-between;
}

.container-narrow {
  max-width:1080px;
}

.container-fluid {
  max-width:100%;
  padding:0 0;
}

.content-container {
  display:block;
}

main {
  background-color:#fff;
}

.row-flex {

}

.fd-column { flex-direction:column; align-items:center; }
.ai-center { align-items:center; }
.ai-stretch { align-items:stretch; }
.jc-center { justify-content:center; }

.gap-1 { gap:1rem; }
.gap-2 { gap:2rem; }
.gap-3 { gap:3rem; }
.gap-4 { gap:4rem; }
.gap-5 { gap:5rem; }
.gap-6 { gap:6rem; }
.gap-7 { gap:7rem; }
.gap-8 { gap:8rem; }
.gap-9 { gap:9rem; }
.gap-10 { gap:10rem; }


a.button, input.button {
  font-size:1.7rem!important;
  font-weight:700;
  letter-spacing:.51px;
  background:var(--dark-gray);
  border:1px solid var(--dark-gray);
  color:#fff;
  line-height:1;
  padding:2.5rem 4.7rem;
  text-decoration:none;
  display: inline-block;
  transition:.4s ease all;
  text-align: center;
  cursor:pointer;
}

a.button:hover, input.button:hover {
  background:var(--primary-color);
  border:1px solid var(--primary-color);
}

a.button-primary {
  background:var(--primary-color);
  border:1px solid var(--primary-color);
}

a.button-primary:hover {
  background:transparent;
  border:1px solid #fff;
}

.button-phone {
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-color);
  padding:2rem 6rem;
  font-size:3.3rem;
  line-height:4.8rem;
  font-weight:700;
  border-radius:10px;
  background:#fff;
  text-decoration: none;
  gap:14px;
}

.button-phone > span {
  font-size:1.4rem;
  line-height:1;
  letter-spacing: 3.36px;
  text-transform:uppercase;
  position: relative;
  padding-right:50px;
}

.button-phone > span:after {
  position: absolute;
  content:"";
  background-color: var(--text-color);
  height:1px;
  width:45px;
  right:0;
  top:50%;
  transform:translateY(-50%);
}

.supertext, .h1-home {
  font-size:1.1rem;
  font-weight:700;
  line-height:1;
  letter-spacing:2.64px;
  text-transform: uppercase;
  font-family:var(--body-font);
  margin-bottom:2rem;
}


.content-heading {
  font-weight:700;
  font-size:3.4rem;
  line-height:4.8rem;
  font-family:var(--heading-font);
  color:var(--text-color);
  letter-spacing:0;
  margin-bottom:1.4rem;
  text-transform: capitalize;
}

.content-heading > span {
  color:var(--primary-color);
}

.text-white {
  color:#fff;
}

.content-subheading {
  font-weight:700;
  font-size:2.2rem;
  line-height:2.8rem;
  font-family:var(--heading-font);
  color:var(--text-color);
  letter-spacing:0;
  margin-bottom:.9rem;
}

.hr {
  height:1px;
  margin:0 0 2.6rem;
  padding:0;
  width:100%;
  background-color: rgba(41, 41, 41, 0.15);
}

.bg-blue-grad {
  background:linear-gradient(-45deg, rgba(69,150,198,.5) 0%, white 20%, white 70%, rgba(69,150,198,.5) 90%);
}


/* hero area */
.hero-home {
  height:90vh;
  overflow:visible;
  position: relative;
}

.hero-home:before {
  position: absolute;
  content:"";
  left:0;
  top:0;
  bottom:0;
  right:0;
  background-color: rgba(0,0,0,.25);
  z-index: 0;
}

.hero-home video {
  width:100%;
  overflow: hidden;
}

.hero-home .hero-content {
  position:absolute;
  left:50%;
  bottom:-35px;
  transform:translateX(-50%);
  z-index: 1;
}

/* introduction */
.introduction { 
  padding: 18rem 0 10rem;
}

.introduction__logos {
  display:flex;
  flex-direction:column;
  gap:3rem;
  flex: 0 0 auto;
}

.introduction__logos img {
  border:1px solid var(--light-gray);
}

.h1-home {
  margin-bottom:4rem;
}

.introduction p {
  margin-bottom:8.7rem;
}


/* portfolio */
.portfolio {
  background:url('images/bg-blue-grad.webp') top center no-repeat;
  background-size:cover;
  padding:10rem 0 60rem;
}

.portfolio .container {
  flex-direction:column;
  align-items:center;
  position: relative;
}

.vertical-line {
  width:1px;
  height:53px;
  margin-bottom:2rem;
  background-color:#fff;
}

.portfolio .button {
  position: relative;
  z-index: 1;
}

.portfolio  .portfolio-slider {
  max-width:768px;
  width:100%;
  margin-top:0;
  z-index: 0;
  position: relative;
  position: absolute;
  left:50%;
  top:270px;
  transform:translateX(-50%);
}

.portfolio  .portfolio-slider .owl-stage-outer {
  overflow:visible;
}

.portfolio  .portfolio-slider .owl-item {
  transition:1s ease all;
  margin-top:-115px;
  opacity:.5;
}

.portfolio  .portfolio-slider .active {
  margin-top:0;
  transition:1s ease all;
  opacity:1;
}

.portfolio .slider-nav {
  left:50%;
  position: absolute;
  transform: translateX(-50%);
  bottom:10rem;
  z-index: 1;
}

/* testimonials */
.testimonials {
  padding:10rem 0 10rem;
}

.testimonials .content-heading {
  margin-bottom:2.4rem;
}

.testimonial-videos {
  width:100%;
  box-shadow:0 0 30px rgba(0,0,0,.08);
}

.testimonial-videos iframe {
  background:var(--light-gray);
  opacity:0;
  transition:.7s ease all;
}

.testimonial-videos iframe.active {
  opacity:1;
  transition:.7s ease all;
  z-index:1;
}

.testimonials-nav, .slider-nav {
  display:flex;
  margin-top: -27px;
  position: relative;
  z-index: 2;
}

.testimonials-nav button, .slider-nav button {
  color:var(--text-color);
  cursor:pointer;
  background:#fff;
  line-height:1;
  text-decoration:none;
  padding:1.2rem 2.4rem;
  border:none;
  transition:.4s ease all;
  font-size:3rem;
  box-shadow:0 0 30px rgba(0,0,0,.08);
}

.testimonials-nav button:hover, .slider-nav button:hover {
  background-color:var(--text-color);
  color:#fff;
  transition:.4s ease all;
}

.testimonials-nav .prev, .slider-nav .prev {
  border-radius:10px 0 0 10px;
}
.testimonials-nav .next, .slider-nav .next {
  border-radius:0 10px 10px 0;
}


/* services */
.services {
  padding:0;
  margin-bottom:3.2rem;
}

.services:after {
  content:"";
  position: absolute;
  width:100%;
  left:0;
  bottom:0;
  height:300px;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5));
  z-index: 1;
}

.service-image {
  display:none;
  opacity:0;
  transition:.5s ease all;
}

.service-image.active {
  display:block;
  opacity:1;
  transition:.5s ease all;
}

.service-tiles {
  position:absolute;
  display:flex;
  z-index:2;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.service-tile {
  width:100%;
  max-width:20%;
  padding:3.2rem;
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  justify-content:flex-end;
  color:#fff;
  cursor: pointer;
}

.service-content {
  border-radius:10px;
  padding:3.2rem;
  width:100%;
  transition:.5s ease all;
}

.service-tile.active .service-content {
  background:#fff;
  color:var(--text-color);
}

.service-tile.active .service-content > img {
  filter:invert(1);
  margin-bottom:1rem;
}

.service-tile a {
  font-size:2rem;
  display:none;
}


.service-tile.active a {
  display:block;
}

.services .supertext {
  font-size:1rem;
  line-height:1.3;
  letter-spacing:2.4px;
}

.service-heading {
  font-size:2.2rem;
  line-height:3rem;
  font-weight:700;
  margin-bottom: 2rem;
}


/* cta */
.cta {
  background:url('images/bg-cta.webp') top center no-repeat;
  background-size:cover;
  padding:8rem 0 12rem;
}

.cta .content-heading {
  margin-bottom:6.4rem;
}

.cta .button {
  margin-bottom:9rem;
}

/* footer */
footer {
  background-color:#1c1c1c;
  color:#fff;
  padding:0;
}

footer .logo-container {
  padding:8.4rem 6rem 0;
}

footer .menus {
  padding-bottom:3rem;
}

.footer-col {
  flex-shrink:0;
}

.footer-col:last-child {
  flex-shrink:1;
}

.footer-col-heading {
  color:var(--primary-color);
  font-size:1.6rem;
  line-height:2rem;
  margin-bottom:4.8rem;
}

footer .menu {
  list-style:none;
  padding:0;
  margin:0;
}

footer .menu > li {
  font-size:1.6rem;
}

footer .menu > li > a {
  color:#fff;
  line-height: 2rem;
  padding:.8rem 0;
  display: block;
}

footer .menu > li > a:hover {
  color:var(--primary-color);
}

.social-icons {
  padding:1.4rem 6rem;
}

.social-icon {
  padding:1rem;
}

header .social-icons {
  padding: 0;
  width: auto;
}

.social-icon:hover {
  opacity:.6;
}

.social-icon > i {
  width:20px;
  height:20px;
  color:#fff;
  filter:invert(1);
}

.copyright {
  margin:0;
  padding:2.2rem;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.1);
  width:100%;
}


/* innerpage */
.hero-innerpage {
  background:#fff url('images/bg-hero-innerpage.jpg') center center no-repeat;
  background-size:cover;
  position:relative;
  height:300px;
}

.hero-innerpage .hero-content {
  position: absolute;
  top:60%;
  left:50%;
  transform: translate(-50%,-50%);
  text-align:center;
  width:100%;
  max-width:90%;
}

.hero-innerpage h1, .blog-single h1, .blog-single-heading  {
  font-size:4.5rem;
  line-height:4.8rem;
  color:#fff;
  margin-bottom:2rem;
  font-weight:700;
}

.blog-single h1 {
  color:var(--text-color);
  font-size:3rem;
  line-height:1.1;
}

.hero-innerpage .breadcrumbs {
  text-transform:uppercase;
  letter-spacing:2.88px;
  font-size:1.2rem;
  line-height:1;
  color:#fff;
}

.hero-innerpage .breadcrumbs a, .hero-innerpage .breadcrumbs a:visited {
  color:#fff;
}

.hero-innerpage .breadcrumbs a:hover {
  color:var(--primary-fade);
}

.hero-innerpage .breadcrumbs > span {
  margin:0 1rem;
}

.page-content:first-child {
  padding:10rem 0 8rem;
}

.page-content img {
  border-radius:0 10px 0 10px;
}

.page-intro .container > img {
  width:100%;
  max-width:33%;
  height:auto;
  object-fit:cover;
}

.page-intro-text {
  width:100%;
}

.extra-content {
  padding:8rem 0;
  
}

.extra-content .container > img {
  width:100%;
  max-width:25%;
  border:1px solid var(--light-gray);
}

.extra-content:nth-child(2n){
  background-color: #edf7f6;
}

.extra-content:nth-child(2n) .container {
  flex-direction:row-reverse;
}

.extra-content-text {
  width:100%;
}

/* page: about - team */
.team {
  padding-top:0;
}

.team-member {
  display:flex;
  gap:7rem;
  border-bottom:1px solid rgba(41, 41, 41, 0.15);
  padding:10rem 0;
}

.team-member:nth-child(2n){
  flex-direction: row-reverse;
}

.team-member-image {
  width:100%;
  max-width:568px;
}


.team-member-image .img {
  padding:0 10rem 10rem;
}

.team-member-image .img > img {
  width:100%;
  height:auto;
  border-radius:50%;
  object-fit: cover;
}

.team-member-image .summary {
  border-top:2px solid var(--primary-color);
  border-bottom:2px solid var(--primary-color);
  padding:1.8rem 0;
  color:var(--primary-color);
  font-size:2.8rem;
  line-height:3.8rem;
  font-weight: 700;
}

.team-member-details {
  width: 100%;
}

.team-member h4 {
  font-size:1.1rem;
  line-height:1;
  margin-bottom:2rem;
  color:var(--primary-color);
  text-transform: uppercase;
  letter-spacing:2.64px;
}

.team-member h2 {
  font-size:3.4rem;
  line-height:4.8rem;
  font-weight:700;
  margin-bottom:4.5rem;
  text-transform: uppercase;
}

.team-member p {
  font-size:1.6rem;
  line-height:3.2rem;
}

.callout-2-boxes {
  padding:8rem 0;
  background: var(--primary-fade);
}

.callout-2-box {
  width:100%;
  padding:7rem 4.8rem 7rem 23rem;
  background:#fff;
  position: relative;
}

.callout-2-box img {
  position:absolute;
  bottom:0;
  right:calc(100% - 22rem);
  max-height:100%;
  width:auto;
}

.callout-2-box h4 {
  font-size:2.7rem;
  line-height:3.7rem;
  font-weight:700;
  margin-bottom:1.7rem;
  color: var(--primary-color);
}

.callout-2-box a {
  font-size:1.6rem;
  line-height:2rem;
  color: var(--primary-color);
  font-weight:700;
}


/* testimonials page */
.testimonial-box {
  display:flex;
  width:100%;
  max-width:100%;
  background-color: #fff;
  margin-bottom:2rem;
  padding:3rem;
}

.testimonial-box:nth-child(2n){
  flex-direction:row-reverse;
}

.testimonial-box-image {
  width:100%;
  max-width:150px;
}

.testimonial-box-image > img {
  width:100%;
  height:auto;
  border-radius:50%;
}

.testimonial-box-text {
  width:100%;
  max-width:100%;
}

.testimonial-box-text > cite {
  color:var(--primary-color);
  font-size:1.7rem;
  font-weight:700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing:.6px;
  border-bottom:1px solid var(--primary-fade);
  padding-bottom:1rem;
  display: inline-block;;
  margin-bottom: 2rem;;
}


/* service pages */
.service-page {
  background:#edf7f6;
}
.service-selector {
  width:100%;
  max-width:25%;
}
.service-list {
  width:100%;
  list-style:none;
  padding:0;
  margin:0;
}

.service-list li {
  border:1px solid var(--text-color);
  margin:0;
}

.service-list li a {
  width:100%;
  display:block;
  line-height:1;
  padding:1rem 1.6rem;
  color:var(--text-color);
  transition:.4s ease all;
}

.service-list li a:hover, .service-list li a.active {
  background-color: var(--text-color);
  color:#fff;
  position:relative;
  padding-left:3rem;
}

.service-list li a.active:before,.service-list li a:hover:before {
  content:">";
  position: absolute;
  top:9px;
  left:1.6rem;
}

.service-section {
  text-align:center;
  background:#edf7f6;
  padding:8rem 0;
}

.service-page + .service-section {
  padding-top:0;
}

.service-section h2, .service-section p {
  width:100%;
  margin-bottom:1rem;
}

.service-section p {
  margin-bottom:3rem;
}

.service-page-tile {
  padding: 3rem;
  background: #fff;
  margin: 1%;
  border-radius:0 10px 0 10px;
  
  flex-wrap: wrap;
}

.cols-2 .service-page-tile {
  width: 100%;
  max-width: 48%;
}

.cols-3 .service-page-tile {
  width: 100%;
  max-width: 31.333%;
}

.cols-4 .service-page-tile {
  width: 100%;
  max-width: 23%;
}

.service-page-tile-header {
  display:flex;
  justify-content: space-between;
  margin-bottom:2rem;
  padding-bottom: 1rem;
  padding-left:2rem;
  border-bottom:1px solid var(--primary-fade);
  border-left:1px solid var(--primary-fade);
}

.service-page-tile-header > img {
  height:60px;
  width:auto;
  align-self:center;
}

.service-page-tile-header h4 {
  font-size:2.2rem;
  line-height:1;
  margin-bottom:0;
  width: 100%;
  text-align:left;
  align-self:center;
  margin-left:2rem;
}

.service-page-tile p {
  font-size:1.6rem;
  line-height:1.6;
  text-align:left;
}

.additional-service-content {
  margin-top:4rem;
}

.service-extra-content {
  padding:2rem 0;
}

.service-extra-content .container {
  padding-top:6rem;
  padding-bottom:6rem;
}

.service-extra-content .container:nth-child(2n) {
  flex-direction:row-reverse;
}

.service-extra-content .service-content-img {
  width:100%;
  max-width:33.3%;
}

.service-extra-content .service-content-text {
  width:100%;
  max-width:66.66%;
}

.design-levels {
  padding:8rem 0;
  text-align:center;
}

.design-levels h2 {
  margin-bottom:1rem;
}

.design-levels h2, .design-levels p {
  width:100%;
}

.service-level-tile {
  width:100%;
  max-width:calc(50% - 3rem);
  box-shadow: 0 0 50px rgba(0,0,0,.1);
  padding:3rem;
  flex-direction: column;
  display: flex;
  align-items: center;
}

.service-level-img {
  width:100%;
  height:auto;
  max-width:150px;
  margin-bottom: 3rem;
}

.service-level-tile h3 {
  text-transform: uppercase;
  color: var(--primary-color);
}

.service-level-text p, .service-level-text ul {
  text-align:left;
}

.portfolio-cta {
  padding:12rem 0;
  background:#000 url('/wp-content/uploads/2024/09/bg-websites-portfolio.jpg') center center no-repeat;
  background-size:cover;
}

.portfolio-cta .container {
  flex-direction:column;
  color:#fff;
  align-items: center;
}


.portfolio-cta img {
  margin-bottom:3rem;
}

.portfolio-cta h2 {
  font-size:3rem;
  text-transform:capitalize;
  margin-bottom: 1rem;
  text-align:center;
}

.portfolio-cta p {
  font-size:2rem;
  text-align:center;
}

.google-partner {
  position: absolute;
  width: 250px;
  top: 10%;
  left: 68%;
}

/* portfolio page */
.portfolio-item {
  width:100%;
  max-width:31.33%;
  margin:1%;
}

.portfolio-link {
  overflow: hidden;
  position: relative;
  display: block;
}

.portfolio-item-text {
  position:absolute;
  opacity:0;
  transition:.4s ease all;
  display:flex;
  flex-direction:column;
  top: 0;
  left: 0;
  width:100%;
  height:100%;
  align-items: center;
  justify-content: center;
  background:rgba(0,0,0,.4);
  color:#fff;
}

.portfolio-item-text h4 {
  font-size:2.2rem;
  text-align:center;
  font-weight:700;
  text-shadow:0,0,20px rgba(0,0,0,.4);
  border-bottom:3px dotted var(--primary-color);
  display:inline-block;
  padding:.4rem 0;
}

.portfolio-link:hover .portfolio-item-text {
  opacity:1;
}

.portfolio-image-container {
  width:100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:0 0 3rem 0;
}

.portfolio-image-container > img {
  width:100%;
  height:auto;
  max-width:1024px;
}

.portfolio-container {
  border-top:1px solid var(--primary-fade);
}


.portfolio-item-single, .portfolio-item-single:first-child {
  padding-top:6rem;
}




a.portfolio-button {
  padding:1.4rem 2.8rem;
  font-size:1.6rem;
  margin:0 auto 3rem;
}

.portfolio-content {
  width:100%;
  max-width:66.6%;
  padding:6rem 0;
}

.portfolio-heading {
  width:100%;
  display:block;
  font-size:3rem;
  font-weight:700;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
}

.portfolio-heading > span {
  color:var(--primary-color);
  font-weight:400;
  font-size:2.2rem;
  text-transform: none;
}

.portfolio-details {
  width:100%;
  max-width:33.3%;
  border-left:1px solid var(--primary-fade);
  padding:6rem 0 6rem 6rem;
}

.portfolio-details h4 {
  color:var(--primary-color);
  font-size:2.2rem;
  font-weight:600;
  border-bottom:3px dotted var(--primary-fade);
  margin-bottom: .7rem;
  padding-bottom: 1rem;
  display: inline-block;
}

.portfolio-details p {
  margin-bottom:3rem;
}

/* blog main */
.blog-listing {
  padding:8rem 0;
}


.blog-tile {
  width:100%;
  max-width:100%;
  margin:0 1% 3rem;
  padding: 1rem;
  box-shadow:0 0 30px rgba(0,0,0,.2);
  border:1px solid var(--primary-fade);
  display: flex;
  gap:2rem;
}

.blog-image-link {
  overflow:hidden;
  display: block;
  border:1px solid var(--primary-fade);
  width:100%;
  max-width:33.3%;
  flex-shrink: 0;
}

.blog-image-link > img {
  height:100%;
  width:100%;
  object-fit:cover;
  transition:.4s ease all;
  display: block;
}

.blog-image-link:hover img {
  transform: scale(1.1);
}

.blog-tile-text {
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 2rem 1rem 0;
}

.blog-tile h4 {
  font-size:2.4rem;
  font-weight:600;
  margin-bottom:1rem;
}

.blog-tile-text a {
  text-transform:uppercase;
}

#wp_pagination {
  margin:2rem auto 0;
}

#wp_pagination a.button {
  padding:1.4rem 2.2rem;
  background:transparent;
  color:var(--text-color);
  border-color:var(--light-gray);
}

#wp_pagination a.button.active, #wp_pagination a.button:hover {
  color: #fff ;
  background:var(--text-color);
}

.downsize {
  font-size:1.4rem;
}
.blog-single {
  padding:8rem 6rem;
  gap:6rem;
}

.blog-content {
  width:100%;
}

.blog-content h2{
  font-size:2.6rem;
  line-height:1.2;
}

.blog-single-title-area {
  display: flex;
  gap: 6rem;
  align-items: center;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--primary-fade);
}

.blog-single-title-area > img {
  width:100%;
  max-width:33.3%;
}

.blog-single .sidebar {
  width:100%;
  max-width:300px;
  background-color: var(--light-gray);
  padding:3rem;
}

.sidebar h2, .sidebar aside label {
  font-size:2.2rem;
  line-height:1.2;
  font-weight:600;
  display: block;
  margin-bottom:1.2rem;
}

.sidebar aside:first-child {
  margin-bottom:3rem;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
  margin-bottom:1.2rem;
  line-height:1.1;
}

.tags, .comments {
  background-color: var(--light-gray);
  padding:2rem;
  font-size:1.6rem;
  line-height:2.6rem;
  margin-bottom:2rem;
}

.comments footer {
  background-color:transparent;
  color:var(--text-color);
}

.comments label {
  display:block;
}

.comments textarea {
  width:100%;
}

.comments #reply-title {
  padding:0 0 1rem;
  border-bottom:1px solid #c6c6c6;
}

.comments .navigation:after {
  content:"";
  display:block;
  clear:both;
}

.search-results article {
  padding:3rem 0;
  border-bottom:1px solid var(--primary-fade);
}

.search-listing h3, .search-listing a {
  font-size:2.2rem;
  font-weight: 700;
}

[type="search"] {
  font-size: 17px;
}

.blog-content h3 {
    font-size: 2rem!important;
}


@media screen and (max-width:1023px){

  .tablet-up {
    display:block;
  }

  .container {
    padding:0 4rem;
  }

  .container-fluid {
    padding:0;
  }

  /* about - team */
  .team-member-image .img {
    padding:0 4em 4rem;
  }


  .cols-3 .service-page-tile {
    width: 100%;
    max-width: 48%;
  }

  .hero-home {
    height:auto;
  }

  .footer-col {
    max-width:31%;
    margin-bottom: 3.8rem;
  }

  .footer-col:nth-child(4), .footer-col:nth-child(5) {
    max-width:48%;
  }

  .container.menus {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-col-heading {
    margin-bottom:2rem;
  }

  .service-tiles {
    flex-wrap:nowrap;
    gap:1px;
  }

  .service-tile {
    padding:0;
    width: 100%;
    max-width:60px;
    height:100%;
    background:rgba(0,0,0,.8);
  } 

  .service-tile.active {
    width:100%;
    max-width:100%;
    background: transparent;
    display: flex;
    align-items:center;
  }

  .service-content {
    padding:0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-tile .service-heading {
    writing-mode: vertical-rl;
  }

  .service-tile .service-heading > br {
    display:none;
  }

  .service-tile .supertext, .service-tile img {
    display:none;
  }

  .service-tile.active .service-content {
    flex-direction: column;
    width: 90%;
    margin-bottom: 3rem;
    padding:2rem;
    background: rgba(255, 255, 255, .75);
  }

  .service-tile.active .service-heading {
    writing-mode:horizontal-tb;
    margin-bottom:0;
  }
  .service-tile.active .supertext {
    display:block;
    margin-bottom: 0;
  }

  .service-tile.active img {
    display:none;
  }

  .callout-2-boxes > div {
    flex-direction:column;
  }

  .team-member {
    gap:4rem;
  }

  .gap-6 {
    gap:4rem;
  }

  .blog-listing .blog-tile {
    max-width:100%;
  }

  .blog-tile .blog-image-link {
    max-width:33.3%;
  }

  main .blog-single {
    padding:6rem 4rem;
    flex-wrap:wrap;
  }

  .blog-single .blog-content, .blog-single .sidebar {
    max-width:100%;
  }

  .page-intro-text p > br, .page-content p > br {
    display:none;
  }

  .service-selector {
    max-width: 33.3%;
  }

  .service-page-content {
    max-width: 100%;
  }

  .page-content h2 {
    font-size: 3rem;
  }

  .service-level-tile {
    max-width: calc(50% - 2rem);
  }

  
}


@media screen and (max-width:767px){

  .mobile-only {
    display:block!important;
  }

  .tablet-up {
    display:none!important;
  }

  .gap-6 {
    gap:0;
  }

  

  a.logo {
      max-width: 260px;
  }

  .container {
    padding:0 2rem;
    flex-direction:column;
  }

  .container.container-fluid {
    padding:0;
  }

  .button-phone {
      padding: 2rem 3rem;
      font-size: 2.4rem;
      line-height: 2.4rem;
  }

  .hero-home video {
    width:200%;
    position:relative;
    left:-50%;
  }

  .hero-home:after {
    position:absolute;
    content:"";
    width:100%;
    left:0;
    top:0;
    height:33%;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  }

  .hero-innerpage {
    height:300px;
  }

  .hero-innerpage .hero-content {
      top: 60%;
  }

  .hero-innerpage .breadcrumbs {
    display:none;
  }

  .hero-innerpage h1, .blog-single h1, .blog-single-heading {
    font-size:3.4rem;
    line-height:1.1;
  }

  .blog-single-heading {
    color:#fff;
  }

  .content-heading {
    text-align:center;
  }

  /* about - team */
  .team-member {
   flex-direction:column;
   gap:3rem;
  }

  .team-member:nth-child(2n){
    flex-direction: column;
  }
  .team-member h2, .team-member h4 {
    text-align:center;
  }

  .team-member h2 {
    margin-bottom:1rem;
  }

  .team-member h4 {
    margin-bottom:3rem;
  }

  .callout-2-box .container {
    gap:3rem;
  }

  .page-content.service-page:first-child {
    padding-top:4rem;
  }

  .service-selector {
    width:100%;
    max-width:100%;
  }

  .cols-2 .service-page-tile, .cols-3 .service-page-tile, .service-level-tile {
    width: 100%;
    max-width: 100%;
  }

  .service-extra-content .container {
    flex-wrap:wrap;
  }

  .service-extra-content .service-content-img, .service-extra-content .service-content-text {
    max-width:100%;
  }

  .portfolio-item {
    max-width:47%;
    margin:1.5%;
  }

  .container.fd-row {
    flex-direction:row;
  }

  .portfolio-container {
    flex-wrap:wrap;
  }

  .portfolio-content {
    max-width:100%;
    border: none;
    padding:3rem 0;
  }

  .portfolio-details {
    border-left:none;
    max-width:100%;
    border-top:1px solid var(--primary-fade);
    padding:3rem 0 0;
  }

  .hero-home .hero-content {
    width:90%;
  }

  .hero-home .hero-content a.button {
    width:100%;
  }

  .introduction {
    padding:6rem 0;
  }

  .gap-9 {
    gap:3rem;
  }
  .introduction__logos {
    flex-direction: row;
    gap: 0rem;
    align-items: center;
    justify-content: space-between;
    max-width:31%;
  }

  .h1-home {
    text-align:center;
  }

  .introduction__content p {
    text-align:center;
    margin-bottom: 3.2rem;
  }



  .introduction__content p > br {
    display:none;
    
  }

  .content-subheading {
    text-align:center;
  }

  .content-heading {
    font-size:2.8rem;
    line-height:1.2;
  }

  .container > .supertext {
    text-align:center;
  }

  .container.menus, .container.social-icons {
    flex-direction:row;
  }

  .portfolio {
    padding-bottom:50rem;
  }

  .portfolio .portfolio-slider {
    top:340px;
  }

  .footer-col {
    max-width:48%;
    width:100%;
    margin-bottom: 3.6rem;
  }

  .footer-col:nth-child(5) {
    max-width:100%;
  }

  .blog-tile {
    flex-direction: column;
  }

  .blog-tile, .blog-image-link {
    max-width:100%;
  }

  .blog-content {
    padding:4rem 0;
  }

  .blog-back-link {
    font-size: 2.4rem;
    display: block;
    margin: 0 auto 2rem;
    text-align: center;
  }

  .blog-single-title-area {
    flex-direction:column;
  }

  .blog-single-title-area img {
    max-width:90%;
    height:auto;
  }

  .blog-single .sidebar {
    max-width:100%;
  }

  .service-selector {
    margin-bottom:3.2rem;
  }

  .services .container {
    height:300px;
  }

  .services .container > img {
    height:100%;
    width:100%;
    object-fit: cover;
  }

  .service-tile {
    max-width:40px;
  } 

  .service-tile .service-heading {
    font-size:1.6rem;
  }

  .service-tile.active .service-heading {
    line-height:1.1;
  }

  .service-tile.active .supertext {
    display:none;
  }

  .service-tile.active a {
    font-size:1.6rem;
  }

  .service-tile.active .service-content {
    align-items:flex-start;
  }
/* TESTIMONIALS */
  .testimonial-box {
    display:block;
  }
  .testimonial-box-image {
    float:left;
    shape-outside: circle(50%);
    margin-right: 2rem;
  }

  .page-content:first-child {
    padding:6rem 0;
  }

  .page-intro .container > img {
    width: 100%;
    max-width: 100%;
    margin-bottom:3.2rem;
    height: auto;
    object-fit: cover;
  }

  .service-page-content {
    max-width: 100%;
  }

  .testimonials-nav  {
    margin-top: 2rem;
    
  }

  .testimonials-nav button {
    border: 1px solid #333;
  }

}

@media screen and (max-width:400px){
  .testimonial-box-image {
    max-width: none;
    display:flex;
    justify-content: center;
  }
  .testimonial-box-image > img {
    width: auto;
  }
  .testimonial-box-text {
    text-align: center;
  }
  .testimonial-box-text > cite {
    margin-top: 1rem;
  }
}