@media (min-width: 992px) {
  body {
    padding-top: 40px;
  }
}

@media (max-width: 991px) {
  .lead-logo {
    margin-top: 20px;
  }
}

img {
  object-fit:cover;
}

.slider {
  margin-top: 0px;
  margin-bottom: 0px;
}

.SLheader {
  padding-top: 20px;
  padding-bottom: 20px;
}

.d-flex {
  display: block;
  font-size: 11px;
  padding: 2px 20px 2px 20px;
  margin: 0px 10px 20px 10px;
  background-color: #e5e5e5;
  color: #555;
}

.card {
  width: 100%;
  padding: 20px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff ;
}

a {
  color: #333;
}

.pull-left p {
	font-size: 14px;
}

.article-content p a {
	color: #bf7900;
	display: inline;
}

a:hover {
  cursor: pointer;
  color: #ff7e00;
  text-decoration: none;
}

p {
  display: block;
  color: #333;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 11px;
}

h1 {
  display: block;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

h2 {
  display: block;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

h3{
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 800;
  padding-top: 20px;
  letter-spacing: 1px;
}

h4{
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}
h5{
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  word-wrap: break-word;
}
h6{
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  word-wrap: break-word;
}

.lead-article {

    position: relative;
    overflow: hidden;

}

.lead-article img {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
    max-height: 100%;
}

.sublead-article {

    position: relative;
    overflow: hidden;
    padding: 0px;

}

.sublead-article img {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
    max-width: 100%;
	padding-left: 2px;
}

.story-pic {
  z-index: -1; 
  object-fit: cover;
}

.story-text-box {
  font-size: 11pt;
  width: 90%; /*important*/
  bottom: 15px; /*important*/
  height: 70px;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 10px;
  margin-left: 5%;
  margin-bottom: 10px;
  background: #fff;
  z-index: 1;
  position: relative;
  border-bottom-style: solid;
  border-bottom-color: #555;
  border-bottom-width: 2px;
  box-shadow: 4px 4px 8px rgba(80,80,80,0.5);
}

.slider-text-box {
  width: 100%; /*important*/
  bottom: 0px;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 10px;
  background: rgba(0,0,0,0.5);
  z-index: 1;
  position: absolute;
  word-wrap: break-word;
  margin-bottom: 0px;

}

.slider-text-box h4 {

	  font-size: 24px;
	  
}

@media (min-width: 767px) {

	#ss-ad {
		display: block;
	}

	#lb-ad {
		display: block;
	}

	#cbt-ad {
		display: block;
	}
	
	#div-gpt-ad-1465422560079-1 {
		display: block;
	}	

	#m-lb-ad {
		display: none;
	}
	
	#div-gpt-ad-1403641513458-0 {
		display: none;
	}

}

@media (max-width: 767px) {

	.slider-text-box h4 {

	  font-size: 16px;
	  
	}
	
	.slider-text-box h5 {

	  font-size: 16px;
	  
	}
	
	#ss-ad {
		display: none;
	}

	#lb-ad {
		display: none;
	}

	#cbt-ad {
		display: none;
	}
	
	#div-gpt-ad-1465422560079-1 {
		display: none;
	}
	#m-lb-ad {
		display: block;
	}
	
	#div-gpt-ad-1403641513458-0 {
		display: block;
	}
	
}

.top-button{
	color: #FFF;
	background-color: #e5722a;
	padding: 9px;
	border: 0px;
	margin-right: 10px;
	border-radius: 3px;
	cursor: pointer; 
}
.top-button:hover{
	color: #BBB;
}

/* COMMENTS */

.comment-button{
	color: #FFF;
	background-color: #e5722a;
	padding: 9px;
	border: 0px;
	margin-top: 3px;
	margin-right: 10px;
	border-radius: 3px;
	cursor: pointer; 
}
.comment-button:hover{
	color: #BBB;
}

.comment-area {

	margin-top: 10px;
	margin-bottom: 20px;
	
}

.comment-area .title {

	background-color: #CCC;
	padding: 5px 5px 5px 10px;

}

.comment-area .title h1 {

	font-size: 18px;
	margin: 0px;
	padding: 0px;

}

