/*
	Theme Name: Terrapharm
	Description: Themes hỗ trợ Genesis Theme v2.7.3 and Wordpress v5.0 trở lên
	Template: genesis
*/

/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #0783C0;
	font-family: 'Mulish', Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.618;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.taxonomy-description{
	background-color: #f5f5f5;
	border: 1px solid #ddd;
}

input,
label,
select,
textarea {
	color: #0783C0;
	font-family: 'Mulish', Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}

strong,
b {
	font-weight: 700;
}
/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
	color: #0d72c7;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}

/* Body
------------------------------------------------------------ */

body {
	background-color: #fff;
}

::-moz-selection {
	background-color: #0d72c7;
	color: #fff;
}

::selection {
	background-color: #0d72c7;
	color: #fff;
}

/* Wrap
------------------------------------------------------------ */

.site-container {
	margin: 0 auto;
	width: 430px;
	padding: 0;
	background: #fbfbfb;
	position: relative;
}

.wrap {
	margin: 0 auto;
	width: calc(100% - 30px);
	padding: 0;
}


/* Header
------------------------------------------------------------ */

.site-header {
	margin: 0 auto;
	height: 65px;
	width: 100%;
	float: left;
	border-bottom: 1px solid rgb(0 66 163 / 6%);
	position: relative;
}

.title-area {
	padding: 0;
    width: 150px;
    height: 65px;
    margin: 0 auto;
}

.site-title {
	font-family: 'Mulish', Arial, sans-serif;
	font-size: 36px;
	line-height: 1.35;
	margin: 0;
	text-transform: uppercase;
	float: left;
	width: 100%;
	height: 100%;
}

.site-title a,
.site-title a:hover {
	color: #0783C0;
	padding: 0;
	text-decoration: none;
	float: left;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	background: url(images/logo.png) no-repeat left center;
	background-size: 100px;
}

.site-description {
	font-size: 13px;
	padding: 0;
	display: none;
}

.site-header .widget-area {
    position: absolute;
    padding: 0;
    width: fit-content;
    margin: 0;
    right: 15px;
    top: 17px;
}

#click-menu {
    text-align: center;
    position: absolute;
    left: 15px !important;
    top: 22px !important;
    z-index: 5000;
    cursor: pointer;
}

#click-menu .line{
	width: 28px;
	border-radius: 5px;
}

/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.nav-primary{
	float: left;
	width: 100%;
	height: 50px;
	background: #27a3d6;
}

.menu-primary,
.menu-secondary,
.site-header .menu {
	clear: both;
	color: #fff;
	font-size: 16px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
}

.menu-primary ul,
.menu-secondary ul,
.site-header .menu ul {
	float: left;
	width: 100%;
}

.menu-primary li,
.menu-secondary li,
.site-header .menu li {
	float: left;
	list-style-type: none;
	margin-right: 2px;
}

.menu-primary a,
.menu-secondary a,
.site-header .menu a {
	color: #0783C0;
    display: block;
    padding: 13px 0 12px;
    position: relative;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 18px;
}

.menu-primary li a:active,
.menu-primary li a:hover,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a,
.menu-secondary li a:active,
.menu-secondary li a:hover,
.menu-secondary .current_page_item a,
.menu-secondary .current-cat a,
.menu-secondary .current-menu-item a,
.site-header .menu li a:active,
.site-header .menu li a:hover,
.site-header .menu .current_page_item a,
.site-header .menu .current-cat a,
.site-header .menu .current-menu-item a {
    color: #1f780b;
    padding: 13px 0 4px;
}

.menu-primary li li a,
.menu-primary li li a:link,
.menu-primary li li a:visited,
.menu-secondary li li a,
.menu-secondary li li a:link,
.menu-secondary li li a:visited,
.site-header .menu li li a,
.site-header .menu li li a:link,
.site-header .menu li li a:visited {
	background: none;
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	color: #0783C0;
	font-size: 16px;
	padding: 10px;
	position: relative;
	text-transform: none;
	width: 230px;
}

.menu-primary li li a:active,
.menu-primary li li a:hover,
.menu-secondary li li a:active,
.menu-secondary li li a:hover,
.site-header .menu li li a:active,
.site-header .menu li li a:hover {
    background-color: #59b752;
    color: #fff;
}

