/*
 Theme Name:   Vantage Child
 Template:     vantage
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

html {
  scroll-behavior: smooth;
}

body,
div,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
ol,
li,
dl,
dd,
table,
tr,
td {
	font-family: "Microsoft JhengHei UI", "Microsoft YaHei", "PingFang HK", "Helvetica Neue", "Helvetica", "Open Sans", sans-serif;
}

/**
 * Header
 */
#masthead.masthead-logo-in-menu .logo > img {
	max-height: none;
	width: 250px;
}

.main-navigation a {
	font-weight: normal;
}

.main-navigation ul li a:hover {
  text-decoration: underline;
 
}
.main-navigation ul ul {
  background-color: #77c6d1 !important;
}
body.responsive.layout-full #page-wrapper .main-navigation .full-container {
  max-width: 1120px;
}

a.logo {
  padding-left: 0 !important;
}

/**
 * Home
 */
body.home #main {
	padding-top: 0;
}

#home-background {
	background: url("./images/background.jpg") no-repeat center fixed;
    background-size: cover;
}

.recent-post-slider.design-3 .post-image-bg {
  height: 500px;
}

.recent-post-slider.design-3 .post-short-content {
  height: 15%;
}

.recent-post-slider .wp-post-date span {
  display: none;
}

.recent-post-slider h2.wp-post-title {
  display: inline-block;
}

.recent-post-slider .wp-post-date {
  display: inline-block;
}

.recent-post-slider .wp-post-date::after {
  display: none;
}

.recent-post-slider .wp-sub-content {
  font-size: 16px;
}

.featured-1 {
	position: relative;
}

.featured-1 .widget-title {
	font-size: 30px;
	color: white;
	position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-container {
  position: relative;
}

.overlay-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.overlay-title {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 30px;
  letter-spacing: 8px;
  box-sizing: border-box;
  border: 10px solid #2bc4db;
}

.overlay-container:hover .overlay-title {
  opacity: 1;
}

/**
 * Footer
 */
#colophon .widget_nav_menu .menu-item a {
	border-bottom: none;
}

#footer-widgets .widget .widget-title {
	font-size: 16px;
}

#colophon .widget_nav_menu .menu-item a {
	font-size: 14px;
}

.layout-full #colophon {
	padding-top: 80px;
	padding-bottom: 80px;
}

#colophon #site-info {
	font-size: 12px;
	margin-top: 50px;
}

