/* Dramm homepage styles — carried over from the original
   dramm_screen_styles.css + dramm_screen_layout_large_copy.css */

body {
  color: #575c7a;
  line-height: 1.2em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  background-color: #ffffff;
  max-width: 1020px;
  margin: auto;
  padding: 0;
}
h1 { font-size: 2em; font-weight: normal; color: #a6430a; margin: 0 0 0.5em; }
h2 { font-size: 1.7em; margin: 0 0 1em; }
h3 { font-size: 1.5em; margin: 0 0 1em; }
p  { margin: 0 0 0.8em; }
a  { color: #337ab7; text-decoration: none; }
a:focus, a:hover { color: #23527c; text-decoration: underline; }
ul { list-style-type: none; margin: 10px; padding-left: 40px; }
img { border: 0; }

.alert strong { display: block; }
.alert p { margin: 0 0 0.8em; }

.logo  { display: block; position: relative; width: 60%; height: 100px; float: left; margin-left: 20px; margin-top: 30px; }
.right { width: 200px; height: 100px; float: right; margin-right: 20px; margin-top: 30px; text-align: right; }
.right a { color: #404040; }

.promo_container { padding: 30px 10px 0 60px; margin: auto; clear: both; }
.promo_container .promo { width: 25%; float: left; margin: auto; }
.promo { background-repeat: no-repeat; }
.promo img { width: 100%; }

.news { color: black; width: 80%; margin: 10px 10px 10px -20px; float: left; }
.news li { margin-bottom: 0.8em; }
.corporate { color: black; float: right; text-align: right; margin: 20px 20px 10px 10px; }
.corporate .alert-red { color: red; }

.clear-fix { clear: both; line-height: 20px; }
.clear-fix center, .clear-fix .center { text-align: center; }

/* Small screens — from dramm_screen_layout_small.css */
@media screen and (max-width: 700px) {
  .logo { display: inline-block; position: relative; margin: 10px 0 0 30px; float: left; width: auto; height: auto; }
  .right { display: inline-block; position: relative; float: none; width: 200px; margin: 20px 0 0 40px; text-align: left; height: auto; }
  .promo_container { padding: 0 0 0 40px; margin-top: 10px; }
  .promo_container .promo { float: none; width: 200px; height: 200px; padding: 0 0 0 5px; }
  .news { position: relative; display: inline-block; margin: 10px 10px 10px -10px; float: left; width: auto; }
  .corporate { display: inline-block; position: relative; float: none; margin: 10px 0 0 40px; text-align: left; }
  .clear-fix .center { margin-left: 30px; display: inline-block; }
  .clear-fix .center img { max-width: 100%; height: auto; }
}
