html {
  scroll-behavior: initial;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2 !important;
}

h3.post-title, .post-related .post-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 6px;
}

.post-cats a {
    letter-spacing: 0;
    font-weight: 600;
}

.post-cats a:after {
    display: none;
}

.post-meta {
    margin-bottom: 0;
}

.ft-widget .widget-title {
    margin-top: 0;
    margin-bottom: 8px;
}

.ft-widget p {
    margin-bottom: 0;
    font-size: 14px;
}

.ft-widget {
    padding: 30px 0;
    border-bottom: 1px solid #727272;
}

.ft-widget .widget a img {
    max-width: 210px;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.categories-container {
    padding: 40px 0px;
    background: #11111180;
}

.categories-container h1.page-title {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-reply-title {
    margin-bottom: 20px;
}

  .mega-dropdown:hover .mega-menu {
    display: block;
}
 
.thynk-mainmenu .main-menu > li {
    position: static;
}

.mega-dropdown .dropdown-menu {
    display: none;
    left: 0;
    right: 0;
    top: 100%;
    border-radius: 0;
    padding: 0 !important;
    top: 50px;
    width: 100% !important;
    max-width: 80%;
    margin: 0 auto;
    background: transparent;
    border: 0;
}

.mega-dropdown .dropdown-menu .row {
    border-top: 3px solid #d78874 !important;
    padding: 30px;
    background: #fff;
    top: 30px;
    position: relative;
    border:1px solid #f5f5f5;
}

.mega-menu a.dropdown-item {
       padding: 20px 0;
}

.thynk-mainmenu .main-menu a:hover {
    background: transparent;
}

.header.show-header {
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 2;
    top: 0;
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    animation-duration: 0.8s;
    -webkit-animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
}

.header {
    border-bottom: 1px solid #ddd;
    /* position: fixed; */
    width: 100%;
    top: 0;
    z-index: 4;
    background: #fff;
}

body {
    /* margin-top: 80px; */
}

body.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
    z-index: 0;
}

body p {
    font-size: 16px;
    line-height: 1.2;
}

p.lead {
    font-size: 18px;
    line-height: 1.2;
}

h2.heading-main {
    text-align: center;
    font-weight: 600;
    font-size: 34px;
    position: relative;
    padding-bottom: 8px;
    margin-top: 0;
}

h2.heading-main:before {
    transform: translateX(-50%);
    position: absolute;
    content:"";
    background: #df7a15;
    height: 4px;
    width: 46px;
    bottom: 0;
    left: 50%;
}

.icon-caret-login {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.icon-caret-login a.search-icon {
    margin-right: 20px;
    padding: 10px;
    background: #df7a15;
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
}

.search-wrapper {
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    max-width: 300px;
    margin-left: auto;
    border-radius: 0px;
    box-shadow: 0px 0px 5px 3px #0000000f;
    padding: 10px;
    z-index: 2;
}

.search-wrapper .search-bar input {
    width: 100% !important;
    max-width: 100% !important;
}

.search-wrapper .search-bar {
    width: 100%;
}

.header-content {
    position: relative;
}
.search-results:before {
    position: absolute;
    content: "";
    background: #ffffff;
    height: 15px;
    width: 15px;
    top: -8px;
    left: 20px;
    transform: rotate(45deg);
    box-shadow: 0px 0px 4px 1px #e2e2e2;
    z-index: 1;
}
.search-results {
    margin: 0 auto;
    position: absolute;
    max-width: 280px;
    margin-left: auto;
    right: 10px;
    top: 112px;
}
     
     .search-results-list {
    list-style: none;
    margin: 0;
    background: #fff;
    box-shadow: 0px 0px 4px 1px #e2e2e2;
    padding: 10px;
    border-radius: 10px;
    z-index: 2;
    position: relative;
}
/* LI items */
.search-results-item {
    padding: 6px;
    border-bottom: 1px solid #eee;
}
.search-results-item:last-child {
    border-bottom: none;
}
/* Link styling */
.search-results-link {
    text-decoration: none;
    color: #333;
    display: block;
    text-wrap: auto;
    line-height: 20px;
}
.search-results-item:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
}
/* No data found message */
    .search-no-data {
    padding: 10px 15px;
    color: #999;
    font-style: italic;
}


/*blog cards css starts from here*/

.home-posts .thynk-blog .inner-post .post-format {
    width: 30%;
}

.home-posts .thynk-blog .inner-post .post-info {
    width: 70%;
}

.home-posts .thynk-blog .inner-post .post-format img {
    height: 120px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.thynk-blog .inner-post {
    background: #df7a1512;
    border-radius: 10px 10px;
    transition: 0.3s ease-in-out;
    overflow: hidden;
    padding: 15px;
}

.home-posts .thynk-blog .inner-post {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: visible;
}

.post-meta {
    width: 100%;
}

.thynk-blog .inner-post:hover {
    transition: 0.3s ease-in-out;
    background: #fff;
    box-shadow: 0px 0px 3px 1px #df7a1545;
}

.home-posts .thynk-blog .inner-post .post-format {
    margin-bottom: 0px;
}

.post-related a.post-featured-image img {
    max-height: 160px;
    width: 100%;
    object-fit: cover;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-1-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

footer#thynk-footer {
    z-index: 2;
    position: relative;
}

/*home page single card css starts here*/

.post-featured-image::after, .thynk-blog .post-format:after {
    display: none;
}

.thynk-blog .post {
    margin-bottom: 20px;
}

.sidebar-homepage .inner-post {
    padding: 10px;
}

.sidebar-homepage .inner-post h3.post-title {
    margin-bottom: 10px;
}

.sidebar-homepage .inner-post .mt-3.entry__meta {
    margin-top: 5px !important;
}

.sidebar-homepage .post-format img {
    max-height: 60px;
}

.sidebar-homepage h2.heading-main {
    margin-top: 80px;
    text-align: left;
}

.layout main.main-content {
    width: 70%;
    padding-right: 60px;
}

.layout aside.sidebar {
    width: 30%;
    padding:0;  
    border:0;
    border-left:1px solid #f5f5f5;
}

.layout aside.sidebar .sidebar-inner {
    position: sticky;
    top: 0px;
    padding-top: 20px;
}

.thynk-single-post {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 0px 20px;
}

.thynk-single-post .single-post-content {
    max-width: 100%;
}

.btn-primary.main-btn {
    color: #fff;
    background-color: #1e3b55;
    border-color: #1e3b55;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    border-radius: 0;
    padding: 10px 30px;
    font-size: 14px;
}

.btn-primary.main-btn:hover, .btn-primary.main-btn:focus {
    background: #df7a15;
    border-color: #df7a15;
    box-shadow: none;
}

.az-button, button, .button, input[type="submit"] {
    background: #1e3b55;
}

.form-newsletter input:focus-visible {
    box-shadow: none;
    border: 0;
    outline: none;
}

ul.pagination .page-item .page-link {
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-color: #14233357;
    border-radius: 0;
    color: #203c54;
}

ul.pagination .page-item {
    margin: 0px 3px;
}
ul.pagination .page-item.active .page-link {
    border-color: #df7a15;
    border-radius: 0;
    color: #ffffff;
    background: #df7a15;
}
ul.pagination .page-item .page-link:hover {
    background: #1e3b55;
    color: #fff;
}

.text-primary {
    color: #df7a15 !important;
}

.note-editing-area .note-editable.card-block {
    min-height: 180px;
}

.share-buttons a.btn {
    align-items: center;
    display: flex;
    width: max-content;
    margin: 0 4px 0 0px;
    padding: 4px;
}

.social-buttons {
    display: flex;
}

.share-buttons a.btn svg {
    height: 20px;
    width: 20px;
}

.inner-pages .innner-page-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.form-newsletter.newsletter-btn span {
    background: #e47d18;
    transition: 0.4s;
}

.form-newsletter.newsletter-btn span:hover {
    background: #1e3b55;
    transition: 0.4s;
}

.form-newsletter.newsletter-btn span button {
    background: transparent;
    width: max-content;
    height: 100%;
    font-size: 14px;
    color: #fff;
    padding: 0px 20px;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 400;
}

h4.popular-heading {
    margin: 0;
    margin-bottom: 10px;
}

.post-format img {
    max-height: 500px;
    object-fit: contain;
    object-position: center center;
    width: 100%;
}

.buttons-follow {
    text-align: right;
}

/* .about-author .thumb {
   height: 100px;
   width: 100px;
   border-radius: 50%;
   overflow: hidden;
} */

.rounded .post-meta .thynk-like-post:before {
    width: auto;
    height: auto;
    margin-right: 2px;
}

.about-author .thumb {
    width: 100px;
    text-align: center;
}

.about-author .thumb img {
    height: 70px;
    width: 70px;
    border-radius: 100%;
    overflow: hidden;
    object-fit: cover;
    margin-bottom: 14px;
}

.author-page .details {
   width: calc(100% - 100px);
   padding-left: 30px;
}

.author-page {
    display: flex;
    background: linear-gradient(45deg, #1e3b5529, #df7a151a, #1e3b551f);
    padding: 30px;
    border-radius: 14px !important;
    margin-top: 30px;
}


/* .buttons-follow .btn-primary {
    background: #1e3b55;
    border-color: #1e3b55;
    box-shadow: none;
    border-radius:0;
}
.buttons-follow .btn-primary:hover {
    background: #df7a15;
    border-color: #df7a15;
    box-shadow: none;
    border-radius:0;
} */

.buttons-follow button.btn, .buttons-follow a.btn {
    background: transparent;
    color: #1e3b55;
    border-color: #1e3b55;
    border-radius: 30px;
    padding: 8px 24px;
    margin-left: 6px;
    box-shadow: none !important;
}

.buttons-follow .btn-primary:hover, .buttons-follow .btn-primary:focus {
    background-color: #1e3b55;
    border-color: #1e3b55;
    color: #fff;
}

.buttons-follow .btn-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.home-posts h3.post-title a {
    font-size: 16px;
    line-height: 1.5;
}

.home-posts .post-excerpt p {
    line-height: 1.5;
}

.hide {
    display: none;
}

.tab-content {
    padding: 0px 5px;
}

.tabs-carousel {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    width: 100%;
    display: flex !important;
    align-items: center;
}

.tabs-carousel > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #424f5a;
    text-align: center;
    padding: 6px 8px;
    white-space: nowrap;
}

.tabs-carousel > a.active {
    font-weight: 700;
}

.tabs-carousel > a:not(.active):hover {
    color: #7c848a;
}

.tabs-carousel .owl-nav {
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: space-between;
    top: 0;
    bottom: 0;
    pointer-events: none;
    align-items: center;
}

.tabs-carousel .owl-nav button {
    z-index: 2;
    background: #ffffffc4 !important;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    pointer-events: all;
    border: none;
}

.tabs-carousel .owl-nav button.owl-prev {
    justify-content: flex-start;
}

.tabs-carousel .owl-nav button.owl-next {
    justify-content: flex-end;
}

.tabs-carousel .owl-nav button i:before {
    font-size: 20px;
}

.tabs-carousel .owl-stage-outer {
    position: relative;
    z-index: 1;
}

.tabs-carousel .item.active {
    color: #e17916;
    border-color: #1e3b55;
}

.tabs-carousel .item {
    display: inline-block;
    padding: 20px 20px;
    white-space: nowrap;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 400;
    color: #424f5a;
    border-bottom: 1px solid #f5f5f5;
}

.tabs-carousel.tabs-fixed {
    position: sticky !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
}

.tabs-carousel .owl-item #tab-all {
    display: block !important;
}

.main-contaier {
    padding: 0px 0 20px;
}

.inner-pages {
    padding: 40px 0px 20px;
}

.ath-name button.btn {
    background: transparent;
    color: #1e3b55;
    border-color: #1e3b55;
    border-radius: 30px;
    padding: 8px 24px;
    margin-left: 0px;
    box-shadow: none !important;
    text-transform: capitalize;
    letter-spacing: 0;
}

.comments-section .modal-dialog {
    max-width: 400px;
    left: 50%;
    margin: 0 !important;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}

.comments-section .modal-dialog form#followForm {
    width: 100%;
}

