a {
    color: #154d1c;
    text-decoration: none;
}

a:hover {
    color: #0d3512;
    text-decoration: none;
}

footer {
    /* position: absolute;
    bottom: 0;
    left: 0;
    right: 0; */
    background-color: #373a3c;
    padding: 50px 0px;
}

#page-wrapper {
    position: relative;
    min-height: 100vh;
    padding-bottom: 100px; /* same or larger than footer height */
    box-sizing: border-box;
}

@media (min-width: 768px) {
    footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    #page-wrapper {
        padding-bottom: 50px; /* match the footer height */
    }
}
@media (max-width: 400px) {
    #page-wrapper {
        padding-bottom: 0px; 
    }
}


/* Auto-Nav Styles */
.navbar {
	/* background: #fff; */
	border: none;
	/* box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.04); */
	margin: 0 !important;
}

/* .navbar .nav {
	display: flex; 
	justify-content: flex-end; 
	padding: 0;
	margin: 0;
	list-style: none;
} */

.navbar .nav > li {
	margin-left: 45px;
}

.navbar .nav > li > a {
	font-family: 'Open Sans', arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: none;
    color: #121212 !important;
}

.navbar .nav > li > a:hover {
	color: #121212;
	background-color: transparent !important;
}

.navbar .nav > li.active > a,
.navbar .nav > li.active > a:hover,
.navbar .nav > li.active > a:focus {
	color: #121212;
	background-color: transparent !important;
}

.navbar .navbar-toggle {
	border: none;
	padding-top: 12px;
	background: #f4782e;
}

.navbar .navbar-toggle .icon-bar {
	background: #fff;
	border-color: transparent !important;
}

.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
	background: #f4782e;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #101010;
    /* padding: 10px 0px; */
}

.navbar-nav {
    margin: 10px -30px;
}

.header.active {
    /* background-color: rgba(250, 250, 250, 1) ; */
    background-color: #fff ;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
	.navbar .nav {
		display: flex;
		justify-content: flex-end;
	}
}

@media (max-width: 767px) {
	.navbar .nav {
		display: block; 
	}
}

/* form */
.ccm-form {
    width: 50%;
    margin-left:auto;
    margin-right:auto;
}

/* Section */
#full {
	padding: 100px 0px 50px 0px;
	background-image: url(../img/full-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
#full p {
	color: #222;
}

#full .container{
	background-color: rgba(250, 250, 250, 0.75);
    padding-bottom: 100px;
	margin-bottom: 175px;
}

#full .container .row{
    padding: 0px 100px 0px 100px;
}

#global-advert img {
	width: 768px;
	height: auto;
}

@media (max-width: 768px) {
    #full .container .row{
        padding: 0px 30px 0px 30px;
    }
}
@media (max-width: 400px) {
    #full {
        margin-bottom: 0px;
    }
    #full .container .row{
        padding: 0px 15px 0px 15px;
    }

	#global-advert img {
		width: 100%;
		height: auto;
	}
}

#full .service-item {
	text-align: center;
}

#full .service-item .icon {
	width: 110px;
	height: 110px;
	display: inline-block;
	text-align: center;
	line-height: 104px;
	border: 3px solid #fff;
	border-radius: 50%;
	background-color: #f4782e;
}

#full .service-item h4 {
	margin-bottom: 30px;
	margin-top: 45px;
	font-size: 17px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 1px;
}

#full .service-item .line-dec {
	width: 100%;
	height: 1px;
	background-color: rgba(250, 250, 250, 0.5);
}

#full .service-item p {
	color: #fff;
	margin-top: 30px;
}

#full .service-item .primary-blue-button {
	margin-top: 35px;
}

.pagelist_image {
	width: 300px !important;
	height: 200px;
	/* display: inline-block; */
	text-align: center;
	line-height: 104px;
	border: 3px solid #fff;
	background-color: #f4782e;
	background-position: center center;
}

.pagelist_image_big {
	width: 100% !important;
	height: auto;
	/* display: inline-block; */
	text-align: center;
	line-height: 104px;
	border: 3px solid #fff;
	background-color: #f4782e;
	background-position: center center;
}

.ccm-block-page-list-title {
	font-size:24px;
	text-align: center;
	color: #212121;
	margin-top:10px;
}

#full .portfolio-item {
	text-align: center;
	background-color: rgba(250, 250, 250, 0.75);
	padding: 20px 5px;
	border-radius: 10px;
    margin-bottom: 20px;
}

#full .portfolio-item .icon {
	width: 200px;
	height: 200px;
	display: inline-block;
	text-align: center;
	line-height: 104px;
	border: 3px solid #fff;
	border-radius: 50%;
	background-color: #f4782e;
}

#full .portfolio-item .icon-drillitlogs {
	background-image: url(../img/icon-drillitlogs.jpg);
	background-position: center center;
}

#full .portfolio-item .icon-besson {
	background-image: url(../img/icon-besson.jpg);
	background-position: center center;
}

#full .portfolio-item .icon-rd {
	background-image: url(../img/icon-rd.jpg);
	background-position: center center;
}

#full .portfolio-item .icon-biona {
	background-image: url(../img/icon-biona.jpg);
	background-position: center center;
}

.rig-image {
	float: right;
	margin-left:15px;
	margin-bottom: 15px;
	border: 1px solid #fff;
}
.sg-item-image {
	border: 1px solid #fff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	.navbar .nav {
		flex-direction: column; /* Stack items vertically */
		justify-content: flex-start;
		align-items: center; /* Center align items in the column */
	}
	
	.navbar .nav > li {
		margin: 5px 0; /* Add spacing between items */
        border-bottom: #f4782e solid 1px;
	}

	.navbar .nav > li > a {
		padding: 10px 15px; /* Adjust padding for smaller screens */
		line-height: 1.5; /* Tweak line height for readability */
	}
}
@media (max-width: 400px) {
	.navbar .nav {
		flex-direction: column; /* Stack items vertically */
		justify-content: flex-start;
		align-items: center; /* Center align items in the column */
	}
	
	.navbar .nav > li {
		margin: 5px 0; /* Add spacing between items */
	}

	.navbar .nav > li > a {
		padding: 10px 15px; /* Adjust padding for smaller screens */
		line-height: 1.5; /* Tweak line height for readability */
	}
    .ccm-form {
		width: 100%;
		margin-left:auto;
		margin-right:auto;
	}
	.rig-image {
		width: 100%;
		height: auto;
	}
}