/*
	Theme Name: CAIA
	Theme URI: http://caia.vn
	Description: Themes hỗ trợ Genesis Theme v2.7.3 and Wordpress v5.0 trở lên
	Author: HoangLT, TuanNM
	Author URI: http://caia.vn
	Version: 4.2
	Template: genesis
*/

/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #333;
	font-family: 'Roboto' , 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: #333;
	font-family: 'Roboto' , sans-serif;
	font-size: 16px;
	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;
	outline: none;
}

a:hover {
	text-decoration: none;
	outline: none;
}

a img {
	border: none;
	outline: 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: 100%;
	padding: 0;
}

.wrap {
	margin: 0 auto;
	width: 1170px;
	padding: 0;
}


/* Header
------------------------------------------------------------ */

.site-header {
	margin: 0 auto;
	height: 100px;
	width: 100%;
	float: left;
}

.title-area {
	float: left;
	overflow: hidden;
	padding: 0;
	width: auto;
	margin-left: 15px;
	height: 100px;
}

.site-title {
	font-family: 'Roboto' , 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: #333;
	padding: 0;
	text-decoration: none;
	float: left;
	width: 100%;
	height: 100%;
	display: grid;
	align-items: center;
	font-weight: 700;
}

.site-title img{
	height: 100px;
}

.site-description {
	font-size: 13px;
	padding: 0;
	display: none;
}

.site-header .widget-area {
	float: right;
	padding: 0;
	width: auto;
	margin-right: 15px;
}

.site-header .widget-area .widget_search{
	float: right;
	width: 260px;
	margin: 30px 0 0;
	height: 40px;
	border: 1px solid #d6d6d6;
}

.site-header .widget-area .widget_search input[type="submit"]{
	float: right;
	background: url(images/search.svg) no-repeat center center #333;
	padding: 0;
	margin: 0;
	height: 40px;
	width: 40px;
	text-indent: -9999px;
	border: none;
}

/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.nav-primary{
	float: left;
	width: 100%;
	height: 50px;
	box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.08);
}

.nav-primary .wrap{
	width: 1140px;
}

.menu-primary,
.menu-secondary,
.site-header .menu {
	clear: both;
	color: #333;
	font-size: 13px;
	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;
}

.menu-primary a,
.menu-secondary a,
.site-header .menu a {
	color: #333;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 500;
	display: block;
	padding: 11px 10px 10px;
	margin-right: 30px;
	position: relative;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.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 {
	border-bottom: 3px solid #4db2ec;
}

.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: #333;
	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: #f5f5f5;
	color: #333;
}

.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;
}

.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: 1170px;
}