#responsive-menu ul li a:hover{
	color: #8bc541;
}

/*#menu-main-menu a:before {
    background-color: #1f780b;
    bottom: 0;
    content: "";
    height: 1.5px;
    left: 0;
    position: absolute;
    right: 0;
    transform: translateZ(0) !important;
    transform: scaleX(0);
    transition: transform .15s ease-in-out 0s;
    width: 0%;
    transition: width 1s;
    margin: 0 auto;
}

#menu-main-menu>li:hover>a:before,
#menu-main-menu>li.current-menu-item>a:before {
    width: 100%;
}*/

.menu-primary li ul,
.menu-secondary li ul,
.site-header .menu li ul {
	height: auto;
	left: -9999px;
	margin: 0 0 0 -1px;
	position: absolute;
	width: 160px;
	z-index: 9999;
	padding-top: 20px;
}

.menu-primary li ul a,
.menu-secondary li ul a,
.site-header .menu li ul a {
	width: 140px;
}

.menu-primary li ul ul,
.menu-secondary li ul ul,
.site-header .menu li ul ul {
	margin: -36px 0 0 159px;
}

.menu li:hover ul ul,
.menu li.sfHover ul ul {
	left: -9999px;
}

.menu li:hover,
.menu li.sfHover {
	position: static;
}

ul.menu li:hover>ul,
ul.menu li.sfHover ul,
.site-header .menu li:hover>ul,
.site-header .menu li.sfHover ul {
	left: auto;
}

.menu-primary li a.sf-with-ul,
.menu-secondary li a.sf-with-ul,
.site-header .menu li a.sf-with-ul {
	padding-right: 25px;
}

.menu li a .sf-sub-indicator,
.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
	background: url(images/icon-plus.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 8px;
	text-indent: -9999px;
	top: 10px;
	width: 16px;
}

#wpadminbar li:hover ul ul {
	left: 0;
}

/* Inner
------------------------------------------------------------ */

.site-inner {
	margin: 0 auto;
	overflow: hidden;
	padding: 20px 0;
	width: calc(100% - 30px);
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb{
	float: left;
	width: 100%;
	background: #fff;
    padding: 10px 0;
	font-size: 15px;
}

.breadcrumb .wrap{
	width: 1200px;
	color: #1f780b;
    font-weight: 500;
}

.breadcrumb a{
	color: #0783C0;
	font-size: 15px;
	font-weight: 400;
}

.breadcrumb .label{
	margin: 0 5px;
	font-weight: 400;
	color: #0783C0;
}

/* Content-Sidebar Wrap
------------------------------------------------------------ */

.content-sidebar-wrap {
	float: left;
	width: 750px;
}

.content-sidebar .content-sidebar-wrap,
.full-width-content .content-sidebar-wrap,
.sidebar-content .content-sidebar-wrap {
	width: 100%;
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	float: right;
}


/* Content
------------------------------------------------------------ */

.content {
	float: left;
	padding: 0;
	width: 450px;
}

.content-sidebar .content,
.sidebar-content .content {
	width: 750px;
	margin-left: 0;
}

.sidebar-content .content,
.sidebar-sidebar-content .content {
	float: right;
	margin-left: 0;
	margin-right: 15px;
}

.full-width-content .content {
	width: 100%;
}

.post {
	margin: 0 0 20px;
}

.entry-content {
	overflow: hidden;
	text-align: justify;
}

.entry-content p {
	margin: 0 0 15px;
	text-align: justify;
}

blockquote {
	background: url(images/blockquote.png) no-repeat;
	border: none;
	margin: 5px 5px 20px;
	padding: 25px 30px 5px 70px;
}

blockquote p {
	color: #999;
	font-style: italic;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}

/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {
	font-family: 'Mulish', Arial, sans-serif;
	line-height: 1.35;
	margin: 0 0 10px;
}

h1 {
	font-size: 18px;
}

.taxonomy-description h1 {
	margin: 0;
}

h2,
h2 a,
h2 a:visited {
	font-size: 16px;
}

h2 a,
h2 a:visited {
	color: #0783C0;
	font-family: 'Mulish', Arial, sans-serif;
}

h2 a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 16px;
	margin: 0 0 5px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 16px;
}