.btn-black {
    background: #1e3b55;
    border: 0;
    border-radius: 0;
    letter-spacing: 0;
    text-transform: capitalize;
}

.btn-black:hover {
    background: #df7a15;
}

.post-meta .thynk-like-post:before {
    width: auto;
    height: auto;
    margin-right: 10px;
}

.post-meta .thynk-like-post {
    color: #999 !important;
}

.share-buttons {
    padding: 10px;
    background: #dddddd33;
}

/* Most popular fixed tab on desktop css */

.popular-carousel .owl-item:last-child a {
    margin-right: 30px;
}

a.blog-btn.show-when-popular {
    display: none !important;
}

.thynk-single-post > .item-blog > .post-meta {
    margin-bottom: 20px;
}

.thynk-single-post > .item-blog > .post-format {
    margin-bottom: 30px;
}

.thynk-like-post {
    position: relative;
    cursor: pointer;
}

.thynk-like-post span.pop-over {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%);
    background: #1e3b55;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    visibility: hidden;
    opacity: 0;
    border-radius: 6px;
    transition: 0.3s;
    z-index: 999999;
}

.thynk-like-post:hover span.pop-over {
    opacity: 1;
    visibility: visible;
    top: -30px;
    transition: 0.3s;
}

.thynk-like-post span.pop-over:before {
    position: absolute;
    content: "";
    background: #1e3b55;
    height: 8px;
    width: 100%;
    bottom: -3px;
    max-width: 8px;
    transform: rotate(45deg);
    left: 42%;
}

