@import url('//fonts.googleapis.com/css?family=Roboto:300,400,500');

body {
    font-family: arial;
    background-image: url(/img/patterns/pattern8.png);
    width: 100%;
}

#main {
    max-width: 1020px;
    margin: 30px auto;
    padding: 0;
    line-height: 2em;
    border-style: none solid none solid;
    border-width: 1px;
    border-color: #eee;
    font-family: 'Roboto',arial,sans-serif;
    background: white;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 30%);

}

/* MOBILE */
@media only screen and (max-width: 959px){
    #main{
        margin: 0px;
    }
}

#main h1 {
    font-weight: 300;
}

#main h2 {
    font-weight: normal;
}

/* SMG IQ SECTION */
#smg-iq{
    background-color: #050f3c;
    color: white;
    padding: 10px 0 !important;
}

#iq-grid{
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-direction: row-reverse;
}

#iq-start{
    text-align: center;
    border-left: 1px solid white;
    padding-left: 0.9rem;
}

@media screen and (max-width: 650px) {
    #iq-grid{
        flex-direction: column;
    }
    #iq-start{
        border: none;
    }

  }
@keyframes flash {
    0%{
        background-color: rgba(5,15,60,1);
    }
    50%{
        color: rgba(5,15,60,1);
        background-color: #fff;
    }
  }
.iq-button{
        color: #fff;
        background-color: rgba(5,15,60,1);
    
    animation: flash 1.4s;
    animation-iteration-count: infinite;
}

/* SECTION BACKGROUNDS */
#register-top       { background: #0191d2 url('../img/newheaderimage.jpg') 0 0 no-repeat; }
#register-bottom    { background: #0191d2 url('../img/bluebackground2_image.jpg') 0 0 no-repeat; }
#get-involved       { background: #d7334c url('../img/newredimage.jpg') 0 0 no-repeat; }
#smg-works          { background: #f9b423 url('../img/yellowbackground_image_comp.jpg') 0 0 no-repeat; }
#student-centric {
    background-color: #7e5a9a;
    background-image: url('../img/phone_screen.png'), url('../img/purplebackgroud_image_comp.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: left 760px bottom, 0 0;
}

#get-involved {
    background-size: cover;
}

.btn-register {
    border: 1px solid #fff;
    background: transparent;
    color: white;
    padding: 10px 50px;
    font-size: 1.2em;
}

.btn-register:hover {
    color: #fff;
}

#main > section {
    border-style: none none solid none;
    border-width: 3px;
}

#main > section a:hover {
    text-decoration: none;
}

#register-top h1,
#register-bottom h1,
#thanks h1,
#smg-works h1,
#results h1 {
    text-align: center;
}

/* REGISTER */
#register-top, #register-bottom {
    color: #fff;
    border-color: #0191d2;
    text-align: center;
}

section#register-top a.fade-link:hover,
section#register-top a.fade-link:active,
section#register-bottom a.fade-link:hover,
section#register-bottom a.fade-link:active,
section#register-top a.fade-link:focus:hover {
    background: #fff;
    color: #0191d2;
}

section#register-top a.fade-link:focus {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

#register-top h2 {
    padding: 0 15px;
}

#register-top h2,
#register-bottom h3 {
    margin: 60px 0;
    line-height: 1.5em;
}

#smg-works a {
    color: white;
}

#smg-works h3 {
    margin: 40px 0;
    line-height: 1.5em;
    font-weight: normal;
}

#smg-works h3 i.fa-quote-left,
#smg-works h3 i.fa-quote-right {
    color: #d7334c;
}

#smg-works h3 .fa-quote-left {
    margin-right: 10px;
}

#smg-works h3 .fa-quote-right {
    margin-left: 10px;
}

section#register-bottom {
    padding: 65px 10px;
}

/* GET INVOLVED */
section#get-involved {
    color: #fff;
    border-color: #d7334c;
    padding: 50px;
}

#get-involved h5 {
    font-weight: bold;
    margin: 2em 0;
}

/* CLASSROOM */
section#classroom {
    border-color: #0093d2;
    text-align: center;
    background: url(../img/smg_blue_bar.png) #eee left 890px bottom no-repeat !important;
    height: 37rem;
}
.classroom-txt {
    width: 78%;
    margin: auto;
    text-align: initial;
    margin-top: 3rem;
}