.taxonomy-description h1,
.widget-area .widgettitle {
	font-size: 16px;
	color: #0783C0;
}

.widget-area .widgettitle a {
	color: #0783C0;
	text-decoration: none;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 15px;
	text-align: justify;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: disc;
	margin: 0 0 0 30px;
	padding: 0;
	text-align: justify;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}

/* Post Info
------------------------------------------------------------ */

.entry-header .entry-meta {
	font-size: 13px;
	margin: -5px 0 15px;
}

/* Post Meta
------------------------------------------------------------ */

.entry-footer .entry-meta {
	border-top: 1px solid #ddd;
	clear: both;
	font-size: 13px;
	padding: 5px 0 0;
}

/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
}

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: 4px;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
}

.comment-list li .avatar {
	background-color: #fff;
	float: right;
	margin: 5px 10px 10px 0px;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 15px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.wp-caption {
	padding: 0;
	text-align: center;
	width: auto !important;
}

p.wp-caption-text {
	font-size: 13px;
	margin: 5px 0;
	text-align: center;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

/* Post Navigation
------------------------------------------------------------ */

.pagination {
	font-size: 16px;
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
	text-align: center;
}

.pagination li {
	display: inline;
}

.pagination li a,
.pagination li.disabled,
.pagination li a:hover,
.pagination li.active a {
	background: #f2f2f2;
	color: #0783C0;
	padding: 8px 13px;
}

.pagination li a:hover,
.pagination li.active a {
	background: #1f780b;
	color: #fff;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	width: 360px;
	margin-right: 15px;
}

.sidebar-secondary {
	float: left;
	width: 150px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
	float: left;
	margin-left: 15px;
	margin-right: 0;
}

.content-sidebar-sidebar .sidebar-secondary {
	float: right;
}

.sidebar p {
	font-size: inherit;
}

.sidebar .widget {
	background-color: #f7f9f5;
	margin: 0 0 15px;
	padding: 0 0 15px;
	float: left;
	width: 100%;
}

.sidebar.widget-area ol,
.sidebar.widget-area ul,
.widget-area .textwidget,
.widget_tag_cloud div div {
	
}

.sidebar.widget-area ul li,
.footer-widgets .widget-area ul li {
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	margin: 0 0 7px;
	padding: 0 0 5px;
	word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
	border: none;
	margin: 0;
}

/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"] {
	background: #f2f2f2;
	cursor: pointer;
	padding: 10px 20px;
	color: #0783C0;
	-webkit-appearance: none;
}

input:hover[type="button"],
input:hover[type="submit"] {
	text-decoration: none;
}


/* Search Form
------------------------------------------------------------ */

.site-header .search-form {
    float: right;
    /* padding: 12px 0 0; */
    width: 400px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    height: 40px;
}

.sidebar .search-form {
	padding: 5px 0 0 15px;
}

.search-form input[type="search"] {
	margin: 0;
	padding: 6px 5px 6px 15px;
	width: calc(100% - 110px);
	border: none;
	background: unset;
	height: 40px;
}

.nav-primary .search-form input[type="search"] {
	background-color: #fff;
	margin: 2px -7px 0 0;
}

/* Footer
------------------------------------------------------------ */

.site-footer {
	float: left;
    width: 100%;
    background: #0783C0;
    padding: 10px 0;
    color: #fff;
}

.site-footer p {
	color: #fff;
}

.site-footer a,
.site-footer a:visited {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: none;
}

/* Comments
------------------------------------------------------------ */

.entry-comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
	float: left;
	width: 100%;
}

#author,
#comment,
#email,
#url {
	margin: 10px 5px 0 0;
    padding: 10px;
    width: 348px;
    float: left;
    background: #fff;
}

#comment {
    height: 90px;
    margin: 10px 0;
    width: 98%;
    background: #fff;
}

input#submit {
    float: left;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	padding: 10px;
}

.comment-list li,
.ping-list li {
	font-weight: bold;
	list-style-type: none;
	margin: 15px 0 5px;
	padding: 10px 15px;
}

.comment-list li ul li {
	list-style-type: none;
	margin-right: 0;
	background: #fff;
}

