/* Computational Intelligence in Healthcare page styles.

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

/* ==========================================================================
   page setup
   ========================================================================== */

:root {
    /*colors*/
    --btn-hover: #014976;
    --main-red: #dd1100;
    --main-orange: #ff7700;
    --bg-light-blue: #e1f1fa;
    --badge-bg: #0079c1;
    --p-color: #222222;
    --grey: #cccccc;
    --p-color: #404040;
    --white: #ffffff;
    /*measurements*/
    --wrapper-h-pad: 2rem;
    --mobile-img-pad-bot: 20px;
    --quote-lines: 4;
    --quote-att-h: 1.2rem;
}
/* ==========================================================================
   Common
   ========================================================================== */

* {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    scroll-behavior: smooth;
}
section {
    padding: 0 2rem;
}
.page-width {
    box-sizing: content-box;
    margin: 0 auto;
    max-width: 69.125rem;
    padding: 3.125rem 2rem 0rem 2rem;
    overflow: hidden;
}
.page-width.no-separator {
    padding: 3.125rem 2rem !important;
}
main h2 {
    color: var(--main-orange);
    font-weight: 400;
    font-size: 2.25rem;
    line-height: 1.2;
}
main h3 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--p-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}
main p {
    color: var(--p-color);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
}
.wcg-section a, .wcg-section a:visited, .link a, .link a:visited {
    color: var(--main-orange);
}
main a:hover {
    color: var(--main-red);
}
/* ==========================================================================
   header
   ========================================================================== */

#title-outer span#badge {
    background: var(--badge-bg);
    color: var(--white);
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.96;
    padding: 0 1.0rem;
    position: absolute;
    text-transform: uppercase;
}
header#title-outer {
/*    background-color: rgb(6, 78, 115);*/
    background-color: #004976;
    padding: 0 1rem;
}
header#title-outer .page-width {
    max-height: 23.3125rem;
    max-width: 70rem;
    padding: 0 !important;
}
#video {
    width: 100%;
    margin: 0 auto -4px auto;
}
/* ==========================================================================
   introduction
   ========================================================================== */

#intro {
    background: var(--white);
    position: relative;
}
#intro .page-width {
    padding-top: 3.75rem;
}
#intro h2 {
    margin-bottom: 1.5rem;
}
.btn:before {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    transform: rotate(90deg);
}
#intro p {
    color: var(--p-color);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    padding-bottom: 1.5rem;
}
#intro p:last-of-type {
    padding-bottom: 2.5rem;
}
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
#intro .btn {
    background: var(--badge-bg);
    font-size: 1.125rem;
    padding: 0.625rem 0.75rem 0.625rem 2rem;
    border-radius: 0.25rem;
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    position: relative;
}
#intro .btn:hover {
    background: var(--btn-hover);
}
#intro .tell-us-form { background-color: #f86300; }
#intro .tell-us-form:hover { background-color: #f88900; }

/* ==========================================================================
   Slider
   ========================================================================== */

.coloredbg {
    background: var(--bg-light-blue);
}
.slide-img, .slide-text {
    flex: 1 1 50%;
}
.text img {
    width: 100%;
}
p .title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.125rem;
    margin-bottom: 0.5rem;
}
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}
.slider {
    position: relative;
    top: 0;
    left: 0;
    width: calc(100% * 3);
    height: 100%;
    display: flex;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}
.slide {
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--white);
    align-items: stretch;
    height: 100%;
}
.navigation {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 1rem;
    display: flex;
    justify-content: flex-end;
}
.dot {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: var(--grey);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: var(--main-orange);
}
/* ==========================================================================
   carousel
   ========================================================================== */

