@charset "UTF-8";


/*
Theme Name: Kreston_Sgco-Blog
Theme URI: https://wordpress.org/themes/krestonsg/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Kreston_Sgco-Blog is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Kreston_Sgco-Blog elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 5.8
Requires PHP: 5.6
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: krestonsg
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Kreston_Sgco-Blog WordPress Theme, (C) 2020 WordPress.org
Kreston_Sgco-Blog is distributed under the terms of the GNU GPL.
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@500&display=swap');

/*
 * Blog Style
 * ===========================================*/
.blog-container{
	float: left;
	width: 100%;
    background-color: #F1F9FF;
	padding: 60px 0 40px;
    position: relative;
}
.blog-image img{width:100%; height:100%; object-fit:cover; display:block; margin:0;}
.featured-posts{
    /* width: 573px; */
    display: flex;
}
.col1{
    width: 564px;
}
.featured-blog{
  	float:left;
	width: 50%;
	position:relative;
}
.blog-single.featured-blog.right-one {
    float: right;
}
.featured-blog img{
	float:left;
	width:100%;
}
.blog-content.bg-blue{
	background-color: #F1F9FF;
}
.blog-subheading{
font-size: 2.5rem;
  margin: 0 0 25px;
  font-family: Tahoma;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.6px;
    /* margin-right: -15px;
    margin-left: -15px; */
}
.img-fluid{
   
    /* max-height: 442px; */
}
.single-row {
    float: left;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.blog-single {
    width: 32%;
}
.blog-single.align-left {
    float: left;
}
.blog-single.align-right {
    float: right;
}
.blog-content{
    padding: 19px;
    margin-left: auto;
    background-color: white;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
}

.blog-heading h3{
font-size: 20px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
}
.blog-detail p{
	font-size:14px;
	line-height:20px;
	font-family: 'Lato', sans-serif;
	font-weight:400;
}
.button{
    background-color: #F1F9FF;
    padding: 12px 15px;
    border-radius: 5px;
    display: block;
    width: 101px;
}
.button img{
    width: 70px;    
}
.blog-1 .button img{
    margin: 0;
}
.btm-image{
    width:22px;
    margin-left: 8px;
}
.btm-button{
    width: 121px;
    padding: 12px 15px;
    border-radius: 5px;
}

.banner-image{
    background:linear-gradient(
        rgba( 0, 26, 36,.7), 
        rgba(0, 26, 36,.7)
      ), url(../images/content/banner-image.png)  ;
   
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 350px;
    padding-top: 90px;
    padding-left: 80px;
}
.date{
    font-size: 14px;
    color: white;
    opacity: .7;
    margin-bottom: 20px;
}

.heading{
    font-size: 32px;
    color: white;
    line-height:1.1;
    max-width: 520px;

}
.main-section{
    /* max-width: 784px; */
}

.left-section{
    /* max-width: 381px; */

}
.box-1{
    background-color: #F1F9FF;
    padding: 30px 30px 10px;
    margin-bottom: 20px;
}

.box-1 .header{
    color: #008BBD;
    font-size: 16px;
    text-align: center;	
	line-height:22px;
	font-family: 'Lato', sans-serif;
    font-weight: 700;
   
}
.line{
    margin-top: 19.5px;
    margin-bottom: 19.5px;
    height: 2px;
    background-color: #E4E5E8;
}
.blog-1{
    display: flex;
    flex-wrap: wrap;
}
.blog-detail h3{
	font-size: 16px;
	margin-bottom: 15px;
	line-height:19px;
	font-family: 'Lato', sans-serif;
	font-weight:700;
}
.blog-detail{
    flex: 1;
}
section.blog-container.single-page{
	background:#ffffff;
}

.sub-heading{
    color: black!important;
    margin-bottom: 19.5px!important;
}
.form-group {
    margin-bottom: 19.5px;
}
.icons{
    display: flex;
    justify-content: space-evenly;

}
.icons a{
    display: block;
}
.next-page{
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #E5E8EB;
    border-bottom: 1px solid #E5E8EB;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
	margin-top: 40px;
}
.next-blog, .prev-blog{
    /* max-width: 290px; */
}
.next-blog{
    text-align: right;
}
.blog-title{
    font-weight: bold;
    font-size: 18px;
}
.left-image{
    text-align: center;
    position: relative;
    margin-right: 15px;
    top: -2px;
}

.right-image{
    text-align: center;
    position: relative;
    margin-left: 15px;
    top: -2px;
}
.clr-grey{
    color: #707070;
    font-weight: bold;
}
.clr-blue{
    color: #008BBD;
    font-weight: bold;
}


.blog-single.featured-blog{
    position:relative;
}
.blog-single.featured-blog .blog1-content{
	padding: 19px;
    margin-left: auto;
    background: #F1F9FF;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
}
.blog-content.bg-blue{
	background-color: #F1F9FF;
}
.blog-single.featured-blog .blog-1 .button{
	float: left;
	background-color: #ffffff;
}
.blog-single.align-right .blog-1,
.blog-single.align-left .blog-1{
	/*margin-bottom:20px;*/
}
.blog-heading{
    color: #008BBD;
}
.blog-date{
	float: left;
    font-size: 12px;
    color: #707070;
	margin: 4px 0 0 0;
}
.blog-single {
    padding: 10px;
    border: 1px solid #d1d1d1;
}
.blog-detail{
	float: left;
    width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
	margin-top: 10px;
}
.blog-image {
    width: 100%;
    float: left;
    height: 300px;
    background-size: cover !important;
	background-repeat:no-repeat !important;
}
.blog-single :first-child{
    /* margin-bottom: 10px; */
}
.blog-1 img{
    /* height: 100%;
        width: 260px; */
    
}
.button{
    background-color: #F1F9FF;
    padding: 7px 15px 9px;
    border-radius: 5px;
    display: block;
    width: 101px;
	float:left;
}
.button img{
    width: 70px;
    
}
.blog1-content{
    padding: 19px;   
}
.blog-1 .blog1-content {
    padding: 15px 15px 5px 0;
}
.blog-1 .button{
    background: #F1F9FF;   
}
.blog-1 .button img{
    margin: 0;
}
.btm-image{
    width:22px;
    margin-left: 8px;
}
.btm-button{
    width: 121px;
    padding: 12px 15px;
    border-radius: 5px;
}


.inner-banner {
	float: left;
    width: 100%;
	position:relative;
	max-height: 350px;
	margin-top: 113px;
}
.inner-banner:before{
	position:absolute;
	left:0;
	top:0;
	content:"";
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.8);
}
.inner-banner img{
    float: left;
    width: 100%;
}
.banner-content{
	position:absolute;
	left:5%;
	top:32%;
}
.banner-container {
    float: left;
    width: 100%;
}
.single-page .content p{
	font-size:16px;
	line-height:24px;
	color:#707070;
	font-family: 'Lato', sans-serif;
	margin-bottom: 15px;
}
.header.sub-heading {
	font-size:16px;
	line-height:22px;
	color:#000000;
	font-family: 'Lato', sans-serif;
    font-weight: 400;
}
.box-1 .form-group input{
	border:0;
	border-radius: 5px;
	padding: 10px 10px 12px;
}
.box-1 .form-group input:active,
.box-1 .form-group input:focus{
	outline:none;
	box-shadow:none;
}
.footer-container{
	float: left;
    width: 100%;
}
.blog-list .blog-1 a{
	display:flex;
}
.blog-list .blog-1 a:hover{
	text-decoration:none;
	border:0;
}
nav.navigation.post-navigation {
    float: left;
}
.nav-previous .meta-nav,
.nav-previous .meta-nav{
	color:#707070;
	font-size:16px;
	font-weight:700;
	font-family: 'Lato', sans-serif;
}
.nav-previous a:hover p,
.nav-next a:hover p,
.nav-previous a:hover,
.nav-previous a:hover{
	outline:none;
	border:0;
	color:#008BBD;
	text-decoration:none;
}
.blog-container .navigation a:hover{
	text-decoration:none;
}
.nav-previous a :hover .meta-nav svg{
	color:#008BBD;
}
.nav-previous a .post-title,
.nav-next a .post-title{
    font-size: 16px;
    line-height: 1.2;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    margin-top: 5px;
}
.nav-previous a .meta-nav,
.nav-next a .meta-nav{
	font-size:16px;
	line-height:19px;
	font-family: 'Lato', sans-serif;
	font-weight:700;
	color:#707070;
}
.blog-container .next-page .navigation.post-navigation{
	float: left;
	width: 100%;
	margin:0;
}
.blog-container .nav-previous,
.blog-container .nav-next{
	width: 48%;
}
.box-1.newsletter,
.box-1.social-icons{
    padding: 30px 30px 25px;
}
.blog-author {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
	margin-right:8px;
}
.blog-author img{
	float: left;
	width:25px;
	border-radius:100%;
}
::-webkit-input-placeholder {
   	opacity:1;
	color:#707070;
	font-size:16px;
	font-family: 'Lato', sans-serif;
}
:-moz-placeholder { 
   	opacity:1;
	color:#707070;
	font-size:16px;
	font-family: 'Lato', sans-serif;
}
::-moz-placeholder {
   	opacity:1;
	color:#707070;
	font-size:16px;
	font-family: 'Lato', sans-serif;
}
:-ms-input-placeholder {  
   	opacity:1;
	color:#707070;
	font-size:16px;
	font-family: 'Lato', sans-serif;
}
section.blog-container.bg-white.blog-list{
	padding-top:180px;
}
.inner-mega-left{
    width:100%;
}
.inner-mega-left ul{
    padding:0;
}
.colm-left{
    float:left;
    width:50%;
}
.colm-right{
    float:right;
    width:50%;
}
ul{
    
}

