/**

########  ########     ###    ##      ## ######## ########
##     ## ##     ##   ## ##   ##  ##  ## ##       ##     ##
##     ## ##     ##  ##   ##  ##  ##  ## ##       ##     ##
##     ## ########  ##     ## ##  ##  ## ######   ########
##     ## ##   ##   ######### ##  ##  ## ##       ##   ##
##     ## ##    ##  ##     ## ##  ##  ## ##       ##    ##
########  ##     ## ##     ##  ###  ###  ######## ##     ##

**/

/*html #network-drawer ul > li { display: none; }
html #network-drawer ul > li.logo { display: inline-block; }*/


#network-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background: #2e292a;
  z-index: 110;
}
body.admin-bar #network-drawer {
  top: 28px;
}
#network-drawer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Francois One', 'arial narrow', 'arial', sans-serif;
  text-transform: uppercase;
}
#network-drawer ul li {
  display: inline-block;
  padding: 0 5px;
}
#network-drawer ul li.toplevel > a,
#network-drawer ul li.toplevel > span {
  display: block;
  line-height: 3.3em;
  font-size: 1.8em;
  text-decoration: none;
  position: relative;
  color: #8c8a8b;
}
#network-drawer ul li.opposite {
  float: right;
  padding-right: 16px;
}
#network-drawer ul li.last {
  padding-right: 0;
}
#network-drawer ul li.opposite a {
  color: #fff;
}
#network-drawer li.logo {
  margin-right: 62px;
  padding: 0;
}
#network-drawer li.logo img {
  vertical-align: middle;
  display: inline;
}

#network-drawer.no-js ul li:hover > a,
#network-drawer.no-js ul li:hover > span,
#network-drawer ul li.hover > a,
#network-drawer ul li.hover > span {
  color: #fff;
}
#network-drawer.no-js ul li.parent:hover > a:before,
#network-drawer.no-js ul li.parent:hover > span:before,
#network-drawer ul li.parent.hover > a:before,
#network-drawer ul li.parent.hover > span:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  left: calc( 50% - 10px );
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-width: 8px;
  border-right-width: 8px;
  border-bottom-color: #e6e7e8;
}
#network-drawer.no-js ul li.parent:hover .drawer {
  display: block;
  z-index: 10;
}

#network-drawer ul .drawer {
  display: none;
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  background: #e6e7e8;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 35px 0px 35px 20px;
}
#network-drawer ul .drawer .feat-posts {
  width: 345px;
  width: 392px;/**/
  padding-right: 46px;
  margin-right: 38px;
  border-right: 1px solid #dedfe1;
}
#network-drawer ul .drawer .feat-post {
  position: relative;
}
#network-drawer ul .drawer .feat-posts a {
  font-size: 1.5em;
  line-height: 1.3em;
}
#network-drawer ul .drawer .feat-post img {
  display: block;
}
#network-drawer ul .drawer .feat-post p {
  position: absolute;
  left: 0;
  right: 21px;
  bottom: 13px;
  background: #000; /*ie8*/
  background: rgba( 0, 0, 0, 0.5 );
  padding: 10px;
  margin: 0;
  color: #fff;
}
#network-drawer ul .drawer .feat-post span.title {
  font-size: 1.1em;
}
#network-drawer ul .drawer .feat-post span.subtitle {
  display: block;
  font-size: 80%;
  font-style: italic;
  text-transform: none;
  font-family: georgia;
  line-height: 1.6em;
}
#network-drawer ul .drawer .feat-post-small p {
  bottom: 5px;
  line-height: 1em;
  right: 8px;
  padding: 3px;
}
#network-drawer ul .drawer .feat-post-small img {
  width: 145px;
  height: 98px;
}
#network-drawer ul .drawer .feat-post-small span.title {
  font-size: 0.7em;
  line-height: 1.2em;
}
#network-drawer ul .drawer .feat-post-small span.subtitle {
  font-size: 0.6em;
}
#network-drawer ul .drawer .feat-post-small:nth-child(2) {
  margin-bottom: 24px;
}


#network-drawer ul .drawer ul {
  float: left;
  width: 160px;
  padding-right: 10px;
  font-size: 0.9em;
}
#network-drawer ul .drawer ul li {
  display: block;
  padding-left: 5px;
  line-height: 1.6em;
  padding: 1px 5px 2px;
  text-indent: -4px;
}
#network-drawer ul .drawer ul li.head,
#network-drawer ul .drawer ul li.subheading {
  font-size: 1.7em;
  font-weight: bold;
  color: #c00;
}

#network-drawer ul .drawer ul li a {
  font-size: 1.4em;
  line-height: 1.3em;
  font-family: 'droid serif', 'georgia', serif;
  text-transform: none;
  color: #000;
  display: block;
  position: relative;
  text-decoration: none;
  vertical-align: top;
}
#network-drawer ul .drawer ul li a:hover {
  text-decoration: underline;
}
#network-drawer ul .drawer ul li a img {
  margin-right: 8px;
  vertical-align: top;
}
#network-drawer ul .all-sites .drawer ul {
  width: 20%;
  float: left;
  margin: 0;
  padding:0;
  /*outline: 1px solid blue;*/
}
#network-drawer ul .all-sites .drawer ul li {
  border-bottom: 1px solid #D3D3D3;
  margin: 0 10px 10px 0;
}

#network-drawer ul .all-sites .drawer ul li a {
  font-family: 'Francois One', 'arial narrow', 'arial', sans-serif;
  padding: 0 0 2px;
}