.cd-hero {
    max-width: 440px;
    position: relative;
}
#quote .cd-hero__slider {
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.cd-hero__slide {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    will-change: transform;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cd-hero__slide.cd-hero__slide--selected {
    /* this is the visible slide */
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.cd-hero__slide.cd-hero__slide--move-left {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}
.cd-hero__slide.cd-hero__slide--is-moving, .cd-hero__slide.cd-hero__slide--selected {
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}
html:not(.js-enabled) .cd-hero__slide {
    display: none;
}
html:not(.js-enabled) .cd-hero__slide.cd-hero__slide--selected {
    display: block;
}
.cd-hero__nav {
    bottom: 0;
    height: 1.125rem;
    position: absolute;
    width: 100%;
    z-index: 2;
}
.cd-hero__nav nav, .cd-hero__nav ul, .cd-hero__nav li, .cd-hero__nav a {
    height: 100%;
}
.cd-hero__nav nav {
    display: block;
    margin: 0 auto;
    position: relative;
}
.cd-hero__nav ul.outer-ul {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.cd-hero__nav li {
    line-height: 1.125rem;
    padding-bottom: 0;
}
.cd-hero__nav ul.outer-ul li.scroll {
    overflow-x: hidden;
    width: 100%;
}
.cd-hero__nav ul.inner-ul {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
}
.cd-hero__nav ul.inner-ul>li {
    flex: 0 0 auto;
}
.cd-hero__nav .dot {
    background: var(--grey);
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 0 4px;
    width: 12px;
}
.cd-hero__nav li.cd-selected .dot {
    background: var(--main-orange);
}
.cd-hero__nav .dot:hover {
    background: var(--main-orange);
}
.cd-hero__nav li.cd-selected .dot:hover {
    background: var(--main-red);
}
#quote-content .cd-hero__nav {
    bottom: 10px;
    left: 468px;
}
.grid-container {
    display: grid;
    grid-template-columns: 50% 50%;
    max-width: 1106px;
    margin: 0 auto;
    height: 100%;
}
.grid-container .top {
    grid-column: 1 / -1;
    display: grid;
}
.left {
    display: grid;
    margin: auto auto;
}
.right {
    display: grid;
    background: var(--white);
    height: 100%;
    padding: 2rem 1rem;
}
.right .link {
    font-weight: 600 !important;
}
.responsive-image {
    max-width: 100%;
    height: auto;
    width: auto;
}
.right ul li {
    display: block;
    list-style: none;
}
#quote {
    color: var(--white);
}
#quote .carousel {
    position: relative;
    max-width: 1106px;
    margin: 0 auto;
    height: 332px;
}
#quote p {
    font-size: 1rem;
    font-weight: 300;
    margin-right: calc(-12px + (0 + 12) * ((100vw - 600px) / (1920 - 600)));
    padding-bottom: 0px;
    padding-left: calc(58px + (78 - 58) * ((100vw - 600px) / (1920 - 600)));
    padding-right: 1rem;
}
#quote p.the-quote-itself {
    background: url(../images/caststudyquote-green.png) no-repeat;
    background-size: calc(44px + (70 - 44) * ((100vw - 600px) / (1920 - 600)));
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-top: 0.6rem;
}
#quote p.the-quote-itself .title {
    display: block;
}
#quote p.attribution {
    text-align: right;
    font-size: 1rem;
    font-weight: 400;
}
#quote p.read-the-story {
    margin-top: calc(21px + (35 - 21) * ((100vw - 600px) / (1920 - 600)));
    margin-bottom: calc(16px + (0 - 16) * ((100vw - 600px) / (1920 - 600)));
}
#quote p.read-the-story a {
    color: #fdc689;
    font-size: calc(14.4px + (20 - 14.4) * ((100vw - 600px) / (1920 - 600)));
    padding-left: calc(-27px + (10 + 27) * ((100vw - 600px) / (1920 - 600)));
    text-align: left;
    text-decoration: none;
}
#quote p.read-the-story a:hover {
    color: #e65c00;
    text-decoration: none;
}
.aleary-quote .left {
    margin: 0;
}
.aleary-quote .left img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
#quote .cd-hero__nav {
    bottom: 0.5rem;
    padding-right: 1rem;
}
#quote .cd-hero__nav nav {
    float: right;
}
#quote .cd-hero__slide {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: inherit;
    top: 0;
    width: 100%;
}
/* ==========================================================================
   The Wolfram Consultancy Group
   ========================================================================== */

