/*
Theme Name: Blogberry
Theme URI: http://seedthemes.com/blogberry/
Author: SeedThemes
Author URI: http://seedthemes.com/
Description: Minimal theme for blogger.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, custom-background, custom-colors, custom-menu, featured-images, sticky-post
Text Domain: blogberry

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Preload fonts */
@font-face {
    font-family: 'thaisans_neueregular';
    src: url('inc/thaifonts/thaisansneue-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0E00-0E7F; /* Thai characters only */
}

/* Fallback fonts */
@font-face {
    font-family: 'thaisans_neueregular';
    src: url('inc/thaifonts/thaisansneue-regular-webfont.eot');
    src: url('inc/thaifonts/thaisansneue-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('inc/thaifonts/thaisansneue-regular-webfont.woff') format('woff'),
         url('inc/thaifonts/thaisansneue-regular-webfont.ttf') format('truetype'),
         url('inc/thaifonts/thaisansneue-regular-webfont.svg#thaisans_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body{
	background-color: #f0f0f0;
	line-height: 1.6;
	color: #333;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a{
	color: #68944a;
	cursor: pointer !important;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

a:hover{
	opacity: 0.9;
}

a:active{
	opacity: 0.7;
}

blockquote{
	padding: 15px;
	margin: 0 0 20px;
	background-color: #f8f8f8;
	border-left: 3px solid #eaeaea;
}

.menu-toggle {
	display: none;
}

h1,h2,h3,h4,h5,h6{
	font-weight: normal;
	font-family: "Sukhumvit Set","thaisans_neueregular",sans-serif;
}
#page{
	width: 990px;
	margin: 20px auto;
	padding: 0 20px;
}

#head{
	width: 180px;
	position: fixed;	
}
#head a{
	color: #333;
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-o-transition: opacity .2s ease-in-out;
	-ms-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
}
#head a:hover{
	opacity: 0.8;
	
}
#head a:active{
	opacity: 0.6;
}
#brand{
	position: relative;
}

#brand .logo{
	width: 126px;
	height: auto;
	
}
#brand .logo img{
	max-width: 120px;
	width: auto;
	margin: 10px 0;
}
#brand .logo.bordered img{
	border-radius: 100px;
	height: auto;
	width: auto;
	border: 3px solid #fff;
	border-radius: 100px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	background-color: #fff;
	box-sizing: content-box;
}
#brand .title{
	font-size: 22px;
	line-height: 1.3em;
	margin: 0;
}

body.font-th #brand .title{
	font-size: 22px;
	line-height: 1.2em;
}
#brand .desc{
	margin: 0 0 20px;
	font: 12px/1.5em Thonburi, Tahoma, Loma, Arial, sans-serif;
	opacity: 0.6;
}
@-webkit-keyframes fadeInUp {
	0% {opacity: 0;-webkit-transform: translateY(10px);}
	100% {opacity: 1;-webkit-transform: translateY(0);}
}
@-moz-keyframes fadeInUp {
	0% {opacity: 0;-moz-transform: translateY(10px);}
	100% {opacity: 1;-moz-transform: translateY(0);}
}
@-o-keyframes fadeInUp {
	0% {opacity: 0;-o-transform: translateY(10px);}
	100% {opacity: 1;-o-transform: translateY(0);}
}
@keyframes fadeInUp {
	0% {opacity: 0;transform: translateY(10px);}
	100% {opacity: 1;transform: translateY(0);}
}
.fadeInUp {
	-webkit-animation-name: fadeInUp;
	-moz-animation-name: fadeInUp;
	-o-animation-name: fadeInUp;
	animation-name: fadeInUp;
	-webkit-animation-duration: 1s;
	   -moz-animation-duration: 1s;
	     -o-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	        animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@-o-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	-moz-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
	-webkit-animation-duration: 2s;
	   -moz-animation-duration: 2s;
	     -o-animation-duration: 2s;
	        animation-duration: 2s;
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	        animation-fill-mode: both;
}
#searchform {
	
	margin: 20px 0;
}
#s {
	width: 124px;
	font-size: 12px;
	height: 32px;
	float: left;
	border-radius: 3px 0 0 3px;
	border-right:none;
}
#searchform button {
	height: 32px;
	width: 36px;
	display: inline-block;
	border-radius: 0 3px 3px 0;
	font-size: 14px;
	padding-top: 5px;
}


#nav {
	font-size: 15px;
}
#nav ul{
	margin: 0 0 15px;
}

#nav li{
	list-style: none;
	margin: 0 0 8px;
	line-height: 1.3em;
	display: block;
	color: rgba(51, 51, 51, 0.8);
}

#nav li ul{
	display: none;
}

body.font-th #nav li{
	font-size: 18px;
}

#nav li ul.dropdown-menu{
	display: none;
}

#nav [class^="icon-"], 
#nav [class*=" icon-"] {
	margin-right: 5px;
}


#s:focus{
	border-color: #ccc;
	outline:0;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgb(255, 255, 255)
}

