/*----------------------------------------------------------------------------*/
/* CSS CONVENTION
/*----------------------------------------------------------------------------*/

/*  Sort order:   positioning (position, z-index)
          box behavior and properties (display, float, clear, overflow)
          sizing (width, height, margin, padding)
          color appearance (border, background, color)
          special content types (list-style-type)
          text (text align, font)
          visual properties (opacity, cursor)
          print

  Indentation:  2 x space, no tabs!

  Naming:     all downcase, hyphens (one-box, first-left-block)
          EN names, short

/*----------------------------------------------------------------------------*/

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p, ul, ol, dl {
  margin: 0 0 1em 0;
}


body {
  background: #d7dadb;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 15px;
  margin: 20px 0;
}

#mainFrame {
  margin: 0 auto;
  width: 960px;
  background: white;
}

#header {
  position: relative;
  background: url(/img/bg_yellow.png) top left;
  height: 383px;
}

.motto {
  float: right;
  background: black;
  padding: 7px 25px;
  font-size: 14px;
  letter-spacing: 4px;
  color: white;
}

.motto span {
  color: yellow;
}

.mottoimg {
    position: absolute;
    top: 335px;
    left: 240px;
    display: block;
    background: none;
}

.logo {
  margin: 50px 0 70px 50px;
}

h1 {
  text-align: center;
  margin: 0;
  font-family: 'Black Ops One', cursive;
  color: yellow;
  font-size: 35px;
  line-height: 110%;
  padding: 80px 0 25px 0;
}

h1 span {
  font-size: 29px;
  color: white;
}

#center {
  background: url(/img/bg_gradient.png) repeat-x black;
  border-bottom: 1px solid black;
}

.anim {
  width: 610px;
  margin-left: 176px;
  color: #008ed7;
  font-size: 29px;
  font-weight: bold;
}

.sentence {
  width: 610px;
  height: 120px;
}

.left {
  float: left;
  width: 340px;
  margin: 10px 0 40px 85px;
  color: white;
  font-size: 18px;
  line-height: 150%;
}

.right {
  width: 340px;
  margin: 10px 0 40px 510px;
  color: white;
  font-size: 18px;
  line-height: 150%;
}

.bottom {
  background: url(/img/bg_shadow.png) repeat-x;
  height: 30px;

}

.content {
  margin: 0 80px 80px 80px;
}

.map {
  width: 800px;
  height: 300px;
  border: 1px solid silver;
  margin-top: 30px;
}

.contacts td {
  padding: 10px;
  width: 33%;
}

.contacts {
  width: 100%;
  font-size: 17px;
  margin-top: 30px;
}

.contacts td strong {
  font-size: 22px;
}

.contacts td p {
  font-size: 16px;
}

.footer {
  margin-top: 30px;
  text-align: center;
}

.footer span {
  background: #0090ff;
  padding: 10px 20px 10px 20px;
  line-height: 37px;
}

.footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
}

/*----------------------------------------------------------------------------*/
/* HELPERS
/*----------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* IE6/7 support */
.clearfix {
  *zoom: 1;
}

.hide {
  display: none;
}

.show {
  display: block;
}

/* float ---------------------------------------------------------------------*/

.fll {
  float: left;
}

.fln {
  float: none;
}

.flr {
  float: right;
}

/* font ----------------------------------------------------------------------*/

.fsi {
  font-style: italic;
}

.fsn {
  font-style: normal;
}

.fwb {
  font-weight: bold;
}

.fwn {
  font-weight: normal;
}

/* text ----------------------------------------------------------------------*/

.tac {
  text-align: center;
}

.taj {
  text-align: justify;
}

.tal {
  text-align: left;
}

.tar {
  text-align: right;
}

.ttl {
  text-transform: lowercase;
}

.ttu {
  text-transform: uppercase;
}

/* size ----------------------------------------------------------------------*/

.big {
  font-size: 1.2em;
}

.small {
  font-size: .8em;
}

.cleaner {
  clear: left;
}
