/*
	Theme Name: ADB Alarms
	Theme URI: https://adbalarms.co.uk
	Description: Custom WP Themese for ADB Alarms
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: "darkmode-off", sans-serif;
	font-weight: 400;
	font-style: normal;
	color:#0E405B;
	letter-spacing: -0.01em;
	line-height: 1.6;
	font-size:17px;
}
.modal-bg {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: none;
	background-color: rgba(14, 64, 91, 0.4);
	backdrop-filter:blur(30px);
	z-index:900;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
} 

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
	height:auto;
}
a {
	color:#0E405B;
	text-decoration:none;
}
main a {
	color:#FC4949;
	text-decoration: underline;
}
a:hover {
/*	color:inherit;*/
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #1578CC;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "darkmode-off", sans-serif;
	margin: 0;
}
h1 {
	font-weight: 500;
	font-size: 3.68em;
	letter-spacing: -0.01em;
	line-height:1;
}

.home h1 {
	font-size:7em;
	text-transform: uppercase;
	font-weight: 700;
}
h2 {
	font-size:2.53em;
	font-weight: 700;
	line-height:1.085;
}
h3 {
	font-size:1.58em;
	font-weight: 500;
	line-height:line-height:1.133em;
}
strong {
	font-weight:500;
}

ul.wp-block-list {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
	ul.wp-block-list li {
		padding:0 1.6em;
		position: relative;
	}
	ul.wp-block-list li:before {
		position: absolute;
		content:'';
		display: block;
		top:8px;
		left:0;
		height:10px;
		width: 10px;
		background-color: #0E405B;
	}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.display-block, .display-block > img {
	display: block;
}
.pad-zero {
	padding:0 !important;
}
.pad-2em {
	padding: 2em;
}
.pad-3em {
	padding: 3em;
}
.no-padding-left {
	padding-left: 0;
}
.no-padding-right {
	padding-right: 0;
}
.no-margin {
	margin: 0;
}
.inner {
/*	max-width:1600px;*/
	margin: 0 auto;
	position: relative;
	width:95%;
	max-width:1470px;
}

.inner-narrowest {
	margin: 0 auto;
	position: relative;
	width:70%;
	max-width:768px;
}

.half-inner-left {
	width: 95%;
	max-width:720px;
	margin:0 0 0 auto;
}
.half-inner-right {
	width: 95%;
	max-width:720px;
	margin:0 auto 0 0;
}
/* wrapper */
.wrapper {
	margin:0 auto;
	position:relative;
}

.header {
	position: fixed;
	display: block;
	width: 100%;
	z-index:998;
	border-bottom:1px solid rgba(255, 255, 255, 0.25);
	background-color: #fff;
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.06);
	height:80px;
}

.home:not(.scrolled) .header {
	background: transparent;
	backdrop-filter: blur(40px);
	--webkit-backdrop-filter: blur(40px);
	background-color: rgba(0, 0, 0, 0.03);
	filter: brightness(-3);
	box-shadow:inset 0 0 2000px rgba(14, 64, 91, .1);
}

.header::before {
	position: absolute;
	display: block;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width: 100%;
	height:100%;
	background-color: #0E405B;
	background:red;
	z-index:999;
}


.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-grow:1;
}

.header-contact {
	background-color: #002C43;
	color:#fff;
	display: flex;
	align-items: center;
	padding:1em 2em;
	height:80px;
	text-transform: uppercase;
	padding-right: calc(2em + 80px);
	position: relative;
	font-size: 0.88em;
	font-weight: 500;
	letter-spacing: 0.04em;
}
.home:not(.scrolled) .header-contact {
	background-color: #fff;
	color: #002C43;
}
.header-contact:before {
	content:'';
	display: block;
	position: absolute;
	right:0;
	top:0;
	height: 100%;
	width: 80px;
	border-left:1px solid #fff;
}