#classroom h1 {
    color: #0093d2;
    margin-bottom: 20px;
}

/* WHAT IS SMG */
section#what-is-smg {
    background: url('../img/Greengrey_bar.png') left 880px bottom no-repeat;
    padding-left: 20px;
    padding-right: 20px;
}

#what-is-smg,
#whats-new {
    border-color: #60ad4c;
}
section#whats-new.whats-new-archive {
    padding: 5%;
    padding-right: 15%;
    padding-left: 13%;
}
.whats-new-overflow{
    overflow-y: scroll;
    height: 60rem;
    padding-right: 5rem;
}
.whats-new-hr{
    padding: 0px;
    margin: 0px;
    background: #5dae47;
    height: 1px;
    border: none;
    margin-bottom: 2rem;
}

#whatsNewLink:hover{
    color: #3b7a2b;
}




::-webkit-scrollbar {
    width: 12px;
  
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3); 
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: rgba(0,0,0,0.3);
    
}




#what-is-smg a:hover {
    color: #8f8f8f;
}

section#whats-new {
    background: url('../img/Greengrey_bars2.png') left 910px bottom no-repeat;
}

.blog-post{
    margin: 0px!important;
    margin-bottom: 5rem!important;
}

#whats-new .blog-post .title {
    font-weight: 300;
    font-size: 21px;
    font-style: italic;
}

#whats-new .blog-post .post {
    font-style: italic;
}

#whats-new .blog-post a {
    display: block;
}

#what-is-smg h1,
#whats-new h1,
#whats-new a,
#whats-new a i,
#what-is-smg .fa-play-circle,
#whats-new .fa-play-circle,
#what-is-smg a {
    color: #5dae47;
}

#what-is-smg h2 {
    font-size: 24px;
}

/* RESULTS */
section#results {
    background: #fff;
    border-color: #815ba1;
}

#results h1,
#results .fa-check-circle {
    color: #815ba1;
}

#results ul li i {
    margin-top: 4px;
}

#results ul {
    font-size: 1.1em;
}

#results a {
    color: #000;
}

/* GROW WITH STUDENTS */
section#grow {
    background: url('../img/Yellowgrey_bar.png') right 820px bottom no-repeat;
    border-color: #fab623;
    padding: 50px 10px;
}

#grow h1,
#grow a {
    color: #fab623;
}

/* STUDENT-CENTRIC */
section#student-centric {
    border-color: #7e5a9a;
    color: white;
    /*padding: 40px 470px 40px 100px;*/
    padding: 40px 10px;
}

#grow p,
#whats-new .blog-post,
#student-centric p,
#what-is-smg p,
#classroom p {
    font-size: 1.3em;
    line-height: 2em;
}

#grow p,
#student-centric p,
#whats-new .blog-post,
#what-is-smg p {
    margin: 50px 0;
}

#student-centric a:last-of-type {
    margin-left: 40px;
}

/* THANK YOU */
#thanks {
    background: #f5f5f5;
    border-color: #d7334c;
    text-align: center;
}

#thanks h1 {
    color: #d7334c;
}

/* SMG WORKS */
section#smg-works {
    border-color: #f9b423;
    color: #fff;
    text-align: center;
}

/* THANKS CAROUSEL STUFF */
#carousel-logos .carousel-inner > .item > img.supporter-logo {
    display: inline-block;
    margin: 0 20px;
}

#thanks .item {
    padding: 50px 0;
}

.carousel-indicators li {
    border: none;
}

#carousel-logos .carousel-prev i,
#carousel-logos .carousel-next i {
    color: #ccc;
}

#carousel-logos a:hover i,
#carousel-logos a:hover i:hover,
#smg-works a:hover i.fade-link,
#smg-works a:hover i.fade-link:hover {
    color: #d53853;
}

/* TESTIMONIAL CAROUSEL STUFF */
#carousel-testimonials {
    height: 350px;
}

#carousel-testimonials .carousel-indicators li {
    background-color: #fff;
}

#carousel-testimonials .carousel-indicators .active {
    background-color: #f21b24;
}

#carousel-testimonials .carousel-indicators {
    bottom: 0;
}

/* ODDS AND ENDS */

a .fa-arrow-circle-right,
a .fa-play-circle {
    margin-left: 10px;
}
