/*
Theme Name: Hokoku Oil
Theme URI: https://dongnaiweb.vn/
Description: Theme Hokoku Oil do Sao Kim thiet ke.
Author: Sao Kim
Author URI: https://dongnaiweb.vn/
Template: basic
Version: 1.0
*/
@import url("../basic/style.css");
body .site {
	font-size: 16px;
	color: #333;
	line-height: 1.7;
	font-family: 'Roboto', sans-serif;
}
body #layout {
}
body #content {
	padding: 0;
}
/* ========= HEADER ========= */
#headerwrap {
	background: url(../../uploads/slide_sky.jpg) no-repeat bottom;
	background-size: cover;
}
#header {
	height: auto;
	border: none;
}
#header hgroup {
	display: none;
}
.h_flag a {
	display: inline-block;
}
.h_flag a img {
	margin: 0;
	display: block;
}
/* ========= FOOTER ========= */
#footerwrap {
	background: #3b9ff9;
    color: white;
    padding-top: 20px;
}
#footerwrap a {
	color: white;
}
#footerwrap #footer {
	border: none;
}
#footerwrap .back-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 9;
}
.back-top a {
	background: url(../../uploads/gotop.png) no-repeat center, white;
    width: 60px;
    height: 60px;
}
#footerwrap .footer-text {
	text-align: center;
}
#footerwrap .footer-nav {
	text-align: center;
	padding: 10px 0;
}
#footerwrap .footer-nav li {
	border-left: 1px solid white;
	margin: 0 0 5px;
}
#footerwrap .footer-nav li:first-child {
	border-left: none;
}
#footerwrap .footer-nav li a {
	padding: 0 10px;
}
#footerwrap .footer-text .one a {
	display: inline-block;
	vertical-align: middle;
}
#footerwrap .footer-text .one img {
	display: block;
	width: 50px;
}
#footerwrap .footer_nav ul {
	margin: 0;
	display: block;
	width: 100%;
}
#footerwrap .footer_nav ul li a {
	padding: 5px 0;
}
#footerwrap .footer_nav ul li a:hover {
	text-decoration: underline;
}
/* ========= MENU ========= */
nav #main-nav {
	position: static;
	margin-bottom: 20px;
}
nav #main-nav li {
	float: left;
	border-left: 1px solid #333;
	text-transform: uppercase;
}
nav #main-nav li:last-child {
	border-right: 1px solid #333;
}
nav #main-nav li a {
	padding: 5px 26px 5px 27px !important;
	margin: 0;
	color: #333;
}
nav #main-nav li a:hover {
	color: #ff0000 !important;
}
#main-nav .current_page_item a, #main-nav .current-menu-item a {
    background-color: transparent;
    color: #333;
	border-radius: 0;
}
#main-nav ul {
	border-radius: 0;
}
#main-nav ul li {
	border: none !important;
}
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a {
    text-transform: uppercase;
}

/* ========= TABLE ========= */
.table_info table {
	border-collapse: collapse;
	width: 100%;
}
.table_info table tr th, .table_info table tr td {
	padding: 10px 10px;
    border: 1px solid #ccc;
	text-align: left;
}
.table_info table tr th {
	background: #e9e9e9;
}
.table_sp01 table tr td:first-child {
	width: 16%;
}
.table_sp01 table tr td:nth-child(3) {
	width: 12%;
}
.table_sp02 table tr td:nth-child(1) {
	width: 17%;
}
.table_sp02 table tr td:nth-child(2) {
	width: 17%;
}
.table_sp02 table tr td:nth-child(3) {
	width: 20%;
}
.table_sp02 table tr td:nth-child(4) {
	width: 10%;
}
.table_sp02 table tr td:nth-child(5) {
	width: 36%;
}
.table_sp03 table tr td:nth-child(1) {
	width: 21%;
}
.table_sp03 table tr td:nth-child(2) {
	width: 17%;
}
.table_sp03 table tr td:nth-child(3) {
	width: 12%;
}
.table_sp03 table tr td:nth-child(4) {
	width: 10%;
}
.table_sp03 table tr td:nth-child(5) {
	width: 40%;
}
.table_sp04 table tr td:nth-child(1) {
	width: 18%;
}
.table_sp04 table tr td:nth-child(2) {
	width: 14%;
}
.table_sp04 table tr td:nth-child(3) {
	width: 15%;
}
.table_sp04 table tr td:nth-child(4) {
	width: 53%;
}
.table_sp05 table tr td:nth-child(1) {
	width: 21%;
}
.table_sp05 table tr td:nth-child(2) {
	width: 17%;
}
.table_sp05 table tr td:nth-child(3) {
	width: 16%;
}
.table_sp05 table tr td:nth-child(4) {
	width: 10%;
}
.table_sp05 table tr td:nth-child(5) {
	width: 36%;
}

