/*
Template Name: fontanero

Description: HTML5 / CSS3 Multi Page
Version: 1.0
Develop by: uiCookies.com
*/

/*------------------------------------------------------------------
[Layout]

* body
  + wrapper / #wrapper
    + offcanvas-pusher /
      + content-wrapper /
        + container /
          - header
            -header-wrapper
              -header-top
              -main-nav-bar
        + container-fluid
          -banner-section
            -carousel / slide
              -carousel-indicators
              -carousel-inner
        + container /
          -welcome-section
        + container /  
          -service-section
            -tablist
            -tab-content
        + container /
          -service-activity
            -activity-head
            -activity-list-items
              -activity-list
        + quote-section /
          - container 
          - quote
        + container / 
          -our-clients-carousel
            -our-client-thumb
              -item
        + container /
          -footer-top
          -footer

-------------------------------------------------------------------*/

/*------------------------------------------------------------------
  [Color codes]


# Background   : #ffffff
# Content      : #888888
# Header h1    : #888888
# Header h2    : #888888
# Footer       : #888888

# a (standard) : #ffffff
# a (visited)  : #fdc312
# a (active)   : #fdc312
-------------------------------------------------------------------*/


/*
   * What follows is the result of much research on cross-browser styling.
   * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
   * Kroc Camen, and the H5BP dev community and team.
   */

/* ==========================================================================
     Base styles: opinionated defaults
========================================================================== */

html,
button,
input,
select,
textarea {
    color : #5555555;
    }

html {
    font-size   : 14px;
    line-height : 1.5em;
    }

/*
   * Remove text-shadow in selection highlight: h5bp.com/i
   * These selection rule sets have to be separate.
   * Customize the background color to match your design.
   */

::-moz-selection {
    background  : #B3D4FC;
    text-shadow : none;
    }

::selection {
    background  : #B3D4FC;
    text-shadow : none;
}


/*
   * Remove the gap between images, videos, audio and canvas and the bottom of
   * their containers: h5bp.com/i/440
*/

audio,
canvas,
img,
video {
    vertical-align : middle;
    }

/*
   * Remove default fieldset styles.
   */

fieldset {
    border  : 0;
    margin  : 0;
    padding : 0;
    }

/*
   * Allow only vertical resizing of textareas.
   */

textarea {
    resize : vertical;
    width:100%;
    border: 1px solid #e8e8e8;
    padding: 1em 1.5em;
}

p, ul, ol, pre, table, blockquote {
  margin-top: 1rem;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
hr {
  border: 1px solid;
  margin: -1px 0;
}
a,
a:active,
a:focus,
a:active {
    text-decoration : none !important;
    outline         : none
    }

a {
    color           : #fdc312;
    text-decoration : none;
    transition      : all 0.2s ease 0s;
    }

a:hover,
a:focus {
    color           : #fdc312;
    text-decoration : underline;
    }

ul {
    margin     : 0;
    padding    : 0;
    list-style : none
    }

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Raleway', sans-serif;
    color       : #333;
    margin      : 0;
  }

h1 {
  font-weight: 600;
  font-style: inherit;
  font-size: 2.571rem;
  line-height: 1.111em;
}

h2 {
  font-weight: 600;
  font-style: inherit;
  font-size: 2.143rem;
  /*line-height: 0.700em;*/
      line-height: 1.1em;
}

h3 {
  font-weight: 600;
  font-style: inherit;
  font-size: 1.714rem;
  line-height: 1.875rem;
  margin: 0rem;
}
h4 {
  font-weight: 600;
  font-style: inherit;
  font-size: 1.286rem;
  line-height: 1.875rem;
  margin: 0rem;
}


.btn{
    background: #FDC312;
    color: #ffffff;
    text-transform: uppercase;
    padding: 4px 18px;
    margin-top: 20px;
    border-radius: 0;
    display: inline-block;
    -webkit-transition         : all 0.3s ease 0s;
    -moz-transition            : all 0.3s ease 0s;
    -o-transition              : all 0.3s ease 0s;
    transition                 : all 0.3s ease 0s;
}

