/*
Theme Name: Rhinomed 2021 - Turbine
Version: 1.0
Description: Child theme for GeneratePress.
Template: generatepress
*/

/** @font-face {
    font-family: 'Brandon Grotesque';
    src: url('fonts/brandon_bld-webfont.eot');
    src: url('fonts/brandon_bld-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/brandon_bld-webfont.woff2') format('woff2'),
         url('fonts/brandon_bld-webfont.woff') format('woff'),
         url('fonts/brandon_bld-webfont.ttf') format('truetype'),
         url('fonts/brandon_bld-webfont.svg#brandon_grotesquebold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

 @font-face {
    font-family: 'Brandon Grotesque';
    src: url('fonts/brandon_med-webfont.eot');
    src: url('fonts/brandon_med-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/brandon_med-webfont.woff2') format('woff2'),
         url('fonts/brandon_med-webfont.woff') format('woff'),
         url('fonts/brandon_med-webfont.ttf') format('truetype'),
         url('fonts/brandon_med-webfont.svg#brandon_grotesquemedium') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
} 

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('fonts/brandon_reg-webfont.eot');
    src: url('fonts/brandon_reg-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/brandon_reg-webfont.woff2') format('woff2'),
         url('fonts/brandon_reg-webfont.woff') format('woff'),
         url('fonts/brandon_reg-webfont.ttf') format('truetype'),
         url('fonts/brandon_reg-webfont.svg#brandon_grotesque_regularRg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} **/


/**************************** COLOURS ***************************/

.has-white-background-color {
    background-color: #fff !important;
}
 
.has-white-color {
    color: #fff !important;
}

.has-rhinomed-light-grey-background-color {
    background-color: #f7f7f7 !important;
}
 
.has-rhinomed-light-grey-color {
    color: #f7f7f7 !important;
}

.has-rhinomed-light-blue-background-color {
    background-color: #00bdf2 !important;
}
 
.has-rhinomed-light-blue-color {
    color: #00bdf2 !important;
}

.has-rhinomed-dark-blue-background-color {
    background-color: #0285bf !important;
}
 
.has-rhinomed-dark-blue-color {
    color: #0285bf !important;
}

.has-rhinomed-aqua-background-color {
    background-color: #32c4c0 !important;
}
 
.has-rhinomed-aqua-color {
    color: #32c4c0 !important;
}

.has-mute-blue-background-color {
    background-color: #459fd2 !important;
}
 
.has-mute-blue-color {
    color: #459fd2 !important;
}

.has-turbine-yellow-background-color {
    background-color: #ffc72b !important;
}
 
.has-turbine-yellow-color {
    color: #ffc72b !important;
}

.has-turbine-orange-background-color {
    background-color: #ff7601 !important;
}
 
.has-turbine-orange-color {
    color: #ff7601 !important;
}

.has-pronto-purple-background-color {
    background-color: #66579e !important;
}
 
.has-pronto-purple-color {
    color: #66579e !important;
}

.has-pronto-blue-background-color {
    background-color: #29a0c0 !important;
}
 
.has-pronto-blue-color {
    color: #29a0c0 !important;
}

/**************************** HEADER ***************************/

.site-header {
	height: 80px;
	box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
}


.site-logo.mobile-header-logo {
	margin-left: 40px !important;
}

.main-navigation {
	text-transform: uppercase;
	font-family: "Brandon Grotesque";
}

.main-navigation.has-branding .menu-toggle, .main-navigation.has-sticky-branding.navigation-stick .menu-toggle {
	padding-right: 40px !important;
}

.navigation-branding img, .site-logo.mobile-header-logo img {
	width: 150px !important;
	height: auto !important;
}

#sticky-navigation, #mobile-header {
	background: rgba(0,0,0,0.95);
}

@supports (-webkit-backdrop-filter: none) {

	#sticky-navigation, #mobile-header {
		background: rgba(0,0,0,0.8);
		-webkit-backdrop-filter: saturate(100%) blur(10px) !important;
	}

	.site-header, .sticky-enabled .main-navigation.is_stuck, .sub-menu {
		-webkit-backdrop-filter: saturate(100%) blur(10px) !important;
	}

	ul.sub-menu, .main-navigation ul ul {
		-webkit-backdrop-filter: saturate(100%) blur(10px) !important;
	}

}

.sticky-navigation-logo img {
	width: 150px !important;
	height: auto !important;
}

.secondary-navigation .menu-text a:hover {
    background-color: transparent !important;
    cursor: default;
}

#secondary-navigation .main-nav {
	width: 100%;
}

.secondary-navigation .main-nav>ul {
	width: 100%;
}

.secondary-navigation .shop-menu {
	margin-left: auto;
}