/* ========= POST ========= */
.news_post .list-post .post {
	margin-bottom: 0;
	padding: 15px 0;
}
.news_post .list-post .post .post-date {
	display: inline-block;
	vertical-align: middle;
}
.news_post .list-post .post .post-title {
	display: inline-block;
	vertical-align: middle;
	font-size: 20px;
	margin-bottom: 8px;
	margin-left: 20px;
}

/* ========= OTHER ========= */
.module_row > .row_inner, .module-layout-part .module_row.fullwidth_row_container > .row_inner {
	width: 1000px;
}
.module {
	margin-bottom: 30px;
}
.module .module-title {
	margin-bottom: 15px;
}
.module-fancy-heading .main-head {
	text-transform: uppercase;
}
li {
	margin: 0 0 1em 0;
}
.title_oil.module .module-title {
	background: url(../../uploads/icon_drop.png) no-repeat left top 3px;
    border-bottom: 2px solid #3b9ff9;
    padding: 0px 0 5px 20px;
    font-size: 20px;
}
.module-text p:last-child {
	margin-bottom: 0;
}
.module_column .module.module-buttons.outline .module-buttons-item a.red, .module_column .module-buttons.outline a.red {
    color: #ff0000;
    border-color: #ff0000;
}
.module_column .module.module-buttons.outline .module-buttons-item a.red:hover, .module_column .module-buttons.outline a.red:hover {
    background-color: #ff0000;
}
input[type=text], input[type=search], input[type=email], input[type=url], select, textarea, input[type=tel] {
    width: 100%;
    max-width: 100%;
	box-sizing: border-box;
	border-radius: 0;
}
select, input[type=tel] {
	background-color: #f3f3f3;
    border: solid 1px #ddd;
    padding: 6px 10px;
}
input[type=reset], input[type=submit], button {
	border-radius: 0;
}
.txt_pt, .txt_sx {
	margin-bottom: 30px;
}
.txt_pt .tb-column-inner, .txt_sx .tb-column-inner {
	background: rgba(6,114,210,.8);
	padding: 20px;
	color: white;
	height: 100%;
}
.ttl_pt.module-text {
	background: url(../../uploads/ban01icon.png) no-repeat left;
	color: white;
	background-size: 35px;
    padding: 0 0 0 55px;
	margin-bottom: 15px;
}
.ttl_pt.module-text .module-title, .ttl_sx.module-text .module-title {
    font-size: 24px;
	margin-bottom: 0;
}
.ttl_sx.module-text {
	background: url(../../uploads/ban02icon.png) no-repeat left;
	color: white;
	background-size: 35px;
    padding: 0 0 0 55px;
	margin-bottom: 15px;
}
.head_sp .main-head:before {
	content: '';
	width: calc(50% - 85px);
    height: 20px;
    border-top: 2px solid #3b9ff9;
    border-left: 2px solid #3b9ff9;
    display: inline-block;
    vertical-align: bottom;
	margin-right: 10px;
}
.head_sp .main-head:after {
	content: '';
	width: calc(50% - 85px);
    height: 20px;
    border-top: 2px solid #3b9ff9;
    border-right: 2px solid #3b9ff9;
    display: inline-block;
    vertical-align: bottom;
	margin-left: 10px;
}
.head_ttl_sp .main-head {
	font-size: 18px;
}
#pagewrap .head_ttl_sp .sub-head {
	font-size: 28px;
	text-transform: uppercase;
	color: white;
	padding-top: 8px;
}
#pagewrap .head_ttl_sp .sub-head:before {
	color: #3b9ff9;
}

