/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.12,
* Autoprefixer: v10.4.4
* Browsers: last 4 version
*/

:root {
    --main-color: #23366F;
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px #00000029;
            box-shadow: 0px 1px 5px #00000029;
    opacity: 1;
}

#logo img {
    display: inline-block;
    padding: 0;
    max-width: 7.5em;
}

#logo-csm img {
    display: inline-block;
    padding: 1em 0;
    min-width: 300px;
    max-width: 300px;
}

#splash {
    position: relative;
}

/* #splash::before {
    z-index: 2;
    position: absolute;
    content: url('./img/Images/Rip1.png');
    height: 100%;
    bottom: 100%;
    left: 50%;
    transform: rotate(90deg) translateY(-50%);
} */

#splash div {
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    background-image: url("/freecollege/img/JordanFlowers.jpg");
/*     background-image: url("/freecollege/img/jordan_2024.jpg"); */
/*     background-image: url("/freecollege/img/CSM-Grad.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    height: 50em;
}

.hero-img {
    height: 50em;
}

.font-light {
    font-weight: 300;
}

.font-bold {
    font-weight: 600;
}

h1 {
    margin-bottom: .5em;
	font-size: calc(.85rem + 1.5vw);
	font-weight: 500!important;
}

.h1 {
	font-size: calc(.85rem + 1.5vw);
	font-weight: 500!important;
}

.rif-btn {
    margin-top: 1em;
    background-color: var(--main-color);
    border: var(--main-color);
    border-radius: 0;
    padding: 1.5em;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    opacity: 1;
}

.rif-btn:hover {
    background-color: #1f2328;
  }

  .btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
	color: #fff;
	background-color: var(--main-color);
	border-color: var(--main-color);
	-webkit-box-shadow: 0 0 0 .25rem rgba(233, 0, 0, 0.5);
	        box-shadow: 0 0 0 .25rem rgba(233, 0, 0, 0.5);
}

.splash-mobile {
    width: 100%;
    height: 20em;
    background-image: url('/freecollege/img/JordanFlowers.jpg');
/*     background-image: url('/freecollege/img/jordan_2024.jpg'); */
/*     background-image: url('/freecollege/img/CSM-Grad.jpg'); */
    background-position: center;
    background-size: cover;
}

#section-2 .background,
#section-4 .background {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(99%, rgba(0, 0, 0, 0.5))), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 99%), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 99%), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding-top: 12em;
}

#section-4 .background {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(99%, rgba(0, 0, 0, 0.5))), url('/freecollege/img/csm_grads_24.jpg');
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 99%), url('/freecollege/img/csm_grads_24.jpg');
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 99%), url('/freecollege/img/csm_grads_24.jpg');
}

#section-4 .btn {
    color: white;
    background-color: var(--main-color);
    border-color: var(--main-color);
    border-radius:0px;
    padding:1rem;
}

#section-4 .btn:hover {
    background-color: #1f2328;
  }

.paper-bg {
    background-color: #F4F4F4;
}

.card {
    max-width: 716px;
    margin: auto;
}

.card-body img {
    max-width: 6em;
    margin: auto;
	height:96px;
}

#section-3 {
    position: relative;
    padding: 3em 0 2em 0;
}

#section-5 .bg-1,
#section-5 .bg-2 {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 14em;
}

#section-5 .bg-1 {
    background-image: url('/bridge/img/AdobeStock_407561075.jpg');
}


#section-5 .bg-2 {
    background-image: url('/bridge/img/AdobeStock_407328318.jpg');
}

#section-5 img {
    width: 100%;
    -webkit-box-shadow: 12px 0 15px -4px rgba(128, 128, 128, 0.8), -12px 0 8px -4px rgba(128, 128, 128, 0.8);
            box-shadow: 12px 0 15px -4px rgba(128, 128, 128, 0.8), -12px 0 8px -4px rgba(128, 128, 128, 0.8);
}

.csm a,
.canada a,
.skyline a {
    text-transform: uppercase;
    font-weight: 600;
    padding: 1em 1.2em;
    border-radius: 0;
    border: none;
}

#section-6 .csm .logo {
    max-width: none;
}

.skyline a {
    background-color: #EE3024;
}

.skyline a:hover {
    background-color: #c5281d;
  }

  #section-6 .logo {
      max-width: 22em;
      height: auto;
      -o-object-fit: contain;
         object-fit: contain;
  }

  footer {
      background-color: #F4F4F4;
      color: #3C3C3C;
  }

@media (min-width: 768px) {
    #section-2 .background,
    #section-4 .background {
        
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        color: white;
        padding: 11em 0;
    }

    #section-2 .background {
        background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(70%, rgba(0, 0, 0, 0.7))), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
        background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 70%), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 70%), url('/freecollege/img/College-of-San-Mateo-Students-on-Campus.jpg');
    }

    #section-4 .background {
        background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0)), color-stop(70%, rgba(0, 0, 0, 0.7))), url('/freecollege/img/csm_grads_24.jpg');
        background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 70%), url('/freecollege/img/csm_grads_24.jpg');
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 70%), url('/freecollege/img/csm_grads_24.jpg');
    }

    #section-5 {
        height: 35rem;
    }
    #section-5 img{
        width: 30%!important;
    }
    
}

@-moz-document url-prefix() {
    #section-5 img{
        width: 100%!important;  
    }

    @media (min-width: 768px) {
        #section-5 img{
            width: 50%!important;  
        }
    }
}