/*
Theme Name: Avada Child
Description: Child theme for the Avada
Author: Lee Han Kyeol
Template: Avada
*/
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);

body {
	font-family: 'Nanum Gothic', sans-serif !important;
}

.fusion-modal h1, .fusion-page-title-bar h1, .fusion-widget-area h1, .post-content h1,
#main .post h2, #main .reading-box h2, #main h2, .ei-title h2, .fusion-modal h2, .fusion-title h2, .fusion-widget-area h2, .main-flex .slide-content h2, .post-content h2, .title h2,
.fusion-main-menu > ul > li > a, .side-nav li a {
	font-family: 'Nanum Gothic', sans-serif !important;	
}

/* Narrow down the margin between the cards. */
#posts-container.fusion-blog-layout-grid .fusion-post-grid {
	padding: 7px !important;
}

/* Some font-family exceptions */
.fusion-main-menu .fusion-main-menu-search a {
	font-family: 'icomoon' !important;
}

#main .post h2.post-title a {
	/*color: black;*/
	font-size: 16px;
}
#main p {
	line-height: 22px;
}
.grid-layout .post-content-container {
	padding: 0 15px
}

#footer-profile img {
	width: 100px;
	float: right;
}
#nav a {
	font-weight: bold;
}
.grid-layout .post-content-container {
	padding: 15px;
}

/* By Lee Han Kyeol */
@media (max-width: 800px) {
	.fusion-mobile-selector {
		height: 31px !important;
	}

	.fusion-open-submenu {
		height: 31px !important;
		line-height: 31px !important;
	}

	/* Mobile menu. */
	.fusion-selector-down {
		position: static;
	    line-height: 31px !important;
	    height: 31px !important;
	    width: 50px;
	    border: 0; 
	    font-size: 24px;
	    margin: 0 auto;
	}

	.fusion-mobile-nav-item a {
		height: 31px !important;
		line-height: 31px !important;
	}
}

@media (max-width: 712px) {
	/* Narrow the s**t down horizontal paddings. */
	.avada-row {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	/* Shorten the header. */
	.fusion-contact-info {
		display: none;
		visibility: hidden;
	}
}

#footer-profile img {
	margin: 0 0 0 1em;
}

@media only screen and (max-device-width: 640px) and (min-device-width: 320px) {
	/* Make footer better. */
	.fusion-columns .fusion-column {
		font-size: 12px;
	}
	.fusion-columns .fusion-column {
		margin: 0 0 1em !important;
	}
	.fusion-footer-widget-area {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.post-content p {
		font-size: 16px !important;
		line-height: 24px !important;
	}
}

@media only screen and (max-width: 800px) {
	/* Search form in mobile navigaton */
	.fusion-menu .searchform {
		margin-top: 0 !important;
	}

	.fusion-menu .searchform .search-button {
		width: 29px;
	}
}

/* Centering mobile menu hamberger icon. */
div.fusion-row div.fusion-mobile-menu-icons {
	text-align: center;
	clear: both;
}
div.fusion-row div.fusion-mobile-menu-icons a {
	float: none;
	margin-left: 0;
}

div.fusion-main-menu .sub-menu {
	width: 177px !important;
}



