/*
Theme Name: Kern Energy
Theme URI: https://www.kernenergy.com/
Author: eMedia Marketing & Solutions
Author URI: https://www.emediams.com/
Description: This is a custom theme for Kern Oil
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/



/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}











:root {
    --main-color-1: #232749; /*  */
    --main-color-2: #095d40; /* Green Color  */
    --main-color-3: #ffbd59; /* Peach Color  */
    --main-color-4: #60a8e6; /* Orginal Blue Color  */
    --main-color-5: #000a72; /* Main Color */
	--main-color-7: #138d77; /* Light Green */

}



* {


        margin: 0;
        padding: 0;
        box-sizing: border-box;
        

        

    } 



body {

        
        background-color: #E8E8E8;
        
        color: #333333;
        font-size: 1rem;
        font-family: 'Lato', sans-serif;

        }

.kern-energy-gradient-bar {
	width: 100%;
	background: rgb(0,10,114);
	background: linear-gradient(90deg, rgba(0,10,114,1) 4.1%, rgba(96,168,230,1) 31.9%, rgba(9,109,64,1) 60.5%, rgba(255,189,89,1) 100%);
	
	
}
#main-content {
    
    width: 100%;
    max-width: 1100px;
    margin: auto;
}



.color-1 {
    color: var(--main-color-1);
}
.color-2 {
    color: var(--main-color-2);
}
.color-3 {
    color: var(--main-color-3);
}
.color-4 {
    color: var(--main-color-4);
}
.color-5 {
    color: var(--main-color-5);
}


.color-6 {
    color: #ffffff;
}

.color-7 {
    color: var(--main-color-7);
}

.size-100 {
    
    font-weight: 100;
}

.size-400 {
    
    font-weight: 400;
}

.size-700 {
    
    font-weight: 700;
}

.size-900 {
    
    font-weight: 900;
}

.all-uppercase {
    text-transform: uppercase;
}

.all-lowercase {
    
    text-transform: lowercase;
}

.imgScale {
    
    width: 100%;
    max-width: 1200px;
    
}

.site-border {
    
    display: flex;
    margin: 0;
    padding: 0;
    width:100%;
    height: 8px;
}

.border-1, .border-2, .border-3 {
    
}

.border-1 {
    width: 50%;
    background-color: var(--main-color-4);
}

.border-2 {
    width: 35%;
    background-color: var(--main-color-3);
}

.border-3{
    width: 15%;
    background-color: var(--main-color-2);
}

#end-footer {
    
    width: 100%;
    height: 55px;
    background-color: var(--main-color-5);
}



footer {
    
    background-color: var(--main-color-1);
    background-image: url(images/footer-background-mobile.jpg);
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    width: 100%;
    font-size: .75rem;
    line-height: 1.25rem;
    padding-top: 3%;
    
}

#top-footer {
    
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-space {
    
    padding: 5%;
}

#top-footer a {
    
    color: #ffffff;
    text-decoration: none;
    
}

#top-footer table, #top-footer p {
    
    padding: 10px 0;
}

#top-footer #footer-forms {
    
    margin: 0 0 0 3%;
    padding: 3% 0
}

#top-footer #footer-forms li{
    
    list-style: none;
    
}

#bottom-footer {
    
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    
   
}

#footer-menu-area {
    
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    
   
}

#bottom-footer ul{
    
    margin: 0;
    padding: 0 0 5% 0;
}

#bottom-footer ul li {
    
    list-style: none;
}

#bottom-footer ul li a{
    
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

#bottom-footer ul li a:hover{
    
    color: var(--main-color-3);
}


#bottom-footer ul li ul li a{
    
    color: #ffffff;
    text-decoration: none;
    font-size: .75rem;
}

#bottom-footer h2, #bottom-footer h3 {
    
    padding-bottom: 4%;
    
}




header {
    
    background-image: linear-gradient(to right, #fefefe, #7aace6); 
    padding: 0;
    margin: 0;
    padding-bottom: 2%;
    
    
}

#social-media-top {
    
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 55px;
    
    
}

