/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

html,body {
	margin: 0px;
	padding: 0px;
	background: #000;
	color: #fff;
	/*font-family: helvetica,arial, sans-serif;*/
	text-align: center;
	font-family: 'Arvo', serif;
	font-size: 12px;
	height:100%;
	
}

* {
  box-sizing: border-box;
}


#wrapper{
	height: 100%;
}
h1, h2 {
	font-family: 'Engagement', cursive;
	font-size: 2.6em;
	margin: 1.5em auto;
	font-weight:normal;
}
a {
	color: #69bfb4;
	text-decoration: none;
}
.rub{ 
	display: table;
  width: 100%;
  height: 100%;
  min-height:100%;
  line-height: 1.4em;
}
.position {
  display: table-cell;
  vertical-align: middle;
}

/*.content: {
	position: relative;
	display: block;
	width:20%;
	margin:500px;
}*/
.box {
	padding:15px;
  max-width: 100%;
	margin:0 auto;
}

p {
  max-width: 600px;
  line-height: 1.5em;
  margin: 1.5em auto;
}

.home-logo {
  margin: 12px;
  width: 200px;
  height: 200px;
}

#home .content {
  width: 100%;
  max-width: 700px;
  font-size: 0;
  margin: 0 auto;
}

#home .content a {
  padding: 10px 0;
  display: inline-block;
  width: 50%;
}

#works{
	width: 100%;
	text-align: center;
}
#works>ul{
	list-style-type: none;
	padding: 0;
	margin:0;
  text-align: center;
}
.works__item{
	text-align: left;
}
.works__item h4{
	text-transform: uppercase;
	margin: 2px 0;
}
.works__item p {
	font-size: .8em;
	margin:0;
}
.works__item>li{
	margin: 20px 10px;
  display: inline-block;
  vertical-align: top;
  padding: 20px;
  max-width: 500px;
  text-align: left;
}
.works__item>li img{
	max-width: 100%;
	height: auto;
	margin: 0 auto 10px auto;
}

p.smaller{
  font-size: .8em;
  margin: 1.5em auto 0;
}


@media (max-width: 1200px) {
  #works>ul {
    display: inline-block;
    margin: 10px auto;
    max-width: 100%;
  }
  .works__item {
  }
  .works__item>li {
    display: block;
    max-width: 100%;
    margin: 20px auto;
  }
}
/*----------------------------------------------------------------------------*/
/* HOME */
/*----------------------------------------------------------------------------*/
#home{
	background-image:url('img/back_home.jpg');
	background-repeat:no-repeat;
	background-position: center;
}
.fnav {
	/*padding: 10px 120px;*/
}
.fsy {
	padding: 12px;
}
#about{
	background-image:url('img/back_about.jpg');
	background-repeat:no-repeat;
	background-position: center;
}
#services{
	background-image:url('img/back_services.jpg');
	background-repeat:no-repeat;
	background-position: center;
}
#contact{
	background-image:url('img/back_contact.jpg');
	background-repeat:no-repeat;
	background-position: center;
}
#links{
	background-image:url('img/back_links.jpg');
	background-repeat:no-repeat;
	background-position: center;
}

#links ul {
	display: inline-block;
	margin-top: 20px;
	
	width: 200px;
	margin-left:auto;
	margin-right:auto;
  list-style-type:none;

}
#links ul li {
	display: inline-block;
   margin: 10px;
   vertical-align: middle;
   cursor: pointer;
 }


/*----------------------------------------------------------------------------*/
/* NAV+FOOTER */
/*----------------------------------------------------------------------------*/
#foot{
	
	z-index: 3;
   position:fixed;
   top:0;
   left:50%;
   width:600px;
   max-width: 100%;
   transform: translateX(-50%);
   height:80px;   /* Height of the footer */
}

#foot ul li {
	width: 50px;
	height: 50px;
	list-style-type:none;
  margin-top: 20px;
  background:rgba(0,0,0,.6);
  border-radius: 50%;
  padding: 10px 10px;
}
#foot ul li a {
   
}
#footer-left{
	display: inline-block;
	float:left;
  width: 50%;
}
#footer-right{
	display: inline-block;
	float:right;	
  width: 50%;
}
#footer-left li{
	float:left;
	margin-left: 9%;
  
}
#footer-right li{
	float:right;
	margin-right: 9%;

}

h3 {
      text-transform: uppercase;
    letter-spacing: .05em;
    margin: 2em auto;
    display: inline-block;
    border: 1px solid white;
    padding: 1em;
}



/*ul li#navse a {
	background:transparent url(img/nav_service.png) no-repeat 0 0; 
	
} */
a:hover { cursor: pointer; }
/*ul li#navab a {background:transparent url(img/nav_about.png) no-repeat 0 0; } 
/*ul li#navab a:hover { background-position: 0 -50px; }*/
/*ul li#navco a {background:transparent url(img/nav_contact.png) no-repeat 0 0; } 
/*ul li#navco a:hover { background-position: 0 -50px; }*/
/*ul li#navli a {background:transparent url(img/nav_link.png) no-repeat 0 0; } 
/*ul li#navli a:hover { background-position: 0 -50px; }*/

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
strong {font-weight: bold;}
em {font-style: italic;}


html { font-size: 16px; }
body { font-size: 1rem;}