/* Styles for Wolfram Tech for Your Research

   developer:   yhechler, tajudeen
   requires:    /common/framework/css/framework.en.css
   ========================================================================== */

:root {
    --link-color: #f57300;
    --hover-color: #dd1100;
}
.inner {
    margin: 0 auto;
    max-width: 64rem;
}
section {
    padding: 3.125rem 2rem;
}
main {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
main a {
    color: var(--link-color);
}
main a:hover {
    color: var(--hover-color);
}
main h1 {
    color: #222222;
    font-size: 3rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem 0;
}
#hero h1 span {
    font-weight: 300;
}
#hero h1 {
    text-transform: uppercase;
}
#subpage main h1 {
    font-size: 3rem;
    margin: 0rem 0 3rem 0;
    text-transform: uppercase;
}
main h2 {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 300;
    margin: 0 0 2.5rem 0;
}
main h3 {
    color: #e06304;
    font-size: 1.5625rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}
main p {
    color: #535353;
    font-weight: 600;
    line-height: 1.5;
}
.button {
    background: #dd1100;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1rem;
    text-align: center;
}
#hero {
    background-color: #cee8f2;
    padding: 3.125rem 2rem 0 2rem;
}
#subpage #hero {
    padding: 1.5rem 2rem 0rem 2rem
}
#hero .inner>div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(314px, 1fr));
    grid-gap: 1.875rem;
}
#subpage #hero .inner>div {
    grid-template-columns: 2fr 1fr;
    align-items: flex-end;
}
#subpage #hero .inner h4 span {
    white-space: nowrap;
    font-weight: normal;
}
#hero span.arrow-l-before:before {
    font-size: 2.2rem;
}
#subpage #intro .inner h4, #subpage #hero .inner h4 {
    font-size: 1.5rem;
    text-transform: uppercase;
}
#subpage .year_heading {
    width: calc(100% - 2rem);
    margin: 0 auto;
}
#subpage .year_heading.first hr {
    display: none;
}
#subpage .year_heading.first {
    margin-top: 2.5rem !important;
}
#subpage #intro .inner h4 {
    margin-bottom: 0.5rem;
    color: #535353;
    font-weight: 600;
}
#hero img {
    height: auto;
    display: block;
    max-width: 100%;
}
#hero .button, .hero .button {
    background: #f77700;
    border: 1px solid #ef7000;
}
#intro .hero {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
a.intro_title {
    color: #222222 !important;
}
section#intro {
    margin-bottom: 3rem;
}
#hero .button:hover, .hero .button:hover, #intro .more.button:hover {
    background: #ff8800;
    border: 1px solid #ef7000;
    color: #fff;
}
#intro h3:first-child+p {
    color: #e06304;
    font-size: 1.13rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
#intro ul {
    column-gap: 40px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2,1fr);
/*    align-items: center;*/
    align-items: flex-start;
}
svg.previous {
    width: 7px;
    height: auto;
    transform: rotateY(180deg);
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -0.2rem;
}
#intro ul li {
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
#intro ul>* {
    position: relative;
    padding-left: 1.0rem;
}
#intro ul>*::before {
    background: var(--link-color);
    content: '';
    display: inline-block;
    height: 5px;
    left: 0.25rem;
    position: absolute;
    top: 0.6rem;
    width: 5px;
}
#intro ul li a {
    color: #535353;
    font-weight: 600;
}
#intro ul li a:hover {
    color: var(--hover-color);
}
#intro ul li span {
    display: block;
    font-weight: 400;
    font-size: 0.89rem;
}
#intro .more.button {
    background: #f77700;
    border: 1px solid #ef7000;
    font-weight: 400;
    margin: 2.5rem auto 3.125rem auto;
    display: block;
}
main hr {
    border-top: 1px solid #dddddd;
    margin: 3.125rem auto 1.5rem auto;
}
#subpage hr {
    margin: 1rem auto;
}
#intro p {
    color: #535353;
    font-size: 1.38rem;
    font-weight: 300;
}
#intro h3 a, #intro p a {
    color: #dd1100;
}
#intro h3 a:hover, #intro p a:hover {
    color: #b00f00;
}
/*....*/

#intro .two_columns, .card {
    display: flex;
}
#intro .two_columns {
    flex-wrap: wrap;