.btn:hover, .btn-default:hover{
    background: #3c4461;
    color:#ffffff;
    border-color:#3c4461 !important;
}
.btn-default.focus, .btn-default:focus {
    color: #ffffff;
    background-color: #3c4461;
    border-color: #3c4461 !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    color                      :#333;
    font-weight                : 400;
    font-style                 : normal;
    font-size                  : 1.2rem;
    line-height                : 1.857em;
    -webkit-text-size-adjust   : 100%;
    -webkit-overflow-scrolling : touch;
    -webkit-font-smoothing     : antialiased !important;
    -webkit-transition         : all 0.3s ease 0s;
    -moz-transition            : all 0.3s ease 0s;
    -o-transition              : all 0.3s ease 0s;
    transition                 : all 0.3s ease 0s;

}

.wrapper{
  background:#fff;
}
.header-top{
  background: #ffffff;
  padding: 30px 0 22px 0;
  overflow: hidden;
}
.logo {
  
}

.header-connection{
  text-align: right;
  line-height: 1.5em;
}
.header-top strong{
  color:#55595d;
 }
.social li{
  display:inline-block;
  padding:0 6px;
}
.social li:last-child{
  padding-right: 0;
}
.social a {
    color: #a4a4a4;
    font-size: .8rem;
}
.social a:hover{
  color:#fdc312;
}
.header-top p{
  margin:0;
}

/*----------------------------
 Navigation  bar Style
-----------------------------*/

.main-nav-bar{
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color:transparent;
}
.navbar-collapse,
.navbar-default {
    background-color: transparent; 
    border-color: transparent;
}
.navbar{
    margin:0;   
    min-height: 0;
}
.main-nav{
  padding-left: 0px;
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-radius: 0;
}
.main-nav li{
    display:inline-block;
    margin: 12px 30px 14px 0;
}
.main-nav .active{
   border-top:1px solid #fdc312;
}
.main-nav li a{
    font-family: 'Open Sans', sans-serif;
    font-size:1rem;
    display: inline;
    margin-bottom: 0;
    padding:21px 0;
    font-weight:600;
    color: #888888;
}
.main-nav li > a:hover, .main-nav li > a:focus{
    color:#6c6c6c;
    background: transparent;
    border-top:1px solid #333333;
}

/*---------------------------
Breadcrumb
-------------------------*/
.breadcrumb-area{
  overflow: hidden;
  background: #ffffff;
}
.breadcrumb{
  background: #ffffff;
  padding: 15px 0 0 15px;
  margin-bottom: 1.1em;
}
.breadcrumb a{
  color: #999999;
  font-weight: 400;
}
.breadcrumb .active{
  color:#000000;
}
.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #999999;
    content: "\f101";
    font-family: FontAwesome;
}

/*---------------------------
Dropdown menu style
-------------------------*/
/* Your existing styles */
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: transparent;
    border-color: none;
}

.main-nav .dropdown-menu {
    min-width: 250px;
    background: #333333;
    border-radius: 0;
    left: -20px;
    display: none; /* Hide by default */
    opacity: 0;
    border: 0;
    padding: 15px 0;
    margin-top: 0; /* Remove margin */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: absolute; /* Add position absolute */
    z-index: 1; /* Ensure it's above other elements */
}

.main-nav .dropdown-menu li {
    display: block;
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
}

.main-nav .dropdown-menu li:first-child {
    padding-top: 0;
}

.main-nav .dropdown-menu li a {
    color: #ffffff;
    display: block; /* Change to block for full width */
    padding: 10px 30px; /* Adjust padding for better spacing */
    text-decoration: none; /* Remove underlines */
}

.main-nav .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Add a subtle hover effect */
    color: #ffffff;
}

/* Show the sub-menu when hovering over parent menu item */
.main-nav .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    left: 0; /* Adjust the positioning */
    top: 150%; /* Align with parent item's top */
}



/* Show the sub-menu to the right of parent menu item */
.main-nav .dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px; /* Add a negative margin to align borders */
}
/* Position the submenu relative to the dropdown-submenu container */
.main-nav .dropdown-submenu {
    position: relative;
}

.header-right {
    text-align: right;
    margin-right: -2px;
}

