/*
Theme Name: Staged Construction College Theme
Author: Lee - Walsall College
Description: Lees Master Bootstrap Theme used to build projects upon
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
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 Signed Lee.
*/

/***************************************************************
 *CONTENTS
***************************************************************/
/* 
*Global Styles
*Bootstrap etc Resets

-Theme styles
*-Nav
*-Homepage
*-Pages
*-Courses
*-News
*-Dev Area
*/

/***************************************************************
 * Global STYLES
***************************************************************/

a {
    color: #e4002b;
    text-decoration: none;
}

/* link */
/* a:link {
        color: #E4002B;
        text-decoration: none;
    } */

/* visited link */
/* a:visited {
        color: #E4002B;
        text-decoration: none;
    } */

/* mouse over */
a:hover {
    color: darkred;
    text-decoration: none;
}

/* selected */
a:active {
    color: rgb(230, 84, 109);
    text-decoration: none;
}

/* Frutiger Sub Font */
body {
    /* font-family: 'Hind', sans-serif; */
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
}

/* page banner */
.banner-wrapper h1 {
    background-color: white;
    display: inline-block;
    padding: 1rem;
    font-weight: 700;
}

/* Cards */
.card {
    border-radius: 0;
}

/* Accordions */
.card-header {
    background-color: #fff;
}

button.btn.btn-link {
    font-weight: bold;
}

/* Accordions Courses */
.btn-link {
    color: #e4002b;
    text-decoration: none;
}

.btn-link:hover {
    color: #b30000;
    text-decoration: none;
}

/* Breadcrumb */
p#breadcrumbs {
    line-height: 1.6;
    padding: 1.5rem;
}

#breadcrumbs .fas {
    display: inline-block;
    line-height: 25.6px;
}

.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
}

/***************************************************************
 * Theme styles
***************************************************************/

/* Toolbar */
nav#toolbar {
    z-index: 9999;
}

/* Moves slider Content and banners under navigation to create a transparancy effect */
/* div#homePageCarousel {
    margin-top: -190px;
} */

#homePageCarousel ol.carousel-indicators {
    bottom: 5rem;
}

/* Red underline for h tags */
h2.styled-title::after {
    content: '';
    display: block;
    border-bottom: 1px solid #e72b37;
    width: 75px;
    position: relative;
    margin-top: 1.5rem;
}

h2.main-title::after {
    content: '';
    display: block;
    border-bottom: 1px solid #e72b37;
    width: 75px;
    position: relative;
    margin-top: 1.5rem;
}

.page-content h2::after {
    content: '';
    display: block;
    border-bottom: 1px solid #e72b37;
    width: 75px;
    position: relative;
    margin-top: 1.5rem;
}

.page-content .blockquote {
    margin: 2rem 0;
}

blockquote {
    border-left: 2px solid #e72b37;
    padding-left: 1rem;
}

.page-main-area h2 {
    margin-top: 3rem;
}

.page-main-area h2::after {
    content: '';
    display: block;
    border-bottom: 1px solid #e72b37;
    width: 75px;
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Font Awesome General Colours etc */
.fas,
.far {
    color: #e72b37;
}

.card-body .btn .fas {
    color: white;
}

.alert-course i.fas.fa-angle-double-right {
    color: #e72b37;
}

i.fas.fa-angle-double-right {
    color: #fff;
}

/* Accordions */

.accordion .fas {
    color: #e72b37;
}

.accordion h2 button,
.accordion h3 button {
    color: #212529;
}

.accordion .card-header button[aria-expanded='true']:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f0d8';
    color: #e72b37;
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.accordion .card-header button[aria-expanded='false']:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f0d7';
    color: #e72b37;
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

/***************************************************************
 * TOOLBAR Navigation Bar
***************************************************************/

#toolbar {
    font-size: 0.8rem;
}

/***************************************************************
 * Navigation Bar
***************************************************************/
ul#menu-primary {
    font-size: 0.85rem;
}

ul#menu-primary a:hover {
    color: #e72b37;
}

ul#menu-primary .dropdown-menu a:hover {
    color: #fff;
}