.comment-form .title {

	background-color: #CCC;
	padding: 5px 5px 5px 10px;

}

.comment-form .title h1 {

	font-size: 18px;
	margin: 0px;
	padding: 0px;

}

/* END COMMENTS */

/* YML */

.yml .yml-title {

	font-size: 18px;
	background-color: #CCC;
	padding: 5px 5px 5px 10px;
	
}	

/* END YML */

.slider-text-box .xs{
  padding: 10px 0px; }

/*** 

====================================================================
 Login Popup style
====================================================================

***/

#blackout {
	visibility: hidden;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	background-color: #000;
	filter: alpha(opacity=80);
	-moz-opacity: .8;
	opacity: .8;
	z-index: 600;
}

.formPopup {

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	float: left;
	position: absolute; 
	z-index:700;
	background-color: #FFF;
	padding: 15px;
	font-size: 15px;
	
}

.formPopup .text {

	width: 200px;
	height: 25px;
	font-size: 13px;
	border: 1px solid #CCC;
	
}

.formPopup .button {

	width: 160px;
	height: 30px;
	font-size: 13px;
	background-color: orange;
	margin-right: 3px;
	
}


/* ----------------Navigation------------------ */
.navbar {
  text-transform: uppercase;
  font-weight: 200;
  font-size: 0.75vw;
  padding: 0px 3px 0px 3px;


}
.navbar .navbar-brand {
  color: #ccc;

}
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  color: #ffffff;
}
.navbar .navbar-text {
  color: #555;
}
.navbar .navbar-text a {
  color: #555;
}
.navbar .navbar-text a:hover {
  color: #eee;
}
.navbar .navbar-nav .nav-link:not(.disabled):hover,
.navbar .navbar-nav .nav-link:not(.disabled):focus {
  color: #555;

}
.navbar .navbar-toggle {
  border-color: #555;
}
.navbar .navbar-toggle:hover {
  background-color: #555;
}

.navbar .navbar-toggle .navbar-toggler-icon {
  color: #555;
}
.navbar .navbar-collapse,
.navbar .navbar-form {
  border-color: #555;
}
.navbar .navbar-link {
  color: #555;
}
.navbar .navbar-link:hover {
  color: #555;
}

.nav-tabs {
  padding: 1px;
  margin-bottom: 0px;
  border-bottom-width: 1px;
  border-bottom-color: #f77937;
  font-size: 10px;

}

.tab-content {
    background-color: #eee;
    padding-top: 5px ;
    margin: 0px;
    font-size: 10px;
}

.nav-tabs > li > a:hover{
  background-color: #f5f5f5 !important;
  border-radius: 3;
}

/* active tab color */
.nav-link .active {
  color: #fff;
  background-color: #f5f5f5;
}

.navbar-sunlive {
  text-transform: uppercase;
  font-weight: 200;
  font-size: 0.75vw;
  padding: 0px 3px 0px 3px;
}

.navbar-sunlive .nav-item:hover {
  background-color: #f8f8f8;
}

.navbar-sunlive .nav-item a {
	display: block;
}

@media (max-width: 767px) {

	.navbar-sunlive .nav-item ul {
	  margin-top: 60px;
	}

}

.footer-nav-item {
  list-style-type: none;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
}

.dropdown-toggle {
  text-transform: uppercase;
  font-weight: 200;
  padding: 9px 3px 8px 3px;

}

.dropdown-toggle::before, 
.dropdown-toggle::after {
    border: none;
    content: none;
  }

.dropdown-menu {
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2em;
  padding: 10px 15px;
  margin: 0px;
  border-radius: 0px;
  border-style: none;
  color: #ccc;
}



.footer-nav-item a{
  color: #eee;
  font-size: 100%;

}

.footer-nav-item a:hover{
  color: #bbb;
}

.navbar-collapse {
  background-color: inherit;
  padding: 0px 10px;
  margin: 0px;
  font-size: 10px;
}


/* ----------------Navigation end------------------ */


/*** 

====================================================================
 Pagination style
====================================================================

***/

.pagination{
	position:relative;
	padding:20px;
	background:#eeeeee;
	width:100%;
	margin:0px;
	text-align:right;
}

