html, body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
#SiteWrapper {
    min-height: 100vh;
}

header {
    background-color: #1a8cff;
}
header li a {
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    .full-width-on-sm {
        width: 100%;
    }
}
@media only screen and (min-width: 769px) {
    .show-only-on-sm {
        display: none !important;
    }
}

.widget-title {
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}
.widget-title::after {
    border-bottom: 3px solid #1bbde3;
    width: 50px;
    height: auto;
    content: '';
    position: absolute;
    bottom:0; left:0;
}

/* Site Footer CSS  */
.site-footer {
    background-color: #f7f7f7;
    position: relative;
    padding: 0;
    color: #555555;
}
@media only screen and (max-width: 768px) {
    .site-footer {
        position: sticky;
        bottom: 0;
        width: 100%;
    }
}
.site-footer h3 { /* currently not in use */
    position: relative;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 400;
    color: #202020;
}

/* Menu */
#nav {
    position: relative;
    top: 0;
    right: 31px;
}
#menuToggle {
    /*
    display: block;
    position: relative;
    top: 50px;
    left: 50px;
    */
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: #4f7794;
}

/* The hamburger button hidden inside an input element */
#menuToggle input {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

#menuToggle label {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 30px;
    height: 30px;
}
#menuToggle label span {
    margin: 0;
    padding: 0;
    display: block;
}

/* Change the color of the hamburger when toggled */
#menuToggle input:checked + label span {
    background-color: #ffffff;
}

#menu {
    display: none;
    position: absolute;
    width: 300px;
    margin: -30px 0 0 -50px;
    padding: 15px 50px 50px 50px;
    background: #ededed;
    list-style-type: none;
    right: 0;
}

#menu li.nav-item,
#sidebar li.nav-item {
    padding: 0.3rem 0;
}
#menu li.nav-item:hover,
#sidebar li.nav-item:hover {
    padding-left: 25px;
    transition: all 300ms ease-out 0s;
}
/* Menu Link styling*/
.navbar-nav .nav-item a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

/* Make menu visible */
#menuToggle input:checked ~ ul {
    display: block;
}

/* Implement a flippable card */
#card-root-for-sm {
    position: relative;
    perspective: 200px;
    transition: transform 0.6s;
}

@media only screen and (max-width: 768px) {
    .card-back-sm {
        /*transform: rotateY(180deg);*/
    }
    .card-front-sm, .card-back-sm {
        /*position: absolute;*/
        backface-visibility: hidden;
        transition: transform 0.6s;
        perspective: 200px;
    }
}

.card-footer {
    display: none;
}