#main{
	float: right;
	width: 740px;
}

#content{
	background-color: #fff;
	border-radius: 5px 5px 3px 3px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
	min-height: 500px;
}



#intro,
#content h1.title{
	color: #fff;
	margin: 0;
	padding: 14px 30px 12px;
	border-radius: 3px 3px 0 0;
	background-color: #68944a;
}
h1.title {
	font-size: 2.1em;
	line-height: 1.2;
}
#intro a{
	color: #fff;
}
#intro{
	padding: 25px 45px;
	font-size: 20px;
}
#intro h1,
#intro h2,
#intro h3,
#intro h4,
#intro h5,
#intro h6{
	margin: 15px 0;
	line-height: 1em;
	font-weight: normal;
}

#content h1.title a{
	color: #fff;
}
#content h1.title a:hover{
	opacity: 0.8;
}
#content h1.title a:active{
	opacity: 0.6;
}
.entry{
	padding: 20px 45px;
}

.items{
	padding: 25px 0;
}
.item{
	padding: 15px 45px;
	position: relative;
}

.item .featured-post{

}
.item .pic{
	float: left;
	width: 150px;
}
.item .pic img{
	border-radius: 2px;
	box-shadow: 0px 0px 2px #ccc;
}
.item .info{
	padding-left: 175px;
}
.item .info h3{
	margin: 0;
	font-size: 22px;
}

.item .info .meta{
	font-size: 12px;
	margin: 5px 0 0;
	color: #888;
	padding: 0;
}
.meta{
	color: #999;
	padding: 15px 45px 0;
	font-size: 0.9em;
}
.meta i{
	margin: 0 12px 0 0;
}

.meta i.fa:before{
	margin: 0 4px 0 0;
}
.item .info p{
	margin: 5px 0 0;
}

.sticky{
	
}
.gallery-caption{
	
}


.author{
	
}

.author .pic{
	
}

.author .info{
	
}

.author .author-link{
	
}

.social{
	padding: 2px 45px 20px;
}

.social .more{
	float: right;
}

.social .twitter{
	
}

.social .gplus{
	
}

.social .facebook{
	
}


.pagination{
	padding: 0 45px;
	margin: 0 0 30px;
}

.pagination li{
	display: inline-block;
}
.pagination li span,
.pagination li a{
	display: inline-block;
	padding: 4px 12px;

	border: 1px solid #ddd;	
	border-left: none;
}
.pagination li.active{
	font-weight: bold;
}
.pagination li:first-child span,
.pagination li:first-child a {
	border-left: 1px solid #ddd;	
}
#content .fb-comments{
	padding: 10px 0 2px;
	clear: both;
	display: block;
}

#content .fb-comments span,
#content .fb-comments iframe{
	width: 100% !important;
}

#comments{
	padding: 25px 45px;
}
.comments-area {
	background-color: #fff;
	border-top: 1px solid #e4e4e4;
	font-size: 15px;
}

.comments-area > :last-child {
	margin-bottom: 0;
}

.comment-list + .comment-respond {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.comment-list + .comment-respond,
.comment-navigation + .comment-respond {
	padding-top: 1.6em;
}

.comments-title,
.comment-reply-title {
	margin: 10px 0;
}

.comments-title {
	margin-bottom: 1.3333em;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(51, 51, 51, 0.1);
	padding: 1.6em 0;
}

.comment-list .children {
	list-style: none;
	margin: 0;
}

.comment-list .children > li {
	padding-left: 0.8em;
}

.comment-author {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);

}
.comment-meta.commentmetadata {
	margin-bottom: 14px;
}
.comment-meta.commentmetadata a{
	font-size: 0.8em;
	color: #888;
}
.comment-meta.commentmetadata a.comment-edit-link{

}
.comment-body {
	margin-bottom: 20px;
}
.comment-body p {
	margin-bottom: 15px;
}

.comment-author a:hover {
	border-bottom: 1px solid #707070;
	border-bottom: 1px solid rgba(51, 51, 51, 0.7);
}

.comment-author .avatar {
	float: left;
	margin-right: 0.8em;
}

.bypostauthor > article .fn:after {
	content: "\f304";
	position: relative;
	top: 5px;
	left: 3px;
}




.comment-list .reply {
	font-size: 12px;
}

.comment-list .reply a {
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, 0.1);
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: inline-block;
	line-height: 1;
	padding: 0.4167em 0.8333em;
}

.comment-list .reply a:hover,
.comment-list .reply a:focus {
	border-color: #333;
	color: #333;
	outline: 0;
}

