﻿@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&family=Source+Sans+Pro&display=swap');

/*
    Google Fonts
    font-family: 'Raleway', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    300, 400, 700
*/

.center-text {
    text-align: center;
}

.clear {
    clear: both;
}

.clear-right {
    clear-right;
}

.clear-left {
    clear: left;
}

a {
    color: #a80000;
    transition: transform 250ms ease-in-out;
}

    a:hover {

    }

body {
    margin: 0;
    padding: 0;
    color: #222;
    background-color: lightgray;
    background-image: url('../images/site-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Source Sans Pro', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

header {
    position: relative;
    margin: 0;
    background-color: #a80000;
    height: 160px;
}

header .header-logo {
    display: block;
    float: left;
    margin-left: 36px;
    margin-top: 20px;
}

header .header-logo img {
    width: 100%;
    max-width: 85px;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    color: #FFF;
    position: absolute;
    top: 30px;
    left: 155px;
    width: 400px;

}

header p {
    display: block;
    margin: 0;
    padding: 0;
    color: #F2F2F2;
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    height: 20px;
    position: absolute;
    top: 65px;
    left:155px;
}

/* Social Media Links */
header .social-header {
    font-size: 30px;
    width: 200px;
    position: absolute;
    top: 30px;
    right: 0;
}

footer .social-footer {
    font-size: 30px;
}

header .social-header ul,
footer .social-footer ul {
    margin: 0 20px;
}

header .social-header ul li,
footer .social-footer ul li {
    display: inline-block;
    padding: 0 5px;
}

header .social-header a,
footer .social-footer a {
    color: #FFF;
}

header .social-header a:hover .fa-facebook-official,
footer .social-footer a:hover .fa-facebook-official {
    color: #4267B2;
}

header .social-header a:hover .fa-twitter-square,
footer .social-footer a:hover .fa-twitter-square {
    color: #1DA1F2;
}

header .social-header a:hover .fa-linkedin-square,
footer .social-footer a:hover .fa-linkedin-square {
    color: #2867B2;
}



header nav {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

header nav ul {
    margin: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li:after {
    display: block;
    content: '';
    border-bottom: solid 4px #FFF;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

header nav ul li:hover:after {
    transform: scaleX(1);
}

header nav ul li.currentPage:after {
    border-bottom-color: #FFF;
    transform: scaleX(1);
}

header nav ul li a {
    color: #FFF;
    display: block;
    font-size: 1.25em;
    font-weight: 400;
    text-decoration: none;
    padding: 10px 12px;
}

header nav li:hover,
header nav li:active {
    border-bottom-color: #333;
}

header nav ul li a:hover,
header nav ul li a:active {
    color: #DDD;
}

header nav ul li.currentPage a:hover,
header nav ul li.currentPage a:active {
    color: #FFF;
}

.wrapper {
    margin: 0 20px;
}
main {
    max-width: 960px;
    background-color: #F7F7F7;
    box-shadow: 12px 0 8px -12px #BBB, -12px 0 8px -12px #BBB;
    margin: 20px auto;
    padding: 20px;
}

main h2 {

}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    width: 100%;
    color: #FFF;
    height: 80px;
}

footer nav {
display: none;
width: 300px;
}

footer nav ul {
    margin: 0;
    padding-inline-start: 0;
}

footer nav ul li {
    display: inline-block;
    border-right: 1px solid #FFF;
}

footer nav ul li:last-child {
    border-right: none;
}

footer nav a {
    color: #FFF;
    text-decoration: none;
    padding-right: 10px;
    padding-left: 5px;
    font-size: 14px;
}

footer nav a:hover,
footer nav a:active {
    color: #DDD;
}

.copyright {
    font-size: 12px;
    font-weight: 300;
    margin-left: 20px;
}

/* index.html */
.aboutUs {
    margin-top: 30px;
}

.aboutUs img {
    float: left;
    padding-left: 30px;
    padding-right: 20px;
}

.aboutUs h2 {
    margin-top: 0;
}

.aboutUs p {
    margin-bottom: 0;
    margin-right: 30px;
}

.whyChoose {
    margin-bottom: 20px;
}

.whyChoose h2 {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 50px;
    font-size: 2em;
}

.whyChoose h3 {
    font-size: 1.75em;
    margin: 0;
    padding: 50px 20px 20px 20px;
}

.left {
    padding: 0 30px;
}

.whyChoose .leftImage {
    float: left;
    margin-right: 30px;

}

.right {
    padding: 0 30px;
}

.whyChoose .rightImage {
    float: right;
    width: 450px;
    margin-left: 30px;
}

/* classes.html */
.classes-grid a {
    color: inherit;
}

.card {
    display: block;
    float: left;
    border: 1px solid #F7F7F7;
    padding: 5px;
    width: 235px;
    height: 320px;
    margin: 10px 35px;
}

.card:hover {
    border-color: #DDD;
}

.classesListing {
    border-top:  1px solid #EEE;
    margin-top: 30px;
    padding-top: 30px;
}

.classesListing article {
    margin-bottom: 80px;
}

.classTable {
    text-align: center;
}

.classTable table {
    margin: auto;
    border-collapse: collapse;
}

.classTable th,
.classTable td {
    border: 1px solid #222;
    padding: 5px 8px;
}

.classTable thead th,
.classTable tfoot td {
    background-color: #a80000;
    color: #FFF;
}

.classTable tr:nth-child(even) {
    background-color: #CCC;
}

.classTable tfoot td {
    height: 10px;
}

/* team.html */
.departmentSidebar {
    width: 250px;
    float: right;
}

.departmentSidebar h3 {
    padding-top: 55px;
    font-size: 1.5em;
}

.departmentSidebar ul {
    list-style: none;
    margin-block-start: 0;
    padding-inline-start: 0;
}

.departmentSidebar a {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    margin: 12px 0;
}

.departmentSidebar .back-to-top {
    position: fixed;
    bottom: 125px;
    margin-left: 50px;
    padding: 12px;
    8px;
    color: #FFF;
    font-size: .75em;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #000;
    transition: transform 250ms ease-in-out;
}

.departmentSidebar .back-to-top:active,
.departmentSidebar .back-to-top:hover {
    background-color: #000;
}

.teamMembers section {
    width: 100%;
    max-width: 600px;
    border-right: 1px solid #EEE;
    padding-left: 30px;
    float: left;
}

.teamMembers section article {
    clear: left;
}

.teamMembers section article h2 {
    text-align: center;
    font-size: 2em;
    padding-top: 50px;
    margin-bottom: 50px;
}

.teamMembers section article .teamMember {
    clear: left;
}

.teamMembers section article img {
    width: 100%;
    max-width: 180px;
    float: left;
    margin: 0 40px 20px 0;
    border-radius: 100px;
}

.teamMembers section article .memberName {
    padding-top: 30px;
    font-size: 24px
}

/* contact.html */
.contact {
    width: 500px;
    margin: auto;
    min-height: 900px;
}

.contact h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 80px;
}

.contact .phone,
.contact .email,
.contact .address {
    font-size: 1.25em;
}

.contact .label {
    font-weight: bold;
    font-size: 1.5em;
    padding-right: 10px;
}

/* Custom Lightbox */
.thumb {
    cursor: pointer;
}

#lightbox-container {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-top: 65px;
    display: none;
}

    #lightbox-container p {
        color: #FFF;
    }

    #lightbox-container img {
        border: 10px solid #FFF;
        margin: auto;
    }