nav#nav-bar-main {
    background-color: black;
    /* background-color: rgb(0 0 0 / 0%); */
    z-index: 90;
}

#nav-bar-main .nav-link {
    color: white;
    font-weight: bold;
}

/* .navbar-dark {
        color: #fff;
    } */

.navbar-nav {
    font-weight: 800;
}

.navbar-nav {
    color: white;
}

/* Nav Drop Down */
#menu-primary .dropdown-menu {
    font-size: 0.85rem;
    text-transform: none;
}

.dropdown-menu {
    border-radius: 0;
}

.dropdown-menu a {
    color: black;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff;
    text-decoration: none;
    background-color: #dc3545;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #bd2130;
}

/***************************************************************
 * CCM Logo
***************************************************************/
.ccm-logo {
    width: 75%;
    height: auto;
}

/***************************************************************
 * Footer
***************************************************************/
footer {
    font-size: 0.8rem;
    line-height: 1.6rem;
    margin-top: 1px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* unvisited link */
footer a:link {
    color: white;
}

/* visited link */
footer a:visited {
    color: white;
    text-decoration: none;
}

/* mouse over link */
footer a:hover {
    color: #e4002b !important;
    text-decoration: none;
}

/* selected*/
footer a:active {
    color: white;
    text-decoration: none;
}

/*************************************************************** 
* Homepage 
***************************************************************/

/* HomePage Slider */

.carousel-item img {
    background-size: cover;
    height: 100vh;
    width: 100%;
    height: auto;
    background-position: 50% 50%;
}

.slide-obj {
    background-image: url(https://www.constructioncollege.co.uk/img/slider/slider-img-1.jpg);
    background-size: cover;
    /* height: 100vh; */
    /* height: 100%; */
    background-position: 50% 50%;
}

/* Main Course linked Blocks Slider */
.course-block {
    background-color: rgb(0 0 0 / 0.85);
}

@media (max-width: 992px) {
    .course-block {
        background-color: rgb(0, 0, 0) !important;
    }
}

.course-block-inner h3 {
    color: white;
}

#main-blocks .icon-course-block {
    display: block;
    float: left;
    height: 100%;
    color: white;
    font-size: 1.75rem;
    margin-right: 1rem;
    margin-top: -3px;
}

#main-blocks i {
    color: #e4002b;
}

.icon-course-block i {
    color: white !important;
}

.main-blocks-link {
    font-weight: bold;
}

.course-block-inner h2,
.course-block-inner h3,
.course-block-inner h4 {
    color: white;
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    div#main-blocks {
        margin-top: 30px;
    }
}

/* arrow for mobile devices that floats over slider */

.click-to-bottom {
    font-size: 2.75rem;
    z-index: 99999 !important;
    text-align: center;
    position: absolute;
    left: 47%;
    right: 50%;
    bottom: 1rem;
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
}

.click-to-bottom i.fa.fa-chevron-down {
    color: white;
}

/* Homepage Content */
/* Welcome Note */
#jumbotron-welcome {
    background-color: fff;
    /* margin-top: 156px;
    margin-bottom: 0;
    border-radius: 0; */
}

/* @media (max-width: 992px) {
        #jumbotron-welcome {
            margin-top: 20px;
        }
    } */

/* Alert block COvid updates etc */
#jumbotron-alert-block-home {
    background-color: #6c757d;
    color: white;
    border-radius: 0;
}

#jumbotron-alert-block-home a {
    color: #212529;
}

/* Up and Coming Courses */
#up-coming-courses .card-title {
    font-size: 1.4rem;
}

#up-coming-courses .course-start-date {
    font-size: 0.85rem;
}

/*************************************************************** 
* Pages General
***************************************************************/

.page-banner {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* min-height: 650px; */
    /* padding-top: 385px; */
    padding-top: 26rem;
    /* margin-top: -136px; */
    margin-top: 0;
    /* margin-top: -131px; */
}

