/*General settings**************************************/
html {
    margin: 0px;
    padding: 0px;
}
body {
    margin: 0px;
    margin-top: -10px;
    padding: 0px;
    padding-bottom: 0;
    font-family: 'Hind', sans-serif;
    font-size: 12pt;
}
img {
    margin: 0px;
    padding: 0px;
}

.animation-element {
    position: relative;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.darkened {
    filter: brightness(50%);
}
.orange-text {
    color: rgb(255,164,0);
}
.text-shadow {
    text-shadow: 1px 1px 2px black;
}
.black-text {
    color: black;
}
svg {
    display: block;
}
br {
    line-height: 1.7em;
}
h2 {
    font-family: 'Hind', sans-serif;
    font-size: 24pt;
    color: #666666;
    letter-spacing: 0.1em;
}

h5 {
    font-size: 13pt;
}
.in-line {
    display: inline;
}
.syncopate {
    font-family: syncopate, sans-serif;
}
.btn {
    font-size: 11pt;
}
.btn-default {
    background-color: #555555;
    color: #FFB839;
    margin-top: 10px;
    padding: 10px 20px 10px 20px;
}
.btn-default:hover {
    position: relative;
    background-color: #FFA400;
    color: #333;
}
.btn-default:focus {
    background-color: #555555;
    color: #FFB839;
}
.btn-default:focus:hover {
    background-color: #FFA400;
    color: #333;
}
.btn-inverse {
    background-color: #FFA400;
    color: #333;
    margin-top: 10px;
}
.btn-inverse:hover {
    background-color: #333;
    color: #FFB839;
    margin-top: 10px;
}
/** Animations ****************************/
.bounce-up {
  opacity: 0;
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  -moz-transform: translate3d(0px, 150px, 0px);
  -webkit-transform: translate3d(0px, 150px, 0px);
  -o-transform: translate(0px, 150px);
  -ms-transform: translate(0px, 150px);
  transform: translate3d(0px, 150px, 0px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bounce-up.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}
.fade-in {
  opacity: 0;
  -moz-transition: all 1000ms ease-out;
  -webkit-transition: all 1000ms ease-out;
  -o-transition: all 1000ms ease-out;
  transition: all 1000ms ease-out;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fade-in.in-view {
    opacity: 1;
}
.grow-up {
  background-size: 0%;
  -moz-transition: all 3000ms ease-out;
  -webkit-transition: all 3000ms ease-out;
  -o-transition: all 3000ms ease-out;
  transition: all 3000ms ease-out;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.grow-up.in-view {
    background-size: 110%;
}

/*Navbar************************************************/
.navbar {
    background-color: rgba(0,0,0,0);
    border-bottom: none;
    font-size: 12pt;
}
.navbar-nav{
    top: 35px;
}
.nav.navbar-nav li a:hover {
        border-bottom: 3px solid rgb(255,164,0);
    }
@media (max-width: 767px){
    .navbar-collapse.collapse {
        background: rgba(0,0,0,0.85);
        padding-bottom: 20px;
        border: none;
    }
}

@media (min-width: 768px){
    .navbar-nav {
        width: 100%;
        text-align: center;
        position: fixed;
    }
    .navbar-nav > li {
        float: none;
        display: inline-block;
    }
    .dropdown-menu {
        transform: translate(-50%, 0);
    }
    
}
.navbar-fixed-top {
     min-height:70px;
}
#navbar-background {
    position: fixed;
    top: 0;
    width: 100%;
    height:70px;
    background-color: #333;
    z-index: 4;
}
.navbar-brand {
    width: 180px;
    height:70px;
    margin-right: 10px;
    margin-left: 10px;
    padding-top: 7px;
    cursor: pointer;
}
#losma-logo {
    margin-top: -5px;
}
#logotip,
.subtitle-letter{
    
}
.st0{
    fill:rgb(255,255,255);
}
.st1{
    fill:rgb(255,255,255);
}

.navbar {
    border: none;
}
#navbar-links {
    margin: 0 auto;
    padding-right: 20px;
    text-align: right;
}
@media (max-width: 767px){
    #navbar-links {
        text-align: left;
    }
}
.nav.navbar-nav li a {
    color: white;
    text-shadow: 1px 1px 2px black;
    font-weight: 500;
    padding: 5px 0px 0px 0px;
    margin-left: 7px;
    margin-right: 7px;
}
.navbar-toggle {
    background: rgb(255,164,0);
    top: 10px;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: rgb(255,164,0);
    border: 2px solid white;
    left: 1px;
}
.navbar-toggle.collapsed {
    top: 10px;
}
.dropdown {
    padding: 0px;
    margin: 0px;
}
.dropdown-menu {
    background: rgba(0,0,0, 0.75);
    left: 50%;
    right: auto;
    text-align: left;
    color: white;
}
.dropdown-menu>li>a:hover {
    background: rgba(255,255,255, 0.2)
}
#btn-company,
#btn-services{
    margin-right: 0px;
}

