/**
 * Header Template
 */

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #masthead {
    display: none;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    margin: 0;
    padding: 0;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #secondary {
    display: none;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #primary {
    flex: 0 0 100%;
    max-width: 100%;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    max-width: 100%;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #main {
    padding: 0;
}

body.pbm-addons-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer footer#colophon {
    display: none;
}

/**
 * Sticky Header Template
 */

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #masthead {
    display: none;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    margin: 0;
    padding: 0;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #secondary {
    display: none;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #primary {
    flex: 0 0 100%;
    max-width: 100%;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    max-width: 100%;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #main {
    padding: 0;
}

body.pbm-addons-sticky-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer footer#colophon {
    display: none;
}

/**
 * Mobile Header Template
 */

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #masthead {
    display: none;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    margin: 0;
    padding: 0;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #secondary {
    display: none;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #primary {
    flex: 0 0 100%;
    max-width: 100%;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    max-width: 100%;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #main {
    padding: 0;
}

body.pbm-addons-mobile-header-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer footer#colophon {
    display: none;
}

/**
 * Footer Template
 */

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #masthead {
    display: none;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    margin: 0;
    padding: 0;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #secondary {
    display: none;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #colophon {
    display: none;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #primary {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0px;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    max-width: 100%;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #main {
    padding: 0;
}

body.pbm-addons-footer-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #page {
    height: auto !important;
}

/**
 * Titlebar Template
 */

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer .pbmit-title-bar-wrapper {
    display: none;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    margin: 0;
    padding: 0;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #secondary {
    display: none;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #colophon {
    display: none;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #primary {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0px;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #content {
    max-width: 100%;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #main {
    padding: 0;
}

body.pbm-addons-titlebar-template.wp-singular.pbmit-header-footer-template-default.single.single-pbmit-header-footer #page {
    height: auto !important;
}

/* Sticky header */

body:not(.single-pbmit-header-footer) .pbmit-sticky-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

body:not(.single-pbmit-header-footer) .pbmit-sticky-header-wrapper.pbmit-show-header-animation {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

body:not(.single-pbmit-header-footer) .pbmit-sticky-header-wrapper.pbmit-hide-header-animation {
    transform: translateY(-100%);
    pointer-events: none;
}