/*--------------------- Start Mediaquery -----------------------*/

section.blog-container.single-page .next-page { padding: 20px;}
section.blog-container.single-page .next-page .nav-links {display: flex;justify-content:space-between;}
section.blog-container.single-page .box-1 .header {
    color: #000;
    font-size: 1.2rem;
    text-align: left;
}

section.blog-container.single-page .blog-1 > a {gap: 10px;}

section.blog-container.single-page .blog-1 > a .blog-image {
    width: 115px;
    height: auto;
}

section.blog-container.single-page .blog-1:not(:last-child) {
    margin-bottom: 20px;
}
@media only screen and (min-width: 1024px) and (max-width: 1279px) {
	
}

@media only screen and (min-width: 992px) and (max-width: 1023px) {
	.featured-blog{width: 45%;}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.featured-blog{width: 100%;margin-bottom:20px;}
    .blog-single.align-right{width: 100%;}
	.blog-1 {display: flex;flex-wrap: wrap;} 
    .blog-1 .blog1-content {padding: 0;margin-top: 10px;width: 100%;max-width: none;}
    .blog-date{margin-bottom: 0;max-width: none;}  
    .single-row{margin-bottom: 0;}
    .blog-single{flex-direction: row;}
    .blog-single.featured-blog .blog1-content{position: static;width: 100%;max-width: none;}
    .blog-single.align-right .blog-1 img,.blog-single.align-left .blog-1 img{width: 100%;}
}
@media only screen and (max-width: 767px) {
    .nav-links p { margin: 0;}
    .nav-links a.meta-nav {font-size: 14px;}
    .heading {font-size: 1.6rem;}     
    .box-1, .box-1.newsletter, .box-1.social-icons{    padding: 20px;}
    .banner-container {position: relative;}
    .next-page{margin-bottom:0;margin-top:0;}
    .blog-container {padding: 30px 0;}
    .banner-content {position: absolute;top: 60%;left: 50%;transform: translate(-50%, -60%);width: 90%;}
    .inner-banner { margin-top: 90px;}
    section.blog-container.bg-white.blog-list {padding-top: 120px;}
    a.navbar-brand img {width: auto !important;height: 55px !important;object-fit: cover !important; }
    .h1, h1 {font-size: 1.6rem;}
    .blog-single {width: 100%;}
    .blog-image {height: 220px;background-size: 100% !important;background-position: center !important;        overflow: hidden;}


    .featured-blog{width: 100%;margin-bottom:20px;}
    .blog-single.align-right{width: 100%;}
	.blog-1 {display: flex;flex-wrap: wrap;}
    .blog-1 .blog1-content {padding: 0;margin-top: 10px;width: 100%;max-width: none;}
    .blog-date{margin-bottom: 0;max-width: none;}
    .single-row{margin-bottom: 0;}
    .blog-single{flex-direction: row;}
    .blog-single.featured-blog .blog1-content{position: static;width: 100%;max-width: none;}
    .blog-single.align-right .blog-1 img,.blog-single.align-left .blog-1 img{width: 100%;}
	
	col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto, .col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12, .col-xxl, .col-xxl-auto{
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media only screen and (max-width: 425px) {
    .blog-single{flex-direction: column;}
    .blog-content {width: calc(100% - 30px);}
}