/*
Theme Name: Anton
Theme URI: http://wordpress.org/
Author: anton
Author Name: http://wordpress.org/
Descripttion: This is theme for khoanglang.com - design by Anton
Version: 1.0
*/


@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot'); /* IE9 Compat Modes */
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/flexslider-icon.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/flexslider-icon.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/flexslider-icon.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/flexslider-icon.svg#svgFontName') format('svg'); /* Legacy iOS */
}

/* Reset
----------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
ol,
ul {
	list-style: none;
}

/* General
-------------------------------------------------------------------------*/
*, *:before, *:after {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	}
html {
	margin:0;
	padding:0;
	overflow-y:scroll;
	}
body {
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-size: 14px;
	line-height: 25px;
	color: #000;
	background: #fff9d9 url('images/bg.png') repeat top left fixed;
	}
h1, h2, h3, h4, h5, h6, dl, dt {
	color:#414141;
	line-height:1.2;
	font-weight:normal;
	}
h1 {
    font-size: 18px;
    }

h2 {
    font-size: 12px;
    }

h3 {
    font-size: 20px
    }

h4 {
    font-size: 18px
    }
h5 {
	font-size:16px;
	}
h6 {
    font-size: 14px
    }

a{
	color: #444;
}	
a:hover {
	color:#E74C3C;
	transition: color .3s ease-in-out;
	-moz-transition: color .3s ease-in-out;
	-ms-transition: color .3s ease-in-out;
	-o-transition: color .3s ease-in-out;
	-webkit-transition: color .3s ease-in-out;
	}
a,
a:focus,
a:hover {
	text-decoration:none;
	}
a:focus, 
a:active, 
input:focus, 
select:focus, 
textarea:focus, 
button:focus {
    outline: none !important;
    }
img{
	max-width: 100%;
	height: auto;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}
ul, ol {
    margin-bottom: 0;
    }
li {
	line-height:1.5;
    }
	/* table */
table {
	width:100%;
	margin: 0 0 30px;
	border:1px solid #c5c5c5;
	box-shadow:1px 1px 3px rgba(0,0,0,.1);
	-webkit-box-shadow:1px 1px 3px rgba(0,0,0,.1);
	-moz-box-shadow:1px 1px 3px rgba(0,0,0,.1);
	}
table td,
table th {
	border:1px solid #c5c5c5;
	padding:8px 12px;
	vertical-align:middle;
	text-align:left;
	}
table th {
	font-weight:bold;
	border:1px solid #ccc;
	background:#f1f1f1;
	}
	
.full,
ul.menu-class,
ul.menu-footer-class{
	float: left;
	width: 100%;
	display: inline-block;
}
.container{
	width: 1000px;
	margin: 0 auto;
}
/* Layout */

#primary{
	width: 68%;
	display: inline-block;
	float: left;
	padding: 0 11px;
}	
#secondary{
	width: 32%;
	display: inline-block;
	float: left;
	padding-right: 11px;
}

#Anton-loading-home{
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	width:100%;
	height:100%;
	z-index:99999999;
	background:#77735E;
}
.circle-spinner{
	height:60px;
	width:60px;
	left:50%;
	top:50%;
	z-index:10;
	opacity:1;
	margin:-30px 0 0 -30px;
	display:inline-block;
	visibility:visible;
	position:absolute;
	-webkit-transition:all .3s ease-in-out 0;
	transition:all .3s ease-in-out 0
}
@-webkit-keyframes bouncedelay{
	0%,80%,100%{-webkit-transform:scale(0.0)}
	40%{-webkit-transform:scale(1.0)}}
@keyframes bouncedelay{
	0%,80%,100%{transform:scale(0.0);
	-webkit-transform:scale(0.0)}
	40%{transform:scale(1.0);-webkit-transform:scale(1.0)}
}
.container1 > div,
.container2 > div,
.container3 > div{
	width:12px;
	height:12px;
	background-color:#fff;
	border-radius:100%;
	position:absolute;
	-webkit-animation:bouncedelay 1.2s infinite ease-in-out;
	animation:bouncedelay 1.2s infinite ease-in-out;
	-webkit-animation-fill-mode:both;animation-fill-mode:both
}
.circle-spinner .spinner-container{
	position:absolute;
	width:100%;
	height:100%
}
.container2{
	-webkit-transform:rotateZ(45deg);
	transform:rotateZ(45deg)
}
.container3{
	-webkit-transform:rotateZ(90deg);
	transform:rotateZ(90deg)
}
.circle1{
	top:0;
	left:0
}
.circle2{
	top:0;
	right:0
}
.circle3{
	right:0;
	bottom:0
}
.circle4{
	left:0;
	bottom:0
}
.container2 .circle1{
	-webkit-animation-delay:-1.1s;
	animation-delay:-1.1s
}
.container3 .circle1{
	-webkit-animation-delay:-1s;
	animation-delay:-1s
}
.container1 .circle2{
	-webkit-animation-delay:-.9s;
	animation-delay:-.9s
}
.container2 .circle2{
	-webkit-animation-delay:-.8s;
	animation-delay:-.8s
}
.container3 .circle2{
	-webkit-animation-delay:-.7s;
	animation-delay:-.7s
}
.container1 .circle3{
	-webkit-animation-delay:-.6s;
	animation-delay:-.6s
}.container2 .circle3{
	-webkit-animation-delay:-.5s;
	animation-delay:-.5s
}
.container3 .circle3{
	-webkit-animation-delay:-.4s;
	animation-delay:-.4s
}
.container1 .circle4{
	-webkit-animation-delay:-.3s;
	animation-delay:-.3s
}
.container2 .circle4{
	-webkit-animation-delay:-.2s;
	animation-delay:-.2s
}
.container3 .circle4{
	-webkit-animation-delay:-.1s;
	animation-delay:-.1s
}





