*{
    padding:0px;
    margin: 0px;
}
body{
    font-family: soleil, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}
a{
    color: #f33c23;
    cursor: pointer;
}
button{
    cursor: pointer;
}
p{
    color: #707070;
    font-size: 15px;
}
nav li{
    list-style: none;
}
nav a{
    text-decoration: none;
}
.row-flex{
    display: flex;
    justify-content: space-between;
}
.contenedor{
    max-width: 1170px;
    margin: auto;
    padding: 0px 20px;
    position: relative;
}
.col1-3{
    width: 33.33%;
}
.col2-3{
    width: 66.66%;
}
.grid{
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);;
}
.grid2-3{
    grid-column: 1/3;
}
.text-center{
    text-align: center;
}
h2{
    margin-bottom: 48px;
}
.flex-right{
    display: flex;
    justify-content: flex-end;
}
.button-small{
    background-color: #f33c23;
    width: 65px;
    display: block;
    padding: 10px 0px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 27px;
    text-align: center;
    text-decoration: none;
}
input[type="submit"]{
    cursor: pointer;
}
.inactive{
    color:#bbb !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.close-error .fa-times-circle, .close-success .fa-times-circle, .close-progress .fa-times-circle {
    font-weight: 900;
    background: #fff;
    border-radius: 50%;
    line-height: 21px !important;
    text-align: center;
    width: 97%;
}
/* ---------- header -------------- */

header{
    height: 68px;
    background-color: #fff;
}

header .row-flex{
    height: 68px;
    align-items: center;
}

nav ul{
    display: flex;
    align-items: center;
}
nav ul li{
    margin:0px 13px
}
nav ul li a{
    color: #888888;
}
header .company-name{
    color: #f33c23;
    vertical-align: middle;
    margin-right: 26px;
}
header .fas{
    font-size: 36px;
    margin-left:13px;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -18px;
}
/* ---------- main -------------- */

main{
    background-color: #f8f8f8;
}

/* ---------- login --------------- */

#login-page{
    background-image: url("../img/fondo_login.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

#login-page header{
    background-color: unset;
}

header #logo-login img,header #logo-user img{
    height: 30px;
    width: auto;
}

#login-page{
    background-color: #707070;
}
#login-page footer{
    position: absolute;
    bottom: 0px;
    width: 100%;
}
#login{
    width: 370px;
    margin: auto;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -238px;
    left: 50%;
    margin-left: -185px;
}
#login-page main{

}
#login form{
    
    background-color: #fff;
    padding: 35px 30px;
    border-radius: 5px;
    text-align: left;
    margin-bottom: 20px;
}
#login div{
    margin-bottom: 25px;
}
#login div:last-child{
    margin-bottom: 0px;
}
#login h1{
    margin-bottom: 16px;
}

#login input[type="submit"]{
    display: block;
    margin: auto;
}
#error{
    width: 100%;
    height: 100%;
    left: 0;
    position: absolute;
    display: flex;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}
#error>div{
    position: relative;
    background-color: #fff;
    border-radius: 9px;
    font-size: 16px;
    color: #f33c23;
    font-weight:600;
    padding: 30px 20px;
    margin: auto;
    text-align: center;
    display: block;
    max-width: 420px;
    position: relative;
    top: 50%;
    margin-top: -40px;
}
/* --------- forms --------------- */

label{
    color: #000;
    display: block;
    margin-bottom: 12px;
}

input[type="text"],input[type="password"],input[type="email"]{
    border:1px solid #e5e5ef;
    border-radius: 6px;
    background-color: #fff;
    color: #707070;
    padding: 15px 21px;
}
input[type="text"], input[type="password"],input[type="email"]{
    width: calc(100% - 42px);
}
input[type="submit"],input[type="button"]{
    background-color: #f33c23;
    color: #fff;
    padding: 15px 0px;
    border: 0px;
    font-weight: 700;
}
.button-large{
    width: 160px;
    border-radius: 27px;
}

/* ---------- user ----------------- */

.title-welcome{
    padding:95px 0px;
    text-align: center;
    border-bottom:1px solid #e5e5ef;
}
.title-welcome h1{
    font-size: 40px;
    margin-bottom: 27px;
}
.title-welcome hr{
    display: block;
    width: 50px;
    margin: auto;
    border:solid 2px #f33c23;
    margin-bottom: 32px;
}
#training{
    margin-top: 130px;
    padding-bottom: 160px;
}
#training h2{
    text-align: center;
    margin-bottom: 85px;
    display: flex;
    justify-content:center;
    align-items:center;
}
#training h2 hr{
    width: 100px;
    border:0px;
    border-bottom: 1px solid #e8e8f0;
}
#training h2 span{
    margin:0px 10px;
}
#training .circle{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    
}
#training h4{
    color:#f33c23;
    margin-bottom: 5px;
}
#training .circle{
    background-color: #f33c23;
    color: #fff;
    display: flex;
    justify-content:center;
    align-items:center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: 700;
    margin: auto;
    margin-top: 20px;
}
#training .lineas{
    display: flex;
    justify-content: center;
}
#training .lineas .linea{
    margin: 0px 43px;
    margin-top: -20px;
    border-top: 2px solid #f5dede;
    width: 26%;
}

