﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
p{
    color:#000000;
}
*{
    
}
@font-face {
    font-family: 'Cairo-Regular';
    src: url('/webfonts/Cairo-Regular.ttf');
}


@font-face {
    font-family: 'Cairo-Bold';
    src: url('/webfonts/Cairo-Bold.ttf');
}

@font-face {
    font-family: 'Cairo-Black';
    src: url('/webfonts/Cairo-Black.ttf');
}

body {
    font-family: 'Cairo-Regular',sans-serif;
    color: #909291;
    font-size: 17px;
}
.Cg1Color {
    color: #009900;
}
.Cg2Color {
    color: #99cc00;
}
.Cg3Color {
    color: #ffff00;
}
.cgbg {
    background-color: #009900;
}
.gray-bg {
    background-color: #dadada;
}


.navbar a {
    color: #009900 !important;
    font-size: 18px !important;
    font-family: Cairo-Regular;
    font-weight: 400;
}


    .navbar a:hover {
        color: #ffffff !important;
        font-size: 18px !important;
        font-family: Cairo-Regular;
        font-weight: 400;
        background-color: #009900;
        border-radius: 10px;
    }


.dropdown .dropdown-menu{
    display:none;
}
.dropdown-menu {
    border-radius: 10px !important;
    background: #009900 !important;
    padding: 6px !important;
    width: 300px !important;
    box-shadow: 1px 2px #888888 !important;
   
}
.dropdown-menu a {
    color:#E5E4E2 !important;
}
    .dropdown-menu a:hover {
        font-size: 17px;
        font-weight: bold;
        color: #009900 !important;
        background-color: #ffff00 !important;
    }
.dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-menu {
    display: block;
    margin-top: .125em;
}

.dropend .dropdown-menu {
    width: 100px !important;
}

.dropend:hover > .dropdown-menu {
    position: absolute;
    top: 10px !important;
    right: 100% !important;   
    margin-right:.125em;
}

#Myli a {
     text-decoration:none; color:gray;   
    
}

    #Myli a:hover {
       color:#155fe9;
      
    }
/* typical phone screen resolution */
@media only screen and (max-width : 667px) {

    .dropdown-menu a {
        color: #ffffff !important;
    }

     .dropdown-menu {
        height: 100% !important;

     }    
}

.parallax {
    /* The image used */
    background-image: url("../images/cargasbg.jpg");
    /* Full height */
    height: 100%;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media only screen and (max-device-width: 1366px) {
    .parallax {
        background-attachment: scroll;
    }
}

/* Gradient color1 - color2 - color1 */

.hrst {
    border: 10px solid #009900;
}


/*GALLERY*/
.box {
    flex: 1;
    overflow: hidden;
    transition: .5s;
    margin: 0 2%;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    line-height: 0;
}

    .box > img {
        width: 200%;
        height: calc(100% - 10vh);
        object-fit: cover;
        transition: .5s;
    }

    .box > span {
        font-size: 1.8vh;
        display:block;
        color:#000000;
        text-align: center;
        height: 10vh;
        line-height: 2;
    }

    .box:hover {
        flex: 1 1 50%;
    }

        .box:hover > img {
            width: 100%;
            height: 100%;
        }
 
/*END GALLERY*/

/*UL shares*/
#ul-shares >li{
  display:inline-block;
  padding:20px;
  color:#009900;
  font-size:19px;

}

/*UL IN Converstion page*/
#ulconversin > li{
   
    font-weight:bold;
    color:#000000;

}
#ulconversin li > ul> li{
    color:#009900;
    font-size:17px;
}

/*UL IN Fuel page*/

.container-all {
    width: fit-content;
    margin: 20px auto;
    height: auto;
}

.container-slid {
    width: calc(33% - 6px);
    overflow: hidden;
    height: fit-content;
    margin: 3px;
    padding: 0;
    display: block;
    position: relative;
    float: left;
}

.container-slid > img {
    width: 100%;
    transition-duration: .3s;
    max-width: 100%;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.container-slid > title {
    position: absolute;
    display: block;
    cursor: pointer;
    top: 35%;
    display: none;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.6em;
    text-shadow: 1px 5px 10px black;
    transition-duration: .3s;
}

.container-slid > text {
    position: absolute;
    top: 70%;
    cursor: pointer;
    max-width: 80%;
    text-align: center;
    left: 50%;
    text-shadow: 1px 5px 10px black;
    font-size: 1em;
    display: none;
    margin-right: -50%;
    transition-duration: .3s;
    transform: translate(-50%, -50%)
}

    .container-slid:hover img {
        transform: scale(1.2);
        transition-duration: .3s;
        filter: grayscale(50%);
        opacity: .7;
    }

    .container-slid:hover span {
        color: white;
        display: block;
        transition-duration: .3s;
    }

@media only screen and (max-width: 900px) {
    .container-slid {
        width: calc(50% - 6px);
    }
}

@media only screen and (max-width: 400px) {
    .container-slid {
        width: 100%;
    }
}

/* FIXED BAR ON BP OIL PAGE */
.fixed-icon {
    position: fixed;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.imgg:hover {
    transform: scale(1.2);
    transition: transform .3s;
}

.header-section {
    background: linear-gradient(45deg, #198754, #20c997);
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

    .header-content:hover {
        transform: scale(1.02);
    }

.header-title {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-header {
    animation: fadeInDown 0.5s ease-out;
}

