body, html, main {
  /* important */
  height: 100%;
  
 
}


body, p {
    font-family: "PT Mono";
    line-height: 18px;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    
}


h1, .impact-text, .impact-text-large {
    font-family: Oswald;
    letter-spacing: 0px;
    font-weight: 400;
    font-style: normal;
    font-size: 72px;
}

h6 {
    font-family: Oswald;
    line-height: 16px;
    letter-spacing: 2px;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
}

.centrat{
    text-align: center;

  }
.text-justificat{
  text-align: justify;
}




.bg-fixed {
  margin-top: -60px;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
   
}

.contenidor-video{
  position: absolute;
  
}
 


.bg-video { 
    position: fixed;    
    left: 0px;
    right: 0px;
    margin: auto;    
    min-height: 100%;
    min-width: 100%;
    widows: 100%;
    z-index: -100;
    background-image: url("videos/poster-video.jpg");
    
} 

.bg-2 {
  background-image: url("imatges/cotesUTM-72.jpg");
  color: #030;
  
}

.color-2{
  color:#050;
}

.bg-3 {
  background-image: url("imatges/cadastre.png");
}

.color-3{
  color:#505;
}

.bg-4 {
  background-image: url("imatges/CAMPING_RIU-aixecament-1.png");
}

.color-4{
  color:#055;
}

.bg-5 {
  background-image: url("imatges/replanteig_piscina.png");
}

.color-5{
  color:#33f;
}

.bg-6 {
  background-image: url("imatges/pont-pedret-led.jpg");
}

.color-6{
  color:#a00;
}

.bg-7 {
  background-image: url("imatges/blanc.jpg");;
  
}

.color-7{
  color:#000;
}

#footer-wrap {
    position: relative;
    background: #f9f9f9;
    margin-top: -5px;

}

#footer {
    background: #f9f9f9;
    margin-left:10px;
    margin-right: 0px;
}

#footer-widgets .widget {
    padding-bottom: 30px;
    padding-top: 30px;
}

#copyright.copyright-divider {
    border-top-width: 1px;
}
#copyright {
    background-color: #ffffff;
    border-top-color: #ffffff;
}

.title-wrap {
    margin-bottom: 25px;
    height: auto;
    overflow: hidden;
}


#footer h6 {
    margin-bottom: 20px;
    font-weight: bold;
}



.taula-contenidor {
  display: table;
  margin-top: 60px;/*serveix per centrar el primer video */
  width: 100%;
  height: 100vh;
}
 

.imatge-responsive{
  max-width: 100%;
  height: auto;
  width: 90%;
}

.imatge-responsive:hover {
    -webkit-filter: invert(100%) !important;
}

.down {
  background-image: url("imatges/arrow.svg");
  width: 5em;
  height: 5em;
  line-height: 4.5em;
  padding: 0;
  z-index: 1;  
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -10em;
  overflow: hidden;
}


input[type="button"], 
 .button, button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background-color: rgba(64, 64, 64, 0.2);
    border: solid 1px #e5e6e7;
    border-radius: 3.5em;
    color: #fff;
    cursor: pointer;
    display: inline-block;
  }

a button.down:hover {
        background-color: rgba(145, 146, 147, 0.8);
      }

a:hover {
        background-color: rgba(145, 146, 147, 0.8);
      }




/* responsive text queries */
@media screen and (max-width: 992px) {
  
}

@media screen and (max-width: 768px) {
  

}
/*******************************************************************************************/
/******  de 0px  a  540px    ***************************************************************/
/*******************************************************************************************/

