/*
Theme Name: Susteinability Pro
Theme URI: http://kuantero.com
Author: Kuantero
Description: Combination of Automattic´s _s theme and Bootstrap 4. Made as a solid starting point for your next theme project and WordPress website. Use it as starter theme or as a parent theme. It is up to you. Including Font Awesome support, built-in widget slider and much more you need for basic websites. IMPORTANT: All developer dependencies are not bundled with this install file. Just download the .zip, extract it and run "npm install" and "gulp copy-assets" inside the extracted /understrap folder.
That downloads everything and moves it in place so that you can recompile your CSS and JS files;
A developer version (with Gulp/node and Sass sources) is available on gitHub: https://github.com/understrap/understrap
A child theme is available on Github, too: https://github.com/understrap/understrap-child;
Version: 0.8.8
License: UnderStrap WordPress Theme, Copyright 2013-2017 Holger Koenemann
UnderStrap is distributed under the terms of the GNU GPL version 2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
UnderStrap is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.

Resource Licenses:
Font Awesome: http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
Bootstrap: http://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (Code licensed under MIT, documentation under CC BY 3.0.)
Owl Carousel 2: http://www.owlcarousel.owlgraphic.com/ | https://github.com/smashingboxes/OwlCarousel2/blob/develop/LICENSE (Code licensed under MIT)
and of course
jQuery: https://jquery.org | (Code licensed under MIT)
WP Bootstrap Navwalker by Edward McIntyre: https://github.com/twittem/wp-bootstrap-navwalker | GNU GPL
*/

/*
This file is just used to identify the theme in WordPress.
The compiled CSS output can be found in /css/theme.css
The SASS sources for it can be found in /sass/
The dependencies can be found in /src/ after running "gulp copy-assets" terminal command

...and now go out and play!
*/

:root {
    --theme-color: #24598f;
    --theme-secondary-color: rgba(16, 153, 105, 0.28);
    --border-color: #ced4da;
    --border-radius: 0.25rem;
}

body {
    font-family: "Roboto", sans-serif;
    background: #f5f5f5;
}
body .bg-primary {
    background-color: var(--theme-color) !important;
}
body .bg-secondary {
    background-color: var(--theme-secondary-color) !important;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Oswald", sans-serif;
}
.btn {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}
.btn-primary {
    border-color: var(--theme-color);
    background-color: var(--theme-color);
}
.btn-primary:hover {
    border-color: var(--theme-secondary-color);
    background-color: var(--theme-secondary-color);
}
a {
    color:  var(--theme-color);
}
.top-nav {
    padding: 5px 0;
    font-family: "Oswald", sans-serif;
}
.top-nav .top-menu {
    display: flex;
}
.top-nav .navbar-nav {
    flex-direction: row;
}
.top-nav .navbar-nav li a {
    padding: 3px 10px;
    color: #fff;
}
.top-nav .navbar-nav .dropdown-menu,
.top-nav .navbar-nav .dropdown-menu li {
    background: var(--theme-color);
}
.top-nav .navbar-nav .dropdown-menu .dropdown-item:hover {
    background: var(--theme-secondary-color);
}

.navbar .navbar-brand {
    max-width: 100px;
    margin-top: -50px;
}
.navbar .navbar-nav .menu-item .nav-link {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    color:  var(--theme-color);
    font-family: "Oswald", sans-serif;
}
.navbar .navbar-nav .menu-item .nav-link:hover {
    color:  var(--theme-secondary-color);
}

/*.home #wrapper-navbar {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    top: 0;*/
/*    z-index: 999;*/
/*    background: rgba(255,255,255,0.9);*/
/*}*/
/*.home.admin-bar #wrapper-navbar {*/
/*    top: 32px;*/
/*}*/

.homepage-section {
    padding: 60px 0;
}
.homepage-section:nth-of-type(2) {
    background: #fff;
}
.homepage-section .wp-block-columns .wp-block-column {
    align-content: start;
}
.homepage-section img {
    border-radius: 6px;
}
.homepage-section .wp-block-columns .wp-block-column > .fa {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 20px;
    color: var(--theme-color);
    border-radius: 100%;
    border: 1px solid var(--theme-color);
    background: rgba(36, 89, 143, 0.20);
}

.articles-filter-form .fs-wrap {
    width: 100%;
}
.articles-filter-form .fs-label-wrap {
    padding: 4px;
    border-radius: var(--border-radius);
    border-color: var(--border-color);
}
.articles-filter-form .fs-dropdown {
    width: calc(100% - 30px);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}
.article-card .article-image {
    position: relative;
    overflow: hidden;
    position: relative;
}
.article-card .wp-post-image {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: all 0.3s ease;
}
.article-card .article-image:hover .wp-post-image {
    transform: scale(1.1);
}
.article-card .article-image .badge {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 1;
    color: #fff;
}
.article-card .article-title {
    font-size: 1rem;
}
.article-card .article-title a:hover {
    color: var(--theme-secondary-color);
    text-decoration: none;
}

.footer-full .menu {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.footer-full .menu li a {
    color: var(--theme-color);
}
.footer-full .menu li a:hover {
    color: #000;
}
.footer-full .footer-widget:last-of-type {
    text-align: center;
}
@media (min-width: 767px) {
    .footer-full .menu {
        margin: 0;
        flex-direction: row;
        align-items: start;
    }
    .footer-full .footer-widget:last-of-type {
        text-align: right;
    }
}