#lang-links{
    position: fixed;
    display: inline;
    top: 5px;
    right: 0px;
    color: white;
    font-size: 10pt;
    max-width: 150px;
    margin-bottom: 5px;
}
@media (max-width: 768px){
    #lang-links{
        position: relative;
    }
}
#lang-links>li{
    /*margin-left: 10px;*/
    padding: 0px 3px 0px 3px;
}

#lang-links a:hover{
    text-decoration: none;
}

.lang-title:hover{
    color: #FFA400;
    border-bottom: 3px solid #FFA400;
    cursor: pointer;
}
.plus-separator:after {
    content: "";
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: lightgrey;
    margin-left: 10px;
}
@media (max-width: 768px){
    #lang-links>li{
        display: inline;
    }
}


/*Footer**********************************************/
footer {
    position: relative;
    padding: 20px;
    padding-top: 40px;
    color: white;
    font-size: 0.9em;
    bottom: 0;
    background-color: #333;
    margin-bottom: 0px;
}
footer>div>a,
footer>div>div>a {
    color: white;
}
footer>div>a:hover,
footer>div>div>a:hover {
    color: #FFA400;
}
.developer {
    color: white;
    text-align: right;
    font-size: 0.8em;
    margin-top: 10px;
    margin-right: 5px;
}
footer a{
    text-decoration: underline;
}

/*Home page*******************************************/
.bigfont {
    font-size: 20pt;
}
.cover {
    position: fixed;
    top: 0;
    height: ;
    width: 100%;
    background-color: black;
}
.cover-img {
    margin-left: -15px;
    margin-right: -20px;
    position: fixed;
    top: 0;
    filter:grayscale(25%);
    filter: brightness(75%);
}
@media (max-width: 992px){
    .cover-info>h1 {
        font-size: 60pt;
    } 
}
@media (max-width: 767px){
    .cover-info>h1 {
        font-size: 48pt;
    } 
}
@media (max-width: 480px){
    .cover-info>h1 {
        font-size: 30pt;
    } 
}
@media (max-width: 380px){
    .cover-info>h1 {
        font-size: 24pt;
    } 
}

#cover-composition {
    background-image: url(../svgs/icon-cover-composition.svg);
    background-repeat: no-repeat;
    position: relative;
    display: block;
    margin: 0 auto;
    top: 130px;
    width: 36%;
    height: 60%;
}
@media (max-width: 768px){
    #cover-composition {
        max-width: 250px;
    }
}
@media (max-width: 616px){
    #cover-composition {
        max-width: 200px;
    }
}
@media (max-width: 616px){
    #cover-composition {
        max-width: 150px;
    }
}
@media (max-width: 440px){
    #cover-composition {
        max-width: 120px;
    }
}
.marketing {
    position: relative;
    padding-bottom: 30px;
    color: white;
}
#marketing-wrapper {
    padding: 15px;
    padding-bottom: 30px;
    background-color: white;
}

#marketing-wrapper>h2,
.map>h2,
.activities>h2{
    font-size: 3em;
    margin-bottom: 30px;
    margin-top: 80px;
}
.marketing-item {
    position: relative;
    padding: 15px;
}
@media (min-width: 768px){
    .marketing-item {
        text-align: left;
        font-weight: 400;
    }
}
.marketing-item>p {
    text-align: left;
    padding: 5px;
}
.marketing-item>h2 {
    font-family: 'Hind', sans-serif;
    font-size: 1.2em;
    padding-left: 10px;
    padding-right: 10px;
    letter-spacing: 0.2em;
    line-height: 1.7em;
}
@media (min-width: 991px){
    #marketing-soldadura-h2 {
    margin-top: 12%;
    margin-bottom: 10.3%;
}
}

