/* ==========================================================================
   overview page
   ========================================================================== */

#shadow-wrapper {
    -webkit-box-shadow: 0 2px 5px #d9d9d9;
    box-shadow: 0 2px 5px #d9d9d9;
}

#page-bg {
    padding: 15px 0;
    background: #e9e9e9;
    background: -moz-linear-gradient(top, #e9e9e9 0%, #ffffff 33%, #ffffff 66%, #eeeeee 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e9e9e9), color-stop(33%,#ffffff), color-stop(66%,#ffffff), color-stop(100%,#eeeeee));
    background: -webkit-linear-gradient(top, #e9e9e9 0%,#ffffff 33%,#ffffff 66%,#eeeeee 100%);
    background: -o-linear-gradient(top, #e9e9e9 0%,#ffffff 33%,#ffffff 66%,#eeeeee 100%);
    background: -ms-linear-gradient(top, #e9e9e9 0%,#ffffff 33%,#ffffff 66%,#eeeeee 100%);
    background: linear-gradient(to bottom, #e9e9e9 0%,#ffffff 33%,#ffffff 66%,#eeeeee 100%);
}

#page-content {
    background: none;
}

#overview-carousel {
}

#overview-carousel h1 {
    padding: 0 60px 0 400px;
    color: #e60000;
    /*font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;*/
    font-size: 34px;
    line-height: 38px;
    text-shadow: none;
}

#overview-carousel h2 {
    padding: 10px 60px 0 400px;
    color: #464646;
    /*font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;*/
    font-size: 18px;
    line-height: 24px;
    text-shadow: none;
}

.carousel-caption table {
    width: 100%;
    height: 100%;
}

.carousel-caption table td {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

#overview-cas {
    /*height: 227px;*/
    height: 207px;
    background: url('/National_Library/20161122160656oe_/http://www.wolframsolutions.com/images/computation-algorithm-strategy-bg.png') no-repeat;
}

#overview-case-studies {
    height: 195px;
    background: url('/National_Library/20161122160656oe_/http://www.wolframsolutions.com/images/case-studies-bg.png') no-repeat;
}

#overview-cas a,
#overview-case-studies a {
    display: block;
}

#overview-cas a .h3,
#overview-cas a .p,
#overview-case-studies a .p {
    margin: 0 0 0 198px;
}

#overview-cas a {
    margin: 80px 0 0 0;
}

#overview-case-studies a .h3 {
    margin: 8px 0 0 198px;
}

#overview-cas a:link .h3,
#overview-cas a:visited .h3,
#overview-case-studies a:link .h3,
#overview-case-studies a:visited .h3 {
    display: block;
    margin-bottom: 5px;
    color: #494949;
    font-family: 'Enriqueta', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

#overview-cas a:hover .h3,
#overview-cas a:active .h3,
#overview-case-studies a:hover .h3,
#overview-case-studies a:active .h3 {
    color: #dc000a;
}

#overview-cas a:link .p,
#overview-cas a:visited .p,
#overview-case-studies a:link .p,
#overview-case-studies a:visited .p {
    display: block;
    color: #dc000a;
    line-height: 15px;
}

#overview-cas a:hover .p,
#overview-cas a:active .p,
#overview-case-studies a:hover .p,
#overview-case-studies a:active .p {
    color: #ff0000;
}

#overview-cas .linebreak,
#overview-case-studies .linebreak {
    display: block;
}

#page-content .column1 p,
#page-content .column2 p {
    margin: 0 0 30px 0;
}

#page-content .main-content {
    padding-right: 40px;
}

/* ==========================================================================
   bootstrap overrides
   ========================================================================== */

.carousel-control {
    display: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50px;
    margin-left: 0;
    text-align: left;
}

.carousel-indicators li {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    margin: 0 4px 0 0;
    border: 1px solid #a6a6a6;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #e4e4e4;
}

.carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 0 4px 0 0;
    background-color: #e00400;
}

.carousel-inner img {
}

.carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
}

.carousel .item {
    -webkit-transition: 1s ease-out opacity;
    -moz-transition: 1s ease-out opacity;
    -ms-transition: 1s ease-out opacity;
    -o-transition: 1s ease-out opacity;
    transition: 1s ease-out opacity;
    left: 0 !important;
}

.carousel .active.left,
.carousel .active.right {
    opacity: 0;
    z-index: 2;
}

.carousel .next.left,
.carousel .prev.right {
    opacity: 1;
    z-index: 1;
}

.carousel-control {
    z-index: 3;
}

/* ==========================================================================
   overrides for small tablet landscape (800x600)
   ========================================================================== */

@media (max-width: 994px) {
    #page-bg {
        padding: 0;
        background: none;
    }

    #overview-carousel h1 {
        padding: 0 30px 0 35%;
        font-size: 30px;
        line-height: 32px;
    }

    #overview-carousel h2 {
        padding: 10px 30px 0 35%;
        font-size: 16px;
        line-height: 24px;
    }

    #page-content .column1 {
        padding-right: 0;
	}

    #page-content .column2 {
        padding-top: 10px;
        padding-left: 0;
    }

    #page-content .column1 p,
    #page-content .column2 p {
        margin: 0 0 15px 0;
	}

    .carousel-indicators {
        left: 30px;
	}

    #overview-cas a {
        margin: 0;
    }
}

/* ==========================================================================
   overrides for tablet portrait (768x1024)
   ========================================================================== */

@media (max-width: 770px) {
    #overview-carousel h1 {
        font-size: 24px;
        line-height: 26px;
    }

    #overview-carousel h2 {
        padding: 10px 30px 0 35%;
	}
}

/* ==========================================================================
   overrides for small tablet portrait (600x800)
   ========================================================================== */

@media (max-width: 738px) {
    #overview-carousel h1 {
        font-size: 20px;
        line-height: 22px;
    }

    #overview-carousel h2 {
        font-size: 15px;
        line-height: 17px;
    }
}

/* ==========================================================================
   overrides for mobile landscape (480x320)
   ========================================================================== */

@media (max-width: 570px) {
    #overview-carousel h1 {
        padding: 0 20px 0 35%;
        font-size: 17px;
        line-height: 19px;
    }

    #overview-carousel h2 {
        display: none;
        /*padding: 10px 20px 0 35%;
        font-size: 13px;
        line-height: 15px;*/
    }

    .carousel-indicators {
        left: 20px;
	}
}

/* ==========================================================================
   overrides for mobile portrait (320x480)
   ========================================================================== */

@media (max-width: 450px) {
    #overview-carousel {
        display: none;
	}

	#overview-cas,
    #overview-case-studies {
        height: auto;
        background: none;
    }

	#overview-cas a .h3,
    #overview-case-studies a .h3,
    #overview-cas a .p,
    #overview-case-studies a .p {
        margin: 0;
	}
    
    #overview-cas a .p {
        margin: 0 0 30px 0;
    }
    
    #overview-case-studies a .p {
        margin: 0 0 20px 0;
    }

    #overview-cas .linebreak,
    #overview-case-studies .linebreak {
        display: inline;
	}
}