.class-hide .site-inner{
	width: 750px;
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb{
	float: left;
	width: 100%;
	background: #f2f2f2;
	padding: 20px 0;
}

.breadcrumb .wrap{
	width: 1140px;
}

.breadcrumb a{
	color: #333;
}

.breadcrumb .separator{
	margin: 0 5px;
}

/* 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: 15px;
}

.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;
}

.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: 'Roboto' , 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: #333;
	font-family: 'Roboto' , sans-serif;
}

h2 a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 14px;
	margin: 0 0 5px;
}

h3 {
	font-size: 14px;
}

h4 {
	font-size: 13px;
}

.taxonomy-description h1,
.widget-area .widgettitle,
.yarpp-related .widgettitle{
	font-size: 16px;
	padding: 0;
	color: #333;
	border-bottom: 1px solid #333;
	margin-bottom: 20px;
}

.widget-area .widgettitle p,
.widget-area .widgettitle a,
.yarpp-related .widgettitle span{
	color: #fff;
	text-decoration: none;
	background: #333;
	display: table;
	padding: 10px 15px;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 500;
}

/* 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;
}

/* 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: left;
	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: 13px;
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
}

.pagination li {
	display: inline;
}

.pagination li a,
.pagination li.disabled,
.pagination li a:hover,
.pagination li.active a {
	background: #f2f2f2;
	color: #333;
	padding: 8px 13px;
}

.pagination li a:hover,
.pagination li.active a {
	background: #f5f5f5;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	width: 340px;
	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: #fff;
	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 {
	padding: 0 15px;
}

.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: #333;
	cursor: pointer;
	padding: 10px 30px;
	color: #fff;
	-webkit-appearance: none;
}

input:hover[type="button"],
input:hover[type="submit"] {
	text-decoration: none;
}


/* Search Form
------------------------------------------------------------ */

.site-header .search-form {
	float: right;
	width: 100%;
	padding: 0;
}

.search-form input[type="search"] {
	margin: 0;
	height: 40px;
	border: none;
	background: transparent;
	padding: 0 10px;
	width: calc(100% - 40px);
}

/* Footer
------------------------------------------------------------ */

.site-footer {
	float: left;
	clear: both;
	font-size: 16px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	background: #333;
}

.site-footer .wrap {
	overflow: hidden;
	padding: 15px 0;
}

.site-footer p {
	font-size: inherit;
	color: #fff;
}

.site-footer a,
.site-footer a:visited {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: none;
}

.site-footer .widget{
	float: left;
	width: 360px;
	margin: 40px 15px;
}

.site-footer .widget .widgettitle{
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
	margin-bottom: 20px;
}

.site-footer .widget .post,
.sidebar .widget .post{
	float: left;
	width: 100%;
	margin: 0 0 10px;
}

.site-footer .widget .post .alignleft,
.sidebar .widget .post .alignleft{
	width: 110px;
	overflow: hidden;
	display: table;
}

.site-footer .widget .post .widget-item-title,
.sidebar .widget .post .widget-item-title{
	padding-top: 10px;
	line-height: 1.3;
}

.site-footer .widget ul{
	padding: 0;
	list-style: none;
	overflow: scroll;
	height: 200px;
}

.site-footer .widget ul li{
	margin-bottom: 15px;
	color: #fff;
}

.site-footer .widget ul li a{
	color: #fff;
	font-size: 16px;
}

.content-after-footer{
	background: #222;
}

.content-after-footer p{
	color: #fff;
	margin: 20px 15px;
}

.section{
	float: left;
	width: 100%;
}

.content-featured .caia-post-list-widget{
	float: left;
	width: 100%;
	margin: 20px 0;
}

.content-featured .caia-post-list-widget .main-posts{
	float: left;
	width: 550px;
	margin-left: 15px;
}

.content-featured .caia-post-list-widget .main-posts .post{
	float: left;
	width: 100%;
	position: relative;
	margin: 0;
	overflow: hidden;
}

.content-featured .caia-post-list-widget .main-posts .post .alignnone{
	display: block;
	width: 100%;
	overflow: hidden;
	margin: 0;
}

.content-featured .caia-post-list-widget .main-posts .post img,
.content-featured .caia-post-list-widget ul li img,
.home .content .post img,
.archive .content .post img,
.search .content .post img,
.site-footer .widget .post img,
.sidebar .widget .post img,
.related-post img{
	display: block;
	width: 100%;
	margin: 0;	
    transition: all 1s ease;
    border: none;
    background: none;
    padding: 0;
}

.content-featured .caia-post-list-widget ul li img{
	height: 191px;
	object-fit: cover;
}

.content-featured .caia-post-list-widget .main-posts .post img{
	height: 404px;
	object-fit: cover;	
}

.content-featured .caia-post-list-widget .main-posts .post:hover img,
.content-featured .caia-post-list-widget ul li:hover img,
.home .content .post:hover img,
.archive .content .post:hover img,
.search .content .post:hover img,
.site-footer .widget .post:hover img,
.sidebar .widget .post:hover img,
.related-post:hover img{
	transform: scale(1.1);
}

.content-featured .caia-post-list-widget .main-posts .post .widget-item-title,
.content-featured .caia-post-list-widget ul li p{
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 30px 15px 15px;
	background-image: linear-gradient(rgb(229 27 36 / 1%), rgb(0 0 0 / 70%), rgb(0 0 0 / 90%));
	float: left;
	width: calc(100% - 30px);
	z-index: 10;
}

.content-featured .caia-post-list-widget .main-posts .post .widget-item-title a{
	color: #fff;
	font-size: 18px;	
	font-weight: 700;
}

.content-featured .caia-post-list-widget ul{
	float: right;
	width: 555px;
	margin-right: 15px;
	list-style: none;
}

.content-featured .caia-post-list-widget ul li{
	float: left;
	width: 260px;
	margin-bottom: 21px;
	position: relative;
	line-height: 1.3;
	overflow: hidden;
}

.content-featured .caia-post-list-widget ul li:nth-child(2n){
	float: right;
}

.content-featured .caia-post-list-widget ul li:nth-child(2n+1){
	clear: both;
}

.content-featured .caia-post-list-widget ul li p a,
.site-footer .widget .post .widget-item-title a,
.sidebar .widget .post .widget-item-title a,
.related-post .widget-item-title a{
	color: #fff;
	font-size: 16px;	
	font-weight: 500;	
}

.sidebar .widget .post .widget-item-title a,
.related-post .widget-item-title a{
	color: #333;
}

.home .content .post,
.archive .content .post,
.search .content .post{
	float: left;
	width: 100%;
    border-bottom: 1px dashed #d6d6d6;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.home .content .post .entry-image-link,
.archive .content .post .entry-image-link,
.search .content .post .entry-image-link{
	display: table;
	width: 260px;
	overflow: hidden;
	margin-right: 15px;
	overflow: hidden;
	float: left;
}

.home .content .post h2,
.search .content .post h2,
.archive .content .post h2{
	line-height: 1.3;
	padding-top: 15px;
}

.home .content .post h2 a,
.archive .content .post h2 a,
.search .content .post h2 a{
    font-weight: 500;
    font-size: 18px;
    color: #333;	
}

h1.archive-heading{
	font-size: 32px;
	color: #333;
	margin-bottom: 20px;
	font-weight: 500;
	line-height: 1.3;
}

h1.archive-heading a{
	font-size: 32px;
	color: #333;
	font-weight: 500;
	line-height: 1.3;	
}

h1.entry-title{
	font-size: 32px;
	color: #333;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.3;
}

.single .content .entry-content h2,
.page .content .entry-content h2{
	font-size: 24px;
	color: #333;
	font-weight: 700;
	margin-bottom: 15px;	
}

.single .content .entry-content h3,
.page .content .entry-content h3{
	font-size: 20px;
	color: #333;
	font-weight: 700;
	margin-bottom: 15px;	
}

.single .content .entry-content iframe,
.page .content .entry-content iframe{
	display: table;
	margin: 0 auto 15px;
}

.single .content .entry-content table,
.page .content .entry-content table{
	display: table;
	width: 100%;
    margin-bottom: 15px;
}

.single .content .entry-content table,
.single .content .entry-content table td,
.single .content .entry-content table th,
.page .content .entry-content table,
.page .content .entry-content table td,
.page .content .entry-content table th{
    border-collapse: collapse;
    padding: 10px 15px;
    border: 1px solid #d6d6d6;
    text-align: left;
}

.yarpp-related{
	float: left;
	width: 100%;
	margin: 20px 0;
}

.yarpp-related .widgettitle{
	margin-top: 20px;
	float: left;
	width: 100%;
}

.related-post{
	float: left;
	width: 230px;
	margin-right: 30px;
	margin-bottom: 20px;
}

.related-post:nth-child(3n){
	margin-right: 0;
}

.related-post:nth-child(3n+1){
	clear: both;
}

.related-post .entry-image-link{
	display: block;
	width: 100%;
	margin: 0 0 15px;
	overflow: hidden;
}

.related-post .widget-item-title{
	line-height: 1.3;
}
