/*
Theme Name: Webmist Theme
Theme URI:          https://moonprincess.site/themes/theme-name
Author:             June Jackson
Author URI:         https://junejackson.com
Text Domain: webmisttheme
Description: My default theme for building creative websites using a retro look to displaying website content on the WordPress platform.
Version: 1.1
Tested up to: 7.0
Requires at least: 4.7
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Domain Path:       /languages

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

/*  Start Coloring */
:root{
    /* Measurements */
    --webmist-big-padding: 60px 0;
    --webmist-mobile-padding: 20px 0;
    --webmist-light-padding: 0 25px;
    /* Fonts */
    --font-main: normal, 21px/2.1rem, 'Tangerine', sans-serif;
    --font-headline: 'Lobster Two', sans-serif;
    --font-script: "Sofia", sans-serif;
    --font-print: "Comic MS", "Verdana", monospace; 
    /* Colors */
    --webmist-gray1: #7C7C7C;
    --webmist-gray2: #F7F7F7;
    --webmist-gray3: #DDDDDD;
    --webmist-yellow: #CFAF07;
	--color1: #829cc3;
	--color2: #b8cbe8;
	--color3: rgba(35, 68, 117, 0.7);
	--background1: #829cc3;
	--background2: #95aed3;
	--background3: rgba(31, 70, 128, 0.8);
	--background4: rgba(151, 182, 163, 0.5);
	--border1: #829cc3;
	--border2: #5776a3;
	--border3: rgba(56, 89, 137, 0.8);
    --border4: rgba(31, 70, 128, 0.8);
}
*,
::after,
::before {
    box-sizing: border-box;
}
/* 1. Normalize */
html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
body {
    margin: 0 auto;
    font-family: var(--font-print);
    font: var(font-main);
}
  
  /**
   * Render the `main` element consistently in IE.
   */
  
main {
    display: block;
  }
  
