/*
	Theme Name: RaoThue Child Theme
	Theme URL: http://raothue.com
	Description: This theme base on Genesis Theme Framework.
	Author: SangMinh
	Author URI: http://raothue.com
	Version: 2 (2014)
	Template: genesis
*/

*{
	margin: 0px;
    padding: 0px;
    font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	line-height:20px;
	color:black;
}
div.clear{clear:both}
a{text-decoration:none}
img{max-width:100%;}
a:hover, a:active, a:focus, li:hover{
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
	-o-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
 }
 li{list-style:none}
 object{display:none}

 /* start */

#wrap{
	width:100%;
}
#header{
	background:url(images/bg-header.png)repeat-x;
}
#header .wrap, #nav,#inner{
	width:980px;
	margin:0px auto;
}
#header .wrap{
	position:relative;
}
#header .wrap .searchform{
	position:absolute;
	bottom: -41px;
right: -29px;
}
#header .wrap .searchform .searchsubmit{
visibility: hidden;
height: 0px;	
}
/* nav menu top */
#nav{
	color: #FFFFFF;
	text-transform: uppercase;
	clear: both;
	height:40px;
	background:url(images/bg-nav.png) repeat-x;
	margin-top: 10px;
	border-radius: 8px 8px 0px 0px;
}
#nav ul{
	margin: 0;
	padding: 0;
	}
#nav li{
	float: left;
	list-style: none;
	position:relative;
	background:url(images/navli.png)no-repeat left center;
}
#nav li:first-child{
	background:none;
}
#nav li a{
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  padding: 0px 20px;
  line-height:40px; 
  position: relative;
  text-decoration: none;
  text-transform:uppercase;
}
#nav li:hover, #nav .current_page_item , #nav .current-cat , #nav .current-menu-item{
	color: #FFFFFF;
	background: #c93702;
}

/* sub menutop lv 1 */
#nav li  li {
	background: #f15b25;
	width:100%;
	border-top:#fff solid 1px;
	clear:both;
	padding:0;
	margin-top:-15px;
	-moz-transition:opacity 0.1s 0.15s ease-out, margin 0.3s 0.1s ease-out;
	-webkit-transition:opacity 0.1s 0.15s ease-out, margin 0.3s 0.1s ease-out;
	-o-transition:opacity 0.15s 0.15s ease-out, margin 0.3s 0.1s ease-out;
	transition:opacity 0.15s 0.15s ease-out, margin 0.3s 0.1s ease-out;
}

#nav li li a{
	color: #FFFFFF;
	font-size: 11px;
	line-height:37px;
	padding-left:10px;
	padding-right:0;
	border:none;
	position: relative;
}
#nav li ul{
	z-index: 9999;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:absolute;
	background:#222;
	width:180px;
	opacity:0;
	visibility:hidden;
	-moz-transition:opacity 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
	-webkit-transition:opacity 0.3s ease-out, visibility 0.1s 0.1s linear;
	-o-transition:opacity 0.3s ease-out, visibility 0.1s 0.1s linear;
	transition:opacity 0.3s ease-out, visibility 0.1s 0.1s linear;
}
#nav li:hover>ul{
	opacity:1;
	visibility:visible;
}
#nav li:hover ul li{
	margin-top:0;
    opacity:1;
}

/* sub menutop lv 2 */
#nav ul ul ul{
	float:left;
    list-style:none;
    z-index: 9999;
    margin:0;
    padding:0;
    position:absolute;
    left:80%;
    top:0px;
    background:#222;
    width:100%;
    opacity:0;
    visibility:hidden;
    -moz-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -webkit-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -o-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
}
#nav ul ul ul li{
	border:none;
    border-bottom:1px solid #ccc;
    clear:both;
    margin:0;
    padding:0;
    width:100%;
    opacity:1;
}
#nav ul ul li:hover ul{
	opacity:1;
    left:100%;
    visibility:visible;
}


/* breadcrump */
.breadcrumb {
	background: #F7F7F7;
	margin: 0 0 10px 0;
	padding: 5px 10px 5px 10px;
	border: 1px solid #E6E6E6;
}

/* inner */
#inner {
	padding-top:5px;
	background:#fff;
}

/* slider */
#slider, .metaslider {float: right;}
.cpd-r{padding-right: 6px;}

/* content wrap */
#content-sidebar-wrap{
float: left;
}
#content{
	width:555px;
	float:right;
	margin:15px 0 0 13px;
}
#sidebar-alt{
	width: 200px;
