﻿header, hgroup, nav, footer, figure, figcaption, aside, section, article, .display
  {
  display:block;
  }
header
  {
  height: 131px;
  width: 100%;
  padding: 0;
  background-image: url(images/logo.jpg);
  background-color: #325884;
  background-repeat: no-repeat;
  font-family: Georgia;
  color: #ffffff;
  }
header div
  {
  background-image: url(images/dots.jpg);
  background-repeat: repeat-x;
  margin-left: 186px;
  }
header p#title
  {
  margin: 0;
  padding-top: 44px;
  font-size: 2em;
  font-weight: normal;
  text-shadow: 1px 1px #000000;
  }
header p#subtitle
  {
  margin: 0;
  font-weight: normal;
  font-style: italic;
  text-shadow: 1px 1px #000000;
  }
nav ul
  {
  margin: 0;
  padding: 0;
  list-style-type: none;
  }
nav a, #nav2 a
  {
  height: 35px;
  line-height: 35px;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: color 1s linear;
  }
nav a
  {
  background-color: #628BBA;
  background-image: -o-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-image: -moz-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-image: -webkit-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-image: -ms-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-image: linear-gradient(to bottom, #3B5690 0%, #628BBA 100%);
  }
nav a:link, nav a:visited, a#phone:link, a#phone:visited
  {
  color: #FFFFFF;
  }
nav a:hover, #nav2 a:hover
  {
  background-color: #E3FAE7;
  background-image: -o-linear-gradient(bottom, #E3FAE7 0%, #F4FDF5 100%);
  background-image: -moz-linear-gradient(bottom, #E3FAE7 0%, #F4FDF5 100%);
  background-image: -webkit-linear-gradient(bottom, #E3FAE7 0%, #F4FDF5 100%);
  background-image: -ms-linear-gradient(bottom, #E3FAE7 0%, #F4FDF5 100%);
  background-image: linear-gradient(to bottom, #E3FAE7 0%, #F4FDF5 100%);
  color: #325884;
  text-align: center;
  }
body
  {
  margin: 0;
  background-image: url(images/background.jpg);
  background-position: left top;
  background-repeat: repeat-x;
  font-family: Verdana, Arial, Geneva, sans-serif;
  font-size: 0.8em;
  }
a#phone
  {
  text-decoration: none;
  }
ul, ol
  {
  margin-top: .3em;
  margin-bottom: .3em;
  list-style-position: outside;
  }
footer
  {
  padding: 5px;
  font-style: italic;
  font-weight: bold;
  font-family: Georgia;
  font-size: medium;
  text-shadow: 1px 1px #000000;
  color: #628BBA;
  background-color: #D1E4FA;
  text-align: center;
  }
table
  {
  margin: auto;
  border-spacing: 0;
  }
th, td
  {
  padding: 10px;
  }
tr
  {
  text-align: center;
  }
tbody tr:nth-of-type(odd)
  {
  background-color: #D5ECE1;
  }
sup
  {
  font-size: x-small;
  }
img
  {
  max-width: 100%;
  height: auto;
  border-style: none;
  }
fieldset
  {
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  border: 2px ridge #628BBA;
  }
legend
  {
  font-style: italic;
  }
label
  {
  float: left;
  display: block;
  text-align: right;
  width: 120px;
  padding-right: 20px;
  }
input, textarea
  {
  display: block;
  margin-bottom: 20px;
  }
.mobile, #phone
  {
  display: none;
  }
.images
  {
  float: left;
  padding-right: 5px;
  }
.description
  {
  min-height: 141px;
  }
.description p
  {
  margin: 0;
  padding: 0;
  }
.bad
  {
  list-style-image: url(images/b12.gif);
  }
.good
  {
  margin: 0;
  padding: 0;
  vertical-align: middle;
  }
.intro
  {
  margin: 5px 0;
  padding: 10px 0;
  background-color: #E3FAE7;
  color: #3B5690;
  font-weight: bold;
  }
.clear
  {
  clear: both;
  }
.about
  {
  margin-left: auto;
  margin-right: auto;
  padding: 15px 30px;
  width: 60%;
  background-color: #D1E4FA;
  font-weight: bold;
  color: #628BBA;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #1E1E1E;
  }
.news
  {
  margin: 5px;
  padding: 10px;
  background-color: #3B5690;
  color: #FFFFFF;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #1E1E1E;
  text-align: center;
  }
.box
  {
  color: #E11521;
  }
.required
  {
  font-weight: bold;
  }
.required_star
  {
  font-weight: bold;
  color: #F00;
  }
#nav2 a
  {
  background-image: none;
  background-color: #FFFFFF;
  }
#nav2 a:link, #nav2 a:visited
  {
  color: #325884;
  }
#wrapper
  {
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  background-color: #628BBA;
  box-shadow: 5px 5px 5px #000033;
  text-align: left;
  }
#leftbar
  {
  float: left;
  width: 15%;
  }
#content
  {
  float: left;
  width: 85%;
  height: auto;
  background-color: #FFFFFF;
  }
#info
  {
  float: left;
  width: 70%;
  padding: 10px;
  }
#info h1
  {
  font-family: Verdana, Arial, Geneva, sans-serif;
  text-align: left;
  color: #638CBB;
  text-shadow: 1px 1px #000000;
  }
#info h2
  {
  margin: 0;
  font-weight: bold;
  color: #325884;
  text-shadow: 1px 1px #D1E4FA;
  }
#select
  {
  height: 35px;
  line-height: 35px;
  display: block;
  background-image: url(images/menu-hover.png);
  background-repeat: repeat-x;
  color: #325884;
  text-align: center;
  }
#rightbar
  {
  float: left;
  width: 25%;
  margin: 0;
  padding: 20px 0px;
  }
#rightbar div
  {
  text-align: center;
  }
#rightbar img
  {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }

.containerBox
  {
  position: relative;
  display: inline-block;
  }
.containerBox img
  {
  display: block;
  }
.text-box
  {
  position: absolute;    
  height: 100%;
  text-align: center;    
  width: 100%;
  }
.text-box:before
  {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  }
.error
  {
  display: inline-block;
  }
  
@media only screen and (max-width:768px) {
body
  {
  margin: 0
  }
#wrapper
  {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  }
}
@media only screen and (max-width:640px) {
header
  {
  height: 65px;
  background-image: url(images/logo-sm.jpg);
  }
header div
  {
  margin-left: 95px;
  }
header p#title
  {
  padding-top: 30px;
  font-size: 1.1em;
  }
header p#subtitle
  {
  font-size: 1.0em;
  }
nav, #info
  {
  margin: 0;
  padding: 0;
  }
nav div
  {
  display: inline-block;
  }
nav li
  {
  display: inline;
  padding: 0 0.75em;
  }
nav a
  {
  height: auto;
  line-height: normal;
  color: #FFFFFF;
  background-color: -o-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-color: -moz-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-color: -webkit-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-color: -ms-linear-gradient(bottom, #3B5690 0%, #628BBA 100%);
  background-color: linear-gradient(to bottom, #3B5690 0%, #628BBA 100%);
  background-image: none;
  transition: none;
  }
th, td
  {
  padding: 10px 0;
  }
label
  {
  float: none;
  text-align: left;
  }
fieldset
  {
  padding: 0;
  width: 90%;
  }
.desktop
  {
  display: none;
  }
.mobile
  {
  display: block;
  }
.description
  {
  min-height: 100%;
  }
.intro
  {
  margin: 0;
  padding: 5px 0;
  }
.images
  {
  max-width: 20%;
  }
#phone
  {
  display: inline;
  }
#leftbar
  {
  width: auto;
  float: none;
  }
#content
  {
  margin: 0;
  padding-top: 1px;
  width: 100%;
  }
#info
  {
  width: 100%;
  }
#info h1
  {
  font-size: medium;
  }
#info h2
  {
  font-size: small;
  }
#rightbar
  {
  display: none;
  width: 0;
  }
#solvemedia
  {
  width: auto;
  text-align: left;
  }
}