#social-media-top a {
    
    padding: 0 5px 0 5px;
    text-decoration: none;
    color:#333333;
}


#logo-navigation {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    
}

.logo {
    
    max-width: 230px;
    width: 100%
}

.logo-footer {
    
    max-width: 230px;
    width: 100%;
}

.logo a {
    
    display: block;
}


#hamburger {

            width: 40px;

            height: 5px;

            display: block;
            
            margin-top: 20px;
            
            text-align: center;
           

            z-index: 3;

            border-top: solid 5px #ffffff;

            border-bottom: solid 5px #ffffff;

            padding: 9px 0 14px 0;

            cursor: pointer;

            }

        .hamburger-line {

            

            width: 100%;

            height: 5px;

            background: #ffffff;

            display: block;

    

            }

#web {
    display: none;
}


#mobile {

            

            

            width: 100%;

            height: 100vh;

            position: fixed;

            top: 0;

            left: -5000px;

            background: var(--main-color-1);

            color: #ffffff;

            padding: 2%;

            

            z-index: 5;

            transition: left .35s ease-in-out;

           

            

            

        }
#mobile ul, #mobile ul li ul{
    
    width: 95%;
    margin: auto;
    
}

#mobile ul li a {
    
    color:#fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1rem;
    display: block;
    padding: 2%;
    
    border-bottom:solid 1px var(--main-color-2);
    
    
}

#mobile ul li ul li a {
    
    color:var(--main-color-2);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .75rem;
    line-height: 1rem;
    display: block;
    padding: 2%;
    
    
}

#mobile ul li ul{
    
    margin-left: 2%;
}


#mobile ul li, #mobile ul li ul li{
    list-style: none;
}

#close {
    
    display: flex;
    justify-content: flex-end;
    width: 95%;
}
#mobile #close button {
    font-size: .5rem;
    font-weight: 700;
    background-color: var(--main-color-2);
    color: #ffffff;
    border: solid 1px var(--main-color-3);
    padding: 3%;
    text-align: center;
    text-transform: uppercase;
    width: 100px;
    
}


#content {
    
    background-color: var(--main-color-6);
    color: #333333;
}

#content a {
    
    
    text-decoration: none;
}

#news-events-post a {
    
    text-decoration: none;
    color: var(--main-color-1);
    
}

#news-events-post a:hover {
    
    font-weight: 400;
    color: var(--main-color-5);
    
}

#content a:hover {
    
    color: var(--main-color-6);
}

#content p {
    
    line-height: 1.5rem;
    padding: 1% 0;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    
    padding: 1% 0;
} 

table {
    
    width: 50%;
    margin: auto;
}

table td {
    
    text-align: center;
}



.page-heading-line {
    
    width:50%; 
    margin:auto !important;
    height:10px;
     
    border:solid 5px var(--main-color-4);
}

.interior-page-hr {
    
    width:50%; 
    
    height:10px;
     
    border:solid 5px #777777;
}


.nf-form-content label {
    color:#ffffff;
}

.contact-phone-list a{
    
    color: var(--main-color-6);
    
}

.contact-phone-list a:hover{
    
    color: var(--main-color-4);
    
}

#timeline-section {
    
    display: none;
}

#nf-field-28 button {
	background-color:#ff9900;
}



