/*!
Theme Name: drsolene
Author: Studio Equinoxe
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ol {
	list-style: decimal;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited, a:hover, a:focus, a:active, a:visited, a:hover {
	color: white;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

#page {
	background-color: #170833;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}


/* Custom from here */

/* Remove all default margin */
* {
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Lists
--------------------------------------------------------------*/

ul.list {
	padding: 0;
	list-style: none;
}

ul.flex {
	display: flex;
}

ul.flex.column {
	flex-direction: column;
}

ul.flex.wrap {
	flex-wrap: wrap;
}

li.half, div.half {
	flex-basis: 48%;
	max-width: 100%;
}

li.third, div.third {
	flex-basis: 28%;
	max-width: 100%;
}

a.item-link {
	color: unset;
	text-decoration: none;
}

figure.img-wrapper {
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
}

img.item-img {
	object-fit: cover;
	object-position: center center;
	height: 100%;
	width: 100%;
	display: block;
}


/*--------------------------------------------------------------
# Containers
--------------------------------------------------------------*/


section div.container {
	display: block;
	width: 1000px;
	max-width: 90%;
	margin: 0 auto;
	padding: 20px 0;
}

section div.container.flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

div.container.flex div.left {
	flex-basis: 48%;
	max-width: 100%;
	margin: 0 10px 0 0;
}

div.container.flex div.right {
	flex-basis: 45%;
	max-width: 100%;
}

div.right img {
	display: block;
	margin: auto 0 auto auto;
}

img.item-img.placeholder {
	object-position: 60% center;
}

/*--------------------------------------------------------------
# Posts
--------------------------------------------------------------*/


ul#posts-list {
	justify-content: space-between;
}

li.post-item {
	margin: 0 0 40px;
}

figure.post-img-wrapper {
	height: 180px;
}

figure.post-img-wrapper {
	height: 180px;
}

h2.post-title {
	font-size: 1.25rem;
	height: auto;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

p.excerpt {
	font-size: 0.8rem;
	line-height: 1rem;
	height: 80px;
}

div.post-item-bottom {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

span.post-main-cat {
	font-size: 0.74rem;
	color: #505EFF;
}

span.post-date, span.post-reading-time {
	font-size: 0.70rem;
	white-space: nowrap;
	color: #A3A3A3;
}

div.see-more-link {
	margin: 20px auto;
}


@media screen and (max-width: 900px) {
	ul#posts-list {
		flex-direction: column;
		align-items: center;
	}
	
	ul#posts-list li.half.post-item {
		flex-basis: 100%;
		width: 500px;
		max-width: 100%;
		margin: 35px auto;
		height: fit-content;
	}
	
	li.half.post-item h2.post-title,
	li.half.post-item p.excerpt {
		height: fit-content;
	}
	
	li.half.post-item  figure.post-img-wrapper {
		height: 240px;
	}
}

@media screen and (max-width: 500px) {
	div.post-item-bottom span.post-main-cat,
	div.post-item-bottom span.post-date,
	div.post-item-bottom span.post-reading-time {
		font-size: 0.5rem;
	}
}


/*--------------------------------------------------------------
# Related Posts Module
--------------------------------------------------------------*/

section#related-posts {
	margin: 50px 0 70px;
}

li.related-post-item.half {
	flex-basis: 46%;
}

p.related-post-excerpt {
	font-size: 1rem;
	line-height: 1.625rem;
	height: 130px;
}

h2.related-post-title {
	font-size: 1.5rem;
	line-height: 2rem;
}

div.related-post-item-bottom {
	align-items: center;
}

span.post-main-cat.related-post-main-cat{
	font-size: 0.9rem;
}

span.post-date.related-post-date, span.post-reading-time.related-post-reading-time {
	font-size: 0.75rem;
}


section > h2.black-title {
	text-align: center;
	font-size: 1.865rem;
	max-width: 90%;
	margin: 1rem auto;
}


/*--------------------------------------------------------------
# 404s
--------------------------------------------------------------*/

p#no-result, p#loading-message {
	text-align: center;
	display: block;
	margin: auto;
	font-size: 1rem;
	line-height: 2rem;
	color: #212529;
}


p#no-result.hidden {
	display: none;
}

section.error-404.not-found {
	text-align: center;
}

/*--------------------------------------------------------------
# Filters
--------------------------------------------------------------*/

li.hidden {
	display: none;
}


/*--------------------------------------------------------------
# Socials
--------------------------------------------------------------*/

div.social-links  {
	margin: 30px 0;
	display: block;
}

div.social-links a {
	color: unset;
	text-decoration: none;
	margin: 0 6px;
	display: inline-block;
	width: fit-content;
}

div.social-links a:first-of-type {
	margin: 0 6px 0 0;
	padding: 0 4px 0 0;
}


/*--------------------------------------------------------------
# Contact Module
--------------------------------------------------------------*/

section#contact {
	margin: 0;
	background-color: rgba(238, 240, 255, 0.5);
}

div.contact-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	align-items: stretch;
}

div.contact-left {
	flex-basis: 50%;
}

div.contact-right {
	padding-right: calc( ( 100vw - 1130px ) / 2);
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	background-color: #fff;
	margin-left: -240px;
	border-radius: 350px 0 0 350px;
	flex-basis: 50%;
}
section#contact  div.contact-right div.content {
	margin: auto;
	padding-left: 90px;
}

img#contact-img {
	margin: 50px 0 50px auto;
	display: block;
}

div.contact-right div.content h2 {
	color: #212529;
	text-transform: none;
	font-size: 1.625rem;
	line-height: 1.875rem;
	max-width: 85%;
	margin: 0 0 30px;
}

div.contact-right div.content p {
	color: #212529;
	font-size: 1rem;
	line-height: 1.875rem;
}

@media screen and (max-width: 900px) {
	section#contact div.contact-container {
		flex-direction: column;
		align-items: stretch;
		overflow: hidden;
	}
	
	div#page section#contact  div.contact-right div.content {
		width: 500px;
		max-width: 90%;
		padding: 100px 0;
		text-align: center;
	}
	
	div.contact-left img#contact-img {
		margin: 40px auto;
	}
	
	div.contact-container div.contact-right {
		margin: -50px auto 0;
		border-radius: 50vw 50vw 0 0;
		width: 100%;
	}
	
	div.contact-container div.contact-right div.content h2 {
		margin: 0 auto 40px;
	}
	
	div.contact-container div.contact-right div.blue-link-wrapper {
		margin: 50px auto 0;
	}
}

@media screen and (max-width: 500px) {
	
	div.contact-container div.contact-left img#contact-img {
		max-width: unset;
		width: 130%;
		margin: 40px -15% 40px -20%;
	}
}
