/* page normalize  */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    font-size: 100%;
}
nav li{
    list-style-type: none;
}
a{
    text-decoration: none;
    color: #000000;
}
/* header and naigation styling */
header{
    position: relative;
    min-height: 50px;
    z-index: 10;
}
main{
    z-index: 5;
}
.header{
    position: fixed;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100vw;
    line-height: 50px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    border-bottom: 1px solid #f0e7e7;

}
.logo{
    padding: 0;
}
.logo img{
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0;
}
.navbar ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.navbar ul li ul{
    display: none;
    position: absolute;
    z-index: 1111;
    width: 200px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #f0e7e7;
}
.navbar ul li:hover ul{
    display: block;
}
.navbar ul li a{
    color: #787878;
}
.navbar ul li a:hover{
    font-weight: 600;
    color: #042D89;
}
.navbar ul li ul li{
    border-bottom: 1px solid #f0e7e7;
}
.navbar ul li a:active{
    border-bottom: 2px solid #042D89;
}
.main_nav{
    margin-top: auto;
    margin-bottom: auto;
    width: 50%;
    margin-right: 50px;
}
.header .menu_control{
    margin-right: 20px;
    display: none;
}
.header #menu_chk{
    visibility: hidden;
    z-index: -1111;
}
.header input[type="checkbox"]:checked ~ .show_menu{
    display: none;
}
.header input[type="checkbox"]:checked ~ .hide_menu{
    display: inline;
}
.header input[type="checkbox"]:checked ~ .mob_nav{
    display: flex;
}
.mob_nav{
    width: 100vw;
    height: 100vh;
    display: none;
    background-color: #bdc0eb;
    
}
.mob_nav>ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70%;
    position: absolute;
}
.mob_nav>ul li{
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ffffff;
}
.mob_nav> ul li a{
    color: #000000 !important;
}
/*Slider section*/
.slider{
    /* background-color: #55260F; */
    background-color: #ffffff;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: url('../images/refinery-13.jpg');
    background-size: cover;
    background-position: center;
}
.slide-indicators{
    display: none;
}
#slide1:checked ~ .first-slide{
    margin-left: 0;
}
#slide2:checked ~ .first-slide{
    margin-left: -100%;
}
#slide3:checked ~.first-slide{
    margin-left: -200%;
}
#slide4:checked ~.first-slide{
    margin-left: -300%;
}
#slide1:checked ~.slide{
    transition: none;
}
.slides{
    height: 100%;
    background-color: hsla(0, 0%, 1%, 0.5);
    width: 100%;
    margin: auto;
    display: flex;
    overflow: hidden; 
}
.slide-controls{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    top: 70%;
}
.slide-controls button{
    background: transparent;
}
.slide-controls img{
    width: 50px;
    height: auto;
    cursor: pointer;
}
.first-slide{
    margin-left: 0;
    }
.slide{
    height: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: margin 1s ease;
}

.slide h1{
    font-family: 'Open Sans', sans-serif;
    line-height: 65px;
    font-size: 45px;
    font-weight: 700;
    padding: 0 20px;
    color:#ffffff;
}
.slide p, .slide a{
    font-family: 'Open Sans', sans-serif;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
}
.slide a{
    display: block;
    padding: 5px 10px;
    /* border: 2px solid #F95044; */
    border: 2px solid #DC0000;
}

