/*
Theme Name: Bluelight
Description: Theme by Bluelight Design
Version: 9.0
Author: Bluelight Design
Author URI: https://www.bluelightdesign.co.uk
*/


/* CSS RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}



/* BODY */
body {
	margin: 0px;
	line-height: 1;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	background-color: #FFFFFF;
}
img {
	height: auto;
	vertical-align: middle;
	max-width: 100%;
}
p, ul, ol, tbody, thead, tfoot, figcaption {
	color: #777777;
	font-size: 1.0em;
	line-height: 1.7em;
	margin: 0px 0px 30px 0px;
}
ul, ol {
	margin-left: 45px;
}
h1,h2,h3,h4,h5,h6, .has-large-font-size {
	color: #2c3e50;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	margin: 0px 0px 30px 0px;
    line-height: 1.5em;
    letter-spacing: -0.7px;
}
h1 {
	font-size: 2.0em;
}
/* This is for Cover headings to match H1 size and colour */
.has-large-font-size {
	font-size: 2.0em!important;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.3em;
}
h4,h5,h6 {
	font-size: 1.0em;
	letter-spacing: 0px!important;
}
a:link, a:visited, a:active {
	color: #56c9ff;
	text-decoration: none;
}
a:hover {
	color: #5fccff;
	text-decoration: none;
	transition: .3s ease;
}
strong {
	font-weight: bold;
}
em {
 	font-style: italic;
}



/* GUTENBURG 2020 */

.wp-block-button, .wp-block-quote, .wp-block-file, .wp-block-embed, .wp-block-audio, .wp-block-verse, .wp-block-preformatted, .wp-block-pullquote, .wp-block-separator, .wp-block-table, #content_container .wp-block-cover {
	margin: 0px 0px 30px 0px!important;
}

body .wp-block-image {
	margin: 0px 0px 30px 0px;
}

body .wp-block-gallery .wp-block-image{
	margin: 0px 16px 16px 0px;
}

.wp-block-column, .wp-block-columns {
	margin-bottom: 0em!important;
}
.wp-block-table {
	width: 100%!important;
	overflow-x:auto!important;
	word-break: normal!important;
}
.wp-block-button__link, .wp-block-file__button {
    border-radius: 30px!important;
    font-size: 1em!important;
    padding: 15px 25px 15px 25px!important;
    font-weight: bold!important;
	display: inline-block!important;
}
.wp-block-file__button, .wp-block-button__link {
    background-color: #49B1E2!important;
}
.wp-block-button__link:link, .wp-block-button__link:active, .wp-block-button__link:visited, .wp-block-file__button:link, .wp-block-file__button:active, .wp-block-file__button:visited{
	color: #FFFFFF!important;
}
.wp-block-button__link:hover, .wp-block-file__button:hover{
	background-color: #5fccff!important;
}

/* GUTENBURG 2021 */

.wp-block-group__inner-container, .wp-block-cover__inner-container {
    width: 1200px!important;
	margin: auto!important;
	z-index: 1!important;
	overflow: hidden;
}
.wp-block-group, .wp-block-cover {
	width: auto!important;
	padding: 60px 30px 60px 30px!important;
}
.wp-block-group {
    position: relative!important;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    box-sizing: border-box!important;
}
.wp-block-media-text .wp-block-media-text__content {
	padding: 30px 60px 0px 60px!important;
}



/* HEADER */

#header_container {
	width: 100%;
	position: absolute;
	z-index: 999;
	background-color: transparent;
}
/* Transparent Header .page-id-911 */
.home #header_container {
	position: absolute;
	z-index: 999;
	background-color: transparent;
}
header {
	position: relative;
	margin: 0 auto;
	padding: 0px 30px 0px 30px;
	min-height: 80px;
}
#logo {
	position: absolute;
	top: 19px;
	left: 30px;
	max-width: 265px;
}




/* MAIN NAVIGATION */

nav { 
	position: absolute;
	top: 23px;
	right: 30px;
}
nav ul { 
	margin: 0px;
	line-height: normal;
}
nav li {  
	display: inline-block;
    padding: 5px 0px 5px 0px;
} 
nav a {  
    padding: 0px 15px 0px 15px;
    font-size: 1.0em;
	line-height: 1.1em;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}
