@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;
}
ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus-within .dropdown-sub {
    left: 0 !important;
}
ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus-within .dropdown-sub{
    left: 0 !important;
}
ul#menu-main li.menu-item-has-children:hover .dropdown-menu, ul#menu-main li.menu-item-has-children:focus .dropdown-menu, ul#menu-main li.menu-item-has-children:focus-within .dropdown-menu{
    background: #f7f7f7 !important;
}
ul#menu-main li a:focus{
    background: #303B32 !important;
    color: #fff !important;
}
header#masthead {
    display: none;
}
.header-mobile {
	display: block;
	padding: 15px;
	width: 100%;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
	min-height: 65px;
}


.site-branding {
    float: left;
    width: auto;

}
.header-social a{
    color: #000;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children>.dropdown-sub {
    border: none;
    box-shadow: none !important;
    display: none !important;
}
.navbar-nav .dropdown-menu {
    opacity: 1;
    display: none !important;
}
.navbar-nav li.menu-item-has-children:hover .dropdown-menu, .navbar-nav li.menu-item-has-children:focus .dropdown-menu, .navbar-nav li.menu-item-has-children:focus-within .dropdown-menu {
    display: block !important;
}
.home.page-template-template-home header#masthead ul#menu-main li a {
    color: #000;
}

.search-wrap {
    float: none;
    text-align: right;
}
h2.site-title {
    font-size: 26px;
    margin-bottom: 5px;
}
p.site-description {
    font-size: 14px;
}
a.custom-logo-link img {
    height: 42px;
    width: auto;
}
.navbar-collapse.collapse{
    display: none !important;
}
.navbar-collapse {
    width: 100%;
    background: #fff;
}
.custom-logo-link, .logo-wrap {

    text-align: left;
}
ul#menu-main {
    margin: 0;
    float: none;
    display: block;
}
.navbar-nav>li {
    display: block;
    width: 100%;
    float: none;
}
ul#menu-main li a{
    color: #565656;
    padding-top: 10px;
}
#menu-main .dropdown-menu {
    position: relative;
    left: auto;
    top: auto;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children>.dropdown-sub {
    display: none !important;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub {
    display: block !important;
}
.navbar-nav>li>.dropdown-menu, ul.dropdown-menu.dropdown-sub {
    box-shadow: none !important;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.navbar-nav>li>.dropdown-menu, ul.dropdown-menu.dropdown-sub {
    width: 100%;
}
.header-social {
    margin-right: 10px;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    font-family: none;
}
.home.page-template-template-home .navbar-toggle .icon-bar {
    background: #fff;
}
#menu-main .dropdown-menu {
    position: relative;
    float: none;
}
.navbar-collapse.in {
    overflow-y: auto;
    overflow-x: hidden;
    display: block !important;
    overflow: auto !important;
}
.navbar-collapse{
    padding: 0;
}
button.navbar-toggle {
    float: none;
    display: inline-block;
    background: #303B32;
    margin: 0;
    position: relative;
    top: 5px;
}
.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;
}
.navbar-toggle {
    padding: 8px 5px;
}
ul#menu-main {
    text-align: left;
}
ul#menu-main li:first-child a {
    padding-left: 15px;
}
.navbar-nav>li {
    border-bottom: 1px solid #eee;
}
.header-search-form {
    margin-top: 20px;
}
.mid-section-sidebar.section .carousel-content-wrap {
    margin-bottom: 30px;
    padding-right: 0;
}
button.navbar-toggle:focus {
    background: none !important;
}
button.navbar-toggle:focus span{
    background: #000 !important;
}
button.navbar-toggle{
    border-color: #000 !important;
}
.header-social {
    display: inline-block;
    margin-right: 60px;
}
.header-social {
    padding-left: 30px;
}
button.navbar-toggle {
    position: absolute;
    right: 25px;
    top: 15px;
}
.header-mobile {
    position: relative;
}
nav#site-navigation .menu ul li {
    width: 100%;
    text-align: left;
    display: block;
    padding: 7px 10px !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: relative;
    top: -15px;
}
.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: absolute;
    right: 10px;
    /* top: 30px; */
}
}

@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;
	}
}