/* === Variables === */
:root {
    --green: #006738;
    --green-light: #2fb473;
    --dark: #0e1015;
    --text: #333;
}

/* === Base === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--text);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

article, figure, footer, header, nav, section {
    display: block;
}

/* === Typography === */
h2, h3, h4 {
    font-family: inherit;
    font-weight: 400;
    color: var(--dark);
    margin: 0 0 24px;
    padding: 0;
    clear: both;
}

h2 { font-size: 45px; line-height: 48px; }
h3 { font-size: 25px; line-height: 30px; }
h4 { font-size: 25px; line-height: 30px; }

@media (max-width: 767px) {
    h2 { font-size: 32px; line-height: 40px; }
    h3 { font-size: 18px; line-height: 26px; }
    h4 { font-size: 18px; line-height: 26px; }
}

p, span {
    margin: 0 0 24px;
    padding: 0;
    font-weight: 500;
    color: var(--text);
    font-size: 16px;
}

@media (max-width: 767px) {
    p { font-size: 12px; }
}

ul {
    margin: 0 0 24px 3em;
    padding: 0;
    list-style: disc;
}

strong { font-weight: 700; }
i { font-style: italic; }

img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

figure { margin: 0; }

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 0 24px;
    width: 100%;
}

/* === Links === */
a, a:visited {
    color: var(--green);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

a:hover, a:focus, a:active {
    color: var(--green-light);
    outline: 0;
}

/* === Layout === */
.container {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.row::after, .container::after {
    content: "";
    display: table;
    clear: both;
}

.col-md-12, .col-md-6, .col-sm-6 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-sm-6 { float: left; width: 50%; }
}

@media (min-width: 992px) {
    .col-md-6  { float: left; width: 50%; }
    .col-md-12 { float: left; width: 100%; }
}

.text-right { text-align: right; }
.text-center { text-align: center; }

/* === Buttons === */
.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0 26px;
    min-width: 150px;
    margin-right: 8px;
    margin-bottom: 24px;
    border: 2px solid #745cf9;
    border-radius: 0;
    background-image: none;
    color: #745cf9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:last-child { margin-right: 0; }

.btn:hover, .btn:focus {
    background: var(--green-light);
    border-color: var(--green-light);
    color: #fff;
    text-decoration: none;
}

.btn:visited { color: #745cf9; }
.btn:visited:hover, .btn:visited:focus { color: #fff; }

.btn-sm {
    min-height: 30px;
    min-width: 0;
    font-size: 11px;
    line-height: 27px;
    padding: 5px 10px;
    border-radius: 3px;
}

/* === Navigation === */
nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    max-width: 100%;
}

nav ul { margin-bottom: 0; }

.nav-container { min-height: 56px; max-width: 100%; }

.main-navigation {
    clear: both;
    display: block;
    width: 100%;
    max-width: 100%;
}

.nav-bar { line-height: 53px; }

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module {
    display: inline-block;
    padding: 0 32px;
}

.module-group { display: inline-block; }
.module.left  { float: left; }
.module.right, .module-group.right { float: right; }

.site-title-container { padding-left: 15px; }

.site-title {
    font-size: 24px;
    line-height: 52px;
    color: var(--green);
    font-weight: 700;
    transition: color 0.3s ease;
}

.site-title:hover, .site-title:focus { color: var(--green); }

.nav-bar .module:not(.site-title-container),
.nav-bar .module-group {
    height: 55px;
}

.nav-bar a:not(.custom-logo-link) {
    display: inline-block;
    height: 55px;
}

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

.main-navigation li {
    float: left;
    position: relative;
}

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

.main-navigation .menu {
    width: 100%;
    height: 55px;
}

.main-navigation .menu li a {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--green);
    transition: color 0.3s ease;
    max-width: 100%;
    white-space: normal;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li a:focus,
.main-navigation .menu li:hover > a,
.main-navigation .menu li:focus > a {
    color: var(--green-light);
}

.main-navigation .menu > li {
    margin-right: 32px;
    float: left;
    position: relative;
    transition: all 0.3s ease;
    color: #4c4c4c;
}

.main-navigation .menu > li:last-child { margin-right: 0; }

@media (max-width: 1120px) {
    .main-navigation .menu > li { margin-right: 24px; }
}

@media (min-width: 992px) {
    .main-navigation ul { display: block; }
    .navbar-collapse.collapse { display: block; }
    .nav-bar .module-group { height: auto; }
}

.collapse { display: none; }

.navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: visible;
    border-top: 1px solid transparent;
}

@media (min-width: 768px) {
    .navbar-collapse { border-top: 0; }
}

.visible-sm, .visible-xs { display: none !important; }

@media (max-width: 767px) {
    .visible-xs { display: block !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm { display: block !important; }
}

.module.widget-handle {
    padding: 0 5px;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin: 0;
}

.module.widget-handle i {
    font-size: 14px;
    line-height: 53px;
    color: var(--green);
}

.mobile-toggle {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    -webkit-appearance: button;
    overflow: visible;
    text-transform: none;
}

.mobile-toggle::-moz-focus-inner { border: 0; padding: 0; }

@media (max-width: 991px) {
    .site-title-container { width: 84%; }

    .main-navigation { position: fixed; z-index: 1; }

    .nav-bar,
    .nav-bar .module-group,
    .nav-bar .module,
    .nav-bar .module:not(.site-title-container) {
        height: auto;
    }

    .nav-bar .module { padding: 0 16px; }

    .nav-bar .module-group { width: 100%; }

    .nav-bar .module-group .module {
        display: block;
        float: none;
        width: 100%;
    }

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

    .collapse.open { display: block; }

    .main-navigation .menu { height: auto; }

    .collapse.open .menu { display: block; }

    .main-navigation .menu a {
        height: auto;
        line-height: 24px;
        padding: 4px 0;
    }

    .main-navigation .menu li {
        line-height: 24px;
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .module.widget-handle {
        border-left: none;
        line-height: 40px;
        min-height: 40px;
        padding: 0 16px;
    }

    .module.widget-handle i { line-height: 40px; }

    .mobile-toggle i { line-height: 53px !important; }

    .navbar-collapse { margin-top: 20px; }

    .main-container { margin-top: 4rem; }
}

/* === Main content === */
.main-container { clear: both; }

section, footer {
    position: relative;
    overflow: hidden;
}

section { padding: 96px 0; }
footer  { padding: 72px 0; }

@media (max-width: 767px) {
    section { padding: 80px 0; }
}

section.content-area { padding-top: 48px; }

.no-sidebar {
    float: none;
    margin: 0 auto;
}

.post-content { margin-bottom: 20px; }

.entry-content::after {
    content: "";
    display: table;
    clear: both;
}

.entry-content figure {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

/* === Footer === */
.bg-dark { background: var(--dark); }

.bg-dark p,
.bg-dark span,
.bg-dark li { color: #fefefe; }

footer.bg-dark a { color: #fff; }

.footer h4 { color: #fff; }

.social-list {
    margin: 0;
    font-size: 18px;
}

.list-inline {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

.list-inline > li {
    display: inline-block;
    padding: 0 8px;
}

.list-inline > li:first-child { padding-left: 0; }
.list-inline > li:last-child  { padding-right: 0; }

#social {
    background: transparent;
    float: right;
}

#social li { display: inline-block; }

#social li, #social ul {
    border: 0 !important;
    list-style: none;
    padding-left: 10px;
    text-align: center;
}

.bg-dark .social-list a {
    color: #fff;
    transition: color 300ms ease;
}

.bg-dark .social-list a:hover,
.bg-dark .social-list a:focus {
    color: var(--green-light);
}

.fade-half { opacity: 0.5; }

.back-to-top {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(-50%);
    height: 36px;
    width: 36px;
    padding: 5px 11px;
}

.back-to-top .fa { font-size: 18px; color: #fff; }

.bg-dark .back-to-top { border-color: #fff; }

.bg-dark .back-to-top:hover,
.bg-dark .back-to-top:focus { background: none; }

@media (max-width: 767px) {
    .mb-xs-24 { margin-bottom: 24px; }
}

/* === Utilities === */
.green { color: var(--green); }

.green h1, .green h2, .green h3, .green h4, .green h5, .green h6,
.green p {
    color: inherit;
}

.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;
    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: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