#consultancy p {
    padding-bottom: 0rem !important;
}
#consultancy a, #consultancy a:visited {
    color: var(--main-orange);
}
#consultancy a:hover {
    color: var(--main-red);
}
.separator {
    border-bottom: 1px solid var(--grey);
    padding-bottom: 3.125rem !important;
}
.wcg-section .text, .wcg-section .image {
    flex: 1 1 50%;
}
.wcg-section .image img {
    width: 100%;
    object-fit: cover;
}
.wcg-section .heading {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--p-color);
    margin-bottom: 0.5rem;
    display: block;
}
.wcg-section .description {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
/* ==========================================================================
   The Wolfram System
   ========================================================================== */

.diagram {
    height: 387px;
    margin-top: -20px;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    width: 495px;
}
#risk-diagram .flower-wrapper {
    -moz-transform-origin: top right;
    -moz-transform: scale(.8);
    background: url(../images/flower/computation-right.png) no-repeat top center;
    background-size: cover;
    float: left;
    height: 480px;
    overflow: hidden;
    position: relative;
    transform-origin: top center;
    transform: scale(.8);
    width: 495px;
}
#risk-diagram .flower-wrapper a {
    color: #333;
    display: block;
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.15;
    position: absolute;
}
#risk-diagram .flower-wrapper:before {
    background-image: none;
    background-size: cover;
    background: no-repeat top center;
    content: '';
    display: block;
    height: 480px;
    position: relative;
    width: 100%;
    width: 495px;
}
#risk-diagram .flower-wrapper.hover-knowledgebase:before {
    background-image: url('../images/flower/computation-right-knowledgebase.png');
}
#risk-diagram .flower-wrapper.hover-algorithmbase:before {
    background-image: url('../images/flower/computation-right-algorithmbase.png');
}
#risk-diagram .flower-wrapper.hover-language:before {
    background-image: url('../images/flower/computation-right-language.png');
}
#risk-diagram .flower-wrapper.hover-linguistic:before {
    background-image: url('../images/flower/computation-right-linguistic.png');
}
#risk-diagram .flower-wrapper.hover-notebooks:before {
    background-image: url('../images/flower/computation-right-notebooks.png');
}
#risk-diagram .flower-wrapper.hover-spikey:before {
    background: url('../images/flower/computation-right-spikey.png') 50% 50%;
    background-size: 495px 480px;
}
.flowerhover {
    background-size: cover;
    height: 480px;
    position: absolute;
    top: 0;
    width: 495px;
}
#risk-diagram .flower-wrapper a:nth-child(2) {
    left: 36%;
    top: 14%;
}
#risk-diagram .flower-wrapper a:nth-child(3) {
    left: 70%;
    top: 30%;
}
#risk-diagram .flower-wrapper a:nth-child(4) {
    left: 66%;
    top: 71%;
}
#risk-diagram .flower-wrapper a:nth-child(5) {
    left: 33%;
    top: 77%;
}
#risk-diagram .flower-wrapper a:nth-child(6) {
    left: 15%;
    top: 47%;
}
#risk-diagram .flower-wrapper a:nth-child(7) {
    height: 90px;
    left: calc(50% - 34px);
    top: calc(50% - 42px);
    width: 90px;
}
/* ==========================================================================
   Wolfram Supports 
   ========================================================================== */

#wolfram-support h2 {
    margin-bottom: 2.5rem !important;
}
#wolfram-support ul li {
    justify-content: space-between;
    margin-bottom: 1.875rem;
    flex-basis: 12.5%;
}
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.logos>* {
    flex-basis: 16.5% !important;
}
/* ==========================================================================
   tell us form form styles
   ========================================================================== */

#tell-us-form {
    background-color: #0079c1;
    color: var(--white);
}
#tell-us-form .page-width {
    border-bottom: none;
}
.page-width.no-separator.contact-form {
    padding: 0rem 2rem 3rem 2rem !important;
}
#tell-us-form h2 {
    color: var(--white);
    margin-bottom: 1.875rem;
    font-size: 1.75rem;

}
#tell-us-form #submit {
    background: #004975;
    border: 1px solid #004975;
    font-size: 1rem;
    margin-top: 0.5rem;
    padding: .60rem 2.2rem;
}
#tell-us-form #submit:hover, #tell-us-form #submit:focus {
    background: #333333;
    color: var(--white);
}
#tell-us-form input[type='email'], #tell-us-form input[type='text'], #tell-us-form textarea {
    color: #656565;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.25;
}
#tell-us-form label {
    color: var(--white);
}
#tell-us-form #submit:hover {
    background: #003352;
    color: var(--white);
}
#tell-us-form a {
    color: var(--white);
    font-weight: 600;
}
#tell-us-form a:hover {
    color: #1F2127;
}
#tell-us-form ._main-grid> :nth-child(2n+1) {
    padding-right: 0rem;
}
#tell-us-form ._main-grid>*:nth-child(even) {
    padding-left: 0.6rem;
}
#tell-us-form ._main-grid>*, #tell-us-form ._radio-grid>* {
    padding-bottom: 0;
}
#tell-us-form .grid.cols-2.heirs-width-1-2:first-child {
    margin-right: 0.5rem;
}
#tell-us-form .error-msg {
    background: url('../images/form-error.png') no-repeat center left;
    background-size: 14px 14px;
    color: var(--white);
    font-weight: 300;
}
.tell-us {
    color: var(--white);
    margin: 0rem 0 2.5rem 0;
    font-size: 1.13rem;
}
#thank-you {
    background-color: #0079c1;
    color: var(--white);
    display: none;
}
#thank-you h2 {
    color: var(--white);
    font-weight: 400;
    font-size: 1.875rem;
}
#processing-error {
    display: none;
}
.padding-top-for-mobile {
    padding-top: 1.0rem;
}

