/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

h1, h2, h3, h4, h5, h6 {
    text-transform: inherit;
}

header {
    padding-top: 100px;
    padding-bottom: 200px;
    text-align: left;
    color: #333;
    background-color: #542199;
    background-image: url(../img/background.png);
    background-position: left center;
    background-repeat: no-repeat;
    margin-top: -24px;
}

header img {
    width: 45%;
    margin-left: -10px;
}

header .or-text {
    padding: 0px 20px;
    color: #542199;
    font-family: "Inter",sans-serif;
    font-size: 25px;
    font-weight: bold;
}

header .space-or-text {
    padding: 20px 3px;
    display: block;
}

header .search-box {
    padding-left:15%;
    padding-right:5%;
}

header .intro-text {
    padding-bottom: 0px;
}

header .intro-text .intro-lead-in {
    margin-top: 45px;
    margin-bottom: 25px;
    font-family: "Inter",sans-serif;
    font-size: 52px;
    font-weight: 100;
    line-height: 50px;
}

header .intro-text .intro-heading {
    margin-top: 50px;
    margin-bottom: 0px;
    text-transform: inherit;
    font-family: "Inter",sans-serif;
    font-size: 7rem;
    padding-top:3rem;
    font-weight: 900;
    line-height: 75px;
    color: #ffffff;
    margin-left: 13%;
    margin-right: 10%;
}

.search-box {
    font-family: "Inter",sans-serif;
    padding-top: 40px;
}

.search-box input,
.search-box button {
    height: 60px;
    border: none;
}

.search-box button {
    background-color: #542199;
    color: #fff;
    font-weight: 500;
}

.search-box button:hover,
.search-box button:active,
.search-box button:focus {
    background-color: #542199;
    color: #fff;
}

@media (min-width: 1024px) {
    header .intro-text {
        padding-top: 100px;
    }
}

.text-muted {
    color: #494949;
    font-size: 1.3em;
}

#contact .text-primary {
    color: #b6b6b6;
}

#contactForm {
    padding-left: 1rem;
    padding-right: 20%;
}

.text-primary {
    color: #542199;
}

a {
    color: #542199;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #542199;
    text-decoration: underline;
}

body {
    font-size: 1.2em;
    -webkit-tap-highlight-color: #542199;
    font-family: "Inter",sans-serif;
}

p {
    font-size: 1.3em;
    line-height: 1.75em;
    margin: 0 0 20px;
}

.bg-darkest-gray {
    background-color: #a1d4de;
}

.btn-primary {
    border-color: #542199;
    background-color: #542199;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    border-color: #542199;
    background-color: #542199;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #542199;
    background-color: white;
}

.btn-primary .badge {
    color: #542199;
}

.btn-xl {
    border-color: #542199;
    background-color: #542199;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    border-color: #542199;
    background-color: #542199;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    border-color: #542199;
    background-color: #542199;
}

.btn-xl .badge {
    color: #542199;
}

.navbar-default {
    background-color: transparent;
}

.navbar-brand {
    padding: 15px 15px 15px 0px;
}

.navbar-brand > img {
    max-height: 1.75em;
    opacity: 0;
    margin: .5em;
}

.service-heading {
    font-size: 18px;
}

.news-item {
    padding-right:30px;
    padding-bottom: 30px;
} 

.news-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 3rem;
}

.news-page section {
    padding: 200px 0 0 0;
}

.news-page .post-content {
    padding: 2rem 0 20rem 0;
}

.news-page h1 {
    color:#542199;
    font-size: 5rem;
    font-weight: 800;
}

.news-page h2 {
    color:#542199;
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.news-page h3 {
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.news-page h4 {
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.news-page p {
    font-size: 1.5em;
}

.news-page li::marker {
    font-size:1.5rem;
}

.news-lead {
    font-weight: 300;
    font-size: 2.5rem !important;
    line-height: 4rem;
    padding-bottom: 1rem;
}

.text-date {
    padding-top: 10px;
    font-weight: 200;
    font-size:18px;
}

.more-news {
    padding-bottom: 15rem;
}

section.clients_list img {
    margin: 50px auto;
    padding: .5em;
}

section#features h2 {
    padding-bottom: 1em;
}

section h2.section-heading {
  margin-top: 0;
  margin-bottom: 10rem;
  font-size: 40px;
  font-weight: 900;
  text-transform: none;
  color: #542199;
}

section#pricing h2 {
    color:#ffffff;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    background: rgba(0, 46, 64, 1);
}

.portfolio-heading {
    font-size: 18px;
    text-transform: none;
    margin: 0;
}

#portfolio h3.section-heading {
    margin-bottom: 1.5em;
}

.metrics {
    font-size: 1.7em;
    line-height: 2em;
    margin-bottom: 2em;
}

.metrics ul {
    padding-left: 20px;
}

.metrics ul a {
    border-bottom: 1px dotted;
}

.metrics ul a:hover,
.metrics ul a:focus
.metrics ul a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}

.number {
    font-weight: bold;
}

