/*
  (c) 2017 Smart Viu | By Grupo Interactivo
*/
*, *::before, *::after {
  box-sizing: border-box;
}

@font-face {
    font-family: EncodeSC;
    src: url(../fonts/EncodeSansCondensed-Regular.ttf);
}
@font-face {
    font-family: EncodeSCsemi;
    src: url(../fonts/EncodeSansCondensed-SemiBold.ttf);
}
@font-face {
    font-family: EncodeSCbold;
    src: url(../fonts/EncodeSansCondensed-Boldar.ttf);
}
@font-face {
    font-family: SourceSans;
    src: url(../fonts/SourceSansPro-Regular.ttf);
}
@font-face {
    font-family: SourceSansBold;
    src: url(../fonts/SourceSansPro-Bold.ttf);
}

.marca1  {   border:1px #564ea2 dotted;   }
.marca2  {   border:2px #d933cc dashed;   }
.marca3  {   border-bottom:3px #5622b2 dashed; }


/* -----------------------
   # Global Styles
-------------------------- */
body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  min-height: 500px;
  font-family: 'EncodeSC', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #414141;
  background: #ffffff url('../img/bg_waves.jpg') bottom left no-repeat;
  overflow: hidden;
}

strong {
  font-weight: 700;
}

em {
  font-family: 'EncodeSC', Arial, sans-serif;
  font-size: 17px;
  font-style: italic;
}

table, th, td, tr {
  vertical-align: top !important;
}

a {
  color: #3a3a3a;
}

a:hover, a:focus {
  color: #3a3a3a;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 18px;
  font-family: 'EncodeSCsemi', Arial, sans-serif;
  line-height: 1.3;
  color:#4c4c4c;
}

h1 {
  font-size: 18px;
  font-weight: 400;
}
h2, h3 {
  font-size: 30px;
  font-weight: 600;
  color:#0f2b52;
  text-align: center;
  margin-top: 1.2em;
  padding-left: 8%;
  padding-right: 8%;
}
h3 {
  font-size: 20px;
  text-transform: uppercase;
}
h4 {
  font-size: 18px;
  font-family: EncodeSC;
  text-align:center;
}

    @media (min-width: 768px) {
      h1 {
        font-size: 24px;
      }
    }

p {
  margin-bottom: 26px;
}

ul {
  margin-bottom: 26px;
  padding-left: 30px;
}

ul li {
  margin-bottom: 6px;
}

.container {
  width: 100%;
  padding-right: 24px;
  padding-left: 24px;
}

.container > .row {
  width: 100%;
  margin-right: -24px;
  margin-left: -24px;
}

@media (min-width: 768px) {
  .container {
    width: 100%;
  }
}


@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

.container-sm {
  max-width: 900px !important;
  margin-left: auto;
  margin-right: auto;
}


/* -----------------------
   # Header
-------------------------- */

.main-header {
  z-index: 10;
  position: fixed;
  width: 100%;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
}
.bottom-line {
  z-index: 50;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
}
.bottom-line p {
  font-family: 'SourceSans', Arial, sans-serif;
  text-align: center;
  font-size: 14px;
}

.main-header .container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 98px;
}
.main-header .container {
  background-color: #ffffff;
}

.logout-icon {
  width: 32px;
  height: 32px;
  background: transparent url('../img/ic_logout.png') top center no-repeat;
  transition: all 0.2s;
  border: none;
}
.logout-icon:hover {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg); 
  transform: rotate(180deg);
}
.logout-icon:active, .logout-icon:visited, .logout-icon:focus {
  border: none;
}

.main-header-logo {
  width: 320px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.main-header-logo img {
  width: 100%;
  max-width: 284px;
}

.main-header-ops {
  width: 32px;
  height: 32px;
}


/* ------  LOGIN  ------------- */
.login-bg {
  background-color: #ffffff;
}

.box-transp {
  -webkit-box-shadow:none;
  box-shadow: none;
  background-color: transparent;
}
#login  {
  padding-top: 8%;
}
#recover  {
  padding-top: 5%;
}
    @media(max-height: 768px) {
        #login  {
          padding-top: 5%;
        }
        #recover  {
          padding-top: 3%;
        }
    }