.ie8 #drawer-toggle {
  left: -9999px;
  position: absolute;
  visibility: hidden;
}

.ie8 #network-drawer ul .drawer .feat-post-small {
  margin-bottom: 20px;
}

#network-drawer .close {
  display: none;
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 23px;
}

/* up to 800 pixels. */
@media screen and (max-width: 1120px) and (orientation: landscape) {
  #network-drawer .close {
    display: block;
  }
}
@media screen and (max-width: 1020px) {
  #network-drawer ul {
    padding: 0 0 0 2%;
  }
  #network-drawer ul .drawer ul {
    width: 143px;
  }
  #network-drawer ul .drawer .feat-posts {
    margin-right: 20px;
  }
}
@media screen and (max-width: 1010px) {
  #network-drawer ul .drawer ul {
    width: 135px;
  }
  #network-drawer ul .drawer .feat-posts {
    /*margin-right: 22px;*/
  }
}
@media screen and (max-width: 998px) {
  #network-drawer ul .drawer ul {
    width: 120px;
  }
  #network-drawer ul .drawer .feat-posts {
    margin-right: 10px;
  }
  #network-drawer .close {
    display: block;
  }
}

@media screen and (max-width: 933px) {
  #network-drawer ul .drawer ul {
    width: 100px;
  }
  #network-drawer ul li.parent:hover > a:before {
    bottom: -1px;
  }
  #network-drawer ul .drawer .feat-posts {
    padding-right: 26px;
    margin-right: 0;
  }
  #network-drawer ul li.toplevel > a {
    /*display: block;*/
    /*line-height: 2.6em; */
    /*font-size: 1.5em; */
  }
}
@media screen and (max-width: 832px) {
  #network-drawer ul .drawer ul {
    width: 90px;
  }
}
@media screen and (max-width: 820px) {
  #network-drawer ul .drawer ul {
    width: 120px;
    width: 20%;
  }
  #network-drawer ul .drawer .feat-posts {
    width: 200px;
  }
  .alignleft {
    margin-right: 15px;
  }
  #network-drawer ul .drawer .feat-post img {
    height: 200px;
    width: 200px;
  }
  #network-drawer ul .drawer .feat-post-small:nth-child(2) {
    margin-bottom: 0;
    margin-right: 0;
  }
  #network-drawer ul .drawer .feat-post-small {
    margin-top: 20px;
  }
  .alignright.feat-post-small {
    margin-left: 0;
  }
  #network-drawer ul .drawer .feat-post-small img {
    height: 88px;
    width: auto;

    width: 93px;
    height: auto;
  }
  #network-drawer ul .drawer .feat-post:last-child {
    margin-right: 24px;

    margin-right: 14px;
  }
  #network-drawer ul .drawer .feat-post-small p {
    bottom: 0;
    right: 0;
    /*font-size: 0.9em;*/
    text-transform: none;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar #network-drawer {
    top: 0;
  }

  #network-drawer li.logo {
    margin-right: 10px;
    width: 187px;
  }
}
/* tablet and below */
@media screen and (max-width: 768px) {
  #network-drawer ul .drawer ul {
    width: 18%;
  }
#network-drawer ul .drawer ul li {
    margin:6px 0
  }

#network-drawer ul .drawer ul li a {
    font-size: 1.6em;
  }
}
@media screen and (max-width: 730px) {
  #network-drawer {
    /*height: 30px; */
  }
  #network-drawer ul .drawer ul {
    width: 16%;
  }
  #network-drawer ul li.toplevel > a {
    /*display: block;*/
    /*line-height: 2.4em; */
    /*font-size: 1.3em; */
  }
}


/*under 660px*/
@media screen and (max-width: 660px) {
  #network-drawer {
    /*height: auto;*/
    /*overflow: hidden;*/
  }
  #network-drawer .liner {
    height: 100%;
    overflow: hidden;
  }
  #network-drawer ul li {
    width: 100%;
    display: block;
    padding: 0;
  }
  #network-drawer ul li.opposite {
    padding: 0;
  }
  #network-drawer ul li.parent:hover > a:before {
    left: 10px;
  }

  #network-drawer ul .drawer {
    /*display: block;*/
    position: static;
    padding: 5px;
  }
  #network-drawer ul .drawer .feat-posts {
    display: none;
  }
  #network-drawer ul .drawer ul, #network-drawer ul .all-sites .drawer ul {
    width: auto;
    float: none;
  }
  #network-drawer ul .drawer ul {
    margin-bottom:10px;
  }

  #drawer-toggle {
    border: 0 none;
    display: inline-block;
    position: absolute;
    right: 2%;
    text-decoration: none;
    top: 14px;
    height: 32px;
    width: 32px;
    /* to hide menu text */
    background: url('../images/menu-icon.png') no-repeat;
    background: url('../images/menu-icon.svg') no-repeat;
    color: rgba(0, 0, 0, 0);
    font: 0px/0 a;
  }
}
@media screen and (max-width: 450px) {
  #network-drawer {
  }
  #network-drawer ul li.toplevel > a {
    /*display: block;*/
    line-height: 2.7em;
    font-size: 1.8em;
  }
  #network-drawer ul li.toplevel.logo > a {
    line-height: 3.2em;
  }
  #network-drawer ul li.parent > a:after {
    /*float: right;
    content: '>';*/
  }
}
/*over 660px*/
@media screen and (min-width: 660px) {
  #drawer-toggle {
    display: none;
  }
}