/*!
Theme Name: allbusinessschools
Theme URI: https://www.allbusinessschools.com/
Author: Underscores.me
Author URI: https://www.allbusinessschools.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: allbusinessschools
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

allbusinessschools is based on Underscores https://www.allbusinessschools.com/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Default state for all content pages */
 body:not(.home):not(.page-id-2945){
    padding-top: 100px !important;
}
 

/* Default state for all pages */
header#masthead.site-header .header-outer {
    z-index: 9991;
    width: 100%;
    -webkit-transition: .4s ease-in-out;
    -moz-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
    -webkit-transform: translate3d(0,0,0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* Default to relative */
    box-sizing: border-box; /* Ensures border fits within height */
}
 
/* Apply background image and border to header on all pages except homepage */
body:not(.home) header#masthead.site-header .header-outer {
background-image: url('../jpg/article-background-image.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-bottom: 5px solid #0f4a71 !important; /* Blue border */
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.5); /* Adjusted shadow to start below border */
}

  
/* for ads */
.heading-font {
	font-family: 'Droid Sans';
	padding-bottom: 5px;
}

.bottom-border {
	border-bottom: 1px solid #979797;
	margin-bottom: 15px;
	height: 5px !important;
}

.ads-img-width img {
	max-width: 100%;
}

.bottom-border-light {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 15px;
}

.center-columns .wp-block-column {
	text-align: center;
}

.ads-sidebar-title {
	border-top: 0 !important;
	border-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 0 7px 0 !important;
}

.sidebar-padding {
	padding: 10px 10px 0 10px;
}

/* Was-This-Helpful Plugin */
.helpful-block-content{
	text-align: center;
}


/* menu and sub menu changes */
@media only screen and (min-width: 1151px){
header .site-navigation .menu-top-menu-container .nav>li>.sub-menu{
	left: inherit !important;
     width: 25% !important;
}

header .site-navigation .menu-top-menu-container .nav .menu-item-has-children .sub-menu>.menu-item-has-children .sub-menu{
	width: 200px !important;
}
}

/* Make header sticky only on non-homepage desktop views */
@media screen and (min-width: 768px) {
body:not(.home) header#masthead.site-header .header-outer {
        position: fixed;
        top: 0;
        left: 0;
    }

    /* Target the sticky sidebar and change top from 38px to 135px */
.asd-sticky-right-sidebar {
        top: 135px !important; /* Overrides inline top: 38px */
    }
}


/* hide on specific screen types & sizes */

@media only screen and (max-width:767px) {
	.hide-mobile { display: none; }
}

@media only screen and (min-width:767px) {
	.hide-desktop { display: none !important; }
}

/* hide double hero image on posts */
.single-post .entry-header, .single-post .post-thumbnail {
	display: none;
}

/* hide and show for tablet sized screens */
@media only screen and (min-width: 767px) and (max-width: 1024px) {
	.hide-tablet {display: none;}
	.show-tablet {display: initial;}
}

/* fixes for tablet mobile issues for new header on landing pages */
@media only screen and (min-height: 767px) and (max-width: 1023px) {
	.tablet-bg {background-color: #f4f4f4;}
	.asd-client-widget[type=cta_program_prefilter_box] {margin: 0;}
	.is-widget-banner .asd-client-widget .asd-program-prefilter-wrapper .asd-program-prefilter-form-wrapper .asd-program-prefilter-form .asd-button-wrapper .asd-button {padding: 10px;}
}


@media screen and (max-width: 375px) {
	.how-to-step-block .step .step-content .image-with-title .step-title{max-width: 95% !important;}
}
@media screen and (max-width:600px) {
	.asd-linkout-schools-container .asd-linkout-school .asd-linkout-school-name-program-wrapper .asd-linkout-program-wrapper { padding: 10px 0px 8px; }
	.page-template-page-template-blank .school-listing-page.has-fixed{ width: 100%; }
}
@media screen and (max-width:375px) {
	.asd-linkout-schools-container .asd-linkout-school .asd-linkout-program-wrapper { padding: 10px 0px 8px; margin: 0 20px; }
	.asd-linkout-schools-container .asd-linkout-school .asd-linkout-program-wrapper .asd-linkout-button-wrapper button { margin-left: 0; }
	#asd-client-content .asd-linkout-wrapper .asd-linkout-school.integrated-linkout .asd-linkout-program-wrapper, #asd-client-content .linkout-widget .asd-linkout-school.integrated-linkout .asd-linkout-program-wrapper, .mfp-container .asd-linkout-wrapper .asd-linkout-school.integrated-linkout .asd-linkout-program-wrapper, .mfp-container .linkout-widget .asd-linkout-school.integrated-linkout .asd-linkout-program-wrapper { margin: 0 20px; }
	#asd-client-content .asd-linkout-wrapper .asd-linkout-school .asd-linkout-program-wrapper .asd-linkout-button-wrapper button, #asd-client-content .linkout-widget .asd-linkout-school .asd-linkout-program-wrapper .asd-linkout-button-wrapper button, .mfp-container .asd-linkout-wrapper .asd-linkout-school .asd-linkout-program-wrapper .asd-linkout-button-wrapper button, .mfp-container .linkout-widget .asd-linkout-school .asd-linkout-program-wrapper .asd-linkout-button-wrapper button { margin-left: 0; }
}