/* ------------------------------- Examples Subpages Redesign ------------------------------- */
body {
    background:#EBEBEB;
    min-width:1265px;
}

#templateContent {
    min-height: 400px;
}

#pageTitle a{
    position:relative;
}

#content {
    width:984px;
}

#content .main-pod{
     -moz-box-shadow: 0px 0px 11px rgba(51,51,51,0.2);
    -webkit-box-shadow: 0px 0px 11px rgba(51,51,51, 0.2);
    box-shadow: 0px 0px 6px rgba(51,51,51,0.2); /*#333333*/
    margin:0 auto;
}

#content .header h2, #content .header .backToTopics, #content .header .topLevelCategory{
    color:#ffffff;
    font:18px regular Arial, Helvetica, sans-serif;
    text-shadow: 0px 1px 3px #8a4700;
}

#content .header h2 {
    font-size:21px;
}

#content .header .backToTopics, #content .header .topLevelCategory{
    position:relative;
    top:-2px;
}

#content .header .backToTopics, #content .header .topLevelCategory {
    color:#fff4c1;
}

#content .header .backToTopics:hover, #content .header .topLevelCategory:hover {
    color:white;
}

#content .header .pro-label {
    position: absolute;
    margin-left: 12px;
    top: 21px;
}

/* -------------------------- */
/*  Example Main Pod Header   */
/* -------------------------- */

#content .top-header {
    background-color: #ffb05a; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb05a', endColorstr='#ff8603'); /* for IE */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffb05a), to(#ff8603)); /* for webkit browsers */
    background-image: -moz-linear-gradient(top,  #ffb05a,  #ff8603); /* for firefox 3.6+ */
    
    color:#ffffff;

    min-height:65px;
}

#content .top-header .header {
    margin:0;
    padding:20px 0px 17px 20px;
}

#content .top-header .button{
    /* Gradient */
    background-color: #fed088; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fed088', endColorstr='#fca000'); /* for IE */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fed088), to(#fca000)); /* for webkit browsers */
    background-image: -moz-linear-gradient(top,  #fed088, #fca000); /* for firefox 3.6+ */

    /* Border with Rounded Edges */
    border: 1px #d97810;
   -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;

    font: 14px Arial, Helvetica, sans-serif;
    color: #FFFFFF; 
    box-shadow: 0px 0px 8px #b65f01;
    text-shadow: 0px 1px 3px #b65f01;

    width: 283px;
    margin:12px 15px 0px 12px;
    padding:12px 5px 12px 12px;
    
    float: right;
    position: relative;

    z-index:10; /* fixes problem with hover */
}

#content .top-header .button:hover, #content .top-header .button.fakeHover{
    /* Gradient */
    background-color: #ffb565; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb565', endColorstr='#ffb565'); /* for IE */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffb565), to(#ffb565)); /* for webkit browsers */
    background-image: -moz-linear-gradient(top,  #ffb565, #ffb565); /* for firefox 3.6+ */
}

/* Topics 3-line Icon */
#content .top-header .button .topicsImage {
    background-image: url(http://www.wolframcdn.com/images/examples/topics-icon.png);
    
    width: 21px;
    height: 17px;

    position:absolute;
    top:12px;
    right: 7px;
}

#content .top-header h2 {
    text-align:right;
    position:relative;
    display:inline-block;
}


/* -------------------------- */
/*  Example Main Pod          */
/* -------------------------- */

#content .mid {
    overflow: hidden;

    margin:0;
    padding:15px 15px 15px 15px;

    background-color:white;
}

#content .mid .text {
    margin:0;
    padding:0;
    width:73%;
}

#content .mid .text.noBlogs {
    width:100%;
    margin:0 auto;
}

#content .mid .ex-sectionhead, #content .mid .ex-section {
    color:#ff8f33; 
    font:bold 13px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

#content .mid a .ex-sectionhead:hover {
    color:#f37800;
}

.sectionWrapper {
    margin-bottom:32px;
}

/* ------ Columns ------- */
.col2 {
    width:307px;
    /*min-height:20px;*/
    float:left;
    margin-right:20px;    
}

.text.noBlogs .col2 {
    width:48%;
}

.text.noBlogs .col2.second {
    margin:0 0 0 15px;
}

.col3 {
    width:27%;
    float:left;
}

.col4 {
    width:23%;
    float:left;
}


/* ------ Example Input Boxes ------*/

.text .example {
    width:100%;
}

/* Links to other topics */
.nav {
    display: none;
}

/* ------ Blog Posts Sidebar ----- */

.blogLinksContainer {
    position:relative;
    margin-top:0px;
    float:right;
}


.gray.sidebar {
    border: 1px #dbdbdb;
    -moz-box-shadow: 0px 0px 11px rgba(51,51,51,0.2);
    -webkit-box-shadow: 0px 0px 11px rgba(51,51,51, 0.2);
    box-shadow: 0px 0px 6px rgba(51,51,51,0.2); /*#333333*/

    width:300px;
    margin: auto;
}

