/* gridMathematica - all pages 

   developer:   ???, updated by tajudeen
   requires:    framework.css.es
   ========================================================================== */

/* ==========================================================================
   Common
   ========================================================================== */
:root {
    --color-1 : #2d2d2d;
    --color-2 : #d2d2d2;
    --color-3 : #221f1f;
    --highlight : #e11138;
    --w-highlight : #e7e7e8;
}

body, p, td, tr, blockquote, smaller, textarea {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    color: #222;
}

.page-width {
    width: 1004px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

main a:link, main a:visited {
    color: #d51100;
    text-decoration: none;
    outline: none;
}

main a:hover, main a:active {
    color: #f57300;
}

main hr {
    border: 0;
    height: 0;
    border-width: 1px medium;
    border-style: solid none;
    border-color: #ccc;
    margin-bottom: 10px;
}

main h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    color: #D10;
    font-weight: 400;
}
/* ==========================================================================
   gridMathematica Header
   ========================================================================== */

section#grid {
    background-color: var(--color-1);
}

#grid .page-width .inner {
    height: 11.25rem;
    padding-top: 1.875rem;
    position: relative;
}

main #grid .inner h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 400;
}

main #grid .inner h1 span:first-of-type {
    color: var(--highlight);
}

main #grid .inner h1 span:last-of-type {
    color: var(--w-highlight);
}

main #grid .inner p {
    color: #ffffff;
    font-size: 1.5rem;
    padding: 0.625rem 0 2rem 0;
    font-weight: 300;
    line-height: 0.95;
    text-wrap-style: pretty;
} 

main #grid .inner img {
    position: absolute;
    right: 0;
    top: 20px;
    z-index: 1;
}

/* ==========================================================================
   Overview
   ========================================================================== */

._overview .content {
    max-width: 640px;
    padding-top: 40px;
    padding-right: 40px;
    margin-bottom: 60px;
}

#overview h3 {
    margin-bottom: 30px;
    margin-top: 22.4px;
}

main ._overview .content h2 {
    color: #E56B00;
    font-size: 1.6875rem;
    font-weight: 300;
    line-height: 1.33;
    text-wrap: pretty;
}

main ._overview .content p {
    margin: 20px 0 30px 0;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 300;
}

._overview .content ._features {
    display: flex;
    gap: 2.25rem;
    align-items: self-start;
    margin-bottom: 2rem;
}

._overview .content ._item p,
._overview .content ._features p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0px 0px 15px;
}

#overview a.smallbutton {
    display: inline-block;
    padding: 4px 6px;
    border: 1px solid #B00F00;
    border-radius: 3px;
    background: #D10 none repeat scroll 0% 0%;
    color: #FFF !important;
    font-size: 0.771875rem;
    cursor: pointer;
    outline: medium none;
    font-weight: 400;
    margin-top: 15px;
}

._overview .content  ._item p {
    max-width: 440px;
}

._overview .content  .small {
    min-width: 160px !important;
}

/*Pod*/

.podContent {
    padding: 0px 0px;
    border: 1px solid #E3E3E3;
}

#overview .side .sbpodContainer {
    margin: 0 2px 0 15px;
    width: 275px;
}

#overview .side {
    width: 310px;
    margin: 50px auto 0 auto;
    padding: 0;
}

#overview #screencastPod .podBG {
    background: url('../images/screencast-pod-bg.png') repeat-x;
}

#overview .side .podBG {
    padding: 20px 12px;
}

#overview .side #platforms {
    margin: 0;
    border-top: 1px solid #DEDEDE;
    text-align: center;
    background: #F3F3F3;
}

#overview .side #platforms img {
    margin: 5px 0;
}

#overview .podBG {
    background: #fff url("/common/images2010/m8/podGradientBG.gif") repeat-x scroll 0% 0%;
    padding: 15px 20px 30px 30px;
}

.gray {
    color: #666666;
    font-size: .87rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.learnmore.flex {
    font-size: .86rem;
    margin-top: 1rem;
}

/* ==========================================================================
   Common FOR SUBPAGES
   ========================================================================== */

.subpage #grid {
    background: var(--color-2);
}

.subpage main #grid .inner h1 span:last-of-type {
    color: var(--color-3);
}

.subpage #button-case button {
    padding: 4px 6px;
    border: 1px solid #B00F00;
    border-radius: 3px;
    background: #D10 none repeat scroll 0% 0%;
    color: #FFF !important;
    font-size: 0.771875rem;
    cursor: pointer;
    outline: medium none;
    font-weight: 400;
    margin-left: 10px;
}

.subpage #button-case > a:first-of-type button {
    margin-left: 0;
}

.subpage #button-case button:hover {
    background-color: #fe0000;
}

.subpage #grid .page-width .inner {
    height: 8.625rem;
    padding-top: 0; 
}

.subpage main h2 {
    color: #D51100;
    font-size: 2.8125REM;
    font-weight: 400;
    line-height: 1.04;
}

.subpage main .view > h2 {
    padding: 2.334375rem 0;
}

