/* This CSS file is part of the HTML5 / CSS3 tutorial on http://www.lingulo.com */

/*COLORS*/
/*
light blue    => #2d8094;
dark blue     => #095769;
light yellow  => #efbb44;
dark yellow   => #aa790b;
bg gray => #f0f0f0;
footer  => #333333;
hr      => #cccccc;
*/
/********************************************************************/
/******************************** GLOBAL ****************************/
/********************************************************************/

html, body{
    color:#111;
    margin:0;
}
html:lang(es), body:lang(es){
    font-family: 'Oxygen';
    font-weight:300;
}
html:lang(en), body:lang(en){
    font-family: 'Oxygen';
    font-weight:300;
}
html:lang(de), body:lang(de){
    font-family: 'Oxygen';
    font-weight:300;
}
html:lang(ast), body:lang(ast){
    font-family: 'Oxygen';
    font-weight:300;
}
html:lang(ru), body:lang(ru){
    font-family: 'Open Sans';
    font-weight:300;
}

section, footer, #header1{
    position:relative;
    background:white;
    padding-top:5vh;
    text-align: center;
    line-height:25px;
}

.container{
    margin:0 auto;
    max-width:800px;
}

h1{color:#111; line-height:35px;}
h1{font-size:180%;}
h2{font-size:140%; line-height:30px;}
section h2{padding:20px 0;}
h3{font-size:120%;}
p {
    font-size:100%;
    text-align: justify;
    /*
    -moz-text-align-last: center;
    text-align-last: center;
    */
    /*text-align:left;*/
}

a
{
    text-decoration:none;
    color:inherit;
    transition: color .5s ease;
}

section p a
{
    color:#095769;
}

section p a:hover,
section p a:active {
    color: #efbb44;
    text-shadow: none;
}

section a .fa
{
    margin-left:0.2em;
    font-size:0.75em;
}

hr{
    position:relative;
    width:100%;
    border: 0;
    height: 1px;
    background-color: rgba(0,0,0,0.2);
    margin:auto;
    margin-top:5px;
    margin-bottom:20px;
}

#header2{
    padding: 20px 0;
}

#header2 .container{
    position:relative;
}

#header2 li{
    display:inline-block;
    vertical-align:middle;
}
#header2 img{
    width:4em;
    padding-right:20px;
}

.clear
{
    clear:both;
}
.hidden
{
    position:absolute;
    clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
    clip: rect(1px, 1px, 1px, 1px);
}

/******************************** NAVBAR ****************************/
nav {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
    width:100%;
    text-align:center;
    /* background: linear-gradient(90deg, #2d8094ff 0%, #efbb44 100%); */
    /* color:white; */
    background: white;
    color:#333333;
    box-shadow: 0 2px 10px -6px rgba(0,0,0,.25);
}

/* bg gray => #f0f0f0; */
/* footer  => #333333; */
/* hr      => #cccccc; */

nav .container
{
    position:relative;
}

#nav1 {
    width:100%;
    list-style-type:none;
    display:inline-block;
    margin:0 auto;
    padding: 14.3px 0;
}

#nav1 li{
    display:inline-block;
    text-decoration:none;
    width:25%;
    text-align:center;
    transition:all 0.5s ease;
}
#nav1 i{
    display:inline-block;
    width:5%;
    text-align:center;
    transition:all 0.5s ease;
}

#nav1 a{
    padding: 13px 0;
    margin-right: -4px;
    transition:all 0.5s ease;
}

nav a:hover{
    background-color: rgba(0,0,0,0.1);
}

nav a:lang(ru){
    padding: 9px 0;
}

#here2{
    background-color: rgba(0,0,0,0.2);
}

#varlogo{
    visibility: hidden;
    position:absolute;
    left:0%;
    top:0.5em;
    width:2em;
    z-index:100;
    transition: all .5s ease;
}

.links
{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5%;
}
.links i
{
    width:100%;
}

#mobileMenu, #Expand
{
    display:none;
    cursor:pointer;
}

#Menu
{
    padding: 14.3px 20px;
    text-align: right;
}
#Expand
{
    background-color:rgba(0,0,0,0.05);
}

#Expand, #Expand li, #Expand a
{
    width:100%;
}

#Expand a
{
    padding: 20px 0%;
    display:block;
    margin:0 auto;
    transition: all .5s ease;
}

#closeMenu
{
    display:none;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index:5;
}

/********************************* LANG *****************************/
.lang{
    position: absolute;
    background-color: rgba(0,0,0, 0.36);
    margin: 20px;
    right: 0px;
    top: 0px;
    transition: all 0.5s ease;
    max-width:140px;
    z-index:20;
}

#lang2{
    position:absolute;
    background:white;
    border: 1px white solid;
    margin:0;
    right:0;
    top:10px;
    z-index:21;
}

