/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.6
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GLOBAL */
.elementor-widget-theme-post-content ul {padding:0 0 1em 1.1em; margin:1em 0;}
.elementor-widget-theme-post-content ul li {padding-bottom:10px;}
.elementor-widget-text-editor ul {padding:0 0 0 1.1em; margin:1em 0;}
.elementor-widget-text-editor ul li {padding-bottom:0;}
.elementor-widget-theme-post-content figure {margin-bottom:1.6em;}


/* FORMS */
body .gform_wrapper {margin:0 !important;}
body .gform_wrapper .top_label div.ginput_container {margin-top:0 !important;}
body .gform_wrapper ul.gform_fields li.gfield {padding-right:0 !important;}
body .gform_wrapper .gform_footer {margin:0 !important;}
body .gform_wrapper .gform_footer [type=submit] {border:0 !important;}


/* COMPANY PROFILE */
.single-company {background:#F3F5F2;}
.companyprofile {max-width:1140px; margin:60px auto; padding:0 20px;}
div.companyprofile h2 {color: #333; font-size:22px; font-weight:700; margin-top:1.8em;}

.cplogo {position:relative; display:flex; align-items:center; justify-content:center; background-color:#fff; border:3px solid #fff; border-radius:6px; overflow:hidden; max-width:250px; padding:5%;}
.cplogo a {display:block; width:100%;}
.cplogo img {display:block; filter:blur(0); position:relative; z-index:10;}
.cplogobg {display:none; position:absolute; top:0; left:0; width:100%; height:100%; z-index:5; background-repeat:none; background-size:cover; background-position:center; filter:blur(50px);}

.cpverified {color:#666; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; vertical-align:middle; line-height:20px;}
.cpverified i {font-size:20px; margin-right:3px; color: #0393d9;}
div.cptitle h1 {
    color: #8908ddb;
    font-family: "Montserrat", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2em;
}
.cplinks {position:relative; display:block;}
div.cpwebsite a {
  display:inline-block;
  font-family: "Montserrat", Sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  color: #fff;
  background-color: #F4971E;
  border-radius: 6px;
  padding: 10px 30px 10px 30px;
  transition: all 0.3s ease;
}
div.cpwebsite a:hover {background:#B76802; color: #fff;}
.cprating {display:flex; align-items:center; margin:10px 0 0 0;}
.cpnumber {font-size:20px; font-weight:700; color:#F4971E; margin-right:10px;}

.cpnav {border-top:1px solid #ccc; border-bottom:1px solid #ccc; margin-top: 20px; padding:10px 0;}
.nav-anchor {padding-left:20px;}

.cpvideo {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.cpvideo iframe,
.cpvideo object,
.cpvideo embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.company-highlights {padding-left:1.4em;}
.company-highlights li {padding-left:0;}

.cpside {background:#fff; border:1px solid #ccc; border-radius:6px; padding:0 10% 40px;}
.cpinfo strong {display:block; font-size:13px; line-height:20px; margin-top:25px; text-transform:uppercase; letter-spacing:1px; font-weight:700; color:#0393d9;}

.cpinfo ul {font-size:13px; padding-left:1.4em; margin-top:5px;}
.cities-served {columns:2; column-gap:2em;}
.cpinfo li {padding-left:0; padding-bottom:5px; line-height:18px;}
#show-cities {font-size:13px; position:relative; display:block;}
#show-cities:before {
  content:" "; display:block;
  position:absolute; top:-80px; left:0;
  width:100%;
  height:80px;
  background:rgb(255,255,255);
  background:linear-gradient(360deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.company-gallery {padding:0;}
.company-gallery li {width:45%; padding-right:4px; display:inline-block; list-style:none; position:relative;}
.company-gallery a {display:block; width:100%; height:70px; background-repeat:no-repeat; background-size:cover; background-position:center;}
.company-trades {columns:3; padding:0;}
.company-trades li {list-style:none;}
.company-trades i {color:#0393d9; padding-right:10px;}
.elementor-widget-container h4 {font-size:16px; font-weight:700; color:#0393d9;}

@media (max-width:767px){
  .companyprofile {padding-bottom:0; margin-bottom:0;}
  .cplogo {margin-bottom:20px;}
  .cpside {border:none; border-top:1px solid #ccc; margin:50px -20px 0; border-radius:0; padding:20px 20px 60px;}
}
@media (min-width:768px){
  .cplinks {display:flex; }
  .cpwebsite {margin:0 20px 0 0;}

  .nav-anchor {padding-left:0;}
  .nav-anchor li {display:inline-block; margin-right:25px;}
  .nav-anchor a {text-decoration:none; color:#555;}
  .nav-anchor a:hover {text-decoration:underline; color:#000;}
}
@media (min-width:1024px){
  .companyprofile {
    display:grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-areas:
    'logo logo head head head head head head'
    'body body body body body side side side';
    gap:40px;
    margin:120px auto;
    padding:0 40px;
  }
  .companyprofilealt {
    grid-template-areas:
    'head head head head head head head head'
    'body body body body body side side side';
  }
  .cplogo {grid-area:logo;}
  .cphead {grid-area:head;}
  .cphead {grid-area:head;}
  .cpbody {grid-area:body;}
  .cpside {grid-area:side;}
}


/* COMPANY PROFILE - STAR RATING */
:root {
  --star-size: 30px;
  --star-color: #C9C9C9;
  --star-background: #F4971E;
}
.cpstars {
  --percent: calc(var(--rating) / 5 * 100%);

  display: inline-block;
  font-size: var(--star-size);
  font-family: Times; // make sure ★ appears correctly
  line-height: 1;
}
.cpstars::before {
  content: '★★★★★';
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* COMPANY PROFILE - MODAL POPUP */
.show-cities-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.show-cities-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 3px;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  position: relative;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
div.show-cities-modal-content h2 {margin-top:0;}
.show-cities-modal-content ul {columns:3; column-gap:2em; padding-left:1.4em;}
.show-cities-modal-content li {padding-left:0;}

/* close button */
.show-cities-modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.show-cities-modal-close:hover,
.show-cities-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* add animation effects */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@media (max-width:767px){
  .show-cities-modal {padding-top:20px;}
  .show-cities-modal-content {width:94%;}
  .show-cities-modal-content ul {columns:1; column-gap:0;}
}