.secondary-navigation .fas {
	margin-right: 8px;
}

.secondary-navigation .main-nav ul ul li a {
	line-height: normal;
	font-size: 12px;
	padding: 20px !important;
}

.sub-menu img {
	padding-bottom: 20px;
}

.mute-menu a:hover {
	background-color: #45a8d2 !important;
}

.mute-menu img {
	width: 60px;	
}

.turbine-menu a:hover {
	background-color: #ffc72b !important;
}

.turbine-menu img {
	width: 80px;	
}

.pronto-sleep-menu a:hover {
	background-color: #66579e !important;
}

.pronto-sleep-menu img {
	width: 60px;	
}

.pronto-clear-menu a:hover {
	background-color: #01b0e4 !important;
}

.pronto-clear-menu img {
	width: 60px;	
}

.swab-menu a:hover {
	background-color: #0291d4 !important;
}

.swab-menu img {
	width: 120px;	
}

.swab-junior-menu a:hover {
	background-color: #5acca8 !important;
}

.swab-junior-menu img {
	width: 130px;	
}


.shop-menu img {
	width: 120px;
}

.svg-inline--fa {
	height: 12px;
	padding-right: 8px;
}


@media screen and (max-width:768px) {
	
	.secondary-navigation .menu-text {
    	display: none !important;
	}
	
	.mute-menu a {
		background-color: #45a8d2 !important;
	}

	.turbine-menu a {
		background-color: #ffc72b !important;
	}

	.pronto-sleep-menu a {
		background-color: #66579e !important;
	}

	.pronto-clear-menu a {
		background-color: #01b0e4 !important;
	}

	.swab-menu a {
		background-color: #0291d4 !important;
	}

}

/**************************** GENERAL ***************************/

.site-header .header-image {
	margin-top: -1px;
}

.slideout-navigation .sub-menu {
	padding-left: 20px;
	box-shadow: none !important;
	padding-bottom: 20px;
}

.site-content {
    position: relative;
    z-index: 1;
}

.page .inside-article .entry-header {
	margin-top: 100px;
}

.wp-block-cover {
	margin-bottom: 0 !important;
}

h1.border, h2.border {
	border-top: 1px solid #0285bf;
	border-bottom: 1px solid #0285bf;
	padding: 20px 0 18px;
	margin-bottom: 30px;
}

h3.border, h4.border {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 10px 0 8px;
	margin-bottom: 30px;
}

h1.border-white, h2.border-white {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 20px 0 18px;
	margin-bottom: 30px;
}

h3.border-white, h4.border-white {
	border-top: 1px solid #0285bf;
	border-bottom: 1px solid #0285bf;
	padding: 10px 0 8px;
	margin-bottom: 30px;
}

.wp-block-group.border {
	border-top: 1px solid #0285bf;
	border-bottom: 1px solid #0285bf;
	padding: 20px 0 0 0;
	margin-bottom: 30px;
}

.no-bottom-margin {
	margin-bottom: 0 !important;
}

.home-tile, .tile {
	box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
	transition: all 0.2s;
}

.home-tile:hover, .tile:hover {
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
	margin-top: -5px;
	margin-bottom: 5px;
}

.home-tile h3 {
	text-shadow: 0px 0px 20px rgba(0,0,0,0.4);
	color: #fff !important;
}

.home-tile p {
	text-shadow: 0px 0px 20px rgba(0,0,0,0.8);
}


.home .new-tag {
	color: #37dc52;
	border: 2px solid #37dc52;
	background-color: #fff;
	font-size: 0.8em;
	padding: 2px 5px;
	border-radius: 3px;
	margin-left: 10px;
}

ul.page-navigation  {
	margin: 0;
}

.page-navigation li {
	display: inline-block;
	margin-left: 15px;
	font-size: 16px;
	font-family: 'Brandon Grotesque', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	text-transform: uppercase;
}

.wp-admin .page-navigation li {
	display: block;
	margin-left: 0px;
}

.wp-block-cover {
	padding: 0;
}

.wp-block-cover, .wp-block-cover-image {
	min-height: 200px;
}

.pum-close {
	background-color: #000 !important;
}

.pum-container {
	background-color: #fff !important;
}

@media screen and (max-width:768px) {

	.page-navigation li {
		margin-left: 0;
		margin-right: 20px;
	}

}

.page-navigation-block {
	z-index: 9;
	position: sticky;
    position: -webkit-sticky;
    top: 60px; /* Offset from top of container */
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
}