@media screen and (max-width: 1024px) {
	nav #main-nav li a {
		padding: 5px 22px 5px 25px !important;
	}
}
@media screen and (max-width: 1000px) {
/* MENU Smartphone */
#headerwrap nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 90;
    width: auto;
    padding: 12px 0px;
    text-align: left;
	width: 100%;
    background: #3b9ff9;
}
  #headerwrap nav #main-nav{
   	display: block !important;
    position: fixed;
    background: #3b9ff9;
    right: -280px;
    top: 43px;
    left: auto;
    bottom: 0;
    transition: 0.5s ease all;
    width: 280px;
    border-radius: 0;
    border: 0;
    margin: 0;
    opacity: 1 !important;
    padding: 0 0 0 15px;
    max-height: 100vh;
    overflow-y: scroll;
  }
  #headerwrap nav .mobile-button.active ~ #main-nav{right: 0 !important;box-shadow: -10px 17px 20px 0px #0000005e;}
  #main-nav > li > a:before{display: none;}
  
  /* Menu button */
  #menu-icon.mobile-button{
   	width: 30px;
    background: none;
    border-radius: 0;
    color: #c4161c;
    margin: 0 10px 0 0;
    height: auto;
    float: right;
  }
  #menu-icon.mobile-button:before {
    content: "\e68e";
    font-family: 'themify';
    width: 1em;
    height: 1em;
    text-align: center;
   	color: #fff;
    font-size: 18px;
    top: auto;
    left: auto;
    position: relative;
    margin: 0;
    float: right;
  }
  
  #menu-icon.mobile-button.active:before {
      content: "\e646";
  }
  
  #headerwrap ul#main-nav > li{
   	margin: 0;
    border-bottom: 1px white solid;
    float: none;
	  width: 100%;
  }
  #headerwrap ul#main-nav > li.menu-item-has-children > a:after{
    display: none;
  }
  #headerwrap ul#main-nav li ul.sub-menu{
    opacity: 1;
    position: relative;
    top: 0;
    left: 0;
    padding-left: 20px;
    background: none;
    display: block;
  }
  #headerwrap ul#main-nav li ul.sub-menu li{
    border-top: 1px white solid; 
    margin: 0;
    background: transparent;
    padding: 0;
    border-bottom: none;
  }
  #headerwrap ul#main-nav li.dropdown-open ul.sub-menu{height: auto;}
  #headerwrap ul#main-nav li.dropdown-open > a:after{
   	transform: rotateX(180deg); 
  }
  #headerwrap ul#main-nav li a,
  #headerwrap ul#main-nav li a:hover{
    color: white;
    font-size: 14px;
    margin: 0;
    display: block;
    padding: 8px 0;
    font-weight: 500;
    position: relative;
	width: 100%;
	border: none;
	text-align: left;
  }
  #header nav #main-nav li ul li a {
    width: 100%;
  }
  #headerwrap #main-nav a .sub-arrow{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
  .sub-arrow:before{display: none;}
	/* end menu smp */
	#headerwrap {
		border: none;
		padding: 43px 0 0;
	}
	#headerwrap #header {
		padding: 0;
	}
	.social-widget {display: none}
}
@media screen and (max-width: 768px) {
	body .site {
		font-size: 14px;
	}
	.head_sp .main-head:before {
    	content: '';
    	width: calc(50% - 80px);
    }
    .head_sp .main-head:after {
    	width: calc(50% - 80px);
    }
}
@media screen and (max-width: 680px) {
	.h_ic .module-icon-item i {
		font-size: 18px;
    	padding: 0;
	}
	.h_ic .module-icon-item span {
		margin: 0;
		display: inline;
	}
	.news_post .list-post .post .post-title {
		display: block;
		font-size: 16px;
		margin-bottom: 8px;
		margin-left: 0;
	}
	body.single .post .post-title {
    	font-size: 20px;
	}
	.tableWrap {
		overflow-x: scroll;
	}
	.tableWrap table {
		width: 800px;
	}
	.back-top a {
    width: 40px;
    height: 40px;
    background-size: contain;
}
.ttl_pt.module-text .module-title, .ttl_sx.module-text .module-title {
    font-size: 20px;
}
.head_ttl_sp h2 {
    margin: 0;
}
.head_ttl_sp .main-head {
    font-size: 15px;
}
#pagewrap .head_ttl_sp .sub-head {
    font-size: 17px;
}
}