#modules-user{
    padding-top: 84px;
}
#modules-user .module{
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
}
#modules-user .module .module-image{
    overflow: hidden;
    background-color: #888888;
    height: 213px;
    width: 100%;
    text-align: center;
}
#modules-user .module .module-image img{
    height: 100%;
}
#modules-user .module-body{
    padding: 38px 38px 50px 38px;
}
#modules-user .module .module-title,#modules-user .module .module-title a{
    font-size: 21px;
    color: #000;
    margin-bottom: 28px;
}
#modules-user .module .module-title h3{
    line-height: 1.4em;
}
#modules-user .module .module-description{
    margin-bottom: 45px;
}
#modules-user .module .module-description p{
    line-height: 2em;
}
#modules-user .module a{
    color: #f33c23;
    font-weight: 600;
    text-decoration: none;
}


/* ---------- module -------------- */

#title-module{
    padding: 93px 0px;
    border-bottom: 1px solid #e5e5ef;
}
#title-module h1{
    margin-bottom: 25px;
    font-size: 27px;
}
#title-module p{
    border-left: 3px solid #f33c23;
    padding-left: 20px;
    line-height: 2em;
}
#files{
    border-bottom: 1px solid #e5e5ef;
}

#files .file{
    border:2px solid #e5e5ef;
    padding: 20px;
    border-radius: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#files .file a:hover{
    opacity: 0.8;
}
#files .file h3{
    font-size: 19px;
    margin-top: 8px;
    color: #000;
    overflow: hidden;
}
#files .file .button-small{
    cursor: initial;
}
#files .file .author{
    color: #cfcfcf;
    font-size: 12px;
}
#files,#frm{
    padding-top: 47px;
    padding-bottom:86px;
}
h2.step{
    color: #f33c23;
    font-size: 12px;
    margin-bottom: 48px;
}
#frm .grid {
   margin-bottom: 30px;
}
#frm input[type="submit"],#frm input[type="button"]{
    width: 196px;
    border-radius: 27px;
    margin-top: 33px;
}

/* -----------------------------------
            ADMIN
------------------------------------ */

main.admin{
    margin-left:260px;
    background-color: #fff;
}

main #welcome{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center;
    height: 100vh;
    padding: 0px;
}
main #welcome h1{
    margin-bottom: 0px;
}

aside{
    width: 260px;
    position: absolute;
    height: 100vh;
    left: 0px;
    background-color: #f8f8f8;
    
}
aside nav ul{
    display:block ;
}
aside nav ul li{
    margin: 0px;
}
aside #admin-user{
    color: #000;
    font-size: 15px;
    height: 69px;
    display: flex;
    align-items: center;
    padding-left: 37px;
}
aside #admin-user .fas{
    font-size: 36px;
    margin-right:8px;
}
aside #admin-user>div{
    display:flex;
    align-items: center;
}

aside nav ul li{
    list-style: none;
}
aside nav ul li a{
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left:37px;
    width: 186px;
    padding-right:37px;
    color: #888888;
    display: block;
}
aside nav ul li a.active{
    background-color: #e0e0e0;
    color: #000;
}
aside nav ul li a:hover{
    background-color:#dbdbdb ;
}
aside nav ul li a.active{
    background-color: #e0e0e0;
    color: #000;
}
aside #logout {
    position: absolute;
    left: 0px;
    bottom: 0px;
}
aside #logout a{
    background-color: #000;
    color: #fff;
    padding:28px 37px;
    width: 186px;
    display: block;
    text-decoration: none;
}
aside #logout a:hover{
    background-color: #373737;
}

/* ----- admin models & user ------- */