.marketing-item-img {
    position: relative;
    width: 100%;
}
.marketing-item>ul>li {
    text-align: center;
    list-style: none;
    margin-left: -40px;
    margin-top: 5px;
}

.svg-div-techoffice,
.svg-div-bending,
.svg-div-contact{
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto;
    background-color: white;
    border: 2px solid #333;
}
.svg-div-lasercut {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto;
    background-color: #333;
    border: 2px solid #333;
}
.svg-div-welding {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto;
    background-color: white;
}
.pin-piece {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
}
#pinpiece {
    background-color: #333;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    position: absolute;
    top: -2px;
    left: -2px;
}

.canvas-marketing {
    position: relative;
    width: 100%;
}
.svg-div-bending{
    overflow: hidden;
    background-image: url(../imgs/captura_plegadora.jpg);
    background-position: -2px -1px;
}
.svg-div-welding{
    overflow: hidden;
    background-image: url(../imgs/captura_soldadura.png);
    background-position: -2px -2px;
}
#canvasP {
    display: none;
}
#canvasW {
    display: none;
}
.benefits {
    background-color: rgb(245,154,0);
    height: 300px;
}
.benefits-logo-background {
    position: absolute;
    filter: opacity(15%);
    height: 300px;
    width: 100%;
    /*margin: 10px;
    margin-left: 10%;*/
    background-image: url(../logos/simbol_negre.svg);
    background-position: center;
    background-repeat: no-repeat;
    
}
.slogan {
    color: white;
    font-size: 230%;
    letter-spacing: 0.2em;
    position: relative;
    display: block;
    text-align: center;
    float: none;
    margin: 0 auto;
    margin-top: 200px;
    animation: animated_title 5s;
    animation-iteration-count: infinite;
    z-index: 2;
}
@media (max-width: 767px){
    .slogan {
        font-size: 180%;
    }
}
.slogan-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    margin-top: 20px;
    background-size: cover;
}

.map{
    background-color: white;
    padding: 20px;
    padding-bottom: 40px;
    
}
.map #mapDiv {
    height: 400px;
    margin-top: 20px;
    /*border: 4px solid #FFA400;*/
    padding-left: 0px;
}
#trace-route {
    align-content: center;
    padding: 10px;
    margin-top: 40px;
    
}
#error-msg{
    margin-top: 10px;
    color: red;
}
#panel {
    padding: 10px;
    background-color: white;
    margin-top: 20px;
    display: none;
}
.contact {
    position: relative;
    /*background-image: url(../svgs/perforated_background.svg);
    background-size: 3px;
    background-repeat: repeat;*/
    background-color: rgba(255,255,255,0.85);
    padding: 20px;
    margin-top: -30px;
}
.contact h3{
    margin-left: 20px;
}
.contact-info {
    padding: 25px;
    padding-top: 10px;
}
.contact-info>h5 {
    color: rgb(255,164,0);
}
#imago-contact {
    background-image: url("../svgs/logosimbol_quadrat_taronja_blanc.svg");
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-top: 32px;
}
.st3 {
    fill: #FFA400;
}


/*About page **************************/
.about:first-child {
    margin-top: 85px;
}
.about-history {
    background-image: url(../imgs/terrassa/terrassa1.jpg);
    background-size:cover;
    background-position: 0px -100px;
    filter: brightness(60%);
}
.fade-background {
    position: absolute;
    top: 75px;
    width: 97%;
    height: ;
    background-color: black;
    height: 400px;
    z-index: -1;
}
#history-text {
    background-color: rgba(255,164,0,0.8);
    color: black;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}
