@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
@import url(//fonts.googleapis.com/css?family=Open+Sans:700,400,300);
@import url(//fonts.googleapis.com/css?family=Marvel:400,700);
/* =======================================================
					variables
======================================================== */
/*========================================================
										Main layout styles
=========================================================*/
body {
  background: #fff;
  font: 14px/24px Georgia, 'Times New Roman', Times, serif;
}
a {
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
a:hover {
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
h2 a,
h3 a,
h4 a,
h5 a {
  color: inherit;
  font: inherit;
}
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover {
  color: #d94d3a;
}
* {
  -webkit-text-size-adjust: none;
}
::-moz-selection {
  /* Code for Firefox */
  color: #ffffff;
  background: #666666;
}
::selection {
  color: #ffffff;
  background: #666666;
}
/*========================================================
										HEADER styles
=========================================================*/
#header {
  padding: 20px 0;
  background: #ffffff;
}
#header h1 {
  float: left;
  padding-left: 40px;
  background: url(../images/logo.png) 0 15px no-repeat;
  color: #ffffff;
}
#header h1 a {
  font: 700 44px/44px 'Open Sans', sans-serif;
  color: #ffffff;
}
#header h1 span {
  display: block;
  font: 24px/24px 'Marvel', sans-serif;
}
#header nav {
  float: right;
}
@media only screen and (max-width: 767px) {
  #header {
    text-align: center;
  }
  #header h1,
  #header nav {
    float: none;
    display: inline-block;
  }
  #header nav {
    display: block;
  }
}
/* Main menu styles
========================================================*/
.sf-menu {
  width: 100%;
  text-align: center;
  line-height: 20px;
  margin-top: auto;
  margin-top: 32px;
}
.menubg {
    background: url("../images/topmenuimage.jpg") 0 15px no-repeat;
    background-repeat:repeat-x;
}
.sf-menu > li {
  display: inline-block;
  position: relative;
  padding: 0;
  margin: 0;
}
.sf-menu > li > a {
  color: #000000;
  font-size: 20px;
  margin-left: 29px;
  font-family: 'Marvel', sans-serif;
  margin-bottom: 30px;
  position: relative;
}
.sf-menu > li > a:hover {
  color: #7d261a;
}
.sf-menu > li > a:hover:after {
  content: "";
  height: 4px;
  width: 100%;
  background: #dbb3ae;
  position: absolute;
  bottom: -30px;
  left: 0;
}
.sf-menu > li:first-child {
  padding-right: 0;
}
.sf-menu > li.current > a {
  color: #8B4513;
}
.sf-menu > li.current > a:after {
  content: "";
  height: 4px;
  width: 100%;
  background: #dbb3ae;
  position: absolute;
  bottom: -30px;
  left: 0;
}
@media only screen and (max-width: 979px) {
  .sf-menu li {
    padding-right: 0;
  }
}
.topbar
{
	height:34px;
	background:#e0e0e0;
}
.topbarhr
{
	border-width:30px;
	background:#000000;
}
.menubar
{
    background-image: url("../images/soils.001-1.jpeg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /*margin-left: 150px;*/
    margin-top: -65px;
    padding-top: 119px;
    height:110px;
    /*text-align: center;*/
   /* width: 1141px;*/
}
@media only screen and (max-width: 979px) {
  .menubar {
  background-image: url("../images/topmenuimage.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-left: 0px;
    margin-top: -65px;
    padding-top: 119px;
    padding-right:0px;
    padding-right:0px;
      height:auto;
  }
}
.maincontainer{
	/*margin-top:-300px;*/
    margin-top: -100px;
	
}
.palign{
	text-align:left;
}
hr{
	 border-width: 2px;
}
.homehearder
{
	text-align:left;
	color:#000000;
	font-size:40px;
	font-weight:20px;
}
.noselect{
	height:45px;
	background:#e0e0e0;
}
/* First level sub-menu styles
========================================================*/
.sf-menu ul {
  position: absolute;
  top: 66px;
  left: -30px;
  background: #d94d3a;
  color: #ffffff;ba
  min-width: 157px;
  z-index: 999;
  display: none;
  text-align: left;
  padding-left: 33px;
  padding-top: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.sf-menu ul:before {
  content: "";
  position: absolute;
  top: -10px;
  left: calc(50% - 3px);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid #d94d3a;
}
.sf-menu ul li {
  position: relative;
  height: 48px;
  line-height: 48px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.sf-menu ul li a {
  line-height: 12px;
  padding: 10px 0;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  display: block;
}
.sf-menu ul li:hover > a {
  color: #7d261a;
}
/* Second level sub-menu styles
========================================================*/
.sf-menu ul ul {
  position: absolute;
  top: 0;
  left: 126px;
  z-index: 4;
  min-width: 157px;
  border: none;
  background: #dbb3ae;
}
.sf-menu ul ul:before {
  display: none;
}
.sf-menu ul ul a:hover {
  color: #d94d3a;
}
@media only screen and (max-width: 767px) {
  .sf-menu {
    display: none;
  }
  .select-menu {
    display: block;
    width: 100%;
    border-color: #d94d3a;
    color: #666;
    font-size: 16px;
    padding: 5px;
  }
}
/* Stuck menu styles
========================================================*/
.isStuck {
  background: #ffffff;
  z-index: 9;
  padding: 0;
  border-bottom: 1px solid #d94d3a;
}
.isStuck nav {
  margin-top: 17px !important;
}
.isStuck .sf-menu {
  margin-top: 3px;
}
.isStuck .sf-menu > li > a:hover:after {
  bottom: -23px;
}
.isStuck .sf-menu > li.current > a:after {
  bottom: -23px;
}
@media only screen and (max-width: 979px) {
  .isStuck {
    display: none !important;
  }
}
/*========================================================
										CONTENT styles
=========================================================*/
h2,
h3,
h4 {
  font-family: 'Marvel', sans-serif;
  color: #d94d3a;
}
h2 {
  font: 300 72px/72px 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 50px;
}
h2 span {
  position: relative;
  font-size: 50px;
}
h2 span:before {
  height: 2px;
  position: absolute;
  bottom: 7px;
  background: #000;
  width: 100%;
  content: "";
  display: block;
  left: 0;
  font-size: 0px;
}
h3 {
  font-size: 50px;
  font-family: 'Marvel', sans-serif;
  text-align: center;
  line-height: 50px;
  
}
h4 {
  font-size: 36px;
  line-height: 36px;
  font-family: 'Marvel', sans-serif;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
h5 {
  font-size: 27px;
  line-height: 27px;
  font-family: 'Marvel', sans-serif;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}
.h5__mod {
  color: #d94d3a;
}
p {
  font: 14px/24px 'Open Sans', sans-serif;
  color: #727070;
}
.full-width-container {
  width: 100%;
}
.img_container {
  overflow: hidden;
}
.img_container img {
  width: 100%;
}
.btn {
  width: 153px;
  border: 1px solid #000000;
  background: #ffffff;
  display: inline-block;
  font: 24px/46px 'Open Sans', sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  margin-top: 20px;
}
.btn:hover {
  background: #000000;
  color: #ffffff;
}
.bd-ra {
  border-radius: 50%;
}
.sub_head {
  font-size: 24px;
  font-style: italic;
  line-height: 36px;
  text-align: center;
  margin: 0 auto;
}
@media only screen and (max-width: 979px) {
  h2 {
    font: 300 62px/62px 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 40px;
  }
  h2 span:before {
    display: none;
  }
  h3 {
    font: 45px/45px 'Marvel', sans-serif;
    text-align: center;
	
  }
  h4 {
    font: 30px/30px 'Marvel', sans-serif;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  h5 {
    font: 20px/20px 'Marvel', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
  }
}
@media only screen and (max-width: 767px) {
  h2 {
    font: 300 52px/52px 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 40px;
  }
  h2 span:before {
    display: none;
  }
  h3 {
    font: 45px/45px 'Marvel', sans-serif;
    text-align: center;
	
  }
  h4 {
    font: 25px/25px 'Marvel', sans-serif;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  h5 {
    font: 20px/20px 'Marvel', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
  }
  .img_container {
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 479px) {
  h2 {
    font: 300 42px/42px 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 40px;
  }
  h2 span:before {
    display: none;
  }
  h3 {
    font: 35px/35px 'Marvel', sans-serif;
    text-align: center;
	color: #d94d3a;
  }
  h4 {
    font: 20px/20px 'Marvel', sans-serif;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  h5 {
    font: 16px/16px 'Marvel', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
  }
  .img_container {
    margin-bottom: 20px;
  }
}
.index .block-2 {
  padding: 105px 0 130px;
  text-align: center;
}
.index .block-2 h2 {
  margin-bottom: 60px;
}
.index .block-2 h4 {
  margin-bottom: 25px;
}
.index .block-2 p {
  width: 66%;
  margin: 0 auto;
}
.index .block-2 .btn {
  margin-top: 33px;
  width: 278px;
}
.index .block-3 {
  padding: 123px 0 50px;
  background: url(../images/index_img_par.jpg);
  background-attachment: fixed;
  background-position: center 0%;
  position: relative;
  background-repeat: no-repeat;
  padding-bottom: 100px;
  z-index: 8;
  text-align: center;
}
.index .block-3 h2 {
  color: #ffffff;
  margin-bottom: 70px;
}
.index .block-3 h2 span:before {
  background: #ffffff;
}
.index .block-3 h3 {
  color: #ffffff;
}
.index .block-3 .element {
  padding: 50px 0;
}
.index .block-4 {
  padding: 120px 0 130px;
  border-bottom: 1px solid #000;
}
.index .block-4 h2 {
  margin-bottom: 65px;
}
.index .block-4 .owl-text {
  font-size: 36px;
  font-family: 'Marvel', sans-serif;
  color: #312f2f;
  text-align: center;
  margin-top: 40px;
}
.index .block-5 {
  padding: 120px 0 70px;
  text-align: center;
}
.index .block-5 h2 {
  margin-bottom: 60px;
}
.index .block-5 h3 {
  margin-bottom: 22px;
}
.index .block-5 .btn {
  margin-top: 30px;
}
.index .block-5 p {
  text-align: left;
}
@media only screen and (max-width: 979px) {
  .index .block-3 h3 {
    height: 100px;
  }
}
@media only screen and (max-width: 767px) {
  .index .block-3 .element {
    padding: 0;
  }
  .index .block-5 article {
    margin-bottom: 60px;
  }
}
/*.index-1 .block-1 {
  padding: 120px 0 125px;
}*/
.index-1 .block-1 {
  padding: 70px 0 125px;
}
.index-1 .block-1 h2 {
  margin-bottom: 60px;
}
.index-1 .block-1 p {
  padding-right: 10px;
  line-height: 20px;
}
.index-1 .block-1 .btn {
  margin-top: 55px;
}
.index-1 .block-2 {
  padding: 120px 0 90px;
  background: url(../images/index_img_par.jpg);
  background-attachment: fixed;
  background-position: center 0%;
  position: relative;
  background-repeat: no-repeat;
  padding-bottom: 100px;
  z-index: 8;
}
.index-1 .block-2 h2 {
  color: #ffffff;
  margin-bottom: 75px;
}
.index-1 .block-2 h2 span:before {
  background: #ffffff;
}
.index-1 .block-2 h4 {
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 15px;
}
.index-1 .block-2 p {
  color: #ffffff;
  padding: 0 22px;
}
.index-1 .block-3 {
  padding: 125px 0 115px;
  border-top: 1px solid #4d4a4a;
}
.index-1 .block-3 h2 {
  margin-bottom: 70px;
}
.index-1 .block-3 .bd-ra {
  width: 68px;
  height: 68px;
  line-height: 68px;
  font-size: 35px;
  text-align: center;
  color: #ffffff;
  background: #d94d3a;
  display: block;
  font-family: 'Open Sans', sans-serif;
}
@media only screen and (max-width: 979px) and (min-width: 768px) {
  .index-1 .block-3 .bd-ra {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .index-1 .block-3 .bd-ra {
    margin: 10px auto;
  }
  .index-1 .block-3 p {
    margin-bottom: 50px;
  }
}
.index-2 .block-1 {
  padding: 120px 0 70px;
}
.index-2 .block-1 h2 {
  margin-bottom: 64px;
}
.index-2 .block-1 article {
  border: 1px solid #000;
  border-top: none;
  padding-top: 5px;
  margin-bottom: 95px;
}
.index-2 .block-1 h4 {
  background: #474747;
  color: #ffffff;
  line-height: 52px;
  margin-top: 0;
  margin-bottom: 20px;
}
.index-2 .block-1 p {
  padding: 0 32px 25px;
}
.index-2 .block-1 .img_container {
  margin-bottom: 0 !important;
}
.index-3 .block-1 {
  padding: 70px 0 75px;
}
/*.index-3 .block-1 {
  padding: 120px 0 75px;
}*/
.index-3 .block-1 h2 {
  text-align: left;
  margin-bottom: 63px;
}
.index-3 .block-1 h5 {
  text-align: left;
  margin-bottom: 25px;
}
.index-3 .block-1 .h5__mod {
  margin-bottom: 10px;
}
.index-3 .block-1 li {
  padding: 11px 0;
}
.index-3 .block-1 li a {
  color: #727070;
  font: 14px/14px 'Open Sans', sans-serif;
  text-decoration: underline;
}
.index-3 .block-1 li a:hover {
  text-decoration: none;
  color: #d94d3a;
}
.index-3 .block-1 article {
  margin-bottom: 45px;
}
.index-3 .block-1 p {
  line-height: 20px;
}
.index-3 .block-2 {
  padding: 110px 0 70px;
  border-top: 1px solid #4d4a4a;
}
.index-3 .block-2 h2 {
  margin-bottom: 74px;
}
.index-3 .block-2 h5 {
  text-align: right;
}
.index-3 .block-2 .text_content {
  border: 1px solid #8c8c8c;
  position: relative;
  background: #fff;
  margin-bottom: 75px;
}
.index-3 .block-2 .text_content p {
  padding: 20px 20px 15px;
}
.index-3 .block-2 .text_content:before {
  content: "";
  display: block;
  width: 33px;
  height: 28px;
  background: url(../images/quotes.png) no-repeat;
  position: absolute;
  bottom: -28px;
  right: 30px;
}
.index-4 p a {
  color: #d94d3a;
}
.index-4 p a:hover {
  color: #7d261a;
}
.index-4 .block-1 {
  padding: 120px 0 15px;
}
.index-4 .block-1 h2 {
  margin-bottom: 65px;
}
.index-4 .block-1 #map-canvas {
  height: 430px;
}
.index-4 .block-2 {
  padding: 70px 0;
}
.index-4 .block-2 h2 {
  font-size: 60px;
  text-align: left;
}
.index-4 .block-2 .address {
  margin-top: 15px;
}
.index-4 .block-2 .mail {
  color: #727070;
}
.index-4 .block-2 .mail:hover {
  color: #d94d3a;
}
@media only screen and (max-width: 767px) {
  .index-4 h2 {
    margin-top: 30px;
  }
}
/*========================================================
										FOOTER styles
=========================================================*/
#footer {
  background: #d94d3a;
  padding: 100px 0 0;
  color: #000000;
}
#footer a {
  color: inherit;
}
#footer a:hover {
  text-decoration: underline;
}
#footer .copyright {
  text-align: center;
}
#footer .copyright .btn {
  width: 94px;
  height: 94px;
  line-height: 94px;
  font-size: 60px;
  color: #423e3e;
  background: #fff;
  border: none;
  margin: 30px 50px;
}
#footer .copyright .btn span {
  line-height: 94px;
}
#footer .copyright .btn:hover {
  background: #423e3e;
  color: #fff;
}
#footer .copyright pre {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}
#footer .footer_bottom {
  height: 35px;
  text-align: center;
  background: #423e3e;
}
.facebook{
      background: url(../images/facebook.png) 0 15px no-repeat;
}
@media only screen and (max-width: 767px) {
  #footer .copyright .btn {
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 30px 25px;
  }
}
@media only screen and (max-width: 479px) {
  #footer .copyright .btn {
    display: block;
    margin: 20px auto;
  }
}
/*========================================================
										Widget styles
=========================================================*/
/* UItoTop styles
========================================================*/
#toTop {
  display: none;
  background: #d94d3a;
  text-decoration: none;
  position: fixed;
  bottom: 80px;
  right: 30px;
  overflow: hidden;
  border: none;
  color: #fff;
  width: 73px;
  height: 73px;
  font-size: 72px;
  line-height: 73px;
  z-index: 20;
  text-align: center;
  -webkit-transition: color 0.5s ease;
  transition: color 0.5s ease;
}
#toTop:hover {
  outline: none;
  color: #7d261a;
  -webkit-transition: color 0.5s ease;
  transition: color 0.5s ease;
}
@media only screen and (max-width: 1199px) {
  #toTop {
    display: none !important;
  }
}
/*========================================================
								RESPONSIVE LAYOUTS STYLES 
=========================================================*/
@media only screen and (max-width: 1199px) {
  .sample {
    height: auto;
    /*delete this class*/
  }
}
@media only screen and (max-width: 979px) {
  .sample {
    height: auto;
    /*delete this class*/
  }
}
@media only screen and (max-width: 767px) {
  .sample {
    height: auto;
    /*delete this class*/
  }
}
@media only screen and (max-width: 480px) {
  .sample {
    height: auto;
    /*delete this class*/
  }
}
@media only screen and (max-width: 320px) {
  .sample {
    height: auto;
    /*delete this class*/
  }
}
/*========================================================
							Image Gallery  
=========================================================*/