.pagination a{
	position:relative;
	color:#8e8e8e;
	font-size:13px;
	font-weight:600;
	display:inline-block
}

.pagination a:hover{
	position:relative;
	color:#ff0000;
	text-decoration:underline;
	font-size:13px;
	font-weight:600;
	display:inline-block
}

.pagination a .fa{
	position:relative;
	color:#fff;
	background:#dbdbdb;
	text-align:center;
	width:25px;
	height:25px;
	line-height:23px;
	font-size:14px;
	border-radius:5px;
	border:1px solid #e3e3e3;
	font-weight:600;
	margin-right:15px;
	transition:all 0.1s ease;
	-webkit-transition:all 0.1s ease;
	-moz-transition:all 0.1s ease;
	-ms-transition:all 0.1s ease;
	-o-transition:all 0.1s ease;
}

.pagination a .fa:hover{
	color:#fff;
	background:#ff0000;
}

.pagination a .fa.fa-angle-right{
	margin:0px 0px 0px 15px;
}



.sidebar { 
  float: right;
  position: relative;
  padding-left: 0px;
  display: inline;
  display: none;
  min-width: 330px;
}
   
.advert {
  position: relative;
  text-align: center;
  margin: 20px 20px 20px 25px;
}
   
/* Desktop*/ /*need to fix this later!*/
@media (min-width: 992px) { /*need to fix this width later!*/
  .sidebar  { display: block; }
  #leftside > button { display: none; }
}
 
@media (max-width: 1200px) {
  .advert { margin: 20px 0px; }
}

/* Left column */
.newscolumn {   
  display: block;
}

.latestnews {
  width: 100%;
  background-color: white; 
  padding: 20px; 
  margin-top: 20px; 
  margin-bottom: 20px;
  height: 400px;
}

.tall-ad {

	margin: 0px 10px 10px 0px;
	padding: 0px;
	
}

.article-content {

	width: 100%;
	min-height: 600px;

}

.article-content p {

	font-size: 14px;
	
}

.date {
  padding: 0px;
  margin: 0px;

}

.btn {
  background-color: #eee;
  color: #333;
  border: 1px solid #e7e7e7;
  text-transform: uppercase;
  font-size: 12px;
}

.btn:hover {
  background-color: #ddd;
  border: 1px solid #ddd;
  color: #333;
}

.brians-nav {
  display: block;
  background-color: #fff;
  border-bottom-style: solid;
  border-bottom-color: #f77937;
  border-bottom-width: 1px;
  margin: 2px 2px;
  padding: 15px 0px 5px 15px;
  color: #333;
  text-transform: uppercase;
  width: 48%;
  vertical-align: center;
}

.brians-nav:hover {
  background-color: #eee;
}

.competition-carousel {
  display: block;
  color: #333;

}

.carousel-item {
  display:inline-block;
 }

.carousel-caption {
  display: block;
  color: #333;
  position:relative;
}

.list-group-item {
  padding: 0px 20px;
  border: none;
  font-size: 12px;
}

.pull-right {
  float: right !important;
}

.stylish-input-group .input-group-addon{
  background: white !important; 
}

.stylish-input-group .form-control{
  box-shadow:0 0 0 0; 
  border-color:#eee;
  border-radius: 4px;
  height: 33px;
  margin: 2px 0px 2px 2px;
}

.stylish-input-group button{
    margin: 2px 2px 2px -20px;
    background:transparent;
    z-index: 3;
    position: relative;
    background-color: #eee;
}

/*** 

====================================================================
 GoodWork style
====================================================================

***/

.featured_job {

	width: 290px;
	height: 220px;

}

.jslide a {

	text-decoration: none;
	color: #0099ae;

}

.jslide a:hover {

	text-decoration: none;
	color: #00668c;

}

.jslide h2 {

	margin: 0px;
	margin-bottom: 10px;
	padding: 0px;
	font-size: 19px;
	
}

.jslide .job_img_container {

	position: relative;
	width: 290px;

}

.jslide .featured-des {
	
}

.jslide .status {

	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px; 
	border-radius: 3px;
	background: #0099ae;

	top: 0px;
	margin: 10px 10px 10px 0px;
	left: 5px;
	height: 35px;
	width: 100%;
	z-index: 1;

}