/* General */
h2, h3, h4, h5 {
    font-family: var(--font-headline);
}
h1{
    margin: 0.67em 0;
    color: var(--color1);
    font-size: 2em;
    font-family: var(--font-script);
    font-size: 66px;
    line-height: 70px;
}
h2{
    font-size: 40px;
    line-height: 4.0rem;
    font-weight: bold;
    text-transform: uppercase;
}
h3{
    font-size: 36px;
    line-height: 3.6rem;
    font-weight: bold;
}
h4{
    font-size: 28px;
    line-height: 2.8rem;
    font-weight: bold;
}
h5{
    font-size: 22px;
    line-height: 2.2rem;
    font-weight: bold;
}
p{
    font-size: 15px;
    line-height: 1.7rem;
}
a{
    color: var(--color2);
    text-decoration: none;
}
a:hover,
a:visited{
    color: #6d6d6d;
}
img {
    max-width: 100%;
    height: auto;
}
blockquote {
    background: #eaeaea;
    border-left: 10px solid var(--border3);
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #696969;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
  color: var(--color3);
  font-style: italic;
  font-family: var(--font-script), cursive;
}
blockquote cite {
  display: block;
  font-style: normal;
	text-transform: uppercase;
}
cite, em, i {
	font-style: italic;
}
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
hr {
    box-sizing: content-box; /* 1 */
    margin: 15px 0;
    background: none;
    border-bottom: 1px dashed #CCC;
    height: 1px;
    overflow: visible; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
a {
    color: var( --color1 );
    background-color: transparent;
  }
a:hover {
    color: var( --color3);
    text-decoration: none;
}
  
  /**
   * 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; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * 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
     ========================================================================== */
iframe, 
embed {
    clear: both;
    width: 100%;
}
  /**
   * Remove the border on images inside links in IE 10.
   */
  
img {
    border-style: none;
  }
a img {
    border: none;
}
  
  /* Forms & List
     ========================================================================== */
  
p, ul, ol, li, dl, address {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-size: 14px;
  text-align: left;
}
ul {
  margin-left: 16px;   
}
ol {
	list-style-type: decimal;
  margin-left: 20px;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
dl {
  margin-bottom: 20px;   
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 5px;
}
  
input[type="text"],
input[type="file"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="email"],
input[type="url"],
input,
optgroup,
select,
textarea {
    margin: 0; /* 2 */
    background-color: var( --background1 );
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    border: 1px solid var( --border4 );
  }
textarea {
    overflow: auto;
    vertical-align: top;
}
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
button,
input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
button,
select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
	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; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * 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; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * 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; /* 1 */
	appearance: textfield;
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* 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;
  }
table {
  font-size: 14px;
  width: 100%;      
}
table, td, th {
  border: 1px dashed #aaaaaa;
  border-collapse: collapse;
  text-align: left;
}
td, th {
  padding: 5px 8px;       
}
th {
  background: #555555;
  color: white;
  font-weight: bold;   
}


/* Containers */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 575px) {
    .container {
        padding: var(--webmist-light-padding);
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.scroll-top {
  border: 1px solid #111111;
  color: var(--comment);
  cursor: pointer;
  display: block;
  font-family: 'Font Awesome 6 Pro' !important;
  font-size: 21px;
  height: 21px;
  line-height: 21px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  padding: 4px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  text-align: center;
  width: 21px;
  z-index: 2000; 
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;           
}
#wrapper .scroll-top:hover {
  background: var(--border-shadow);
  color: white;
  opacity: 1;
  filter: alpha(opacity=100);                             
}
.site {
    margin: 0 auto; 
    padding: 25px; 
    width: 100%;
    max-width: 1640px;
    background-color: #f8f8f8;
    box-shadow: inset 4px 10px 2px rgba(0, 0, 0, 0.3);
}

/************** HOME PAGE *****************/

/* Top Bar Section */
.top-bar{ 
    background: #fffdee; 
    color: var(--color3); 
    padding: 15px 0; 
}
.top-bar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.searchbox input[type="text"]{
    padding: 7px 10px;
    border: 1px solid #C6C6C6;
}
.searchbox input[type="submit"]{
    padding: 9px 10px;
    background: var(--background2);
    color: #FFFFFF;
    border: none;
}
@media (max-width: 768px) {
    .searchbox {
        display: none;
    }
    .top-bar .container{
        justify-content: center;
    }
}

/* User Control Panel */
.user-menu {
    background-color: #333;
}
.user-menu ul {
    display: flex;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;  
}
.user-menu ul li {
    padding: 5px 10px;
}
.user-menu li a,
.user-menu li span {
    display: block;
    color: #fff;
    text-align: right;
    padding: 10px;
    text-decoration: none;
}

/* Header Content */
.site-content{
    overflow: hidden;
}
.site-title {
    font-family: var(--font-headline), Arial, Helvetica, sans-serif;
    font-size: 56px; 
    line-height: 100%;
    margin: 0; 
    position: relative;
    text-align: center;
    text-shadow: 2px 2px #666666;
    width: 100%;
    z-index: 50;      
}
.site-title a {
  color: #fffdee;
  text-decoration: none;
  -webkit-transition: color 1s ease;
     -moz-transition: color 1s ease;
       -o-transition: color 1s ease;
      -ms-transition: color 1s ease;
          transition: color 1s ease;           
}
.site-title a:hover {
  color: var(--color1);                    
}
.site-description {
    color: #726f5a;
    font-family: var(--font-script), Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 120%;
    margin: 8px 0 0; 
    position: relative;
    text-align: center;
    text-shadow: 1px 1px #666666;
    width: 100%;
    z-index: 50;     
}
/* Main Menu */
.menu-area {
	background: #3d3d3d;
    -webkit-box-shadow: 0 3px 3px -3px #333333;
	-moz-box-shadow:    0 3px 3px -3px #333333;
	box-shadow:         0 3px 3px -3px #333333; 
    z-index: 500; 
}
.main-menu {
    min-height: 45px;
    display: flex;
    justify-content: center;
}
.main-menu ul {
    margin: 0;
    padding-left: 0;
}
.main-menu ul li {
    display: inline-block;
    line-height: 41px;
    position: relative;
}
.main-menu ul li.current_page_item > a{
    font-weight: bold;
}
.main-menu ul li a {
    color: var(--color1);
    padding: 0 30px;
    text-decoration: none;
    display: block;
}
.main-menu ul li a:hover,
.main-menu ul li a:active
{
    background-color: var( --background2 );
    border-radius: 0 0 3px 3px;
    transition: .5s all;
}
.main-menu ul li.current_page_item > a {
    color: #fffdee;
    background-color: var(--background1);
    border-radius: 0 0 3px 3px;
}
.main-menu ul li a:focus + ul
{
    display: block;
}
.main-menu li.menu-item-has-children::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc( 50% - 6px);
    width: 0px;
    height: 0px;
    border-top: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
}
.main-menu ul.sub-menu {
    position: absolute;
    padding-left: 0;
    background-color: var(--background3);
    border-top: 1px solid var(--border2);
    z-index: 1;
    text-align: left;
    display: none;
}
.main-menu ul .menu-item-has-children:hover>ul,
.main-menu ul .menu-item-has-children:focus+ul {
    display: block
}
.main-menu ul.sub-menu li {
    width: max-content;
}
.main-menu ul.sub-menu a {
    color: #FFFFFF;
    border-bottom: 1px dashed #cccccc;
}
.menu-icon,
.check-button {
	cursor: pointer;
	display: none;
}
.menu-icon .bar1, 
.menu-icon .bar2, 
.menu-icon .bar3 {
    width: 28px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}
