/* University Template over-ride
   Launched: 
   Author:  Nevin McElwrath, Zach Richard
   ----------------------------------------------------*/

/* Global Styles go outside the @media screen */
/* Uncomment the site stylesheet in _resources.liquid to use */

/*************************************************************************************
 * 1. Common Styles
 ************************************************************************************/
html { /* background: #f2f2f2;*/ }
 
a {color:#002b5b; outline:none; -webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-transition:all 125ms linear;
   -moz-transition:all 125ms linear;
     -o-transition:all 125ms linear;
        transition:all 125ms linear;
}
a:visited {color:#217092;}
a:hover {color:#217092;}
a:active {color:#217092;}
a:focus {outline:thin dotted;}
a.tapped {background-color:rgba(10,192,221,0.5);}
::-moz-selection,
::selection {background:#0ac0dd; color:#fff; text-shadow:none;}
h1 a:visited,h2 a:visited,h3 a:visited,h4 a:visited,h5 a:visited,h6 a:visited {color:#217092;}

@media screen,projection {
  .brandbar.theme-bb-white { background: white; }
  .brandbar.theme-bb-white .dept-nd a { background: url(//www.nd.edu/assets/images/brandbar/dept-nd-gray.png); }
  
  .titlebar { background: #0d223f; }
  .header-util {top:4.2em;}
  
  .site-title a { background: url(/stylesheets/images/logo_dna-learning-center.svg) no-repeat; display: block; text-indent: -9999px; padding-top:30%; margin: 0.5em 0; }
  .header-util {display:none;}
  .header-util nav a { color: white; text-shadow: none; box-shadow: none; }
  .header-util nav a:hover { color: #0ac0dd; text-shadow: none; box-shadow: none; }
  .search-form { border: 1px solid #bbb; }
  .search-button {
-webkit-transition: none;
   -moz-transition: none;
     -o-transition: none;
        transition: none; }
  .search-button:hover {
    border: 1px solid #ccc;
    background: center center no-repeat #b0b0b0;
    background: center center no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c4c4c4), color-stop(100%,#858585));
    background: center center no-repeat, -webkit-linear-gradient(top, #c4c4c4 0%,#858585 100%);
    background: center center no-repeat, -moz-linear-gradient(top, #c4c4c4 0%,#858585 100%);
    background: center center no-repeat, linear-gradient(top, #c4c4c4 0%,#858585 100%);
   }
  .date-left {float:left; display:inline-block; text-align:center; margin:0 1em 0.5em 0;}
  .date-left span {display:block; text-transform:uppercase; margin:0.25em 0}
  .date-left .month {font-size:1.2em;}
  .date-left .day {font-size:2em;}
  .home-secondary.row {margin:2em 0;}
  
  .events .vevent { margin-left: 0; }
  
  .flexslider { border: 1px solid #000;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
       -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
  
  /* General Nav
  ----------------------------------------------------*/
  .nav-site {}
  .nav-site ul {padding:0 0 1em;}
    .nav-site ul li {margin:0.2em 0;}
    .nav-site ul a {display:block; padding:0.2em 0 0.2em 1em; text-indent:-1em; line-height:1.2em; text-transform:none; color:#002b5b; font-size:1.4em; font-weight:300; font-family:GPC, "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; border-bottom:2px solid transparent;}
    .nav-site ul a:hover { border-bottom:2px solid #0ac0dd; color:#217092; }
    .nav-site ul > .active > a { color:#217092; border-bottom:2px solid #0ac0dd; }
  .nav-site ul ul {padding:0;}
    .nav-site ul ul a {padding:0 0 0 32px; text-indent:-1em; color:#444; font-size:1.125em; font-family:inherit; border:none;}
    .nav-site ul ul li {margin:0.5em 0;}
    .nav-site ul ul a:hover {color:#004da3; border:none;}
    .nav-site ul ul > .active > a {color:#217092; border:none; font-weight:400; background:url(images/navsub.png) 0 4px no-repeat;}
    .nav-site li.last{margin-bottom:1em;}
  .nav-site ul ul ul {margin-left:1em; padding:0; font-size:0.9em;}
    .nav-site ul ul ul a:hover {background:none;}
    .nav-site ul ul ul .active > a {color:#555; font-weight:bold;}
    .nav-site ul ul ul .active > .current-last {color:#004da3;}
  .nav-site ul ul ul ul {margin-left:1.5em;}
    .nav-site ul ul ul ul a {padding:0 0 0 1.5em;}
  .nav-site ul ul ul ul ul {margin-left:1.5em;}

  .nav-section {display:none;}
  
  .nav-skip { background: transparent; border: 1px solid #0ac0dd; }
  
  .dept-cosc a {width:218px; background-image:url(//www.nd.edu/assets/images/brandbar/dept-cosc-gray.png);} /* College of Science */
  
  .home-secondary .columns > h2 {margin:0 0 0.3em; padding:0 0 0.3em; border-bottom:2px solid #0ac0dd; }
  .home-secondary .columns .more {margin-bottom:2em;}
  
  /* Buttons
  ----------------------------------------------------*/
  
  .btn:hover [data-icon]:before { color: #0ac0dd; }
    
  .more { color:#002b5b; background: url(/stylesheets/images/more-grey.png) no-repeat 90% center #e3e3e3; }
  .more:visited {color:#888; background: url(/stylesheets/images/more-grey.png) no-repeat 90% center #e3e3e3; }
  .more.right {display:block; text-align:right;}
  .more:hover {color:white; background: url(/stylesheets/images/more-aqua.png) no-repeat 90% center #002b5b; border-bottom: 3px solid #0ac0dd; }
  
  .page-title { margin: 0 0 .35em; padding: 0 0 0.25em; border-bottom: 2px solid #0ac0dd; }
  
  .breadcrumbs a:visited { color: #217092; }
  
  .additional-links { text-align: right; }
  
  }


@media only screen and (min-width:700px) {
  .header-util {display:block;}
  .site-title a {min-width:340px; padding:0; height:120px;}
}

/* Hi-res
----------------------------------------------------*/
@media
  (-webkit-min-device-pixel-ratio:1.5),
  only screen and (min--moz-device-pixel-ratio: 1.5),
  (min-resolution:144dppx) {

   .more { background-image:url(/stylesheets/images/more-grey@2x.png);
      -webkit-background-size:12px 17px;
         -moz-background-size:12px 17px;
           -o-background-size:12px 17px;
              background-size:12px 17px;
   }
   .more:hover { background-image: url(/stylesheets/images/more-aqua@2x.png); 
      -webkit-background-size:12px 17px;
         -moz-background-size:12px 17px;
           -o-background-size:12px 17px;
              background-size:12px 17px;
   }
   
    .brandbar.theme-bb-white .dept-nd a,
    .dept a {
      -webkit-background-size:contain;
         -moz-background-size:contain;
           -o-background-size:contain;
              background-size:contain;
   }

  /** Gray Text **/
  .dept-nd a   {background-image:url(//www.nd.edu/assets/images/brandbar/dept-nd-gray@2x.png) !important;}
  .dept-cosc a {background-image:url(//www.nd.edu/assets/images/brandbar/dept-cosc-gray@2x.png);} /* Office of Strategic Planning and Institutional Research */

}