#history-text h2 {
    color: white;
    margin-bottom: 5px;
    padding-left: 10px;
}
.history-content {
    top: 75px;
    left: 0px;
    width: 100%;
    height: 65%;
}
.activity-areas p {
    padding: 10px;
}
.activity-areas h2 {
    margin-bottom: 30px;
}
.activity-areas h3 {
    margin-left: 10px;
    margin-bottom: -5px;
}
.activities-text {
    margin: 40px 10px 70px 10px;
}
.activities-text ul {
    list-style-position: inside;
    padding-left: 10px;
    margin-top: 0px;
    margin-bottom: 20px;
}
.activities-text ul li {
    margin-bottom: 10px;
    list-style-image: url(../imgs/check.png);
}
.activities-text h3{
    margin-bottom: 10px;
}
#icon-composition {
    width: 100%;
    min-height: 500px;
    max-height: 600px;
    padding: 10px;
}
.visit-gallery-btn{
    margin: 10px;
}
.localization {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    padding: 20px;
    background-color: lightgrey;
    border-top: 4px solid #FFA400;
}
.localization p{

}
#how-to-arrive {

}
.localization #mapDiv {
    height: 260px;
    padding-left: 0px;
}
#contact {
    padding: 20px;
    margin-top: 20px;
}
.card-container {
    padding: 5px;
}
.card {
    border-top: 4px solid #FFA400;
    background-color: lightgray;
    min-height: 330px;
    padding-top: 15px
}
.svg-div-contact {
    position: relative;
    width: 150px;
    height: 150px;
    margin-top: 10px;
    border: 2px solid #FFA400;
}
/*services page****************************************/
.services-lasercut,
.services-bending,
.services-welding,
.services-techoffice {
    margin-top: 30px;
    
}
.hashtarget {
    position: relative;
    bottom:50px;
}
.hashtarget#lasercutting{
    bottom: 80px;
}
.hashtarget#history{
    bottom: 510px;
}
.hashtarget#activities{
    bottom: 30px;
}
.video-container {
    margin: 0px;
    border-top: 5px solid #FFA400;
    

}
.img-welding{
    width: 100%;
    height: auto;
    margin-left: 15px;
    margin-right: 15px;
}
.video-lasercut,
.video-bending,
.video-techoffice
{
    width: 100%;
    height: auto;
    margin-bottom: -5px;
    filter: brightness(100%);
}
.image-welding,
.image-techoffice
{
    width: 100%;
    height: auto;
    margin-bottom: 0px;
    filter: brightness(100%);
}
.mask {
    position: absolute;
    z-index: 1;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 20%;
    margin: 15px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&1+0,0+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9*/
}
.services-lasercut {
    margin-top:85px;
}

.overlayed-title {
    z-index: 2;
    position: absolute;
    left: 2%;
    top: 2%;
    color: white;
    font-family: 'Syncopate', sans-serif;
    font-size: 250%;
    text-align: center;
    text-shadow: 5px 5px 5px black;
    line-height: 8rem;
}
.overlayed-logo {
    background-image: url(../logos/logos%C3%ADmbol_quadrat_blanc.svg);
    background-repeat: no-repeat;
    filter: opacity(30%);
    width: 130px;
    height: 130px;
    z-index: 2;
    position: absolute;
    right: 1.25%;
    bottom: 2%;
}

@media (max-width: 767px){
    .overlayed-title {
        font-size: 200%;
        bottom: 10%;
    }
    .overlayed-logo{
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 390px){
    .overlayed-title {
        font-size: 100%;
        bottom: 10%;
        line-height: 1.2em; 
    }
}
.more-info {
   margin-left: 5px; 
}
#software-info-btn {
    margin-bottom: 20px;
}
.info-tech {
    display: none;
    margin-top: 15px;
    padding: 5px 
}

.info-lasercut,
.info-bending,
.info-welding,
.info-techoffice
{
    padding: 0px;
    color: black;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 30px;
}
.info-lasercut p,
.info-bending p,
.info-welding p,
.info-techoffice p {
    max-width: 500px;
}