@media screen and (min-width: 768px) {
    
    #social-media-top {
        
        justify-content: flex-end;
        width: 95%;
        margin: auto;
    }   
    
    #web {
        
        display: block;
        z-index: 25;
        
        
    }
    
    /* Main navigation ul */
    #web ul{
        
        margin: 0;
        padding: 0;
    }
    
    /* Sub navigation ul */
    #web ul ul {
        
        display: none;
    }
    
    #web ul ul li {
        
        background-color: var(--main-color-5);
        /*width: 100px;*/
        display: list-item;
        
    }
    
    #web ul ul li a{
        
        line-height: 50px;
        color: #ffffff;
    }
    
    #web ul ul li a:hover {
        
        color: var(--main-color-4);
        background-color: var(--main-color-5);
    }
    
    #web ul li:hover > ul{
        
        display: block;
        position: absolute;
        margin-top: -25px;
    }
    
    #web li {
        
        list-style: none;
        display: inline-block;
    }
    
    #web ul li a {
        
        color:#333333;
        font-size: .75rem;
        text-decoration: none;
        padding: 10px;
        text-transform: uppercase;
        line-height: 87px;
        
    }
    
    #web a:hover {
        
        color:#ffffff;
        background-color: var(--main-color-4);
    }
    
    .current_page_item a{
        
        color:#ffffff !important;
        background-color: var(--main-color-5);
        
    }
    
    #hamburger {
        
        display: none;
    }
    
    header {
        
        padding-bottom: 3%;
    }
    
    #mobile {
    display: none;
    }
    
    #top-footer {
    
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: left;
    }
    
    #bottom-footer {
    
    display: grid;
    grid-template-columns: 25% auto;
    text-align: left;
    padding-bottom: 5%;
    
    

    }
    
    #bottom-footer h2 {
    
    padding-bottom: 1%;
    padding-left: 1%;    
    
}
    
    
    #footer-menu-area {
    
    display: grid;
    grid-template-columns: auto auto auto auto;
    text-align: left;
    padding-bottom: 5%;
    
    

    }
    
    .vLine {
      border-left: 2px solid #ffffff;;
      height: 60%;
      
   }
    
    .vLine2 {
      border-left: 2px solid #ffffff;;
      height: 90%;
      
   }
    
    .vLine3 {
      border-left: 2px solid #ffffff;;
      height: 63%;
      
   }
    
    
    footer {
        
        background-image: url(images/footer-background.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    table {
        
        width: 100%;
        margin: 0;
        
    }
    
    table td {
        
        text-align: left;
    }
    
    .page-heading-line {
    
    width:25%; 
    margin:auto !important;
    
}

.interior-page-hr {
    
    width:25%; 
    
    
    }
    
    #timeline-section {
        display: none;
    }
    
    #right-area {
        
        margin-top: 5%;
    }
    
   
    
    
    
    
    
}/*end of media query*/


