/*!
Theme Name: Custom Theme
Theme URI: https://sparkcan.com/
Author: Branko
Author URI: https://sparkcan.com/
Description: Custom made theme for countingsheep.net
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&family=Lora:wght@400;500;600;700&display=swap');

body {
    font-family: "Inter", sans-serif !important;
    font-size: 20px;
    line-height: 30px;
    color: #212529;
}

h1 {
    font-family: "Lora", sans-serif !important;
    color: #31373c;
    font-weight: 500;
}

h2 {
    font-size: 40px;
    font-weight: 500;
    color: #31373c;
}

h3 {
    font-size: 28px;
    font-weight: 500;
    color: #31373c;
}
h2 a {
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
}
h2 a:hover {
    color: #dbdbdb !important;
}

#header {
    background: #f7fbff;
}

nav.uk-navbar-container.uk-container.uk-navbar {
    background: white;
}
a.uk-navbar-item.uk-logo {
    font-family: 'Lobster', sans-serif;
    font-size: 32px;
    color: #444444;
}

nav.nav-scroll {
    position: relative;
    z-index: 2;
    height: 2rem;
    box-sizing: border-box;
    overflow-y: hidden;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.075);
    line-height: 1em;
}
nav.nav-scroll > ul {
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}
nav.nav-scroll > ul > li > a {
    font-weight: 500;
}
.news-slide > li > .uk-card {
    box-shadow: none;
    border:  1px solid rgba(0,0,0,0.075);
}

.uk-logo > img {
    max-height: 58px;
}
#header.uk-sticky-below {
    box-shadow: 0 2px 14px 0 rgba(0,0,0,0.07);
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.single {
    background:  linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(53,73,85,1) 0%, rgba(53,73,85,1) 100%);
}

#background-wrap {
    bottom: 0;
    left: 0;
    padding-top: 50px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    background: #354955;
}

/* KEYFRAMES */

@-webkit-keyframes animateCloud {
    0% {
        margin-left: -1000px;
    }
    100% {
        margin-left: 100%;
    }
}

@-moz-keyframes animateCloud {
    0% {
        margin-left: -1000px;
    }
    100% {
        margin-left: 100%;
    }
}

@keyframes animateCloud {
    0% {
        margin-left: -1000px;
    }
    100% {
        margin-left: 100%;
    }
}

/* ANIMATIONS */

.x1 {
    -webkit-animation: animateCloud 35s linear infinite;
    -moz-animation: animateCloud 35s linear infinite;
    animation: animateCloud 35s linear infinite;

    -webkit-transform: scale(0.65);
    -moz-transform: scale(0.65);
    transform: scale(0.65);
}

.x2 {
    -webkit-animation: animateCloud 20s linear infinite;
    -moz-animation: animateCloud 20s linear infinite;
    animation: animateCloud 20s linear infinite;

    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    transform: scale(0.3);
}

.x3 {
    -webkit-animation: animateCloud 30s linear infinite;
    -moz-animation: animateCloud 30s linear infinite;
    animation: animateCloud 30s linear infinite;

    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    transform: scale(0.5);
}

.x4 {
    -webkit-animation: animateCloud 18s linear infinite;
    -moz-animation: animateCloud 18s linear infinite;
    animation: animateCloud 18s linear infinite;

    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.4);
}

.x5 {
    -webkit-animation: animateCloud 25s linear infinite;
    -moz-animation: animateCloud 25s linear infinite;
    animation: animateCloud 25s linear infinite;

    -webkit-transform: scale(0.55);
    -moz-transform: scale(0.55);
    transform: scale(0.55);
}

/* OBJECTS */