.home:not(.scrolled) .header-contact:before {
	border-left:1px solid #1B1C1A;
}
.header-contact:after {
	content:'';
	display: block;
	position: absolute;
	right:0;
	top:0;
	background-size: 22px;
	height: 100%;
	width: 80px;
	background-image: url(img/header-contact-arrow-white.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transition:0.6s all;
}
.home:not(.scrolled) .header-contact:after {
	background-image: url(img/header-contact-arrow.svg);
}

.header-contact:hover:after {
	transform: rotate(-45deg);
}
/* logo */
.logo {
	width:128px;
	background-color: #1578CC;
/*	border-right:3px solid #FC4949;*/
	height:80px;
	padding:1em;
	display: flex;
	align-items: center;
}
.logo a, .logo img, .logo svg {
	width: 100%;
	height: auto;
	min-width:82px;
	display: block;
}
/* nav */
.nav {
	position: relative;
	display: flex;
	justify-content: space-between;
}

.nav ul {
	display: flex;
	justify-content: space-between;
}
/* footer */
.footer {
	background-color: #002C43;
	color:#fff;
	font-size: ;
}

.footer-nav {
	display: grid;
	grid-template-columns: repeat(3,1fr) 1.5fr;
	padding: 100px 0;
}
.footer-nav a {
	color:#fff;
}

.footer-nav ul li {
	padding:0;
	margin-bottom: 0.6em;
	list-style:none;
}

.menu-title {
	font-family: "ff-meta-serif-web-pro", serif;
	font-weight: normal;
	font-size: 0.89em;
	letter-spacing: 0.01em;
	color:#FEB6B6;
	margin-bottom: 1em;
}

.footer-nav ul {
	margin: 0;
	padding: 0;
}

.footer-logo {
	margin-bottom: 50px;
	width:175px;
}

.footer-logo img, .footer-logo svg {
	width: 100%;
}

.north-office-contact {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:2em;
	margin:2em 0;
}
.footer-phone, .footer-email {
	padding:1em;
	text-align: center;	
	transition:0.6s all;
}

.footer-phone {
	background-color: #FEB6B6;
	color:#0E405B !important;
}
.footer-phone:hover {
	background-color: #FD9292;
}
.footer-email {
	border:1px solid #fff;
}
.footer-email:hover {
	background-color: #fff;
	color:#002C43;
}
.footer-south-office {
	margin-bottom:2em;
}
.opening-times {
/*	min-width: 400px;*/
width:100%;
	max-width:100%;
}
.opening-times tr td:first-of-type {
	color:#B6C6CE;
}

.footer-bottom {
	border-top:1px solid #3F667B;
	padding:1em 0;
	display: flex;
	justify-content: space-between;
	gap:3em;
	color:#B6C6CE;
	font-size:0.9em;
}
.footer-bottom a {
	color:#B6C6CE;
}
.footer-bottom-left {
	display: flex;
	justify-content: space-between;
	gap:3em;
}

/* Mobile nav */

.mobile-nav {
	display: none;
	position: fixed;
	top:0;
	left:0;	
	background-color: #002C43;
	width: 100%;
	min-height:100vh;
	font-weight: 500;
	font-size:1.3em;
	line-height:1em;
	letter-spacing: 0.015em;
/*	text-transform: uppercase;*/
}

.mobile-nav-inner {
	display: flex;
	align-items: center;
	min-height:100vh;
}

.mobile-nav ul {
	list-style:none;
}

.mobile-nav ul li {
	margin-bottom: 1em;
}

.mobile-nav a {
	color:#fff;
}

.mobile-nav-button {
	display: none;
	height:30px;
	width:40px;
	z-index:9999;
	top:50%;
	transform:translateY(-50%);
	position: absolute;
	right:30px;
}

.mobile-nav-button .hamburger-inner,
.mobile-nav-button .hamburger-inner:before,
.mobile-nav-button .hamburger-inner:after  {
	background-color: #002C43;
}
.hamburger {
	padding:0 !important;
}
.hamburger.is-active .hamburger-inner, 
.hamburger.is-active .hamburger-inner::after, 
.hamburger.is-active .hamburger-inner::before {
	background-color: #fff !important;
}


.home .mobile-nav-button .hamburger-inner,
.home .mobile-nav-button .hamburger-inner:before,
.home .mobile-nav-button .hamburger-inner:after,
.home .hamburger.is-active .hamburger-inner, 
.home .hamburger.is-active .hamburger-inner::after, 
.home .hamburger.is-active .hamburger-inner::before {
/*	background-color: #fff !important;*/
}

.mobile-menu-contact a {
	color:#FC4949;
}

/*------------------------------------*\
    BITS N BOBS
\*------------------------------------*/
.has-line-top {
	border-top:1px solid #D9E2E5;
}
.has-line-bottom {
	border-bottom:1px solid #D9E2E5;
}
.m0 {
	margin: 0;
}
.google-link a {
	color:unset;
}

.footer-cta a:has(strong) {
	color:unset;
}

.border-radius-three {
	border-radius: 3px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
/*Home*/
.homepage-hero h1 {
	opacity:0.9;
	mix-blend-mode: screen;
}
.homepage-hero-button {
	position: relative;
	color:#fff;
	display: inline-block;
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	grid-template-columns: 1fr 30px;
	min-width:20%;
	margin-right:30px !important;
	font-size:1.158em;
	text-decoration: none;
}
.homepage-hero-button svg {
	transition: 0.6s all;
}
.homepage-hero-button:hover svg {
	transform: rotate(-45deg);
}
.homepage-hero-button div:first-of-type {
/*	margin-right:50px;*/
}
.homepage-hero-button::before, .homepage-hero-button::after {
	content:'';
	display: block;
	position: absolute;
	left:0;
	bottom:-10px;
	height:2px;
	width:0;
	transition:0.6s all;
}
.homepage-hero-button::before {
	background-color: #6F8C9C;
	width: 100%;
}
.homepage-hero-button::after {
	background-color: #fff;
	width:0;
}
.homepage-hero-button:hover::after {
	width:100%;
}

/* About */

.icons-grid {
	gap:2em;
}
.icons-grid img {
	min-width:19px;
}

.icons-grid div {
	display: flex;
	align-items: flex-start;
}



/* Blog archive */
.blog-header {
	padding-top: 125px;
}

.blog-list-container {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	margin-top:100px;
	margin-bottom: 50px;
	gap:3em;
}

.blog-list-container .news-image-container img {
	border-radius: 3px;
}

.blog-list-container .news-image-container img:hover {
	opacity:0.9;
}

.blog-list-container article {
	position: relative;
}
.blog-list-container article:before {
	content:'';
	display: block;
	position: absolute;
	left:0;
	bottom:0;
	width:1px;
	height:100%;
	background-color: #D9E2E5;
}

.blog-list-container article .news-image-container .news-img-inner:after {
	content:'';
	display: block;
	position: absolute;
	left:0;
	bottom:0;
	transform:translateY(100%);
	width:1px;
	height:30px;
	background-color: #fff;
	z-index:2;
}

.blog-list-container article .news-image-container {
	position: relative;
}

.blog-list-container article .news-image-container:before, .blog-list-container article .news-image-container:after {
    content: '';
    background-color: #fff;
    display: block;
    position: absolute;
    z-index: 2;
    transition: 0.6s all;
    height: 0;
    width: 0;
}

.blog-list-container article .news-image-container:before {
    top: 0;
    left: 0;
}

.blog-list-container article .news-image-container:after {
    bottom: 0;
    right: 0;
}

.blog-list-container article:hover .news-image-container:before,
.blog-list-container article:hover .news-image-container:after {
    height:50px;
    width:50px;
}

.blog-list-container h2 {

	font-size: 1.58em !important;
}
.blog-list-container a {
	color: #0E405B;
    font-weight: 500;
    text-decoration: none;
}

.blog-list-container .news-article {
	padding-left: 30px;
    border-left: 1px solid #D9E2E5;
    padding-bottom: 6em;
    margin-top: 2em;
    transition: 0.6s all;
}

    .news-article-meta {
        font-size:0.7em;
        letter-spacing: 0.02em;
        font-weight: 700;
        

    }
    .news-article-meta .category {
        position: absolute;
        bottom:0;
    }
    .news-article-meta .category a {
        display: inline-block;
        padding:0.3em 0.6em;
        border-radius:3px;
        margin-right:5px;
        text-transform: uppercase;
        color:#3F667B;
    }




/* Blog single */

.single-article-container {
	background-color: #fff;
	padding-top:175px;
	min-height:100vh;
	padding-bottom: 100px;
}
.single-article-container h1 {
/*	font-size: 5em;*/
}

a.blog-category {
	display: block;
	background-color: #0E405B;
	color:#fff;
	font-size:0.7em;
	text-transform: uppercase;
	margin-bottom:1rem;
}


.blog-single-category {
	color:#0E405B;
	text-transform: uppercase;
	font-size:0.9em;
	margin-bottom:1em;
	border-radius: 3px;
}

.blog-single-category-separator {
	color:#0E405B;
}

.single-blog-title {
	line-height:1.4em;
	font-size:5em;
}

.single-article-top {
	margin-top:75px;
	display: grid;
	grid-template-columns: 45% 50%;
	grid-gap: 5%;
	max-width:100%;
	margin-bottom:75px;
}
.single-article-top-left {
	display:flex;
	justify-content: space-between;
	flex-direction: column;
}
.single-article-category, .single-article-top-left .knowledge-base-date  {
	background-color: #0E405B;
	color:#fff;
display: inline-block;
    padding: 0.3em 0.6em;
    border-radius: 3px;
    margin-right: 5px;
    text-transform: uppercase;
}
.single-article-top-right img {
	max-width:100%;
}

.single-article-top-left .knowledge-base-country {
	margin-bottom:3em;
	display: inline-block;
}

.single-article-top-left h6 {
	color:#C0B8B4;
	margin-bottom:0;
}

.single-article-top-left .knowledge-base-date {
	color:#fff;
	background-color: #0E405B;
	margin-right: 1em;
}

.single-article-top-right img {
/*	box-shadow: 0px 3px 10px rgba(105, 92, 81, 0.2);*/
}


.single-article-footer {
	background-color: #F5F9FD;
	padding:75px 0;
}

.single-article-footer .inner {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-gap: 2em;
}

#single-article-left .single-article-featured-image {
	margin:4rem 0;
	display: block;
}

.article-recent-post {

}

#single-article-left p:first-of-type {
	margin-top:0;
}

