/*
Theme Name: Nova Scotia Occupational Therapy Regulator
Author: Monolith Digital
Description: 
Version: 0.0.4
Text Domain: nsotr
*/

/**
  * Client Variables
  */
:root{

}

/**
  *  Override default breakpoint
  */
body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width:1200px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}
	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}


/************************************************
  * Dynamic Menu sizes
  */

  
  @media screen and (max-width: 1200px) {
    nav .wp-block-navigation-item__label{

      font-size: 1.55vw;
    }

    nav	.is-menu-open .wp-block-navigation-item__label{
      font-size:20px!important;
    }
  }

/**
  * Element overrides
  */
  main, footer{
	  margin-top:0px!important;
  }

  main  .entry-content > *:last-child:not(.has-background){
	  margin-bottom:40px;
  }

  .has-text-color a{
	color: inherit!important;
  }





/**
 * Wordpress default block customizations
 */

/* Hide the search input field by default */
.wp-block-search__button{
	padding:0px;
}

.wp-block-search .wp-block-search__input {
    display: none;
}

/* Ensure the search button is visible */
.wp-block-search .wp-block-search__button {
    display: inline-block; /* Ensure the button is visible */
}

/* Style the overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Ensure it's hidden by default */
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
}

.search-overlay .wp-block-search__inside-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
	margin-top: 200px;
}


/**
* Custom 
*/
.my-custom-button .wp-block-button__link {
    position: relative;
    padding-left: 40px; /* Adjust padding to make space for the icon */
}

.my-custom-button .wp-block-button__link::before {
    content: "";
    background-image: url('/wp-content/uploads/2025/06/icon-lock.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 10px; /* Adjust the position of the icon */
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Adjust the width and height as needed */
    height: 20px;
}

/*HOVER COLOR FOR THE HEADER BUTTON*/
.my-custom-button .wp-block-button__link:hover {
	background-color: #45789f !important;
}

/*HOVER COLOR FOR ALL OTHER INSTANCES OF THE BUTTON BLOCK*/
.wp-block-button__link:hover {
	background-color: #e1ab25 !important;
}


h2 + *, h3 + *, h4 + *{
	margin-block-start:0.3rem !important;
}

.nsotrHomeFeatures a {
	text-decoration: none !important;
	color: #141010 !important;
}

.nsotrHomeFeatures a:hover {
	text-decoration: none !important;
	color: #e1ab25 !important;
}

.nsotrHomeFeaturesMid a, .nsotrHomeFeaturesMid a:hover {
	text-decoration: none !important;
}




@media (max-width: 992px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hide-on-desktop {
        display: none !important;
    }

}






/**
  * Plugin overrides
  */


.lightweight-accordion-title {
	background: #BDCAD7 !important;
}

.blog .wp-block-post-date {
	margin-top:-20px !important;
}


.gw-mm-item__link {
 
}

.gw-mm-item__link a{
  text-decoration: none!important;
   text-transform:uppercase;
   position: relative;
}

.gw-pm-item a{
  text-decoration: none!important;
   text-transform:uppercase;
 
}



.gw-mm-item.has-children .gw-mm-item__link a {
  padding-right:15px;
}


.gw-mm-item__toggle .dashicons-arrow-down{
  display: none;
}
  
.gw-mm-item__link:not(:last-child) {
  padding-right:15px !important;
}


.gw-mm-item__link a::after {
    content: "\2304";
    font-size: 1em; 
    margin-left: 5px;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 1;
	color:#aebacd;
}


.gw-mm-item__dropdown{
  padding:0px;
}



.ghub-off-canvas-container .ghub-off-canvas-button-wrapper .ghub-off-canvas-button {
	background-color:transparent !important;
}



/*FLIP THE MAGINFYING GLASS USED IN SEARCH HEADER*/
.wp-block-search__button svg {
	transform: scaleX(-1) !important;
	min-width:34px !important;
	min-height:34px !important;
}

.wp-block-search__button {
	background-color:transparent !important;
}



figure.nsotrHomeImg{
	 position:relative;
}

figure.nsotrHomeImg figcaption{
	position:absolute;
	bottom:0;
	left:0;
	background-color:#e1ab25;
	border-top-right-radius: 5px !important;
	color:#fff !important;
	padding:15px;
	margin-bottom:0px !important;
}

figure.nsotrHomeImg figcaption a, figure.nsotrHomeImg figcaption a:hover {
	color:#fff !important;
	text-decoration: none !important;
}









