/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/

.noto {
    font-family: 'Cinzel', serif !important;
}

.graybackground {
    background-color: #efefef !important;
}

#content {
    background-color: #efefef !important;
}


.mbless {
    padding-bottom: 30px;
}

.logo-back {
    background: #f8b4a1;
}

    .button.logo-back:hover {
        background: #f8b4a1 !important;
    }

/* ----------------------------------------------------------------
   Desktop: Content 65% / Sidebar 35% side-by-side layout
-----------------------------------------------------------------*/
@media (min-width: 992px) {
    .postcontent {
        width: 75% !important;
        float: left !important;
        box-sizing: border-box;
        padding-right: 20px;
    }

    .sidebar.col_last {
        width: 25% !important;
        float: right !important;
        box-sizing: border-box;
    }

    .sidebar img,
    .sidebar iframe {
        max-width: 100%;
    }
}

/* ----------------------------------------------------------------
   Mobile Responsive Overrides
-----------------------------------------------------------------*/

/* Ensure sidebar stacks properly on all screen sizes */
@media (max-width: 991px) {
    .postcontent,
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    .sidebar-widgets-wrap .widget {
        padding: 20px 0;
    }

    .sidebar .widget iframe {
        width: 100% !important;
    }

    .col-md-6,
    .col-md-5,
    .col-md-4,
    .col-md-3 {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mega menu columns stack on mobile */
    .mega-menu-column {
        width: 100% !important;
        float: none !important;
    }

    /* Slider mobile */
    .slider-caption h2 {
        font-size: 24px !important;
    }

    .slider-caption p {
        font-size: 14px !important;
    }

    /* Footer responsive */
    #footer .col-md-4,
    #footer .col-md-3 {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Contact form in sidebar - full width */
    .sidebar .sm-form-control {
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix portfolio grid on mobile */
    .portfolio-item {
        width: 100% !important;
    }

    /* Phone bar mobile */
    .mobile-static {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 999;
    }

    /* Page title */
    #page-title h1 {
        font-size: 22px;
    }

    /* Images responsive */
    .postcontent img,
    .sidebar img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    /* Extra small devices */
    .container {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .slider-caption h2 {
        font-size: 20px !important;
    }

    .slider-caption p {
        font-size: 13px !important;
    }

    .heading-block h1 {
        font-size: 24px;
    }

    /* Stack footer columns */
    #footer .col-md-4,
    #footer .col-md-3 {
        width: 100%;
        float: none;
    }

    /* Copyrights area */
    #copyrights .col_half {
        width: 100%;
        float: none;
        text-align: center !important;
        margin-bottom: 10px;
    }

    /* Portfolio 4 columns to 2 on mobile */
    .portfolio-4 .portfolio-item {
        width: 50% !important;
    }

    /* Parallax section padding */
    .page-title-parallax .col-md-5 {
        padding: 40px 15px !important;
    }

    /* Nav phone number */
    #primary-menu > a.hidden-xs {
        display: none !important;
    }
}

@media (max-width: 479px) {
    /* Very small devices */
    .portfolio-4 .portfolio-item {
        width: 100% !important;
    }

    .slider-caption {
        padding: 10px !important;
    }

    .slider-caption h2 {
        font-size: 18px !important;
    }

    .button-full {
        font-size: 14px;
    }

    /* Sidebar contact icons */
    .col_one_sixth {
        width: 15%;
    }

    .col_five_sixth {
        width: 80%;
    }
}