.contenedor-admin{
    padding:69px 135px;

}
.admin h1{
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
}
.admin .add, .admin .return{
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    vertical-align: middle;
    margin-bottom: 14px;
}
.admin .add a, .admin .return a{
    color: #000;
    text-decoration: none;
}
.modules,.users,.add-module,.add-user,.mrfs{
    border-top: 2px solid #777777;
    padding-top: 56px;
}
.modules .module, .users .user{
    background-color: #f8f8f8;
    padding: 17px 32px;
    margin-bottom:20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modules .module .module-name, .users .user .user-name{
    font-size: 16px;
}
.modules .module .module-options, .users .user .user-options{
    font-size: 16px;
    position: relative;
    line-height: 34px;
    vertical-align: middle;
}
.modules .module .module-options a, .users .user .user-options a{
    color:#888888;
    text-decoration: underline;
    vertical-align: middle;
    margin-left: 20px;
}
.modules .module .module-options a:hover, .users .user .user-options a:hover{
    color: #5c5c5c;
}
.modules .module .module-options .delete-module, .users .user .user-options .delete-user{
    color: #f33c23;
    font-size: 18px;
    margin-left: 21px;
    right: 0px;
    top: 0px;
    line-height: 0px;
    display: inline-block;
    height: 18px;
    vertical-align: middle;
}

.modal-delete{
    background: rgba(0, 0, 0, 0.5);
    position:fixed;
    width: 100%;
    height: 100vh;
    font-size: 16px;
    top: 0px;
    left: 0px;
}
.modal-delete .delete-container{
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    padding: 30px;
    color: #000;
    border-radius: 5px;
    margin-top: -80px;
    margin-left: -192px;
    text-align: center;
    width:400px;
}
.modal-delete .delete-container p{
    margin-bottom: 28px;
}
.delete-buttons button{
    background-color: #000;
    color: #fff;
    width: 150px;
    margin-left:10px;
    padding: 15px 0px;
    font-weight: 600;
    cursor: pointer;
    border: 0px;
}
.delete-buttons .cancel-button{
    margin-left: 0px;
}

/* --------- add module ----------- */

.admin form>div{
    margin-bottom: 50px;
}

.admin label{
    font-size: 16px;
    color:#888888;
    display: block;
    margin-bottom: 5px;
}
.admin input[type="text"],.admin textarea,.admin input[type="password"]{
    border: none;
    border-bottom:2px solid #e6e6e6;
    padding:14px 0px 14px 0px;
    width: 100%;
    color: #000;
    font-size: 16px;
    border-radius:0px;
}
.admin input[type="text"]:focus,.admin textarea:focus,.admin input[type="password"]:focus{
    outline-width: 0;
    border-bottom-color:#000;
}
.admin .boton-negro{
    background-color: #000;
    width: 150px;
    color: #fff;
    margin-left: 10px;
    display:inline-block;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    vertical-align: middle;
    padding: 15px 0px;
    font-weight: 600;
    line-height: 16px;
}

#urlquiz{
    display: none;
}

.success-msg,.error-msg,.progress-modal{
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh;
    position: fixed;
    display: none;
    top: 0px;
    left: 0px;
}
.progress-modal{
    display:none;
    justify-content:center;
    align-items:center;
}
.success-msg .success-container,.error-msg .error-container{
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    padding: 30px;
    border-radius: 5px;
    width:370px;
    margin-left:-135px;
    margin-top:-44px;
    text-align:center;
}
.progress-modal .progress-container{
    position: absolute;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    width:370px;
    text-align:center;
}
.success-msg .success-container p{
  color:#0dbf00;
}
.error-msg .error-container p{
    color:red;
  }
.close-success a,.close-error a, .close-progress a{
  font-size:30px;
  position:absolute;
  top:-20px;
  right:-15px;
}
.success-msg .success-container .close-success a,.progress-container .close-progress a{
    color:#0dbf00;
}
.error-msg .error-container .close-error a{
    color: red;
}

.files-container,.image-module-container{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.files-container>*,.image-module-container>*{
    margin-right: 16px;
    margin-bottom: 16px;
}
.files-container label,.image-module-container label{
    cursor:pointer;
    width: 150px;
    color: #fff;
    background-color:#000;
    font-weight: 600;
    padding: 16px 0px;
    text-align: center;
    margin-bottom: 0px;
}
.files-container .pip,.image-module-container .pip{
    background-color: #f8f8f8;
    padding: 16px 24px;
    display: block;

}
.files-container input[name="files[]"],.image-module-container input[name="image"]{
    display: none;
}

.progress-container .file{
    background-color: #f8f8f8;
    padding:20px;
    text-align: left;
}
.progress-container .file .file-title{
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
}
.progress-container .file .file-progress{
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
    width: 100%;
}
.progress-container .file .file-progress .progress-bar{
    background-color: #0dbf00;
    height: 10px;
    width: 0px;
    transition: all 1s ease-in;
}
.remove-image, .remove-file, .remove-file-delete{
    font-size: 1.1em;
    margin-left: 9px;
}

/* ---------- footer -------------- */

footer{
    background-color: #141414;
    color: #84878d;
    padding: 33px 0px;
}
footer #logo-footer img{
    height: 30px;
    width: auto;
}

