/*
 Theme Name:   UnderStrap - Child
 Theme URI:    http://understrap.com
 Author: Vijay
 Description:  UnderStrap Child Theme
 Template:     understrap
 Version:      1.0.0
 Text Domain:  understrap
*/

h1, .h1 {font-size:3rem !important}
.blogpost-entry a, .blogpost-entry a:hover {color:#002147;text-decoration:none}
.single-post article a {color:#0083f5}

.blog .card .badge, .archive .card .badge {position:absolute;right:20px;top:30px}

.badge a {background-color: #002147; border-radius: 3px; box-shadow: 0 4px 15px 1px rgba(0,0,0,.2); color: #fff !important; text-decoration:none !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 6px 10px 5px; text-transform: uppercase; content: "Featured"; display: inline-block; margin-bottom: 10px; margin-right: 10px}
.back-to-blog {text-decoration: none !important;}

#blog_featured_slider {margin-bottom:30px !important}
/* #blog_featured_slider .hero.tertiary:before, #blog_featured_slider .hero.tertiary:after {display:none} */
#blog_featured_slider header:before {content:"";position:absolute;z-index:0;width:100%;height:100%;top:0;left:0;background:linear-gradient(rgba(26, 214, 253, 0.3) 0%, rgba(53, 137, 227, 0.7) 100%)}
#blog_featured_slider .owl-lazy {min-height:440px;background-size:cover;background-position:50%;background-repeat:no-repeat}
#blog_featured_slider .no-background {background-size:90%}
#blog_featured_slider img {height:440px;opacity:1;position:initial;z-index:1}
#blog_featured_slider .title-read-more {position:absolute;width:70%;left:15%;margin:0 auto;bottom:100px;z-index:1}
#blog_featured_slider h2 {color:#fff;font-size:50px;text-align:center !important}
#blog_featured_slider h2:before {display:none !important}
#blog_featured_slider .owl-dots {position:absolute;width:100%;bottom:10px}
#blog_featured_slider .owl-dot.active span {background:#008aea}
#blog_featured_slider .owl-dot span {background:#fff}

.blogpost-entry {margin-bottom:30px}

.pagination {display:block !important;text-align:center}
.pagination li.page-item {display:inline-block;margin:0 -2px}

.relared-post-cat {padding:0;margin:0}
.relared-post-cat li {list-style:none;margin-bottom:20px}
.relared-post-cat li a{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap: wrap;-webkit-flex-wrap:wrap;flex-wrap: wrap}
.relared-post-cat li a .rel-img {flex:0 0 100px;max-width:100px;display:inline-block;}

.relared-post-cat li a span {flex: 0 0 calc(100% - 100px);max-width: calc(100% - 100px);padding-left:15px;font-weight: 600;color:#002147;font-size: 15px;}

#single-wrapper #primary {margin-top:-160px}
#single-wrapper #primary .card {background-color: rgba(255,255,255,.85)}
.single-background-img-container {position:relative;width:100%;height:440px}
.single-background-img-container.no-image {background-repeat:no-repeat;background-position:center;background-size:90%}
.single-background-img-container img {position:absolute;top:0;left:0;width:100% !important;height:100% !important;object-fit:cover}

@media (max-width:992px){
    #blog_featured_slider h2 {font-size:40px}
}

@media (max-width:767px){
    #blog_featured_slider .title-read-more {width:90%;left:5%;bottom:50px}
    #blog_featured_slider .hero.tertiary {height:400px}
    #blog_featured_slider h2 {font-size:35px}
}

@media (max-width: 420px){
    #blog_featured_slider h2 {font-size:30px}
}