#single-article-right {
	padding-left:3em;
/*	width:30%;*/
}

#single-article-right a {
	margin-bottom:3px;
	padding:2em;
	width:66%;
	display:block;
	color:#0E405B;
	background-color:#F5F9FD;
}
#single-article-right a:last-of-type {
	border:0;
}

.single-article-main {
	display: grid;
	grid-template-columns: 55% 40%;
	grid-gap: 5%;
	margin-bottom:75px;
}

.resource-pagination {
	margin-top: 2em;
	display: flex;
	justify-content: center;
	gap:1em;
}
.resource-pagination .page-btn {
	background-color: transparent;
	border:none;
	color:#1578CC;
}

/*------------------------------------*\
    AOS STUFF
\*------------------------------------*/

figure {
	position: relative;
}
figure.has-squares, .has-squares-reversed {
	display: inline-block;
}
figure.has-squares:before, 
figure.has-squares:after,
figure.has-squares-reversed:before, 
figure.has-squares-reversed:after {
	content:'';
	display: table-cell;
	position: absolute;
	height:0;
	width:0;
	background-color: #fff;
	transition:0.6s all;
	transition-delay: 0.6s;
}
figure.has-squares-blue:before, 
figure.has-squares-blue:after {
	background-color: #F5F9FD;
}
.aos-animate figure.has-squares:before, 
.aos-animate figure.has-squares:after,
.aos-animate figure.has-squares-reversed:before, 
.aos-animate figure.has-squares-reversed:after {
	height:125px;
	width:125px;
}
.aos-animate figure.has-squares:before {
	top:0;
	left:0;
} 
.aos-animate figure.has-squares:after {
	bottom:0;
	right:0;
}


