/*
Volos Janusz Skotarczak
*/

/* Global */
*
{
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  border: 0px;
  color: #000;
  font-family: 'Open Sans', sans-serif;
}

.pointer:hover{
  cursor: pointer;
}

.app a
{
  color: #42698c;
  text-decoration: none;
}

label
{
  font-size: 0.8em;
}

hr
{
  margin-top: 5px;
  margin-bottom: 10px;

  border: 0;
  height: 1px;
  background-color: #000;
}

.showpass
{
  margin-bottom: 15px;
}

body
{
  background-color: #fff;
}

tr, td, th
{
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #000;
}

th
{
  background-color: #000;
  color: #fff !important;
}

.hidden
{
  display: none;
}

/* forms */

input,
button,
textarea,
select
{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #ddd;
}

button h3
{
  color: #fff;
}

textarea
{
  min-height: 100px;
  min-width: 100%;
  max-width: 100%;
  font-size: 0.8em;
  text-align: left;
}

input:focus,
{
  outline: 0px;
  background-color: #ccc;
}

input[type=submit],
button
{
  margin-top: 10px;
  margin-bottom: 10px;
  height: 40px;
  border-radius: 5px;
  background: #42698c;
  color: #fff;
  box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

input[type=submit]:hover,
button:hover
{
  cursor: pointer;
  background-color: #42698c
  color: #fff;
}

input[type=submit]:focus,
button:focus
{
  background: #ccc;
  background-color: #42698c
  color: #fff;
}

.smallbutton
{
  display: block;
  text-align: center;
  padding-bottom:20px;
  padding-top:5px;
}

.smallbutton:hover
{
  cursor: pointer;
}

/* Universal */

.bgcolor
{
  background-color: #c3d3e2;
  border-radius: 5px;
}

.red
{
  color: #ff0000 !important;
}

.orange
{
  color: rgb(255, 176, 0)orange !important;
}

.yellow
{
  color: rgb(226, 210, 0)yellow !important;
}

.green
{
 color: #1ba21b !important;
}

.bigger
{
  font-size: 1.5em;
}

.smaller
{
  font-size: 0.8em;
}

.bgcolor * {
  color: #000;
}

.darkcolor
{
  background-color: #000; !important;
}

.reliefin{
  padding: 20px;
  border-radius: 5px;
  background-color: #fff !important;
  box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.center
{
  text-align: center;
}

.inline {
  display: inline-block;
  margin: 5px;
}

/* Elements */
.login-container
{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

}

.login
{
  border-radius: 5px;
  max-width: 300px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.login div
{
  padding: 20px;
}

.nav
{
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tablet
{
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #eee;
  color: #fff;
  box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.widget table
{
  width:100%;
}

.tablet div div,
{
  padding: 10px;
  background: none;
  box-shadow: none;
}

.tablet .head,
.tablet .head
{
  text-align: center;
  margin-bottom: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  background-color: #fff !important;
}

.tablet div h3,
.tablet div h3
{
  font-size: 11pt;
}

.main
{
  background: #fff;
}

.content
{
  display: grid;
  grid-template-columns: 200px auto;
  border-radius: 5px;
}

.inner-content
{
  display: grid;
  grid-template-columns: 30% 70%;
  border-radius: 5px;
}

.widget
{
  padding: 20px;
}

.scroll
{
  overflow-y: scroll;
  height: 100vh;
}

.header {
  position: -webkit-sticky;
  position: sticky;
  top:0;
}

.header .datecelect {
  padding: 5px;
  padding-left: 20px;
  background-color: #000;
  position: -webkit-sticky;
  position: fixed;
}

.header div div {
  padding: 5px;
  padding-left: 20px;
  background-color: #42698c;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: #fff;
}

.header * {
  color: #fff;
}

.monthnav {
  display:grid;
  grid-template-columns: auto auto auto;
}

.monthnav div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.summaryspread
{
  overflow-x: scroll;
  width:calc(100vw - 200px);
}

.summaryspread .widget
{
  padding: 0px;
}

.summaryspread .historytablet
{
  margin: 0px;
  border-radius: 0px;
  box-shadow: none;
}

.graycolumn {
  background-color: #eee !important;
  box-shadow: none;
  border-bottom: solid 2px #aaa;
  border-right: solid 2px #aaa;
}

.whitecolumn {
  background-color: #fff  !important;
  box-shadow: none;
  border-bottom: solid 2px #aaa;
  border-right: solid 2px #aaa;
}

.top-widget
{
  padding: 20px;
  margin-left: 10px;
  border-top-left-radius: 20px;
}

.historytablet
{
  min-width: 500px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  background: #eee;
  box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
}

.noteform
{
  width: 100%;
  display: grid;
  grid-template-columns: 10% 10% 60% 10% 10%;
}

.noteform input
{
  margin: 0px;
  height: auto;
  padding: 5px;
  padding-left: 10px;
  text-align: left;
  box-shadow: none;
  border-radius: 0px !important;
}

.greenbutton
{
  color: #157815;
  margin: 0px;
  height: auto;
  padding-left: 10px;
  box-shadow: none;
  border-radius: 0px;
  background: none;
  background-color: #fff;
}

.greenbutton:hover
{
  color: #fff;
  box-shadow: none;
  background: none;
  background-color: #157815 !important;
}

.bgbutton
{
  color: #fff;
  margin: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  height: auto;
  padding-left: 10px;
  border-radius: 0px;
  background: none;
  background-color: none;
  border-style:solid;
  border-color: #C2A1FF;
  border-width: 1px;
}

.bgbutton:hover
{
  background: none;
  color: #000;
  background-color: #C2A1FF !important;
}

.markupform
{
  margin-top: 10px;
  width: 100%;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: calc(33% - 5px) calc(33% - 5px) calc(33% - 5px);
}

.redbutton
{
  color: #ff0000;
  margin: 0px;
  height: auto;
  padding-left: 10px;
  border-radius: 0px;
  background: none;
  background-color: #fff;
  box-shadow: none;
}

.redbutton:hover
{
  background: none;
  background-color: #ff0000 !important;
  color: #000;
}

.dropdown
{
  color: #000;
  margin: 0px;
  height: auto;
  padding-left: 10px;
  border-radius: 0px;
  background: none;
  background-color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: none;
}

.dropdown:hover
{
  background-color: #ccc;
  color: #000;
}

.yellowbutton
{
  color: #ddba00;
  margin: 0px;
  height: auto;
  padding-left: 10px;
  border-radius: 0px;
  background-color: #fff;
  box-shadow: none;
}

.yellowbutton:hover
{
  background-color: #ecd34c !important;
  color: #000;
}

.eventtablet
{
  font-size: 0.8em;
  display: grid;
  padding-top: 5px;
  padding-bottom: 5px;
  grid-template-columns: 60% 20% 20%;
  min-width: 500px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 0;
  background-color: #ddd;
}

.eventtablet div
{
  padding-left: 10px;
}

.no_del_eventtablet
{
  font-size: 0.8em;
  display: grid;
  padding-top: 5px;
  padding-bottom: 5px;
  grid-template-columns: 80% 20%;
  min-width: 400px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 0;
  background-color: #ddd;
}

.no_del_eventtablet div
{
  padding-left: 10px;
}

.leave
{
  color: #ffb300;
  border-top: 2px solid #ffb300;
  border-bottom: 2px solid #ffb300;
}

.sickness
{
  color: #ff7878;
  border-top: 2px solid #ff7878;
  border-bottom: 2px solid #ff7878;
}

.phones_only
{
  display: none;
}

.employees_list .element {
  margin-bottom: 10px;
  padding: 5px;
  background-color: #eee;
  display:grid;
  grid-template-columns: 50% auto;
}

.mobilemenu{
  display: none;
}
.desctopmenu{
  display: block;
}

@media screen and (max-width: 1200px) {

  .inner-content
  {
    grid-template-columns: auto;
    border-radius: 5px;
  }

  .scroll
  {
    overflow-y:auto;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .mobilemenu{
    display: block;
  }
  .desctopmenu{
    display: none;
  }
  .main_menu {
    display: none;
  }
  .employees_list .element{
    grid-template-columns: auto;
  }

  .phones_only
  {
    display:block;
  }

  .summaryspread{
    display: none;
  }

  .monthnav{
    display: none;
  }

  .login-container
  {
    display: flex;
    background-color: #eee;
  }

  .login
  {
    max-width:300px;
    width: 100%;
  }

  .content
  {
    grid-template-columns: auto;
    border-radius: 5px;
  }

  .eventtablet
  {
    grid-template-columns: auto;
    min-width: 100px;
  }

  .historytablet
  {
    min-width: 100px;
  }

  .noteform
  {
    width: 100%;
    display: grid;
    grid-template-columns: auto;
  }
}