float: right;

}
h2.heading, h1.entry-title,#related-post h2{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 0px;
	background: url(images/bg-title.png) repeat-x;
	height:38px;
	line-height:37px;
	clear: both;
	margin-bottom:10px;
	text-transform:uppercase;
	text-indent:15px;
	border-radius:8px 8px 0px 0px;
}
.product-item, .news-box {
float: left;
margin: 5px 1.5% 10px;
width: 45%;
position: relative;
padding:0px 5px 5px 5px;
background: #fff;
border-radius: 8px;

}
.news-box .cangiua{
	border: 1px solid #e1e1e1;
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 220px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
}
.news-box a.img{
	text-align: center;
    display: table-cell;
    position: relative;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    line-height: 0;
    transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -web-transition: all 400ms ease-in-out;
}
.news-box a.img img{
	width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
    position: relative;
    z-index: 9;
    max-height: 180px;
}
.news-box a.img span.bg{
	background:#000;
	position: absolute;
    z-index: 10;
	opacity: 0;
	width:100%;
	height:100%;
	left:0px;
	top:0px;
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
	-o-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
}
.news-box a.img span.bg:hover{
	opacity:0.5;
}

.news-box a.titlepro{
    line-height: 20px;
    overflow: hidden;
    color: #084671;
    text-align: left;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    margin: 14px 0px 0px 0px;
    font-size: 14px;
    float: left;
    max-height: 20px;
    overflow: hidden;
}
p.price {
    color: #ff0000;
    text-align: left;
	font-weight:bold
}
p.gachngang{
	text-decoration:line-through;
}

/* sidebar */
#sidebar{
width: 200px;
float: left;
margin-top: 15px;
}
#sidebar-alt{
width: 200px;
margin-top:15px;
}
#sidebar .widget, #sidebar-alt .widget {
	border:#a1a1a1 solid 1px;
	padding: 0 0 10px 0;
	border-top:none;
	margin-bottom:10px;
	border-radius:8px 8px 0px 0px;
	background: #ebebeb;
}
#sidebar h3.widget-title,#sidebar-alt h3.widget-title{
	background: url(images/bg-title.png)repeat-x;
	color: #fff;
	font-size: 12.5px;
	text-align: center;
	text-transform: uppercase;
	margin:0;
	height:38px;
	line-height:36px;
	border-radius:8px 8px 0px 0px;
}
#sidebar ul, #sidebar ol, #sidebar-alt ul, #sidebar-alt ol{
	margin:0;
	padding:0;
	list-style:none;
	padding: 0px 10px;
}
#sidebar ul li{
	list-style:url(images/listmenu.png) inside;
	padding:7px 0px;
	position:relative;
	border-bottom: 1px dotted #4b4b4b;
}
#sidebar ul li a{
	font-size: 14px;
	text-decoration:none;
	color:#000;
}
#sidebar ul li a:hover{color:#c93702;}

/* sub danh muc sp */
#sidebar ul ul {
	position:absolute;
	left:86%;
	width:100%;
	top:0;
	background:#fff;
	z-index: 9999;
	opacity:0;
	border:#c5c5c5 solid 1px;
    visibility:hidden;
    -moz-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -webkit-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -o-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
}
#sidebar ul li:hover ul{
	opacity:1;
    left:100%;
    visibility:visible;
}
#sidebar ul ul li a{
	font-size:13px;
}

/* support online */
.supporter {
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}
.phone {
  color: red;
  font-weight: bold;
}

#sidebar .featuredpost .post, #sidebar .featuredpage .page, #sidebar-alt .featuredpost .post, #sidebar-alt .featuredpage .page {
	margin: 0;
	padding: 5px 8px;
	overflow: hidden;
	color : white;
}
.alignleft{
	float:left;
	margin:0 6px 0 0;
}
#sidebar .featuredpost .avatar, #sidebar .featuredpage .avatar, #sidebar-alt .featuredpost .avatar, #sidebar-alt .featuredpage .avatar, #sidebar .featuredpost img, #sidebar .featuredpage img, #sidebar-alt .featuredpost img, #sidebar-alt .featuredpage img {
	background: #F7F7F7;
	margin: 0;
	padding: 2px;
	border: 1px solid #999;
	height: 75px;
    width: 70px;
}
#sidebar .featuredpost h2 a{
	color: black;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

/* footer */
#footer-widgets, #footer {
	clear: both;
    background:#084671;
	width: 980px;
	margin:20px auto 0px;
}
#footer{
	margin:0px auto;
}
#footer-widgets ul{
 	padding:0;
	margin:0;
	text-align:center;
	height:37px;
	background:url(images/bg-menutop.png) repeat-x;
}
#footer-widgets ul li {
    list-style: none;
    display:inline;
	background:none;
	line-height:37px
}

