@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);


/* =============================================================================
   ========================================================================== */
  
body {
  font: normal 16px/18px helvetica,arial,sans-serif;
  color: #555;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

div#wrapper {
  width: 980px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

header {
  width: 980px;
}

nav {
  width: 980px;
  text-align: center;
  background: #6aa84f;
}

section {
  min-height: 300px;
  text-align: left;
  padding: 30px;
  font-size:16px;
  line-height:22px;  
}

div.halfPanel {
  float: left;
  width: 50%;
  margin: 0 0 20px 0;
}

footer {
  width: 980px;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  color: #999;
  border-top: 1px solid #ddd;
  clear: both;
  padding-bottom:10px;
}


/* =============================================================================
   Navigation
   ========================================================================== */

span#siteName a {
  display: block;
  width: 50%;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #000;
  text-decoration: none;
  margin: 35px 0 20px 30px;
  -moz-transition: all 0.25s ease-out 0s;
  -webkit-transition: all 0.25s ease-out 0s;
}

span#siteName a span {
  color: #6aa84f;
}

span#siteName a:hover {
  color: #6aa84f;
  text-decoration: none;
}

span#siteTagline {
  display: block;
  width: 90%;
  font-size: 24px;
  color: #888;
  margin: 0 0 30px 30px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: inline;
  line-height: 57px;
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  -moz-transition: all 0.25s ease-out 0s;
  -webkit-transition: all 0.25s ease-out 0s;
}

nav ul li a:hover {
  color: #999;
  text-decoration: none;
}

footer a {
  color: #999;
  text-decoration: underline;
  -moz-transition: all 0.25s ease-out 0s;
  -webkit-transition: all 0.25s ease-out 0s;
}

footer a:hover {
  color: #6aa84f;
  text-decoration: underline;
}

span.button a {
  display: block;
  height: 50px;
  font-size: 18px;
  line-height: 52px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  margin: 30px 0;
  background: #6aa84f;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius:5px;
  box-shadow:#aaa 1px 1px 4px;
  -moz-transition: all 0.25s ease-out 0s;
  -webkit-transition: all 0.25s ease-out 0s;
  text-shadow:#000 1px 1px 0px;
  font-weight:bold;
}

span.button a:hover {
  text-decoration: none;
}

header span.buttoncap {
  float: right;
padding-left:10px;
  padding-right:10px;
  height: 40px;
  font-size: 16px;
  line-height: 42px;
  margin: -84px 30px 0 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius:5px;
  background: #6aa84f; 
}

header span.buttoncap a {
  height: 40px;
  color:#fff;
  text-shadow:#000 1px 1px 0px;
  font-weight:bold;
  text-decoration:none;  
  font-size: 16px;
  margin-left:5px;
  margin-right:5px;
}

div .espaifans{
  margin:auto;
  text-align:center;
}

header div.logocap{
  margin: 25px 0 30px 30px;  
}

/* 
==========================================================================
   Typography
==========================================================================
*/

h1, h2, h3, h4, h5, h6 {
  font-size: 40px;
  line-height: 1em;
  letter-spacing: -1px;
  color: #000;
  margin: 0 0 30px 0;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.5px;
  color: #aaa;
  margin: -20px 0 30px 0;
}

h3, h4, h5, h6 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: 30px 0 8px 0;
}

h5, h6 {
  font-size: 20px;
  letter-spacing: 0px;
}

p {
  line-height: 1.5em;
   margin: 0 0 20px 0;
}

p a {
  color: #6aa84f;
  text-decoration: underline;
  -moz-transition: all 0.25s ease-out 0s;
  -webkit-transition: all 0.25s ease-out 0s;
}

p a:hover {
  color: #000;
  text-decoration: underline;
}

b, strong { 
  font-weight: bold;
  color: #000;
}

strike {
  color: #6aa84f;
}


/* =============================================================================
   Images
   ========================================================================== */

header img {
  display: block;
}

figure {
  margin: 0;
  padding: 0;
}