#header-right input {
    width: 28px;
    line-height: 3.3em;
    box-sizing: border-box;
    border: 0px;
    border-radius: 0px;
    font-size: 1em;
    margin-top: 1px;
    background-color: transparent;
    padding: 0;
    -webkit-transition: width 0.2s linear;
    -moz-transition: width 0.2s linear;
    transition: width 0.2s linear;
}

input.empty {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

#header-right input[type=search]:focus {
    width: 250px;
    outline: none;
    background: #eee;
    padding: 0 10px;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width : 767px) {
    .logo{
      margin-bottom: 15px;
    }
    .header-wrapper {
      padding: 0; 
    }

    .header-connection {
        text-align: left;
    }

    .navbar-default .navbar-toggle {
      padding: 0 .5em;
      top: -6px;
    }
    .main-nav-bar{
      position:absolute;
      top:2.857em;
      right:0;
    }
}

/*---------------------------
offcanvas-menu
--------------------------*/
.offcanvas-menu {}
.offcanvas i{
  font-size:1.75rem;
  color:rgba(0,0,0, .8);
}
.offcanvas button{
    margin: -1.2em -0.8em;
}
.navbar-header .navbar-toggle:focus, .navbar-header.navbar-toggle:hover {
    background-color: transparent;
}
.offcanvas-menu h1 {
  font-size: 1.4rem;
  padding: 1em 1.7em;
  color: #999;
  text-transform: capitalize;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.7em;
}

#menu>li {
  line-height: 2.5em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#menu>li:last-child {
  border-bottom: 0;
}
#menu>li ul li{
  margin-left: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#menu li a {
  display: block;
  text-decoration: none;
  color: #999999;
  padding: 0 1em;
}
#menu li a:hover,
#menu li.active a {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.offcanvas-menu .close {
  color: #fff;
  text-shadow: none;
  filter: alpha(opacity=100);
  opacity: 1;
  width: 38px;
  height: 38px;
  -webkit-transition      : all 0.3s ease 0s;
  -moz-transition      : all 0.3s ease 0s;
  -o-transition      : all 0.3s ease 0s;
  transition      : all 0.3s ease 0s;
}
.offcanvas-menu .close:hover {
  background: rgba(0,0,0, .3);
  color:#fdc312;
}



/*-----------------------
 * Image Alighnment
 *-----------------------*/


  .alighn-left{
    float: left;
    margin:15px 15px 0 0;
  }

  .alighn-right{
    float: left;
    margin:15px 0 15px 15px;
  }

/*----------------------------------------------
  Banner-section
------------------------------------------*/
.container-fluid{
  padding:0;
}
.carousel-caption{
    right: 15%;
    /*left: 49%;
    bottom: 50px;
    text-align: left;
    */
    left: 15%;
    bottom: 100px;
    padding-bottom: 30px;
    text-align: center;
    text-shadow: none;
}
.carousel-caption h1{
  color:#ffffff;
  line-height: 1.2;
  text-transform: uppercase;
  font-size:5rem;
}
.carousel-caption p{
  color:#ffffff;
  font-size:35px;
}

.carousel-indicators li {
    width: 4px;
    height: 4px;
    background: #ffffff;
}
.carousel-indicators .active {
    width: 6px;
    height: 6px;
    background: #FDC312;
    border:1px solid #FDC312;
}

@media(min-width: 768px) and (max-width: 1199px){
  .carousel-caption{
    bottom:1em;
  }
  .carousel-caption h1 {
    font-size:1.5rem;
  }
  .carousel-caption p {
    margin:0;
  }
  .carousel-caption a {
    margin-top:7px;
    padding:0 8px;
  }
  .carousel-indicators {
    bottom: 0px;
  }
}

/*--------------------------------------------
  Welcome section style
--------------------------------------------*/
.welcome-section{
  padding:5em 0;
  overflow: hidden;
}
.welcome-thumb{
  float:left;
  width:36%;
  padding-right: 50px;
}
.welcome-content{
  float:left;
  width:64%;
}

@media(max-width: 767px){
  .welcome-thumb{
    width:100%;
    padding:0 0 1em;
  }
  .welcome-content{
    width:100%;
  }
}

/*--------------------------------------------
  Service section style
--------------------------------------------*/
.service-section{
  overflow: hidden;
  padding-top: 5em;
  padding-bottom: 5em;
}

