/* Styles for the WANE pricing overview page.

   developer:   marionm
   requires:    /common/framework/css/framework.ru.css
                /wolfram-alpha-notebook-edition/pricing/css/pricing.ru.css
   ========================================================================== */

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

#pricing-header h1 {
    color: #dd1100;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

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

#overview .flexbox {
    align-items: stretch;
    display: flex;
    justify-content: space-between;
}

#overview .flexbox > * {
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    height: 300px;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
    width: 32%;
}

#overview .flexbox > *:nth-child(1) {
    background: #51aebc url('/wolfram-alpha-notebook-edition/pricing/img/overview-students.png') no-repeat 50% 40%;
    background-size: 88px 68px;
}

#overview .flexbox > *:nth-child(2) {
    background: #6793bc url('/wolfram-alpha-notebook-edition/pricing/img/overview-educators.png') no-repeat 50% 40%;
    background-size: 58px 76px;
}

#overview .flexbox > *:nth-child(3) {
    background: #fa8114 url('/wolfram-alpha-notebook-edition/pricing/img/overview-home.png') no-repeat 50% 40%;
    background-size: 70px 63px;
}

#overview .flexbox > div > a { display: none; }

#overview .flexbox > div:hover {
    background-image: none;
    padding: 0;
}

#overview .flexbox > div:hover > div { display: none; }

#overview .flexbox > div:hover > a {
    border-bottom: 2px solid #fff;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 300;
    height: 33.333%;
    justify-content: center;
    padding: 1rem 3rem 1rem 1rem;
    position: relative;
    text-align: left;
}

#overview .flexbox > div:hover > a:last-child { border-bottom: none; }

#overview .flexbox > div:hover > a:hover { background-color: #37658e; }

#overview .flexbox > div:hover > a:after {
    content: '›';
    display: block;
    font-size: 4rem;
    font-weight: 200;
    line-height: 0;
    margin-top: -.3rem;
    position: absolute;
    right: 1rem;
}

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

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

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

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

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

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

@media all and (max-width: 600px) {
    #overview .flexbox > * {
        height: 200px;
        margin-bottom: 1rem;
        width: 100%;
    }

    #overview .flexbox > *:last-child { margin-bottom: 0; }

    #overview .flexbox > div:hover > a { font-size: 1.125rem; }
}

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

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

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

@media print {
}