.jslide .status .status-text {

	width: 150px; 
	font-size: 18px;
	color: #FFFFFF;
	padding: 4px 5px 5px 12px;
	
}

.jslide .region {

	color: #222222;
	font-size: 11px;
	background-color: #CCCCCC;
	padding: 3px;

}

.jslide .job-location {

	font-size: 11px;
	color: #555;
	padding: 10px 0px 10px 0px;

}

.jslide .agency {

	font-size: 10px;

}

.jobHeading {

	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px;
	margin-bottom: 8px;
	background-color: #0099ae;
	border-radius: 8px 8px 0px 0px;
	color: #fff;

}

/********
*
* Content
*
*********/

.generic-content {
	padding: 10px;
	background-color: #FFFFFF;
	width: 64%;
	min-height: 2800px;
	margin: 15px;
	border: 1px solid #DDDDDD;
	border-radius: 3px;
}

@media (max-width: 1200px) {
	.generic-content {
		width: 63%;
	}
}

@media (max-width: 991px) {
	.generic-content {
		width: 96%;
	}
}

/********
*
* Article View
*
*********/

.details h2 {

	padding: 0px;

}

@media (min-width: 1220px) {
	#player {
		width: 516px;
		height: 389px;
	}

}

@media (max-width: 1219px) {
	#player {
		width: 320px;
		height: 240px;
	}
}

.navblock {

	border-radius: 5px;
	margin-top: 5px;
	background-color: #EEEEEE;
	padding: 15px;
	color: #FFFFFF;

}

.navblock .info {

	float: left;

}

.navblock .info p {

	font-size: 12px;

}

/********
*
* Article List
*
*********/

.list-post {
	display:block;
	padding-bottom:15px;
	margin-bottom:20px;
	border-bottom:1px solid #e3e3e3;
	min-height: 190px;
}

.list-post .post-des {
	padding: 0px 0px 0px 0px;
}


.list-post .post-des .texts p {

	font-size: 14px;

}

.list-post .post-des .post-title h2 {
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	font-weight:700;
}

@media (max-width: 767px) {

	.list-post .post-img .image {
		width: 100%;
		margin-bottom: 10px;
	}

}

@media (min-width: 767px) {

	.list-post .post-img {
		margin-right: 20px;
	}

	.list-post .post-img .image {
		margin-right: 20px;
		max-width:270px;
	}

}

.list-post .comment{
	color:#838383;
	font-size:12px;
}
.list-post .comment a{
	color:#919191;
}
.list-post .comment .fa{
	color:#e0e0e0;
	margin-right:5px;
	font-size:12px;
}
.list-post .comment:hover a .fa{
	color:#919191;
}

.read-more:hover {
  display: inline-block;
}

/***

====================================================================
 Opinion Poll
====================================================================

***/

.pollResult {

	height: 32px;
	padding-top: 5px;
	color: #FFF;
	background-color: #32487b;

}

.pollNoResult {

	padding-top: 5px;

}

.pollResultContainer {

	width: 100%;
	background-color: #EEE;
	height: 28px;
	margin-bottom: 8px;

}

.poll-button {
	color: #FFF;
	background-color: #e5722a;
	padding: 9px;
	border: 0px;
	border-radius: 3px;
	cursor: pointer; 
}

// AD X

.scene {
  width: 300px;
  height: 250px;
  border: 1px solid #CCC;
  margin: 40px 0;
  perspective: 600px;
}

.adx1 {
  position: relative;
  width: 300px;
  height: 250px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center right;
  transition: transform 1s;
  z-index: 0;
  backface-visibility: hidden;
}

.adx2 {
  position: relative;
  width: 300px;
  height: 250px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center right;
  transition: transform 1s;
  backface-visibility: hidden;
}

.adx1.is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
}

.adx2.is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
  backface-visibility: visible;
}

.adx__face {
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 250px;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  backface-visibility: hidden;
}

.adx__face--front {
  background: #FFFFFF;
}

.adx__face--back {
  background: #FFFFFF;
  transform: rotateY(180deg);
}