a.btn.show {
    display: none !important;
}

.cstm-content h3 {
    font-size: 22px;
}

@media (min-width: 768px){

    .mobile_display {
    display: none !important;
}
a.readmore svg {
    display: none;
}

.main-footer .widget_nav_menu {
    max-width: 150px;
    margin: auto;
}

.buttons-follow1 {
    position: absolute;
    right: 0;
    top: 0;
}

.author-page .details {
    position: relative;
}

.author-page .details p:last-child {
    margin-bottom: 0;
}

}

@media (min-width: 992px){

.header-content .d-table-cell {
    line-height: 0;
}

.tab-block {
    display: none;
}

}

@media (min-width: 1300px){

.header .container {
    padding: 0px 25px 0px 10px;
}

}





@media (max-width: 991px){

body {
    /* margin-top: 60px; */
}

.search-wrapper {
    top: 50px;
}

.search-results {
    top: 105px;
}

/* .row.layout {
    display: none;
} */

.row.layout {
    padding: 0px 15px 15px;
}

.layout main.main-content {
    width: 100%;
    padding-right: 0;
}

.layout aside.sidebar {
    display: none;
}

}

@media (max-width: 767px){

.thynk-mainmenu.d-table-cell {
    width: 0%;
}

.home-posts .thynk-blog .inner-post .post-format img {
    height: 70px;
}

.header-social.d-table-cell {
    vertical-align: middle;
}

.nav-icon {
    margin-left: 10px;
    margin-right: 0;
    background: #fff;
    padding: 4px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 1px 1px #1f3b5457;
    border-radius: 4px;
    margin-top: 2px;
    color: #213c57;
}

.nav-icon i.fas.fa-bars {
    font-size: 20px;
}

 .az-button, button, .button, input[type="submit"] {
    padding: 6px 10px;
    letter-spacing: 1px;
}

.ft-widget .widget:last-child {
    margin-bottom: 0px;
}

.nav-main {
    position: fixed;
    width: 80%;
    z-index: 99999999;
    top: 0;
    left: 0;
    height: 100% !important;
    padding: 40px 30px !important;
    background: #fff;
    overflow-y: auto;
    display: none;
    transform: translate(-100%, 0px);
    transition: transform 0.3s ease-in-out;
    bottom: 0;
}

.nav-main.heighlight {
    transform: translate(0%, 0px);
}

.desktop_dislay {
    display: none !important;
}
.categories-container h1.page-title {
    font-size: 22px;
}


p.lead {
    font-size: 18px;
    line-height: 1.2;
}

.icon-caret-login a.search-icon {
    margin-right: 10px;
    padding: 0;
    height: auto;
    width: auto;
    background: transparent;
}

.search-wrapper {
    top: 36px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.search-results {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    max-width: 86%;
    top: 94px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

h2.heading-main {
    font-size: 24px;
}

.main-contaier {
    padding: 0;
}

.thynk-single-post .title-single {
    font-size: 24px;
}

.post-related-title, .comment-reply-title, .comments-title {
    font-size: 24px;
}

.thynk-single-post > .item-blog > .post-meta {
    margin-bottom: 20px;
}

a.btn.btn-primary.main-btn {
    margin: auto;
    display: flex;
    width: max-content;
}

ul.pagination .page-item .page-link {
    height: 34px;
    width: 34px;
    font-size: 14px;
}

a.readmore span {
    display: none;
}

a.readmore.az-button {
    padding: 0;
    background: transparent;
}

a.readmore.az-button svg path {
    fill: #1f3b54;
}

.icon-caret-login a.search-icon svg path {
    fill: #1f3b54;
}

.about-author .thumb {
    margin: 10px auto 10px;
}

.author-page .details {
    width: 100%;
    padding-left: 0;
    text-align: center;
}

.author-page {
    padding: 15px;
    flex-wrap: wrap;
}

.tabs-carousel .item {
    padding: 14px 12px;
    font-size: 13px;
}

.social-buttons {
    flex-wrap: wrap;
    row-gap: 10px;
}

.thynk-single-post {
    padding: 20px 0px 20px;
}

.buttons-follow {
    text-align: center;
}

}

@media (max-width: 575px){

.thynk-logo {
    width: 50%;
}
.header-social {
    width: 50%;
}

.item-post-feature .post-excerpt {
    margin-bottom: 20px;
}

.thynk-primary-single .main-contaier .inf-ath {
    margin: 0;
}

.comments-section .modal-dialog {
    max-width: 90%;
}

}

@media (max-width: 375px){

.thynk-logo img{
    max-width: 140px
}

}