@media screen and (max-width: 540px) {

  h1, .h1, h2, .h2, h3, .h3 {
    margin-top: -15px;
    margin-bottom: 10px;
  }

  .bg-1 {      
      padding-top: 0px;
      height: auto;
  }

  .bg-video{
    background-size: cover;
  }

  /*.bg-2, .bg-3, .bg-4, .bg-5, .bg-6, .bg-7{
    margin-top: 200px;
  }*/

  .taula-contenidor {
  margin-top: 60px;/*serveix per centrar el primer video */
  width: 100%;
  height: 100vh;
  }

  .centratvertical{
    display: table-cell;
    vertical-align: middle;
    width: 5%;
        
  }

  .emmarcat{
    border: 1px dashed gray;
    padding: 10px;
    margin: 5px;

  }

  .centratvertical-altres{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    margin: 10px;

    
  }
  /*
  .centratvertical-altres {
    position:relative;
    margin-top: 100%;
    border: 1px dashed gray;
  }
*/
  .endavant{
    display: block;
    margin-top: 2em;
    margin-bottom: 10px;
    text-align: center;

  }

  span{
    font-weight: bold;
  }
  h1 {
    font-size: 2em; 
    line-height: 120%; 
  }
  h2 {
    font-size: 1.5em;  
  }
  h3 {
    font-size: 1em;  
  }

  p,.btn,input,div,span,h4 {
    font-size: 1em;
  }
  
  a {
    color: #000;
    text-decoration: none;
  }


  a:visited {
    color:#888;
    text-decoration: none;
  }

  a:hover,a:visited {
    color:#a00;
    text-decoration: none;
  }

  .logo{
    display: none;
  }

  .marca{
    text-align: center;
    display: block;
    padding-top: 5px;
    color:#111;
  }

  .marca-titol{
    font-size: 1.2em;
    display: block;
    padding-bottom: 0px;
    text-align: center;
    
  }

  .marca-tel{
    font-size: 1.5em;
    font-weight: bold;

  }

 a img {
    height: 1em;

  }

  .marca-pregunta{
    font-size: 1em;
    font-weight: normal;
    color: #888;
    margin: 10px 0 0;

  }

  .marca-remarcat{
    font-size: 1.2em;
    font-weight: bold;
    color: #333;

  }

  .marca-segon:visited {
    font-size: 1em;
    font-weight: normal;
    color:#333390;

  }

  .difuminat-fosc{
    background-color: rgba(0,0,0,.8);
    
  }

  .difuminat-clar{
    background-color: rgba(255,255,255,.8);
  }

  .vores{
    margin:5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px dashed gray;
  }

  .sense-vores{
    margin:5px;
    padding: 5px;
    border-radius: 5px;
    border: none;
  }

  
  .fletxa:before{
    content: "\021e9";
    font-size: 3em;
    text-align: center;
  }


  figure {
    display: inline-block;
  }
  
  figure img {
    vertical-align: top;
    /*border: 1px dotted gray;*/
  }
  
  figure figcaption {
    display: none;
  }
   
  #copyright .text-left {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
  }

  #copyright .text-right {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    max-width: 100%;
    text-align: center;
    
    margin-bottom: 0;
    
    line-height: 40px;
  }


}


/*******************************************************************************************/
/******  de 541px  a  768px    ***************************************************************/
/*******************************************************************************************/


@media only screen and (min-width: 541px) and (max-width: 768px) { 

p,.btn,input,div,span,h4 {
    font-size: 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 120%; 
  }

  h2 {
    font-size: 30px;  
  }

  h3 {
    font-size: 20px;  
  }

  .marca-primer{
    font-size: 1.5em;
    display: block;
    padding-bottom: 6px;
    text-align: left
    padding-left:10px;
  }

  .marca-segon{
  font-size: 1em;
  font-weight: bold;
  }

  .bg-1 {
  margin-top: 40px;
  padding-top: 0px;
  height: auto;
  }

  .centratvertical{
    display: table-cell;
    vertical-align: middle;
  }

  .emmarcat{
    border: 1px dashed gray;
    padding: 10px;
    margin: 5px;
  }

  .centratvertical-altres{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    margin: 10px;    
  }
  
  .endavant{
    display: block;
    margin-top: 2em;
    margin-bottom: 10px;
    text-align: center;
  }

  span{
    font-weight: bold;
  }
  h1 {
    font-size: 2em; 
    line-height: 120%; 
  }
  h2 {
    font-size: 1.5em;  
  }
  h3 {
    font-size: 1em;  
  }

  p,.btn,input,div,span,h4 {
    font-size: 1em;
  }
  
  a {
    color: #000;
    text-decoration: none;
  }

 
  a:visited {
    color:#888;
    text-decoration: none;
  }

  a:hover,a:visited {
    color:#a00;
    text-decoration: none;
  }

   .logo{
    height: 40px; 
    float: left; 
    margin: 20px 0px 20px 20px;
  }


  .marca{ 

    
  }
  .marca-dades{
    float: left;
    padding: 15px 15px;

  }

  .marca-missatge{
    position: relative;
    float: right;
    
    margin-top: 8px;
    margin-right: 15px;
    
  }

  .marca-titol{
    font-size: 1.5em;
    display: block;
    padding-bottom: 5px;
    
    
  }

  .marca-tel{
    font-size: 1.6em;
    font-weight: bold;

  }

  a img {
    height: 1em;

  }

  .marca-pregunta{
    font-size: 1em;
    font-weight: normal;
    color: #888;
    margin: 10px 0 0;

  }

  .marca-remarcat{
    font-size: 1.2em;
    font-weight: bold;
    color: #333;

  }

  .marca-segon:visited {
    font-size: 1em;
    font-weight: normal;
    color:#333390;

  }

  .difuminat-fosc{
    background-color: rgba(0,0,0,.8);
    
  }

  .difuminat-clar{
    background-color: rgba(255,255,255,.8);
  }

  .vores{
    margin:auto;
    width: 60%;
    padding: 5px;
    border-radius: 5px;
    border: 1px dashed gray;
  }

  .sense-vores{
    margin:5px;
    padding: 5px;
    border-radius: 5px;
    border: none;
  }

  
  .fletxa:before{
    content: "\021e9";
    font-size: 3em;
    text-align: center;
  }


  figure {
    display: inline-block;
  }
  
  figure img {
    vertical-align: top;
    /*border: 1px dotted gray;*/
  }
  
  figure figcaption {
    display: none;
  }
   
  #copyright .text-left {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
  }

  #copyright .text-right {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    max-width: 100%;
    text-align: center;
    
    margin-bottom: 0;
    
    line-height: 40px;
  }

}