nav li:last-child a { 
	padding-right: 0px!important;
}
nav a:link, nav a:active, nav a:visited {
	color: #FFFFFF;
}
nav a:hover  {
	color: #49B1E2;
}
nav li.current-menu-item a, nav li.current_page_item a{
	color: #49B1E2;
}
nav ul li:hover > ul {
    display: block;
}



/* SUB NAVIGATION */

nav .menu-item {
	position: relative;
}
nav ul ul {
    background-color: #212121;
   	opacity: 0.9;
    display: none;
    position: absolute;
    transform: translate(-50%);
    left: 50%;
    z-index: 999;
}
nav ul ul a:link, ul ul  a:active, ul ul a:visited {
	color: #FFFFFF;
}
nav ul ul :hover > a {
	color: #5fccff;
}
nav ul ul li.current-menu-item a, nav ul ul li.current_page_item a{
	color: #5fccff;
}
nav ul ul a {
    padding: 5px 10px 5px 10px;
    height: auto;
	font-size: 1.0em;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	line-height: 1.4em;
	text-transform: none;
}
nav .sub-menu {
	width: 200px !important;
	padding: 10px;
	margin-top: 5px;
}
nav .sub-menu li {
	width:100% !important;
}



/* CONTENT */
#wrapper_page {
	width: 100%;
	background-color: #fffff;
}
#wrapper_blog {
	width: 100%;
	background-color: #f5f5f5;
}
#content_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 30px 60px 30px;
	overflow: hidden;
}
#content {
	width: 75%;
	float: left;
    box-sizing: border-box;
}



/* SIDE BAR, BLOG & WIDGETS */

#sidebar {
	width: 25%;
	float: right;
	padding-left: 30px;
	box-sizing: border-box;
}
.latest-posts ul, .footer-link ul, .widget_recent_entries ul, .widget_archive ul {
	list-style-type: none;
	margin: 0px;
}
.latest-posts li, .footer-link li, .widget_recent_entries li, .widget_archive li {
	margin-bottom: 15px;
}
.latest-posts li:last-child, .footer-link li:last-child, .widget_recent_entries li:last-child, .widget_archive li:last-child {
	margin-bottom: 0px;
}
.latest-posts li a:link, .footer-link li a:link, .widget_recent_entries li a:link, .widget_archive li a:link,
.latest-posts li a:visited, .footer-link li a:visited, .widget_recent_entries li a:visited, .widget_archive li a:visited,
.latest-posts li a:active, .footer-link li a:active, .widget_recent_entries li a:active, .widget_archive li a:active {
	color: #49B1E2;
}
.latest-posts li a:hover, .footer-link li a:hover, .widget_recent_entries li a:hover, .widget_archive li a:hover {
	color: #5fccff;
}
.widget, .post-box {
    background-color: #FFFFFF;
	box-shadow: 0px 0px 10px #dddddd;
    border-radius: 3px;
	margin-bottom: 30px;
}
.post-box, .widget_recent_entries, .widget_archive {
	padding: 30px;
}
.post_thumb {
	background-position: center;
	background-size:cover;
	padding-top: 100%;
}
.home_thumb {
	margin-bottom: 15px!important;
}
.post_date, .post_date_home {
	margin: -20px 0px 30px 0px;
	color: #999999;
	display: block;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.post-box .wp-block-button {
	margin: 0px!important;
}
.widget_search {
	padding: 10px 25px 10px 25px;
}
.widget_search form input[type=submit], #searchform .submit {
    background: url(images/search-icon.png) no-repeat center right;
    height: 25px;
    border: none;
    background-size: 25px;
    width: 25px;
	color: transparent;
	margin-top: 15px;
}
.widget_search form input[type=submit] {
    float: right;
}
.widget_search .field, .wp-block-search__input {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    border: none;
    color: #777777;
    font-size: 1.1em;
    padding: 10px;
    width: 70%;
    margin: 0;
}




/* FOOTER */

#footer_container {
	width: 100%;
	background-color: #00235B;
}
footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 30px 30px 30px;
	overflow: hidden;
}
footer p {
	color: #FFFFFF;
	text-align: center;
	font-size: 0.9em;
}
footer a:link, footer a:active, footer a:visited {
	color: #FFFFFF;
}
footer a:hover  {
	color: #49B1E2;
}




/* MISC */