img.thumb {
  width: 438px;
  height: 204px;
  margin: 10px 0;
  border: 1px solid #666;
}

img.icon {
  width: 54px;
  height: 54px;
  margin: 10px 5px 0 5px;
  border: 0;
}

/* =============================================================================
   Responsive media queries
   ========================================================================== */

div.vid {
  position: relative;
  height: 0;
  margin: 10px 0;
  padding: 30px 0 56.25% 0; 
  overflow: hidden;
}

div.vid iframe, div.vid object, div.vid embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* =============================================================================
   Responsive adjustments
   ========================================================================== */

/* Tablets and the like */

@media (min-device-width:1024px) and (max-width:989px),  screen and (max-device-width:480px),  (max-device-width:480px) and (orientation:landscape),  (min-device-width:481px) and (max-device-width:1024px) and (orientation:portrait) {

div#wrapper{
      width: 90%;
}

header, nav, footer {
    width:100%;
}
  
footer {
  height: 50px;
  line-height: 25px;
  font-size:11px;
}

section {
  padding: 15px;
  overflow: hidden;
    font-size:14px;
    line-height:20px;
}

div.halfPanel {
  float: none;
  width: 100%;
}

nav {
  }

span#siteName a {
  font-size: 30px;
  letter-spacing: 0px;
  margin: 35px 0 15px 20px;
}

span#siteTagline {
  font-size: 25px;
  margin: 0 0 30px 20px;
}

nav ul li {
  font-size: 14px;
  line-height: 42px;
  margin: 0 10px;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 26px;
  line-height: 1.2em;
  letter-spacing: -0.2px;
  margin: 0 0 20px 0;
}

h2 {
  font-size: 22px;
  margin: -10px 0 20px 0;
}

h3, h4, h5, h6 {
  font-size: 18px;
  margin: 20px 0 6px 0;
}

h5, h6 {
  font-size: 14px;
}

span.button a {
  height: 46px;
  font-size: 15px;
  line-height: 48px;
  margin: 20px 0;
    -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius:0px;
}

header span.buttoncap{
  display:block;  
  float: none;
  width: 100%;
  height: 40px;
  font-size: 16px;
  line-height: 42px;
  margin: -10px 0 0 0;
  border-radius:0px;
  clear: both;
  padding-left:10px;
  padding-right:10px;
  height: 40px;
  font-size: 16px;
  line-height: 42px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius:0px;
    background: #6aa84f;
  text-align:center;
}
  
header span.buttoncap a {
  height: 40px;
  color:#fff;
  text-shadow:#000 1px 1px 0px;
  font-weight:bold;
  text-decoration:none;  
  font-size: 16px;
  margin-left:5px;
  margin-right:5px;
}  

img {
  height: 100&;
  width: 100%;
}

img.thumb {
  display: block;
  width: 408px;
  height: 189px;
  border: 1px solid #666;
}

img.icon {
  width: 42px;
  height: 42px;
}

  header div.logocap{
  }  
  
header div.logocap img{
 width:auto;
}  

}/* End */


/* Smartphones */

@media (min-device-width:1024px) and (max-width:509px),  (max-device-width:480px) and (orientation:portrait) {

html {
  width: 100%;
  overflow-x: hidden; /* prevents right-padding on edge of device screen */
}

body {
  font-size: 13px;
}

div#wrapper, header, nav, footer {
  width: 320px;
}

footer {
  height: 55px;
  line-height: 20px;
  font-size:11px;
}

section {
  padding: 10px;
  overflow: hidden;
}

div.halfPanel {
  float: none;
  width: 300px;
  margin: 0;
}

nav {
  height: auto;
}

span#siteName a {
  font-size: 26px;
  letter-spacing: 0px;
  margin: 25px 0 6px 20px;
}

span#siteTagline {
  font-size: 16px;
  margin: 0 0 20px 20px;
}

nav ul li {
  font-size: 13px;
  line-height: 40px;
  text-align: center;
  margin: 0;
}

nav ul li a {
  display: block;
  width: 320px;
  background: #6aa84f;
  border-bottom: 1px solid #444;
}

