/* Pricing overview styles.

   @file        overview.en.css
   @author      marionm
   ========================================================================== */

/* ==========================================================================
   header
   ========================================================================== */

#overview-header { margin: 3.125rem 0 .5rem; }

#overview-header h1 {
    color: #dd1100;
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
}

/* ==========================================================================
   content
   ========================================================================== */

/* left column
   ========================================================================== */

.left { width: 54%; }

.left a { display: block; }

.left > a,
#education {
    color: #fff;
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.left > a:nth-of-type(1) {
    background: #dd1100 url('/mathematica/pricing/img/overview-industry.png') no-repeat 20px center;
    background-size: 59px 44px;
}

.left > a:nth-of-type(2) {
    background: #dd1100 url('/mathematica/pricing/img/overview-government.png') no-repeat 20px center;
    background-size: 59px 37px;
}

.left > a:nth-of-type(3) {
    background: #fc6400 url('/mathematica/pricing/img/overview-students.png') no-repeat 20px center;
    background-size: 59px 33px;
}

.left > a:nth-of-type(4) {
    background: #af1c10 url('/mathematica/pricing/img/overview-home.png') no-repeat 20px center;
    background-size: 59px 29px;
    margin: 0;
}

.left > a:hover,
#education:hover {
    background-color: #ff8d1b;
    color: #fff;
}

#education {
    background: #fc6400 url('/mathematica/pricing/img/overview-education.png') no-repeat 20px 20px;
    background-size: 59px 50px;
}

.left h2,
#education h2 {
    color: #fff;
    font-size: 1.5rem;
    padding: 1.875rem 1.5rem 1.875rem 90px;
}

#education h2.active span {
    -webkit-transform: rotate(90deg);
    display: inline-block !important;
    left: 2px;
    position: relative;
    top: 2px;
    transform: rotate(90deg);
}

#education ul {
    margin-top: -1rem;
    padding: 0 0 1.875rem 90px;
}

#education a {
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.6;
    padding-left: .75rem;
    position: relative;
}

#education a:hover { text-decoration: underline; }

#education a:before {
    content: '▪';
    display: inline;
    left: 0;
    position: absolute;
}

#education a:after { position: absolute; }

/* looks redundant but is needed for IE/Edge */
#education a:hover:before,
#education a:hover:after { text-decoration: underline; }

#education a:hover:before,
#education a:hover:after { text-decoration: none; }

/* middle column
   ========================================================================== */

.middle { width: 4%; }

/* right column
   ========================================================================== */

.right { width: 42%; }

.right .gray-box {
    background: #f6f6f6;
    border: 1px solid #d8d8d8;
    padding: 3.125rem 1.875rem 3.125rem 3.125rem;
}

.right h2 {
    color: #dd1100;
    font-size: 1.375rem;
    margin: 0 0 .625rem;
}

.right a {
    color: #535353;
    font-weight: 600;
}

.right a:hover { color: #f77700; }

.right span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.right span:nth-child(2) {
    color: #535353;
    font-size: .95rem;
    font-weight: 400;
    margin: 3px 0 1.875rem 0;
}

/* ==========================================================================
   footer
   ========================================================================== */

#overview-footer {
    margin: 1.875rem 0 4.6875rem;
    text-align: center;
}

#overview-footer a {
    color: #535353;
    display: inline-block;
    line-height: 32px;
}

#overview-footer a:hover { color: #f77700; }

#overview-footer li { position: relative; }

#overview-footer li:nth-of-type(1) a {
    background: url('/mathematica/pricing/img/footer-trial.png') no-repeat;
    background-size: 50px 32px;
    padding-left: 3rem;
}

#overview-footer li:nth-of-type(3) a {
    background: url('/mathematica/pricing/img/footer-questions.png') no-repeat;
    background-size: 50px 32px;
    padding-left: 3rem;
}

#overview-footer li:nth-of-type(5) a {
    background: url('/mathematica/pricing/img/footer-contact.png') no-repeat;
    background-size: 50px 32px;
    margin-right: 0;
    padding-left: 3rem;
}

#overview-footer li:nth-of-type(1) a,
#overview-footer li:nth-of-type(3) a { margin-right: 1rem; }

#overview-footer .line {
    border-bottom: 1px solid #ccc;
    margin: 2rem auto;
    width: 100%;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

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

@media all and (max-width: 1200px) {
    #overview-header {
        margin-bottom: 2rem;
        margin-top: 2.5rem;
    }

    .right .gray-box { padding: 1.875rem; }
}

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

@media all and (max-width: 900px) {
    #overview-header {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    #overview-header h1 {
        font-size: 2.4rem;
        margin-bottom: .5rem;
    }

    .left { width: 55%; }

    .left > a { background-position: 9px center !important; }

    .left > a:nth-of-type(1) { background-size: 48px 36px; }

    .left > a:nth-of-type(2) { background-size: 48px 38px; }

    .left > a:nth-of-type(3) { background-size: 48px 27px; }

    .left > a:nth-of-type(4) { background-size: 48px 24px; }

    #education {
        background-position: 4px 20px !important;
        background-size: 48px 41px;
    }

    .left h2,
    #education h2,
    #education ul { padding-left: 65px !important; }

    #education a {
        font-size: 1rem;
        padding-right: 2rem;
    }

    .middle { width: 3%; }

    .right { width: 42%; }

    .right h2 { font-size: 1.175rem; }

    .right span:nth-child(2) { margin-bottom: 1rem; }

    #overview-footer a { font-size: .9rem; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    #overview-header { margin: 2rem 0 0; }

    #overview-header h1 { font-size: 2rem; }

    .left,
    .right { width: 100%; }

    .left > a { background-position: 6px center !important; }

    .left > a:nth-of-type(1) { background-size: 59px 44px; }

    .left > a:nth-of-type(2) { background-size: 59px 37px; }

    .left > a:nth-of-type(3) { background-size: 59px 33px; }

    .left > a:nth-of-type(4) { background-size: 59px 29px; }

    #education {
        background-position: 6px 10px !important;
        background-size: 59px 50px;
    }

    #education a { font-size: 1.1rem; }

    .left h2,
    #education h2,
    #education ul { padding-left: 72px !important; }

    .left h2,
    #education h2 { font-size: 1.7rem; }

    #overview-footer {
        margin: 1.875rem auto;
        text-align: left;
        width: 90%;
    }

    #overview-footer li:not(.line) {
        padding: 0;
        width: 240px;
    }

    #overview-footer a {
        font-size: 1.13rem;
        font-weight: 600;
        margin: 0 !important;
        padding-left: 4.5rem !important;
    }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
}

/* printer styles
   ========================================================================== */

@media print {
}