/*
 Theme Name:   Pulse of Light
 Description:  wp-bootstrap-starter Child Theme
 Author:       Ivaylo Ivanoff
 Author URI:   https://twitter.com/IvayloIvanoff
 Template:     wp-bootstrap-starter
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  wp-bootstrap-starter-child
*/

h1 {
	margin: 50px 0 20px;
	font-size: 27px;
	font-weight: 700;
	padding: 0;
}

h1.entry-title {
	border-bottom: none;
}

h2, h3, h4 {
	font-weight: bold;
}

p {
	font-size: 17px;
}

i {
	font-family: Font Awesome Free;
}

#page a {
    color: #000000!important;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	font-weight: 400;
}

header#masthead {
    position: fixed;
    width: 100%;
    top: 0;
	z-index: 100;
	min-height: 143px;
}

.var-height {
	height: 145px;
}

header button {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
	font-size: 16px;
	padding: 0.7rem 0.5rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
	font-weight: 400;
}

.navbar-brand {
    margin-right: 0;
}

.house-icon:before {
	font-family: "Font Awesome 5 Free";
	display: inline-block;
    font-style: normal;
	content: '\f015';
	width: 20px;
	height: 20px;
}

.navbar-toggler[aria-expanded="true"] span:before,
.navbar-toggler[aria-expanded="true"] span:after {
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f077';
}

.navbar-toggler[aria-expanded="false"] span:before,
.navbar-toggler[aria-expanded="false"] span:after {
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f078';
}

.navbar-toggler span:before {
	margin-right: 10px;
}

.navbar-toggler span:after {
	margin-left: 10px;
}

.logo-mobile {
    display: block;
}

.logo-desktop {
    display: none;
}

#content.site-content {
	padding-top: 0;
	padding-bottom: 0;
}

.page-content, .entry-content, .entry-summary {
	margin: 0;
}

.single article {
	max-width: 900px;
	width: 100%;
}

.single article .entry-header, .single article .entry-content {
	max-width: 740px;
	width: 100%;
}

footer a.brand {
	font-size: 20px;
	font-weight: 800;
}

footer p {
	margin-bottom: 0;
	font-size: 13px;
}

footer .nav-link {
	padding: .0rem 1rem;
}

footer ul.menu {
	flex-direction: column;
	list-style-type: none;
	padding: 0;
}

footer .widget {
	margin-bottom: 0;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: #eee;
    text-decoration: none;
}

body:not(.theme-preset-active) footer#colophon {
	background-color: #ffffff;
	font-size: 13px;
	text-align: center;
}

button.navbar-toggler {
	position: relative;
}

.athumbnail {
	margin-bottom: 10px;
    max-width: 100%;
    width: auto;
    height: 330px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.athumbnail img {
	margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
}

.dropdown:hover>.dropdown-menu {
	display: block;
}

.wpcf7-checkbox {
	border: none;
    float: left;
    padding: 0;
    width: 10px;
    height: auto;
    margin-right: 35px;
}

@media (min-width: 768px) {
    .logo-mobile {
        display: none;
    }
    .logo-desktop {
        display: block;
	}
	h1.entry-title {
		font-size: 40px;
	}
	p {
		font-size: 17px;
	}
	header#masthead {
		min-height: 130px;
	}
	.var-height {
		height: 130px;
	}
	/* #content.site-content {
		padding-top: 145px;
	} */
	body:not(.theme-preset-active) footer#colophon {
		font-size: 15px;
	}
	footer#colophon aside {
		float: left;
	}
	
	footer#colophon aside.widget_nav_menu:last-child {
		margin-left: auto;
	}
	footer ul.menu {
		flex-direction: row;
		display: flex;
		padding-left: 20px;
		margin-bottom: 0;
	}
	footer ul.menu li {
		margin-right: 10px;
	}
	footer ul.menu li:last-child {
		margin-right: 0;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
		font-size: 12px;
	}
	header#masthead {
		height: 130px;
	}
	#navbarToggleExternalContent {
		margin-top: 20px;
	}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	#navbarToggleExternalContent {
		margin-top: 20px;
	}
}

/***** Lightbox Settings *****/

.pswp__bg {
    background: #ffffff;
}

.pswp__counter {
    color: #000000;
}

.pswp__top-bar, .pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before {
    background-color: rgb(255, 255, 255);
}

/* 404 page */
.fofbg {
	background: url(/wp-content/uploads/2019/07/adult-blur-camera-598917.jpg);
	background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.error404 #content.site-content {
	padding-top: 0px;
	padding-bottom: 0px;
}

section.error-404 {
	position: absolute;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
}

section.error-404 h1 {
	font-size: 30px;
	font-weight: 900;
}

section.error-404 span {
	font-size: 100px;
	font-weight: 900;
}

/***** Gutenberg Ready *****/

/* Global Wide And Full Alignment Styles */
.alignwide, .alignfull {
	position: relative;
	width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}
