/*
Author:Ajai Mathew.C. and Isham Azad
For Company Name
Verison 1.0
*/
/* 
    Created on : 7 Mar, 2020, 1:51:02 PM
    Author     : Ajai
*/

@font-face {
    font-family: "myfont";
    src: url("http://localhost/bootstrap-petro/assets/fonts/Lato-Regular.ttf") format('truetype');
}


body{
    /* font-family: myfont; */
    font-family: "Lato", Arial, sans-serif;
    overflow-x: auto;
    
}

.navbar-toggler{
    position: absolute;
    right: 0%;
    top: 12px;
    z-index: 999;
}
.navbar-toggler:focus{

    outline:none !important;
    box-shadow: none !important;
}

h1{
    /* font-family: h1font; */
    font-size:48px;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
}

h2{
    font-family: "Lato", Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #20282b;
    text-rendering: optimizeLegibility;
    font-size: 36px;
    font-weight: 400 !important;
    text-transform:uppercase;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
h4{
    font-family: "Lato", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #20282b;
    text-rendering: optimizeLegibility;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    font-size: 23px;
    line-height: 1.4;
}

.p-home{
    font-size: 19px;
    font-weight: 300;
    line-height: 24px;
}

h1 b{
    font-weight: 900 !important;    
}

a:active{
    text-decoration: none;
}

.dropdown-item {
    padding: .5rem 1.5rem;
}

.card {
    height: 7rem;
}

#logo-holder-div{
    background-color: black;
    /*background-image:  url('https://test.petrovoll.com/assets/images/bg-header-small-carbo.png');*/
    background-image:  url('http://localhost/bootstrap-petro/assets/images/comb.svg');
    background-size: 24px 14px;
    background-repeat: repeat;
}
.text-white{
    color:white;
}

.bg-navbar{
   background-color: #20282b !important;
}

.common-btn{
    padding: 10px 40px;
    border: 2px solid #20282b;
    color:#20282b;
    background-color: white;
    font-size: 16px;
    font-weight: 300 !important;

    transition-property: background-color; 
    transition-duration: .3s; 
    transition-timing-function: ease; 

}

.common-btn:hover, .common-btn:focus {
    transition-delay: .15s;
    color: #fff;
    background-color:#20282b;
    text-decoration: none;
}


.common-btn-inv{
    padding: 10px 40px;
    border: 2px solid #fff;
    color:#fff;
    background-color: #20282b;
    font-size: 16px;
    font-weight: 300 !important;

    transition-property: background-color; 
    transition-duration: .3s; 
    transition-timing-function: ease; 

}

.common-btn-inv:hover, .common-btn-inv:focus {
    transition-delay: .15s;
    color: #20282b;
    background-color:#fff;
    text-decoration: none;
}

.common-btn-footer{
    padding: 10px 40px;
    border: 2px solid #fff;
    color:#fff;
    background-color: #343a40;
    font-size: 16px;
    font-weight: 300 !important;

    transition-property: background-color; 
    transition-duration: .3s; 
    transition-timing-function: ease; 

}

.common-btn-footer:hover, .common-btn-footer:focus {
    transition-delay: .15s;
    color: #8f9395;
    border: 2px solid #8f9395;
    text-decoration: none;
}


img.icon {
    width: 60px;
}

.home-quote, .home-quote p {
    font-size: 24px;
    font-weight: 300;
    margin: 100px auto 0 auto;
    line-height: 41px;
    width: 90%;
}

.home-quote-author {
    text-align: right;
    width: 80%;
    margin: 0 auto;
    font-size: 21px;
    line-height: 41px;
    font-weight: 300;
}

.footer-a{
    text-decoration: none;
    color:white !important;
    font-size: 16px;
    font-weight: 300;
}

.footer-a:hover, .footer-a:focus{
    text-decoration: none;
    color: #898d8f !important;
}
.footer-h4:hover{
    color: #a9a9a9;;
}

.link-list{
    color:white !important;
    text-decoration: none;
}

.link-list:hover, .link-list:focus{
    color:#838789 !important;
    text-decoration: none;
}

.portfolio-title{
    position: absolute;
    width: 70% !important;
    left: 15%;
    top: 40%;
    text-align: center;
    font-size: 15px;
    color: white;
    width: inherit;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    transition: .5s ease;
    background-color: rgba(0,0,0, 0.5);
    margin-left:15px !important;
    margin-right:15px !important;
  }

  .overlay:hover , .overlay:focus {
    opacity: 0;
  }


  .overlay-inverse {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    transition: .5s ease;
    background-color: rgba(0,0,0, 0.5);
     margin-left:15px !important;
    margin-right:15px !important;
    opacity: 0;
  }

  .blog-img-container-inverse:hover .overlay-inverse{
      opacity:1;
  }

  .blog-img-container-inverse .portfolio-title{
    position: absolute;
    width: 70% !important;
    left: 15%;
    top: 20%;
    text-align: center;
    font-size: 15px;
    color: white;
    width: inherit;
}

.blog-img-container-inverse a{

    position: absolute;
    width: 70% !important;
    left: 15%;
    top: 50%;
    text-align: center;
    height: 60px;
    color: white;
    width: inherit;
}

.inp-newsletter{
    background-color: #343a40;
    border: 2px solid #fff;
}

.inp-newsletter:hover,.inp-newsletter:focus{
    background-color: #20282b;
    border: 2px solid #838789;
}



/* Side Nav Styling */

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 0px 0px 0px 40px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    /* padding: 20px; */
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }



  @media (max-width: 991.98px) { 

    nav{
        height: 0px;
        visibility: hidden;
    }

   }


   .dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-menu {
    display: none;
}

.dropdown-menu {
    min-width: 13rem !important;
}

.dropdown-divider {
     margin: 0; 
}

.bg-dropdown-gradient{
    color:white!important;
}

.bg-dropdown-gradient:hover{
    color:black!important;
}

.dropdown-item:focus, .dropdown-item:hover
{
    background-color:white !important ;
    color:black !important;
}




.item {
  border: none;
  margin-bottom: 30px;
  border-radius: 4px; }
  .item a {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 4px; }
    .item a img {
      position: relative;
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
      -webkit-transition: .3s all ease-in-out;
      -o-transition: .3s all ease-in-out;
      transition: .3s all ease-in-out; }
  .item .item-wrap {
    display: block;
    position: relative; }
    .item .item-wrap:after {
      z-index: 2;
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      visibility: hidden;
      opacity: 0;
      -webkit-transition: .3s all ease-in-out;
      -o-transition: .3s all ease-in-out;
      transition: .3s all ease-in-out; }
    .item .item-wrap > span {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 3;
      -webkit-transform: translate(-50%, -50%) scale(0);
      -ms-transform: translate(-50%, -50%) scale(0);
      transform: translate(-50%, -50%) scale(0);
      color: #fff;
      font-size: 1.7rem;
      opacity: 0;
      visibility: hidden;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .item .item-wrap:hover:after {
      opacity: 1;
      visibility: visible; }
    .item .item-wrap:hover span {
      margin-top: 0px;
      opacity: 1;
      visibility: visible;
      -webkit-transform: translate(-50%, -50%) scale(1);
      -ms-transform: translate(-50%, -50%) scale(1);
      transform: translate(-50%, -50%) scale(1); }
  .item:hover a img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition: .3s all ease-in-out;
    -o-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out; }