.aos-animate figure.has-squares-reversed:before {
	top:0;
	right:0;
} 
.aos-animate figure.has-squares-reversed:after {
	bottom:0;
	left:0;
}

.has-sqaures img, .has-squares-reversed {
	transition:0.6s all;
}


/*------------------------------------*\
	FORMS
\*------------------------------------*/
.gfield_label { 
	color:#0E405B !important;
	font-family: "darkmode-off", sans-serif;
	text-transform: uppercase !IMPORTANT;
	font-size:1em;
	font-weight: 500 !important;
	margin-bottoom:0.8em !important;
}
.gfield_required {
	font-style: normal !important;
	color:#FC4949 !important;
	font-size:1em !important;
	font-weight: 500 !important;
	margin-left:3px;
}
.gform_wrapper.gravity-theme .gfield input, 
.gform_wrapper.gravity-theme .gfield input[type="text"],
.gform_wrapper.gravity-theme .gfield input[type="email"], 
.gform_wrapper.gravity-theme .gfield input[type="tel"], 
.gform_wrapper.gravity-theme .gfield select, 
.gform_wrapper.gravity-theme .gfield textarea, 
.gform_wrapper.gravity-theme .gfield number {
	padding:1.3em !important;
	border-radius:3px;
	resize: none;
	border:none;
	min-height:77px;
	margin-bottom: 1em;
	position: relative;
	box-shadow: 0px 3px 10px rgba(15, 64, 91, 0.1) !important;

}


