html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
.flexnav, .flexnav ul, .flexnav ul li, .flexnav ul li ul, .flexnav ul li ul li {position:relative;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}

.span1, .span2, .span3, .span4, .span5, .span6, .span7{
    float:left;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

.col{
  margin-left: 1.5%;
}

.col:first-child {
  margin-left:0;
}

.span1{
  width: 13%;
  
}
.span2{
  width: 27.5%;
  
}
.span3{
  width: 42%;
  
}
.span4{
  width: 56.5%;
  
}
.span5{
  width: 69%;
  
}
.span6{
  width: 85.5%;
  
}
.span7{
  width: 100%;
  margin-left: 0;
}

body{ 
  margin:0 auto;
  font-size: 87.5%;
  color: #252e35; 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
  line-height: 1.5em;
  background: #dadff0; 
}

h1{
    font-size: 1.714285714em; /* 24 / 14 */
    line-height: 1.5em; /* 21 / 14 */
}

h2{
  font-size: 1.5em; /* 21 / 14 */
  line-height: 1.5em; /* 21 / 14 */
}

p{
    font-size: 1em; /* 14 / 14 */
    line-height: 1.5em; /* 21 / 14 */
    margin-bottom: 1.5em; /* 21 / 14 */
}

#container, .inner{
  margin: 0 auto;
  
  z-index:-1;
}

#header{
  background: #273d83;
  border: 1px solid white;
  border-radius: 2px 2px 2px 2px;
  box-shadow: 0 4px 2px #9BBEDB;
}

#header h1{
  margin: 7px 0 0 0;
    font-size:2.5em !important;
    line-height: 1.8em;
}

#header div h1 .orgName {top:50px;}

footer {
  border-top:1px solid #a3b1dc;
  padding:15px 0;
  text-align:center;
  background-color: white;
  clear:both;
  margin:25px auto 0 auto;
}

footer div{
  max-width:1024px;
  margin:0 auto;
}

#container{
  clear: both;
  padding-top: 20px;
}

.alt{
  color: #fff;
  color: rgba(255,255,255, 0.9);
  letter-spacing: 0.05em;
}

#BishopsLogo {width:90px}

#___gcse_0 {
z-index:1000;
	position:relative;
width:100%;
height:50px;
top:50px;
right:0;
}

#___gcse_0 div.gsc-control-searchbox-only {
	width:250px !important;
	position:absolute;
	right:0px;
}

/* NAVIGATION */


/*
nav{
  margin: 7px 0 7px 0;
}

nav ul{
  margin-top:10px;
  text-align: right;
  overflow: auto;
  width: 100%;
}

nav ul li{
  margin: 0 0 0 0;
  text-align: center;
  overflow: hidden;
  float: left;
  width: 33%;
}

nav a{
  text-decoration: none;
  margin: 0;
  display: block;
  padding: 7px 0 7px 5%;
  margin: 2% 2% 2% 2%;
  background-color: rgba(255,255,255,0.1);
}

nav a:hover{
  background-color: rgba(255,255,255,0.2);
}
*/
/* MEDIA QUERIES */

/* Responsify Defaults */
/*section img {max-width:282px;height:auto;}*/


#page {
	max-width:1024px;
	margin:0 auto;
}

#all{
  width:98.5%;
  display: inline-block;
  border: 1px solid #a3b1dc;
  border-radius: 2px 2px 2px 2px;
  box-shadow: 0 4px 2px #9BBEDB;
  background-color: #fff;
  padding: 15px 0 0 15px;
  min-height: 40px;
}

@media screen and (max-width: 768px){
  #all{width:100%;}
  .menu-button {padding:1em 0;}
  .menu-button div {display:inline-block;padding-left:1em;}
  .inner.cf {margin:0;padding:0;width:100%;}
  .flexnav .touch-button {display:inline-block;}
    #header h1 {font-size:2.5em !important;}
 .flexnav li {padding:0;margin:0;}
  .flexnav li a{padding-left:1em;}
  nav .span2{
    width: 100%;
  }
    #BishopsLogo {width:75px}
  .span5, article{
    width: 100%;
  }

  .span2, aside{
    width: 100%;
    margin-left: 0;
  }
  section img {max-width:252px;height:auto;}
  aside img {max-width:252px;height:auto;}

  #container, .inner{
      z-index:2;
    width: 100%;
    padding: 0 ;
  }
  aside img{
    width:100%;
    height:auto;
  }

  #___gcse_0 {
    top:100px;
  }
}

@media screen and (max-width: 480px){
  body{width:100%;
      }
    #all{
      width:100%;
      overflow:hidden;
      padding:0;
      font-size:1.5em !important;
      overflow:hidden;
    }
    .orgName {
      font-size: .9em;
      line-height: .88em;
      padding: 10px 0 0 0;
      margin:0px;
    }
    #BishopsLogo {width:3em;height:3em;}

    section img {max-width:180px;height:auto;}
    aside img {max-width:180px;height:auto;}

    nav ul li{
        width: 100%;
        margin: 0 0 5px 0;
    }

    nav a{
        margin: 0;
        padding: 14px 0 14px 0;
    }
    nav ul li ul li{
        background-color: green !important;
        position:absolute !important;
        z-index:99999999 !important;
    }
    h1 {font-size:1.0em!Important;margin-bottom:35px !important;}
    .miniPanel {margin: 2px !important;}
    .miniPanel a {
      width:100%;
    padding-top:50px !important;
    line-height: 1em;
    font-size:0.88em !important;/* originally set to 1.0em, reduced in size to accommodate length of panel text */
  }

  #___gcse_0 {
    top:100px;
  }
  #___gcse_0 div.gsc-control-searchbox-only {
    width:200px !important;
    right:5px;
    top:10px;
  }
  .gsc-input{
    width:100px !important;
  }
}