@media screen and (min-width: 1050px) {
    
    /*Timeline Style Area*/
    
     #timeline-section {
        
        width: 100%;
        max-width: 1100px;
        margin: auto;
        overflow-x: visible;
        overflow-y: hidden;
        /*background-color: #000000;*/
        padding: 0;
        position: relative;
        display: block; 
    }
    
    #timeline-section::-webkit-scrollbar {
      width: 10px;
    }
    
    #timeline-section::-webkit-scrollbar-track {
      box-shadow: inset 0 0 5px grey; 
      border-radius: 10px;
    }
    #timeline-section::-webkit-scrollbar-thumb {
      background: var(--main-color-5); 
      border-radius: 10px;
    }
    
    #timeline-section::-webkit-scrollbar-thumb:hover {
          background: var(--main-color-4); 
        }
    
    #timeline-wrap {
        display: grid;
        grid-template-rows: 295px 5px 295px;
        grid-gap: 0px 0px;
        /* grid-column-gap: 0; */
        width: 300%;
        min-height: 600px;
        padding: 0 0 0 5%;
        position: relative;
        color: #ffffff;
        /*flex-direction: column;*/
        /* flex-wrap: nowrap; */
        /*border: solid 11px pink;*/
        /* align-content: center; */
        /* height: 100%; */
        transition: left .95s ease-in-out;
        font-size: .85rem;
        margin-top: -100px;
        margin-bottom: -50px;
    }
    
    #timeline-nav {
        
        width: 100%;
        height: 50px;
        margin: auto;
        background-color: rgb(150, 150, 150, 1);
       
        
    }
    
    #timeline-wrap #timeline-top ul li h3 {
        margin: -25px 0 0 0px;
        padding: 0 0 0 5px;
    }
    
    #timeline-wrap #timeline-top ul li h3::before{
            content: url(images/white-line.png);
          position: relative;
          left: -6px;
            bottom: -10px;
          /* line-height: inherit; */
          /* border: solid 1px white;*/
    }
    
    .timeline-box {
        width: 75px;
        height: 75px;
        background-color: #4a94dd;
        margin: 10px;
    }
    
    #timeline-top .timeline-content {
        
        display: grid;
        grid-template-columns: 100px auto;
        /* flex-wrap: nowrap; */
        width: 100%;
        padding: 0 1% 5% 1%;
        /*border: solid 1px pink;*/
        
    }
    
    #timeline-bottom .timeline-content {
        
        display: grid;
        grid-template-columns: 100px auto;
        /* flex-wrap: nowrap; */
        width: 100%;
        padding: 5% 1% 1% 1%;
        /*border: solid 1px pink;*/
        
    }
    
    #timeline-top {
       
    }
    #timeline-top ul {
    margin: 0;
    padding: 0;
    /* display: flex; */
    display: grid;
    /* grid-template-columns: 1fr; */
    grid-template-columns: repeat( 9, minmax(350px, 1fr) );
    grid-column-gap: 25px;
    /* grid-template-rows: 1fr; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    /* justify-content: space-evenly; */
    /* align-items: flex-end; */
    height: 295px;
    /* width: 100%; */
    align-items: end;
    padding-left: 25px;    
    }
    
    #timeline-top li{
        
        display: inline-block;
    border-left: solid 1px #ffffff;
    /* padding-left: 15px; */
    /* width: 30%; */
    /* margin-right: 50px; */
    }
    
    #timeline-top ul li::after {
        
            content: url (/wp-content/uploads/2022/08/peach-dot-small.png); /*url(images/white-dot.png);*/
            position: relative;
            left: -8px;
            bottom: -14px;
    }
    
    #timeline-bottom {
       
    }
    #timeline-bottom ul {
    margin: 0;
    padding: 0;
    /* display: flex; */
    display: grid;
    /* grid-template-columns: 1fr; */
    grid-template-columns: repeat( 8, minmax(550px, 1fr) );
    grid-column-gap: 50px;
    /* grid-template-rows: 1fr; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    /* justify-content: space-evenly; */
    /* align-items: flex-end; */
    /*height: 200px; */
    /* width: 100%; */
    /*align-items: end;*/
        
    padding-left: 75px;    
    }
    
    
    
    #timeline-bottom li{
        
        display: inline-block;
        border-left: solid 1px #ffffff;
        /*padding-left: 15px;*/
        /*width: 30%;*/
        /*margin-right: 50px; */
        /*margin-top: -15px;*/
    }
    
    #timeline-bottom ul li::before{
            
            content: url(/wp-content/uploads/2022/08/peach-dot-small.png);  /*url(images/white-dot.png);*/
            position: relative;
            left: -8px;
            bottom: 8px;
        
    }
    
    #timeline-wrap #timeline-bottom ul li h3 {
        margin: 0px 0 -9px 0;
        padding: 0 0 0 10px;
    }
    
    #timeline-wrap #timeline-bottom ul li h3::before{
        
        content: url(images/white-line.png);
          position: relative;
          left: -11px;
            bottom: -10px;
        
          /* line-height: inherit; */
          /* border: solid 1px white;*/
    }
    
    #timeline-middle hr::before {
        
        content: url(/wp-content/uploads/2022/08/peach-dot.png); /*url(images/blue-dot.png);*/
        position: relative;
        left: -20px;
        bottom: 15px;
    }
    
    #timeline-middle hr::after {
        
        content: url(/wp-content/uploads/2022/08/peach-dot.png); /*url(images/blue-dot.png);*/
        position: relative;
        right: -99%;
        bottom: 15px;
    }
    
    #timeline-bottom ul li #timeline-content div p {
        
        font-size: .75rem;
        padding: 0;
    }
    
    
    #timeline-middle hr {
        
        width: 100%;
        color: #ffffff;
        border: solid 5px #ffffff;
        padding: 0;
        margin: 0;
    }
    
    
}