.tablist{
  padding: 1.5em 0;
  border: 1px solid rgba(0, 0, 0, .05);
  border-left:0;
  border-right:0;
  margin-bottom: 5em;
}
.service-section li:first-child{
  font-size: 1.571em;
  margin-right: 9.286em;
  padding: 0;
  border:0;
}
.service-section li{
  border-radius: 0;   
  padding: 0 1em;
  display: inline-block;
  border-left: 2px solid rgba(0,0,0,.3);
}
.service-section li:last-child{
  border-right: 2px solid rgba(0,0,0,.3);
}
.service-section li a{
    border-radius: 0;
    border: 0;
    margin: 0;
    color: #888888;
    font-weight: bold;
    font-size: 1.571rem;
    text-transform: uppercase;
    padding-bottom: 1em;
}
.service-section .active a, 
.service-section .active a:focus, 
.service-section .active a:hover  
{
  color: #fdc312;
  background: #ffffff;
  border-bottom: 2px solid #fdc312;
}
.service-section li a:hover{
  color: #fdc312;
  background: #ffffff;
  border-bottom: 2px solid #fdc312;
}

.service-item{
  position: relative;
  margin-bottom:2.1em;
}
/*
.service-item::before{
  content: " ";
  position: absolute;
  width:100%;
  height: 100%;
  left:0;
  top:0;
  background: #fdc312;
  opacity: 0;
  -webkit-transition : all 0.3s ease 0s;
  -moz-transition    : all 0.3s ease 0s;
  -o-transition      : all 0.3s ease 0s;
  transition         : all 0.3s ease 0s;
}
*/
.service-item:hover::before{
  opacity: .9;
}
.service-description{
  position: relative;
   
    padding: 15px 0;
}
.service-description h2, .service-description h3{
    color: #333;    
    line-height: 2.4rem;    
        font-size: 1.714rem;
    /*text-transform: uppercase;*/
}
.service-description p{
  color:#ffffff;
  opacity: 0;
  visibility: hidden;
  margin-bottom: -7em;
  -webkit-transition : all 0.3s ease 0s;
  -moz-transition    : all 0.3s ease 0s;
  -o-transition      : all 0.3s ease 0s;
  transition         : all 0.3s ease 0s;
}

.service-item:hover p{
    opacity: 1;
    visibility: visible;
    margin-bottom: 0;
}
/*
.service-item:hover .service-description h3{
    border-left: 5px solid #ffffff;
}
*/
@media(max-width: 767px){
  .service-section li:first-child {
    margin-right: 0;
  }
  .service-section li a {
    font-size: 1rem;
  }
}
@media(min-width: 480px) and (max-width: 991px){
  .service-section li:first-child {
    margin-right: 2rem;
  }

}

/*------------------------------------------------------
  Service activity style
---------------------------------------------------*/
.service-activity{
  padding: 5em 0;
}
.activity-head{
    padding: 0 20em;
    text-align: center;
}
.activity-head h2{
  line-height: 1.5em;
  font-weight:400;
  color:#888888;
}
.activity-head h2 span{
  color:#fdc312;
  text-transform: uppercase;
}
.activity-list-items{
  padding:5em 0;
  overflow: hidden;
}
.activity-list{
  overflow: hidden;
}
.activity-icon{
  float: left;
  width: 17%;
  padding-right: 1.5em;
  text-align: center;
}
.activity-icon i{
    background: #fdc312;
    padding: 0.52em;
    font-size: 1.5rem;
    color:#ffffff;
}
.activity-details{
  float:right;
  width:83%;
}
.activity-details h4{
  color: #333333;
  font-size: 1rem;
}

@media(max-width: 767px){
  .service-activity {
    padding: 0;
  }
  .activity-head {
    padding: 0;
  }
  .activity-head h2{
      font-size: 1.5em;
  }
  .activity-list{
    margin-bottom: 2em;
  }
}
@media(min-width: 768px) and (max-width: 1199px){
  .activity-head {
    padding: 0 6em;
  }
  .activity-icon {
    width: 20%;
  }
  .activity-details {
    width: 80%;
  }
}

