@media all {
  .button-bar {
    display: flex;
    flex-direction: row;
  }

  .master-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(200,200,200,80%);
    z-index: 1000;
  }

  #batidaTemplate {
    display:none;
  }

  #batidas table {
    width: 40%;
    display: inline-table;
    margin-right: 20px;
  }

  .modal {
    width: 50% !important;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #888;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ddd;
    padding: 10px;
    overflow-y: auto;
    max-height: 100%;
  }
}

@media (min-width: 1280px) {
  body {
    text-align: left;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-image: url(/assetes/BG.webp);
    background-position: 200px -250px;
    background-repeat: no-repeat;
    padding: 0;
    border: 0;
    margin: 0 !important;
  }

  .bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1080px;
    top: 50px;
    background: linear-gradient(to top, white 0, white 10%, transparent);
    z-index: -1;
  }

  .titulo-f {}

  .body {
    background: #F6F7FB;
    min-height: 850px;
  }

  .body1 {
    overflow: hidden;
  }

  div#loading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(127, 127, 127, .8);
    width: 100%;
    height: 100%;
  }

  div.main {
    padding: 200px 0 0 5%;
    display: inline-block;
    border: 0;
    text-align: left;
  }


  div.main.adm {
    width: 1000px;
  }

  div.main.login {
    width: 500px;
    background-color: white;
    height: 100vh !important;
    filter: drop-shadow(5px 0px 20px #00000050);
    -webkit-filter: drop-shadow(5px 0px 20px #00000050);
  }

  .panel {
    width: 400px;
    margin-top: 80px;
    margin-bottom: 40px;
    border: 0;
  }

  .panel2 {
    width: 85%;
    margin-left: 30px;
    border: 0;
    padding: 0;
  }

  .panel3 {
    margin-left: 30px;
    border: 0;
    padding: 0;
  }

  .panel3 table {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    border: 0;
    width: 90%;
    border-collapse: collapse;
  }

  .panel3 tbody tr:first-child th {
    border-top-left-radius: 5px;
  }

  .panel3 tbody tr:last-child th {
    border-bottom-left-radius: 5px;
  }

  .panel3 thead th:first-child {
    border-top-left-radius: 5px;
  }

  .panel3 thead th:last-child {
    border-top-right-radius: 5px;
  }

  .panel3 th {
    padding: 5px;
    padding-left: 15px;
    background-color: #4680FF;
    color: white;
  }

  .panel3 td {
    padding: 5px;
    padding-left: 15px;
  }

  #funcionarios td, #funcionarios th {
    padding: 15px;
    padding-left: 30px;
  }

  .panel3#cadastro td:last-child, .panel3#cadastro th:last-child {
    width: 100px;
    text-align: center;
  }

  .panel3 tr:nth-child(even) {
    background-color: #d6f0FF;
  }

  .b-logout {
    position: absolute;
    right: 50px;
    width: 150px;
    height: 50px;
    border: 0;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    background: none;
    color: #1E222E;
    text-align: left;
    display: block;
    top: 30px;
    transition: 0.5s;
  }

  .b-logout:hover {
    cursor: pointer;
    color: #4680FF;
  }

  .b-logout::after {
    content: url(/assetes/log-out.svg);
    position: absolute;
    margin-left: 20px;
  }

  span {
    border: 0;
    display: block;
    padding: 5px
  }

  .field {
    display: inline-block;
    padding: 5px;
    margin: 10px 0;
    border: 1px solid #DDDCE1;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    height: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DDDCE1;
    justify-content: space-between;
  }

  .field2 {
    width: 100%;
    border-bottom: 1px solid #DDDCE1;
    display: flex;
    align-items: center;
    height: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DDDCE1;
    margin-bottom: 10px;
  }

  .field3 {
    width: 25%;
    border-bottom: 1px solid #DDDCE1;
    display: inline-block;
    align-items: center;
    height: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DDDCE1;
    margin-bottom: 10px;
    margin-right: 30px;
  }

  label {
    position: absolute;
    padding-left: 30px;
  }

  input::placeholder {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #7D7C81;
    padding-left: 30px;
    text-indent: 30px;
  }

  .nome {
    padding-left: 50px;
  }

  .senha {
    padding-left: 50px;
  }

  .nome::before {
    content: url(/assetes/user.svg);
    border-right: #DDDCE1 1px solid;
    height: 60px;
    transform: translateX(-50px);
  }

  .senha::before {
    content: url(/assetes/key.svg);
    border-right: #DDDCE1 1px solid;
    height: 60px;
    transform: translateX(-50px);
  }

  input {
    transform: translateX(-14%);
    width: 100%;
    height: 80%;
    border: 0;
    background: none;
    transition: 0.5s;
  }

  input:focus {
    background-color: white;
  }

  .hidden {
    display: none
  }

  .bg {
    background-color: rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    margin: 0;

  }

  .logo img {
    width: 150px !important;
  }

  .logo2 {
    width: 150px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 25px;

  }

  .botao1 {
    display: inline-block;
    position: absolute;
    left: 56%;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    background-color: #4680FF;
    color: white;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: 0.5s;
  }

  .botao1:hover {
    background-color: #1153e2;
    transform: scale(1.05);
    cursor: pointer;
  }

  .botao2 {
    display: block;
    position: relative;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    margin: 40px auto;
    background-color: #4680FF;
    color: white;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: 0.5s;
  }

  .botao2:hover {
    background-color: #1153e2;
    transform: scale(1.05);
    cursor: pointer;
  }

  .botao3 {
    display: inline;
    position: relative;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    background-color: #4680FF;
    color: white;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: 0.5s;
  }

  .botao3:hover {
    background-color: #1153e2;
    transform: scale(1.05);
    cursor: pointer;
  }

  header {
    height: 100px;
    background-color: white;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.08));
  }

  .master {
    display: flex;
    margin: 0 auto;
    width: 80%;
    height: calc(100% - 100px);
    justify-content: space-between;
    min-height: 730px;
    min-width: 1146px;
    max-width: 1420px;
  }

  .modulo {
    background-color: white;
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));
    width: 32%;
    height: 700px;
    align-self: center;
    display: flex;
    flex-direction: column;
    margin: 50px 0;
  }

  .modulo#funcionarios {
    width: 100%;
  }

  h3 {
    display: inline-flex;
    margin-left: 10px;
  }

  .titulo {
    padding: 20px 20px 0 30px;
  }

  .img {
    display: block;
    margin: 20px auto;
    width: 180px;
  }
}