/* ==========================================================================
   footer
   ========================================================================== */
.footer {
    background-color: #f86300;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 400;
    padding: 1rem 2rem;
    width: 100%;
}
.sticky {
    bottom: 0;
    position: fixed;
    z-index: 999999999;
}
.footer a, .footer span {
    align-items: center;
    display: flex;
    justify-content: center;
}
.footer a { color: #fff; }
.footer a:hover { color: #ffdd6f; }
.footer svg { 
    height: 1.75rem;
    margin: 0.25rem 0.625rem 0 0.875rem; 
    width: 1.75rem;
}
.footer a:hover .a { fill: #ffdd6f; }



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

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

@media (max-width: 1200px) {
    #title-outer span#badge {
        font-size: 1.4rem;
        padding: 0 0.8rem;
    }
    /*================================    wolfram system*/
    #risk-diagram .flower-wrapper a {
        font-size: 1.01rem;
    }
}
/* styles for medium screens (900px)
   ========================================================================== */

@media (max-width: 900px) {
    /*================================    common*/
    .page-width {
        padding: 3.125rem 0 0 0 !important;
    }
    .page-width.no-separator {
        padding: 3.125rem 0rem !important;
    }
    /*================================    intro*/
    #title-outer span#badge {
        font-size: 1rem;
        padding: 0 0.8rem;
    }
    /*================================    slide*/
    .cd-hero {
        margin: 0.5rem auto var(--mobile-img-pad-bot);
        max-width: 439px;
        width: 100%;
    }
    .cd-hero img, .cd-hero video {
        padding: 0;
    }
    #quote-content .cd-hero {
        margin: 0px;
        max-width: 439px;
        width: 100%;
    }
    .right {
        padding: 1rem;
    }
    /*================================    wolfram system*/
    #risk-diagram .flower-wrapper a {
        line-height: 1.15;
    }
}
/* styles for medium screens (600px)
   ========================================================================== */

@media (max-width: 600px) {
    /*================================    common*/
    .page-width {
        padding: 30px 0 0 0 !important;
    }
    .page-width.no-separator {
        padding: 30px 0rem !important;
    }
    .separator {
        padding-bottom: 30px !important;
    }
    main h3, .wcg-section .text, #wolfram-support h2 {
        margin-bottom: 20px !important;
    }
    .grid-container {
        grid-template-columns: 100%;
    }
    /*================================    intro*/
    #intro .page-width, #intro .page-width {
        padding-top: 30px;
    }
    #title-outer span#badge {
        font-size: 0.63rem;
        padding: 0 0.2rem;
    }
    /*================================    slide*/
    .right ul {
        position: relative;
    }
    .right {
        padding-top: 2rem;
        align-items: unset;
        height: 413px;
    }
    #quote p.the-quote-itself {
        font-size: 1.0625rem;
    }
    #quote p.attribution {
        max-width: 308px;
        position: absolute;
        right: 0;
        font-size: 13px;
        text-align: right;
        margin-top: 0rem;
        line-height: 1.25;
    }
    /*================================    the wolfram system*/
    .diagram {
        margin-top: 0px;
        height: 289px;
    }
    #risk-diagram .flower-wrapper {
        -moz-transform: scale(.6);
        transform-origin: top center;
        transform: scale(.6);
        width: 100%;
    }
    #risk-diagram .flower-wrapper:before { 
        display: none; 
    }
    #risk-diagram .flower-wrapper a {
        font-size: 1.3rem;
    }
    .flowerhover { 
        display: none !important; 
    }
    /*================================    contact us*/
    #tell-us-form ._main-grid>*, #tell-us-form ._radio-grid>* {
        padding-top: .6rem;
    }
    input::placeholder, textarea::placeholder {
        font-size: 0.875rem;
    }
    #quote .cd-hero__nav {
        bottom: 1.0rem;
        padding-right: unset;
    }
    #quote .cd-hero__nav nav {
        float: inherit;
    }
    #quote .carousel {
        min-height: 480px;
    }
    .aleary-quote .left img {
        display: block;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }

    /*================================    footer*/
    .footer a { display: block; }
}

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

@media (max-width: 320px) {
    /*================================    intro*/
    #title-outer span#badge {
        font-size: 0.54rem;
        padding: 0 0.4rem;
    }
    /*================================    slide*/
    .right {
        height: 400px;
        align-items: unset;
        padding-top: 2rem;
    }
    #quote .carousel {
        min-height: 474px;
    }
    /*================================    wolfram system*/
    
}
@media print {}