body{
    font: 16px/26px Raleway, sans-serif;
    color: #666;
}

body:not(.home){
    background-image: url(../img/background_Oil_Gas.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
}



/* CUSTOM FONTS */
h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', sans-serif;
  color: #1d1d1d;
}

body, input, textarea, button {
  font-family: 'Raleway', sans-serif;
}

.page-header .subtitle, .page-header-type h2.subtitle{
	font-family: 'Droid Serif', serif;
}

/* Slider */
#slider {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: fixed;
    top: 0;
}

#slider div.owl-item > div {
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
}

#slider .caption {
    position: absolute;
    left: 10%;
    top: 50%;
    display: table;
    min-height: 0;
    transform: translate(-10%, -50%);
}

#slider .page-header > div {
    display: table-cell;
    vertical-align: middle;
    max-width: 500px;
    margin: auto;
    padding-top: 8%;
    padding-left: 7%;
    padding-right: 7%;
}

#slider .page-header .title {
    color: #1d1d1d;
    margin-bottom: 0;
    margin-left: -4px;
    font-size: 70px;
    line-height: 74px;
    font-weight: 700;
    max-width: 800px;
    text-transform: uppercase;
}

#slider .page-header .excerpt {
	font-size: 20px;
    line-height: 26px;
    margin: 25px 0 -15px;
    color: #6a6a6a;
}

/* Header */
#header{
	background: #fff;
	padding: 20px 0;
    top: -100%;
    transition: all 1s ease-in-out;
}

body.home #header{
	background: rgba(255,255,255,0.5);
}

#header.fixed-head {
	box-shadow: 0px 2px 24px 0px rgba(0, 0, 0, 0.25);
    padding: 5px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
    transition: all 1s ease-in-out;
}

#logo img{
	max-height: 40px;
}

/* Main Menu */
.menu li a{
	font-family: 'Montserrat', sans-serif;
    padding: 0.7rem;
    font-size: 14px;
	text-transform: uppercase;
	color: #212b55;
    white-space: nowrap;
}

.sub-menu li a{
	font-size: 12px;
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    border-color: #212b55 transparent transparent;
}
.is-drilldown-submenu-parent > a::after {
    border-color: transparent transparent transparent #212b55;
}
.js-drilldown-back > a::before {
    border-color: transparent #212b55 transparent transparent;
}

/* Page Header */
#page-header{
	padding: 70px 0;
	background: rgba(255,255,255,0.5);
}

#page-header > div {
    width: auto;
    margin: auto;
    max-width: 800px;
    text-align: center;
    display: table;
    height: 100%;
}

#page-header > div > div {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

#page-header h1 {
	color: #1d1d1d;
	text-transform: uppercase;
}

.page-header-type h1:after {
    display: block;
    content: "";
    width: 80px;
    height: 3px;
    margin: 30px auto;
}

#page-header h1:after {
    margin: 20px auto 25px;
    background-color: #212b55;
}

#page-header .subtitle {
	font: italic 14px/22px "Droid Serif", serif;
    color: #6a6a6a;
}

/*Page Content*/

#page-content {
    padding: 0;
    margin: auto;
    /*background: #f9f9f9;*/
    background: rgba(249,249,249,0.9);
    position: relative;
    z-index: 9;
    text-align: justify;
}

#page-content .wrapper {
    padding:90px 7%;
    margin: auto;
    overflow: hidden;
}

#page-content .wrapper.bg{
    background: url(../img/bg.jpg) no-repeat;
} 

#page-content h3{
	font-size: 20px;
    line-height: 26px;
    margin-bottom: 30px;
    font-weight: 400;
}

#page-content h3:after{
    display: block;
    content: "";
    width: 25px;
    height: 3px;
    background: #212b55;
    margin-top: 30px;
}

#page-content img[align="right"]{
    margin: 0 0 10px 10px;
    border: solid 1px #666;
}

#page-content img[align="left"]{
    margin: 0 10px 0;
    border: solid 1px #666;
}