/* Reduce length of line in timeline */
.timeline:before {
    bottom: 8%;
}

.timeline .timeline-heading h3.subheading {
    text-transform: none;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.timeline > li .timeline-image {
    background-color: #fff;
}

.timeline > li .endpoint {
    background-color: #542199;
}

.timeline > li .timeline-image a {
    color: #fff;
}

.timeline p a {
    border-bottom: 1px dotted;
}

.timeline p a:hover,
.timeline p a:focus
.timeline p a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}


@media (min-width: 992px) {

    .navbar-brand > img {
        max-height: 3em;
        height: auto;
        margin: 0.6em 0em;
        max-width: 10.5em;
    }
}

.participant-heading {
    font-size: 28px;
}

.participants {
    font-size: 18px;
    font-weight: 300;
}

.subclients {
    padding-top: 40px;
}

.partner-img {
    padding-bottom: 3em;
}

th {
    font-size: 18px;
    font-family: "Inter",sans-serif;
}

td {
    font-size: 16px;
    font-family: "Inter",sans-serif;;
}

.tab-indent {
    text-indent: 1.5em;
}

section p.section-subheading {
    margin-bottom: 50px;
    text-transform: none;
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-weight: 400;
}

section#faq p.section-subheading {
    margin-bottom: 75px;
    text-transform: none;
    font-family: "Inter";
    font-style: italic;
    font-weight: 400;
    text-align: center;
}

section p.section-subheading a {
    border-bottom: 1px dotted;
}

section p.section-subheading a:hover,
section p.section-subheading a:focus
section p.section-subheading a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}

section#faq {
    background-color: #fff4dc;
}

section#faq .faq-answer {
    padding-bottom: 20px;
}

section#faq .faq-answer a {
    text-decoration: underline;
}

section#pricing a {
    text-decoration: none;
    border-bottom: 1px solid;
    color: #ffffff;
}

section#contact {
    background-color: #fff;
    background-image: none;
}

section#contact h2.section-heading {
    color: #542199;
}

section#contact .form-control:focus {
    border-color: #542199;
}

section#contact .text-danger {
    color: #6b0000;
    background-color: #ffbaba;
    border-radius:.5em;
}

ul.social-buttons li a {
    background-color: #5a5b5e;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #542199;
}

#portfolio .portfolio-item .portfolio-caption p {
    margin: 0;
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-style: italic;
    line-height: 2rem;
    padding-top: 1rem;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-style: italic;
}

.portfolio-modal .modal-content {
    text-align: left;
}

.portfolio-modal .close-modal .lr {
    background-color: #a1d4de;
}

.portfolio-modal .close-modal .lr .rl {
    background-color: #a1d4de;
}

::-moz-selection {
    background: lightgray;
}

::selection {
    background: lightgray;
}

.page-logo {
    height: auto;
    max-width: 10%;
}

.text-mutedwith {
    max-width: 75rem;
}

.pagetext {
    margin-bottom:100px;
    max-width: 75rem;
}

.pagetext,
.pagetext > p {
    font-size: 18px;
    text-align: left;
    padding: 10px 0px;
    line-height: 1.8;
}

.pagehead > h1 {
    font-size:50px;
    margin-top:7rem;
}

.pagetext > h2 {
    padding-top: 20px;
}

.pagetext ul li,
.pagetext ul li p {
    font-size: 16px;
    line-height: 1.8;
}

.pagetext a {
    border-bottom: 1px dotted;
}

.pagetext a:hover,
.pagetext a:focus
.pagetext a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}

.datepublished {
    padding-top: 6em;
    font-size: 1.75rem;
    padding-bottom:6rem;
}

.whyusescholaris {
    font-weight: 700;
    font-size: 26px;
    padding-bottom: 3em;
    text-align: center;
    
}

@media (min-width: 991px) {
    .news {
        max-width: 80%;
    }
}

footer {
  padding: 12em 0 6em;
  background-color: #CCA169;
}

footer ul {
    list-style: none;
    line-height: 2;
    padding: 0;
}

footer li {
    font-size: 16px;
    text-align: left;
}

footer li a:hover {
    text-decoration: underline;
}

footer .col-lg-12 {
    padding-left: 30px;
    padding-right: 30px;
}

@media (min-width: 991px) and (max-width: 1199px) {
    .navbar-brand > img {
        max-height: 3em;
        height: auto;
        margin: 0.6em 0em;
        max-width: 10.5em;
    }
    
    .navbar-nav > li {
        font-size: 0.8em;
    }

    .nav > li > a {
        padding: 10px 10px;
    }
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.navbar-shrink img {

    /* make things invisible upon start */
    -webkit-animation:fadeIn 1;  /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */
    -moz-animation:fadeIn 1;
    animation:fadeIn 1;

    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #ffffff;
}

.navbar-default .navbar-toggle {
    border-color: #542199;
    background-color: #542199;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #542199;
}

.navbar-default .nav li a {
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.5em;
    color: #542199;
    height:100px;
    padding-top:40px;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    color: #542199;
    text-decoration: underline;
}

.navbar-default .navbar-nav>.active>a {
    background-color: #542199;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    background-color: #542199;
}

.headtext {
    text-align: left;
    font-family: "Inter",sans-serif;
    background-color: #542199;
    color:#ffffff;
}

.leadtext {
    font-size: 2.2rem;
    font-weight: 300;
    
}

.paratext {
    padding-left:2rem;
    padding-right: 20%;
}

.paratext p {
    padding-bottom:2rem;
}

.headtext a {
    border-bottom: 1px dotted;
}

.headtext a:hover,
.headtext a:focus
.headtext a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}