#featured_image {
	margin: 0px 0px 30px 0px;
    display: flex;
    justify-content: center;
   	align-items: center;
   	max-height: 600px;
   	overflow: hidden;
}
#featured_image img {
	width: 100%;
}
hr {
	border: 0;
	color: #CCCCCC;
	background-color: #CCCCCC;
	height: 1px;
	margin: 0px 0px 30px 0px;
}
div.wpcf7 input[type="text"], div.wpcf7 input[type="email"], div.wpcf7 input[type="tel"], textarea, #searchform .field {
    	border: 1px solid #cccccc;
    	border-radius: 5px;
    	margin: 10px 0;
    	padding: 7px;
}
.wpcf7-form input, .wpcf7-form textarea, #searchform .field {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	color: #777777;
	font-size: 1.0em;
}
.wpcf7-form-control {
	width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
   	box-sizing: border-box;
}
.wpcf7-submit, .wp-block-search__button {
	background-color: #49B1E2!important;
    border-radius: 30px!important;
    font-size: 1em!important;
    padding: 15px 25px 15px 25px!important;
    font-weight: bold!important;
	display: inline-block!important;
	color: #FFFFFF!important;
    border: none;
}
.wp-block-table table {
  border: 1px solid #BBBBBB;
  border-collapse: collapse;
  border-spacing: 0;
}
.wp-block-table table td, .wp-block-table table th {
  border: 1px solid #BBBBBB;
  padding: 5px 10px;
}
#cookie-law-info-bar {
	font-size: 0.9em!important;
}
figcaption {
	text-align: center;
}
.clear {
	clear: left;
}
.vertical-align-center {
	align-self: center;
}
.hr-short {
	width: 100px;
	margin: 0px auto 30px auto !important;
}
.col-box {
    border-radius: 5px;
    margin-bottom: 30px!important;
    border: 1px solid #dcdcdc;
	padding: 30px 15px 0px 15px;
    box-sizing: border-box;
}
.card-padding {
	padding: 10px;
}
.card {
	box-shadow: 0px 0px 10px #e5e5e5;
	border-radius: 5px;
	background-color: #ffffff;
}
.card h3, .card p {
	margin-left: 30px;
	margin-right: 30px;
}
.card .wp-block-image {
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}
.fa-li {
	color: #FFFFFF!important;
	font-size: 2.0em!important;
	left: auto!important;
	position: relative!important;
	width: 1.7em!important;
}
.gap-fix {
	gap: 2em;
}
.round-image img {
	border-radius: 50%;
	border: 8px solid #ffffff;

}
#mc_embed_signup h2 {
	text-align: center;
}






/* TABLET 960 */

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

#content {
	width: 66%;
}
#sidebar {
	width: 33%;
}
}


/* TABLET 768 */

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

nav {  
	display: none;
}
.rmp_menu_trigger {
	top: 14px!important;
	right: 20px!important;
}
.rmp-menu-item-link {
	padding-right: 0px!important;	
	}
#content {
	width: 100%;
}
#sidebar {
	width: 100%;
	padding-left: 0px;
	padding-bottom: 0px;
}
#featured_image {
	max-height: 500px;
}
.card {
	margin-bottom: 30px!important;
}
.card:last-child {
	margin-bottom: 0px!important;
}
.gap-fix {
	gap: 0em;
}
}



/* SMALL TABLET 599 */

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

.post_thumb {
	margin-bottom: 15px!important;
}
.post_date_home {
	margin: -20px 0px 45px 0px;
}

}


/* MOBILE 480 */

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

.rmp_menu_trigger {
	top: 4px!important;
	right: 10px!important;
}
#logo {
    max-width: 186px;
    top: 16px;
    left: 15px;
}
header {
	min-height: 60px;
}
#content_container {
	padding: 30px 15px 30px 15px;
}
.wp-block-group, .wp-block-cover {
	padding: 30px 15px 30px 15px!important;
}
.wp-block-media-text .wp-block-media-text__content {
	padding: 30px 30px 0px 30px!important;
}
header {
	padding: 0px 15px 0px 15px;
}
footer {
	padding: 60px 15px 30px 15px;
}	
.post-box, .widget_recent_entries, .widget_archive {
	padding: 15px;
}
#featured_image {
	max-height: 300px;
}
ul, ol {
	margin-left: 20px;
}

}