.cloud {
    background: #fff;
    background: -moz-linear-gradient(top,  #fff 5%, #f1f1f1 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#fff), color-stop(100%,#f1f1f1));
    background: -webkit-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
    background: -o-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
    background: -ms-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
    background: linear-gradient(top,  #fff 5%,#f1f1f1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f1f1f1',GradientType=0 );

    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;

    -webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);

    height: 120px;
    position: relative;
    width: 350px;
}

.cloud:after, .cloud:before {
    background: #fff;
    content: '';
    position: absolute;
    z-indeX: -1;
}

.cloud:after {
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;

    height: 100px;
    left: 50px;
    top: -50px;
    width: 100px;
}

.cloud:before {
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;

    width: 180px;
    height: 180px;
    right: 50px;
    top: -90px;
}

.uk-subnav>*>:first-child {
    color: #fdfdfd;
}
.uk-subnav>.current-menu-item>a {
    color: #77a8f1;
    font-weight: 700;
    font-size: 15px;
}

hr.uk-margin-remove {
    border-color: #909090;
}

.uk-remove-padding-top {
    padding-top: 0 !important;
}

.uk-remove-padding-bottom {
    padding-bottom: 0 !important;
}

.single-pagination .nav-links .nav-previous {
    float: left;
}

.single-pagination .nav-links .nav-next {
    float: right;
}

.single-pagination .nav-links .nav-next, .single-pagination .nav-links .nav-previous {
    font-size: 16px;
}

span.edit-link a, span.comments-link a, .cat-links a, .tags-links a {
    color: #7b7b7b;
}

.search-pagination .nav-links:after {
    content: '';
    display: block;
    clear: both;
}

.search-pagination .nav-previous {
    float: right;
}

.search-pagination .nav-next {
    float: left;
}

.search-pagination .nav-previous, .search-pagination .nav-next {
    display: block;
    width: 150px;
}
.search-pagination .nav-previous a, .search-pagination .nav-next a {
    background: #ffffff;
    text-align: center;
    padding: 15px;
    border: 1px solid #5a5a5a;
    display: block;
    width: 100%;
    cursor: pointer;
    color: #5a5a5a;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: all 0.3s;
}

.search-pagination .nav-previous a:hover, .search-pagination .nav-next a:hover {
    background: #f3f3f3;
}

.page-title {
    font-size: 2rem;
}

h2.uk-text-bold.uk-h1.uk-margin-remove-adjacent.uk-margin-remove-top a {
    color: white;
}

.archive-description {
    padding: 25px;
    background: white;
    border: 1px solid #dadada;
}

span.uk-text-small.author-description {
    padding: 20px;
    display: block;
    background: white;
    margin-top: 20px;
    color: #676767;
    border: 1px solid #dadada;
}

iframe {
    width: 100%;
    min-height: 350px;
    margin: 20px 0;
}

h3#reply-title {
    text-transform: uppercase;
}

.uk-comment {
    background: #efefef;
    padding: 30px;
}

footer.uk-section.uk-section-small.uk-section-muted.uk-footer {
    background: rgb(23, 23, 23);
}

footer.uk-section.uk-section-small.uk-section-muted.uk-footer-alt {
    background: #222;
}

section.footer-area.footer-area-one {
    text-align: center;
}

section.footer-area.footer-area-one ul#menu-footer-widget {
    padding: 0;
    list-style: none;
    margin: 0;
}

section.footer-area.footer-area-one ul#menu-footer-widget > li {
    display: inline-block;
    margin-right: 25px;
}

section.footer-area.footer-area-one ul#menu-footer-widget > li > a {
    font-size: 18px;
    color: #777777;
}

section.footer-area.footer-area-two ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

section.footer-area.footer-area-two ul > li {
    display: inline-block;
    margin-right: 25px;
    width: 245px;
}

section.footer-area.footer-area-two ul > li > a {
    font-size: 15px;
    color: #2f86e2;
}

.footer-area-two h4 {
    color: #767676;
}

.uk-text-white {
    color: white;
}

ul.sub-menu {
    display: none;
}

.uk-background-whitesmoke {
    background: whitesmoke;
}

ul#menu-mainmenu {
    padding: 0;
    list-style: none;
    margin: 0;
}

ul#menu-mainmenu > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: auto;
    transition: all 0.3s;
    border-radius: 5px;
}

ul#menu-mainmenu > li:hover, ul#menu-mainmenu ul.sub-menu > li:hover, #menu-mainmenu li.current-menu-item {
    background: #edf0f385;
}

ul#menu-mainmenu > li:hover > a, ul#menu-mainmenu ul.sub-menu > li:hover > a {
    color: #4d555c !important;
}
#menu-mainmenu li.current-menu-item > a {
    color: #4d555c !important;
    font-weight: bold !important;
}

ul#menu-mainmenu > li > a {
    color: #31363c;
    font-weight: 500;
    text-decoration: none !important;
    padding: 15px;
    display: block;
    line-height: 17px;
}

ul#menu-mainmenu .menu-item-has-children {
    position: relative;
}

ul#menu-mainmenu ul.sub-menu {
    position: absolute;
    padding: 0;
    list-style: none;
    z-index: 9999;
    border-radius: 0 0 5px 5px;
    box-shadow: -3px 6px 10px -3px #c1c1c1a6;
}

ul#menu-mainmenu ul.sub-menu > li {
    transition: eall 250ms ease-in;
    padding-inline: 1rem;
}

ul#menu-mainmenu ul.sub-menu >  li > a {
    font-weight: 400;
    text-decoration: none !important;
    padding: 1.2rem 26px;
    display: block;
    width: max-content;
}

div#author-wrap {
    background: white;
    padding: 40px 30px;
}

span.by-notes {
    display: block;
    font-weight: 700;
    font-size: 16px
}

a.by-notes-a {
    display: block;
    margin-bottom: 45px;
    font-size: 20px;
}

