/* Global */

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
    background-color: #101C37;
    border-color: #101C37;
}

hr {
  content: "";
  display: table;
  clear: both;
}

.hidden {
    display: none;
}

h4, h5 {
    margin-top: 40px;
}

h6 {
    font-weight: bold;
}

.error {
    border: 1px solid #FF0000;
    padding: 15px;
    margin: 15px 0;
    color: #FF0000;
    border-radius: 5px;
}

/* header */

#share-links {
    position: absolute;
    top: 5px;
    right: 0;
    padding: 0 5px;
}

#share-links span {
    position: relative;
    top: -13px;
}

#share-links img {
    width: 35px;
    height: 35px;
}

#header-box h1 {
    font-size: 2em;
    margin: 32px 0 0 0;
    padding: 45px;
}

#header-box hr {
    margin: 1.5rem 0;
}

#header-box h1 span.name-em {
    font-size: 1.75em;
    font-weight: bold;
}

#header-logo {
    background: url('/static/images/emily_web_logo.png') no-repeat;
    background-size: 100% auto;
    height: 180px;
    width: 180px;
    margin: 20px 20px 20px 0;
}

#hero-box {
    background-color: #101C37;
    color: #FFF;
    padding: 50px;
}

#hero-box img {
    margin: -50px -50px -50px 25px;
    max-height: 500px;
}

#button-holder {
    text-align: center;
}

#hero-box #button-holder {
    background-color:  #4E1017;
    padding:  25px;
    margin:  -50px -50px 50px -50px;
}

#hero-box #button-holder .button {
    background-color: #FFF;
}

#hero-box p {
    margin: 0;
    font-size: 2rem;
}

/* Supporting Pages */
.secondarypage #header-logo {
    height: 75px;
    width: 75px;
}

/* Footer */

#footer p {
    color: #CCC;
    margin: 1.5rem 0;
}

#footer hr {
    margin-bottom: 1.5rem;
}


/* Content */

.row > p {
    margin: 2.5rem 0;
}

.content-image {
    margin-right: 25px;
    max-width: 500px;
}

/* Objectives */

.objective {
    margin: 25px 0;
    min-height: 225px;
}

.objective .thumb {
    width: 230px;
    height: 224px;
    background-size: 230px 224px;
    background-repeat: no-repeat;
    margin-right: 15px;
}

.thumb.parents {
    background-image: url('/static/images/parent_circle.png');
}

.thumb.students {
    background-image: url('/static/images/student_circle.png');
}

.thumb.teachers {
    background-image: url('/static/images/teacher_circle.png');
}


/* Media Queries */

.mobile-or-secondary {
    display: none;
}

.secondarypage .mobile-or-secondary {
    display: inherit;
}

.mobile-only {
    display: none;
}


/* Smaller than mobile */
@media (max-width: 400px) {
}

/* Smaller than phablet (also point when grid becomes active) */
@media (max-width: 1100px) {
    #header-box h1 {
        display: none;
    }
    #hero-box img {
        margin: 0;
        width: 100%;
        max-height: initial;
        float: none;
        clear: both;
    }
    .content-image {
        width: 100%;
        margin: 0;
    }
    #button-holder, #hero-box #button-holder {
        margin: 0;
    }
    #button-holder .button {
        width: 100%;
    }
    .not-mobile {
        display: none;
    }
    .mobile-or-secondary, .mobile-only {
        display: inherit;
    }
    #header-logo {
        height: 75px;
        width: 75px;
    }
}

/* Smaller than tablet */
@media (max-width: 750px) {}

/* Smaller than desktop */
@media (max-width: 1000px) {}

/* Smaller than Desktop HD */
@media (max-width: 1200px) {}
