/*
Theme Name:	D4B ACADEMY
Theme URI:	https://www.digitalforbusiness.com
Description:	D4B ACADEMY is a child theme of WP Bootstrap Starter, created by ChildTheme-Generator.com
Author:		marcognu
Author URI:	https://www.digitalforbusiness.com
Template:	wp-bootstrap-starter
Version:        1.0.0
Text Domain:	d4b-academy
*/


.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#page {
    min-height: 100%;
}

/**
    Navigation
**/

/* logo */
.navbar-brand > a > img {
    max-width: 200px;
    height: auto;
}

/* primary menu */
.navbar-nav > li > a {
    text-transform: uppercase;
    /*color: #000 !important;*/
}
.nav-link {
    text-shadow: none !important;
}

li.margin-dx {
    margin-right: 50px;
}

li.active > a.nav-link {
    color: #0693e3 !important;
    font-weight: bold !important;
}
li > a.nav-link:hover {
    color: #00aa96 !important;
    font-weight: bold !important;
}

#content.site-content {
    padding-top: 0;
}

img.img-cmp-logo {
    float: right;
    margin: -34px 0 0 0;
}

h3.centered {
    margin: 0 auto;
    text-align: center;
}

/**
    BODY
**/
.entry-header {
    margin-top: 30px;
}
ul.wp-block-latest-posts {
    list-style: none;
}

ul.wp-block-latest-posts > li {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #0693e3;
    border-color: #0693e3;
}
ul.wp-block-latest-posts > li:hover {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #00aa96;
    border-color: #00aa96;
}

ul.wp-block-latest-posts > li > a {
    color: #fff;
}
ul.wp-block-latest-posts > li > a:hover {
    color: #fff;
    text-decoration: underline;
}

.spacer {
    margin: 10px 0;
}
.bottom-spacer {
    height: 100px;
}

/**
    FIXED FOOTER
**/

footer {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    margin: 0 0 0 -15px;
}

#footer-widget {
    padding: 20px 0 0 0;
}

footer#colophon {
    /*padding: 20px 0 0 0;*/
    padding: 0;
    background-color: #0a568a !important;
    color: #fff;
}

.site-info {
    margin: 18px auto;
    text-align: center;
}

/* Footer Logo */
.left-footer-logo {
    margin: 0 auto;
    text-align: center;
}
.right-footer-logo {
    margin: 0 auto;
    text-align: center;
}
.left-footer-logo > a > img,
.right-footer-logo > a > img {
    width: 100px;
    height: auto;
}

.footer-logo {
    margin: 0 30px;
    height: 50px !important;
    width: auto !important;
}
.as0-footer-logo-fix {
    margin-top: 10px;
}

/**
    SDM Download
**/

.sdm_download_button {
    margin-right: 15px;
}

/**
    GRAVITY FORMS
**/

/* GForm Style */
.gfield {
    margin-bottom: 50px !important;
}

.gquiz-correct-choice {
    color: #00a800;
}

.gquiz-incorrect-choice {
    color: #ff0000;
}

.gquiz-answer-explanation {
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-style: italic;
    background-color: #f8f9fa;
}

span.passed {
    color: #00a800;
    font-weight: bold;
}

span.failed {
    color: #ff0000;
    font-weight: bold;
}

/* Responsive Wordpress Video Shortcode */
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
    border: 1px solid #E7E9EB;
}
.mejs-container {
    padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
    max-width: 100% !important;
}
video.wp-video-shortcode {
    position: relative;
}
.mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
/*.mejs-controls {
    display: none;
}*/
.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}

/* Login Form */
/*.pm-login-links-box.pm-difr.pm-pad10,
.pm-login-links-box.pm-dbfl {
    display: none !important;
}*/

.pm-group-view .pm-header-section {
    height: 100px !important;
}
.pmagic .pm-group-view .pm-profile-title {
    margin: 1em 0px 0px 30px !important;
}

.pseudo-button:hover {
    background-color: #eee;
}
.pseudo-button > div > div > figure > a > img:hover {
    filter: none;
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(1000%);
    cursor: pointer;
    transition: all 300ms ease;
}