.lang h4{
    margin: 0 auto;
}
.lang p{
    font-size:80%;
    min-width:90px;
    text-align-last: center;
    -moz-text-align-last: center;
    margin: 0 auto;
}


#licon{
    cursor:pointer;
    transition: all 0.5s ease;
}

#licon .fa{
    text-align:center;
    margin: 0 auto;
    padding:20px 30px;
}

#lang2 #licon .fa{
    padding:5px 50px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.lang ul{
    display: none;
    border-top: 1px solid;
    margin: 0 auto;
}

.lang li{
    padding: 10px 10px;
    margin: 0 auto;
    display: block !important;
}
.lang #selected{
    background:rgba(45, 127, 148, 0.4);
}

.lang:hover{
    box-shadow: 0 0 10px gray;
}
#lang2:hover #licon{
    background:white;
}
#lang2:hover{
    border: 1px #fed50f solid;
    box-shadow: none;
}

.lang a:hover > .map{
    -webkit-filter:grayscale(0%);
    filter:grayscale(0%);
}
.lang li:hover{
    background:rgba(254, 213, 15,0.4)
}


#lang3{
    display:none;
}

#lang3 a:hover{
    color:#fed50f;
}

#closeLang
{
    display:none;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index:12;
}


/******************************* FOOTER *****************************/

footer{
    min-height:20vh;
    background-color:#333333;
    color:white;
    position:relative;
}

footer article{
    margin:2vh 6vh;
    transition: background-color .5s ease;
}
footer p{
    text-align:center;
    margin-bottom:10px;
}
footer i{
    vertical-align:middle;
    margin-right:10px;
}
footer ul li {
    display:inline-block;
    width:40px;
    padding-left:10px;
    padding-right:10px;
    padding-top:10px;
}
footer a{
    color:white;
    text-decoration:none;
    margin:0;
}
footer a:link {}     /* unvisited link */
footer a:visited {}  /* visited link */
footer a:hover {
    color: #efbb44;
}    /* mouse over link */
footer a:active {
    text-decoration: none;
}

#romb1{
    position:absolute;
    bottom:-40px;
    left:6%;
    width:80px;
    height:80px;
    padding:0;
    background-color:#1b1b1b;
    -webkit-transform:  translateX(-10%) rotateZ(-45deg);
    transform: translateX(-10%) rotateZ(-45deg);
    transition: all .5s ease;
}
#romb2{
    position:absolute;
    bottom:-40px;
    right:6%;
    width:80px;
    height:80px;
    padding:0;
    background-color:#333333;
    -webkit-transform:  translateX(-9%) rotateZ(-45deg);
    transform: translateX(-9%) rotateZ(-45deg);
    z-index:1;
    transition: all .5s ease;
}

.flex{
    display: flex;
    justify-content: center;/*space-between;*/
    flex-wrap: wrap;
}


/******************************** copyright *****************************/

#copy{
    position:relative;
    width:100%;
    background-color:#1b1b1b;
    color:white;
    text-align:center;
    height:110px;
    padding:0;
}

#copy p{
    text-align:center;
    padding-top:20px;
}


/********************************************************************/
/********************************* LOCAL ****************************/
/********************************************************************/

/********************************* WHAT *****************************/
.what article{
    position:relative;
    transition: all 0.6s ease;
    display:flex;
    width:100%;
}


/********************************* servs *****************************/