/*------------------------------------------------
  Section-quote style
---------------------------------------------*/
.quote-section{
  background: url(../img/quote-bg.jpg)no-repeat scroll center 0;
  height:400px;
}
.quote{
  padding: 7em 20em;
  text-align: center; 
}
.quote h2{
  color:#ffffff;
  line-height: 2em;
}
.quote p{
  color:#ffffff;
}
.quote a{
  font-size: 1.2rem;
  line-height: 2.5em;
  padding: 4px 2.5em;
}

@media(max-width: 767px){
  .quote{
    padding: 5em 0em; 
  }
}
@media(min-width: 768px) and (max-width: 1199px){
  .quote{
    padding: 5em 10em; 
  }
}

/*------------------------------------------------
 our-clients-section
-------------------------------------------------*/
.our-clients-carousel{
  padding: 5em 0;
  text-align: center;
}
.our-clients-carousel h2{
  font-weight:400;
  color:#888888;
  padding-bottom: 2.3em;
  line-height: 1.5em;
}


/*------------------------------------------------
 footer-top style
-----------------------------------------------*/
.footer-top{
  overflow: hidden;
  padding: 5em 0;
  border:1px solid rgba(0,0,0, .05);
  border-left: 0;
  border-right: 0;
}
.footer-top p, 
address{
  font-size: .9rem;
}
.footer-logo img{
    padding-top: .5em;
    margin-bottom: 1em;
}
.footer-top h4{
    color: #888;
    margin-bottom: 1.5em;
}
.news .date{
color:#dddddd;
}
.news li{
    margin-bottom: 1em;
}
.news p{
  margin:0;
  line-height: 1.5em;
}
.responsability ul li{
  margin:0 0 .3em 0;
  position:relative;
}
.responsability ul li::before{
  content: "\f105" ;
  font-family: fontAwesome;
  position: absolute;
  left:0;
  color:#fdc312;
}
.responsability li a{
  font-size: .9rem;
  color:#888; 
  padding-left: 1em; 
}
.responsability li a:hover{
  color:#fdc312;
}
.contact-us span{
  display:block;
  font-weight:700;
  line-height: 2em;
}
.contact-us a{
  color: #333;
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 10px 0px;
}
.contact-us a:hover{
  color:#333;
}
.contact-us a:before {
    padding: 0 5px;
    color: #999999;
    content: "\f101";
    font-family: FontAwesome;
}
/*------------------------------------------------
 footer style
-----------------------------------------------*/

.footer{
 /* padding-bottom: 5em;*/
  overflow: hidden;
}
.footer-social{
  text-align: right;
  line-height: 3.5em;
}

@media(max-width: 767px){
  .footer-social {
    text-align: left;
  }
  .contact-us{
    margin-top:2em;
  }
}
@media(min-width: 600px) and (max-width: 767px){
  .footer-logo, 
  .news, 
  .responsability, 
  .contact-us{
    width: 50%;
    float:left;
    min-height: 212px;
  }
  .contact-us{
    margin-top:0em;
  }
}


/*--------------------------------------------------
  breadcrumb-area
-----------------------------------------------*/
.breadcrumb-area{
  background: #333;
}
.page-title h2{
  color: #ffffff;
  font-size: 1.786rem;
  font-weight:700;
  text-transform: uppercase;
  padding: 1em 0 .3em 0;
}
.breadcrumb{
  background: transparent;
  /*padding: 0;*/
}
.breadcrumb a, 
.breadcrumb>.active{
  color: #ffffff;
}

/*---------------------------------------------
  history-details
---------------------------------------*/
.history{
  padding:5em 0;
}
.history h3{
  margin-bottom: 1em;
  text-transform: uppercase;
}
.history-details img{
  width:48%;
  float:left;
  margin:.5em 2.5em 0 0;
}
.history-details p{
  margin:0 0 2em ;
}


/*----------------------------------------------
 company-focus style
--------------------------------------------*/
.company-focus{
  overflow: hidden;
  padding: 5em 0;
  border:1px solid rgba(0,0,0, .05);
  border-left: 0;
  border-right: 0; 
}
.company-focus h3{
  margin-bottom: 1em;
  text-transform: uppercase;  
}

@media(max-width: 991px){
  .company-mision{
    margin-bottom: 5em;
  }
}


