/*
Theme Name: h2 Vietnam
Theme URI: http://localhost/h2vietnam
Author: Luan Le
Author URI: https://www.h2vietnam.vn/
Description: architecture, design
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
Text Domain: Le Cong Luan
More description here.
*/

@charset "utf-8";
/* CSS Document */
@font-face {
  font-family: Centory_Gothic;
  src: url("./includes/GOTHIC.TTF");
}

body, html {
	font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:14px !important; 
	color:#444444;
	text-align:left;
	height: 100%;
  	margin: 0;
	scroll-behavior: smooth;
}

.wrapper {
	position: relative;
    margin: 0 auto;
    max-width: 1024px; 
	padding: 0px;
	word-wrap: break-word; 
}

.topbar {
	position: fixed;
    margin: 0 auto;
    width: 100%; 
	height: 40px;
    padding: 0px;
    background: #C09091;
    z-index: 1;
}

div.flagbar {
	position: absolute;
	top: -1px;
	padding-left: 920px;
    float: right;
}

div.flagbar-s {
	position: absolute;
	top: -1px;
	//padding-left: 920px;
    float: right;
    right: 10px;
}

/*--- Top menu bar ---*/
.topbarnav {
	position: fixed;
	overflow: hidden;
	top: 0;
 	width: 100%;
	padding-top: 0px;
	padding-bottom: 0px;
	z-index: 1;
}

div.logo {
    width: 92px;
    height: 86px;
	position: relative;
	background: url(./images/logo.png) no-repeat left;
	display: block;
	z-index: 1;
    margin-top: 9px;
}



div.topmenu {
	position: absolute;
	top: 2px;
	padding-left: 430px;
    float: right;
}

.topmenu a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 10px 15px;
  text-decoration: none;
  font: 1.3em/1em sans-serif;
  //font-weight:bold;
}

.topmenu a:hover, .dropdown:hover .dropbtn {
  /*background-color: #ddd;*/
  color:  #99c72a;
  transition: 0.3s;
}

.topmenu-active {
	/*background-color: #CCCCCC;*/
	color: #99c72a !important;
    //background-color: #17a43b;
}

div.topmenu-small {
	position: relative;
	top:6px;
	height: 25px;
}

.topmenu-small a {
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;
  font: 1.1em/1em sans-serif;
  color: #ed3237;
}

.topmenu-small a:hover {
  /*background-color: #ddd;*/
  color: darkkhaki;
}


/*- Small top menu bar -*/
div.logo-small {
    height: 40px;
    width: 130px;
	position: relative;
	background: url(./images/logo-small.png) no-repeat center;
	display: block;
	z-index: 2;
    float: left;
    margin-top: 0px;    
}

/* Menu for the small screen */
.sidenav {
  max-height: 100%;
  width: 0;
  //position: absolute;
  position: fixed;        
  z-index: 3;
  top: 80px;
  left: 0;
  background-color: #404040;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 50px;
}

.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  display: block;
  transition: 0.3s;
  background: none;
  //width: 100%;
  border: none;
  text-align: left;
  cursor: pointer;
}

.sidenav a:hover, .dropdown-btn:hove {
  color: #ffc700;
}

/* Add an active class to the active dropdown button */
.active {
  background-color: #606060 !important;
  color: white;
}
.dropdown-container {
  display: none;
  background-color: #707070;
  padding-left: 6px;
}
.dropdown-container1 {
  display: none;
  background-color: #909090;
  padding-left: 12px;
}
.dropdown-container2 {
  display: none;
  background-color: darkgray;
  padding-left: 18px;
}

.fa-caret-down, .fa-caret-right {
  float: right;
  padding-right: 8px;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 30px;
  margin-left: 50px;
}
/* End of menu */
.goback {
    color: gray;
    font-size: 18px!important;
}
.goback:hover {
    text-decoration: none;
    color: #99c72a;
    transition: 0.5s;
}

