.widget_about_style_2 {
margin-top: 50px
}
.widget_about_style_2 .about-image .image-wrapper {
padding: 20px;
border: 2px solid #dcdcdc;
}
.widget_about_style_2 .about-image .image-wrapper .img {
overflow: hidden;
}
.widget_about_style_2 .about-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.widget_about_style_2 .about-content .header-title h3 {
font-size: 14px; font-weight: 700; margin-top: 5px; margin-bottom: 20px; line-height: 1.2; text-align: left;
color:#000!important;
margin-left: 70px;
padding-left: 20px;
}
.widget_about_style_2 .about-content .header-title{
position: relative;
}
.widget_about_style_2 .about-content .header-title::after{
content: '';
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
height: 2px;
width: 70px;
background-color: #cba177;
}
.widget_about_style_2 .about-content .title-about h2{
font-family: var(--font-family);
font-size: 24px;
font-weight: 600;
}
.widget_about_style_2 .about-content .description {
color: #777;
line-height: 1.8;
max-width: 450px;
margin-bottom: 0;
}
.widget_about_style_2 .about-content ul {
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding-left: 0;
list-style-type: none;
margin-right: -10px;
margin-bottom: 30px;
margin-top: 5px;
border-bottom: 0;
}
.widget_about_style_2 .about-content ul li {
flex: 1;
position: relative;
margin-right: 40px;
}
.widget_about_style_2 .about-content ul li:last-child{
margin-right: 0;
}
.widget_about_style_2 .about-content ul li a::after{
content: '';
position: absolute;
bottom: 0;
width: 100%;
height: 3px;
background-color: #e7e7e7;
left: 50%;
transform: translateX(-50%);
}
.widget_about_style_2 .about-content ul li a.active::after{
background-color: var(--theme-color);
}
.widget_about_style_2 .about-content ul li a.active::before{
content: '';
position: absolute;
bottom: -8px;
width: 16px;
height: 16px;
background-color: #fff;
border: 3px solid var(--theme-color);
border-right-color: transparent;
border-bottom-color: transparent;
left: 50%;
transform: translateX(-50%) rotate(45deg);
z-index: 2;
}
.widget_about_style_2 .nav-tabs>li>a {
border: 0;
text-align: center;
font-size: 18px;
font-weight: 700;
color: #000;
padding-bottom: 20px;
height: 100%;
}
.widget_about_style_2 .nav-tabs>li>a.active,
.widget_about_style_2 .nav-tabs>li.active>a:hover,
.widget_about_style_2 .nav-tabs>li.active>a:focus{
border: 0 #fff;
color: #000;
}
.widget_about_style_2 .nav>li>a:hover,
.widget_about_style_2 .nav>li>a:focus {
background-color: #fff;
}
.widget_about_style_2 .about-content .description {
margin-bottom: 20px;
}
.widget_about_style_2 .about-content .item-wrapper {
display: flex;
}
.widget_about_style_2 .about-content .item-wrapper .img {
flex: 0 0 40%;
}
.widget_about_style_2 .about-content .item-wrapper .description-item{
flex: 1;
padding: 0 20px;
}
.widget_about_style_2 .button .btn {
margin: 20px 0; border-radius: 5px;
}
.widget_about_style_2 .item {
margin-bottom: 10px; position: relative; overflow: hidden; text-align: center; background-position: center;
}
.widget_about_style_2 .item .img {
float:left;
height: 60px; width:60px; text-align: center;
}
.widget_about_style_2 .item .img img {
max-width: 100%;
width: auto; height: 100%; display: inline-block;
}
.widget_about_style_2 .item .title {
float:left; width: calc(100% - 60px);
text-align: left; padding-left: 20px;
}
.widget_about_style_2 .item .title h3 {
color: #fff; font-size: 15px; font-weight: bold; margin: 0 0 10px 0;
}
.widget_about_style_2 .item .title .description {
color: #8a8b8c; font-size: 14px; line-height: 20px;
}
@media(max-width: 768px) {
.widget_about_style_2 .about-content .header-title h3 {
font-size: 22px;
margin-top: 40px;
}
.widget_about_style_2 .about-content .title-about h2{
font-size: 18px;
}
.widget_about_style_2 .about-content ul li{
margin-right: 20px;
}
.widget_about_style_2 .nav-tabs>li>a{
padding: 10px 0;
font-size: 14px;
}
}
@media screen and (max-width: 480px){
.widget_about_style_2{
margin-top: 30px;
}
.widget_about_style_2 .about-content ul{
margin-right: 0;
margin-bottom: 20px;
}
}/*Phần chung*/
.widget_post_style_16 .item{
position: relative;
}
.widget_post_style_16 .box-posts-grid .item:nth-of-type(n+2),
.widget_post_style_16 .box-posts-scroll .post-list .item{
padding-left: 40px;
}
.widget_post_style_16 .item .img {
position: relative;
display: block;
width: 100%;
padding-top: 45%;
height: inherit;
overflow: hidden;
z-index: 2;
}
.widget_post_style_16 .item .img a {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
transition: all .5s ease-in-out;
}
.widget_post_style_16 .item .img a img {
height: 100%;
width: 100%;
position: relative;
display: inherit;
transition: all .5s ease-in-out;
object-fit: cover;
}
.widget_post_style_16 .item .title{
position: absolute;
}
.widget_post_style_16 .box-posts-grid .item:first-of-type .title,
.widget_post_style_16 .box-posts-scroll .post-main .item .title {
right: 0;
top: 50%;
transform: translateY(-50%);
z-index: 2;
width: 70%;
background-color: rgba(0, 0, 0, 0.8);
border: 4px solid #000;
padding: 20px;
height: 70%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
line-height:30px;
}
.widget_post_style_16 .box-posts-grid .item:nth-of-type(n+2) .title,
.widget_post_style_16 .box-posts-scroll .post-list .item .title {
left: 0;
top: 70%;
transform: translateY(-70%);
z-index: 2;
padding: 10px;
background-color: #000;
width: 50%;
}
.widget_post_style_16 .item .title .header {
margin: 0;
}
.widget_post_style_16 .item .title .header a{
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 16px; line-height:30px;
}
.widget_post_style_16 .item .title .description{
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
line-height: 20px;
margin: 5px 0 0 0;
}
.widget_post_style_16 .box-posts-grid .item:nth-of-type(n+2) .read-more,
.widget_post_style_16 .box-posts-scroll .post-list .item .read-more{
display: none;
}
.widget_post_style_16 .item .title .read-more .btn{ border-radius: 0; }
/*Post grid*/
.widget_post_style_16 .box-posts-grid{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 30px;
}
.widget_post_style_16 .box-posts-grid .item:first-of-type{
grid-column: 2;
grid-row: 1/span 2;
padding-right: 40px;
}
.widget_post_style_16 .box-posts-grid .item:first-of-type .img{
height: 100%;
}
/*Post scroll*/
.widget_post_style_16 .box-posts-scroll .row-post{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 30px;
}
.widget_post_style_16 .box-posts-scroll .post-list {
overflow-y: auto;
}
.widget_post_style_16 .box-posts-scroll .post-list .item{
margin-bottom: 30px;
}
.widget_post_style_16 .box-posts-scroll .post-list .item:last-of-type{
margin-bottom: 0;
}
.widget_post_style_16 .box-posts-scroll .post-main .item{
padding-right: 40px;
}
.widget_post_style_16 .box-posts-scroll .post-main .item .img{
padding-top: 100%;
}
/*Reponsive*/
@media(max-width: 768px){
.widget_post_style_16 .box-posts-grid{
grid-template-columns: repeat(1, 1fr);
}
.widget_post_style_16 .box-posts-scroll .row-post{
grid-template-columns: repeat(1, 1fr);
}
.widget_post_style_16 .box-posts-grid .item:first-of-type {
grid-column: 1;
}
.widget_post_style_16 .box-posts-grid .item:first-of-type .img{
padding-top: 100%;
}
.widget_post_style_16 .box-posts-scroll .col-post-main{
grid-row: 1;
}
}.widget_post_style_1 .box-content { position: relative; }
.widget_post_style_1 .row {
align-items: center;
}
.widget_post_style_1 .description span span {
font-size: inherit;
font-family: inherit;
line-height: inherit;
font-style: inherit;
}
.widget_post_style_1 .description p span {
line-height: inherit;
}
.widget_post_style_1 .button {
margin-top: 24px;
margin-bottom: 24px;
}
.widget_post_style_1 .item .img { height: 300px; width: 100%; }
.widget_post_style_1 .item .img img { height: 100%; width: 100%; object-fit: cover; }
.widget_post_style_1 .item .title {
padding: 10px;
}
.widget_post_style_1 .item .title .header {
font-size: 16px; line-height: 30px; height: 60px; font-family: var(--theme-color);
margin:10px 0; color: #000;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2;
-webkit-box-orient: vertical;
}
.widget_post_style_1 .item .title .header a {
color: #000; outline: none;
}
.widget_post_style_1 .item .title .description {
margin-bottom: 18px; height: 55px;
text-align: initial;
color: #687385;
}
.widget_post_style_1 .item .title .post-info {
margin: 0 0 20px 0;
}
.widget_post_style_1 .item .title .read-more a {
color:#000;display: inline-block; position: relative;
transition: all 0.3s;
}
.widget_post_style_1 .item .title .read-more i {
color:red;position: relative;top:1px;
}
.widget_post_style_1 .item .title .read-more a:hover {
padding-left: 20px; color:var(--theme-color);
}
.widget_post_style_1 .item:hover {
box-shadow: 0 4px 20px 0 rgba(0,0,0,0.2), 0 0 0 transparent;
}
@media (max-width: 1200px) {
.widget_post_style_1 .item .img { height: 250px; }
}
@media (max-width: 600px) {
.widget_post_style_1 .item .img { height: 200px; }
}:root {
--prs7-tab-bg:#fff;
--prs7-tab-color:#000;
--prs7-tab-active-color:var(--theme-color);
--prs7-tab-active-bg:#fff;
}
.widget_product_style_7 .product_style_7_category_list {
background: transparent;
margin-bottom: 20px;
padding-bottom: 10px;
display: inline-flex;
overflow: auto;
list-style-type: none;
justify-content: flex-start;
}
.widget_product_style_7 .product_style_7_category_list li {
float: left;
padding: 0;
margin-right: 10px;
border-bottom: 0;
height: 40px;
display: inline-block;
position: relative;
flex: none;
width: max-content;
}
.widget_product_style_7 .product_style_7_category_list li:last-child {
margin-right: 0px;
}
.widget_product_style_7 .product_style_7_category_list li a {
color:var(--prs7-tab-color);
background-color: var(--prs7-tab-bg);
margin: 5px 20px;
display: block;
font-size: 15px;
transition: all 0.5s;
text-transform: capitalize;
text-decoration: none; font-weight: bold;
}
.widget_product_style_7 .product_style_7_category_list li a.active,
.widget_product_style_7 .product_style_7_category_list li a:hover {
color: var(--prs7-tab-active-color);
background-color: var(--prs7-tab-active-bg);
border-bottom:3px solid var(--prs7-tab-active-color);
}
.widget_product_style_7 .product_style_7_content a.more-link {
display: inline-block;
font-size: 15px;
margin-top: 20px;
background-color: #fff; color:#fff; border-radius: 0;
}
@media (max-width: 600px) {
.widget_product_style_7 .product_style_7_category_list {
width: 100%;
}
}
Warning: Trying to access array offset on value of type bool in /home/stspetro/public_html/system/libraries/Cache/drivers/Cache_file.php on line 63
Warning: Trying to access array offset on value of type bool in /home/stspetro/public_html/system/libraries/Cache/drivers/Cache_file.php on line 63
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/stspetro/public_html/application/helpers/common_helper.php:896
Stack trace:
#0 /home/stspetro/public_html/views/theme-store/theme-header/header-style/header-style-3.2/header.php(68): Option::get()
#1 /home/stspetro/public_html/system/libraries/Hook.php(307): ThemeHeaderStyle3_2::css()
#2 /home/stspetro/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters()
#3 /home/stspetro/public_html/system/plugin.php(453): WP_Hook->do_action()
#4 /home/stspetro/public_html/views/theme-store/theme-setting/theme-setting.php(21): do_action()
#5 /home/stspetro/public_html/views/theme-store/theme-setting/theme-setting.php(38): Theme_Style::renderCss()
#6 /home/stspetro/public_html/system/libraries/Hook.php(307): Theme_Style::renderCssMinify()
#7 /home/stspetro/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters()
#8 /home/stspetro/public_html/system/plugin.php(453): WP_Hook->do_action()
#9 /home/stspetro/public_html/views/theme-store/include/head.php(9): do_action()
#10 /home/stspetro/public_html/application/libraries/template.php(737): include('/home/stspetro/...')
#11 /home/stspetro/public_html/views/theme-store/template-full-width.php(7): Template::partial()
#12 /home/stspetro/public_html/system/core/Loader.php(840): include('/home/stspetro/...')
#13 /home/stspetro/public_html/system/core/Loader.php(421): CI_Loader->_ci_load()
#14 /home/stspetro/public_html/application/libraries/template.php(375): CI_Loader->view()
#15 /home/stspetro/public_html/application/controllers/frontend/post.php(67): Template->render()
#16 /home/stspetro/public_html/system/core/CodeIgniter.php(360): Post->detail()
#17 /home/stspetro/public_html/index.php(224): require_once('/home/stspetro/...')
#18 {main}
thrown in /home/stspetro/public_html/application/helpers/common_helper.php on line 896