/*This file using for common classnames in all pages*/

html {
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-style: italic;
}

h1 {
  font-size: 26px;
  margin-bottom: 40px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  margin-bottom: 30px;
}


body {
  font-family: sans-serif;
  height: 100%;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  padding: 20px 0;
}

.page-panel {
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 6px;
}

select.form-control, select {
  border: 1px solid #dbdbdb;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../../../assets/images/downArrow.svg) 85% 8px no-repeat;
  min-width: 65px;
}

/**** TABLE, PAGINATIONS, SORTING STYLES ****/
table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
  bottom: .7em;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
  right: 0.3em;
}

table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:after {
  color: #1f6de2;
}

.table .thead-light th {
  color: #000;
  background-color: transparent;
  border-bottom: solid 2px #1f6de2;
}

table input {
  border: none;
  width: 100%;
  height: 100%;
  padding: 10px 0;
}

table input:focus {
  outline: 0;
}

table select {
  border: none;
  outline: 0;
  cursor: pointer;
}

.table-hover tbody tr input {
  background-color: #f9f9f9;
  border-radius: 4px;
  padding: 10px 15px;
}

.table-hover tbody tr{
  transition: background-color linear 0.2s;
}

.table-hover tbody tr:hover,
.table-hover tbody tr:hover input {
  background-color: #f7f7f7;
}

.table td {
  border-top: 2px solid #f3f3f3;
}

.table tr:last-child td {
  border-bottom: 2px solid #f3f3f3;
}

.table tr:first-child td {
  border: 0;
  vertical-align: middle;
}

.table .thead-light th {
  color: #000;
  background-color: transparent;
  border-bottom: solid 2px #000;
  border-top: none;
}

.form-control,
div.dataTables_wrapper div.dataTables_length select {
  border: 1px solid #dbdbdb;
}

div.dataTables_wrapper div.dataTables_length select {
  margin: 0 7px;
  background: url(../../../assets/images/downArrow.svg) 85% 12px no-repeat;
}

.form-control,
select, option, .btn,
.form-control-sm,
.page-item:first-child .page-link,
.page-item:last-child .page-link,
.nav-pills .nav-link {
  border-radius: 0;
  -webkit-border-radius: 0;
}

.page-item.active .page-link,
.page-item.disabled .page-link,
.page-link {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.page-item.disabled .page-link {
  color: #979797;
  border-color: #dbdbdb;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #1F6DE2;
  border-color: #1F6DE2;
}

div.table-responsive>div.dataTables_wrapper>div.row:first-child {
  margin: 0;
}

div.table-responsive>div.dataTables_wrapper>div.row:last-child {
  margin: 40px 0 0;
}

div.dataTables_wrapper div.dataTables_info {
  color: #979797;
}

table.dataTable td, table.dataTable th,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  font-size: 14px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.nav-pills .nav-link {
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #fff;
  background-color: #1F6DE2;
}

.nav-pills .nav-link {
  color: #000;
}

.btn {
  padding: .375rem 25px;
  height: 50px;
  font-size: 14px;
}

.btn-primary {
  background-color: #1F6DE2;
  border-color: #1F6DE2;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #1F6DE2;
  border-color: #1F6DE2;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-primary.focus, .btn-primary:focus {
  box-shadow: none;
}

/**** FORM STYLES ****/
.col-form-label,
select.form-control,
input.form-control,
select, input {
  font-size: 14px;
}

.form-group select.form-control{
  background: url(../../../assets/images/downArrow.svg) 98% 14px no-repeat;
}

label {
  font-size: 14px;
}

.tab-content {
  padding-top: 20px;
}

.submit-block {
  display: flex;
  justify-content: flex-end;
}

/**** ERROR PAGES (401, 404) ****/
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.error-code, .error-text {
  font-weight: bold;
  font-style: italic;
}

.error-code {
  color: #1F6DE2;
  font-size: 170px;
}

.error-text {
  color: #000000;
  font-size: 26px;
  margin-bottom: 20px;
}

.error-description {
  color: #979797;
  font-weight: 300;
}

/**** BLACK AND WHITE PAGES ****/
.black-n-white {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.black, .white {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 30px;
  width: 50%;
  font-size: 14px;
}

.black {
  background-color: #121014;
  color: #fff;
  text-align: left;
  align-items: flex-start;
  padding-left: 10%;
}

.black h1 {
  margin-bottom: 20px;
  margin-top: 50px;
}

@media (min-width: 320px) and (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  .black-n-white {
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    padding: 0;
  }

  .black, .white {
    width: 100%;
  }

  .white {
    flex-grow: 1;
  }
}

.notyf {
  /*bottom: auto !important;*/
  /*right: auto !important;*/
  width: auto;
  /*min-width: 260px;*/
  /*max-width: 400px;*/
  z-index: 9999;
}

.notyf__toast {
  border-radius: 6px !important;
  position: absolute !important;
  top: 40px;
  right: 12px;
}