.login {
  width: 94%;
  max-width: 480px;
  padding: 30px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 1px 2px 14px rgba(0, 0, 0, 0.3);
}
.login h1 {
  text-align: center;
  margin-bottom: 1.3em;
  color:#4c4c4c;
}
.recup-box {
  background-color:#ffffff;
}
.recup-box p {
  margin-bottom: 24px;
  text-align: center;
}
.login fieldset {
  border: 0;
  padding: 0;
  margin-bottom: 10px;
}
.login fieldset input {
  outline: none;
  width: 100%;
  height: 50px;
  display: block;
  background: #ffffff;
  border: 1px solid #e85913;
  margin: 0;
  padding: 13px 15px;
  font-size: 20px;
  color: #4b4b4d;
  border-radius: 5px;
  margin-bottom: 20px;
}

.login fieldset input:hover {
  background-color: #e85913;
  color: #ffffff;
}
    /* - Placeholder normal and hover colors */
    .login fieldset input::-webkit-input-placeholder { color: rgba(0, 0, 0, 0.6); }
    .login fieldset input::-moz-placeholder { color: rgba(0, 0, 0, 0.6); }
    .login fieldset input:-ms-input-placeholder {  color: rgba(0, 0, 0, 0.6); }
    .login fieldset input:-moz-placeholder {  color: rgba(0, 0, 0, 0.6); }

    .login fieldset input:hover::-webkit-input-placeholder { color: #ffffff; }
    .login fieldset input:hover:-moz-placeholder  { color: #ffffff; }
    .login fieldset input:hover::-moz-placeholder  { color: #ffffff; }
    .login fieldset input:hover:-ms-input-placeholder  { color: #ffffff; }
    /*
.login fieldset ::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}  */

.login input[type="submit"] {
  margin: 0;
  display: block;
  padding: 13px 0;
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
  border: 0;
  text-shadow: 0px 1px 0px rbga(255, 255, 255, 1);
  background-color: #ff6600;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}
.login input[type="submit"]:hover {
  background-color: #e33d10;
}
.login .login-ops {
  padding-top: 20px;
}
.login .login-ops a {
  color: #4b4b4d;
  text-decoration: none;
  font-size: 16px;
}
.login .login-ops a:hover {
  color: #e85913;
}



/* -----------------------
   # Content
-------------------------- */

.container > .row  {
  margin-left: 0;
}
.main-frame {
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  margin-top: 125px;
  height: calc(100vh - 254px);
  max-height: 590px;
}
.changep-frame {
  margin-top: 65px;
}

.box-list {
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  height: 100%;
  overflow-x: hidden;
  padding-left: 0;
  padding-right: 0;
  /*  background-color: #ffffff;  */
}

.device-grid {
  padding-top: 1.0em;
}
.profile-col {
  padding: 1.0em 2em;
  text-align: left;
  font-size: 16px;
  line-height: normal;
}
.profile-col p{
  line-height: normal;
  margin-bottom: 0.5em;
}
.profile-col .prof-ico {
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 1em;
}
.profile-col .prof-ico img {
  max-width: 72px;
  max-height: 72px;
}
.profile-col .prof-label {
  clear: left;
  position: relative;
  float:left;
  width: 30%;
  margin-bottom: 0.5em;
  font-family: 'SourceSansBold', Arial, sans-serif;
}
.profile-col .prof-data {
  position: relative;
  float:left;
  width: 70%;
  margin-bottom: 0.5em;
  font-family: 'SourceSans', Arial, sans-serif;
}
.device-item {
  clear: left;
  width: 90%;
  min-height: 50px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px #D0D0D0 solid;
}
    .device-item img {
      position: relative;
      float: left;
      width: 46px;
      height:36px;
      margin-top: 6px;
    }
    .device-item .dev-name {
      position: relative;
      float: left;
      width: 62%;
      margin-top: 6px;
      margin-bottom: 20px;
      padding: 2px 20px 0px 25px;
      font-size: 20px;
      line-height: 22px;
      overflow: hidden;
    }
    .device-item a.bt-list {
      position: relative;
      float: left;
      width: 38px;
      margin-top: 6px;
      margin-left: 12px;
      margin-right: 10px;
    }
    .device-item a.bt-upload {
      position: relative;
      float: right;
      width: 22%;
      margin-top: 6px;
    }
    .grid-options {
      position: relative;
      float: right;
      width: 100%;
      height: 50px;
      margin-top: 0;
    }
    .grid-options a {
      float: right;
      width: 150px;
      margin-top: 22px;
      margin-right: 48px;
    }

 /* -------------      MEDIUM SCREENS  --------------  */
    @media (max-width: 1160px) {
      body {
        height: 100vh;
        overflow: auto;
      }
      .main-frame {
          margin-top: 115px;
          height: calc(100vh - 254px);
          max-height: 590px;
          height: auto;   
      }
      .box-list {
        height:auto;
        overflow-x:auto;
      }
      .profile-col {
        padding: 1.0em 0.6em;
        overflow-x: hidden;
      }
      .profile-col .prof-label {
        margin-bottom: 0em;
      }
      .profile-col .prof-data {
        clear: left;
        margin-bottom: 0.55em;
      }
      .device-item {
        width: 98%;
      }
      .device-item .dev-name {
        width: 60%;
        max-height: 46px;
        padding: 2px 15px 0px 25px;
        font-size: 18px;
        line-height: 19px;
      }
      .bottom-line {
        margin-top: 8em;
        bottom: 14px;
        line-height: 14px;
        padding: 0px 20px;
      }
      .grid-options {
        height: 60px;
        margin-top: 24px;
        text-align: center;
      }
      .grid-options a {
        float:left;
        width: 150px;
      }
      .device-item img {
        width: 40px;
        height: auto;
      }
    }
    @media (max-height: 580px) {
          .bottom-line {
            display: none;
          }
      }

    @media (max-width: 992px) {
      #device-list.container {
        width: 100%;
        min-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
    }
    @media (max-width: 900px) {
      .device-item .dev-name {
        width: 50%;
        height: 56px;
        margin-bottom: 8px;
      }
    }
 /* -------------      SMALL SCREENS  --------------  */
    @media (max-width: 767px) {
      #device-list.container {
        margin-left: 0;
        margin-right: 0;
      }
      .device-item {
          border-color: #888 ;
          min-height: 55px;
      }
      .device-item .dev-name {
        width: 60%;
      }
      .profile-col {
        padding: 0.7em 0.6em;
        border-bottom: 2px #aaa dotted;
        margin-bottom: 20px;
      }
      .profile-col .prof-ico {
        width: 10%;
        margin-bottom: 1em;
      }
      .profile-col .prof-label {
        clear: none;
        width: 24%;
        margin-left: 30px;
      }

      .profile-col .prof-data {
        width: 56%;
        margin-bottom: 0.3em;
        clear: none;
      }
    }
    @media (max-width: 640px) {
      .profile-col .prof-ico {
        display: none;
      }
      .profile-col .prof-label {
        margin-left: 0px;
      }
      .device-item a.bt-upload {
        width: 16%;
        font-size: 16px;
        padding-top: 6px;
      }
    }
    @media (max-width: 480px) {
      .device-item .dev-name {
        width: 55%;
      }
      .device-item a.bt-upload {
        font-size: 14px;
        padding-top: 8px;
      }
    }


/* -----------------------
   # Buttons
-------------------------- */

.bt-list {
  width: 35px;
  height: 35px;
  background: url('../img/ic_list.png') top left no-repeat;
}
.bt-list:hover {
  background: url('../img/ic_list2.png') top left no-repeat;
}

.bt-upload, .upload-all {
  max-width: 150px;
  height: 36px;
  background-color:#80766f;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  padding-top: 3px;
  border-radius: 6px;
  border: none;
  }
.bt-upload:hover, .upload-all:hover {
  background-color:#ff6600;
  color: #ffffff;
  }
  .bt-upload img {
    float: none;
    width: 32px;
    height:21px;
    margin-top:-2px;
    margin-left: 4px;
  }
  .upload-all {
    background-color:#0d81c5;
    width: 150px;
  }
  .upload-all:hover {
    background-color:#0968a0;
  }
    @media (max-width: 640px) {
      .bt-upload img {
        display: none;
      }
    }
  .btn-chg {
    font-size: 16px;
    border-top:1px #BDBDBD solid;
    margin-top:1.3em;
    padding-top: 2px;
  }
  .btn-chg a {
    font-size: 14px;
    color:#684D3B;
  }
  .btn-chg a:hover {
    color:#ff6600;
  }
    @media (max-width: 768px) {
      .label-chg {
        display: block;
        border:1px #ffffff dotted;
      }
    }

/* ----------------    Scroll bars    ------------------ */
.blue-scroll::-webkit-scrollbar{
width:12px;
background-color:#ffffff;
}
.blue-scroll::-webkit-scrollbar-thumb{
background-color:#80766f;
border-radius:0px;
}
.blue-scroll::-webkit-scrollbar-thumb:hover{
background-color:#e45c02;
border:1px solid #e45c02;
}
.blue-scroll::-webkit-scrollbar-thumb:active{
background-color:#ff6600;
border:1px solid #ff6600;
} 
.blue-scroll::-webkit-scrollbar-track{
border:3px #e9e9e9 solid;
border-radius:10px;
-webkit-box-shadow:0 0 6px #666 inset;
} 
    @media (max-width: 680px) {
        .blue-scroll::-webkit-scrollbar {
         display:none;
         }
}




/* -----------------------
   # Forms
-------------------------- */
.form-group {
  margin-bottom: 22px;
}

.form-control {
  box-shadow: none;
  border: 2px solid #d7d7d7;
  padding: 12px 22px;
  height: auto;
  color: #3a3a3a;
}

.form-control:focus {
  box-shadow: none;
  border: 2px solid #0091ea;
}

.form-control::-webkit-input-placeholder {
  color: #d7d7d7;
}

.form-control::-moz-placeholder {
  color: #d7d7d7;
}

.form-control:-ms-input-placeholder {
  color: #d7d7d7;
}

.form-control::placeholder {
  color: #d7d7d7;
}

textarea.form-control {
  resize: none;
}

.form-send {
  margin-top: 20px;
}

/* -----------------------
          MODALS
-------------------------- */
.modal-blue {
    background-color: #0b3b85 !important;
    border-bottom: none;
    margin-bottom: 1.8em;
}
.modal-header {
    display:block;
}
.modal-title {
    line-height: 1.1;
}
.modal-header h3 {
    width: 100%;
    color: #ffffff;
    margin-top: 0;
}
.modal-header h4 {
  width: 100%;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 0;
}
.modal-header .close {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 1px 0 #000;
}

.modal-body p {
    margin-bottom: 1.8em;
}
.modal-footer {
  border-top: none;
}

#transferModal .form-check {
  float: left;
  margin-bottom: 10px;
}
#transferModal .sep-down {
  margin-bottom: 32px;
}
#addUserModal .modal-blue {
  margin-bottom: 0px !important;
}
.adduser-line {
  margin-bottom: 6px;
}
.adduser-line input {
  padding: 6px 22px;
}
.adduser-line select {
  padding: 6px 10px;
}
.adduser-line label {
  margin-bottom: 2px;
}
#editUserModal input::-webkit-input-placeholder { color: #777777; }
#editUserModal input::-moz-placeholder { color: #777777; }
#editUserModal input:-ms-input-placeholder { color: #777777; }
#editUserModal input:-moz-placeholder { color: #777777; }

.cont-filenames {
  padding:0 5%;
}
.cont-filenames ol li {
  font-size: 18px;
  margin-bottom: 0.32em;
}
.custom-counter {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
    max-height: 50vh;
    overflow: auto;
}
.custom-counter li {
    counter-increment: step-counter;
}
.custom-counter li::before {
    content: counter(step-counter);
    margin-right: 12px;
    font-size: 80%;
    background-color: #D1791B;
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
}

/* -----------------------
          CHECKBOX
-------------------------- */

.checkbox {
  padding-left: 20px; }
.checkbox label {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding-left: 15px;
  font-weight: bold; }
.checkbox label::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 26px;
  height: 26px;
  left: 0;
  margin-left: -20px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
      transition: border 0.15s ease-in-out, color 0.15s ease-in-out; }
.checkbox label::after {
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  top: 0;
  margin-left: -20px;
  padding-left: 3px;
  padding-top: 1px;
  font-size: 18px;
  color: #555555; }
.checkbox input[type="checkbox"] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.checkbox input[type="checkbox"]:focus + label::before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px; }
.checkbox input[type="checkbox"]:checked + label::after {
  font-family: "FontAwesome";
  content: "\f00c";}

.checkbox input[type="checkbox"]:disabled {
    cursor: not-allowed;
}
.checkbox input[type="checkbox"]:disabled + label {
      opacity: 0.65; }
.checkbox input[type="checkbox"]:disabled + label::before {
  background-color: #eeeeee;
        cursor: not-allowed; }

.checkbox.checkbox-inline {
    margin-top: 0; }

.checkbox-primary input[type="checkbox"]:checked + label::before {
  background-color: #337ab7;
  border-color: #337ab7; }
.checkbox-primary input[type="checkbox"]:checked + label::after {
  color: #fff; }
  
input[type="checkbox"].styled:checked + label:after {
  font-family: 'FontAwesome';
  content: "\f00c"; }
input[type="checkbox"] .styled:checked + label::before {
  color: #fff; }
input[type="checkbox"] .styled:checked + label::after {
  color: #fff; }