@media (max-width: 767px){
    .menu-icon,
    .check-button {
		display: block;
	}
    .check-button{
        border: none;
        background: transparent;
        height: 41px;
    }
	.main-menu ul{
		position: absolute;
		width: 100%;
		background: #000000;
		left: -999px;
		text-align: left;
		transition: all cubic-bezier(.79,.14,.15,.86) .5s;
        padding: 0;
        margin: 0;
        z-index: 1;
	}
    .main-menu ul:not(.sub-menu){
        margin-top: 41px;
    }
	.main-menu ul li{
		display: block;
		margin: 15px 0;
		line-height: 30px;
	}
	.main-menu ul li a {
		color: #FFFFFF;
	}
    .main-menu ul.sub-menu{
        position: relative;
        top: 0;
        margin-left: 30px;
        display: block;
        width: auto;
    }
    .main-menu ul.sub-menu a{
        color: var( --webmist-gray1 );
    } 
    .show-dropdown{
        left: 0 !important;
    }  
    .animate-button .bar1 {
        -webkit-transform: rotate(-45deg) translate(-4px, 4px);
        transform: rotate(-45deg) translate(-4px, 4px);
    }
    .animate-button .bar2 {opacity: 0;}
    .animate-button .bar3 {
        -webkit-transform: rotate(45deg) translate(-7px, -7px);
        transform: rotate(45deg) translate(-7px, -7px);
    }
}  

