/* Theme background colors
#371531 (skin)
#5c2453 (menus)
#5c2453 (links)
*/

/* Centre page titles */
.entry-title {
text-align: center !important;
}

/* Incident 20200901 fix for image attachments on front page and pages using Ajax Load More plugin */
.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
	display : none;
}


/* Increase line height of headings in sidebar widgets */
aside > h1, aside > h2, aside > h3, aside > h4, aside > h5, aside > h6 {
	line-height: 2.00;
}

/* Increase line height of headings in articles (posts) */
.entry-content.th-content > h1, .entry-content.th-content > h2, .entry-content.th-content > h3, .entry-content.th-content > h4, .entry-content.th-content > h5, .entry-content.th-content > h6 {
	line-height: 1.50;
}

/* Img fixes after incident */
img {
	display: block;
}

a.more-link > img {
	display: inline-block;
}

.skip-lazy.front-testimonial-img.th-rounded-full.wp-post-image {
	display: inline-block;
}

div.textwidget img {
	display: inline-block;	
}

/*CH colours*/

.CH-purple {
	color: #5C2453;
}

.CH-orange {
	color: #F46F2C;
}


/*Increase width of textual content on front page*/
.fullscreen-header .entry-title {    
    max-width: 1040px;
}

/*Reduce font size of testimonials*/
@media (min-width: 500px) {
	.front-testimonial-content {
			font-size: 1.0rem !important;
	}
}

/* Customise Read more link on front page */
.more-link.has-arrow.th-uppercase.th-text-xs.th-tracking-widest.th-inline-block {
	text-transform: uppercase !important;
	padding: 0px 0px 0px 0px;
  font-size: 20px;
	letter-spacing: 0.25em;
}

/* change size of header menu links*/
@media (min-width: 601px) {
	.header-links {
			font-size: larger;
	}
}

/* Mobile logo - avoid strecthcing on iPhones and centering mobile logo */
@media (max-width: 768px) {
	#masthead {
		justify-content: center !important;
	}
  .site-branding {
		 content: url('https://chyp.com/wp-content/uploads/2020/07/CHYP-Alternative-Logo-2C-WithoutTag-e1593722299205.png') !important;
  	width: auto !important;   
		height: 100% !important;
	}		
	
}

/* For Partner logos display */
.partners-flex-container {
	display: flex; 
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;		
}

.partners-flex-container > div {
	display: block;
	flex-basis: 24%;
  flex-grow: 1;
	margin: 25px;	
}

/* Change logo for scroll down bar */
#masthead.scroll-header .site-logo-link img {
  opacity: 0;
}

.header-loaded.scroll-header .site-branding::after {
	content: url('https://chyp.com/wp-content/uploads/2020/07/CHYP-Alternative-Logo-2C-WithoutTag-e1593722299205.png');
	position: absolute;
	top: 10px;
	left: 30px;
  z-index: 0;
}

/* Change logo for scroll down bar in default view (page not found) */

#masthead.default-view-header .site-logo-link img {
  opacity: 0;
}

.header-loaded.default-view-header .site-branding::after {
	content: url('https://chyp.com/wp-content/uploads/2020/07/CHYP-Alternative-Logo-2C-WithoutTag-e1593722299205.png');
	position: absolute;
	top: 10px;
	left: 30px;
  z-index: 0;
}

/* Customise Cookie banner */
#eu-cookie-law {
    background-color: #5c2453;
		opacity: 0.5;
    border: 1px solid #dedede;
    color: #fff;
		font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    padding: 6px 6px 6px 200px;
    position: relative;
    text-align: center;
}

/*Table for event lists in Events */
td.fitwidth {
    width: 40px;
    white-space: nowrap;
}

/* Customise Copyright footer
.th-uppercase {
    display: table;
		text-transform: capitalize;
		max-width: 600px;
		overflow: hidden;
		margin: auto;
		border: 0px solid;
		text-align: center;
		padding: 0px 0px 0px 0px;		
		font-size: 15px;
}*/
.th-uppercase {
		text-transform: capitalize;
}

/* CH palette for Newsletter subscription form */
.row.space.newsletter_form2_c_get .newsletter_form2_section-sub_heading {
	/*CH purple*/
    color: #5C2453 !important;
   }

.newsletter-api-form-theme2 .newsletter_form2_section-icon .newsletter_form2_icon {
	/*CH orange*/
    color: #F46F2C !important;
}

/* Customise Download After Email widget */
.dae-shortcode-download-wrapper .dae-shortcode-download-title {
    padding-top: 0px !important;    
}

/* Customise Testimonial logo display */

.th-rounded-full {
    border-radius: 0px;
}

/* Customise ultimate recent posts widget */

.recent-posts {
	display: inline !important;	
}

.upw-content {
	display: inline-block !important;
	margin-top: -25px !important;
}

p.post-title {
	display: inherit !important;
	margin-bottom: 10px !important;
}