#footer-widgets ul li a {
	color: #FFFFFF;
	line-height:37px;
	font-size: 14px;
	padding: 0 20px;
	text-transform: uppercase;
	font-weight:bold;
}
#footer-widgets ul li a:hover{
	color:#e0fa05
}
#footer-widgets .widget_text {
clear: both;
text-align: left;
padding: 17px;
}
#footer-widgets .widget_text h4,#footer-widgets .widget_text p {
	color: #fff;
	font-size:20px;
}
p#credit-link{
	text-align: right;
}
p#credit-link strong{
	color: #FFFFFF;
	text-decoration: none;
	padding-right:12px;
	line-height:24px;
	font-size: 12px;
}

/* child page */
.entry-content{
	padding:10px;
	color:black;
}
.entry-content p{margin-bottom:10px;}
.entry-content h1{font-size: 20px;}
.entry-content h2{font-size: 18px;}
.entry-content h3{font-size: 16px;}
.entry-content h4{font-size: 14px;}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{margin-bottom: 5px;}

/* archive */
.news-post{
  border: 1px solid #E4E4E4;
  border-radius: 4px;
  margin: 0 5px 15px;
  overflow: hidden;
  padding: 10px;
}
.news-post h2 a{
    font-size: 15px;
    font-weight: bold;
    color:#000;
}
.news-post img {
  border: 1px solid #E4E4E4;
  float: left;
  height: 120px;
  margin: 5px 10px 5px 5px;
  width: 150px;
}
.news-post p {
  padding: 10px 15px 5px 5px;
  text-align: justify;
  color:#000
}
/* detail product */
.anhspsp{
    width:225px;
    float:left;
}
.anhspsp img{
max-height: 240px;
height: auto;
width: auto;
}
.thongso{
width: 296px;
float: left;
margin-left: 25px;
}
.thongso ul li{
	list-style:square inside;
	color:#f15a24;
	padding:8px 0;
	border-bottom:#ccc dotted 1px;
}
.thongso ul li span{
	font-size:14px;
}
.thongso ul li span.left{
	display:inline-block;
	width:150px;
}
.thongso ul li span.right{
	color:#000;
}
a.contact{
	float:right;
	margin-top:10px;
	padding:5px 15px;
	background:#f15a24;
	color:#fff;
	font-weight:bold;
	border-radius:10px;
}

#meta-data {
	clear: both;
	padding: 10px 0px;
	text-align: justify;
	color: #000;
}
#meta-data div span,#meta-data p span,#meta-data p {
	color: #000 ;
}
#content-detail {
	width: 200px;
	float: right;
	font-size: 12.5px;
	color: #333 !important;
}
#content-detail p {
    padding: 5px;
	color: #fff;
}
#content-detail span {
    font-weight: bold;
}

/** Navigation **/
.wp-pagenavi {
  float: right;
  margin: 10px;
}
.wp-pagenavi a, .wp-pagenavi span {
  border: 1px solid #BFBFBF;
  margin: 2px !important;
  padding: 3px 7px !important;
  text-decoration: none;
}

/* Slide chay doc */
.promoteslider ul li{
	list-style:none !important;
}
.promoteslider ul li a{display:block}
.promoteslider ul li img{
	height:165px;
}

/* search form */
#sbc{
	margin-bottom:6px;
	padding-left:90px;
}
form#sbc-search input#s{
	border-radius:15px 0 0 15px;
	float:left;
	height:18px;
	width:350px;
}
form#sbc-search select#cat{
	border-radius:0px !important;
	width:300px !important;
}
form#sbc-search input#sbc-submit{
	cursor:pointer;
	float: none !important;
	font-weight:bold;
	width:150px !important;
}

/* ket qua search */
#search-result li{
	overflow:hidden;
	margin-bottom:8px;
}

/* tin lien quan */
#related-post h3{
	text-transform:uppercase;
	margin:6px 0;
}
#related-post ul li{
	list-style:square inside;
	color:#666;
	padding:3px 0;
}
#related-post ul li a{color:#444}
#related-post ul li a:hover{color:#222}

