/*
Theme Name: FA Education
Description: Based on Divi by Elegant Themes
Template: Divi
Version: 1.0
Author: Eric Steur | stom!
Author URI: https://www.stom.nu

*/

@import url("https://fa-education.stom.dev/wp-content/themes/Divi/style.css");

/*set the default background color of the header section*/
.fa-header {
	background: transparent;
	-webkit-transition: background-color 2s ease-out;
	-moz-transition: background-color 2s ease-out;
	-o-transition: background-color 2s ease-out;
	transition: background-color 2s ease-out;
}


/*set the background color of the fixed header when scrolling*/
.fa-fixed-header {
	background-color: #ffffff!important;
	-webkit-transition: background-color 2s ease-out;
	-moz-transition: background-color 2s ease-out;
	-o-transition: background-color 2s ease-out;
	transition: background-color 2s ease-out;
}

/*style the wp-pagenavi pagination links*/

.wp-pagenavi a,
.wp-pagenavi span {
	color: #000000;
	background: #cfe8c6;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 0.45em 0.8em !important;
	border-radius: 100px;
  border: none;
	transition: all .5s;
}


/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #2eb659 !important;
	border-radius: 100px;
}

/*style the tags on single blog posts*/

.fa-post-tag-links {
		font-weight: bold!important;
}

/*style the categories on single blog posts*/
.fa-post-tag-links a {
	background: #cfe8c6;
	padding: .5em 1em;
	border-radius: 10px;
	color: #0b1f3a;
	font-size: .8em;
	transition: .3s ease all;
}
/*style the categories on hover on single blog posts*/
.fa-post-tag-links a:hover {
	background: #2EB659;
	color: #ffffff;
	transition: .3s ease all;
}


/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #2EB659!important;
}


/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	background: none;
}


/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	border-top: none;
	text-align: center;
}

.artikel-overzicht {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 20px 0;
}

.artikel-blok {
    display: flex;
    width: 100%;
    background: #cfe8c6;
    border: 1px solid #b5d1ab;
    overflow: hidden;
}

/* Afbeelding links */
.artikel-afbeelding {
    flex: 0 0 280px;
    width: 280px;
    min-height: 220px;
    overflow: hidden;
}

.artikel-afbeelding a {
    display: block;
    width: 100%;
    height: 100%;
}

.artikel-afbeelding img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inhoud rechts */
.artikel-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 30px;
}

.artikel-titel {
    margin: 0 0 12px 0;
    font-size: 22px;
    line-height: 1.3;
}

.artikel-titel a {
    color: #333;
    text-decoration: none;
}

.artikel-beschrijving {
    margin-bottom: 20px;
    font-size: 15px;
    color: #446;
    line-height: 1.6;
}

.artikel-actie {
    margin-top: auto;
    align-self: flex-end;
}

@media (max-width: 767px) {
    .artikel-actie {
        align-self: flex-start;
    }
}

.artikel-knop,
.artikel-knop:link,
.artikel-knop:visited,
.artikel-knop:hover,
.artikel-knop:focus,
.artikel-knop:active {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;

    background-color: #2eb659 !important;
    color: #ffffff !important;

    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;

    opacity: 1 !important;
    text-shadow: none !important;
}

/* Hover alleen de achtergrond veranderen */
.artikel-knop:hover {
    background-color: #1f8f45 !important;
    color: #ffffff !important;
}

/* Mobiel */
@media (max-width: 767px) {

    .artikel-blok {
        flex-direction: column;
    }

    .artikel-afbeelding {
        flex: none;
        width: 100%;
        height: 220px;
        min-height: 0;
    }

    .artikel-content {
        padding: 20px;
    }

    .artikel-titel {
        font-size: 20px;
    }
}

/* Knoppen op Mijn account > Bestellingen */
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-account .woocommerce-orders-table .woocommerce-button {
    color: #fff !important;
	margin:10px;
}

/* Hover */
.woocommerce-account .woocommerce-orders-table .button:hover,
.woocommerce-account .woocommerce-orders-table .woocommerce-button:hover {
    color: #fff !important;
}

/* Knoppen op de pagina 'Bestelling bekijken' */
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce input.button {
    color: #fff !important;
}

/* Hover */
.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce input.button:hover {
    color: #fff !important;
}

/* Alleen op Mijn Account > Downloads */
.woocommerce-account .woocommerce-message .wc-forward,
.woocommerce-account .woocommerce-info .wc-forward {
    display: none !important;
}

.fa-checkout-quantity {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.fa-checkout-quantity button {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    background: #f5f5f5;
    color: #333;
    cursor: pointer;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
}

.fa-checkout-quantity button:hover {
    background: #e8e8e8;
}

.fa-checkout-quantity input {
    width: 42px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #333;
    text-align: center;
    font-size: 14px;
}

/* Pijltjes van het number input verwijderen */
.fa-checkout-quantity input::-webkit-outer-spin-button,
.fa-checkout-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fa-checkout-quantity input[type="number"] {
    -moz-appearance: textfield;
}


/*
 * Tijdens het bijwerken eventueel subtiel aangeven
 * dat WooCommerce bezig is.
 */
body.fa-checkout-updating .fa-checkout-quantity {
    opacity: 0.6;
    pointer-events: none;
}

.fa-vertical-menu nav ul {
    display: block !important;
}
.fa-vertical-menu nav ul li {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}