/*    gap: 0 1.5rem;*/
}
#intro .two_columns > div {
    flex: 1 1 50%;
}
#intro .two_columns .card > span {
    max-width: 316px;
    margin-top: -5px;
}
#intro .two_columns .card > span span {
    display: block !important;
}
#intro .two_columns .card {
    gap: 0 1rem;
    margin-bottom: 3rem;
    padding-right: min(1.5rem);
}
#intro .two_columns span.title {
    color: #222222;
    font-size: 1.13rem;
    font-weight: 600;
}
#intro .two_columns a:hover span.title {
    color: var(--hover-color);
}
/*...*/
#get-start-now {
    background: #f07100;
    color: #fff;
    padding: 3.125rem 2rem;
}
#get-start-now a {
    color: #fff;
    font-weight: 600;
}
#get-start-now a:hover {
    color: #ac000e;
}
#get-start-now p {
    color: #ffffff;
}
#get-start-now #_form-gui {
    margin-top: 2.5rem;
}
#get-start-now .form-container {
    align-content: space-evenly;
    display: grid;
    gap: 1rem;
    grid-template-columns: 85% auto;
}
#get-start-now #_form-gui #submit {
    background: #ffffff;
    border: 1px solid #bb5000;
    box-sizing: border-box;
    color: #f07100;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    padding: 0.375rem 0.625rem;
}
#get-start-now #_form-gui #submit:hover {
    background: #ff8800;
    border: 1px solid #ffff;
    color: #fff;
}
#thank-you, #processing-error {
    display: none;
}
#server-error #processing-error {
    display: block;
}
#thank-you h2 {
    color: #555555;
}
#additional-resources h2 {
    color: #dd1100;
}
#additional-resources span {
    color: #222222;
    font-size: 1.13rem;
    font-weight: 600;
}
#additional-resources span:hover {
    color: #dd1100;
}
#additional-resources h2+div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(314px, 1fr));
    grid-gap: 1.875rem;
}
#additional-resources a, #additional-resources img {
    display: inline-block;
    max-width: 314px;
    width: 100%;
}
/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for medium screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
    #additional-resources h2+div {
        grid-template-columns: repeat(auto-fit, minmax(254px, 1fr));
    }
    #subpage #hero .inner>div {
        grid-template-columns: 1.5fr 1fr;
        align-items: flex-end;
    }
}
/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    #hero h1, #subpage main h1 {
        font-size: 2.0rem;
    }
    #hero h1 {
        margin: 1.5rem 0 1rem;
    }
    #subpage #hero .inner>div {
        align-items: center;
    }
    #subpage #hero .inner h4 {
        font-size: 1.3rem;
    }
    #hero .inner>div {
        grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
        grid-gap: 0.2rem;
    }
    #additional-resources h2+div {
        grid-gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    #additional-resources img {
        height: auto;
        max-width: 100%;
    }
    #intro ul {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    #intro .two_columns .card > span {
        max-width: 100%; 
    }
    #intro .two_columns .card {
        margin-bottom: 2rem;
    }
    #get-start-now .form-container {
        grid-template-columns: 1fr 124px;
    }
    #subpage #hero img {
        max-width: 480px;
        margin: 0 auto;
    }
    #subpage #hero img {
        max-width: 300px;
    }
}
/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    section, #get-start-now {
        padding: 1.875rem 2rem;
    }
    main h2 {
        text-align: center;
    }
    main h3 {
        font-size: 1.3rem;
    }
    main p {
        font-size: 14px;
    }
    #hero {
        padding: 1.875rem 0 0 0;
    }
    #hero img {
        margin: 0 auto;
        width: 80%;
    }
    #subpage #hero .inner>div {
        text-align: center;
    }
    #hero .inner>div, #subpage #hero .inner>div {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
    #hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    #subpage main h1 {
        margin: 0rem 0 2rem 0;
    }
    #hero h1+div {
        padding: 0 5rem;
    }
    #intro ul {
        grid-template-columns: 1fr;
    }
    #intro .two_columns {
        flex-direction: column;
    }
    #intro .two_columns .card {
        padding-right: 0rem;
    }
    #intro .two_columns .card img {
        width:50px;
        height:50px;
        top:-3px;
        position:relative;
    }
    #intro p:last-of-type {
        font-size: 1.3rem;
    }
    #hero .button {
        display: table;
        margin: 2rem auto;
    }
    #get-start-now .form-container {
        grid-template-columns: 55% auto;
        justify-content: center;
    }
    #get-start-now p {
        max-width: 310px;
        margin: 0 auto;
        text-align: center;
    }
    #additional-resources h2+div>div {
        align-items: center;
        justify-content: center;
        display: grid;
    }
    #additional-resources h2+div {
        grid-template-columns: none;
    }
}
/* styles for small screens (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
    section, #get-start-now {
        padding: 1.875rem 1rem;
    }
    #additional-resources h2+div {
        grid-gap: unset;
        grid-template-columns: unset;
    }
}