/* Page Lead section main content first child P tag */
section.main-content .page-welcome-note p:first-child {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Policies & Procedures */

/* Subjects */
/* .training-subjects-card img {
    height: 158px;
} */

.card-img,
.card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*************************************************************** 
* Course pages
***************************************************************/

/* Page Lead section main content first child P tag */
#course-overview p:first-child {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 300;
}

/* Course Information Block */
.alert-course {
    color: #353535;
    /* background-color: #fff; */
    border-color: #dadada;
    /* border-left: 3px solid #e72b37; */
}

#sidebar .alert h4 {
    font-size: 1.25rem;
}

.course-title {
    font-size: 1.5rem;
}

h2.card-title {
    font-size: 1.25rem;
}

h2.sidebar-courses {
    font-size: 1.5rem;
}

/* Course Overview/Course feed page */
#course-accordions .accordion .card-body p:first-child {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 300;
}

/*************************************************************** 
* Card Checker
***************************************************************/
#card-info-cscs button.btn.btn-link,
#card-info-cisrs button.btn.btn-link {
    font-weight: bold;
}

/***************************************************************
* Media Querys 
***************************************************************/

/* NavBar */
@media (max-width: 992px) {
    nav#nav-bar-main {
        background-color: rgb(0, 0, 0);
        z-index: 900;
    }
}

/* Home page */

/* Main Blocks */
@media (min-width: 992px) {
    #main-blocks {
        margin-top: -360px;
    }
}

/***************************************************************
* DEV AREA
***************************************************************/

#testimonials .owl-theme .owl-nav {
    margin-top: 10px;
    margin-bottom: 10px;
}

#testimonials .owl-nav button span {
    background-color: #d4d4d4;
    padding: 0.25rem 0.75rem;
}

/* Gallery */

.gallery-overview p:first-child {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 300;
}

/* Testimonials */

#testimonials .card-body {
    padding-bottom: 0;
}

#testimonials .owl-theme .owl-nav {
    margin-top: 0;
}

.blockquote {
    font-size: 1rem;
    font-style: italic;
}

.blockquote-footer {
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.footer-main {
    background-color: #424242;
}

/* Carusel DEV Home */
.home-custom-carousel-caption {
    background-color: #000000;
    position: absolute;
    left: 3rem;
    bottom: auto;
    z-index: 10;
    color: #fff;
    padding: 2rem;
    width: 30%;
    top: 3rem;
}

.home-custom-carousel-caption p {
    margin-bottom: 0.25rem;
}

#homePageCarousel ol.carousel-indicators {
    bottom: -8px;
}

/* OWL SLIDER */

#home-news-slider .owl-next span:hover,
#home-news-slider .owl-prev span:hover {
    background-color: red;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ff0000;
}

.owl-nav {
    position: absolute;
    right: 0px;
    top: -3.5rem;
    color: white;
    font-weight: bold;
}

/* remove outline around nav buttons */
.owl-next:focus,
.owl-prev:focus {
    outline: none;
}

.owl-dots {
    margin-top: 20px;
}

.owl-dots button:focus {
    outline: none;
}

#home-news-slider .owl-next span {
    background-color: #afafaf;
    padding: 0.5rem 1rem;
    /* margin-right: 1rem; */
}

#home-news-slider .owl-prev span {
    background-color: #afafaf;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
}

#home-news-slider .news-content-home {
    font-size: 13px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    height: 0;
}

.posted-on .date {
    font-size: 0.9rem;
}

/* News Archive */
.news-image {
    min-height: 75px;
    min-width: 75px;
}

.entry-title-feed {
    font-size: 1.25rem;
}

/* Events */

.event-image {
    min-height: 256px;
    min-width: 100%;
    background-size: cover;
    background-position: center;
}

/*--------------------------------------- Video Player Home Page ---------------------------------------*/
/* .videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }
  .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  } */

.video-banner {
    position: relative;
    width: 100%;
    height: 650px;
    /* Set the height of the video frame-edit this lads if you need to change video size */
    overflow: hidden;
    /* Ensures any overflow is hidden */
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

#pauseButton {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
}

#pauseButton:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------- Homepage Alert Block ---------------------------------------*/
#home-alert-info .small {
    font-size: 1rem;
}