/* Header 
--------------------------------------------------------------*/
header .logo{
	text-align: center;
}
header .main-navigation{
/*	box-shadow: 10px 0 10px 10px #D4CFB4;
	-webkit-box-shadow: 10px 0 10px 10px #D4CFB4;
	-moz-box-shadow: 10px 0 10px 10px #D4CFB4;
*/
	background: url('images/bg_menu.gif') repeat-x top left;
}
ul.menu-class li,
ul.menu-footer-class li{
	display: inline-block;
	float: left;
}
ul.menu-class li a,
ul.menu-footer-class li a{
	display: inline-block;
	float: left;
	padding: 10px 15px;
	background: url('images/divider.png') no-repeat center right;
	font-weight: bold;
	font-size: 12px;
}
#main{
	margin-top: 15px; 
	padding: 15px 0px; 
	background-color: #E5DDBB;
}

/* Slide
------------------------------------------------------*/
#slider {
    width: 100%;
	height: 280px;
    overflow: hidden;
}
li.css a {
	border-radius: 0;
}
.flexslider{
	margin-bottom: 0 !important;
}
.flexslider .slides > li{
	position: relative;
}
.flexslider .slides > li p.flex-caption{
	position: absolute;
	left: 0;
	width: 75%;
	padding: 2%;
	left: 25px;
	top: 215px;
	background: rgba(0,0,0,.5);
	color: #fff;
	font-weight: bold;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	font-size: 14px;
	line-height: 18px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.flex-direction-nav a:before{
	font-size: 25px !important;
}


.box{
	width: 50%;
	height: ;
	padding: 10px 0 0 5px;
	display: inline-block;
	float: left;
}
.box .title-box{
	background: url('images/bg_title_1.png') no-repeat top left;
	padding: 34px 0 8px;
}
.box .title-box a{
	font-weight: bold;
	color: #000;
	padding-left: 30px;
}
.box .content-box{
	padding: 12px;
    background-color: #fff;
    border: 2px solid #A69171;
    border-top: none;
}
.box .content-box .thumb,
article.post .thumbnail{
	position: relative;
}
.mask-overlay,
.opacity{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.7;
	transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
}
.mask-overlay::before,
.mask-overlay::after{
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 30px;
	left: 20px;
	content: '';
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}
.mask-overlay::before{
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}
.mask-overlay::after{
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}
.box .content-box .thumb:hover  a.mask-overlay::before,
.box .content-box .thumb:hover a.mask-overlay::after,
article.post .thumbnail:hover  a.mask-overlay::before,
article.post .thumbnail:hover a.mask-overlay::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
	

.title-feature a{
    font-size: 12px;
    font-weight: bold;
    color: #8a623b;
    /* padding: 10px 0 0 0; */
    line-height: 18px;
	border-bottom: 1px dotted #000;
}
h3.other_post{
	font-size: 12px;
	padding: 5px 0;
    border-bottom: 1px solid #CCCCCC;
}
footer{
	text-align: center;
	background-color: #E5DDBB;
	padding: 0 15px;
}
ul.menu-footer-class li:first-child a{
	padding-left: 0;
}

/* Sidebar
----------------------------------------------------*/
#secondary > aside{
	margin-bottom: 10px;
	background-color: #724E27;
	padding: 1px 1px 20px;
	display: table;
	width: 100%;
    border-radius: 0 20px 0 20px;
}
#secondary > aside.widget_search{
	background-color: transparent;
}
#secondary > aside h3.widget-title{
	margin: 10px 0;
    font-size: 22px;
    color: #fff;
    padding-left: 10px;
    font-family: 'Time News Roman';
}
.widget_search input[type='search']{
	padding: 3px;
	width: 75%;
}
.widget_search input[type='submit']{
	padding: 3px 5px;
}
#secondary > aside ul{
	background: #fff;
    padding: 10px 4px;
}
ul.anton-popular-posts li{
	display: table;
    width: 100%;
    line-height: 1.3;
    padding: 5px 0 5px;
    border-bottom: 1px solid #ccc;
}
ul.anton-popular-posts li .view_left{
	width: 90px;
    float: left;
    margin-right: 10px;
	position: relative;
}
ul.anton-popular-posts li .view_left a.opacity{
	opacity: 0;
	background-color: rgba(255,255,255,.7)
}
ul.anton-popular-posts li .view_left a.opacity:hover{
	opacity: .5;
}
.widget ul a {
    color: ##8a623b;
	font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
ul.anton-popular-posts li .view_left img{
	border: 1px solid #dadada;
    padding: 3px;
}
p.views{
	margin-top: 3px;
    font-size: 11px;
    color: #00aade;
}


/* Category
---------------------------------------------------------------------*/
.title-cat h1{

    color: #2f1700;
	font-weight: bold;
}	
article.post{
	width: 49%;
	display: inline-block;
	float: left;
	border: 1px solid #5f4b33;
	margin-right: 12px;
	margin-top: 10px;
	padding: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
article.post:nth-child(2n){
	margin-right: 0;
}
article.post .thumbnail{
	width: 135px;
	float: left;
	margin-right: 10px;
	display: inline-block;
}
article.post h2.title-post{
	font-weight: bold;
	font-size: 12px;
	margin: 0;
}
article.post .excerpt{
	width: 165px;
    display: inline-block;
	font-size: 12px;
	line-height: 1.4;
	text-align: justify;
}

/* Single
-------------------------------------------------*/
.media{
	margin: 10px 0;
}
.audiojs{
	width: 100% !important;
}
.audiojs .scrubber{
	width: 75% !important;
}
h1.title-cat-post{
	margin: 15px 0 25px;
}
.main-post{
	border: 1px solid #5F4B33;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 10px;
}
h2.title-post{
	font-size: 16px;
	color: #E16C2A;
	font-weight: bold;
	margin: 10px 0;
}
.meta{
	font-size: 12px;
    color: #666;
    font-weight: normal;
    margin: 0;
    padding: 10px 0 10px 10px;
}
.fb-like{
	display: inline-block;
	float: right;
}
.inner-main-post{
	text-align: justify;
}
.single-comments{
	margin-top: 20px;
	border-top: 4px double #5F4B33;
	padding-top: 10px;
}
.related-posts h2{
	font-size: 18px;
	padding: 15px 0;
}
ul.related-detail li h3{
	font-size: 12px;
}
ul.related-detail li h3 a{
	display: block;
	float: left;
	width: 100%;
	padding: 3px 0 3px 10px;
}
.fa{
	padding-right: 5px;
}
/* Menu in mobile */
.a-menu-mobile{
	width: 42px;
	text-decoration: none;
	border: 1px solid #E5DDBB;
	padding: 3px 10px;
	font-size: 26px;
	line-height: 1;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	display: none;
	margin: 0 0 1px 0;
	cursor: pointer;
}
.a-menu-mobile:hover{
	border-color: #F34C3C;
	color: #f34c3c;
}
.a-menu-mobile i{
	display: inline-block;
	margin-right: 10px;
	font-size: 23px;
}

ul.widget-list-images{
	width: 100%;
	float: left;
	display: inline-block;
}
ul.widget-list-images li{
	float: left;
	display: inline-block;
	padding: 7px 14px 7px 0;
}
ul.widget-list-images li:nth-child(3n){
	padding-right: 0;
}
ul.widget-list-images li img{
	border: 1px solid #99CCFF;
	width: 90px;
	height: 86px;
}

ul.anton-services-widget{
	padding: 5px 0 0;
}
ul.anton-services-widget li{
	border-bottom: 1px dotted #CCC;
}
ul.anton-services-widget li a{
	background: url('images/arrows.png') no-repeat scroll 0 12px rgba(0, 0, 0, 0);
    display: inline-block;
    margin: 0 5px;
    padding: 3px 5px 5px 15px;
}




/* RESPONSIVE
-------------------------------------------------------------------------------------------------*/
@media (max-width: 999px){
#primary,
#secondary{
	width: 100%;
}	
#primary{
	margin-bottom: 20px;
}
#secondary{
	padding-left: 16px;
}
}
@media (min-width: 767px) and (max-width: 999px){
.container{
	width: 680px;
}

.fb_iframe_widget{
	width: 100%;
    background-color: #fff;
}
}
@media (max-width: 767px) and (min-width: 480px){
.container{
	width: 351px;
}	
}
@media (max-width: 767px){

.a-menu-mobile{
	display: inline-block;
}
ul.menu-class{
	display: none;
}
ul.menu-class li{
	width: 100%;
    display: block;
    border: 1px solid #E5DDBB;
    background: #fff;
    border-bottom: none;
}
ul.menu-class li:last-child{
	border-bottom: 1px solid #E5DDBB;
}
ul.menu-class li a{
	width: 100%;
	background: none;
}
ul.menu-class li:hover{
	background: #F1F1F1;
}
#slider{
	height: 190px;
}
.box{
	width: 100%;
}
.flexslider .slides > li p.flex-caption{
	width: 95%;
	left: 10px;
	top: 130px;
}
article.post{
	width: 100%;
	margin-right: 0;
}
}
@media (max-width: 479px){
.container{
	width: 320px;
}
.box{
	padding-left: 0;
}
#secondary{
	padding: 0 9px;
}

article.post .excerpt{
	width: 140px;
}
}