.thumbnails img {
	height: 80px;
	border: 4px solid #555;
	padding: 1px;
	margin: 0 10px 10px 0;
}

.thumbnails img:hover {
	border: 1px solid #00ccff;
	cursor:pointer;
	height:80px;
}

.preview img {
	border: 1px solid #444;
	padding: 1px;
	width: 650px;
	height:350px;
}
/* css3 photo gallery styles */
.gallery {
/*width:610px;*/
width:1020px;
margin:0 auto;
}
.gallery a {
display:inline-block;
height:150px;
position:relative;
width:200px;
}

.gallery a img {
border:5px solid #fff;
cursor:pointer;
display:block;
height:100%;
left:0px;
position:absolute;
top:0px;
width:100%;
z-index:1;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
-webkit-transition-property:width, height, top, bottom, left, right, z-index, border;
-webkit-transition-duration:0.5s;
-moz-transition-property:width, height, top, bottom, left, right, z-index, border;
-moz-transition-duration:0.5s;
-o-transition-property:width, height, top, bottom, left, right, z-index, border;
-o-transition-duration:0.5s;
transition-property:width, height, top, bottom, left, right, z-index, border;
transition-duration:0.5s;
}

.gallery a:focus img {
border:15px solid #fff;
cursor:default;
height:200%;
position:absolute;
width:200%;
z-index:25;
box-shadow:1px 1px 5px #888;
-moz-box-shadow:1px 1px 5px #888;
-webkit-box-shadow:1px 1px 5px #888;
-webkit-transition-property:width, height, top, bottom, left, right, z-index, border;
-webkit-transition-duration:0.5s;
-moz-transition-property:width, height, top, bottom, left, right, z-index, border;
-moz-transition-duration:0.5s;
-o-transition-property:width, height, top, bottom, left, right, z-index, border;
-o-transition-duration:0.5s;
transition-property:width, height, top, bottom, left, right, z-index, border;
transition-duration:0.5s;
}