/*--------------------------------------------------
  Service style
-------------------------------------------------*/
.residential-plumb{
  overflow: hidden;
  padding: 5em 0;
}
.residential-plumb h2, 
.commercial-plumb h2{
  margin-bottom: 1.5em;
  padding-left: .5em;
  text-transform: uppercase;
}
.residential-plumb .service-description p,
.commercial-plumb .service-description p{
  color:#ffffff;
  opacity: 0;
  visibility: hidden;
  margin-bottom: -12em;
  -webkit-transition : all 0.3s ease 0s;
  -moz-transition    : all 0.3s ease 0s;
  -o-transition      : all 0.3s ease 0s;
  transition         : all 0.3s ease 0s;
}
.residential-plumb .service-item:hover p,
.commercial-plumb .service-item:hover p{
    opacity: 1;
    visibility: visible;
    margin-bottom: 0;
}
.residential-plumb .service-description,
.commercial-plumb .service-description{
  padding: 5.2em 1.5em 1.5em 1.8em;
  bottom: 1.5em;
}
.service-description h2{
  visibility: visible;
  opacity: 1;
}
.residential-plumb .service-description a,
.commercial-plumb .service-description a{
  visibility: hidden;
  opacity: 0;
  color:#666666;
  text-transform: uppercase;
  background: #ffffff;
  padding: 0.5em 0.857em;
  font-weight: 600;
  margin-top: 1em;
  display: inline-block;
}
.residential-plumb .service-item:hover .service-description a,
.commercial-plumb .service-item:hover .service-description a{
    opacity: 1;
    visibility: visible;
}
.residential-plumb .service-item:hover .service-description a:hover,
.commercial-plumb .service-item:hover .service-description a:hover{
  background: #3c4461;
  color:#ffffff;
  border-color: #3c4461;
}
.residential-plumb .service-item:hover .service-description,
.commercial-plumb .service-item:hover .service-description{
    border: 2px solid #ffffff;
    overflow: hidden;
    margin: 1.5em;
    opacity: 1;
    visibility: visible;
    bottom: 0;
    padding: 5.2em 0 1.5em 1.8em;
}
.commercial-plumb{
  overflow: hidden;
  padding: 5em 0;
  border:1px solid rgba(0,0,0, .05);
  border-left: 0;
  border-right: 0; 
}

@media(max-width: 480px){
  .residential-plumb h2, 
  .commercial-plumb h2{
    font-size: 1.7rem;
  }
  .residential-plumb .service-item:hover .service-description, 
  .commercial-plumb .service-item:hover .service-description {
    margin: 0.5em;;
    padding: 2.6em 0 0.5em 1em;
  }
}
@media(min-width:600px) and (max-width: 767px){
  .residential-plumb .service-item:hover .service-description, 
  .commercial-plumb .service-item:hover .service-description {
    margin: 4.5em;
    padding: 9.6em 2em 2.5em 2em;
  } 
}
@media(min-width:768px) and (max-width: 991px){
  .residential-plumb .service-item:hover .service-description, 
  .commercial-plumb .service-item:hover .service-description {
    padding: 4.5em 0 1.5em 0.8em;
  } 
}
@media(min-width:992px) and (max-width: 1199px){
  .residential-plumb .service-item:hover .service-description, 
  .commercial-plumb .service-item:hover .service-description {
    margin: 0.5em;
    padding: 1.6em 0 1.5em 1.8em;
  } 
}

/*-----------------------------------------------------------
 Single-page style 
---------------------------------------------------------*/
.single-details{
  padding:5em 0;
  overflow: hidden;
}

@media(max-width: 991px){
  .single-thumb{
    width:100%;
    margin-bottom:4em;
    padding:0;
  }
  .single-content{
    width:100%;
  }
}

/*------------------------------------------------------
  Map area
-----------------------------------------------------*/
.map-head{
  padding-top: 5em;
}
.map-area{
    position:relative;
    padding-top:4.286em;
}
.map-canvas {
    height     : 300px;
}

