/*
Theme Name:  Mgpropainting
Author URI: https://www.thegeminigeeks.com/
Version: 1.1
Author: The Gemini Geeks
Description: A theme by The Gemini Geeks
*/
:root {
  /* Color Variables: */
--primarycolor:#000;
--secondarycolor:#262362;
--tertiarycolor:#3fa9f5;
  /* Font Variables: */
--primaryfont:'Libre Baskerville', serif;
--secondaryfont:'Overpass', sans-serif;
}
*{margin: 0;padding: 0;}
body {margin: 0;padding: 0;background: #fff;font-family: var(--secondaryfont);-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;color:var(--primarycolor);font-weight: 500;font-size: 17px;line-height: 1.8;text-rendering: optimizeLegibility;}
a img {border: none;}
a {color:var(--primarycolor);text-decoration: none !important;transition:0.8s;transition: all 0.8s ease;-moz-transition: all 0.8s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.8s ease;-o-transition: all 0.8s ease;}
a:hover {transition:0.8s;text-decoration: none;color: var(--secondarycolor);}
.clear {clear: both;}
.divider {clear: both;border-bottom: 1px solid #ddd;margin: 0 0 1.2rem 0;padding: 20px 0 0 0;}
.alignleft{float:left;margin:0 10px 0 0;}
.alignright{float:right;margin:0 0 0 10px;}
.aligncenter{display:block;margin:0 auto;}

#scroll {position: fixed;right: 10px;bottom: 10px;cursor: pointer;width: 40px;height: 40px;background-color: var(--secondarycolor);text-indent: -9999px;display: none;-webkit-border-radius: 60px;-moz-border-radius: 60px;border-radius: 60px;z-index: 999;}
#scroll span {position: absolute;top: 50%;left: 50%;margin-left: -8px;margin-top: -12px;height: 0;width: 0;border: 8px solid transparent;border-bottom-color: #ffffff;}
#scroll:hover {background-color:var(--tertiarycolor);opacity: 1;filter: "alpha(opacity=100)";-ms-filter: "alpha(opacity=100)";}

.inner {width: 1170px;margin: 0 auto;max-width: 100%;}
.overlay {position: absolute;left: 0;right: 0;top: 0;bottom: 0;background-color: #5C2AB5CF;}

.header_area {position:relative;top: 0;left: 0;width: 100%;z-index: 999;transition: background 0.4s, all 0.3s linear;padding:1rem 0}
.header_area .row{align-items:center}

#top-bar{/*! float: left; */background:#f1f1f1;width:100%;padding:0.4rem 0;font-weight:600;font-size:17px}
#top-bar .row{justify-content:space-between;align-items: center;}
#top-bar a{margin:0px 10px;display: inline-block;}
#top-bar a i{margin-right:5px;color:var(--secondarycolor);transition:0.6s ease-in-out}
#top-bar a:hover{color:var(--tertiarycolor);}
#top-bar a:hover i{transform:scale(1.1)}
#top-bar .pull-right{text-align:right;}

#logo{width:140px;display: table}
.site-menu-toggle{display: none;}

h1,h2,h3,h4,h5,h6 {margin: 0 0 0.6rem 0;color: var(--secondarycolor);line-height: 1.2;font-family: var(--primaryfont);font-weight: 600;}

h1 {font-size: 2.5rem;/*! text-transform: uppercase; */}
h2 {font-size: 2.5rem;}
h3 {font-size: 25px;}
h4 {font-size: 20px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}
.menu-bar {text-align: left;width: 30px;}
.menu-bar span {height:2px;background:var(--secondarycolor);display:block;margin-bottom:6px}
.menu-bar span:nth-child(1) {width:17px}
.menu-bar span:nth-child(2) {width:30px}
.menu-bar span:nth-child(3) {width:15px;margin-left:auto;margin-bottom:0}

#scrolleffect {padding-top: 6.25rem; margin-top: -6.25rem;}
.smalltext{text-transform: uppercase;letter-spacing: 5px;display: block;text-align: center}

.btn-primary{background:var(--tertiarycolor);padding: 1rem 2rem;margin: 2rem 0 0;display: table;color:#fff;transition: .6s ease-in-out;text-transform:uppercase;border-radius:0.5rem;letter-spacing:1px;font-weight:500;line-height: 1.2;}
.btn-primary:hover{background:var(--secondarycolor);color:#fff;}

.more-btn{padding: 10px 35px;border: 1px solid var(--secondarycolor);margin:1rem 0;display:inline-block}
.more-btn:hover{background:var(--secondarycolor);color:#fff !important; }

#slider,.navigation-wrapper{position:relative}
#slider:before{content:"";position:absolute;left:0;top:0;bottom:0;width:50%;clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
  background: #2623629c;z-index:1}
#slider img{width:100%;object-fit:fill}
.slider-nav {width: 95%;
  margin:10px auto;
  position: absolute;
  left: 0rem;
  right: 0rem;
  top: 40%;
z-index: 3;
}
button.arrow {background:#f1f1f1;color:#555;border:none;padding:5px 10px;font-size:30px;border-radius:100%;width:40px;cursor:pointer;line-height:100%}
button.arrow:hover {color:#000;}
button.arrow--left {float:left;}
button.arrow--right {float:right;}

.carousel-caption {right: 0;top: 0;left: 0;z-index:2;position:absolute;bottom: 0;}
.textblock{margin-top:8rem;width:39%;}
.carousel-caption h1{/*! font-size: 3.5rem; */letter-spacing: 1px;color: #fff;line-height: 1.5;font-weight: 500;}
.carousel-caption span{font-weight: 900;color:#F68C19;}
.carousel-caption p{color: #fff;font-weight: inherit;}

#about{padding: 4rem 0;width: 100%;/*! text-align: center; */text-align: justify;}
.line{height:3px;width:180px;background:var(--tertiarycolor);display: table;}
#about p{margin: 15px 0;}
#about .row{align-items:center}
.abtimage{width:540px;float:right}

#services{width: 100%;padding: 5rem 0;background:url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-Service-bg.webp') no-repeat center top / contain ;text-align: center}
.titlesec{color:#fff;margin: 0 auto;width:70%;text-align: center}
#services .titlesec h2,#keyfacts .titlesec h2{color:#fff}
#services .line,#keyfacts .line{margin: 1rem auto 0.8rem}
#services .row{gap: 2.8rem;justify-content: center;margin-top:2rem}
.servicebox{flex:1 0 360px;max-width:360px;border-radius: 1rem;overflow: hidden;background:#fff;box-shadow: 0px 5px 10px rgb(38,35,98,0.5);transition: 0.6s ease-in-out;}
.servicebox .content{padding: 1rem}
.servicebox .link{color:var(--secondarycolor);font-weight:700;margin-top:1rem;transition:inherit}
.servicebox:hover{background:var(--secondarycolor);color:#fff}
.servicebox:hover h3,.servicebox:hover .link{color:#fff}

.otherservice{margin-top:4rem}
.otherservice .row{gap:2rem !important;}
.otherservice .row a{border-radius:1rem;box-shadow: 0px 0px 10px rgb(0,0,0,0.2);flex:1 0 300px;max-width:360px;padding:1.2rem;font-family:var(--primaryfont);color:var(--secondarycolor);font-size:1.3rem;transition:0.6s ease-in-out}
.otherservice .row a:hover{background:var(--secondarycolor);color:#fff}

#whyus{width: 100%;padding:4rem 0;background: url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-Why-Us.webp') no-repeat right bottom/ contain;}
#whyus ul{margin-top:2rem}
#whyus li{position: relative;margin-bottom:2rem;padding-left:3rem;list-style: none;line-height:1.4}
#whyus li:before{content:"";background:url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-paint-brush.webp') no-repeat center / contain;width:60px;height:60px;position: absolute;left: -1rem;margin-top:0.3rem}
#whyus li span{display: table;color:var(--secondarycolor);font-family: var(--primaryfont);font-size:1.3rem;margin-bottom:5px}

#keyfacts{width: 100%;background:url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-Key-Fact.webp') no-repeat center top / cover;padding: 5rem 0}
#keyfacts .row{gap:1.8rem;margin-top:2rem;justify-content: center;}
#keyfacts .factbox{flex:1 0 300px;max-width:270px;padding:1.5rem;color:#fff;text-align:center;border:2px solid var(--tertiarycolor);border-radius:1rem}
#keyfacts .btn-primary{margin:2rem auto 0}
.number {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

#beforeafter{position:relative;width: 100%;padding:4rem 0;text-align: center}
#beforeafter .line,#testimonials .line{margin:1rem auto;}
#beforeafter .keen-slider h3{text-align: left;font-size:1.2rem;margin-top:1rem}
#beforeafter img{width: 100%;}

#testimonials .slider-nav, #beforeafter .slider-nav{width:100%}

#testimonials{padding: 2rem 0px 6rem;width: 100%;text-align: center}
#testimonials .keen-slider__slide{border:1.5px solid #555;border-radius:1rem;padding:2rem;margin-top:1rem;margin-bottom:1rem}
.quote{width:100px;margin: 0 auto 1rem}
.rating{width:140px;margin: 1rem auto}
.name{font-weight: 600;text-transform: uppercase;font-size:20px}

.column{column-count: 2;margin:}
.column3{column-count: 3;}


#contactform{margin: 0 0 20px 0;line-height: 20px;}
#contactform *{font-size: 15px;color:#595966;font-family: var(--secondaryfont)}
#contactform h3{font-size:26px;text-align: center;}
#contactform i{font-size:26px;}
#contactform p{margin: 0;}
#contactform h2{font-size: 24px;margin:25px 0 15px;font-weight:bolder;border-bottom:1px solid #63C6C1;padding:0 0 8px 0;}
#contactform input,#contactform select{width: 100%;background: #FFF;border: 1px solid #ccc;padding: 10px 20px;
	margin: 10px 0;color:#595966;-webkit-border-radius:10px}
#contactform textarea{width: 100%;height: 125px;background: rgba(255,255,255,0.2);border: 1px solid #ccc;padding: 20px;margin: 10px 0;border-radius:10px}
#contactform input:focus, #contactform textarea:focus, #contactform select:focus{outline:none;
	background: rgba(255,255,255,0.5);border: 1px solid var(--tertiarycolor);color:var(--tertiarycolor)}
#contactform .wpcf7-spinner{display: none}

::-webkit-input-placeholder { /* WebKit browsers */color:#595966 !important;opacity: 1;}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */color:#595966 !important;opacity: 1;}
::-moz-placeholder { /* Mozilla Firefox 19+ */color:#595966 !important;opacity: 1;}
:-ms-input-placeholder { /* Internet Explorer 10+ */color:#595966 !important;opacity: 1;}

#contactform input.wpcf7-submit{background: var(--tertiarycolor);color: #fff;text-transform: uppercase;cursor: pointer;padding: 0.5rem;border: none;margin: 15px 0;display: table;width: 200px;transition: 0.6s ease-in-out;letter-spacing: 1px;border: 1px solid var(--tertiarycolor);height: 48px;-webkit-border-radius: 0.5rem;font-size:17px}
#contactform input.wpcf7-submit:hover{background: var(--secondarycolor);color: #fff;}

textarea, iframe{max-width: 100%;}
.wpcf7-response-output{color:#595959 !important;background:tranparent !important;border:0px !important}
#contactform .wpcf7-not-valid-tip {background: var(--secondarycolor) !important;}

#babyseat p,#returnjourney p{width: 100%;display: flex;align-items:center}
#contactform .wpcf7-radio{display: flex;}
#contactform .wpcf7-list-item{display: flex}
#contactform .wpcf7-list-item label{width: 100%;}
#contactform .wpcf7-radio input{width:unset}

.post {padding: 0 10px;/*! margin: 0 0 10px 0; */}
.post p {margin-bottom:1rem}
.post p a {/*! font-weight: bold; */}
.post a {color: #000;}
.list {margin:1rem 0;}
.list li {list-style :none;margin: 0 0px 10px 0px;display: flex;list-style-position: inside;padding-left:1.5rem;position: relative;}
.list li:before{content:"";background:url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-paint-brush.webp') no-repeat center / contain;width:22px;height:22px;position: absolute;left:0rem;margin-top:0.3rem}

#pagetitle {padding:2rem 0;text-align: center;background:var(--secondarycolor);color:#fff;background-size:cover;position: relative;width: 100%;}
#pagetitle h1 {color:#fff;text-align: center;font-weight:500;font-size:2rem;margin:5px}
#pagetitle p {color:#fff;text-align: center;font-size: 20px;}
.breadcrumb {list-style: none;border-radius: 4px;max-width: 100%;float: none;font-size: 14px;text-transform: uppercase;color:#fff;font-weight: 300;}
.breadcrumb a{color:#fff}
.breadcrumb a:hover{color:var(--tertiarycolor);}
.breadcrumb>li {display: inline-block;}
.breadcrumb>li+li:before {content: "\f101";padding: 0 5px;color: #fff;font-family:'Font Awesome 5 Free';font-weight:900}
/* #pagetitle .breadcrumb> a {color: #fff} */

#main{padding: 4rem 0;}
#main h2{font-size:1.8rem}
#main p{color:var(--primarycolor);font-size: 16px;text-align:justify;}
#main a{color:var(--primarycolor)}
#main a:hover{color:var(--tertiarycolor);}
#main h3{margin-top: 2rem;}
#main li{/*! list-style: none; */line-height: 30px;color: var(--primarycolor);}
#main ol{margin-left:1.5rem}

.page-id-32 #main{padding: 0}
.page-id-46 #main{padding-bottom:0}
.contactinfrow{background:var(--secondarycolor);    width: 99.335vw;
    position: relative;
    margin-left: -49.99vw;
    left: 50%;
    padding: 1rem 0 3rem;margin-bottom:5rem;}
.contactinfrow .col-md-4{display:flex;align-items: center;}
.contactinfrow img{width:50px}
.cinfo{margin-left:12px;}
.contactinfrow p,.contactinfrow a{color:#fff !important;line-height:1.5;text-align: left !important;margin-bottom: 0;}
.page-id-32 #main .col-md-6 img,.page-id-46 #main  .col-md-6 img{width:500px;float:right}

.widget {padding: 0 1rem;}
.widget ul li {display:flex;list-style-type:none;border-bottom: 1px dashed var(--primarycolor);margin: 0 0 1rem 0;}

#sidebar{position: sticky;top:1rem}
#sidebar ul{background:#f1f1f1}
#side li{padding: 0 30px;  position: relative;border-bottom:1px solid #ccc;list-style: none;}
#side li:last-child{border: 0}
#side li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;
  transition: all 500ms ease;
  z-index: 2;
}
#side li a:hover{color:var(--secondarycolor)}
#side li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 6px;
  height: calc(100% - 50px);
    background:var(--secondarycolor)
}
#side li::after {
  content: "";
  position: absolute;
  width: 0;
  height: calc(100% + 1px);
  top: -1px;
  right: 0;
  background-color: #3fa9f545;
  z-index: 1;
  transition: all 500ms ease;
}
#side li:hover::after {
  left: 0;
  width: 100%;
}

.quotebox{margin-top:2rem;position:relative;overflow: hidden;max-width: 400px;height: 400px;background: url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/Mobile-Slider.webp') no-repeat center / cover;display: flex;align-items: end;justify-content: center;}
.quotebox:before{content:"";position: absolute;
  bottom: -3px;
  left: 0;
  width: calc(100% + 5px);
  height: calc(100% - 190px);
  clip-path: polygon(0 35%, 100% 0%, 100% 99%, 0% 100%);
  background-color: var(--tertiarycolor);
  z-index: 1;}
.more-btn{z-index:2;position: relative;/*! bottom: 3rem; *//*! left: 0; *//*! right: 0; */margin: 0 auto 4rem;display: table;background: var(--primarycolor);color: #fff !important;padding:0.5rem 1.8rem}
.more-btn:hover{background:#fff;color:var(--primarycolor) !important;}


#flogo{background:#fff;display: table;padding:3rem  1rem ;border-radius: 0 0 2rem 2rem;position:absolute;top:0}
#bottom {background: url('https://www.mgpropainting.ca/wp-content/uploads/2026/01/mgpropainting-Footer-Bg.webp') no-repeat center / cover;color:#fff;font-size: 15px;padding:0rem 0 1rem;position: relative}
#bottom .col-md-9{padding:5rem 15px 2rem;}
#bottom a {color: #fff;}
#bottom a:hover {opacity: 0.7;}
#bottom .widget h3 {border: none;text-align: left;font-weight: 700;color: #fff;font-size:18px;text-transform: uppercase;margin-bottom:1.2rem;}
#bottom .widget li {border: none;text-decoration: none;color:#fff ;list-style: none;}
.social{display: flex;gap:10px}
.social a{width:32px}

#bottom .footer-contact li:before{font-family:'Font Awesome 5 Free';font-weight:900}
#bottom .footer-contact .address:before {content: "\f3c5"; margin-right: 10px;}
#bottom .footer-contact .phone:before {content: "\f879"; margin-right: 10px;transform: rotate(80deg);}
#bottom .footer-contact .email:before {content: "\f0e0"; margin-right: 10px;}

.info li{line-height:30px;display:flex;font-weight:300;}
.info .address:before {content: "\f3c5"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .phone:before {content: "\f095"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .email:before {content: "\f0e0"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}


#footer {clear: both;text-align: center;font-size:12px;margin-top:3rem}
.fleft {float: left;}
.fright {float: right;}

.phone-call {width: 50px;height: 50px;left: 20px;bottom: 20px;background:var(--tertiarycolor);position: fixed;text-align: center;color: #ffffff;cursor: pointer;border-radius: 50%;z-index: 999;display: inline-block;line-height: 65px;font-size: 1.6rem;line-height: 50px;animation: shake 1.8s linear infinite alternate;}
.phone-call i{color:#fff;}
.phone-call:before {position: absolute;content: " ";z-index: -1;top: -15px;left: -15px;background-color:var(--secondarycolor);width: 80px;height: 80px;border-radius: 100%;animation-fill-mode: both;-webkit-animation-fill-mode: both;opacity: 0.6;-webkit-animation: pulse 1s ease-out;animation: pulse 1.8s ease-out;-webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;}
.fa-phone-alt::before {content: "\f879";}
@-webkit-keyframes pulse {
    0% {-webkit-transform: scale(0);opacity: 0;}
    25% { -webkit-transform: scale(0.3); opacity: 1; }
    50% {-webkit-transform: scale(0.6);opacity: .6;}
    75% {-webkit-transform: scale(0.9);opacity: .3;}
    100% {-webkit-transform: scale(1);opacity: 0;}
}

@keyframes shake{
    50%{transform:scale(1.1)rotate(90deg)}
}

@keyframes pulse {
    0% {transform: scale(0);opacity: 0;}
    25% {transform: scale(0.3);opacity: 1;}
    50% {transform: scale(0.6);opacity: .6;}
    75% {transform: scale(0.9);opacity: .3;}
    100% {transform: scale(1);opacity: 0;}
}

@media screen and (max-width: 981px) {
body {min-width: 230px;}
.desktoponly {display: none !important;}
.inner {width: 100%;padding: 0%;}
img.alignleft,
img.alignright {float: none;display: block;margin: 10px auto;}
.site-menu-toggle{display: block;color: var(--secondarycolor);}
.site-navbar{display: none;}

.header_area .col-md-2{display:flex;align-items:center;justify-content:space-between}
#logo .site-title{margin: 10px 0;}
#logo img{/*! width: 200px; */height: auto;float:left;}
  #top-bar{display: none}
  
  #slider::before{display: none}
  .carousel-caption{position: relative;background:var(--secondarycolor);padding:3rem 2rem}
  .textblock{margin: 0;width:100%;text-align: center}
  .carousel-caption h1{line-height: 1.3}
  #slider .btn-primary{margin: 2rem auto 0}
  #slider .btn-primary:hover{background:#fff;color:Var(--secondarycolor)}
  h1{font-size:2rem}
  
  .abtimage{float:none;margin: 1rem auto 0}
  #services{background-size: 100% 450px;}
  .titlesec{width:100%}
  .servicebox{max-width: 400px}
  #bottom .col-md-9 .widget {margin-top:1.5rem;display: ;}
  #whyus{background-color:rgb(255,255,255,0.6);background-blend-mode: overlay;padding:1rem 10px;}
  #flogo{position: relative;margin: 0 auto;display: table;width: 300px;}
  .contactinfrow .row{gap:2rem 0;}
#bottom {width: 100%;display: block;}
.fleft, .fright {float: none;}
  
  #testimonials .slider-nav, #beforeafter .slider-nav {position: relative; display: flex; justify-content: center; gap: 1rem; margin-bottom: 0}
  #beforeafter .slider-nav {margin-top:1.5rem; margin-bottom: 0}
}


@media screen and (min-width: 981px) {
.mobileonly {display: none  !important;}
.lefthalf {float: left;width: 48%;}
.righthalf {float: right;width: 48%;}
.site-menu-toggle{display:none;}
  #testimonials .arrow--left , #beforeafter .arrow--left {margin-left: -3.5rem}
  #testimonials .arrow--right , #beforeafter .arrow--right {margin-right: -3.5rem}
}

@media screen and (max-width: 600px) {
.wp-pagenavi span.pages, .wp-pagenavi a , .wp-pagenavi a.nextpostslink  {padding: 0.3rem 0.6rem !important;}
.wp-pagenavi span.current{padding:0.8rem}
.column, .column3, .column4{column-count:1}
  #beforeafter .keen-slider h3{text-align: center}
  #beforeafter img{margin: 0 auto;}
    .contactinfrow .col-md-4{align-content: center;flex-direction:column;}
  .contactinfrow p, .contactinfrow a{text-align: center !important;}
}


@media screen and (min-width: 501px) and (max-width: 768px) {
#bottom .col-md-3{/*! width: 47%; */float: left;}
}


@media screen and (min-width: 769px) and (max-width: 1120px) {
#bottom .col-md-3{width: 47%;float: left;}
}


@media (min-width: 576px) {
.container-fluid {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container-fluid {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container-fluid {
max-width: 1040px;
}
}
@media (min-width: 1200px) {
.container-fluid {
max-width: 1350px;
}
}