@media only screen and (max-width: 1024px) {
    .card-bg-image,.card-content .content{
        width: 50%;
    }
}

@media only screen and (max-width: 991px) {
    .header-social{
        padding-top: 0;
    }
section.royal-news-magazine-footer-sec .footer-border {
    height: auto;
}
.with-thumbnail-wrap,.archive-posts article{
        width: calc(50% - 30px);
        margin: 0 15px;
        margin-bottom: 15px;
}
.with-thumbnail-wrap .carousel-thumb,.with-thumbnail-wrap .post-content{
    float: none;
    width: 100%;
}
.with-thumbnail-wrap .carousel-thumb {
    width: auto;
}
.carousel-thumb img {
    width: 100%;
}
.with-thumbnail-wrap .post-content {
    margin-top: 15px;
}
.with-thumbnail-section {
    display: flex;
    flex-flow: row wrap;
}
.with-thumbnail-wrap .carousel-thumb{
    padding-right: 0;
}
.main-slider-section .col-md-6, .main-slider-section .col-md-3 {
    margin-bottom: 30px;
}
.cSlider.cSlider--nav.widget{
    display: none;
}
    .col-md-6.small-posts-group {
        margin-top: 30px;
    }
    .mid-section-sidebar.section aside#secondary {
        margin-top: 50px;
    }
.hero-section.image{
    height: 600px;
}
header#masthead {
    display: none;
}
.header-mobile {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	width: 100%;
	border-bottom: none;
	min-height: auto;
	background: linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
	box-shadow: 0 2px 20px rgba(27, 79, 114, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* MOBILE MENU - FULL WIDTH PANEL */
#navbar-collapse1 {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: none !important;
    border-top: 4px solid #5DADE2 !important;
    border-radius: 0 !important;
    box-shadow: 0 20px 60px rgba(27, 79, 114, 0.25) !important;
    z-index: 9999 !important;
}

#navbar-collapse1.collapse {
    display: none !important;
}

#navbar-collapse1.collapse.in {
    display: block !important;
}

#navbar-collapse1 ul.nav.navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 0 !important;
    float: none !important;
}

#navbar-collapse1 ul.nav.navbar-nav > li {
    width: 100% !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}

#navbar-collapse1 ul.nav.navbar-nav > li > a {
    display: block !important;
    width: calc(100% - 32px) !important;
    margin: 0 16px !important;
    padding: 16px 24px !important;
    color: #1B4F72 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    background: #F8FAFB !important;
    border-radius: 10px !important;
    border: none !important;
    text-decoration: none !important;
    text-align: left !important;
}

#navbar-collapse1 ul.nav.navbar-nav > li > a:hover,
#navbar-collapse1 ul.nav.navbar-nav > li > a:focus {
    background: rgba(93, 173, 226, 0.15) !important;
    color: #5DADE2 !important;
}

#navbar-collapse1 ul.nav.navbar-nav > li.current_page_item > a,
#navbar-collapse1 ul.nav.navbar-nav > li.current-menu-item > a {
    background: linear-gradient(135deg, #5DADE2 0%, #4aa3d4 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.3) !important;
}


.site-branding {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    float: none;
    width: auto;
}
.header-social a{
    color: #000;
}

.search-wrap {
    float: none;
    text-align: right;
}
h2.site-title {
    font-size: 28px;
    margin-bottom: 2px;
    margin-top: 0;
    font-weight: 700;
}
p.site-description {
    font-size: 14px;
}
a.custom-logo-link img {
    height: 50px;
    width: auto;
    margin: 0;
    padding: 0;
}
.custom-logo-link, .logo-wrap {

    text-align: left;
}
.header-social {
    margin-right: 10px;
}
.about-section-img {
    margin-bottom: 30px;
}
.mobile-wrap {
    text-align: right;
}
.header-social a.social-btn {
    font-size: 16px;
    width: 34px;
    height: 34px;
    line-height: 16px;
}
.header-social a.social-btn {
    font-size: 16px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
}
.header-search-form {
    margin-top: 20px;
}
.mid-section-sidebar.section .carousel-content-wrap {
    margin-bottom: 30px;
    padding-right: 0;
}
.header-social {
    display: inline-block;
    margin-right: 60px;
}
.header-social {
    padding-left: 30px;
}

#mobile-menu-wrap {
    position: static !important;
}

.homepage-section .row,
.blog-carousel-section .row,
.section-first .row {
    display: block !important;
    flex-wrap: unset !important;
}