/*******************************************************************************************/
/******  de 769px  a  991px    ***************************************************************/
/*******************************************************************************************/


@media only screen and (min-width: 769px) and (max-width: 991px) { 

  .btn,input,div,span,h4 {
    font-size: 1em;
  }

  h2 {
    font-size: 3em;  
  }
  h3 {
    font-size: 2.5em;  
  }

  span{

    font-weight: bold;
  }
  h1 {
    font-size: 4em; 
    line-height: 120%; 
  }
  h2 {
    font-size: 1.5em;  
  }
  h3 {
    font-size: 1em;  
  }

  p{
    font-size: 1.2em;
    line-height: 20px;
  }

  
  

  .marca-primer{
    font-size: 1.5em;
    display: block;
    padding-bottom: 7px;
    text-align: left
    padding-left:10px;
  }


  .marca-segon{
  font-size: 1em;
  font-weight: bold;
  }



h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0px;
    margin-bottom: 10px;
  }


  .bg-1 {
  margin-top: 40px;
  padding-top: 0px;
  height: auto;
}

  .centratvertical{
    display: table-cell;
    vertical-align: middle; 
  }

  .emmarcat{
    border: 1px dashed gray;
    padding: 10px;
    margin: 5px;
  }

  .centratvertical-altres{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    margin: 10px;  
  }
  
  .endavant{
    display: block;
    margin-top: 2em;
    margin-bottom: 10px;
    text-align: center;
  }

  
  a {
    color: #000;
    text-decoration: none;
  }

  
  a:visited {
    color:#888;
    text-decoration: none;
  }

  a:hover,a:visited {
    color:#a00;
    text-decoration: none;
  }

  .navbar-header {
    float: none; 
  }

.logo{
    height: 40px; 
    float: left; 
    margin: 20px 0px 20px 20px;
  }


  .marca{ 
    
  }
  .marca-dades{
    float: left;
    padding: 15px 15px;

  }

  .marca-missatge{
    position: relative;
    float: right;
    
    margin-top: 8px;
    margin-right: 15px;
    
  }

  .marca-titol{
    font-size: 1.5em;
    display: block;
    padding-bottom: 5px;
    
    
  }

  .marca-tel{
    font-size: 1.6em;
    font-weight: bold;

  }

  a img {
    height: 1em;

  }

  .marca-pregunta{
    font-size: 1em;
    font-weight: normal;
    color: #888;
    margin: 10px 0 0;

  }

  .marca-remarcat{
    font-size: 1.2em;
    font-weight: bold;
    color: #333;

  }

  .marca-segon:visited {
    font-size: 1em;
    font-weight: normal;
    color:#333390;

  }

  .difuminat-fosc{
    background-color: rgba(0,0,0,.8);
    
  }

  .difuminat-clar{
    background-color: rgba(255,255,255,.8);
  }

  .vores{
    margin:5px auto;
    width: 50%;
    padding: 5px;
    border-radius: 5px;
    border: 1px dashed gray;
  }

  .sense-vores{
    margin:5px;
    padding: 5px;
    border-radius: 5px;
    border: none;
  }

  
  .fletxa:before{
    content: "\021e9";
    font-size: 3em;
    text-align: center;
  }

  .clients{
    padding: 50px;
  }


  figure {
    display: inline-block;
  }
  
  figure img {
    vertical-align: top;
    /*border: 1px dotted gray;*/
  }
  
  figure figcaption {
    display: none;
  }
   
  #copyright .text-left {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
  }

  #copyright .text-right {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    max-width: 100%;
    text-align: center;
    
    margin-bottom: 0;
    
    line-height: 40px;
  }

}