.wpcf7 p{line-height: 2}
.wpcf7 input[type=text], .wpcf7 input[type=email]{
	height: 24px;
	width: 235px;
	border-radius: 2px;
}
.wpcf7 textarea{
	width: 235px;
	height: 100px;
	margin-bottom: 7px;
}
.wpcf7 input[type=submit]{
	padding:3px 10px;
	cursor: pointer;
}
#home-news{
overflow: hidden;
border-radius: 8px;
}
.datin{
/*border: none;
position: absolute;
bottom: 17px;
right: 48px;*/
}
.datin a{
display:block;
background:url(images/datin.png)no-repeat;
width:74px;
height:27px;
color: #fff;
line-height: 27px;
font-size: 16px;
}
.datin a:hover{
font-size:18px;	
font-weight:bold;
}
.tintucthem{
margin-top: 16px;
width: 765px;
float: right;
background: #697c87;
border-radius: 5px;
}
.tintucthem #home-news2{
background: #fff;
margin: 5px;
padding: 9px;
border-radius: 5px;
}
.item{
width: 55%;
float: left;
padding-right: 40px;
}
.item .img2{
float: left;
width: 173px;
padding: 0px 20px 20px 0px;
}
.item .img2 img{
height: auto;
max-height: 180px;
}
.item .titlepro2{
display: block;
color: #014c9d;
font-size: 17px;
padding-bottom: 15px;
font-weight: bold;
}
.item p{
text-align: justify;
}
.listtintuc{
padding: 5px 0px;
list-style:url(images/listtintuc.png) inside;
}
.wp-pagenavi a, .wp-pagenavi span{color:#000}
#imgqc-4 h4 {
display : none;

}
#imgqc-4 {
border : none !important;
background:none !important;
}




/* css menu mobile 
-------------------------------------------------------------*/
/* secondary-toggle button menu top */
.menu-repons{
    overflow: hidden;
    background: #F3612D;
}
.secondary-toggle {
    background-color: #FFF;
    border: 1px solid #eaeaea;
    border: 1px solid rgba(51, 51, 51, 0.1);
    height: 35px;
    overflow: hidden;
    padding: 0;
    display: block;
    padding-left: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #F3612D;
    margin: 33px auto 0;
    text-align: left;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 95%;
}
.secondary-toggle:after {
    color: #F3612D;
    font: normal normal normal 18px/1 FontAwesome;
    content: "\f0c9";
    line-height: 35px;
    width: 40px;
    position: absolute;
    top: 0;
    right: -10px;
}
/*.secondary-toggle.toggled-on:before {
    content: "\f00d";
    font-size: 20px;
}*/
/* dropdown-toggle in ul */
.dropdown-toggle:hover, .dropdown-toggle:focus {
    background-color: rgba(51, 51, 51, 0.1);
}
.dropdown-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    content: "";
    height: 38px;
    width: 42px;
    padding: 0;
    position: absolute;
    text-transform: lowercase;
    top: 0px;
    right: 0;
}
.dropdown-toggle:after {
    color: #333;
    content: "\f107";
    font-size: 24px;
    line-height: 42px;
    position: relative;
    top: 0;
    font-weight: bold;
    left: 1px;
    width: 42px;
    font: normal normal normal 14px/1 FontAwesome;
}
.dropdown-toggle.toggled-on:after {
    content: "\f106";
}
/* css menu top */
.nav-primary-mobile {
    display: none;
    color: #FFF;
}
.nav-primary-mobile ul {
    margin: 0;
    padding: 0;
}
.nav-primary-mobile li{
    border-top: 1px solid #eaeaea;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
    position: relative;
}
.nav-primary-mobile .nav-menu > ul > li:first-child, 
.nav-primary-mobile .nav-menu > li:first-child {
    border-top: 0;
}
.nav-primary-mobile a {
    display: block;
    padding: 9px 0 9px 10px;
    position: relative;
    text-decoration: none;
    color: #F3612D;
    font-weight: 600;
}
.nav-primary-mobile ul ul {
    display: none;
    margin-left: 0.8em;
}
.nav-primary-mobile ul .toggled-on {
    opacity: 1;
    visibility:visible;
    display: block;
}
/* menu sidebar */
.sidebar-mobile {
    margin: 0;
    padding: 0;
}
.sidebar-mobile li {
    border-top: 1px solid #eaeaea;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
    position: relative;
}
.sidebar-mobile li:first-child {
    border-top: 0;
}
.sidebar-mobile li a {
    display: block;
    padding: 9px 0;
    position: relative;
    text-decoration: none;
    color: #333333;
}
.sidebar-mobile li a{
    padding-left: 20px;
}
.sidebar-mobile li:hover > a{
    color: #06802e;
}
.sidebar-mobile li .dropdown-toggle {
    width: 30px;
    height: 30px;
}
.sidebar-mobile ul {
    display: none;
    margin-left: 0.8em;
    border: 0;
}
.sidebar-mobile li .toggled-on {
    opacity: 1;
    visibility:visible;
    display: block;
}