/* Hero */
.hero{
    background-size: cover;
    background-position: center center;
    color: #FFFFFF;
    text-align: center;
}
.hero-items, .hero-items p{
    padding: var( --webmist-light-padding );
    text-align: center;
}
.hero .overlay{
    background: rgb(0 0 0 / 27%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .hero-items h1{
    margin-top: 0;
    font-weight: normal;
}
.hero .hero-items a{
    color: #FFFFFF;
    padding: 15px 25px;
    display: inline-block;
    background: var( --background1 );
    margin: 20px 0 0;
}
.hero .hero-items a:hover{
    background: var( --webmist-yellow );
    transition: .5s all;
}

/* Services */
.services{ 
    background: var( --background3 ); 
    padding: var( --webmist-big-padding ); 
    color: #ffffff; 
}
.services .container{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
.services .container > * {
    flex: 1 1 250px;
}
.services-item{
    padding: var(--webmist-light-padding);
}
.services-item p{
    margin-bottom: 40px;
}
.services-item figure img{ 
    background: var( --background4 );
    padding: 15px; 
}
.services h2{ 
    text-align: center;
    position: relative;  
}
.services h2::after{
    content: '';
    position: absolute;
    background-color: var( --background1 );
    width: 35px;
    height: 5px;
    right: calc( 50% - 15px);
    bottom: 0;
}
.services h4{
    margin: 0;
}
@media (max-width: 768px) {
    .services .container{
        flex-direction: column;
        padding: 0;
    }
    .services-item{
        max-width: 100%;
    }
}

/* Home Blog */
.home .home-blog{
    padding: var( --webmist-big-padding );
}
.home-blog .container article:first-child{
    grid-area: feat-item;
    place-items: center;
}
.home-blog .container{
    display: grid;
    grid-template-areas: 'feat-item feat-item';
    grid-gap: 25px;
}
.home .home-blog h2{ 
    text-align: center;
    position: relative;  
}
.home .home-blog h2::after{
    content: '';
    position: absolute;
    background-color: var( --background1 );
    width: 35px;
    height: 5px;
    right: calc(50% - 0.5rem);
    bottom: 0;
}
.home .home-blog .latest-news{ 
    text-align: center; 
}
.home .home-blog .col-12 .latest-news{  
    margin-bottom: 40px;
}
.home .home-blog .latest-news img{ 
    float: none !important;
    margin: 0 0 25px 0 !important;
}
.home .home-blog .latest-news h3{ 
    color: #000000;
    margin: 0; 
    line-height: 2.6rem;
}
.home .home-blog .meta-info p{ 
    font-weight: bold; 
    margin-bottom: 0; 
}
.home .home-blog .meta-info p:last-child{ 
    margin-top: 5px; 
}
.home .home-blog span, 
.home .home-blog span a{ 
    color: var( --color1 );
    font-weight: normal; 
    text-decoration: none;
    margin: 0 2px 0 0; 
}
.latest-news span.read-more-button a {
    margin: 0;
    padding: 7px 15px;
    color: #fefefe;
    border-radius: 3px;
    background-color: var( --background1 );
    box-shadow: 2px 2px 7px 2px rgba(0, 0, 0, 0.3);
}
.read-more-button {
    margin: 0 5px;
    padding: 3px 7px;
    background-color: var( --background2 );
    box-shadow: 2px 2px 5px 2px rgba(51, 51, 51, 0.5);
    border: none;
}
@media (max-width: 768px) {
    .home-blog .container{
        display: block;
    }
}

/* Footer */
footer{ 
    padding: 15px 0; 
    color: #FFFFFF; 
    font-family: var(--font-print);
    background: #3d3d3d; 
}
footer .container .row{
    align-items: center;
}
#footer {
  display: flex;
  flex-wrap: wrap;
  padding: 0 28px;             
}
#footer p,
#footer ul li,
#footer ol li {
  color: white;
  font-size: 14px;          
}
#footer .footer-widget-area p,
#footer .footer-widget-area ul,
#footer .footer-widget-area ol {
  margin-bottom: 2px;          
}
#footer table,
#footer td,
#footer th {
  border-color: black;
  color: white;                                      
}
#footer a {
  color: var(--color2);          
}
.footer-widget-area {
  float: left;
  height: auto;
  margin-right: 28px;
  padding: 35px 0 10px;
  position: relative; 
  width: 352px; 
  z-index: 50;                
}
#footer .footer-widget-area-3 {
  margin-right: 0;                              
}
.footer-widget {
  float: left;
  margin-bottom: 21px;    
  width: 100%;           
}
#footer .footer-widget .footer-headline {
  border-bottom: 1px dashed #111111;
  color: #fffdee;
  font-family: Lobster, Arial, Helvetica, sans-serif;
  font-size: 21px;
  line-height: 100%;
  margin-bottom: 3px; 
  padding-bottom: 8px;                                
}
.footer-signature { 
  background: #222222;
  float: left;
  position: relative;
  width: 100%; 
  z-index: 50;       
}
.footer-signature .footer-signature-content {
  color: #fffdee;
  font-size: 13px;
  line-height: 22px;
  min-height: 22px;
  padding: 10px 0; 
  text-align: center;                                         
}
.footer-signature .footer-signature-content p {
  color: #fffdee;
  font-size: 13px;
  line-height: 22px;
  min-height: 22px;
  padding: 0;
  text-align: center;                                              
}
.footer-signature .footer-signature-content a {
  color: var(--color2);                                             
}