/* Posts */
#posts-container{
    margin: auto;
    padding: 0 270px;
    position: relative;
    background: rgba(249,249,249,0.9);
}
.post:first-of-type {
    border-top: 1px solid #e2e2e2;
}
.post:last-of-type {
    border-bottom: 1px solid #e2e2e2;
}
.post {
    background: rgba(249,249,249,0.9);
    border-top: 1px solid #e2e2e2;
    position: relative;
    overflow: hidden;
}
.post .featured-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    width: 410px;
    height: 310px;
    transform: none !important;
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
}
.post .header-container {
    display: table;
    width: 100%;
    position: relative;
    padding-top: 0;
    height: 100%;
    float: right;
    height: 310px;
    max-height: none;
    overflow: hidden;
}
.post .center-wrap {
    padding: 0 50px 0 500px;
    z-index: 9;
    display: table-cell;
    vertical-align: middle;
    position: relative;
}
.post .center-wrap > div {
    max-width: 820px;
    margin: auto;
    position: relative;
}
.post-header > span {
    color: #000;
}
.post-header > span.date {
    font: normal 12px/12px "Montserrat", sans-serif;
    margin-right: 25px;
}
.post-header > span a {
    font-weight: 400;
    color: #000;
}
.post .post-header .title {
    margin-top: 10px;
    margin: 0 0 3px -2px;
    display: block;
    word-wrap: break-word;
}
.post-header .title h1 {
    font: bold 26px/30px "Montserrat", sans-serif;
    text-transform: uppercase;
    margin: 0;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    display: inline;
    font-size: 36px;
    line-height: 40px;
}
.post-header .title h2 {
    font: bold 26px/30px "Montserrat", sans-serif;
    text-transform: uppercase;
    margin: 0;
    color: #000;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    display: inline;
}
 .post .post-header a:hover h2 {
    border-bottom-color: #000;
}
.post .excerpt {
    margin: 15px 0 0 0;
    font-size: 14px;
    line-height: 22px;
}

/* Single post */
.single-post .post .center-wrap {
    padding: 60px 0 0 0;
}
.single-post .post-header span{
    color: #222;
}
.post-content {
    position: relative;
    margin: auto;
    padding-top: 100px;
}
.post-text {
    margin: auto;
    margin-bottom: 110px;
    max-width: 820px;
    text-align: justify;
}

.post-text img{
    margin-bottom: 20px;
}

/* Footer */

#footer {
	padding: 50px 0 40px;
    position: relative;
    width: 100%;
    z-index: 8;
    background: rgba(0,0,0,0.9);
    color: #6b6b6b;
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
    text-align: center;
}

/*Animation*/
a, a:hover, .trans, .trans:hover, input, input:focus, textarea, textarea:focus, select, select:focus, table td {
    transition: all 277ms ease-in-out;
}
.trans-slow, .trans-slow:hover {
    transition: all 477ms ease-in-out;
}


/* RESPONSIVE */
/* Small only */
@media screen and (max-width: 39.9375em) {
	#main-nav{
		display: none;
	}
	.is-drilldown{
		min-height: initial !important;
    	max-width: initial !important;
	}
	.menu li {
		background: #eee;
	}
	.burger-button{
		background: url(../img/menu.svg);
		width: 32px;
		height: 32px;
		outline: 0;
	}
    #slider .caption{
        background: rgba(255,255,255,0.8);
    }
    #slider .page-header .title{
        font-size: 40px;
    }
    #slider .page-header .excerpt{
        margin: 25px 0;
    }
    .post .featured-img {
        width: 100%;
        height: auto;
        position: static;
    }
    .post .featured-img img {
        max-width: none;
        width: 100%;
    }
    .post .header-container {
        padding: 65px 50px;
    }
     .post .center-wrap {
        padding: 0;
    }
    .post-text, 
    .post .center-wrap > div {
        max-width: none;
        padding-left: 8%;
        padding-right: 8%;
    }
    .post-header .title h1, 
    .post-header .title h2 {
        font-size: 26px !important;
        line-height: 30px !important;
    }
}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .post .featured-img {
        width: 100%;
        height: auto;
        position: static;
    }
    .post .featured-img img {
        max-width: none;
        width: 100%;
    }
    .post .header-container {
        padding: 65px 50px;
    }
     .post .center-wrap {
        padding: 0;
    }
    .post-text, 
    .post .center-wrap > div {
        max-width: none;
        padding-left: 8%;
        padding-right: 8%;
    }
    .post-header .title h1, 
    .post-header .title h2 {
        font-size: 26px !important;
        line-height: 30px !important;
    }
}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}