.subpage main .view p { 
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0px 0px 15px;
    color: #222;
}

.subpage .divider {
    border: 1px solid #ccc;
}

.subpage .view.deployment {
    padding-bottom: 53px;
}

/* ==========================================================================
   Features slideshow
   ========================================================================== */

#features .slides {
    border: solid #d10;
    border-width: 5px 1px 1px;
    margin: 20px 0 0 20px;
    position: relative;
    height: 224px; 
    width: 498px;
    box-sizing: content-box;
}

#features .slides .slides-inner {
    background: #eee;
    position: absolute; 
    top: 0; 
    left: 255px;
    height: 224px; 
    width: 243px;
}

#features .slide {
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity .5s ease-in;
}

#features .slide.show {
    left: auto;
    opacity: 1;
    transition: opacity .5s ease-in;
}

#features .slide.prev {
    left: auto;
    opacity: 0;
    transition: opacity .5s ease-out;
}

#features .slides .nav-links {
    border-width: 4px 0 1px 1px;
    height: 224px; 
    width: 255px;
    display: flex;
    flex-direction: column;
    position: absolute; 
    top: 0; 
    left: 0;
}

#features .slides .nav {
    background: #fff;
    border: solid #bbb;
    border-width: 0 1px 0 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding: 10px 20px;
}

#features .nav:nth-child(2) { border-width: 1px 1px 1px 0; }
#features .nav.show, #features .nav:hover {
    background: #eee;
}
#features .nav.show > *, #features .nav:hover > * {
    color: #d10;
}
#features .arrows { display: none; }

/*text*/
#features .slides h2 {
    color: #222;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1; 
    margin: 0; 
    padding-bottom: 2px !important;
    text-transform: uppercase;
}

#features .slides p {
    font-size: 0.6875rem;
    line-height: 1.3;
    margin: 0;
}

main .view .twocols {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1rem;
}

#features main .view.deployment h3 {
    margin: 24.5px 0 30px;
}

#features main .view .threecols {
    display: flex;
    gap: 26.47px;
/*    margin-bottom: 45px;*/
}

#features main .view .threecols p span {
    font-weight: 600;
}

.features main .view p { 
    max-width: 400px;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

#faq #jumpStart {
    background: #F9F9F9 none repeat scroll 0% 0%;
    padding: 1.25rem 1.25rem 1.25rem 1.875rem;
    border-top: 3px solid #EE3939;
    max-width: 300px;
    margin-bottom: 20px;
    color: #636363;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;

}

#faq #jumpStart a { color: #636363; }

#faq #jumpStart ul li {
    background: transparent url(/common/images2010/m8/jumpTo.png) no-repeat scroll 0% -1%;
    padding-left: 0.8em;
    margin: 0em 0px 10px;
    padding-bottom: 10px;
    line-height: .5em;
}

#faq #jumpStart .title {
    font-size: 0.75rem1.25rem;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#faq .divider {
    margin: 40px auto 10px auto !important;
}

#faq main .view.deployment h3 {
    margin: 20px 0 30px;
}

#faq main .view p span {
    display: block;
}

#faq main .view p span.question {
    font-weight: 600;
}
/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for medium screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {

    .img-with-spacing-one img {
        min-width: 200px;
        height: auto;
        max-width: 100%;
    }
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    .subpage #grid .page-width .inner {
        height: auto;
        padding-top: 1.875rem;
        padding-bottom: 1.875rem;
        min-height: 8.625rem;
    }
    .subpage #grid .inner {
        flex-wrap: wrap;
        gap: 0rem 3rem;
    }
    .subpage main #grid .inner h1 {
        margin-bottom: 1rem;
    }
    main .view .twocols {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 1rem;
    }
    #features .slides {
       margin: 0px;
    }
    .page-width {
        flex-direction: column;
    }
    ._overview .content {
        max-width: 100%;
        padding-right: 0px;
        margin-bottom: 30px;
    }
    ._overview .content ._item p {
        max-width: 100%;
    }
    #overview .side {
        margin: 0 0 50px 0; 
    }
}

/* styles for medium screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    .page-width {
        padding: 0 1rem;
    }
    ._overview .content ._features,
    ._item.flex {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    #features main .view .threecols {
        flex-direction: column;
        gap: .5rem;
    }
    /*features slider*/
    #features .slides {
        width: 300px;
        height: auto;
    }
    #features .slides .nav-links {
        width: 300px;
        display: flex !important;
        height: auto;
        position: relative;
        flex-direction: row;
    }
    #features .slides .nav {
        padding: 9px 5px;
        justify-content: flex-start;
        border-width: 0 1px 1px 0;
    }
    #features .slides .slides-inner {
        display: block !important;
        position: relative;
        width: 300px;
        height: 254px;
        left: 0;
    }
    #features .nav:nth-child(2) {
        border-width: 0px 1px 1px 0px;
    }
    #overview .side .sbpodContainer {
        margin: 0 2px 0 0px;
    }
}

/* styles for medium screens (320px)
   ========================================================================== */

@media all and (max-width: 320px) {}