#check-composition{
    padding: 20px;
    position:  relative;
    width: 90%;
    max-width: 400px;
    float: right;
}
#metal-sheets{
    position:  relative;
    width: 100%;
    max-width: 500px;
    float: right;
    margin-right: -15px;
}
.image-container {
    margin-top: 20px;
}
@media (max-width: 767px){
    .image-container>img {
        padding: 10px;
        
    }
}
.lists-materials {
    background-color: #FEFEFE;
    border: 5px solid #FFA400;
    margin: 20px 5px 20px 5px;
    padding: 20px;
    display: none;
}
.lists-materials h5 {
    font-family: 'Hind', sans-serif;
    padding: 10px 0px 5px 10px;
    background-color: lightgrey;
    border-bottom: 5px solid #FFA400;
    color: white;
    text-shadow: 1px 1px 2px black;
}
.lists-materials>div>ul>li {
	list-style-image: url(../imgs/check.png);
	line-height: 1.7em;
}
#hBrass {
    margin-top: 40px;
}
.p-wrapper {
    padding-left: 5px;
}
.know-what {
    padding: 15px;
}
.inner-content {
    border-top: 4px solid #FFA400;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 30px;
}
.inner-content h2 {
    text-align: center;
    color: #FFA400;
    font-size: 1.25em;
}
.inner-content p{
    margin-bottom: 20px;
    margin-top: 20px;
}
#thumbnail-lasercut {
    background-image: url(../imgs/lasercut-capture.jpg);
    background-size: cover;
    width: 100%;
    height: 180px;
    border-top: 4px solid #FFA400;
}
#thumbnail-lasergas {
    background-image: url(../imgs/lasergas-capture.jpg);
    background-size: cover;
    width: 100%;
    height: 180px;
    border-top: 4px solid #FFA400;
}
#lasercut-description-txt{
    margin-bottom: 10px;
}
#welding-composition,
#bending-composition {
    position:  relative;
    width: 100%;
    max-width: 350px;
    float: right;
    margin-right: 20px;
    margin-left: 20px;
    padding: 20px;
}
#bend-profiles{
    position:  relative;
    width: 100%;
    max-width: 500px;
    float: right;
    margin-right: -15px;
}
#thumbnail-bender {
    background-image: url(../imgs/bending-capture.jpg);
    background-size: cover;
    width: 100%;
    height: 180px;
    border-top: 4px solid #FFA400;
}
#thumbnail-cnc {
    background-image: url(../imgs/control-cnc.jpg);
    background-size: cover;
    width: 100%;
    height: 180px;
    border-top: 4px solid #FFA400;
}
#thumbnail-welding {
    background-image: url(../imgs/welding-tool.jpg);
    background-size: cover;
    width: 100%;
    height: 220px;
    border-top: 4px solid #FFA400;
}
#software-description ul li {
    float: left;
    margin-right: 25px;
    list-style-image: url(../imgs/check.png);
}

#thumbnail-libellula {
    background-image: url(../imgs/Libellula.jpg);
    background-size: cover;
    width: 100%;
    height: 180px;
}
/*Budget page******************************************/

.form-horizontal{
    color: rgb(230,145,25);
    background: url(../svgs/perforated_background.svg);
    background-size: 3px;
    background-repeat: repeat;
    padding: 30px;
    margin-bottom: 15px;
    margin-right: 5px;
    margin-left: 5px;
}
.info-budget {
    color: black;
    margin-top: 100px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 30px;
    padding-right: 30px;
}
input, select {
    width: 95%;
}
.font-bold {
    font-weight: 700; 
}
.form-control-static {
    font-size: 1.3rem;
    color: darkgrey;
}
.control-label {
}
.input-group-btn>span {
    margin-top: 0px;
}
#filename-field {
    height: 42px;
}
#btn-submit {
    margin: 0px;
}
/*Contact page**********************************************/
.contact-forms {
}
.contact-form{
    padding-left: 20px;
    padding-right: 20px;
}
.contact-form>form>div>label{
    color: rgb(230,145,25);
}
.p-info-contact{

}
.h-contact{
    margin-top: 30px;
    margin-bottom: 10px;
}
.h-budget{
    margin-bottom: 10px;
}

/*Gallery page**********************************************/
.gallery {
    margin-top:70px;
    padding-left: 0px;
}
/*Webmap page**********************************************/
.webmap {
    margin-top: 80px;
    width: 100%;
    height: 100%;
    background-image:url(../imgs/cover/losma2.jpg);
    background-size: cover;
}
.webmap h1{
    color: white;
    margin-left: 40px;
    margin-top: 40px;
}
.webmap a {
    color: white;
}
.webmap a:hover {
    text-decoration: none;
    color: #FFA400;
}
.webmap li{
    list-style: url(../../imgs/check.png);
}


/* Under construction page ********************************/

#under-construction {
    position: fixed;
    height: 100%;
    width: 100%;
    background-image: url(../imgs/underconstruction.jpeg);
    background-size: cover;
}
#uc-text{
    color: white;
    position: relative;
    text-align: center;
    margin-top: 25%;
}
#uc-text h1{
    font-size: 34pt;
}
#uc-text p{
    font-size: 16pt;
    margin-bottom: 40px;
}
#footer-uc{
    position: fixed;
    bottom: 0px;
    width: 100%;
}