/* --------- custom select -------- */

.custom-select {
    position: relative;
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element:*/
  }
  
  .select-selected {
    background-color:#fff;
    border-radius: 6px;
  }
  
  /*style the arrow inside the select element:*/
  .select-selected:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 15px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-color: #f33c23 transparent transparent transparent;
  }
  
  /*point the arrow upwards when the select box is open (active):*/
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
  }
  
  /*style the items (options), including the selected item:*/
  .select-items .item,.select-selected {
    color: #707070;
    padding: 14px 16px;
    border: 1px solid #e5e5ef;
    height:15px;
    cursor: pointer;
    user-select: none;
  }
  
  /*style items (options):*/
  .select-items {
    position: absolute;
    color: #000;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }
  
  /*hide the items when the select box is closed:*/
  .select-hide {
    display: none;
  }
  
  .select-items .item:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }

  /* admin select */

  .admin .select-selected {
    background-color:#fff;
    border-radius: 0px;
    border: none;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 40px;
    padding-left: 0px;
  }

.select-selected {}
  .admin .select-items .item,.select-selected {
    border:0px;
    color: #888888;
    padding: 17px 25px;
    border: 2px solid #e6e6e6;
    height:15px;
    cursor: pointer;
    user-select: none;
    display: block;
  }
  .admin .select-selected:after{
    content: "";
    top: 20px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-color: #000 transparent transparent transparent;
  }
  .admin .select-items.item{
      padding-left: 30px;
      color: #000;
  }
  .admin .select-items .item{
    background-color:#fff;
    color: #000;
  }
  .select-items-buttons{
    padding:20px 0px;
    display: flex;
  }
  .select-items>.item.selected{
      background-color: #000;
      color: #fff;
  }
  .select-items-buttons a{
      color: #000;
      border: 1px solid #000;
      padding: 15px 0px;
      width: 150px;
      text-align: center;
      display: block;
      margin-right: 10px;
  }
  #selected-modules{
    display:flex;
  }
  #selected-modules .module-selected{
    background-color:#f8f8f8;
    display:block;
    padding:18px 24px;
    margin-right: 20px;
  }
  #selected-modules .module-selected i{
      font-size: 20px;
      vertical-align: middle;
  }
  #selected-modules .module-selected a:hover i{
      color: #bc2c18;
  }

  /* ---------custom radio input ----------- */

  .radio-div{
      display: flex;
  }
  .radio-div>*{
      margin-right:30px;
  }
.input-container{
    cursor: pointer;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-left: 35px;
  margin-bottom: 12px;
}
.input-container input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 50%;
    border:1px solid #dadae4;
  }
  .input-container:hover input ~ .checkmark {
    background-color: #eee;
  }
  .input-container input:checked ~ .checkmark:after {
    content: "";
    width: 14px;
    background-color: #f33c23;
    height: 14px;
    text-align: center;
    top: 50%;
    margin-top: -7px;
    left: 50%;
    margin-left: -7px;
  }
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  .input-container input:checked ~ .checkmark:after {
    display: block;
  }
  .input-container .checkmark:after {
    top: 9px;
   left: 9px;
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: white;
}

.error{
    color: #f33c23;
}

/* --------- mrf ------------ */

.mrf{
    padding:17px 33px;
    background-color: #f8f8f8;
    color: #888888;
    font-size: 12px;
    
}
.mrf h2{
    color: #000;
    font-size: 16px;
    margin-bottom: 28px;
}
.mrf div{
    margin-bottom: 15px;
}
.user-name a{
    color:#000;
    text-decoration: none;
}
.user-name a:hover{
    text-decoration: underline;
}
span.circle{
    display: inline-block;
    background-color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 25px;
    margin-right: 7px;
}

/* ------- viewer --------------- */

#viewer-container, #video-player-container{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0px;
    top:0px;
    width: 100%;
    height: 100%;
    text-align: center;
    display:none;
}
#viewer-container.flex, #video-player-container.flex{
    display: flex;
    justify-content: center;
    align-items: center;
}
#viewer-container .close-viewer-container,#video-player-container .close-viewer-container,.close-image-container{
    border-radius: 50%;
    background-color: #bc2c18;
    color: #fff;
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    text-align:center;
}
#viewer-container .close-viewer-container a, #video-player-container .close-viewer-container a,.close-image-container a{
    text-align: center;
    justify-content: center;
    align-items: center;
    line-height: 35px;
}
#viewer-container .close-viewer-container a i, #video-player-container .close-viewer-container a i,.close-image-container a i{
    color: #fff;
    font-size: 25px;
    vertical-align: middle;
}
#video-player-container video{
    max-width: 100%;
    height: auto;
}