.homepage-section .title-wrap,
.blog-carousel-section .title-wrap,
.section-first .title-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.homepage-section .container,
.blog-carousel-section .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
}

@media only screen and (max-width: 767px) {
    .header-mobile {
        box-shadow: none !important;
        border-bottom: none;
    }

    .eight-wraps {
        width: calc(50% - 30px);
    }
    .cSlider--single .cSlider__item h2 a {
        font-size: 33px;
        line-height: 43px;
    }
    .cSlider--single .cSlider__item h2{
        padding-left: 60px;
    }
.mid-section-sidebar.section .carousel-content-wrap {
    width: 100%;
    float: none;
}
.cause-section.section .slick-arrow {
    top: 0 !important;
    bottom: auto;
}
.slide__heading {
    font-size: 33px;
    color: #fff;
}

.card-bg-image,.card-content .content{
    width: 100%;
}
.card-content .content {
    height: auto;
}
.header-search-form {
    width: 100%;
    margin: 0;
    max-width: none;
    margin-top: 20px;
}
.search-wrap {
    float: none;
    text-align: center;
}

.logo-wrap {
    text-align: left;
}
.custom-logo-link, .logo-wrap {
    display: inline-block;
    float: none;
}
a.custom-logo-link {
    position: static;
    top: auto;
    display: block;
    line-height: 0;
}
.hero-section h1 {
    font-size: 46px;
    color: #fff;
    line-height: 57px;
}
	.hero-section .stuff {
	    max-width: 85%;

	}
	.section-title h2 {
	    line-height: 58px;
	    font-size: 40px;
	}
	section#about .col-md-7 {
    padding-right: 20px;
}
.explore-section .section-title {
    margin-left: 0;
    padding-left: 20px;
}

.cta-sec .cta-title {
    font-size: 33px;
    line-height: 53px;
}
.blog-wrap {
    margin-bottom: 40px;
}
.blog-wrap {
    margin: 0 99px;
    margin-bottom: 40px;
}
header#masthead {
    padding: 18px 20px;
}
.header-social .social-icon a, .header-social .header-phone a {
    color: #000;
    font-size: 15px;
}

button#btn-search {
    margin-right: 15px;
}
.custom-slideshow .custom-slide {
    margin: 0 50px;
}
.about-section-img {
    text-align: left;
}
.blob-wrapper__background {
    height: 100%;
    bottom: 0;
}
.cta-content .cta-title {
    text-align: center;
}
}



@media only screen and (max-width: 600px) {
a.custom-logo-link img {
    height: 35px;
}
.site-branding {
    position: relative;
    /* top: 23px; */
}
section#primary.about-sec .col-md-7{
    padding-right: 10px;
}
.section-title h2 {
    line-height: 51px;
    font-size: 34px;
}
.hero-section h1 {
    font-size: 50px;
    color: #fff;
    line-height: 65px;
}
.blog-wrap {
    margin: 0 20px;
    margin-bottom: 40px;
}
.about-second-wrap {
    padding: 0 20px;
}
.about-section-img {
    margin-top: 0;
    padding: 0 20px;
}
}

@media only screen and (max-width: 550px) {
    .logo-wrap {
        max-width: 250px;
    }
.hero-section h1 {
    font-size: 38px;
    color: #fff;
    line-height: 45px;
}
.hero-section.image .col-md-6 {
    padding: 95px 45px;
}
.explore-section .section-title{
	max-width: none;
}
.blog-wrap {
    margin: 0 20px;
    margin-bottom: 40px;
}
.quote-wrap {
    padding: 40px 25px;
}
}

@media only screen and (max-width: 480px) {
body {
    overflow-x: hidden;
}
}

@media only screen and (max-width: 500px) {
    .site-branding {
        float: left;
        text-align: left;
        padding: 0;
    }
    .archive-posts article{
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
}
.mobile-wrap {
    text-align: center;
    margin-top: 0px;
}
.header-social {
    margin: 0;
}
.header-social {
    float: none;
    padding-left: 11px;
}
button.navbar-toggle {
    position: relative;
    right: auto;
    top: auto;
}
}

@media (max-width: 780px){
#main, #sidebar {
    width: 100%;
    float: none;
    clear: both;
}
}

@media only screen and (max-width: 767px){
	.main-slider-section{
		padding-top: 0;
	}
	.blog-eight-section.section {
    padding-top: 40px;
}
	.top-small-carousel-section.section{
		padding-top: 40px;
	}
	.royal-news-magazine-section {
    padding: 40px 0;
}
	.entry-footer{
		padding-bottom: 0;
	}
}
