* {
    font-size: 0.98em;
}

  body {
      height: 100% !important;
      height: 100%;
      margin: 0 auto; 
      overflow: hidden;
  }

  h1, h2{
    font-family: 'BebasNeue'
}

.h1, h1 {
    font-size: 1.5em;
}

.h2, h2 {
    font-size: 1rem;
}

  hr.line-green{
      border: 1px solid #27AE60;
      width: 30%;
  }

  #main-menu{
      position: absolute;
      z-index: 1;
      width: 100%;
      background : #0000008f;
  }

  header.collapse{
      position: relative;
  }

  @font-face {
    font-family: 'BebasNeue';
    src: url(../font/BebasNeue-Regular.otf),
         url(../font/BebasNeue-Regular.ttf);
}

.onepage-pagination li a:before{
    background: #27AE60;
}

.onepage-pagination li a.active:before{
    border: 3px solid #27AE60;
}

.btn-pozos{
    margin-top: 40px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    color: #f8f9fa;
    background-color: transparent;
    border-color: #f8f9fa;
}

.btn-green-pozos:hover{
    border-color: #27AE60;
    color: #27AE60;  
}

.slick-list {
    overflow: hidden;
}

button.pozos-control-prev, button.pozos-control-next {
    margin-top: auto;
    margin-bottom: auto;
    height: 55px;
    background: #27AE60;
    border: none;
    opacity: .5;
    margin-left: 5px;
    margin-right: 5px;
}

button.pozos-control-prev:hover, button.pozos-control-next:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9;
}

#name-enterprise-nav, #name-enterprise-principal{
    font-family: 'BebasNeue';
    color: white;
}

#name-enterprise-principal{
    font-size: 4em;
    line-height: 1;
}
#slogan-enterprise-principal{
    font-size: 2em;
    font-weight: bold;    
    line-height: normal;
}

#name-enterprise-nav{
    color: #27AE60;
}

  #content-menu{
      justify-content: flex-end;   
  }

  #content-menu a{
    color: white;
    text-align: center;
  }

  ul.navbar-nav a.active, ul.nav a.active{
    color: #27AE60 !important;
    border-bottom: 0.3125rem solid #27AE60;
  }

  #main-menu a:hover{
    color: #27AE60;
  }

  #main-menu.nav-not-top{
    background: rgba(39, 174, 95, 0.582) linear-gradient(rgba(0, 0, 0, 0.63),rgba(0, 0, 0, 0.63));
  }

  #main-menu.nav-not-top #name-enterprise-nav{
    color: white;
}

section{
    background-size: cover;
    background-position: center;
    display: flex;
}

  #index{
    color: white;
    background: linear-gradient(
        rgba(0, 0, 0, 0.63), 
        rgba(0, 0, 0, 0.63)), url(../img/1.jpg);
    }

#video-index{
    position: inherit;
    right: 0;
    bottom: 0;
    z-index: -1000;
    min-width: 100%;
    min-height: 100%;
}

#nosotros{
    background: linear-gradient(
        rgba(0, 0, 0, 0.63), 
        rgba(0, 0, 0, 0.63));
}

#servicios{
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.63), 
        rgba(0, 0, 0, 0.63)
      ), url(../img/2.jpg);
      color: white;
}

#portafolio{
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.63), 
        rgba(0, 0, 0, 0.63)
      ), url(../img/3.jpg);
    color: white;
}

.container{
    margin-top: 70px !important;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}

#index .container{
    margin-top: auto !important;
    line-height: 10px;    
}

#nosotros .container, #servicios article{
    background: #ffffff94;
    padding: 30px;
    border-left: 10px solid #27AE60;
}

#servicios article{
    margin-right: 10px;
}

.slick-track{
    display: flex;
}

#servicios .slick-servicios, #portafolio .portafolio-carousel{
    width: 70%;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#servicios #carousel-servicios, #portafolio #carousel-portafolio{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

#servicios .slick-last-active {
    margin-right: 10px !important;
}

#info-contact{
    width: 100%;
    display: block;
}

#contacto{
    display: grid;
}

#info-contact iframe{
    height: 15em;
}

#info-contact > div{
    text-align: left;
    margin-top: 20px;
}

#contacto footer{
    background: #000000d5;
    text-align: center;
    position: absolute;
    padding-top: 15px;
    bottom: 0;
    height: 90px;
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

#contacto ul li a{
    color: black;
}

#contacto ul li a:hover{
    color: #27AE60;
  }

#contacto .container {
    margin-top: 50px !important;
}

#contacto {
    font-size: 0.8em !important;
}

header .share-buttons svg{
    height: 35px !important;
}

ul.share-buttons{
    list-style: none;
    display: inline-flex;
    padding-left: 0px;
    margin: 0;
}

  ul.share-buttons li{
    display: inline;
    margin: 3px;
  }
  
  ul.share-buttons svg{
    height: 20px;
    color: #fff;
  }

  .form-row {
    display: inline-flex;
    width: 100%;
    margin-top: 5px;
}

.form-row button{
    margin-top: 10px;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
  #form-contact label {
    width: 30%;
    float: left;
    text-align: left;
}

#form-contact input, #form-contact textarea {
    width: 70%;
    float: right;
    padding: .25rem .55rem;
    color: #495057;
    border: 1px solid #27ae60bd;
}

#form-contact input:focus, #form-contact textarea:focus{
    outline: 0;
    box-shadow: 0 0 0 0.1rem #27ae60bd;
}

  .asterisk{
    color: red;
}

#alert-contact{
    width: 100%;
}

.loader-background {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #00000091;
    z-index: 9999;
}

#carousel-portafolio{
    max-width: 800px;
}

#portafolio img{
    max-height: 450px;
    overflow: auto;
}

.loader{
    border: 10px solid rgba(0,0,0,0);
    border-top: 10px solid #27AE60;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1.5s linear infinite;
    -webkit-animation: spin 1.5s linear infinite;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@media (min-width:600px) and (min-height: 500px) {
    * {
        font-size: 1em;
    }

    .h1, h1 {
        font-size: 2.5rem;
    }

    .h2, h2 {
        font-size: 2rem;
    }

    #name-enterprise-principal{
    font-size: 7em;
    }

    #slogan-enterprise-principal{
        font-size: 2em;
    }

    #ss_menu > div{
          background: #333 !important;
    }
    
    .container{
        margin-top: auto !important;
    }

    #info-contact{
        display: inline-flex;
    }

    #info-contact > div{
        width: 50%;
    }

    #info-contact iframe{
        height: 25em;
    }

    #form-contact label {
        width: 20%;
    }
    
    #form-contact input, #form-contact textarea {
        width: 80%;
    }

    #contacto{
        font-size: 1.03em;
    }

    #contacto header{
        margin-top: 60px;
    }
}

@media (min-width:1025px) { 
    #servicios .slick-servicios, #portafolio .portafolio-carousel{
        width: 90%;
    }

    #form-contact label {
        width: 10%;
    }
    
    #form-contact input, #form-contact textarea {
        width: 90%;
    }
 }