/**
 * Custom
 */

@font-face {
   font-family: 'eNubesCorp';
   src: url('../fonts/nexa_light.eot');
   src: url('../fonts/nexa_light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/nexa_light.woff2') format('woff2'),
        url('../fonts/nexa_light.woff') format('woff'),
        url('../fonts/nexa_light.ttf') format('truetype'),
        url('../fonts/nexa_light.svg#nexa_lightregular') format('svg');
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'eNubesCorp';
   src: url('../fonts/nexa_bold.eot');
   src: url('../fonts/nexa_bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/nexa_bold.woff2') format('woff2'),
        url('../fonts/nexa_bold.woff') format('woff'),
        url('../fonts/nexa_bold.ttf') format('truetype'),
        url('../fonts/nexa_bold.svg#nexa_boldregular') format('svg');
   font-weight: bold;
   font-style: normal;
}

body
{
  background: #e0e0e0;
  font-family: 'helvetica neue', 'helvetica', 'sans', 'arial';
}

.bg
{
  background: url(../img/bg.png) repeat;
}


.form-control
{
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

.div-descripcion:focus { outline: none; background: #ffd}

.container {
  margin-top: 6.7em;
  width: unset;
}

.container-lg {
  margin-top: 8.2em;
}

.center-block {
    display: table;
    float: none;
    margin-left: auto;
    margin-right: auto;
}


.navbar-brand 
{
    float: left;
    font-size: 1.5em;
    height: 50px;
    line-height: 20px;
    padding: 15px 1.6em 15px 15px;
    color: #FA982C;
}

.navbar-inverse-enubes
{
  background: red; 
  background: -webkit-linear-gradient(left, #1dafff, #ffa1e0);
  background: -o-linear-gradient(right, #1dafff, #ffa1e0);
  background: -moz-linear-gradient(right, #1dafff, #ffa1e0);
  background: linear-gradient(to right, #1dafff , #ffa1e0);
  box-shadow: 0 3px 15px #888;
  background: #3d3d3d;
  padding-left: 3px;
}

.navbar-inverse-enubes .navbar-brand
{
  width: 19rem;
  padding-top: 11px;
  transition: all 0.4s ease;
}

.navbar-inverse-enubes .navbar-brand:hover
{
  width: 19.5rem;
  padding-top: 7px;
  padding-left: 0;
  color: white;
  filter: drop-shadow(0px 0px 10px #fff);
  -webkit-filter: drop-shadow(0px 0px 20px rgba(255,255,255,1));
}

.navbar-inverse-enubes .navbar-brand:active
{
  color: #1dafff;
}

.navbar-right {
  margin-right: 0;
}

.navbar-inverse .navbar-brand {
    color: #FA982C;
}

.navbar-inverse .navbar-nav > li > a {
    color: #e0e0e0;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #f5f5f5;
    color: #555;
}

.popover
{
    display: block;
    left: -156.792px;
    right: 2em;
    top: 50px;
    width: 350px;
    overflow-wrap: break-word;
}

.action-icon
{
  font-size: 1.2em;
  vertical-align: top;
}

.main-table-container
{
  padding: 1em 4em;
}

table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
}

.div-descripcion
{
   min-height: 2em;
   /* Para que se pueda pulsar cuando no hay texto */
}

.td-descripcion
{
  position: relative;
  max-width: 20em;
  word-wrap: break-word;
}

.td-descripcion:hover
{
  background: rgba(255, 255, 255, 0.7);
  cursor: text;
}

.edit-description
{
  position: absolute;
  right: 1em;
  top: 0.5em;
  font-size: 1.2em;
}

.thumbnail
{
  background-color: #fff;
  border-radius: 4px;
  display: block;
  padding: 2px;
  margin-left: 2px;
  transition: border 0.2s ease-in-out 0s;
  height: 1.85em;
  max-width: 3.1em;
  /*border: 0;*/
  margin-bottom: 0;
  float: left;
  cursor: pointer;
}

.selected-thumb
{
  border-color: #337ab7;
}

.img-responsive
{
  width: 100%;
}

.btn-permanent-link
{
  margin-left: 1em;
}

.hidden-sm-up
{
  visibility: hidden;
}




/*  td.titulo
  {
    max-width: 14em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
  }*/


.text-danger
{
  color: #e34141;
}

.hidden-sm-up
{
  display: none;
}

.page-wrapper .page-wrapper-middle {
     background: #f0f0f0;
}

.portlet
{
  margin-bottom: 0;
}


h2, h3
{
  padding: 0.2em;
}

h3.video-title
{
  font-size: 20px;
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: center;
  font-family: 'eNubesCorp', 'myriad pro', 'helvetica neue', 'helvetica';
}

a.unstyled:hover, a.unstyled:focus, a.unstyled:hover
{
  text-decoration: none;
}

a.white:hover, a.white:focus, a.white:hover
{
  color: white;
}

hr
{
  border-color: #dfdff3;
}

.border-bottom
{
  border-bottom: 1px solid #f0f0f0;
}

.no-border-bottom
{
  border-bottom: 0 !important;
}

hr.grey
{
  border-color: #F0F0F0;
}

.page-header {
  height: 5em;
}
.page-header .page-header-top .page-logo .logo-default
{
  padding: 0;
  margin: 0;
  max-height: 5em;
}
.page-content
{
  margin-top: 5em;
}

.no-padding
{
  padding: 0;
}

.xxs-padding
{
  padding: 0.3em;
}

.xs-padding
{
  padding: 0.5em;
}

.xs-lt-padding
{
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.sm-padding
{
  padding: 1em;
}

.sm-lt-padding
{
  padding-left: 1em;
  padding-right: 1em;
}

.sm-top-padding
{
  padding-top: 1em;
}

.sm-padding
{
  padding: 1em;
}

.md-top-padding
{
  padding-top: 1.5em;
}

.md-bottom-padding
{
  padding-bottom: 1.5em;
}

.md-padding
{
  padding: 1.5em;
}

.mdlg-padding
{
  padding: 3em;
}

.lg-padding
{
  padding: 5em;
}

.md-lt-padding
{
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.lg-lt-padding
{
  padding-left: 5em;
  padding-right: 5em;
}

.md-right-padding
{
  padding-right: 1.5em;
}

.no-top-padding
{
  padding-top: 0;
}

.no-left-padding
{
  padding-left: 0;
}

.no-lt-padding
{
  padding-left: 0;
  padding-right: 0;
}

.no-margin
{
  margin: 0;
}

.no-top-margin
{
  margin-top: 0;
}

.xs-top-margin
{
  margin-top: 0.5em;
}

.xs-margin
{
  margin: 0.5em;
}

.xs-lt-margin
{
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.xs-bottom-margin
{
  margin-bottom: 0.5em;
}

.sm-margin
{
  margin: 1em;
}

.md-margin
{
  margin: 1.5em;
}

.md-bottom-margin
{
  margin-bottom: 1.5em;
}

.md-lt-margin
{
  margin-left: 1.5em;
  margin-right: 1.5em;
}


.sm-lt-margin
{
  margin-left: 1em;
  margin-right: 1em;
}

.sm-top-margin
{
  margin-top: 1em;
}

.md-top-margin
{
  margin-top: 2em;
}

.lg-top-margin
{
  margin-top: 4em;
}

.xl-top-margin
{
  margin-top: 7em;
}

.no-bottom-margin
{
  margin-bottom: 0;
}

.no-right-margin
{
  margin-right: 0;
}

.right-0
{
  right: 0;
}

.empty-row
{
  display: inline-block;
  height: 2em;
  width: 100%;
}

.block
{
  display: block;
}

.desktop-flex
{
  display: flex;
}

.fixed
{
  position: fixed;
}

.absolute
{
  position: absolute;
}

.table-row
{
  display: table;
}

.z-index-top
{
  z-index: 100;
}

.overflow-hidden
{
  overflow: hidden;
}

.overflow-scroll
{
  overflow: scroll;
}

.overflow-auto
{
  overflow: auto;
}

.bold
{
  font-weight: bold;
}

.underline
{
  text-decoration: underline;
}

.text-sm
{
  font-size: 0.9em;
}

.text-lg
{
  font-size: 1.5em;
}

.badge
{
  background: #7779BA;
}

.badge-lg
{
  height: 24px !important;
  font-size: 17px !important;
}

.white
{
  color: white;
}

.black
{
  color: #333;
}

.grey
{
  color: #aaa;
}

.dark-grey
{
  color: #5f5f5f;
}

.green
{
  color: #2d8d4f;
}

.light-black
{
  color: #3D3D3D;
}

.blue-bg
{
  background-color: #0af;
}

.orange-bg
{
  background-color: #FE8100;
}

.lightorange-bg
{
  background: #FEE3A7;
}

.yellow-bg
{
  background: #fff4a7;
}

.grey-bg
{
  background: #F0F0F0;
}

.lightgrey-bg
{
  background: #f7f7f7;
}

.white-bg
{
  background-color: white;
}

.light-blue-bg
{
  background: #EFF3F8;
}

.success-bg
{
  background: #5FDDE8;
}

.success-dark-bg
{
  background: #49c7d2;
}

.blue-border-bottom
{
  border-bottom: 1px solid #8bcef0;
}

.drop-shadow
{
  box-shadow: 2px 3px 10px #aaa;
}

.thin-border
{
  border: 1px solid #ccc;
}

.drivers-buttons a.drivers-button:hover {
  text-decoration: none;
}


.table > thead > tr > th {
    background: #f5f7f7 none repeat scroll 0 0;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 8px 8px;
}

.btn-success, .btn-primary, .btn-warning, .btn-danger
{
  border: 1px solid transparent;
  /*border-radius: 0;*/
}

.btn-xs
{
  margin: 1px;
}

.btn-download
{
  width: 9rem;
}

.btn-convert
{
  background-color: white;
  border: 1px solid #ddd !important;
  color: #036503;
}

.btn-convert span
{
  color: #449d44;
}

.btn-remove
{
  color: #d47b7b;
}

.btn-primary
{
  background: #329ad6;
}

.btn-primary:hover
{
  background: #2a90da;
  border: 1px solid #2a90da;
}

.mobile-menu-open
{
  left: 0em;
  transform: translateX(0em);
}

.mobile-menu > ul > li
{
  background: white;
  border: 1px solid #FE8100;
  border-bottom: 0;
  color: #FE8100;
  width: 100%;
}

.mobile-menu > ul > li > a
{
    padding: 0.7em 1em 0.7em 2em;
}

.mobile-menu > ul > li > a:hover
{
    background: #f4f4f4;
}

a.text-white
{
  color: white;
}

div.dark-background, .dark-background-2
{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background-color:black;
  opacity:0.3;
  display:none;
  z-index:70;
}

.dark-background-2
{
  z-index: 130;
}

.popup-window
{
  top:8em; left:0;
  right:0;
  margin: 0 auto;
  z-index: 90;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  background: white;
  position: fixed;
  padding: 2em 4em 3em;
}

#popup_ver_video
{
  padding: 0;
  background: black;
  top: 21vh;
}

#popup_sobreescribir_video
{
  top: 12em;
  z-index: 140;
  display: none;
}

.video-upload
{
  top: 10em;
}

.close-button
{
  cursor: pointer;
  font-size: 1.4em;
  font-weight: lighter;
  padding: 0.4em 1em;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.2s ease;
}

.close-button:hover
{
  color: white;
  background: salmon;
}

.upload-zone
{
  border: 2px solid #a5c4d7;
  padding: 1.4em;
  color: #5d8da8;
  border-radius: 0.7em;
  cursor: pointer;
  transition: all 0.7s ease;
  background: #f8f8f8;
  word-break: break-all;
  margin-bottom: 1em;
  transition: all 0.5s ease;
}

.upload-zone-file-over
{
  border: 2px dashed #ed6ebf;
  background: #ffffdd;
}

.upload-zone-file-added
{
  border: 2px dotted #ed6ebf;
  background: #ffffdd;
}

.upload-zone:hover
{
  background: #ffe;
}

.upload-zone:active
{
  background: green;
  color: white;
}

#contenedor_barra_progreso
{
  background: #bbb;
  border: 1px solid #888;
  border-radius: 4px;
  width: 100%;
  height: 2em;
  position: relative;
}

#barra_progreso
{
  background: #78dd78;
  border-radius: 4px;
  width: 63%;
  height: 1.8em;
  position: absolute;
  left: 0;
}

.moxie-shim
{
  display: none;
}

.upload-zone-drag-over
{
  border: 2px dashed #aaaaff;
  background: #ddffdd;
}

#confirm_dialog
{
  display: none;
  left:0;
  right:0; margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  /*left: 35.4%;*/
  overflow: scroll;
  top: 14em;
  /*width: 29%;*/
  z-index: 140;
  height: 60%;
  padding: 0;
}

.rounded
{
  -webkit-border-radius: 0.2em !important;
  border-radius: 0.2em !important;
}

.pointer
{
  cursor: pointer;
}

.cursor-default
{
  cursor: default;
}

.help
{
  cursor: help;
}

.rejected
{
  background: #FFBCBE;
}

.notes-td
{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 200px;
  float: left;
}


.only-desktop
{
  display: none;
}

/******* MEDIA QUERIES *******/

@media (min-width: 1680px) {
  .only-desktop 
  {
    display: table-cell;
  }
  .small
  {
    font-size: 92%;
  }
  .titulo-video
  {
    max-width: 21em;
    display: inline-block;
    white-space: inherit;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

@media (max-width: 1679px) {

  .main-table-container
  {
    padding: 1em 2em;
    width: 98%;
  }

  .td-descripcion
  {
    max-width: 100%;
  }
  .small
  {
    font-size: 98%;
  }

  td.titulo
  {
    white-space: normal;
  }
}

@media (max-width: 1400px) {
  .main-table-container
  {
    padding: 1em 0.5em;
    width: 99%;
  }
}

@media (max-width: 767px) {

  .container
  {
    margin-top: 4em;
  }

  .hidden-sm-up
  {
    display: block;
  }

  .hidden-sm-md
  {
    display: none;
  }

  .page-header .page-header-top .top-menu {
    clear: inherit;
    margin-top: 13px;
  }

  .page-header .page-header-top .page-logo .logo-default
  {
    margin-top: 0.5em;
    max-height: 3.5em;
  }

  .page-container {
    margin-bottom: 40px;
  }

  body.login form .rememberme {
    display: none !important;
  }

  .page-content
  {
    /*margin-top: 3em;*/
  }

  .sm-no-padding
  {
    padding: 0;
  }

  .sm-no-top-margin
  {
    margin-top: 0;
  }

  .sm-xs-lt-padding
  {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

}

@media (max-width: 480px) {

  .hidden-sm
  {
    display: none;
  }

  .container
  {
    margin-top: 4em;
  }

  .main-table-container
  {
    padding: 1em;
  }

  h3
  {
    margin-bottom: 0;
    margin-top: 5px;
  }

  .page-container {
    margin-top: 20px;
  }

  .xs-no-padding
  {
    padding: 0;
  }

  .page-content
  {
    margin-top: 5em;
  }

  #tabla_videos
  {
    margin-top: 3em;
  }

}

@media screen and (max-height: 500px) {
  .video-upload
  {
    top: 4em;
  }

  .popup-window
  {
    padding: 2em 2em 2em;
  }
}

/* Media queries en tablas */
@media screen and (max-width: 1350px) {

    table { border: 0; }

    table thead { display: none; }

    table tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }

    table td {
      border-bottom: 1px solid #ddd;
      display: block;
      text-align: right;
      min-height: 3em;
    }

    table td:before {
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }

    table td:last-child { border-bottom: 0; }

    .thumbnail {
      float: right;
    }

    td.titulo
    {
      background-color: #def0fc;
    }

    .sm-pull-right
    {
      float: right;
    }
}

@media screen and (min-width: 1181px) {
  tr:hover
  {
    background-color: #def0fc;
  }

  #form_busqueda { margin-top: 0.65rem; }
}

@media screen and (max-width: 767px) {

  .hidden-sm-up
  {
    visibility: visible;
  }

  .desktop-flex
  {
    display: inherit;
  }

  td > a{ 
    display: inline-flex; 
    max-width: 40%;
    padding: 0.8em;
  }

  table td.mobile-hidden{
    display: table-column-group;
    line-height: 0;
    padding: 0;
    visibility: collapse;
    opacity: 0;
    -webkit-transition: opacity 0.3s; /* Safari 3.1 to 6.0 */
    transition: opacity 0.3s;
  }

  table td::before {
      content: none;
  }

  table td.mobile-visible{
    display: table-column-group;
    line-height: 1.5em;
    padding: 0;
    visibility: visible;
    display: block;
    opacity: 1;
    -webkit-transition: opacity 0.3s; /* Safari 3.1 to 6.0 */
    transition: opacity 0.3s;
  }

  table td.mobile-visible::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  td.td-titulo{
    display: block;
    line-height: 1.5em;
    padding: 0 !important;
    visibility: visible;
    text-align: left;
  }

  span.expandir{
    display: inline-block;
    float: right;
    width: 20%;
    height: 100%;
    text-align: right;
    padding: 1em;
  }

  .navbar-brand{
    font-size: 1.2em;
  }

  h3
  {
    margin-top: 1.7rem;
  }

  #form_busqueda
  {
    margin-top: 0.7rem;
  }
}

@media (min-width: 770px) and (max-width: 1350px) {

  .td-titulo a
  {
      margin-right: 2rem;
  }
}

@media (max-width: 1000px) {

  .popup-window
  {
    padding: 1em 1.5em 2.4em;
  }

  #thumbnails_video
  {
    display: inline-block;
  }

  #formulario_imagen 
  {
    float: none;
    text-align: left;
    display: inline-block;
    margin-top: 1rem;
    padding-left: 0;
    width: 100%;
  }

  #formulario_imagen label
  {
    float: left !important;
  }

  .popup-window .thumbnail
  {
    float: left;
  }

  .video-upload 
  {
    top: 7rem;
  }


}


