/* CSS Document */
::-moz-selection {
  background: #d7181e;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #d7181e;
  color: #fff;
  text-shadow: none;
}
html {
  padding: 30px 10px;
  font-size: 14pt;
  line-height: 1.4;
  background: #f0f0f0;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
html,
input {
  font-family: Arial, sans-serif;
}
h3 {
  margin: 1.5em 0 0.5em;
}
p {
  margin: 1em 0;
}
ul {
  padding: 0 0 0 40px;
  margin: 1em 0;
}
/** mobile first styles */
html {
  color: #555;
  font-family: Arial, sans-serif;
  background-color: #444444;
  padding: 0;
  font-size: 16px;
}
body {
  margin: 0 auto;
}
#wrapper {
  background: #fff;
}
#content {
  padding: 5px;
  margin: 0 auto;
}
#greybar {
  display: none;
}
#logo {
  height: 36px;
  margin: 0;
  font-size: 50px;
  text-align: center;
  background: #d91920;
  background-image: url(../img/logo_gradient_red.png);
  background-repeat: repeat-x;
  color: white;
  display: block;
  padding: 10px 50px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  z-index: 9;
}
#logo h2 {
  margin: 0 10px;
  text-align: center;
}
h1,
h2 {
  font-size: 16pt;
}
#cssmenu {
  background: #666;
  margin-top: 2px;
  float: none;
}
#cssmenu ul {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}
#cssmenu ul li {
  display: inline-block;
  width: 50%;
  float: left;
  padding: 10px 0;
  text-align: center;
}
#cssmenu ul li a {
  color: #fff;
  text-decoration: none;
}
#cssmenu ul li a:hover,
#cssmenu ul li a:focus,
#cssmenu ul li a:active {
  text-decoration: underline;
}
#cssmenu .has-sub ul {
  display: none;
}
#text_content {
  margin: 1em 0;
}
#text_content .text {
  background: #e4f1ff;
  padding: 10px;
  overflow: hidden;
}
#text_content .text .contact_details {
  float: left;
  width: 100%;
}
#text_content .text h2,
#text_content .text p {
  font-size: 16px !important;
}
#text_content .text h2 font,
#text_content .text p font {
  font-size: 14px !important;
}
#text_content .text img {
  max-height: 50px;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
}
a:hover,
a:focus,
a:active {
  color: #0054ff;
}
#logo a {
  text-decoration: none;
  color: white;
}
#logo a:hover {
  text-decoration: underline;
  color: white;
}
p {
  margin: 1em 0;
}
.services p {
  text-align: center;
}
.services ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.quick-contact {
  text-align: center;
  margin-bottom: 2em;
}
.btn {
  padding: 5px 25px;
  display: inline-block;
  height: 40px;
  color: #fff;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: all 200ms;
  background-color: #2ba041;
}
.btn:hover {
  text-decoration: underline;
  color: #fff;
  background-color: #36c851;
}
.btn .text {
  margin-top: 9px;
  margin-left: 15px;
  display: block;
  float: left;
}
.btn .phone {
  margin-top: 5px;
  display: block;
  float: left;
  background-image: url('../img/phone.png');
  width: 30px;
  height: 30px;
}
#main {
  clear: both;
  overflow: hidden;
  padding: 20px;
}
#main h2 {
  text-align: center;
}
#photo_content {
  overflow: hidden;
}
#photos img.hidden {
  display: none;
}
#photos img.active {
  width: 400px;
  border: 1px solid #333;
  display: block;
}
#photos {
  overflow: hidden;
  width: 400px;
  margin: 0 auto;
}
#photos img {
  margin: 0 auto;
  display: block;
}
#phototext {
  display: block;
  text-align: center;
  font-size: 10pt;
}
.services_page .services {
  text-align: center;
}
.services {
  margin-bottom: 2em;
}
footer {
  background: #ddd;
  padding: 10px;
  text-align: center;
  padding-bottom: 3em;
}
footer .logo {
  max-width: 100px;
}
footer h3 {
  display: none;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
footer ul.punainen {
  margin-bottom: 10px;
  background: #d91920;
  color: #fff;
  padding: 10px 20px;
}
footer ul li {
  line-height: 2em;
}
footer #contact {
  margin: 1em 0;
}
@media screen and (min-width: 640px) {
  #cssmenu ul li {
    width: 25%;
    padding: 15px 0;
  }
  #text_content .text h2 {
    margin-right: 20px;
  }
  footer {
    overflow: hidden;
  }
  footer .logo {
    float: left;
  }
  footer #contact ul {
    float: left;
    width: 50%;
    margin-top: 1em;
  }
  footer #contact ul li {
    line-height: 1.5em;
  }
  footer #contact .punainen {
    float: none;
    margin: 0 auto;
    width: 150px;
  }
  footer #contact .punainen + ul {
    clear: both;
  }
}
@media screen and (min-width: 960px) {
  #wrapper {
    max-width: 1200px;
    box-shadow: 0 1px 5px #a7a7a7;
    border-radius: 6px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
    position: relative;
  }
  #content {
    padding: 50px;
    margin: 0 auto;
  }
  h1,
  h2 {
    font-size: 20pt;
  }
  header div#greybar {
    position: absolute;
    float: left;
    display: block;
    width: 500px;
    margin: 0;
    margin-top: 10px;
    margin-left: 250px;
    height: 40px;
    background: #e9e9e9;
    z-index: 9;
  }
  header div#logo {
    float: left;
    position: relative;
    max-width: 300px;
    height: 36px;
    margin: 0;
    font-size: 50px;
    text-align: center;
    background-color: #d7181e;
    /* Original */
    background-image: url(../img/logo_gradient_red.png);
    background-repeat: repeat-x;
    color: white;
    display: inline;
    padding: 10px 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 9;
  }
  /* CSS Menu */
  #cssmenu ul {
    margin: 0;
    padding: 0;
    background: #444444 url(../img/overlay.png) repeat-x 0 -110px;
    line-height: 100%;
    border-radius: 1em;
    font: normal 0.8em/1.5em Arial, Helvetica, sans-serif;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
  #cssmenu li {
    margin: 0 5px;
    padding: 0 0 8px;
    float: left;
    position: relative;
    list-style: none;
  }
  #cssmenu a,
  #cssmenu a:link {
    font-weight: bold;
    color: #e7e5e5;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    margin: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
  }
  #cssmenu a:hover {
    background: #000;
    color: #fff;
  }
  #cssmenu .active a,
  #cssmenu li:hover > a {
    background: #dddddd url(../img/overlay.png) repeat-x 0 -40px;
    color: #444;
    border-top: solid 1px #f8f8f8;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 0 #ffffff;
  }
  #cssmenu ul ul li:hover a,
  #cssmenu li:hover li a {
    background: none;
    border: none;
    color: #666;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }
  #cssmenu ul ul a:hover {
    background: #8f8f8f url(../img/overlay.png) repeat-x 0 -100px !important;
    color: #fff !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  }
  #cssmenu li:hover > ul {
    display: block;
  }
  #cssmenu ul ul {
    display: none;
    margin: 0;
    padding: 0;
    width: 185px;
    position: absolute;
    top: 40px;
    left: 0;
    background: #dddddd url(../img/overlay.png) repeat-x 0 0;
    border: solid 1px #b4b4b4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  #cssmenu ul ul li {
    float: none;
    margin: 0;
    padding: 3px;
  }
  #cssmenu ul ul a {
    font-weight: normal;
  }
  #cssmenu ul:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
  * html #cssmenu ul {
    height: 1%;
  }
  #cssmenu {
    float: right;
    position: relative;
    background: none;
    margin: 0;
    padding: 0;
    z-index: 9;
  }
  #cssmenu ul {
    overflow: visible;
    min-height: 54px;
  }
  #cssmenu ul ul {
    top: 50px;
  }
  #cssmenu ul ul li a:link {
    padding-left: 40px;
    padding-right: 40px;
  }
  #cssmenu ul li {
    width: auto;
    padding: 5px 0;
  }
  div#text_content {
    overflow: hidden;
  }
  div#text_content div.text {
    overflow: hidden;
    background: #e4f1ff;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 40px;
    text-align: right;
  }
  div#main img.logo {
    float: left;
    padding-right: 40px;
    padding-bottom: 40px;
    height: 130px;
  }
  div#main h2 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  #photo_content {
    float: right;
  }
  #text_content .text h2 font {
    font-size: 18px !important;
  }
  #photos {
    margin-left: 40px;
    width: 400px;
  }
  #photos img {
    border-radius: 10px;
  }
  #text_content .text .contact_details {
    float: none;
    width: auto;
  }
  footer {
    max-width: 1200px;
    margin: 0 auto;
    clear: both;
    overflow: hidden;
    padding: 20px 10px;
    background: #e9e9e9;
    border-top: 1px solid #ccc;
  }
  footer .logo {
    max-width: 150px;
  }
  footer #contact {
    width: 900px;
    overflow: hidden;
    margin: auto;
    padding-top: 15px;
    text-align: center;
  }
  footer #contact ul {
    width: auto;
    margin-left: 50px;
  }
  footer #contact .punainen {
    float: left;
    margin: 0;
    margin-top: 15px;
    display: inline-block;
  }
  footer #contact .punainen + ul {
    float: left;
    clear: none;
  }
}
@media screen and (min-width: 1200px) {
  html {
    background: url('../img/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 10px;
  }
}