/* custom focus rules */
.gallery a:focus:nth-child(3n+1) img {
left:150px;
}
.gallery a:focus:nth-child(3n+2) img {
left:-50px;
}
.gallery a:focus:nth-child(3n+3) img {
left:-250px;
}
.gallery a:focus:nth-child(-n+3) img {
top:140px;
}
.gallery a:focus:nth-child(n+7) img {
top:-150px;
}
.gallery a:focus:nth-child(n+10) img {
top:-295px;
}


/* extra close layer */
.gallery .close {
background:transparent;
cursor:pointer;
display:none;
height:352px;
left:170px;
position:absolute;
top:160px;
width:500px;
z-index:30;
}
.gallery a:focus ~ .close {
display:block;
}
.imagecontainer {
background:#fff;
margin:20px auto;
padding:20px;
position:relative;
/*width:700px;*/
width:1000px;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
box-shadow:1px 1px 5px #111;
-moz-box-shadow:1px 1px 5px #111;
-webkit-box-shadow:1px 1px 5px #111;
}
@media only screen and (max-width: 979px) {
  .imagecontainer {
background:#fff;
margin:20px auto;
padding:20px;
position:relative;
/*width:700px;*/
width:auto;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
box-shadow:1px 1px 5px #111;
-moz-box-shadow:1px 1px 5px #111;
-webkit-box-shadow:1px 1px 5px #111;
  }
}
@media only screen and (max-width: 979px) {
.gallery {
/*width:610px;*/
width:auto;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus img  {
border:15px solid #fff;
cursor:default;
height:300px;
width:300px;
    position:absolute;
    top:40px;
    right:0;
    bottom:0;
    left:0;
z-index:25;
box-shadow:1px 1px 5px #888;
-moz-box-shadow:1px 1px 5px #888;
-webkit-box-shadow:1px 1px 5px #888;
-webkit-transition-property:width, height, top, bottom, left, right, z-index, border;
-webkit-transition-duration:0.5s;
-moz-transition-property:width, height, top, bottom, left, right, z-index, border;
-moz-transition-duration:0.5s;
-o-transition-property:width, height, top, bottom, left, right, z-index, border;
-o-transition-duration:0.5s;
transition-property:width, height, top, bottom, left, right, z-index, border;
transition-duration:0.5s;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(3n+1) img {
left:0px;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(3n+2) img {
/*left:-50px;*/
left:0px;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(3n+3) img {
/*left:-50px;*/
left:0px;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(-n+3) img {
top:auto;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(n+7) img {
top:auto;
}
}
@media only screen and (max-width: 979px) {
.gallery a:focus:nth-child(n+10) img {
top:auto;
}
}
/*Core variables and mixins*/
.CSSTableGenerator {
	margin:0px;padding:0px;
	width:100%;
	box-shadow: 10px 10px 5px #888888;
	border:1px solid #000000;
	
	-moz-border-radius-bottomleft:0px;
	-webkit-border-bottom-left-radius:0px;
	border-bottom-left-radius:0px;
	
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-right-radius:0px;
	
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
	
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
}.CSSTableGenerator table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}.CSSTableGenerator tr:last-child td:last-child {
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-right-radius:0px;
}
.CSSTableGenerator table tr:first-child td:first-child {
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
}
.CSSTableGenerator table tr:first-child td:last-child {
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
}.CSSTableGenerator tr:last-child td:first-child{
	-moz-border-radius-bottomleft:0px;
	-webkit-border-bottom-left-radius:0px;
	border-bottom-left-radius:0px;
}.CSSTableGenerator tr:hover td{
	
}
.CSSTableGenerator tr:nth-child(odd){ background-color:#e5e5e5; }
.CSSTableGenerator tr:nth-child(even)    { background-color:#ffffff; }.CSSTableGenerator td{
	vertical-align:middle;
	
	
	border:1px solid #000000;
	border-width:0px 1px 1px 0px;
	text-align:left;
	padding:7px;
	font-size:11px;
	font-family:Arial;
	font-weight:normal;
	color:#000000;
}.CSSTableGenerator tr:last-child td{
	border-width:0px 1px 0px 0px;
}.CSSTableGenerator tr td:last-child{
	border-width:0px 0px 1px 0px;
}.CSSTableGenerator tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td{
		background:-o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
	background:-moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");	background: -o-linear-gradient(top,#cccccc,b2b2b2);

	background-color:#cccccc;
	border:0px solid #000000;
	text-align:center;
	border-width:0px 0px 1px 1px;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	color:#000000;
}
.CSSTableGenerator tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
	background:-moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");	background: -o-linear-gradient(top,#cccccc,b2b2b2);

	background-color:#cccccc;
}
.CSSTableGenerator tr:first-child td:first-child{
	border-width:0px 0px 1px 0px;
}
.CSSTableGenerator tr:first-child td:last-child{
	border-width:0px 0px 1px 1px;
}
/*th{
    border-bottom:1px solid black;
	 font: 14px/24px Georgia, 'Times New Roman', Times, serif;
}*/
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data */
	
	td:nth-of-type(1):before { content: "CONTRACT"; }
	td:nth-of-type(2):before { content: "CLIENT"; }
	td:nth-of-type(3):before { content: "VALUE"; }
	td:nth-of-type(4):before { content: "SCOPE"; }
	td:nth-of-type(5):before { content: "YEAR"; }
	
}
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body { 
			width: 495px; 
		}
	}
	
/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}