.gform_wrapper.gravity-theme .gfield select {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

.ginput_container_select {
	position: relative;
}

.gform_wrapper.gravity-theme .ginput_container_select::after {
	display: block;
	content:'';
	height:20px;
	width: 17px;
	background-image: url(img/nav-down.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	right:1.3em;
	top:50%;
	transform: translateY(-80%);	
	z-index:1;
	pointer-events: none;
}

.gform_wrapper.gravity-theme .gfield input[required] {
  background-image: radial-gradient(red 15%, transparent 16%);
  background-size: 1em 1em;
  background-position: top right;
  background-repeat: no-repeat
}

.gform_footer input[type="submit"] {
	background-color: #002C43;
	color:#fff;
	border:0;
	height:60px;
	text-transform: uppercase;
	font-size:1em;
	transition:0.3s all;
	letter-spacing: -0.02em;
}

.gform_footer input[type="submit"]:hover {
	background-color: #1578CC;
}

.submit-container {
	position: relative;
	height:75px;
}


.submit-container:before {
	content:'';
	display: block;
	position: absolute;
	right:75px;
	top:0;
	height:100%;
	width:1px;
	background-color: #fff;
}

.submit-container:after {
	content:'';
	display: block;
	position: absolute;
	right:0;
	top:0;
	height:100%;
	width:75px;
	background-image: url(img/header-contact-arrow-white.svg);
	background-size: 30px;
	background-position: center;
	background-repeat: no-repeat;
	transition:0.6s all;
	transform: rotate(0);
}
.submit-container:hover:after {
	transform: rotate(-45deg);
}

.submit-container input[type="submit"] {
	height:100%;
	width:100%;
	padding-right:125px;
	padding-left:50px;
	z-index:2;
	display: block;
}



/*------------------------------------*\
	Gutenberg stuff
\*------------------------------------*/

:where(.wp-block-group.has-background) {
	padding:0;
}
.wp-block-image {
	margin: 0 !important;
}
.wp-block-verse {
	font-family: "ff-meta-serif-web-pro", serif;
	font-weight: 500;
	font-style: normal;
	padding-left: 20px;
	position: relative;
	font-size:1.05em;
}


.wp-block-verse.has-text-align-center {
	width:fit-content;
	margin:auto auto;
}

.wp-block-verse:before {
	content:'';
	height:10px;
	width:10px;
	display: block;
	position: absolute;
	left:0;
	background-color: #FC4949;
	top:50%;
	transform: translateY(-50%);
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 0;
} 

:where(.wp-block-columns) {
    margin-bottom: 0;
} 


/* Resources */
.post-type-archive-resources .wrapper > .inner {
	padding-top: 150px;
}
.post-type-archive-resources .wrapper > .inner h2 {
	margin-bottom: 50px;
}
#resources-filter {
	margin-bottom: 50px;
}
#resources-results {
	margin-bottom: 100px;
}