.gray.sidebar .titleBar {
    background-color:#929292;
    font:12px Arial, Helvetica, sans-serif;
    line-height: 17px;
    text-align:left;
    color:white;
    height:20px;
    padding-top:12px;
    padding-bottom:8px;
    padding-left:25px;

    text-transform: uppercase;
}

.gray.sidebar .contents{
    background-color:#f7f7f7;

    padding-bottom:15px;
}

.gray.sidebar .contents .relatedBlog{
    padding:15px 0 0 0; 
}

.gray.sidebar.blogPosts:not(.referenceLink) .contents .relatedBlog {
    display:none;
}

.contents .blogIcon{
    background-repeat:no-repeat;
    background-position:center;    

    width:50px;
    height:32px; 

    display:inline-block;
    vertical-align:top;

    margin-left:12px;
}

.referenceLink .contents .blogIcon{
   vertical-align:middle; 
}

.gray.sidebar .contents .blogLink{
    width:220px;
    
    color: #999999; 
    font-size:12px;
    display:inline-block;
    vertical-align:middle;
    line-height: 17px; 
}


.gray.sidebar .contents .blogLink:hover {
    color:#ff9400;
}

/* ------------- On Hover Popup for All Topics Links -----------------*/
.popup {
    display:none;

    position: absolute;
    z-index:100;
    left: 13px;
    top: 43px;
}


