/*
 Theme Name:   GenPra Child
 Theme URI:    https://www.genpra.com
 Description:  Default GenPra child theme
 Author:       GenPra
 Author URI:   https://www.genpra.com
 Template:     generatepress
 Version:      0.1
*/

/* Focus Styles  */
.elementor-button:focus,
.wp-block-coblocks-accordion-item__title:focus,
a:focus {
outline: #FFEB3B solid 6px;
}
input:focus, 
input[type=submit]:focus, 
button[type=submit]:focus,
textarea:focus {
outline: #FFEB3B solid 6px !important;
}
.elementor-widget-call-to-action .elementor-widget-container {
	overflow:visible;
}	
input.elementor-search-form__input:focus {
	outline:none !important;
}
.elementor-post__card:focus-within {
outline: #FFEB3B solid 6px;
}
.elementor-post__card a:focus {
outline: none;
}
/* Obsolete browser warning   */
body .buorg {
	z-index: 20;
	border-bottom: 1px solid #DA291C;
	color: #ffffff;
	background-color: #DA291C;
	font: 18px Helvetica, sans-serif;
}
/* Top bar translate dropdown  */
.elementor-top-section .elementor-shortcode {
	line-height: 0;
}
#gtranslate_selector {
	font-size:13px;
	padding:2px;
}
/* Stretch post list tap target to full width */
.elementor-post__title a {
	display:block;
}
/* Styling for Coblocks Accordion  */
.wp-block-coblocks-accordion-item {
    margin: 0 0 0.75em;
}
.wp-block-coblocks-accordion-item__title:not(.has-background), 
.wp-block-coblocks-accordion-item__title.has-background:not(.has-background) {
    background: var(--e-global-color-primary);
	color: #ffffff;
	font-weight: 700;
}
.wp-block-coblocks-accordion-item__content p:last-of-type {
    margin-bottom: 1.5em;
}
/* Adjustments for Gutenberg Blocks */
.wp-block-button, 
.wp-block-buttons {
	margin-bottom: 1.5em;
}
table {
	background-color:#ffffff;
}
/* Underline links on page content */
.site-content p a:link, .site-content li a:link {
     text-decoration: underline;
}
/* Adjustments for Lists */
.site-content ul, ol {
	margin: 0 0 1.5em 1em;
}
/* Add Button style and remove file icon in File Block  */
.wp-block-file a:nth-child(1) {
	width:70%;
	text-decoration:underline;
}
@media (max-width: 768px) {
	.wp-block-file a:nth-child(1) {
		width:50%;
	}
}
.wp-block-file a:nth-child(2) {
	background-image:none;
	background: var(--e-global-color-primary);
    border-radius: 2em;
    color: #fff;
    font-size: 16px;
	text-transform: uppercase;
    padding: .5em 1em !important;
	margin-left: 1em;
	float:right;
}
.wp-block-file a:nth-child(2):hover {
		background: var(--e-global-color-accent);
}
@media (max-width: 768px) {
    .wp-block-file a:nth-child(1) 	{
			width:100%;
	}
	.wp-block-file a:nth-child(2) {
		display:none;
	}
}
/* Extra margin on right aligned images */
.wp-block-image .alignright img {
	margin-left:20px;
}
#content hr {
    background-color: rgba(0,0,0,.1);
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
}
/* Mobile font adjust */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
		h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }  
	h3 {
        font-size: 20px;
    }
	h4, h5, h6 {
		font-size: 16px;
	}
}
/* Hide for IE10 and IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.ie-none { 
		display:none !important;
	}
}
/* Shift avatar left for IE10 and IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.help-avatar .dialog-widget-content {
		margin-left:-165px !important;
	}
	.translate-popup .dialog-widget-content {
		margin-left:-50% !important;
	}
}
@media print {
			.side-header, 
			.main-navigation, 
			.secondary-navigation, 
			.widget-area, 
			.footer-widgets,
			.site-footer,
			#glt-translate-trigger,
			.breadcrumbs,
			.no-print,
			.elementor-location-footer {
         display: none;
     }
			body {
            font-family: Tahoma, Verdana, Arial, sans-serif;
      }
}

/* NHS Colours for Gutenberg Blocks */
.has-nhs-dark-blue-background-color {
	background-color: #003087 ;
}
.has-nhs-dark-blue-color {
	color: #003087 ;
}

.has-nhs-blue-background-color {
	background-color: #005eb8 ;
}
.has-nhs-blue-color {
	color: #005eb8 ;
}

.has-nhs-bright-blue-background-color {
	background-color: #0072ce ;
}
.has-nhs-bright-blue-color {
	color: #0072ce ;
}

.has-nhs-light-blue-background-color {
	background-color: #41b6e6 ;
}
.has-nhs-light-blue-color {
	color: #41b6e6 ;
}

.has-nhs-aqua-blue-background-color {
	background-color: #00a9ce ;
}
.has-nhs-aqua-blue-color {
	color: #00a9ce ;
}

.has-nhs-black-background-color {
	background-color: #231f20 ;
}
.has-nhs-black-color {
	color: #231f20 ;
}

.has-nhs-dark-grey-background-color {
	background-color: #425563 ;
}
.has-nhs-dark-grey-color {
	color: #425563 ;
}

.has-nhs-med-grey-background-color {
	background-color: #768692 ;
}
.has-nhs-med-grey-color {
	color: #768692 ;
}

.has-nhs-pale-grey-background-color {
	background-color: #e8edee ;
}
.has-nhs-pale-grey-color {
	color: #e8edee ;
}

.has-nhs-white-background-color {
	background-color: #ffffff ;
}
.has-nhs-white-color {
	color: #ffffff ;
}

.has-nhs-dark-green-background-color {
	background-color: #006747 ;
}
.has-nhs-dark-green-color {
	color: #006747 ;
}

.has-nhs-green-background-color {
	background-color: #009639 ;
}
.has-nhs-green-color {
	color: #009639 ;
}

.has-nhs-light-green-background-color {
	background-color: #78be20 ;
}
.has-nhs-light-green-color {
	color: #78be20 ;
}

.has-nhs-aqua-green-background-color {
	background-color: #00A499 ;
}
.has-nhs-aqua-green-color {
	color: #00A499 ;
}

.has-nhs-purple-background-color {
	background-color: #009639 ;
}
.has-nhs-purple-color {
	color: #009639 ;
}

.has-nhs-dark-pink-background-color {
	background-color: #7c2855 ;
}
.has-nhs-dark-pink-color {
	color: #7c2855 ;
}

.has-nhs-pink-background-color {
	background-color: #ae2573 ;
}
.has-nhs-pink-color {
	color: #ae2573 ;
}

.has-nhs-dark-red-background-color {
	background-color: #8a1538 ;
}
.has-nhs-dark-red-color {
	color: #8a1538 ;
}

.has-nhs-red-background-color {
	background-color: #da291c ;
}
.has-nhs-red-color {
	color: #da291c ;
}

.has-nhs-orange-background-color {
	background-color: #ed8b00 ;
}
.has-nhs-orange-color {
	color: #ed8b00 ;
}
.has-nhs-warm-yellow-background-color {
	background-color: #ffb81c ;
}
.has-nhs-warm-yellow-color {
	color: #ffb81c ;
}

.has-nhs-yellow-background-color {
	background-color: #fae100;
}
.has-nhs-yellow-color {
	color: #fae100;
}
