﻿p, li
{
  font-size: 0.9375em;
  line-height: 1.6em;
}

p + p, p + div
{
  margin-top: 1.5em;
}

p + h2
{
  margin-top: 1.5em;
}

h2
{
  margin-bottom: 1.5em;
}

h3
{
  font-size: 1.125em;
  font-weight: bold;
  margin-bottom: 1.66666666666667em;
  line-height: 2em;
}


/* HEADER */
header
{
  height: 63px;
  padding: 0;
  margin: 0;
}

.identity
{
  float: left;
  overflow: visible;
  text-indent: 2px;
  height: 41px;
  color: #f00;
  width: 30px;
  margin: 20px 0 0 35px;
  position: relative;
}

/* NAV */
header nav
{
  display: block;
}

header nav
{
  float: right;
  margin-right: 35px;
  padding: 0;
}

header nav ul li
{
  display: inline-block;
  margin: 0;
}

header nav ul li a
{
  padding: 0 10px;
  line-height: 72px;
  height: 63px;
  font-size: 12px;
  margin: 0;
  background-color: transparent;
  border-bottom: none;
  background-image: none;
}

header nav a:link, nav a:visited
{
  color: #666666;
  font-weight: bold;
  text-decoration: none;
  transition: color .25s linear;
  -moz-transition: all .25s linear;
  -webkit-transition: all .25s linear;
}

header nav a:hover, nav a:active
{
  color: #ccc;
}

.gotonav, footer nav
{
  display: none;
}

.identity.current:after, .identity.current:before, li.current a:after, li.current a:before
{
  content: "";
  position: absolute;
  bottom: -16px;
  border: 8px solid transparent;
  border-top-color: #121314;
  width: 999em;
  padding: 0 10px;
}

.identity.current:after, nav ul li.current a:after
{
  left: 50%;
}

.identity.current:before, nav ul li.current a:before
{
  right: 50%;
}

/* FOOTER */
footer
{
  height: 58px;
  line-height: 32px;
  padding: 1.5em 3.333333333333%;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

footer p
{
  float: left;
  padding: 0;
}

footer div
{
  float: right;
  position: relative;
  top: -20px;
  right: -20px;
}


/* CONTENT */
#container
{
  background-color: #fefefe;
  box-shadow: 0 0 60px rgba(0,0,0,.2);
  overflow: hidden;
}

/* HOME */
#home
{
  background: transparent url(/Content/Images/HomeBackground.png) repeat-x 0 bottom;
}

#home .gallery
{
  background-position: 50% top;
  padding: 6.0em 0;
}

#home .gallery h1
{
  margin-bottom: 18px;
  height: 50px;
  line-height: 50px;
}

#home .products
{
  display: block;
  width: 100%;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
  min-height: 190px;
}

#home .product
{
  float: left;
}

#home .product a
{
  display: block;
  padding: 42px 0 0 0;
  text-decoration: none;
  margin: 0 2.0em;
}

#home .product:first-child a
{
  margin: 0 0 0 2.25em;
}

#home .product:last-child a
{
  margin: 0 2.25em 0 0;
}

#home .product h3
{
  margin-bottom: 10px;
  line-height: 1.2em;
  min-height: 24px;
}

#home .product h4
{
  display: none;
}

#home .product p
{
  display: block;
  color: #888;
}


#home .product h3.tpa
{
  background: transparent url(/Content/Images/Target_24.png) no-repeat 0 50%;
}

#home .product h3.tcs
{
  background: transparent url(/Content/Images/Certificate_24.png) no-repeat 0 50%;
}

#home .product h3.rds
{
  background: transparent url(/Content/Images/Search_24.png) no-repeat 0 50%;
}

#home .services
{
  clear: both;
  position: relative;
  background: #fff url(/Content/Images/Home/Screenshot.png) no-repeat 425px 40%;
  padding: 2.25em 0;
}

#home .service
{
  border-bottom: none;
  padding: 22px 0 8px 0;
  margin: 0 470px 0 46px;
}

#home .service h2
{
  margin-bottom: 12px;
  padding-left: 32px;
}

#home .service p
{
  font-size: 14px;
}

#home .more:link, #home .more:visited
{
  float: left;
  margin-left: 60%;
}


/* PRODUCTS */
#products.tpa
{
  background: transparent url(/Content/Images/TPA/Screenshot_768.png) no-repeat 640px 40px;
}

#products.tcs
{
  background: transparent url(/Content/Images/TCS/Screenshot_768.png) no-repeat 640px 40px;
}

#products.rds
{
  background: transparent url(/Content/Images/RDS/Screenshot_768.png) no-repeat 640px 40px;
}

#products .products
{
  padding: 2.0em 0;
}

#products .product
{
  padding: 1.0em 0 2.0em 37px;
  width: 162px;
}

#products .product h2
{
  font-size: 1.125em;
  color: #323232;
  padding: 0 0 0 32px;
  margin: 0;
}

#products .product h3
{ 
  display: block;
  font-size: 0.65em;
  margin: 0;
}

#products #panel
{
  margin-left: 200px;
}

#products .product.current:after, #products .product.current:before
{
  top: 18px;
  border: 10px solid transparent;
  border-color: transparent #888 transparent transparent;
  width: 179px;
}

/* TPA */
#product
{
  padding: 2.75em 0 1.5em 0;
  min-height: 425px;
}

#product section
{
  width: 400px;
}

#product h4, #product p
{
  text-align: justify;
}


/* SERVICES */
#services .services
{
  height: 700px;
  width: 715px;
  margin: 0 auto;
}


/* ABOUT */
#about
{
  background-color: #fff;
  min-height: 1080px;
}

#about .gallery
{
  background-position: 50% 20%;
  padding: 6.0em 0;
}

#about .gallery h1
{
  font-size: 3.0em;
}

#about .contacts
{
  float: right;
  margin: 2.0em 0;
  padding: 0 1.0em;
  border-left: 1px solid #aaa;
  min-width: 350px;
}

#about .contacts h1
{
  display: block;
  margin-bottom: 0.5em;
}

#about .contact
{
  padding: 1.0em 0;
  border-bottom: 1px solid #aaa;
}

#about .contact:first-of-type
{
  padding-top: 0;
}

#about .contact:last-of-type
{
  border-bottom: none;
}

#about .story
{
  margin-right: 475px;
  text-align: justify;
}

/* PRINT */
@media print
{
  *
  {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  /* Black prints faster: h5bp.com/s */
  a, a:visited
  {
    text-decoration: underline;
  }

  a[href]:after
  {
    content: " (" attr(href) ")";
  }

  abbr[title]:after
  {
    content: " (" attr(title) ")";
  }

  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after
  {
    content: "";
  }
  /* Don't show links for images, or javascript/internal links */
  pre, blockquote
  {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead
  {
    display: table-header-group;
  }
  /* h5bp.com/t */
  tr, img
  {
    page-break-inside: avoid;
  }

  img
  {
    max-width: 100% !important;
  }

  @page
  {
    margin: 0.5cm;
  }

  p, h2, h3
  {
    orphans: 3;
    widows: 3;
  }

  h2, h3
  {
    page-break-after: avoid;
  }
}