/* Smallest devices (phones, 300px and down) */
@media only screen and (max-width: 300px) {
	
	/* Change feature content title */
	.fullscreen-header .entry-title 	{
    font-size: 2.11rem !important;
	}
	
	/* Align Blog post byline */
	.comments-link {
		padding-left: 10px !important;
	}
	
	/* Customise EU cookie law */
	#eu-cookie-law {
		font-size: 12px;       
    padding: 5px 6px 60px 6px;
		text-align: center;
	}

	/* Customise blockquote to appear well on all screen widths*/
	blockquote {
		margin: 0 0 35px 8px;
    padding: 8.75px 10px;
	}
}

/* Smaller devices (phones, 301px and up) */
@media only screen and (min-width: 301px) {
	/* Change feature content title */
	.fullscreen-header .entry-title 	{
    font-size: 2.11rem !important;
	}
	
		
	/* Customise EU cookie law */
	#eu-cookie-law {
		font-size: 12px;       
    padding: 5px 6px 60px 6px;
		text-align: center;
	}

	/* Align Blog post byline */
	.comments-link {
		padding-left: 10px !important;
	}
	
	/* Position the Cyberessentials award */
	.award-cyberessentials {
		display: flex;
		justify-content: center;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}

	/* Customise blockquote to appear well on all screen widths*/
		blockquote {
		margin: 0 0 35px 8px;
    padding: 8.75px 10px;
	}
	
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) {	

	/* Change feature content title */
	.fullscreen-header .entry-title 	{
    font-size: 2.11rem !important;
	}
	
		
	/* Position the Cyberessentials award */
	.award-cyberessentials {
		display: flex;
		justify-content: center;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}

	/* Customise EU cookie law */
	#eu-cookie-law {
		font-size: 12px;       
    padding: 5px 6px 6px 6px;
		text-align: center;
	}

	/* Customise blockquote to appear well on all screen widths*/
	blockquote {
		margin-left: 35px;
    margin-right: 35px;
    padding: 17.5px 35px;
	}
	
	
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 769px) {
	/* Change feature content title */
	.fullscreen-header .entry-title 	{
    font-size: 2.11rem !important;
	}
	
		
	/* Position the Cyberessentials award */
	.award-cyberessentials {
		display: flex;
		justify-content: center;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	/* Customise Cookie banner */
	#eu-cookie-law {
			font-size: 14px;
			padding: 6px 6px 6px 200px;
			text-align: center;
	}
	
	/* Customise blockquote to appear well on all screen widths*/
	blockquote {
		margin-left: 35px;
    margin-right: 35px;
    padding: 17.5px 35px;
	}	
	
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	/* Change feature content title */
	.fullscreen-header .entry-title 	{
    font-size: 4.11rem !important;
	}
	
	/* Position the Cyberessentials award */
	.award-cyberessentials {
		display: flex;
		justify-content: left;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}	
	
	
	/* Customise Cookie banner */
	#eu-cookie-law {
			font-size: 14px;
			padding: 6px 6px 6px 200px;
			text-align: center;
	}

	/* Customise blockquote to appear well on all screen widths*/
	blockquote {
		margin-left: 35px;
    margin-right: 35px;
    padding: 17.5px 35px;
	}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

	/* Position the Cyberessentials award */
		.award-cyberessentials {
			display: flex;
			justify-content: left;
			margin-top: 0px;
			margin-left: 0px;
			margin-right: 0px;		
		}
	
	/* Customise Cookie banner */
	#eu-cookie-law {
			font-size: 14px;
			padding: 6px 6px 6px 200px;
			text-align: center;
	}
	
	/* Customise blockquote to appear well on all screen widths*/
	blockquote {
		margin-left: 35px;
    margin-right: 35px;
    padding: 17.5px 35px;
	}	
}

/*Customise Newsletter icon on Contact Us page*/
.page-id-12910 .fa-envelope:before {
    content: url('https://chyp.com/wp-content/uploads/2020/02/Mail-Closed-Purple-e1595511788723.png') !important;
}

/*Customise Webinar titles*/
.webinar-title-prefix {
	color: #F46F2C;
}

/* Customise CH appearance */
.ch-li {
	text-align: justify; 
	padding-left: 1em; 
	padding-bottom: 1em;	
}

.ch-strong-purple {
	color: #5c2453;
	font-weight: bold;
	font-style: italic;
}

/* Customise UPW posts widget */

.upw-posts .entry-title {
	font-size: 1.625em !important;
}

/* Customise older posts button, for instance, on search results page*/
#infinite-handle span {
    background: #f6f7f7;
}

/* Image alignment in sidebar widget */

#media_image-7 {
	/* Certification Services widget */
	display: flex;
	justify-content: center;
}

.widget-img-centre-align {
	/* not used */
}

/* Ninja form customisations */
#nf-field-10 {
	background: #5c2453;
}

/* Job openings plugin */
div.awsm-job-form-group > input[type="submit"] {
	border-color: #5c2453;
	color: #f6f7f7;
	background-color: #5c2453;
}

div.awsm-job-form-group > input[type="submit"]:hover {
	border-color: #5c2453;
	background-color: #f6f7f7;
	color: #5c2453;
}

h2.awsm-job-post-title {
	height: 3.5em;
}