footer {
 
}

h1, h2, h3, h4, h5, h6 {
  font-size: 22px;
  line-height: 1.2em;
  letter-spacing: 0px;
  margin: 0 0 20px 0;
}

h2 {
  font-size: 18px;
  margin: -10px 0 20px 0;
}

h3, h4, h5, h6 {
  font-size: 16px;
  margin: 20px 0 6px 0;
}

h5, h6 {
  font-size: 14px;
}

span.button a {
  height: 36px;
  font-size: 14px;
  line-height: 38px;
  margin: 10px 0;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius:0px;  
}

header span.buttoncap{
  display:block;  
  float: none;
  width: 100%;
  height: 40px;
  font-size: 16px;
  line-height: 42px;
  margin: -10px 0 0 0;
  border-radius:0px;
  clear: both;
  padding-left:5px;
  padding-right:5px;
  height: 40px;
  font-size: 16px;
  line-height: 42px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius:0px;
  background: #6aa84f;  
    text-align:center;
}
  
header span.buttoncap a {
  height: 40px;
  color:#fff;
  text-shadow:#000 1px 1px 0px;
  font-weight:bold;
  text-decoration:none;  
  font-size: 14px;
  letter-spacing:-1px;
  margin-left:0px;
  margin-right:5px;
} 

img {
  height: 100&;
  width: 100%;
}

img.thumb {
  display: block;
  width: 298px;
  height: 138px;
  border: 1px solid #666;
}

img.icon {
  width: 32px;
  height: 32px;
  margin: 0 3px;
}

  header div.logocap{
    width:100%;
    text-align:center;
    margin-left:0px;
  }  
  
header div.logocap img{
 height:100%;
 width:200px;
 display:inline;
}    

}/* End */


/* form de contacto */

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea,
#contact-form button[type="submit"] {
	font:400 12px/12px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#contact-form {
	text-shadow:0 1px 0 #FFF;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	background:#F9F9F9;
	padding:25px;
}
#contact-form h3 {
	color:#6aa84f;
	display:block;
	font-size:28px;
}
#contact-form h4 {
	margin:5px 0 15px;
	display:block;
	font-size:13px;
}
#contact-form label span {
	cursor:pointer;
	color:#6aa84f;
	display:block;
	margin:5px 0;
	font-weight:900;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea {
	width:100%;
	box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	-webkit-box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	-moz-box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
	border-radius:5px;
}
#contact-form input[type="text"]:hover,
#contact-form input[type="email"]:hover,
#contact-form input[type="tel"]:hover,
#contact-form input[type="url"]:hover,
#contact-form textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}
#contact-form textarea {
	height:100px;
	max-width:100%;
}
#contact-form button[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	background:#6aa84f;
	background-image:linear-gradient(bottom, #6aa84f 0%, #6aa84f 52%);
	background-image:-moz-linear-gradient(bottom, #6aa84f 0%, #6aa84f 52%);
	background-image:-webkit-linear-gradient(bottom, #6aa84f 0%, #6aa84f 52%);
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	border-radius:5px;
}
#contact-form button[type="submit"]:hover {
	background-image:linear-gradient(bottom, #b9ddff 0%, #b9ddff 52%);
	background-image:-moz-linear-gradient(bottom, #b9ddff 0%, #b9ddff 52%);
	background-image:-webkit-linear-gradient(bottom, #b9ddff 0%, #b9ddff 52%);
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}
#contact-form button[type="submit"]:active {
	box-shadow:inset 0 1px 3px rgba(0,0,0,0.5);
}
#contact-form input:focus,
#contact-form textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
    color:#888;
}
:-moz-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
:-ms-input-placeholder {
    color:#888;
}




*{
font-family: 'Open Sans', sans-serif;
}



    header span.htmlcap{
      float:right;
      width:100%;
      text-align:right;
    }
    
    header span.htmlcap a{
      display:inline;
      font-size:12px;
      color:#666;
      text-decoration:none;
    }
    
    header span.htmlcap img{
      display:inline;
    }