/*
Theme Name: Amograine
Theme URI: https://amograine.be
Author: bhen
Author URI: https://bhen.be/
Description: Custom theme for Amograine
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amograine
Tags: 
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body{
    color: #5B4044;
}

h1{
    max-width: 27ch;
}

.navbar-toggle{
    border-color: white;
    color: white;
}

.navbar-toggle:hover{
    background-color: white;
    color: #D50029;
}

.site-header{
    background: white none;
}

.site-header .site-header-bg{
    background: white none;
} 

.site-header .row-second{
    border-top: 10px solid #FFC000;
    background: #D50029 none;
} 

@media(min-width: 768px){
    .site-header{
        background: white url("./assets/images/site-header.jpg") no-repeat top center;
        min-height: 373px;
    }

    .site-header .site-header-bg{
        border: none;
        background: transparent url("./assets/images/navbar-bg.png") repeat-x bottom center;
        min-height: 373px;
    }

    .site-header .row-second{
        padding-top: 72px;
        border-top: none;
        background: transparent none;
    } 
}

.site-header .col-brand{
    padding: 44px;
    height: 258px;
}

.site-header .col-brand img{
    width: 100%;
    height: auto;
    max-height: 160px;
}

@media(min-width: 768px){
    .site-header .col-brand img{
        max-height: 215px;
    }
}

@media(min-width: 992px){
    .site-header .col-brand img{
        max-height: 215px;
    }
}

@media(min-width: 1200px){
    .site-header .col-brand img{
        max-height: 215px;
    }
}

.main-navigation.navbar{
    margin-bottom: 0;
}

.site-content{
    padding-bottom: 32px;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6{
    font-family: "exo 2", sans-serif;
    font-weight: bold;
}

.site-header .navbar a{
    padding-top: 4px;
    padding-bottom: 4px;
}

@media(min-width: 768px){
    .site-header .navbar a{
        border-right: 1px solid white;
    }
}

.site-header .navbar li:last-child a{
    border-right: none;
}

.site-header .navbar a:hover{
    text-decoration: underline;
}



.site-subcontent,
.site-contact{
    background: #66bfb9 url("./assets/images/subcontent-bg.png") repeat-y top right;
    color: white;
    padding: 44px 0;
}

.site-subcontent .flex{
    display: flex;
    flex-flow: row wrap;
}

h3.widget-title{
    font-size: 24px;
}

#text-2 .textwidget,
#text-3 .textwidget{
    margin-top: 24px;
    padding: 16px;
    background-color: #fcc200;
    border: 1px solid white;
    border-radius: 12px;
    box-shadow: 4px 4px 8px rgba(0,0,0,.2);
    color: white;
    font-size: 20px;
    font-weight: bold;
}

#text-3 .textwidget{
    float: right;
    max-width: 32ch;
}

#text-2 .textwidget p,
#text-3 .textwidget p{
    margin: 0;
    padding: 0;
}

#text-2 .textwidget a,
#text-3 .textwidget a{
    color:#c30030;
}

.site-subcontent .widget{
    padding: 16px;
}

.site-contact .custom-html-widget{
    position: relative;
    padding-right: 210px;
}

#custom_html-10 .custom-html-widget{
    padding-right: 0;
}

.site-contact .custom-html-widget .red-box{
    position: absolute;
    top: 0;
    right: 0;
    max-width: 210px;
    background-color: #c30030;
    padding: 16px;
    border-radius: 8px;
    color: white;
}

.site-contact .custom-html-widget .red-box b{
    display: block;
    font-size: 18px;
}

.site-subcontent .widget-title,
.site-contact .widget-title{
    font-family: "exo 2", sans-serif;
}

.site-contact .widget-title{
    border-bottom: 2px solid white;
}

.facebook-row{
    padding: 16px 0;
    color: white;
    background-color: #c30030;
}

.facebook-row .icon-facebook-squared{
    font-size: 24px;
}

.facebook-row a{
    color: white;
    font-weight: bold;
}

.site-footer{
    padding: 44px 0;
    font-size: 14px;
}

/*** update gutenberg ***/
.wp-block-media-text {
    gap: 16px;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0;
}

/*** update homepage ***/
.panel.panel-default {
    border-radius: 4px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
}

.panel-body h3 {
    margin-top: 0;
    color: hsla(351, 92%, 44%, 1);
    font-size: 28px;
}

.panel-category .panel-body {
    min-height: 210px;
}

.panel-category {
    position: relative;
}

.panel-category a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #5B4044;
}

.panel-category a:hover,
.panel-category a:focus,
.panel-category a:active {
    color: #5B4044;
    text-decoration: underline;
    font-weight: bold;
}

.panel-category a span {
    position: absolute;
    bottom: 10px;
    left: 16px;
}

.panel-category .panel-footer {
    min-height: 45px;
}

.categories-list {
    margin-top: 64px;
    margin-bottom: 64px;
}

.col-contact-single {
    background-color: #FFB42F;
    margin-top: 32px;
    margin-bottom: 128px;
    padding: 3rem;
}

.col-contact-single h2 {
    margin-top: 0;
    color: #B20720;
}

.col-contact-single p {
    margin-top: 16px;
    margin-bottom: 0;
}

.col-contact-single a,
.col-contact-single a:hover,
.col-contact-single a:focus,
.col-contact-single a:active {
    color: #B20720;
}

@media (min-width: 1200px) {
    .col-contact-single {
        background-color: #FFB42F;
        background-image: url('./assets/images/contact-picture.jpg');
        background-repeat: no-repeat;
        background-position: top right;
        background-size: contain;
        min-height: 280px;
        padding-right: 400px;
    }
}