/* Footer - Footer Menu */
.site-footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-footer .copyright p{
    margin: 0;
}
.footer-menu ul{ 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.footer-menu ul li{ 
    display: inline;  
    margin: 0 15px 0 0;
}
.footer-menu ul li:last-child{ 
    margin: 0; 
}
.footer-menu ul li a{  
    text-decoration: none;
    color: #FFFFFF;
}
.footer-menu ul li.current_page_item a{ 
    font-weight: bold; 
}
@media (max-width: 768px) {
    .site-footer .container{
        justify-content: safe;
    }
}
@media (max-width: 575px) {
    .site-footer .container{
        flex-wrap: wrap;
    }
}

/************** INNER PAGES *****************/

/* Blog, Archive, Search */
.blog main .container,
.archive main .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.blog .blog-items,
.archive .archive-items{
    padding: 0 15px 0 0;
    flex: 1;
}
.blog .blog-items h2,
.archive .blog-items h2{
    margin-top: 0;
}
.blog article{
    margin-bottom: 20px;
}
.blog aside,
.archive aside{
    padding: 25px;
    background: var( --webmist-gray2 );
    height: 100%;
    width: 30%;
}
@media screen and (max-width: 991px ) {
    .blog aside,
    .archive aside,
    .blog .blog-items,
    .archive .archive-items{
        min-width: 100%;
    }
}
.blog h1,
.archive h1{
    text-align: center;
    margin-top: 0;
}
.archive-description{
    text-align: center;
    max-width: 50%;
    margin: 0 auto 30px auto;
}
.archive-description p{
    font-size: 85%;
}
.home #primary > #main{
    padding: 0;
}
#primary > #main{
    padding: var(--webmist-big-padding);
}
@media screen and (max-width: 991px ) {
    #primary > #main{
        padding: var(--webmist-mobile-padding);
    }
}
.meta-info p{
    margin: 0;
}
.wp-post-image{ 
    float: left; 
    margin: 0 15px 10px 0; 
}
@media screen and (max-width: 550px ) {
    .wp-post-image{ 
        width: 100%; 
    }
}
article{ 
    display: inline-block;  
    width: 100%; 
}
article.post h1,
.search h1,
.archive h1{
    font-size: 50px;
    line-height: 4.0rem;
    margin-bottom: 15px;
}
article.post h2{
    line-height: 3rem;
    text-transform: none;
}
article h2{
    line-height: 3rem;
    margin-bottom: 10px;
    text-transform: none;
}
article.post h3,
article.post h4,
article.post h5{
    margin-bottom: 0;
}
.searchform input[type="text"]{
    padding: 7px 10px;
    border: 1px solid #C6C6C6;
}
.searchform input[type="submit"]{
    padding: 11px 10px;
    background: var(--background2);
    color: #FFFFFF;
    border: none;
}
.searchform div{
    display: flex;
}
.searchform input[type=text]{
    max-width: 70%;
}
.searchform input[type=submit]{
    max-width: 70%;
}
.searchform button {
    background-color: var(--background1);
    color: white !important;
    display: inline-block;
    font-size: 13px;
    line-height: 13px;
    margin: 0;
    padding: 6px 8px;
    text-decoration: none;
    border: 2px solid var(--border1);
    border-radius: 3px;
}
.searchform button:hover {
    background-color: var(--background3);
}
@media (max-width: 991px) {
    .blog .container,
    .archive .container{
        flex-wrap: wrap;
    }
}

.entry-content hr,
hr.styled-separator {
	background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
	background-color: transparent !important;
	border: none;
	height: 0.1rem;
	overflow: visible;
	position: relative;
}

.entry-content hr:not(.has-background),
hr.styled-separator {
	color: #6d6d6d;
}

.entry-content hr::before,
.entry-content hr::after,
hr.styled-separator::before,
hr.styled-separator::after {
	background: currentColor;
	content: "";
	display: block;
	height: 1.6rem;
	position: absolute;
	top: calc(50% - 0.8rem);
	transform: rotate(22.5deg);
	width: 0.1rem;
}

.entry-content hr::before,
hr.styled-separator::before {
	left: calc(50% - 0.5rem);
}

.entry-content hr::after,
hr.styled-separator::after {
	right: calc(50% - 0.5rem);
}

/* Posts */
.post-entry {
    border-bottom: 1px dashed #cccccc;
    float: left;
    margin-bottom: 25px;
    position: relative; 
    width: 100%;   
}

.post-meta {
    border-bottom: 1px dashed #cccccc;
    float: left;
    margin-bottom: 25px;
    position: relative; 
    width: 100%;
}

/* Comments */
#commentform input[type="submit"]{     
    color: #FFFFFF;
    padding: 15px 25px;
    display: inline-block;
    background: var( --background1 );
    margin: 20px 0 0; 
    border: none;
}
#commentform input[type="submit"]:hover{
    background: var( --webmist-yellow );
    transition: .5s all;
}
#commentform label{
    display: block;
}
#commentform label[for="wp-comment-cookies-consent"]{
    display: inline;
    margin-left: 5px;
}
#commentform input[type="text"],
#commentform textarea{
    padding: 7px 10px;
    border: 1px solid #C6C6C6;
    width: 100%;
}
.comments-area #reply-title{
    border-top: 1px solid #ebebeb;
    padding: 20px 0 0;
}
ol.comment-list {
    list-style-type: none;
    list-style-image: url('images/pip.png');
}