.arrow-up{
    background-image:url(http://www.wolframcdn.com/images/examples/examples-arrow.png);
    background-repeat:no-repeat;
    
    height:18px;
    width:30px;

    position:absolute;
    top:2px;
    right:193px;
}

/*------- All this to get the gray shadow around the pop window with a border
 *        It is necessary to have 3 sections to allow for the transparent arrow to 
 *        be inserted into the border.
 * ------------------------------------------*/
.borderbox {
    background:rgba(137,137,137,0.7);
    border:1px solid rgba(91,91,91,0.7);
    
    height:345px;
}

.containerbox {
    position: relative;
    margin: 19px 0 0 10px;
    display:inline-block;
}

.leftbox {
    overflow:visible;
    float:left;

    width:722px;

    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right:none;

    box-shadow:-3px 0px 5px 0px #dddddd;
}

.midbox {
    float:left;
    margin-top:1px;/* because of the lack of a top border*/
    width:27px;
     
    border-right:none;
    border-left:none;
    border-top:none;

    box-shadow:0px 8px 6px -7px #dddddd; /*only on the bottom*/
}

.rightbox {
    float:left;

    width:193px;
    
    -moz-border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
    -khtml-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;

    border-left:none;

    box-shadow:2px 0px 5px -1px #dddddd; /*only on top, bottom, right*/
}

/* white box that contains all topic links*/
.popup .linkbox{
    background:#ffffff;
    border: 1px #dbdbdb;
    /*box-shadow: 0px 0px 0px 13px #FFFFFF;*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;

    position:absolute;
    left:10px;
    top:10px;
    width:887px;
    height:288px;
    padding:10px 0px 30px 35px;
}

.topicsCol {
    width: 25%;
    float: left;
}

.topicsCol a{
    padding-top:10px;
}

.topicsCol .ex-link-pro {
    color:#fca000;
    margin-right:3px;
}

.topicsCol .ex-link {
    color:rgb(111,111,111);
    margin:0;
    display:inline-block;
    width:100%;
    height:100%;
}

.topicsCol span {
    display: inline-block;
}

.topicsCol li:hover {
    background-color:#FFA332;
    color:#ffffff;
}

.topicsCol li:hover .ex-link, .topicsCol li:hover .ex-link-pro, .topicsCol li:hover .doubleRightAngleQuote {
    color:#ffffff;
}

.doubleRightAngleQuote {
    color: #fca000;
    margin:-2px 3px 0 8px;
}

.ex-link .doubleRightAngleQuote {
    float:left;
}

.topicsCol li {
    height:34px;
}

.topicsCol ul {
    padding-right: 25px;
}
/* --------------------------------------------------------------------------------- */

/* ----------------------- Examples Homepage Redesign ------------------------------ */

.mainContainer {
    margin: 25px 70px 0px 148px;
}

.examplePodsContainer {
    width: 1060px;
    margin: 0 auto;
}

.titleBarContainer {
    width: 960px;
    margin: 0 auto;
}

.examplesTitleBar {
    display:block;
 
    margin:10px 0 10px 0; 
}

.subpage .examplesTitleBar {
    display:block;
 
    margin:18px 0 18px 0; 
}

a.exampleLink {
    color: #777777;
}

a.exampleLink:hover {
    color: #ff9400;
}

/* --------- Individual Example Category Pod --------- */

.examplesPod {
    width: 225px;
    
    -moz-box-shadow: 0px 0px 11px rgba(51,51,51,0.2);
    -webkit-box-shadow: 0px 0px 11px rgba(51,51,51, 0.2);
    box-shadow: 0px 0px 6px rgba(51,51,51,0.2); /*#333333*/

    margin-bottom:20px;

    background-color:#ffffff;
}

.examplesPod.pro {
    background-color:#fffbef;
     
    border-style:solid;
    border-color:#e9b680;
    border-width:1px;
}

.examplesPod .podTitle {
    position:relative;

    overflow:auto;

    padding:10px 10px 10px 10px;

    background-color: #ffb05a; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb05a', endColorstr='#ff8603'); /* for IE */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffb05a), to(#ff8603)); /* for webkit browsers */
    background-image: -moz-linear-gradient(top,  #ffb05a,  #ff8603); /* for firefox 3.6+ */
    
    color:#ffffff;
    font-size:15px;
    font-weight:bold;
    text-transform: uppercase;
    width: 205px; /* FIX for Ubuntu Chrome Bug */
}

a .podTitle, a .podImage {
    opacity:1.0;
    -webkit-transistion: all .2s linear;
    transition: all .2s linear;
}

a:hover .podTitle {
    background-color:#ff8603;
    background-image:none;
}

a:hover .podImage {
    opacity:0.7;
}

.examplesPod .proIcon {
    float:left;
}

.examplesPod .category {
    float:left;
    margin:3px 0 0 4px;
   
    line-height:18px;
}

.examplesPod.pro .category {
    width: 156px;
}

.examplesPod .proCalloutIcon {
    position: absolute;
    right: 3px;
    top: 50%;
    margin-top: -6px;
}

.examplesPod .subpodLinks {
    padding: 25px 15px 25px 15px;
    font:12px Arial, sans serif Regular;
    color:rgb(153,153,153);
    line-height:18px;
}

/* ------- Blog Posts Box ------- */
.index.blogPosts {
    width: 205px;
    
    -moz-box-shadow: 0px 0px 11px rgba(51,51,51,0.2);
    -webkit-box-shadow: 0px 0px 11px rgba(51,51,51, 0.2);
    box-shadow: 0px 0px 6px rgba(51,51,51,0.2); /*#333333*/

    margin-bottom:20px;

    background-color:#ffffff;

    padding:10px 10px 10px 10px;  

    font:12px Arial Bold;
    color: #666666;
}

.index.blogPosts .relatedBlog {
    margin-bottom:25px; 
}

.index.blogPosts a.blogLink {
    color: #838383;
    font:12px Arial, sans serif Regular;
}

.index.blogPosts .title {
    font:12px Arial, sans serif Bold;
    margin-bottom:7px;
    text-transform: uppercase;
    color:#666666;
    font-weight: Bold;
    line-height: 16px;
}

.index.blogPosts .blogIcon {
    float:left;
    margin-left:0px;
}

.index.blogPosts .textWrapper {
    margin-top:7px;
}

/* -- '...continually growing' gray box -- */
.moreToCome {
    color:rgb(133,133,133);
    font-size:13px;
    font-style:italic;
    line-height:1.4;

    width: 185px;
    
    -moz-box-shadow: 0px 0px 11px rgba(51,51,51,0.2);
    -webkit-box-shadow: 0px 0px 11px rgba(51,51,51, 0.2);
    box-shadow: 0px 0px 6px rgba(51,51,51,0.2); /*#333333*/

    margin-bottom:20px;

    background-color:#F9F9F9;
    padding:20px 20px 20px 20px;
}

/* --------------------------------------------------------------------------------- */


/* --------- Sticky Footer --------------*/
footer.common {
    background: #f4f4f4;
    background: #EEE;
    background: -moz-linear-gradient(top, #EEEEEE 0%, #fff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EEEEEE), color-stop(100%,#fff));
    
    margin-top:0px;
}

#wrap {
    min-height:100%;
}

html, body {
    height:100%;
}

#templateContent {
    overflow:auto;
    padding-bottom:150px;
}

/* -- visual examples -- */
#visualExamplesBanner {
    padding-bottom:30px;
    display:inline-block; 
    width:100%;
}
.more-ex {
    bottom:50px;
}


/* ----------------- Calculator Links ------------------- */
.calculator {
    color: #888;
    font-size: 11px;
    margin-bottom: 12px;
}

.calculator .doubleRightAngleQuote {
    margin-left: 0px;
}

.calculator a {
    color: #ff8f33;
}

.calculator a:hover, .calculator a:hover .doubleRightAngleQuote {
    color: #DB0303;
    cursor: pointer;
}

#ex-main footer {
    background-color: white;
    padding-left: 15px;
    margin-top: -15px;
}

#ex-main footer .calculator {
    font-size: 11px;
    color: #888;
    border-top: 1px solid #D7D7D7;
    width: 636px;
    padding: 5px 0 25px 0;
}