/*------------------------------------------------------
  Contact Us
------------------------------------------------------*/
.form-section{
  overflow: hidden;
  padding: 5em 0;
  border-bottom:1px solid #e8e8e8;
}
.main-contact-form h4{
  text-transform: uppercase;
}
.main-contact-form p{
  margin-bottom: 4em;
}
.head-office{
  margin-bottom: 1.5em;
  border-bottom:1px solid #e8e8e8;
}
.office-location{
  margin-left: 4em;
}
.head-office h4,
.newyork-office h4{
  text-transform: uppercase;
  margin-bottom: 1.5em;
}
.main-contact-form input[type=text],
.main-contact-form input[type=email],
.main-contact-form input[type=tel]{
    width: 100%;
    line-height: 3em;
    padding: 0 1.5em;
    margin-bottom: 2.2em;
    border: 1px solid #e8e8e8;
}
.main-contact-form select{
    width: 100%;
    line-height: 5em;
    padding: 10px 0.5em;
    margin-bottom: 2.2em;
    border: 1px solid #e8e8e8;
}
.main-contact-form input[type=number]{
     width: 100%;
    line-height: 3em;
    padding: 0 1.5em;
    margin-bottom: 1.2em;
    border: 1px solid #e8e8e8;
}
#full-name{
  width: 48%;
  margin-right:1em;
}
#email{
  width: 48%;
  margin-left:.8em;
}
.main-contact-form input[type=submit], .main-contact-form button{
    margin-top: 2em;
    line-height: 2em;
    padding: 8px 30px;
    text-transform: uppercase;
    border: 1px solid #fdc132;
}

@media(max-width: 767px){
  #full-name, #email{
    width:100%;
    margin:0 0 2.2em 0;
  }
  .contact-us .get-in-Touch h4{
    margin-top:2.2em;
  }
  .office-location{
    margin: 3em  0 0;
  }
  .head-office{
    border-bottom:0;
  }
}
@media(min-width: 768px) and (max-width: 1199px){
  #full-name, #email{
    width:100%;
    margin:0 0 2.2em 0;
  }
}



.main-heading{
    padding:15px 0;
    color:#333;
}
.main-heading-top{
    padding:15px 0;
    color:#fff;
}
.nopadding{
    padding: 0 !important;
   margin: 0 !important;
}
#result h2, #result h3, #resultError h2, #resultError h3 {
    color: #fff;
    padding-bottom:0;
}
.margin-top-15{
    margin-top:15px;
}
.margin-top-bottom-15{
    margin:15px 0;
}
.margin-bottom-15{
    margin-bottom:15px;
}
.main-contact-form input[type=radio] 
{
    width: 15px;
}
.margin-bottom-0{
    margin-bottom:0px !important;
}
.btn_green{
    color: #fff;
    background-color: #00782e;
    border-color: #00782e  !important;    
}
.btn_green:hover{    
    color: #fff;
    background-color: #00451a;
    border-color: #003b17 !important;    
}
.btn_blue{
    color: #fff;
    background-color: #0071bc;
    border-color: #0071bc  !important;
}
.btn_blue:hover{
    color:#fff;
    background-color:#005085;
    border-color:#005085 !important;
}
.btn_red{
    color: #fff;
    background-color: #a3352a;
    border-color: #9b3328 !important;
}
.btn_red:hover{
    color: #fff;
    background-color: #872c23;
    border-color: #66211a  !important;
} 

/*form css*/ 
.calculator {
        margin: 20px auto;        
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .calculator h2{
        padding-bottom:20px;
        line-height: 1.4em;
    }
    label {
        display: inline-block;        
        text-align: right;
        margin-right: 10px;
    }
    /*input {
        width: 100px;
        padding: 5px;
        margin-bottom: 10px;
    }*/
    button {
        padding: 8px 16px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    #result, #resultError{
        margin-top: 10px;
        padding: 10px;
        background-color: #333;
        color: #fff;
        border-radius: 5px;
        /*display: none;*/
    }
    #result p, #resultError p{
        margin-bottom:0;
    }
    #result h2, #result h3, #resultError h2, #resultError h3{
        color:#fff;
    }
    #resultError p{text-align:center; color:red;    font-weight: bold;}
    #result p{text-align:center;font-weight: bold;}
    .capitalize {
      text-transform: capitalize;
    }
    .form-control {
        height:40px;
    }
    .btn_no_margin{
        margin-top:0 !important;
        line-height: 1.6em !important;
        padding:5px 30px !important;
    }
    .no-padding{
        padding:0 !important;
    }
    .overflow{
        overflow:auto;
    }
    /* Add this CSS to your stylesheet */