@media screen and (max-width: 768px) {

/*
[1]: All items a forced onto a single line, causing the overflow when necessary.
[2]: Automatic overflow means a scroll bar won’t be present if it isn’t needed
[3]: Make it smooth scrolling on iOS devices before 
[4]: Hide the ugly scrollbars in Edge until the scrollable area is hovered
[5]: Hide the scroll bar in WebKit browsers
*/
	.page-navigation-block {
	  white-space: nowrap; /* [1] */
	  overflow-x: auto; /* [2] */
	  -webkit-overflow-scrolling: touch; /* [3] */
	  -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */
	  }

	/* [5] */
	.page-navigation-block::-webkit-scrollbar {
	  display: none;
	}
	
	
}

@supports (-webkit-backdrop-filter: none) {

.page-navigation-block {
		background: rgba(0,0,0,0.8);
		-webkit-backdrop-filter: saturate(100%) blur(10px) !important;
	}

}



ul.wp-block-latest-posts {
	margin-left: 0;
}

@media screen and (min-width: 600px) {

	.admin-bar .page-navigation-block {
		top: 90px; /* Offset from top of container */
	}

}

.gb-container.clickable-container .gb-inside-container {
    position: relative;
}

.gb-container.clickable-container a:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
}

tr:nth-child(even) {
	background: #f9f9f9;
}

ul.chevron {
	list-style: none;
	margin: 0 0 20px 25px;
}

ul.chevron li:before {    
    content: '\276F';
    margin: 0 15px 0 -25px;
    color: #0285bf;
    font-size: 0.8em;
}

ul.chevron li {    
    padding-bottom: 10px;
}

ul.downloads {
	list-style: none;
	margin: 0;
}

ul.downloads li:before {    
    content: '\276F';
    margin: 0 10px 0 10px;
    color: #0285bf;
    font-size: 0.8em;
}

ul.downloads li {    
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #eee;
}

ul.downloads li:first-of-type {    
    border-top: 1px solid #eee;
}

.gb-container-link {
	z-index: 8 !important;
}

.swab-block {
	overflow: hidden; /* to allow border radius to apply to images */
}

.round {
	border-radius: 200px;
}

h4.round {
	padding: 1.2em;
}  

.inside-page-header, .wp-block-group__inner-container {
	padding: 0;
}

@media screen and (max-width:768px) {

	.home-grid .gb-grid-column:first-of-type {
		display: none;
	}
	
	.home-tile img {
		width: 100% !important;
	}
}

.wp-block-latest-posts a {
	font-family: 'Brandon Grotesque', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	text-transform: uppercase;
	font-size: 24px;
	line-height: 1.2em;
}

.wp-block-latest-posts a.read-more {
	display: none;
}

.wp-block-latest-posts__post-date {
	padding-top: 10px;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
	padding-right: 0 !important;
}

/**************************** FAQ STYLING ***************************/

/* colors & borders */
.wp-block-yoast-faq-block {
    border-top:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question {
    border-bottom:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question:hover,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-question {
    background-color:#f9f9f9;
}
.wp-block-yoast-faq-block .schema-faq-answer,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    border-bottom:1px solid #eee;
}

/* layout */
.wp-block-yoast-faq-block .schema-faq-question {
    display:block;
    padding:10px;
    position:relative;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question {
    cursor:pointer;
}
.wp-block-yoast-faq-block .schema-faq-answer {
    margin:0;
    padding:12px 10px;
}

/* bullet before a question */
.wp-block-yoast-faq-block .schema-faq-question:before {
    /* position gap */
    margin-top:-2px;
}
.wp-block-yoast-faq-block .schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-answer {
    padding-left:34px;
}
.wp-block-yoast-faq-block .schema-faq-question:before {
    content:'';
    display:block;
    border:2px solid #ffc72c;
    border-width:0px 2px 2px 0px;
    width:9px;
    height:9px;
    box-sizing:border-box;
    position:absolute;
    left:14px;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question:before {
    top:20px;
    transform:rotate(-45deg);
    transition:all 0.3s 0.3s ease;
}
.wp-block-yoast-faq-block .schema-faq-question:before,
.wp-block-yoast-faq-block.fcp-faq .fcp-opened .schema-faq-question:before {
    top:18px;
    transform:rotate(45deg);
}

/* transition */
.wp-block-yoast-faq-block.fcp-faq .schema-faq-answer {
    max-height:0;
    overflow:hidden;
    border-bottom-width:0;
    padding-top:0;
    padding-bottom:0;
    transition: all 0.5s ease;
}
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    max-height:9999px;
    border-bottom-width:1px;
    padding-top:12px;
    padding-bottom:20px;
    transition: all 0.5s ease;
}

/**************************** SWAB FORM STYLING ***************************/

#request .gform_wrapper {
	margin-top: 0;
	margin-bottom: 0;
}

#request .gform_wrapper ul li.gfield {
	margin-top: 0;
}