.jumbotron {
    background: #354954;
    padding: 50px 0;
}

.section-bg {
    /*background: #354954;*/
    background: #f7fbff;
}

.uk-container.uk-container-small.uk-background-whitesmoke {
    padding-top: 50px;
    padding-bottom: 50px;
}

#offcanvas-nav #menu-mainmenu > li > a {
    font-size: 18px;
    margin-bottom: 10px;
    color: #d6d6d6;
    padding: 5px 10px;
}

#offcanvas-nav ul.sub-menu {
    margin-left: 20px;
    display: block !important;
}

#offcanvas-nav ul.sub-menu li > a {
    font-size: 15px;
    margin-bottom: 10px;
    padding: 5px 10px;
}

.uk-container {
    padding-left: 76px !important;
    padding-right: 76px !important;
}

.uk-container.cs-top-section {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    position: relative;
    z-index: 1;
    padding-block: 4rem;
}
.uk-container.cs-top-section:before {
    content: "";
    position: absolute;
    display: block;
    inset: 0;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: -1;
}

.uk-container.cs-top-section:after {
    position: absolute;
    inset: 0;
    display: block;
    background-image: linear-gradient(91deg, #2d3338, #31373c, #2d3338);
    z-index: -1;
}

.uk-container.cs-top-section > .cs-excerpt {
    width: 75%;
}
.cs-title h1 {
    font-size: 60px;
    font-weight: 500;
}
.cs-excerpt > p {
    margin-bottom: 7px;
}
.cs-excerpt .cs-text {
    font-size: 20px;
}
.cs-author {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.cs-author-text h4 {
    margin: 0;
    display: inline;
    color: white;
    font-size: inherit;
}
.cs-author-text {
    color: white;
    font-size: 0.9rem;
    align-self: flex-start;
}
.cs-author-img {
    flex-shrink: 0;
}
.cs-author-img img {
    border-radius: 6px;
}

.cs-author-cell {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    z-index: 2;
}
span.cs-author-title {
    font-style: italic;
    font-weight: 300;
}

/* Hide the sub-menus by default */
#menu-mainmenu ul {
    display: none;
}

/* Show the first sub-menu below the parent menu item */
#menu-mainmenu > li > ul {
    display: none;
    position: absolute; /* added for positioning the sub-menu */
    top: 100%;
    left: 0;
}

/* Show subsequent sub-menus on the right side */
#menu-mainmenu ul ul {
    display: none;
    position: absolute; /* added for positioning the sub-menu */
    top: 0;
    left: 100%;
}

/* Style the sub-menu */
#menu-mainmenu ul {
    background-color: #f7fbff;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    min-width: 200px; /* added for a minimum width */
}

/* Style the sub-menu items */
#menu-mainmenu ul li > a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

/* Add arrows to items that have sub-menus */
#menu-mainmenu li.menu-item-has-children > a:after {
    content: '⮞';
    font-size: 10px;
    color: #31363c;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 200ms ease;
}

/* Rotate arrow for items that have sub-menus and are open */
#menu-mainmenu li.open > a:after {
    transform: translateY(-50%) rotate(270deg);
}
.cs-main-top-section {
    background: #1b2024;
}
.no-padding.cs-main-top-section {
    padding: 0;
}
.uk-container.uk-background-white {
    background: white;
}
.uk-container.container-shadow {
    box-shadow: 0 0 15px -4px #c5c5c5;
}

.uk-padding-top {
    padding-top: 3.5rem;
}
.cs-excerpt {
    margin-block: 0 3rem;
}

.nav-image-cover {
    position: relative;
    isolation: isolate;
    min-height: 120px;
    overflow: hidden;
    display: grid;
    border-radius: 10px;
}
.nav-image-cover .post-title {
    font-size: 1.3rem;
    color: #fdfdfd;
    font-weight: bold;
    background: linear-gradient(360deg, transparent, #16161629, #31363c85 , #31363cdb);
    padding: 1rem 2rem;
    z-index: 2;
}
.nav-image-cover img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    z-index: 1;
    width: 100%;
    filter: blur(3px) grayscale(60%);
    --webkit-filter: blur(3px) grayscale(60%);
}
.nav-previous .nav-image-cover .post-title {
    text-align: left;
}
.nav-next .nav-image-cover .post-title {
    text-align: right;
}
.single-pagination .nav-links {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
#header > .uk-container {
    padding-bottom: 20px;
}

a.read-more {
    display: none;
}
.uk-padding-bottom {
    padding-bottom: 3.5rem;
}
img.cs_post_icon {
    position: absolute;
    bottom: 76px;
    right: 76px;
    width: 220px;
    z-index: 1;
    object-fit: contain;
    filter: grayscale(0.4);
    opacity: 0.4;
}