/*Banner section */
.banner{
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.banner h1{
    font-family: 'Open Sans', sans-serif;
    line-height: 65px;
    font-size: 45px;
    font-weight: 700;
    padding: 10px 56px;
    background-color: #ffffff;
    /* color:#505BE1; */
    color: #042D89;
}
.banner h2{
    font-family: 'Open Sans', sans-serif;
    line-height: 65px;
    font-size: 30px;
    font-weight: 700;
    align-self: center;
    padding: 0 60px;
    background-color: #ffffff;
    color: #DC0000;
}
.full-banner{
    height: 100vh;
    align-items: center;
}
.full-banner h1{
    background-color: transparent;
    color: #ffffff
}
.about-banner{
    /* background-color: #0B0B0C; */
    background-color: #ffffff;
    background-image: url('../images/refinery-15.jpg');
    background-position: bottom;
}

.parent-banner{
    background-image: url('../images/refinery-13.jpg');
    /* background-color: #55260F; */
    background-color: #ffffff;
    background-position:center;
}

.partner-banner{
    /* background-color: #C4C5CA; */
    background-color: #ffffff;
    background-image: url('../images/partner-2.jpg');
    background-position:center;
}
.refining-banner{
    background-color: #e7e2de;
    background-image: url('../images/refinery-5.jpg');
    background-position: bottom;
}
.refining-banner2{
    /* background-color: #C7B899; */
    background-color: #ffffff;
    background-image: url('../images/filling-station-2.jpg');
}
.career-banner{
    /* background-color: #222A3E; */
    background-color: #ffffff;
    background-image: url('../images/engineer-3.jpg');
    background-position: 0% 20%;
    height: 60vh;
}
.gallery-banner{
    /* background-color: #55260F; */
    background-color: #ffffff;
    background-image: url('../images/refinery-13.jpg');
}
/*Writup and Article Section*/
.container{
    width: 1180px;
    margin: auto;
}
.writeup{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 0;
    padding: 50px 10px;
}
.padded-writeup{
    padding-left: 10%;
    padding-right:10%;
}
.writeup-article{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.form-article{
    width: 96%;
}
.quarter-article{
    width: 75%;
}
.two-third-article{
    width: 66%;
}
.half-article{
    width: 48%;
}
.fix-half-article{
    width: 560px;
}
.column-article{
    /* width: 40%; */
    width: 576px;
}
.one-third-article{
    width: 33%;
}
.lean-column-article{
    /* width: 22%; */
    width: 313px;
}
.tiny-column-article{
    width: 10%;
    position: relative;
    overflow: hidden;
}
.tiny-column-article:hover .tiny-content{
    top: 0;
}
.tiny-column-article:hover img{
    filter: grayscale(100%);
}
.tiny-content{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color:#042D89;
    color: #ffffff !important;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    top: 100%;
    padding: 10px;
    transition: 0.5s;
    
}

.margin-article{
    margin-top: 20px;
}
.uniform-button-article{
    position: relative;
}
.uniform-button-article p:last-of-type{
    margin-bottom: 50px;
}
.uniform-button-article button{
    position: absolute;
    bottom: 0;
    left: 0;
}


/*Redesign*/
.index-gallery-title{
    line-height: 23px !important;
    font-size: 10px !important;
    color: #000000 !important;
    font-weight: 500 !important;
}

.writeup-article h2, .writeup-heading-font{
    font-family: 'Open Sans', sans-serif;
    line-height: 65px;
    font-size: 30px;
    font-weight: 700;
}
.writeup-article h2, .writeup-heading-color{
    /*color: #505BE1;*/
    color: #000000;
    /* border-bottom: 2px solid #505BE1; */
}
.writeup-article p, .writeup-article button, .writeup-article ul, .writeup-article ul li, .writeup-article ul li a, .writeup-article form, .writeup-font{
    font-family: 'Open Sans', sans-serif;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
}
.writeup-article p, .writeup-article button, .writeup-article button a .writeup-article ul, .writeup-article ul li, .writeup-article ul li a, .writeup-article form, .writeup-dcolor{
    color: #787878;
}
.writeup-article ul, .writeup-list-style{
    list-style-type: disc;
    padding-left: 30px;
}
.writeup-article button, .writeup-button-dstyle{
    display: block;
    padding: 5px;
    width: 100%;
    background-color: #DC0000;
    color: #ffffff;
}

.writeup-article button a, .writeup-button-dstyle a{
    display: inline-block;
    width: 100%;
    color: #ffffff;
}


/* not writeup specific */
.round-edges{
    border-radius: 10px;
    
}
.dyn-a1{
    color: #042D89;
    transition: transform 0.5s ease;
    display: inline-block;
}
.dyn-a1:hover{
    transform: translate(10px);
    font-weight: 700;
}
.round-div{
    width: 100px;
    height: 100px;
    border: 1px solid #f0e7e7;
    border-radius: 50%;
    margin: auto;
}

.block-style1 p{
    display: flex;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: 'Open Sans', sans-serif;
    line-height: 55px;
    font-size: 25px;
    font-weight: 500;
    color: #ffffff !important;
}

.block-style1 span:last-of-type{
    margin-left: 20px;
}

.simple-section{
    display: flex;
    padding: 2px 3%;
    justify-content: flex-end;
}
.special-link{
    font-family: 'Open Sans', sans-serif;
    line-height: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #DC0000;
    transition: 1s;
}
.special-link:hover{
    font-size: 17px;
    background-color: #DC0000;
    color: #ffffff;
}
/* other special styling */
.white-background{
    background-color: #ffffff;
}

.black-on-hover:hover p{
    color: #000000 !important;
}
.black-on-hover:hover button, .black-on-hover:hover a{
    background-color: #000000 !important;
}

.black-heading h2{
    color: #000000 !important;
    border-bottom: none !important;
}
.white-heading h2{
    color: #ffffff !important;
    border-bottom: none !important;
}
.bordered{
    border: 1px solid #f0e7e7;
    padding: 10px;
}
/* List styling */
.no-bullet-list{
    list-style: none !important;
}

/* special button */
.small-btn{
    width: 30% !important;
    font-family: 'Open Sans', sans-serif;
    line-height: 30px;
    font-size: 16px;
    margin: auto;
    margin-top: 16px;
    margin-bottom: 16px;
    display: block;
}
.centered-button{
    width: 50% !important;
    margin: auto;
    margin-bottom: 5px;
}
.rounded-button{
    border-radius: 10px;
}
.dynamic-button{
    transition: background 1s ease;
}
.dynamic-button:hover{
    background-color: #042D89;
}
.dynamic-button-2:hover{
    font-weight: 700;
}
.dyn-btn3{
    transition: 0.5s ease;
    background-color: #ffffff !important;
    border: 2px solid #042D89; 
    color: #000000 !important;
}
.dyn-btn3 a{
    color: #000000 !important;
}

.dyn-btn3:hover{
    background-color: #042D89 !important;
    color: #ffffff !important;
}
.dyn-btn3:hover a{
    color: #ffffff !important;
}
.dynamic-button-4{
    transition: background 1s ease;
}
.dynamic-button-4:hover{
    background-color: #DC0000;
}
/*special alignment */
.left-aligned li, .left-aligned p, .left-aligned ul li, .left-aligned{
    text-align: left !important;
}
.center-aligned, .center-aligned a, .center-aligned p{
    text-align: center !important;
}
.justified, .justified p{
    text-align: justify !important;
}
/* map styling */
.map{
    width: 100%;
    height: 450px;
}

/*Form Styling*/
.article-form{
    border: 2px solid #f0e7e7;
}
.article-form input, .article-form textarea{
    width: 100%;
    border: 2px solid #f0e7e7;
    padding: 5px;
    font-family: 'Open Sans', sans-serif;
}
.article-form button{
    cursor: pointer;
}
.article-form input::placeholder{
    color:#bebebe;
}
.form-success, .form-error{
    text-align: center !important;
    font-size: 18px !important;
}
.form-error{
    border: 2px solid #DC0000;
}
.form-success{
    border: 2px solid #2ed32e;
}
.status-wrapper{
    display: none;
}
.submit{
    display: block;
}
.loading, .finished{
    display: none;
}
.form-active .submit, .form-active .finished{
    display: none;
}
.form-active .loading{
    display: block;
    transform-origin: center;
    animation: loading 0.5s linear infinite;
}
.form-finished .submit, .form-finished .loading{
    display: none;
}
.form-finished .finished{
    display: block !important;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
  }

/*Writup Images*/
.writeup-img img{
    width: 100% !important;
    height: auto;
}

.small-img, .centered-img,.heading-img{
    display: flex;
    justify-content: center;
    align-items: center;
}
.small-img{
    flex-direction: column;
}
.heading-img img{
    width: 25%;
    height: auto;
}
.small-img img{
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.centered-img img{
    width: 50%;
    height: auto;
}
.gallery img{
    transition: 1s;
}
.gallery img:hover{
    filter: grayscale(100%);
    transform: scale(1.1);
}
/* sections of different pages */
#index-milestone-section{
    background-color: #042D89;
}

/*Footer Section*/
footer{
    font-family: 'Open Sans', sans-serif;
    background-color: #042D89;
    color: #f0e7e7;
}
.footer-wrapper{
    border-bottom: 1px solid #f0e7e7;
}   
.footer-item{
  text-align: center;
  margin: auto;
}
.footer-item p{
    line-height: 38px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
}
.footer-item ul li, .footer-item ul li a{
    line-height: 28px;
    font-size: 14px;
    font-weight: 400;
}
.footer-item a{
    color: #f0e7e7;
    width: 100%;
}
.footer-item ul{
    list-style-type: none;
}
.footer-item ul li{
    display: flex;
}
.footer-item ul li span{
    margin-right: 10px;
}
.footer-copyright{
    display: flex;
    justify-content: center;
    padding: 20px;
}
.footer-copyright p{
    width: auto;
}

  
 