.hline { width:100%; height:2px; margin-top: 3px; margin-bottom: 6px;background:#D8D8D8 }

.news-detail-title {
    //font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding:1px;
	//font-weight: 400px;
	font-size: 16px;
    font-weight: bold;
	//padding-top:30px;
    color: #404040;
    text-align: left;
}

.news-title {
    //font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding:1px;
	//font-weight: 400px;
	font-size: 17px;
	padding-top:30px;
    color: #454141; 
    text-align: center;
}

.news-title a {
    text-decoration: none;
}
.news-title a:hover {
    text-decoration: none;
    color: cornflowerblue;
    transition: 0.5s;
}

.title {
    font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding:1px;
	//font-weight: 400px;
	font-size: 26px;
	padding-top:30px;
    color: #606060;
    text-align: center;
}


.title span::after {
    content: "";
    display: block;
    position: absolute;

    //bottom: 0;
    left: 0;
	right: 0;
	margin:auto;
	//margin-top:40px;

    background: #ff9600;
    width: 55px;
    height: 9px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.footerbar {
	background-color: #808080;
    text-align:center; 
    position:relative; 
    width:100%;
}
.copyright {
	font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding:8px;
	color:#fff;
	font-size: 15px;
	text-align: left;
    
}

.bottom-icons {
	//position: inherit;
	//top: -1px;
	//padding-left: 820px;
    float: right;
    text-align: right;
}

.projects-title {
	color: #484848;
	font-size: 16px;
    font-weight: bold;
    float: left;
    position: relative;
}

.captionbar {
    //margin-top: 10px;
	//background:#d8d8d8;
	//height: 30px;
    width: 100%;
    padding: 4px;
    background: #d8d8d8 url("./images/highlight.png") no-repeat;
}

.projects-caption {
	font-family: Centory_Gothic, Helvetica,Arial,sans-serif;
	color: white;/*303030*/
	font-size: 16px;
    font-weight: bold;
    float: left;
    position: relative;
}

.projects-other {
	font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
	color:#ffffff;
	font-size: 16px;
    //font-weight: bold;
    text-align: left;
    float: left;
}

.projects-caption-more {
    font-family: "Neue Helvetica W01","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #719500;
    font-size: 15px;
    //font-weight: bold;
    //padding: 7px 0px;
    float: right;
    text-align: right;
}
.projects-caption-more a {
    text-decoration: none;
}
.projects-caption-more a:hover {
    text-decoration: underline;
    color: #ACBA08;
    transition: 0.3s;
}

.image_bound {
    position: relative;
}
.proj-image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.image_bound:hover .proj-image {
  opacity: 0.3;
}
.image_bound:hover .middle {
  opacity: 0.8;
}
.overtext {
  background-color: darkcyan;
  color: white;
  font-size: 16px;
  padding: 16px 32px; 
}

.image_bound-other {
  position: relative;
  width: 100%;
  height: auto;
}
.proj-image-other {
  display: block;
  width: 100%;
  height: auto;
}
.overlay-other {
 position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}
.image_bound-other:hover .overlay-other {
  opacity: 0.7;
  height: 100%;
}
.overtext-other {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;    
}


.contact-area {
	padding:10px;
	//background:#1ed3f7;
	color:#4c4c4c;
	//border-radius: 4px;
}
.contact_form-area {
	padding:10px;
	background-color: blanchedalmond;
	//color:#4c4c4c;
	border-radius: 4px;
}

.email-text {
    box-shadow: none;
}
.email-text a {
    text-decoration: none;
}
.email-text a:hover {
    text-decoration: none;
    color: #99c72a;
    transition: 0.3s;
}

table, th, td {
  border: 0px solid black;
  border-collapse: collapse;
    padding: 3px !important;
}

.contact-area {
	padding:10px;
	background:#D3D3D3;
	color:#4c4c4c;
	border-radius: 4px;
}

img {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  max-width: 100%; 
  height: auto;
    
}


/* Style inputs with type="text", select elements and textareas */
input[type=text], textarea {
    width: 100%; /* Full width */
    padding: 3px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 3px; /* Add a top margin */
    margin-bottom: 3px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type=button] {
	background-color: coral;
	color: white;
	padding: 5px 25px;
	border: none;
	border-radius: 0px;
	cursor: pointer;
	margin-top:7px;
}

input[type=button]:hover {
	background-color: tomato;
    transition: 0.3s;
}

div.zalo {
    position: fixed;  
    bottom: 80px;
    left: 15px;
    z-index: 3;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 25px;
    z-index: 9999;
    width: 30px;
    height: 25px;
    text-align: center;
    line-height: 30px;
    background: #0099FF;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.5s ease-out;
    opacity: 0;
}
#back-to-top:hover {
    background: #0066CC;
}
#back-to-top.show {
    opacity: 1;
}



/* >> Slidershow << */
* {box-sizing: border-box}
body {font-family: Verdana, Geneva, sans-serif; margin:0;}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
	max-width: 1920px;
	position: relative;
	margin: auto;
	width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 5px;
  width: 60px;
  margin: 0 2px;
  margin-top:5px;
  background-color:burlywood; //bbb
  //border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #ff9600;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