.main-image img{
    max-width: 100%; /* Ensure the image doesn't exceed its container's width */
    height: auto; /* Automatically adjust the height to maintain aspect ratio */
    display: block; /* Remove any inline spacing or margins */
    margin: 0 auto; /* Center the image horizontally within its container */
}

#contactForm #email {
     width: 100%;
     margin-left: 0;
}

.logo img{
    max-width: 100%;
    height: auto;
}

#menu .dropdown-submenu{
    display:none;
    }
     .dropdown-toggle i {
        margin-left: 5px;
    }
    
    .footer-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-right: 10px; /* Adjust spacing between links */
    padding-right: 10px;
    border-right: 1px solid #efefef; /* Right border color */
}
.footer-menu li a { 
    color:#efefef;
}
.footer-menu li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none; /* Remove right border for the last link */
}

.footer-top{
    background-color: #333;
    padding: 20px 0; /* Adjust padding as needed */
    color: #efefef; /* Set text color to white */
    width: 100%; /* Make the footer span the full width */
    box-sizing: border-box; /* Include padding and border in width calculation */
}
.footer {
    background-color: #272727;    
    color: #efefef; /* Set text color to white */
    width: 100%; /* Make the footer span the full width */
    box-sizing: border-box; /* Include padding and border in width calculation */
}
.footer a{
    color:#efefef;
}

/*Calculator css*/
#result, #resultError {
    display: none;
}

ul {
    margin-left: 15px;
    list-style: decimal;
}

table {
    width: 100%;
}

th, td {
    width: 25%;
    padding-right: 2%;
}

th:nth-child(1), td:nth-child(1) {
    width: 50%;
    padding-right: 2%;
}

.clear-button {
    background-color: #872c23;
    color: white;
    border-color: #66211a !important;
    cursor: pointer;
}

.submit-button {
    background-color: #00782e;
    border-color: #00782e !important;
    color: white;
    cursor: pointer;
}

.final-exam {
    font-weight: bold !important;
}

#table1 {
    width: 100%;
}

#table1 thead,
#table1 tbody {
    width: 100%;
    display: inline-table;
}

#table1 th,
#table1 td {
    width: 33.3%;
    text-align: center;
    /* Center text horizontally in cells */
}

/* This will make the first row (thead) bold, you can adjust it as needed */
#table1 th {
    font-weight: bold;
}

.calculator {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calculator h2 {
    padding-bottom: 20px;
    line-height: 1.4em;
}

label {
    display: inline-block;
    text-align: right;
    margin-right: 10px;
}

input {
    width: 100px;
    padding: 5px;
    margin-bottom: 10px;
}

button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#result, #resultError {
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    display: none;
}
/*Calculator css end*/
.margin-left-15{
    margin-left:15px;
}
/* Style for code blocks */
.code-block {
    background-color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-family: Consolas, monospace;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Style for code text */
.code-text {
    background-color: #f7f7f7;
    color: #333;
}

/* Style for code comments */
.code-comment {
    color: #777;
    font-style: italic;
}
body.final-grade-calculator table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* Table header style */
body.final-grade-calculator th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

/* Table row style */
body.final-grade-calculator tr {
    background-color: #fff;
}

/* Table cell style */
body.final-grade-calculator td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Hover effect for table rows */
body.final-grade-calculator tr:hover {
    background-color: #f5f5f5;
}
.head-office ul{ list-style:none;}

.video-container { position: relative; padding-bottom: 56.25%; /*padding-top: 30px;*/ height: 0; overflow: hidden; }

.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.note {  
 
  margin-top: 20px;
      color: #000!important;
    background-color: #ffdddd!important;
  padding:10px;
}
.note a{
    color: #000!important;
}
.result{
    font-weight: 600;
    font-style: inherit;
    font-size: 2.143rem;
        line-height: 1.4em;
       color: #fff !important;
    text-align: left !important;
}
.h2-equal {
    padding: 20px 0;
    line-height: 1.4em;
}