﻿#fondobody{
     background-image: url("../images/fondo.jpg") !important;    
     background: no-repeat;
}
#cabecera{
     margin-top:100px; 
     padding-right: 60px; 
     padding-left: 20px;
}  

.btn-modal {
    background-color: #52b54c;
    border-color: #52b54c;
    color: #FFFFFF;
}

 #video {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    z-index: -10;
    min-width: 100%; 
    min-height: 100%;
 }
 
/*Body*/

#background {
    width: 65vw;
    background-color: rgba(68, 119, 61, 0.8);
    position: absolute;
    left: 40%;
    top: 55%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#foreground {
    min-width: 25vw;
    background-color: #fff;
    left: 47vw;
    position: absolute;
    top: 55%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
#foreground section .beforeInput, #foreground section .afterInput {
    padding: 0.6rem 0.8rem;
}

#body_styles {
    margin: 0 !important;
    font-family: "Source Sans Pro", "Open Sans", "helvetica neue", helvetica, Arial, sans-serif !important;
    color: #fff !important;
    /*background-color: rgb(96, 108, 83) !important;*/
    background: url('../images/Virunet_Portada-Final-Desktop_1920x1080.jpg'), linear-gradient(90deg, #2d499d, #3f5491);
    /*background-image: url('../images/fondo.jpg');*/
    /*height: 100%;*/
    /*background-position: center top;*/
    background-size: 100% auto;
}

p, h2 {
    margin: 0;
}

#background::after {
    display: table;
    clear: both;
    content: '';
}

#background .info {
    float: left;
    width: 60%;
    height: 30%;
    padding: 6rem;
}

#background p:nth-child(1) {
    font-size: 2.5rem;
    padding-bottom: 0.5rem;
}

#background p:nth-child(2) {
    font-size: 0.9rem;
    padding-bottom: 2rem;
}

#background button {
    color: #f1f1f1;
    background-color: transparent;
    border: 1px solid #f1f1f1;
    cursor: pointer;
    display: inline-block;
    outline: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: 0.15s;
}

#background button:hover {
    background-color: #fff;
    color: #212529;
}

#foreground.left {
    left: 12vw;
    animation: to-left 0.8s;
}

#foreground.left #login {
    display: none;
}

#foreground.left #register {
    display: block;
}

#foreground.right {
    left: 47vw;
    animation: to-right 0.8s;
}

#foreground.right #register {
    display: none;
}

#foreground.right #login {
    display: block;
}

#foreground #register {
    display: none;
}

#foreground section {
    padding: 3rem;
}

#foreground section h1 {
    color: #0c3563;
    font-weight: normal;
}

#foreground section form {
    padding-top: 2rem;
}

#foreground section .input {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 4px;
}

#foreground section .beforeInput {
    border-right: 1px solid rgba(0,0,0,0.25);
}

#foreground section .afterInput {
    border-left: 1px solid rgba(0,0,0,0.25);
    cursor: pointer;
}

#foreground section img {
    width: 24px;
    height: 24px;
}

#foreground section input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    outline: none;
    border: none;
    border-radius: 4px;
}

#btn_iniciar_sesion {
    border-radius: 4px;
    background-color: rgb(96, 108, 83);
    color: #fff;
    cursor: pointer;
    transition-duration: 0.25s;
}

#btn_iniciar_sesion:hover {
    background-color: rgb(57, 104, 6);
}

#btn_iniciar_sesion:active {
    background-color: #0d4177;
}

@-moz-keyframes to-left {
  0% {
    left: 47vw;
  }
  50% {
    left: 10vw;
  }
  100% {
    left: 12vw;
  }
}

@-webkit-keyframes to-left {
  0% {
    left: 47vw;
  }
  50% {
    left: 10vw;
  }
  100% {
    left: 12vw;
  }
}

@-o-keyframes to-left {
  0% {
    left: 47vw;
  }
  50% {
    left: 10vw;
  }
  100% {
    left: 12vw;
  }
}

@keyframes to-left {
  0% {
    left: 47vw;
  }
  50% {
    left: 10vw;
  }
  100% {
    left: 12vw;
  }
}

@-moz-keyframes to-right {
  0% {
    left: 12vw;
  }
  50% {
    left: 50vw;
  }
  100% {
    left: 47vw;
  }
}

@-webkit-keyframes to-right {
  0% {
    left: 12vw;
  }
  50% {
    left: 50vw;
  }
  100% {
    left: 47vw;
  }
}

@-o-keyframes to-right {
  0% {
    left: 12vw;
  }
  50% {
    left: 50vw;
  }
  100% {
    left: 47vw;
  }
}

@keyframes to-right {
  0% {
    left: 12vw;
  }
  50% {
    left: 50vw;
  }
  100% {
    left: 47vw;
  }
}

/* ----------- Smartphones (portrait and landscape) ----------- */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    #background {
        display: none !important;
    }

    #foreground {
        width: 50% !important;
        margin-left: -25%;
        margin-right: 100px !important;
    }

    #foreground section h1 {
        color: #0c3563;
        font-weight: normal;
        font-size: 56px;
    }   
    #fondobody{
         background-image: url(../images/fondocel.jpg) !important;
        background: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    #cabecera{
        margin-top: 500px !important;
    }

    #body_styles {
        margin: 0 !important;
        font-family: "Source Sans Pro", "Open Sans", "helvetica neue", helvetica, Arial, sans-serif !important;
        color: #fff !important;
        background: url('../images/Virunet_Portada-Final-Mobile_1430x3099.jpg'), linear-gradient(90deg, #2d499d, #3f5491);
        background-size: 100% auto;
    }
} 