/*
Theme Name: default
Author: wordpress.org
Author URI: https://wordpress.org
Description: Dntheme brings your site to life with header video and immersive featured images.
Version: 1.0.1
Text Domain: dntheme
Tags: best theme
*/

/*
======================================
[ Import Font ]
======================================
*/
body{color:#222222;font:15px/25px 'Roboto',sans-serif;}
p{margin-bottom:0;}
h1,.h1{font-size:22px;margin-bottom:10px;}
h2,.h2{font-size:20px;margin-bottom:8px;}
h3,.h3{font-size:18px;margin-bottom:6px;}
h4,.h4{font-size:16px;margin-bottom:6px;}
h5,.h5,h6,.h6{font-size:14px;line-height:18px;margin-bottom:5px;}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{line-height:normal;}
a{text-decoration:none;-webkit-transition-duration:0.4s;-o-transition-duration:0.4s;transition-duration:0.4s;}
a:hover{text-decoration:none;}
iframe{max-width:100%;}
img{max-width:100%;height:auto;}
ul{list-style:none;padding:0;margin-bottom:0}
button,input,optgroup,select,textarea{max-width:100%;}
::placeholder{font-size:14px;}
a:focus,a:hover{text-decoration:none}
.fw-500{font-weight:500!important}
.fw-600{font-weight:600!important}
.pt-100{padding-top:100%!important;}

/*
======================================
[ Bootstraps Custom ]
======================================
*/
@media (min-width:992px){
    .col-lg-20{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%;}
}
.ratio--cotain>*{
    object-fit: contain;
}

/*Fix image trong khung*/
.dnfix__thumb{position:relative;height:auto;width:100%;overflow:hidden;display:block;padding-top:68.075%;}
.dnfix__thumb>*{margin:0px auto;position:absolute;width:100%!important;height:100%!important;top:0;left:0;object-fit:cover}
.dnfix__thumb.-contain>*{object-fit:contain;}

/* Text truncate */
.text__truncate{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;display:-webkit-inline-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;}
.text__truncate.-n2{-webkit-line-clamp:2;}
.text__truncate.-n3{-webkit-line-clamp:3;}
.text__truncate.-n4{-webkit-line-clamp:4;}

/*
======================================
[ Header ]
======================================
*/

/*
======================================
[ Header Style ]
======================================
*/

/*
======================================
[ Page ]
======================================
*/
.wrap__page .page__content{padding-bottom:30px}
header.page__header{position:relative;margin-bottom:15px;}
header.page__header:after{content:'';position:absolute;top:15px;left:0;width:100%;height:1px;background:#fabc3d;display:inline-block;}
h1.page-title{text-transform:uppercase;font-weight:600;color:#2b2d37;display:inline-block;position:relative;background:#fff;z-index:1;padding-right:15px;}

/*Page 404*/
section.error-404{padding:50px 0 80px;}
section.error-404 .exception__code{color:#E74C3C;text-align:center;font-weight:bold;font-size:100px;line-height:100px;margin-bottom:10px;}
section.error-404 .exception__text{font-size:26px;color:#E74C3C;}
section.error-404 .search__form{max-width:470px;margin-bottom:15px;position:relative;}
section.error-404 .return__home{display:block;text-decoration:underline;color:#e74c3c;}
section.error-404 .page-header p{padding:0px 0px 25px 0px;font-size:25px;color:#34495E;}
section.error-404 .entry-content p{color:#9e9e9e;margin-bottom:15px;}
section.error-404 button.search-submit{position:absolute;top:0;right:0;width:40px;height:100%;background:#337ab7;border:0;}

/*
======================================
[ Single ]
======================================
*/
h1.entry-title{font-size:26px;line-height:30px;color:#2b2d37;}
.related__item{margin-bottom:15px}
.related__item .dnfix__thumb{padding-top:65%;display:block}
.related__item a{color:#555555}

/*
======================================
[ Archive ]
======================================
*/
.archive__item{margin-bottom:30px}
.archive__item a{color:#444444}
.archive__item .dnfix__thumb{padding-top:65%;display:block}
.archive__item .item__title{margin-top:10px}

/*
======================================
[ Sidebar ]
======================================
*/

/*
======================================
[ Editor Style ]
======================================
*/
.entry-content{font-size:16px;}
.entry-content p,.entry-content ul,.entry-content blockquote{margin-bottom:1.25rem;}
.entry-content .aligncenter{display:block;margin-left:auto;margin-right:auto;}
.entry-content img,.entry-content figure.wp-caption{max-width:100%;height:auto;border-radius:8px;}
.entry-content img + img{margin-bottom:1rem;}
.entry-content address p,.entry-content address p{margin-bottom:5px;}
.entry-content a{transition:all .5s;}
.entry-content a:hover{color:#0648a7;}
.entry-content figcaption{width:100%;text-align:center;padding:10px 0 0;font-style:italic;}
.entry-content img.alignright{float:right;margin:0 0 1em 1em}
.entry-content img.alignleft{float:left;margin:0 1em 1em 0}
.entry-content img.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.entry-content ol,.entry-content ul{padding-left:15px;}
.entry-content ul{list-style-type:disc;}
.entry-content:after{content:'';clear:both;display:table;}
.entry-content table{width:100%;margin-bottom:1rem;}
.entry-content table td,.entry-content table th{border:1px solid #737476;}
.entry-content table td,.entry-content table th{padding:.75rem;vertical-align:top;border-top:1px solid #737476;}
.entry-content blockquote{background:rgba(245,136,31,.8);padding:24px 32px;box-shadow:inset 3px 0px 0px #f5881f;border-radius:4px;color:#000000;margin-top:16px;}
.entry-content blockquote p:last-child{margin-bottom:0;}
@media (max-width:767px){
    .entry-content blockquote{padding:48px 32px}
}