/* Extra styling for the College of Science website */

.breaking-news {
    margin-bottom: 10px;
    padding: 10px;
    border: 5px solid #B1810B;
}

@media (max-width: 767px) {
    .top .logo {
        padding: 15px;
    }
    .top .logo a {
        width: 25%;
    }
    
    .top .department {
        padding: 0 15px 15px;
    }
    
    .footer #accordion .motto img {
        max-width: 60%;
    }
}

.menu-title {
    color: #A3792C !important;
    padding:3px 15px;
    font-weight:bold;
}

.menu-title-link {
    color: #A3792C !important;
    font-weight:bold;
}

.menu-title-link:hover {
    color: #fff !important;
}

.collegeContent .grid .introContainer .intro {
    padding: 15px;
}

.panel-body {
    border-top: none;
}

.panel-title {
    padding-top:0;
}

.panel-default > .panel-heading {
    padding: 10px 10px 10px 0;
}

.news, .events {
    background-color:#1B1B1B !important;
    padding: 15px 0 0 0 !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .collegeContent .grid .introContainer .intro {
        padding: 10px;
    }
}

.spotlight {
    position: absolute;
    bottom: 15px;
    color: #FFF;
    font-size: 1.3em;
    padding: 0px 10px;
    text-shadow: 2px 2px #000;
}

.news-link, .event-link {
    font-size:0.9em;
}

.news-link a, .event-link a {
    color: #FFF;
    text-decoration: underline;
    font-weight: normal;
}

.news-link a:hover, .event-link a:hover {
    text-decoration:none;
}

.morenews {
    font-style: italic;
    text-align: right;
    margin: 5px 10px;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .morenews {
        margin: 5px;
    }
}

.morenews a:link {
    color: #B1810B;
    text-align: right;
    text-decoration:underline;
    font-style: italic;
    font-weight: 500;
}

.morenews a:hover {
    text-decoration:none;
}

.morenews a:visited {
    color: #B1810B;
    
}

.collegeContent .grid .introContainer .intro a.featureLink:hover {
    background-color: #1B1B1B;
}

.bottom p {
    font-size:1.1em;
    padding-bottom:0;
    line-height:1.3em;
}

/* Carousel styling for Alumni home page, Outreach home page and MSP homepage */

 .carousel-control .left, .carousel-control .right {
     color: #FFF;
     opacity: 0.9;
}

 .carousel-control .left:hover, .carousel-control .right:hover {
     text-decoration:none;
}

 @media only screen and (max-width:767px) {
     .carousel .carousel-indicators {
         display: none;
    }
}

 .carousel-caption a {
     color: #FFF;
}

 .alumni .carousel-indicators, .outreach .carousel-indicators {
     bottom: 20%;
     left: 40%;
}

.slider .carousel-indicators {
    bottom: 20%;
    left:40%;
}

 @media (max-width: 1199px) and (min-width: 991px) {
     .alumni .carousel-indicators, .outreach .carousel-indicators {
         left: 50%;
         bottom: 20%;
    }
    
     .slider .carousel-indicators {
         left: 50%;
         bottom: 20%;
    }    
}

 @media (max-width: 990px) and (min-width: 768px) {
     .alumni .carousel-indicators, .outreach .carousel-indicators {
         left: 50%;
         bottom: 20%;
    }

     .slider .carousel-indicators {
         left: 50%;
         bottom: 20%;
    }
    
}

 @media only screen and (max-width:767px) {
     .carousel .alumni, .carousel .outreach {
         margin: 0 -5px;
    }
    
     .carousel .slider {
         margin: 0 -5px;
    }    
    
     .alumni .carousel-indicators, .outreach .carousel-indicators {
         display: none;
    }

     .slider .carousel-indicators {
         display: none;
    }
    
}

 .carousel-caption {
     margin-left: -25%;
}