.resource-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #B6C5CE;
}


/* Error pages */
.error404 h1 {
	background-clip: text;
    background-image: url(img/404.webp);
    background-position: center;
    background-size: cover;
    color: transparent;
    overflow: hidden;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color:#4293d5;
    text-transform: uppercase;
    font-size: 6vw;
    font-weight:900;
}

#post-404 {
	text-align: center;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:1200px) {
	.homepage-hero-button {
		min-width:30%;
	}
}
@media only screen and (max-width:1024px) {

}

@media only screen and (max-width:900px) {
	.homepage-hero-button {
		min-width:40%;
	}
	.aos-animate figure.has-squares:before, 
	.aos-animate figure.has-squares:after,
	.aos-animate figure.has-squares-reversed:before, 
	.aos-animate figure.has-squares-reversed:after {
		height:50px;
		width:50px;
	}
	.blog-list-container {
		grid-template-columns: repeat(2,1fr);
	}
}

@media only screen and (max-width:768px) {
	.hide-mobile {
		display: none;
	}
	.inner, .inner-narrow, .inner-narrowest {
		width:90%;
		min-width:90%;
	}
	.inner .inner {
		width: 100%;
	}
	.pad-2em:not(.border-radius-three) {
		padding:0;
	}
	.pad-3em {
		padding:0;
		width:90%;
		margin: 2em auto;
	}
	.single-article-container {
		padding-top: 105px;
	}
	.single-article-container h1 {
		margin-bottom: 30px;
	}
	.single-article-top, .single-article-main {
/*		display: block;*/
		grid-template-columns: 100%;
	}
	.blue-cta .wp-block-columns {
		gap:2em;
	}
	.home:not(.scrolled) .header {
		background-color: #fff;
	}
	.home h1 {
		font-size:3em;
	}
	h1 {
		font-size:3em;
	}
	#search-toggle {
		display: none;
	}
	.header-contact {
		display: none;
	}
	.contact-form {
		padding:2em !important;
	}
	.footer-nav {
		display: block;
	}
	.footer-bottom, .footer-bottom-left {
		flex-direction: column;
		gap:1em;
	}
	.footer-logo {
		display: none;
	}
	.mobile-nav-button {
		display: block;
	}
	.header {
		display: block !important;
	}
	.homepage-hero-button {
		min-width:100%;
		margin-bottom:2em;
	}
	.blog-list-container {
		display: flex;
		flex-direction: column;
	}
	.blog-list-container article {
		position: relative;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#1578CC;
	color:#D9E2E5;
	text-shadow:none;
}
::-webkit-selection {
	background:#1578CC;
	color:#D9E2E5;
	text-shadow:none;
}
::-moz-selection {
	background:#1578CC;
	color:#D9E2E5;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

