/**
 * UMD Frame Rule
 */

/**
 * Site-wide styles
 */
body {
  margin: 0;
  padding: 0;
}

a img { border: none; }

/**
 * Wrapper styles
 */
#wrapper {
  background: none;
}


/**
 * Header container styles
 */
#header {
  margin-right: 75px;
  padding: 0;
  height: 37px;
  position: relative;
}

#header #umd-logo img {
  max-width: 100%;
  max-height: 100%;
}

#header #search-link {
  position: absolute;
  right: -59px;
}


#header #search {
  float: right;
  display: none;
}

#header #search .text {
  background: transparent url(/_img/wrapper/search-text.png) top left no-repeat;
  display: inline-block;
  vertical-align: top;
}

#header #search input[type=text] {
  margin: 0;
  padding: 0 10px;
  border: none;
  width: 166px;
  height: 27px;
  line-height: 27px;
  color: #898989;
  background-color: transparent
}

#header #search input[type=submit] {
  margin: 0;
  padding: 0;
  border: none;
  width: 74px;
  height: 27px;
  background: transparent url(/_img/wrapper/search-submit.png) 0 0 no-repeat;
  text-indent: -9999px;
  outline: none;
}

#header #search input[type=submit]:hover { background-position: 0 -27px; }
#header #search input[type=submit]:active { background-position: 0 -54px; }

#header #search .site_search {
  margin-top: 5px;
  font-size: 11px;
  text-align: right;
  color: #fff;
}

/**
 * Main container
 */
#main {
  min-height: 100px;
  background-color: #FFF;
}

/**
 * Responsive
 */
@media all and (min-width: 768px) {
  #wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 728px;
  }

  #header {
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    height: auto;
  }

  #header #search { display: block; }
  #header #search-link { display: none; }

}

@media all and (min-width: 980px) {
  #wrapper {
    width: 940px;
  }
}

@media all and (min-width: 1134px) {
  #wrapper {
    width: 1094px;
  }
}