.slider .carousel-caption {
    margin-left:0;
}


 @media (max-width: 1199px) and (min-width: 991px) {
     .carousel-caption {
         margin-left: -10%;
    }
}

 @media (max-width: 990px) and (min-width: 768px) {
     .carousel-caption {
         margin-left: 0;
    }
}

 @media only screen and (max-width:767px) {
     .carousel-caption {
         margin-left: 0;
         margin-bottom: 10px;
    }
}

 .alumni .carousel-control.right, .outreach .carousel-control.right {
     right: 25%;
}

.slider .carousel-control.right {
     right: 15%;
}

 @media (max-width: 1199px) and (min-width: 991px) {
     .alumni .carousel-control.right, .outreach .carousel-control.right {
         right: 10%;
    }
    
     .slider .carousel-control.right {
         right: 10%;
    }    
}

 @media (max-width: 990px) and (min-width: 768px) {
     .alumni .carousel-control.right, .outreach .carousel-control.right {
         right: 0;
    }
    
     .slider .carousel-control.right {
         right: 0;
    }
    
}

 @media only screen and (max-width:767px) {
     .alumni .carousel-control.right, .outreach .carousel-control.right {
         right: 10%;
    }
    
     .slider .carousel-control.right {
         right: 10%;
    }    
}

/************************************************************************************/
/* william's code */

@media print {
    .navbar {
        display: none;
    }
    
    .breadcrumb {
        display: none;
    }
    
    .footer {
        display: none;
    }
    
    .maincontent {
        font: 12pt Georgia, "Times New Roman", Times, serif !important;
        line-height: 1.3;
        margin: 0;
        padding: 0;
        float: none !important;
        width: 100%;
    }
    
    .logo {
        width: 100%;
    }
    
    .top a:after {
        display: none;
    }
    
    .logo img {
        display: none;
    }
    
    .logo:after {
        content: "Purdue University- College of Science";
        font-size: 24pt;
        color: #000000;
        font-family: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
    
    .department {
        display: none;
    }
    
    img {
        /*min-width: 200px;*/
        max-width: 500px;
        border: 0;
    }
    
    h1 {
        font-size: 24pt !important;
    }
    
    p a {
        color: #000000;
        text-decoration: none !important;
    }
    
    ul li a {
        color: #000000;
        text-decoration: none !important;
    }
    
    .sidenav {
        width: 100%;
    }
    
    table {
        width: 100%;
        table-layout: auto;
        border: 0;
    }
    
    td {
        word-break: break-all;
        overflow: hidden;
    }
    
      
    a[href]:after {
        content: "";
    }
    
    a[href^="http://"]:after, a[href^="https://"]:after {
        content: " (" attr(href) ")" !important;
        font-size: 90%;
        word-wrap: break-word;
    }    
    
    /* videos */
    /* http://www.noupe.com/design/css-perfect-print-stylesheet-98272.html */
    iframe {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        line-height: 0pt !important;
        white-space: nowrap;
    }
    
    /* advising page */
    .column {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* careers page */
    
    .grid-item {
        border-style: solid !important;
        border-width: medium !important;
    }
    
/*  .grid-item {
       clear: both !important;
       position: relative !important;
       width: 100% !important;
       height: 10px !important;
       text-align: left !important;
    }*/
    
    /* get connected section in careers section */
    a[href^="https://www.facebook.com"]:after, a[href^="https://www.linkedin.com"]:after, a[href^="http://purduesciencealumni.tumblr.com"]:after, a[href^="https://twitter.com"]:after, a[href^="http://www.youtube.com"]:after{ 
        white-space: pre !important;
        display: block !important;
        content: "\A(" attr(href) ")\A \A \A" !important;
        font-size: 90%;
        word-wrap: break-word;
    }
    
    /* home page */
    .tiles {
        position: relative !important;
        page-break-before: always;
        overflow: auto;
        -webkit-region-break-before: always;
    }
    
    .tile {
        border-style: solid !important;
        border-width: medium !important;
        height: 100px !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
     
    .panel-body .spotlight {
        position: relative;
        margin-top: 10px;
    }
    
}
    
