body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    font-weight: 300;
    background-color: #fff;
}
p, ul li {
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.8px;
}

a,
a:hover,
a:focus,
button,
button:focus {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.z-index {
    z-index: 1;
}

.transition {
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.back_top {
    position: fixed;
    bottom: 20px;
    height: 40px;
    width: 40px;
    display: none;
    right: 20px;
    z-index: 99;
    background-image: linear-gradient(to right, #1ACC8D, #1ACC8D,#235FCD, #1C4CA3);
    background-size: 300%;
    background-position: 0 0;
}

    .back_top:hover {
        background-position: 100% 0;
    }

    .back_top i {
        line-height: 40px;
        font-size: 25px;
    }

.custom-nav {
    padding: 18px 0px;
    z-index: 999;
}

    .custom-nav .container-fluid {
        width: 90%;
    }

    .custom-nav.sticky-header {
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        background-color: #fff;
    }

    .custom-nav .navbar-nav li a {
        position: relative;
        font-size: 16px;
        font-weight: 600;
        padding: 0 !important;
        margin: 0 16px;
        position: relative;
    }

    .custom-nav .navbar-nav .submenu li a {
        padding: 6px 16px !important;
        margin: 0;
    }

    .custom-nav .navbar-nav li a::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: #1ACC8D;
        height: 2px;
        width: 0;
        opacity: 0;
        transition: all 0.5s;
        -moz-transition: all 0.5s;
        -webkit-transition: all 0.5s;
    }

    .custom-nav .navbar-nav li:hover a::before,
    .custom-nav .navbar-nav li.active a::before {
        width: 25px;
        opacity: 1;
        left: 0;
    }

    .custom-nav .navbar-nav .submenu li a::before,
    .custom-nav .navbar-nav .submenu li.active a::before {
        display: none;
    }

    .custom-nav.sticky-header .navbar-nav li a {
        color: #000 !important;
    }

.navbar-toggler {
    font-size: 28px;
}

.custom-nav .navbar-nav li.active a,
.custom-nav .navbar-nav li:hover a,
.custom-nav .navbar-nav li:active a {
    color: #1ACC8D !important;
}

.custom-nav.sticky-header .navbar-nav li.active a,
.custom-nav.sticky-header .navbar-nav li:hover a,
.custom-nav.sticky-header .navbar-nav li:active a {
    color: #1ACC8D !important;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background-color: transparent;
    border-color: #1C4CA3;
}

.brand-logo .logo-light {
    display: inline-block;
}

.brand-logo .logo-dark {
    display: none;
}

.sticky-header .brand-logo .logo-dark {
    display: inline-block;
}

.sticky-header .brand-logo .logo-light {
    display: none;
}

.bg-header {
    background-image: url(https://picsum.photos/id/553/1920/700);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    background-position: center;
    position: relative;
}

.home-bg-img {
    z-index: 1;
    position: relative;
    padding: 150px 0 150px 0;
    height:700px;
}
.home-bg-small-img {
    z-index: 1;
    position: relative;
    padding: 150px 0 150px 0;
    height:300px;
}
.section.footer {
    padding: 30px;
    //background-image: linear-gradient(to right,#235FCD, #1C4CA3);
    background-position: 100% 0;
    //background-size: 300%;
}

    

.icn-block:hover .icon {
    color: #1ACC8D !important;
}

.footer .icon-block:hover {
    color: #1ACC8D !important;
    transform: rotateY(180deg);
}

h1
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

h1.font-sm-24 {
    font-size: 34px;
}

p, ul li {
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.8px;
}

a,
a:hover,
a:focus,
button,
button:focus {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.f-14 {
    font-size: 14px;
    line-height: 24px;
}

.f-16 {
    font-size: 16px;
}

.f-18 {
    font-size: 18px;
    line-height: normal;
}

.f-30 {
    font-size: 30px;
    line-height: normal;
}

.f-34 {
    font-size: 34px;
}

.f-40 {
    font-size: 40px;
    line-height: normal;
}

.grey-text {
    color: #878c9b;
}

.font-weight-regular {
    font-weight: 400;
}

.font-weight-medium {
    font-weight: 500;
}

.z-index {
    z-index: 1;
}

.transition {
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.link-border-right {
    border-right: 1px solid rgba(255,255,255,0.3) !important;
}


.form-control {
    padding: 7px 20px;
}

.section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}

.theme-btn {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #fff;
}

    .theme-btn:hover,
    .theme-btn:focus,
    .theme-btn:active {
        color: #fff !important;
    }

.btn {
    height: 38px;
    line-height: 35px;
    text-align: center;
    padding: 0 18px;
    text-transform: uppercase;
    transition: background-image .3s linear;
    transition: box-shadow .3s linear;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    font-size: 12px !important;
}

.theme-color,
.navbar-toggler {
    color: #1C4CA3 !important;
}

.green-color {
    color: #1ACC8D;
}

.date-lg {
    position: absolute;
    top: 0;
    right: 24px;
    z-index: 0;
    font-size: 120px;
    line-height: 1;
    opacity: .07;
    font-weight: normal;
}

.blog-item-padding {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 53px 40px 60px;
    margin-top: 30px;
    position: relative;
}

.blog-item .hover-thumb-img {
    background: url(https://picsum.photos/id/570/720/500);
    background-repeat: no-repeat;
    background-position: 10px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    -webkit-transition: .4s;
    transition: .4s;
}

.blog-item:hover .hover-thumb-img {
    background-position: 50%;
    opacity: 1;
    visibility: visible;
}

.blog-item .hover-thumb-img:before {
    background-image: linear-gradient(to right,#1ACC8D, #1C4CA3,#1ACC8D, #1C4CA3);
    background-size: 300%;
    background-position: 0 0;
    opacity: 0.8;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.blog-post-title {
    line-height: 35px;
    font-size: 24px;
    letter-spacing: 0.8px;
}

.blog-post-subtitle {
    color: #1C4CA3;
    -webkit-transition: .4s;
    transition: .4s;
}

.blog-post-title a, .blog-info-meta a, .blog-info-desc p {
    color: #000;
    -webkit-transition: .4s;
    transition: .4s;
}

.blog-item:hover .blog-post-title a,
.blog-item:hover .blog-post-subtitle,
.blog-item:hover .blog-info-meta a,
.blog-item:hover .blog-info-desc p {
    color: #fff;
}

.blog-item:hover .theme-dark-btn {
    background-image: linear-gradient(to right,#fff, #fff,#fff, #fff);
    background-size: 300%;
    background-position: 0 0;
    border-color: transparent;
    color: #1C4CA3 !important;
}

.blog-info-meta a {
    color: #aaa;
}

.blog-news .title {
    border-bottom: 1px solid #ddd;
}

.sidebar-padding {
    padding: 15px;
}

.blog-post-left {
    padding: 15px;
}

.blog-side-padding {
    margin-top: 20px;
}

.sidebar, .blog-post-left, .blog-author-section {
    border-color: #eee !important;
}

    .sidebar input.form-control {
        font-size: 20px;
        height: auto;
        border: none;
        border-bottom: 2px solid #1C4CA3;
        border-radius: 0;
        background-color: transparent;
        color: #000;
        letter-spacing: 0.8px;
    }

        .sidebar input.form-control:focus {
            box-shadow: none;
            outline: none;
        }

        .sidebar input.form-control::placeholder {
            color: #989898;
            font-weight: 400;
        }

.btn-search {
    line-height: normal;
    font-size: 30px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0;
}

.blog-post-list li {
    margin: 0 0 10px 0;
}

.blog-post-list li {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-news-content .blog-post-info a {
    font-size: 16px;
}

.blog-news-content li:hover .blog-post-info a {
    color: #1C4CA3 !important;
}

.blog-news-content .blog-post-info .post-date {
    font-size: 14px;
    line-height: normal;
    margin-top: 5px;
}

.author-img {
    display: contents;
}

.page-link {
    margin: 0 5px;
    padding: 10px 15px;
    line-height: normal;
    color: #000;
    height: 45px;
    width: 45px;
    font-weight: 400;
    font-size: 16px;
}

    .page-item.active .page-link, .page-link:hover {
        z-index: 1;
        color: #000;
        background-color: #fff;
        border-color: #1C4CA3;
    }

    .page-link i {
        font-size: 20px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

@media only screen and (min-width: 1200px) {
    .grid-5 .col-lg-3 {
        -webkit-flex-basis: 20%;
        -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
        max-width: 20%;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 99%;
    }

    .footer::after {
        background-size: contain;
        height: 111px;
        top: -50px;
    }

    .custom-nav .navbar-nav li a, .portfolio-section .filters ul li {
        font-size: 14px;
        margin: 0 12px !important;
    }
}