/* Pagination */
.webmist-pagination{
    display: flex;
    justify-content: center;
}
.breacrumb {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.breadcrumb li {
    float: left;
}
.breadcrumb li {
    display: block;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}
.breadcrumb li.current {
    color: var(--color3);
}
/* Additional CSS */
.linkcat {
    color: var(--color3); 
}
.linkcat ul {
    list-style-type: none;
}
.pages{
    margin-top: 20px;
    padding: 0 25px;
}
.new {
    float: left;
}
.old {
    float: right;
}
.nav-links{
    margin-top: 40px;
}
.nav-links .page-numbers{
    padding: 10px 15px;
    display: inline-block;
    background: var( --background3 );
}
.nav-links .current{
    background-color: #6d6d6d;
    color: #ffffff;
}
.nav-links .next,
.nav-links .prev{
    background-color: transparent;
}
.nav-links .prev{
    padding-left: 0;
}
/*  SIDEBAR */
#sidebar {
  float: right;
  margin: 0 0 0 28px;
  width: 352px;         
}
.sidebar-widget {
  color: #333333;
  float: left;
  font-size: 14px;
  margin-bottom: 25px;  
  width: 100%;             
}
.sidebar-widget .sidebar-headline {
  border-bottom: 1px dashed #cccccc;
  color: #333333;
  font-family: Lobster, Arial, Helvetica, sans-serif; 
  font-size: 21px;
  margin: 0 0 5px;
  padding: 0 0 7px;
  position: relative;                                 
}
.sidebar-widget .sidebar-headline a {
  color: inherit !important;
  text-decoration: none;                                    
}
.sidebar-widget img {
  height: auto;
  max-width: 100%;                    
}
.sidebar-widget p {
  margin: 6px 0 -4px;                  
}
.sidebar-widget p,
.sidebar-widget ul li,
.sidebar-widget ol li {
  color: #333333;                   
}
.sidebar-widget ul { 
  margin: 5px 0 -5px 16px;                      
}
.sidebar-widget ul ul {
  margin-bottom: 0;
  margin-top: 0;                      
}
.sidebar-widget ul li {
  line-height: 200%;                     
}  
.sidebar-widget a {
  color: var(--color2);
  text-decoration: underline;
  -webkit-transition: color 1s ease;
     -moz-transition: color 1s ease;
       -o-transition: color 1s ease;
      -ms-transition: color 1s ease;
          transition: color 1s ease;                       
}
.sidebar-widget ul li a {
  text-decoration: none;                        
}
.sidebar-widget a:hover {
  color: black !important;
  text-decoration: none;                       
}
/* default widgets
-------------------------------------------------------------- */

#wp-calendar th,
#wp-calendar td {
  text-align: center;                   
}
#wp-calendar a,
#wp-calendar #today {
  font-weight: bold;
  text-decoration: none;               
}
#wp-calendar #prev {
  text-align: left;                   
}
#wp-calendar #next {
  text-align: right;                   
}
.tagcloud a {
  text-decoration: none;          
}
.tagcloud a:hover {
  text-decoration: underline;          
}
.sidebar-widget img,
.footer-widget img {
  padding-top: 3px;                           
}
.sidebar-widget .wp-caption,
.footer-widget .wp-caption {
  border: none;
  margin-right: 0;                          
}
.sidebar-widget .wp-caption img,
.footer-widget .wp-caption img {
  max-width: 100%;                           
}
.sidebar-widget select {
  margin-top: 3px;
  width: 100%;                       
}
.sidebar-widget #searchform {
  margin-top: 10px;                       
}

/* =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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.wp-block-latest-comments {
    padding: 10px 20px;
}
.wp-block-latest-comments a{
    margin: 0 10px;
}

/* 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

@media all and (min-width: 768px) {
  .alignfull {
    margin: 30px calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
  }
  .alignwide {
    margin: 30px calc(25% - 25vw);
    }
}