/* Full Block Alignment If Sidebar Is Not Present */
.origin-sidebar-inactive.origin-singular .alignfull {
	width: 100vw;
	left: calc(-50vw + 50%);
	margin-left: 0px;
	margin-right: 0px;
}
/* Wide Block Alignment If Sidebar Is Not Present */
.origin-sidebar-inactive.origin-singular .alignwide {
	width: calc(100% + 120px);
	left: -60px;
	margin-left: 0px;
	margin-right: 0px;
}
@media screen and (max-width: 767px) {
    .origin-sidebar-inactive.origin-singular .alignfull,
    .origin-sidebar-inactive.origin-singular .alignwide {
      width: calc(100% + 72px);
      max-width: calc(100% + 72px);
      margin-left: -36px;
      left: auto;
	}
  }

div[class*="wp-block"],
figure[class*="wp-block"],
blockquote[class*="wp-block"] {
	margin-top: 32px;
	margin-bottom: 32px;
}
/************************************************
  Audio Blocks
************************************************/

.wp-block-audio {
	margin-left: 0px;
	margin-right: 0px;
}
.wp-block-audio audio {
	width: 100%;
}

/************************************************
  Blockquotes
************************************************/

blockquote,
blockquote.wp-block-quote {
	font-size: 130%;
	line-height: 1.5;
	margin: 32px 0px;
	padding: 12px 18px;
	border-left: 2px solid rgba(0, 0, 0, 0.12);
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
	padding-left: 18px;
	border-left: 2px solid rgba(0, 0, 0, 0.12);
}
.wp-block-quote__citation,
.wp-block-quote cite,
.wp-block-quote footer {
	display: block;
	color: rgba(0, 0, 0, 0.4);
	font-size: 0.85rem;
	margin-top: 12px;
}
.wp-block-quote cite::before,
.wp-block-quote footer::before {
	content: '— '
}

/************************************************
  Buttons
************************************************/

.wp-block-button {
	position: relative;
	box-sizing: border-box;
}
.wp-block-button.alignwide a {
	display: block;
}

/************************************************
  Code Blocks
************************************************/

code, pre, .wp-block-code {
	color: #666666;
	font-family: Courier, sans-serif;
	line-height: 1.4;
	margin: 32px 0px;
	padding: 12px;
	border: 2px solid rgba(0, 0, 0, 0.24);
	box-shadow: inset 0px 0px 6px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	border-radius: 3px;
}

/************************************************
  Cover Images
************************************************/

.wp-block-cover,
.wp-block-cover-image {
	margin-top: 32px;
	margin-bottom: 32px;
}
.wp-block-cover-image.has-background-dim,
.wp-block-cover-image.has-background-dim h2 {
	color: #ffffff;
}

/************************************************
  Gallery Blocks
************************************************/

.wp-block-gallery .blocks-gallery-item {
	margin-left: 0px;
	margin-right: 0px;
	padding: 0px;
}
.wp-block-gallery .blocks-gallery-image {
	margin-left: 0px;
	margin-right: 0px;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	box-sizing: border-box;
}

/************************************************
  Images
************************************************/

.wp-block-image {
	max-width: none;
	margin: 32px auto;
	padding: 0px;
}
img.aligncenter,
.wp-block-image.aligncenter {
	display: block;
	margin: 12px auto;
	padding: 0px;
}
img.alignnone,
.wp-block-image.alignnone {
	display: inline;
	margin: 12px 0px;
	padding: 0px;
}
img.alignright,
.wp-block-image.alignright {
	display: inline;
	margin: 16px 0px 16px 24px;
	padding: 0px;
}
img.alignleft,
.wp-block-image.alignleft {
	display: inline;
	margin: 16px 24px 16px 0px;
	padding: 0px;
}

/************************************************
  Tables
************************************************/

table,
table.wp-block-table {
	width: 100%;
	text-align: left;
	margin: 32px 0px;
	padding: 0px;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-spacing: 0;
	border-radius: 4px;
}
table p,
table form,
table ul,
table li {
	margin: 6px 0px;
	padding: 0px;
}
table thead,
table tfoot,
table.wp-block-table thead,
table.wp-block-table tfoot {
	border: 1px solid #dddddd;
	border: 1px solid rgba(0, 0, 0, 0.12);
}
table tbody tr:nth-child(odd) {
	background: rgba(0, 0, 0, 0.04);
}
table th,
table.wp-block-table th {
	font-size: 1.1rem;
	text-transform: uppercase;
	margin: 0px;
	padding: 12px;
	border-top: 1px solid #dddddd;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
}
table td,
table.wp-block-table td {
	padding: 12px;
	margin: 0px;
	border-top: 1px solid #dddddd;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
}
table.wp-block-table.is-style-stripes {
	border-collapse: collapse;
}
table.wp-block-table.is-style-stripes td {
	border: 1px solid #dddddd;
	border: 1px solid rgba(0, 0, 0, 0.12);
}
h2 {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
  }
  .edit-post-visual-editor h2.editor-rich-text__tinymce {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
  }

/***** Scroll to Top Button *****/

.scroll-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #000;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
	background-color: #333;
	color: #fff;
}

.scroll-to-top:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.scroll-to-top.is-visible {
	opacity: .7;
	visibility: visible;
	transform: translateY(0);
}