.flexstretch {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.esp
{
    padding-top:2vh;
}

.esp article{
    position:relative;
    margin-bottom:5vh;
    transition: all 0.6s ease;
    width: 200px;
    height: 100px;
    margin: 2%;
    flex-grow: 1;
    overflow: hidden;
}

.esp .letters{
    background-color: rgba(255,255,255,0.8);
    position:absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: table;
}

.esp .letters > *
{
    display:table-cell;
    vertical-align:middle;
}

.servs article{
    position:relative;
    margin-bottom:5vh;
    transition: all 0.6s ease;
    width: 300px;
    height: 300px;
    margin: 2%;
    flex-grow: 1;
    overflow: hidden;
}


.servs .letters{
    background-color: rgba(255,255,255,0.8);
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.1em;
    padding: 25px;
    transition: all 0.3s ease;
}

.letters > ul{
    text-align:left;
    font-size:80%;
}
.servs article div h3
{
    padding-bottom: 10px;
}

.servs article div p
{
    font-size:90%;
}

.child {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.child a{
    width: 100%;
    height: 100%;
}

.servs .parent:hover .letters,
.servs .parent:focus .letters
{
    height: 50%;
    background-color: rgba(255,255,255,0.92);
}

.esp .parent:hover .child,
.esp .parent:focus .child
{
    transform: scale(1.2);
}

#firm
{
    background-image: url("../img/firma.resized.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#dig
{
    background-image: url("../img/InternetOfThings3.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#oper
{
    background-image: url("../img/hands.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#bloc
{
    background-image: url("../img/InternetOfThings3.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#desg
{
    background-image: url("../img/plan.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}


#tec
{
    background-image: url("../img/ServsTec2.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

#op
{
    background:url("../img/tunnel.png");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#for
{
    background:url("../img/computers.resized.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}
#seg
{
    background:url("../img/ManosPlanetaTierra.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

/********************************* clien *****************************/

.cli
{
    margin-bottom: 10vh;
}
.cli a
{
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(60%);
}
.cli a:hover
{
    filter: grayscale(0%) opacity(100%);
}

.cli img
{
    width: 35%;
    margin: 5%;
}


/********************************************************************/
/********************************* EMPR *****************************/
/********************************************************************/
.cite{
    padding: 20px 50px;
    background: #f0f0f0;
    margin: 20px 0px;
    /* position:relative; */
    background-image: url('../img/cite.png');
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: right;
    background-size: 30% 100%;
}

.cite div
{
    width: 80%;
    font-style:italic;
}
.cite h3{
    text-align:left;
}
.cite p{
    text-align:left;
    padding-top: 10px;
}

.valores ul
{
    margin-left:1em;
    text-align:left;
    list-style:circle;
    width:50%;
}

.valores article
{
    position:relative;
}

.valores img
{
    position:absolute;
    top:0;
    right:0;
    width:40%;
}

#espec h3
{
    text-align:left;
}
#espec p
{
    padding-left:40px;
    padding-bottom:30px;
    padding-top:10px;
    font-size:90%;
}

/********************************************************************/
/********************************* TEAM *****************************/
/********************************************************************/
.team
{
    padding-top:2vh;
    padding-bottom:4vh;
}

.team .flex {
  display: flex;
  /* align-items: stretch; */
  /* flex-wrap: wrap; */
}

.team article{
    position:relative;
    margin-bottom:5vh;
    transition: all 0.6s ease;
    width: 28%;
    /* height: 100%; */
    margin: 2%;
    overflow: hidden;
}

.team article > img {
    width:100%;
    height:100%;
    transition: all 0.6s ease;
    cursor: pointer;
}

.team .letters{
    background-color: rgba(255,255,255,0.8);
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4em;
    padding: 10px 25px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.team article div h3
{
    align-self:center;
}

.team article div p
{
    font-size:90%;
}

.team .parent:hover > img,
.team .parent:focus > img
{
    transform: scale(1.1);
}

.infopeople
{
    display:none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0,0,0,.25);
    z-index: 30;
    transition: all 0.3s ease;
}

.infopeoplein
{
    transition: all 0.3s ease;
    display:none;
    position: fixed;
    z-index: 31;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px;
    max-width: 800px;
}

.infopeoplein *
{
    padding:20px;
}
.infopeoplein img
{
    max-width: 200px;
    /* height: 100px; */
    /* width: 150px; */
    float:left;
}
.infopeoplein h3
{
    text-align: left;
    padding-bottom: 0;
}
.close
{
    position:absolute;
    top:0;
    right:0;
    padding: 0;
    cursor: pointer;
}

.close:hover
{
    color:#095769; /*#fed50f;*/
}

.infopeoplein a{
    text-align:left;
}

/********************************************************************/
/********************************* SERV *****************************/
/********************************************************************/

.constabs {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.lefttabs{
    float:left;
    max-width:30%;
}

.constabs:after {
    content: '';
    display: table;
    clear: both;
}

.constabs input[type=radio] {
    display: none;
}

.constabs label {
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    display:table;
    padding-top:15px;
    padding-bottom:15px;
    padding-right: 15%;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.constabs label img{
    width:30px;
    display:table-cell;
    filter: opacity(10%) grayscale(100%);
    transition: all 0.5s;
}
.constabs label h3{
    color: rgba(0, 0, 0, 0.2);
    transition: all 0.5s;
    display:table-cell;
    width:300px;
    vertical-align:middle;
    text-align:right;
    padding-right:20px;
}

.constabs label:hover h3{
    color: gray;
}
.constabs label:hover img{
    filter: opacity(100%) grayscale(100%);
    transform: translateX(65%);
}

.constab-content {
    display: none;
    width: 65%;
    float: right;
    padding: 0;
    height:100%;
    box-sizing: border-box;
    text-align:left;
}
.constab-content h3{
    transition: all 0.5s;
    margin-bottom:20px;
    cursor:pointer;
}
.constab-content h3:before{
    content: "+ ";
}
.constab-content div{
    display:none;
    margin-bottom:20px;
    margin-left:20px;
}

.constab-content h3:hover{
    color:#efbb44;
}

.constab-content * {
    -webkit-animation: scale 0.7s ease-in-out;
    -moz-animation: scale 0.7s ease-in-out;
    animation: scale 0.7s ease-in-out;
}

@keyframes scale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.01);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.constabs [id^="constab"]:checked + label{
    border-right: 1px solid white;
    /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.05); */
    /* border-left: 1px solid rgba(0, 0, 0, 0.05); */
}

.constabs [id^="constab"]:checked + label h3 {
    color: black;
}

.constabs [id^="constab"]:checked + label img{
    filter: opacity(100%) grayscale(0%);
    transform: translateX(130%);
}

.yellow{
    color:#fed50f;
}


.square{
    margin:10px;
    padding:40px 50px;
    border:1px solid #2d7f94;
    /* display: flex; */
    width: 20%;
    flex-grow:1;
}





/********************************************************************/
/******************************* M.QUERIES **************************/
/********************************************************************/

@media (max-width: 1215px)
{
}

@media (max-width: 1100px)
{
    .container{
        margin: 0 100px;
    }
}
@media (max-width: 915px)
{
    .container{
        margin: 0 60px;
    }

    #romb1{
        left:10%;
    }
    .detail{
        visibility:hidden;
    }
    .lang li{
        min-height:auto;
    }
    .lefttabs label h3{
        word-break: break-word;
    }
    .infopeoplein
    {
        right: 10%;
        left: 10%;
        transform: translate(0, -50%);
    }
}

@media (max-width: 765px)
{
    .container{
        margin: 0 40px;
    }

    #nav1
    {
        display:none;
    }
    #mobileMenu{
        display: block;
    }

    footer article{
        margin:3vh 6vh;
    }

    .cite
    {
        background-image:none;
    }
    .cite div
    {
        width: 100%;
    }
    .valores img
    {
        width:80%;
        filter: opacity(20%);
    }
    .valores ul
    {
        width:100%;
        z-index:1;
    }

    .team article{
        width: 40%;
    }

    .infopeoplein img
    {
        display: none;
    }

    .constabs{
        margin-top: 0;
        position:relative;
        //overflow-x:hidden;
    }
    .constabs .lefttabs h3{
        line-height:20px;
        margin-bottom: 0;
        text-align:center;
        padding: 0;
        padding-bottom: 20px;
    }
    .overf{
        overflow-x:auto;
        margin: 30px auto 20px auto;
    }
    .lefttabs{
        max-width:150%;
        width:150%;
        justify-content: left;
        float:none;
        padding:0;
        padding-top: 10px;
        border:0;
    }
    .lefttabs label{
        padding: 0px 1%;
        width:22%;
        border: none !important;
    }
    .lefttabs label img{
        display:none;
    }

    .constabs:before{
        content: "";
        border-top: 1px solid rgba(0,0,0,0.2);
        border-left: 1px solid rgba(0,0,0,0.2);
        position: absolute;
        left: -10px;
        top: 34px;
        width: 10px;
        height: 10px;
        transform: rotate(-45deg);
    }
    .constabs:after{
        content: "";
        border-bottom: 1px solid rgba(0,0,0,0.2);
        border-right: 1px solid rgba(0,0,0,0.2);
        position: absolute;
        right: -10px;
        top: 34px;
        width: 10px;
        height: 10px;
        transform: rotate(-45deg);
    }
    .constabs [id^="constab"]:checked + label
    {
        border-bottom: 1px solid #efbb44 !important;
    }

    .constab-content{
        max-width:100%;
        width:100%;
        float:none;
    }

    #espec p
    {
        padding-left:0px;
    }
}


@media (max-width: 600px)
{
    .team article{
        width: 70%;
    }
}

@media (max-width: 500px)
{
    .container{
        margin: 0 20px;
    }

    nav .container
    {
        margin: 0;
        width:100%;
        transition:all 1s ease;
    }
    nav .links
    {
        display:none;
    }

    #varlogo
    {
        left:20px;
    }

    #header2 .container
    {
        margin: 0 10px;
    }

    #logo
    {
        margin-left:10px;
    }


    #lang2 #licon .fa{
        padding:5px 10px;
    }

    #lang2 p
    {
        min-width:0;
    }
    #es, #en
    {
        display:none !important;
    }

    .detail{
        visibility:hidden;
    }

    .central{
        margin-left:0;
        margin-right:0;
    }

    section
    {
        padding-bottom: 0 !important;
    }

    .cli img
    {
        width: 30%;
    }

    .lefttabs label{
        padding:0 1%;
        width:20%;
    }

    .lefttabs h3{
        font-size:80%;
    }

    .valores img
    {
        width:80%;
        filter: opacity(10%);
    }
    .valores ul
    {
        width:100%;
        z-index:1;
    }

    .team article{
        width: 70%;
    }
    .infopeoplein
    {
        top: 3%;
        bottom: 3%;
        right: 3%;
        left: 3%;
        transform: translate(0, 0);
    }

}