@media (max-width: 1279px) {
  body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-image: url(/assetes/BG.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
    border: 0;
    margin: 0 !important;
  }


  .titulo-f {
    display: none;
  }

  .body {
    background: #F6F7FB;
    min-height: 850px;
  }

  .body1 {
    overflow: hidden;
  }

  div#loading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(127, 127, 127, .8);
    width: 100%;
    height: 100%;
  }

  div.main {
    padding-top: 33%;
    display: inline-block;
    border: 0;
  }


  div.main.adm {
    width: 1000px;
  }

  div.main.login {
    width: 70%;
    display: block;
    margin: 0 auto;
    background-color: transparent;
    height: 100vh !important;
    filter: drop-shadow(5px 0px 20px #00000050);
    -webkit-filter: drop-shadow(5px 0px 20px #00000050);
    min-width: 280px !important;
    max-width: 550px;
  }

  .panel {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 40px;
    border: 0;
  }

  .panel2 {
    width: 85%;
    margin-left: 7%;
    border: 0;
    padding: 0;
  }



  .b-logout {
    position: absolute;
    right: 20px;
    width: 150px;
    height: 50px;
    border: 0;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    background: none;
    color: #1E222E;
    display: block;
    top: 30px;
    transition: 0.5s;
  }

  .b-logout:hover {
    cursor: pointer;
    color: #4680FF;
  }

  .b-logout::after {
    content: url(/assetes/log-out.svg);
    position: absolute;
    margin-left: 20px;
  }

  span {
    border: 0;
    display: block;
    padding: 5px
  }

  .field {
    display: inline-block;
    padding: 5px;
    margin: 10px 0;
    border: 1px solid #DDDCE1;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    height: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DDDCE1;
    justify-content: space-between;
  }

  .field2 {
    width: 100%;
    border-bottom: 1px solid #DDDCE1;
    display: flex;
    align-items: center;
    height: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DDDCE1;
    margin-bottom: 10px;
  }

  label {
    position: absolute;
    padding-left: 30px;
  }

  .nome {
    padding-left: 50px;
  }

  .senha {
    padding-left: 50px;
  }

  .nome::before {
    content: url(/assetes/user.svg);
    border-right: #DDDCE1 1px solid;
    height: 60px;
    transform: translateX(-50px);
  }

  .senha::before {
    content: url(/assetes/key.svg);
    border-right: #DDDCE1 1px solid;
    height: 60px;
    transform: translateX(-50px);
  }

  input {
    transform: translateX(-14%);
    width: 100%;
    height: 80%;
    border: 0;
    background: none;
    transition: 0.5s;
  }

  input:focus {
    background-color: white;
  }

  .hidden {
    display: none
  }

  .bg {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    margin: 0;

  }


  .logo img {
    width: 150px !important;
    margin: 0 auto;
    display: block;
  }

  .logo2 {
    width: 130px;
    display: block;
    left: 20px;
    position: relative;
    top: 30px;

  }

  .botao1 {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 50px;
    border-radius: 50px;
    border: 0;
    background-color: #4680FF;
    color: white;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: 0.5s;
  }

  .botao1:hover {
    background-color: #1153e2;
    transform: scale(1.05);
    cursor: pointer;
  }

  .botao2 {
    display: block;
    position: relative;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    margin: 40px auto;
    background-color: #4680FF;
    color: white;
    font-size: 19px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: 0.5s;
  }

  .botao2:hover {
    background-color: #1153e2;
    transform: scale(1.05);
    cursor: pointer;
  }


  header {
    height: 100px;
    background-color: white;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.08));
  }

  .master {
    display: flex;
    margin: 20px auto;
    width: 70%;
    height: calc(100% - 100px);
    justify-content: center;
    min-height: 730px;
    flex-direction: column;
  }

  .modulo {
    background-color: white;
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));
    width: 100%;
    height: 700px;
    align-self: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    min-width: 280px;
  }

  h3 {
    display: inline-flex;
    margin-left: 10px;
  }

  .titulo {
    padding: 20px 20px 0 30px;
  }

  .img {
    display: block;
    margin: 20px auto;
    width: 180px;
  }
}