#request .gform_wrapper .top_label div.ginput_container {
	margin-top: 0;
}

#request input, textarea {
	border-color: #fff;
	margin-top: 16px;
	padding: 8px;
}

#request .gform_button {
	background-color: #32C4C0 !important;
}

#request .gform_button:hover {
	color: #32C4C0 !important;
	background-color: #fff !important;
}

#request .gform_wrapper .gform_footer {
	padding: 0;
	margin: 0;
}

#request .gform_confirmation_wrapper {
	color: #fff !important;
}

#request .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], #request .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
	margin-bottom: 0;
}

#request .address_country, #request .gfield_select {
	margin-top: 16px;
}

/**************************** FOOTER ***************************/

.post footer {
	background-color: #fff;
}

.site-info {
	border-top: 1px solid #444;
}

.footer-widgets .footer-widget-1 {
    flex-basis: 50%;
}

.footer-widgets .footer-widget-2 {
    flex-basis: 25%;
}

.footer-widgets .footer-widget-3 {
    flex-basis: 25%;
}

.footer-logo {
	width: 150px !important;
}


/**************************** TURBINE SPECIFIC ***************************/

.menu-button a {
	color: #ffc72c !important;
	border: 1px solid #ffc72c;
	border-radius: 3px;
	line-height: 40px !important;
	transition: .2s background-color ease-in-out, .2s color ease-in-out, .2s border-color ease-in-out, .2s opacity ease-in-out, .2s box-shadow ease-in-out !important;
	margin-left: 20px;
}

@media screen and (max-width: 768px) {

	.menu-button a {
		margin-left: 0px !important;
		margin-top: 10px !important;
	}

}

.menu-button a:hover {
	color: #000 !important;
	border: 1px solid #ffc72c;
	background-color: #ffc72c;
}

h2.underline:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #ff7600;
	display: block;
	margin-top: 10px;
}	

.testimonial-image {
	margin-top: 80px;
}

.testimonial-image img {
 -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

/**************************** TESTIMONIALS ***************************/

.testimonial-index {
	display: none !important;
}

.testimonial.border {
	border: 0px solid #111 !important;
	padding: 20px 20px;
	border-radius: 5px;
	box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

.testimonial {
	background-color: #111;
	color: #fff;
	width: 90% !important;
	margin: 5% !important;
}

.slick-slide:nth-child(2n) .testimonial {
	background-color: #111;
	color: #fff;
}

.testimonial-author {
	text-transform: uppercase;
	font-family: "Brandon Grotesque";
	font-size: 18px !important;
	color: #ffc72c;
}

.testimonial-position {
	font-size: 12px !important;
	font-weight: normal !important;
}

.testimonial-image {
	border: 2px solid #fff;
}

.pricing {
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

/**************************** BUY LIGHTBOX ***************************/

.gb-button {
	cursor: pointer !important;
}

.adp-popup-type-content .adp-popup-content {
	padding: 20px;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
	padding-right: 0 !important;
}

/**************************** BLOG ***************************/

.page-navigation-block {
	text-transform: uppercase;
	font-family: "Brandon Grotesque"; 
}

.single-post #page {
	max-width: 800px;
}


/**************************** SINGLE POSTS ***************************/

.schema-faq-question {
	text-transform: uppercase;
	font-family: "Brandon Grotesque";
	font-size: 1.2em;
}

/**************************** FOOTER ***************************/

.wp-image-50237 {
	max-width: 200px !important;	
}


/**************************** POPUPS ***************************/

.pum-container .gb-button, .pum-container p {
	font-weight: 400 !important;
}


/**************************** FOOTER FORM ***************************/

.footer-widgets .mc4wp-success {
	color: #fff;
	margin-top: 20px;
}

.footer-widgets .mc4wp-form-fields p {
	margin-bottom: 0.5em;
}

.footer-widgets .mc4wp-form-fields input[type="text"], .footer-widgets .mc4wp-form-fields input[type="email"] {
	background-color: #333;
	color: #fff;
	border-radius: 3px;
	border-color: #333;	
}

.footer-widgets .mc4wp-form-fields input[type="submit"] {
	width: 100%;
	border: 1px solid #ffc72c;
	color: #ffc72c;
	background-color: #000;
	border-radius: 3px;
	transition: .2s background-color ease-in-out, .2s color ease-in-out, .2s border-color ease-in-out, .2s opacity ease-in-out, .2s box-shadow ease-in-out !important;
}

.footer-widgets .mc4wp-form-fields input[type="submit"]:hover {
	border: 1px solid #ffc72c;
	color: #000;
	background-color: #ffc72c;
}