.comment-form label {
	color: #707070;
	display: block;
	margin: 0 0 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form input[type="submit"] {
	width: 100%;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.form-allowed-tags {
	color: #707070;
	font-size: 0.8em;
}

.logged-in-as a:hover {
	border-bottom: 1px solid #333;
}

.comment-navigation + .no-comments {
	border-top: 0;
}

.form-allowed-tags code {
	font-family: Inconsolata, monospace;
}

.form-submit {
	margin-bottom: 0;
}

.required {
	color: #c0392b;
}

.comment-reply-title small {

}

.comment-reply-title small a {
	float: right;
	
}




.tagcloud{
	overflow: hidden;
}
.tagcloud a{
	float: left;
	display: block;
	padding: 2px 6px;
	color: #888;
	background-color: #eee;
	border-radius: 3px;
	margin: 0 8px 8px 0;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.18);
	-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.18);
	line-height: 28px;
}


#sidebar{
	margin: 0 0 20px;
	font-size: 0.9em;
}

.widget{
	list-style: none;
}

.widget h3{
	font-size: 18px;
	margin: 0 0 5px;
}



li.comment.bypostauthor{
	background-color: #faf8f2;
	border-color: #cddeed;	
	padding: 10px;	
	margin-bottom: 15px;
}

#foot-widgets{
	border-top: 1px solid #e4e4e4;
	padding: 0 25px;
}
#foot-widget {
	display: table;
	width: 100%;
	margin: 0;
	color: #888;
	font-size: 13px;
}
#foot-widget>li{
	display: table-cell;
	padding: 20px;
}


#foot{
	font-size: 11px;
	overflow: hidden;
	padding: 10px 0;
	opacity: 0.5;
}
#foot a{
	color: #333;
}
#foot .credit{
	float: right;
}

#foot .copyright{
	float: left;
}






@media screen and (max-width: 990px) {

#page {margin: 0 auto;padding: 0;width: 740px;}
#head {
	width: 100%;
	padding: 15px 0 0;
	float: none;
	position: relative;
	margin: 0 auto;
}
#brand {float: left;margin: 0 0 10px;width: 50%;}
#brand .logo{
	float: left;
	text-align: left;
	margin: 0;
	max-width: 150px;
	width: auto;
}
#brand .edit-this-logo{
	display: none;
}
#brand .logo img,
#brand .logo.bordered img{
	height: 50px;
	width: auto;
	float: left;
}
#brand .name{
	float: left;
	padding: 14px 0 0 16px;
}
#brand .desc {
	margin: 0 0 10px;
}
#search {

}
#s{
	width: 142px;
}
#nav {
	float: right;
	margin: 0 0 0 20px;
	width: 178px;
}
#nav .menu-toggle {
	display: block;
	padding: 4px 8px;
	margin: 20px 0 15px;
	width: 100%;
	line-height: 20px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}
#nav #mainnav{
	height: 0;
	opacity: 0;
	overflow: hidden;
	-webkit-transition: all .5s ease-in-out;
	       -moz-transition: all .5s ease-out;
	            transition: all .5s ease-out;
}
#nav #mainnav.show{
	height: auto;
	opacity: 1;
	min-height: 80px;
	max-height: 400px;

}
#search{
	margin: 0;
}
#main {float: none;margin: 0 auto;}
#sidebar{
	display: none;
}

}



@media screen and (max-width: 739px) {
#page {
	width: 100%;
	box-sizing: border-box;
}

#head{
	padding: 10px 10px 0;
	width: auto;
}

#nav{
	margin: 0;
}
#mainnav{
	
}
#main{
	width: 100%;
}

#content{
	border-radius: 0;
}

#intro, #content h1.title{
	border-radius: 0;
}
#intro{
	padding: 10px 20px;
}




.items{
	padding: 5px 0 0;
}
.item {
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
}

.item .pic{
	float: right;
	width: 90px;
	margin: 5px 0 10px 10px;
}

.item .info{
	padding-left: 0;
}
.pagination{
	margin: 0;
	padding: 10px 20px 5px;
	background-color: #f8f8f8;
}
#content .fb-comments{
	padding: 20px 15px 2px;
}
#foot-widgets{
	padding: 0;	
}
#foot-widget{
	display: block;

}
#foot-widget>li{
	display: block;
	border-bottom: 1px dotted #ddd;
}
#foot-widget>li:last-child{
	border-bottom: none;
}
.facebook{
	width: 100%;
	overflow: hidden;
}
.facebook iframe{
	width: 100% !important;
}
.social .more{
	float: none;
}
.meta{
	padding: 15px;
}
.entry{
	padding: 5px 15px 15px;
}
.social{
	padding: 0 15px;
}
.wp-caption {
	padding-top: 0;
}
#comments{
	padding: 15px;
}
#commentform input[type="text"], #commentform textarea{
	width: 300px;
}


#foot{
	padding: 10px;
}
#foot .credit{
	float: none;
}

}


@media screen and (max-width: 479px) {

#brand{
	float: none;
	width: 100%;
	overflow: hidden;
}
#nav {
	float: none;
	width: 100%;
}

#intro{
	font-size: 18px;
}

#search{
	float: none;
}

#commentform label{
	position: relative;
	display: block;
}


#commentform input[type="text"], #commentform textarea{
	width: 90%;
	margin-left: 0;
}

#submit{
	margin-left: 0;
}


}