@media(min-width: 768px) {

    .navbar-default {
        padding: 10px 0;
    }

    .navbar-default .navbar-brand {
        padding-top: 10px;
    }

    .navbar-default .navbar-nav>.active>a {
        border-radius: 0px;
    }

    .navbar-default.navbar-shrink {
        padding: 0;
        background-color: #542199;
        height: 100px;
    }

    .navbar-shrink .nav li a {
        color: #ffffff;
    }

    .navbar-shrink .nav li a:hover,
    .navbar-shrink .nav li a:focus,
    .navbar-shrink .nav li a:active {
        color: #ffffff;
    }

    header .intro-text {
        padding-top: 100px;
    }
    
    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: -5px;
    }
    
}

/* Change breakpoint for navbar collapse */
@media (max-width: 991px) {

    .navbar-header {
        float: none;
    }

    .navbar-brand img {
        max-width: 15em;
        margin-top: -1rem;
        height: auto;
      }

    .navbar-toggle {
        display: block;
        margin-right: 20px;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none!important;
    }

    .navbar-collapse .nav li a {
        color: #ffffff;
    }

    .navbar-collapse .nav li a:hover,
    .navbar-collapse .nav li a:focus,
    .navbar-collapse .nav li a:active {
        color: #ffffff;
        text-decoration: underline;
    }

    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
        text-indent: 20px;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-default .nav .li a {
        height: 0px;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar-default {
        border-color: transparent;
        background-color: #542199;
        padding: 0;
        height: auto !important;
    }

    .navbar-collapse.in {
        overflow-y: auto !important;
        background-color: #542199;
    }

    .navbar .container {
        padding: 0;
        margin-right: auto;
        margin-left: auto;
        width:100%;
    }

    .navbar-default .navbar-brand {
        padding-top: 10px;
    }

    .navbar-brand img {
        max-height: 5rem;
    }
    header { 
        padding-top:125px;
    }

    header .space-or-text {
        padding: 0;
    }

    header .intro-text {
        padding-top: 0px;
    }
    header .intro-text .intro-heading {
        margin-left:0%;
    }

    header .search-box {
        padding-left: 0%;
        padding-right: 0%;
      }

}

@media (max-width: 768px) {

    section {
        padding-top: 150px;
    }

    header .intro-text .intro-lead-in {
        font-size: 52px;
        line-height: 45px;
    }

    header .intro-text .intro-heading {
        font-size: 55px;
        line-height: 50px;
    }

    header .search-box {
        padding-left:0%;
        padding-right:0%;
    }
    

    header .or-text {
        line-height: 50px;
        margin: 45%;
    }

    .btn-xl {
        display: block;
    }

    .navbar-brand img {
        max-width: 15em;
        margin-top: -1rem;
        height: auto;
    }

    .navbar-brand {
        padding: 15px;
    }

    .paratext {
        padding-left: 15px;
        padding-right: 15px;
    }

    #contactForm {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 568px) {
    .navbar-default .nav li a {
        text-indent: 20px;
    }

    header {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .navbar-right {
        float: none !important;
    }

    .navbar-brand {
        padding: 15px;
    }

    header .intro-text {
        padding-top: 0px;
        padding-bottom: 20px;
    }

    header .intro-text .intro-heading {
        margin-left: 0%;
    }

    header .intro-text .logo {
        display: none;
    }

    header .intro-text .logo-tag {
        display:block;
        width:100%;
        margin-left: -8px;
    }

    header .intro-text .intro-heading { 
        margin-top: 0px;
    }

    .headtext {
        font-size: 20px;
    }

    header .or-text {
        margin: 44%;
        line-height: 50px;
    }

    .btn-xl {
        display: block;
        padding: 20px 20px;
    }

    .navbar-brand img {
        opacity: 1;
    }

    .fade-in {
        opacity: 1;
    }

    section {
        padding: 150px 0;
    }

    header .intro-text .intro-lead-in {
        font-size: 18px;
        line-height: 45px;
    }

    header .intro-text .intro-heading {
        font-size: 32px;
        line-height: 1em;
    }

    .navbar-shrink img {
        animation: none;
    }

    p {
      line-height: 1.75em;
    }

    .faq-answer p {
      font-size: 1.25em;
    }

    .news-page section {
        padding: 100px 0 0 0;
    }

    .news-page .post-content {
        padding: 2rem 0 20rem 0;
    }

    .news-page h1 {
        color:#542199;
        font-size: 3rem;
        font-weight: 800;
    }
}