.miniPanel {
  box-shadow: 0px 0px 1px #888;
  border:4px solid white;
    display:inline-block;
    width:145px;
    height:145px;
    margin:5px;
    cursor:pointer;
    overflow:hidden;
}

.miniPanel a{
  text-decoration: none;
  display:inline-block;
  width:100%;
  color:white;
  font-family: sans-serif;
  font-weight: bold;
  font-size:1.2em;
  text-align:center;
  padding-top:60px;
  padding-bottom:60px;
  line-height: 1em;
}

.miniPanelSciTop {
  box-shadow: 0px 0px 1px #888;
  border:1px solid white;
    display:inline-block;
    width:60px;
    height:60px;
    margin:5px;
    cursor:pointer;
    overflow:hidden;
}

.miniPanelSciTop a{
  text-decoration: none;
  display:inline-block;
  width:100%;
  color:white;
  font-family: sans-serif;
  font-weight: bold;
  font-size:1.2em;
  text-align:center;
  padding-top:25px;
  padding-bottom:25px;
  line-height: 1em;
}

.miniPanelSciTopWide {
  box-shadow: 0px 0px 1px #888;
  border:1px solid white;
    display:inline-block;
    width:120px;
    height:60px;
    margin:5px;
    cursor:pointer;
    overflow:hidden;
}

.miniPanelSciTopWide a{
  text-decoration: none;
  display:inline-block;
  width:100%;
  color:white;
  font-family: sans-serif;
  font-weight: bold;
  font-size:1.2em;
  text-align:center;
  padding-top:25px;
  padding-bottom:25px;
  line-height: 1em;
}

.miniPanelSciTopWide2 {
  box-shadow: 0px 0px 1px #888;
  border:1px solid white;
    display:inline-block;
    width:150px;
    height:60px;
    margin:5px;
    cursor:pointer;
    overflow:hidden;
}

.miniPanelSciTopWide2 a{
  text-decoration: none;
  display:inline-block;
  width:100%;
  color:white;
  font-family: sans-serif;
  font-weight: bold;
  font-size:1.2em;
  text-align:center;
  padding-top:25px;
  padding-bottom:25px;
  line-height: 1em;
}

.miniPanelGeogTopWide {
  box-shadow: 0px 0px 1px #888;
  border:1px solid white;
    display:inline-block;
    width:110px;
    height:90px;
    margin:5px;
    cursor:pointer;
    overflow:hidden;
}

.miniPanelGeogTopWide a{
  text-decoration: none;
  display:inline-block;
  width:100%;
  color:white;
  font-family: sans-serif;
  font-weight: bold;
  font-size:1.2em;
  text-align:center;
  padding-top:25px;
  padding-bottom:25px;
  line-height: 1em;
}

.thumbnail:hover {
    position:relative;
    top:-25px;
    left:-35px;
    width:500px;
    height:auto;
    display:block;
    z-index:999;
}


/* Custom Breakpoints */
/*
@media screen and (max-width: px) {

}
*/


/* Micro Clearfix */

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    *zoom:1;
}

section img {max-width:252px;height:auto;}
  aside img {max-width:252px;height:auto;}
nav, .flexnav {}

 iframe.myIframe {
        width: 10px;
        min-width: 100%;
        *width: 100%;
    }

	@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
@keyframes ticker {
	0%   {margin-top: 0}
	20%  {margin-top: -30px}
	40%  {margin-top: -60px}
	60%  {margin-top: -90px}
	80%  {margin-top: -120px}
	100% {margin-top: 0}
}

body { background: #333; width: 100%; height: 100% }

.news {
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4), 0 5px 10px rgba(0,0,0,0.5);
  width: 450px;
  height: 30px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 4px;
  padding: 3px;
  -webkit-user-select: none
} 

.news span {
  float: left;
  color: #fff;
  padding: 6px;
  position: relative;
  top: 1%;
  border-radius: 4px;
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4);
  font: 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  cursor: pointer
}

.news ul {
  float: left;
  padding-left: 20px;
  animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
  -webkit-user-select: none
}

.news ul li {line-height: 30px; list-style: none }

.news ul li a {
  color: #fff;
  text-decoration: none;
  font: 14px Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none
}

.news ul:hover { animation-play-state: paused }
.news span:hover+ul { animation-play-state: paused }

/* OTHER COLORS */
.blue { background: #347fd0 }
.blue span { background: #2c66be }
.red { background: #d23435 }
.red span { background: #c22b2c }
.green { background: #699B67 }
.green span { background: #547d52 }
.magenta { background: #b63ace }
.magenta span { background: #842696 }