/*******************************************************************************************/
/******  de 992px  a -px    ***************************************************************/
/*******************************************************************************************/


@media only screen and (min-width: 992px)  { 

  .btn,input,div,span,h4 {
    font-size: 1em;
  }

  span{

    font-weight: bold;
  }
  h1 {
    font-size: 5em; 
    line-height: 130%; 
  }
  h2 {
    font-size: 1.6em;  
  }
  h3 {
    font-size: 1.2em;  
  }

  p{
    font-size: 1.6em;
    line-height: 22px;
  }

  .col-md-4{
    float:none;
    width: auto;
  }

  
  

  .marca-primer{
    font-size: 1.5em;
    display: block;
    padding-bottom: 7px;
    text-align: left
    padding-left:10px;
  }


  .marca-segon{
  font-size: 1em;
  font-weight: bold;
  }



h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0px;
    margin-bottom: 10px;
  }


  .bg-1 {
  margin-top: 40px;
  padding-top: 0px;
  height: auto;
}

  .centratvertical{
    display: table-cell;
    vertical-align: middle;
    
    
    
  }

  .emmarcat{
    border: 1px dashed gray;
    padding: 10px;
    margin: 5px;

  }

  .centratvertical-altres{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    margin: 10px;

    
  }
  
  .endavant{
    display: block;
    margin-top: 2em;
    margin-bottom: 10px;
    text-align: center;

  }

  
  a {
    color: #000;
    text-decoration: none;
  }

  a:visited {
    color:#888;
    text-decoration: none;
  }

  a:hover,a:visited {
    color:#a00;
    text-decoration: none;
  }

  .navbar-header {
    float: none; 
  }

  .logo{
    height: 45px; 
    float: left; 
    margin: 20px 0px 20px 20px;
  }

  .marca{ 
    
  }
  .marca-dades{
    float: left;
    padding: 15px 15px;

  }

  .marca-missatge{
    position: relative;
    float: right;
    
    margin-top: 8px;
    margin-right: 15px;
    
  }

  .marca-titol{
    font-size: 1.5em;
    display: block;
    padding-bottom: 10px;
    
    
  }

  .marca-tel{
    font-size: 1.6em;
    font-weight: bold;

  }

  a img {
    height: 1em;

  }

  .marca-pregunta{
    font-size: 1em;
    font-weight: normal;
    color: #888;
    margin: 10px 0 0;

  }

  .marca-remarcat{
    font-size: 1.2em;
    font-weight: bold;
    color: #333;

  }

  .marca-segon:visited {
    font-size: 1em;
    font-weight: normal;
    color:#333390;

  }

  .difuminat-fosc{
    background-color: rgba(0,0,0,.5);
    
  }

  .difuminat-clar{
    background-color: rgba(255,255,255,.8);
  }

  .vores{
    margin:5px auto;
    width: 50%;
    padding: 5px;
    border-radius: 5px;
    border: 1px dashed gray;
  }

  .sense-vores{
    margin:5px;
    padding: 5px;
    border-radius: 5px;
    border: none;
  }

  
  .fletxa:before{
    content: "\021e9";
    font-size: 3em;
    text-align: center;
  }

  .clients{
    padding: 50px;
  }


  figure {
    display: inline-block;
  }
  
  figure img {
    vertical-align: top;
    /*border: 1px dotted gray;*/
  }
  
  figure figcaption {
    display: none;
  }
   
  #copyright .text-left {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
  }

  #copyright .text-right {
    font-size: 11px;
    line-height: 40px;
    width: 100%;
    float: none;
    max-width: 100%;
    text-align: center;
    
    margin-bottom: 0;
    
    line-height: 40px;
  }

}