.comment-content{
	padding-left: 70px;
}

.comment-content p {
	font-size: 15px;
	margin: 0 0 15px;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.comment-meta {
	font-size: 12px;
	margin: 0 0 5px;
}

.comment-meta a{
	color: #666;
}

.comment-reply {
	font-size: 13px;
	font-weight: 300;
}

.comment-reply a{
	background: #f2f2f2;
	color: #0783C0;
	padding: 5px 10px;
}

.nocomments {
	text-align: center;
}

.entry-comments .pagination {
	display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
	background-color: #f5f5f5;
}

.alt,
.depth-1,
.even {
	border: 1px solid #ddd;
}

/*Slick
-------------------------------------------------------------------*/
.slick-slider{
	position: relative;
	display: block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.slick-list{
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus{
    outline: none;
}

.slick-list.dragging{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list{
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slick-track{
	position: relative;
	top: 0;
	left: 0;
	display: block;
}

.slick-track:before,
.slick-track:after{
    display: table;
    content: '';
}

.slick-track:after{
    clear: both;
}

.slick-loading .slick-track{
    visibility: hidden;
}

.slick-slide{
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
	outline: none;
}

[dir='rtl'] .slick-slide{
    float: right;
}

.slick-slide img{
    display: block;
}

.slick-slide.slick-loading img{
    display: none;
}

.slick-slide.dragging img{
    pointer-events: none;
}

.slick-initialized .slick-slide{
    display: block;
}

.slick-loading .slick-slide{
    visibility: hidden;
}

.slick-vertical .slick-slide{
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

.slick-dots{
    text-align: center;
    margin: 0 35px;
}

.slick-dots li{
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 5px;
	padding: 0;
	cursor: pointer;
}

.slick-dots li button{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 8px;
    height: 8px;
    padding: 5px;
    border-radius: 100px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
	background: #27a3d65c;
}

.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button{
    background: #27a3d6;
}

.section{
	float: left;
	width: 100%;
	position: relative;
}

.content-slider img{
	width: 100%;
}

.site-footer ul li{
    list-style-type: none;
    margin: 0 0 10px;
    background: url(images/lo.svg) no-repeat left top 5px;
    padding-left: 20px;
    background-size: 10px;
}

.site-footer ul li:nth-child(2){
    background: url(images/giay.svg) no-repeat left top 5px;
    padding-left: 20px;
    background-size: 11px;
}

.site-footer ul li:nth-child(3){
    background: url(images/hot.svg) no-repeat left top 5px;
    padding-left: 20px;
    background-size: 11px;
}

.site-footer .widgettitle{
	display: none;
}

.site-footer .title{
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 15px;
}

.site-footer .title span{
	display: block;
}

.site-footer .image-upload img{
	margin: 0 auto 20px;
    display: table;
}

.site-footer .widget{
	margin: 15px 0;
}

.single .entry-content h2{
	font-size: 18px;
	font-weight: bold;
}

.single .entry-content h3{
	font-size: 17px;
	font-weight: bold;
}

.content-sanpham .widgettitle h2 a,
.archive-heading a{
    background: url(images/fa.png) no-repeat left center;
    padding-left: 28px;
    color: #67B00A;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    background-size: 20px;
}

.content-sanpham .widget{
	float: left;
	width: 100%;
	margin: 30px 0 20px;
}

.content-sanpham .widget .post{
	margin: 10px;
}

.content-sanpham .widget .post img,
.category main.content img{
    width: 100%;
    margin: 1px 0 15px 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 0 5px #aed6e97d;
    border-radius: 10px;
    padding: 0;
    border: none;
}

.content-sanpham .widget .post .widget-item-title a,
.category main.content .entry-title a{
	font-weight: bold;
}

.content-sanpham .widget .post .widget-item-title{
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.content-sanpham .widget .post .mota{
	font-size: 14px;
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.single main.content .anh{
	text-align: center;
}

.single main.content h1{
	text-align: center;
	font-weight: bold;
	font-size: 22px;
	margin: 15px 0 30px;
}

.archive-heading{
	margin: 10px 0 20px;
}

.category main.content{
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* khoảng cách giữa các item */
}

@media (max-width: 429px) {
	.site-container{
		width: 100%;
	}
}