/*

TABLE OF CONTENTS:
    1. Basic Styles
    2. Form
    3. Button
    4. Login
    5. Main Page
    6. Notify Blocks
    7. Lists
    8. Pagination
    9. Center Item
   10. Chosen
   11. Datalist
   12. Toggle Switch
   13. fs-small
*/

/*==============================================================================
1. Basic Styles
==============================================================================*/
html {
  min-height: 100%;
  height: 100%;
  overflow-x:hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  min-height: 100%;
  height: 100%;
  overflow-x:hidden;
}

.inner-title h4 {
  margin-bottom: 0px;
}

form, textarea {
  width: 100%;
}

.align-right {
  text-align: right;
}

/*==============================================================================
2. Form
==============================================================================*/
.form-element,
.form-list {
  width: 100%;
  margin-bottom: 1rem;
}

.form-input {

}

.form-input > input, .form-input > select {
  height: 42px;
}

.form-input > input, .form-input > select, .form-input > textarea {
  padding-left: 7px;
  width: 100%;
  font-size: 22px;
  outline: 0;
  background: #fff;
  border-radius: 4px;

  border: 1px solid #e7e7e8;
  border-bottom: 3px solid #e7e7e8;
}

.form-input > textarea {
  min-height: 100px;
}

.form-input > input:focus, .form-input > select:focus, .form-input textarea:focus {
  border-color: #bdbdbd;
}

.form-input > input.has-unit {
  padding-right: 50px;
}

.form-input .error, .form-input .error ~ .chosen-container a.chosen-single {
  border-color: #fbc8c8;
}

.form-error {
  color: #ff5a5a;
}

.input-unit {
  position: absolute;
}

.form-input select::-ms-expand {
  display: none;
}

.form-input select {
  background: url(../images/icons/navigate_close.png) no-repeat right 2px center;
  background-size: 20px 20px;
  background-color: #fff;
  -moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
  padding-right: 30px;
}

.form-input > input:disabled, .form-input > select:disabled, .form-input > textarea:disabled {
  background: #f9f9f9;
  border-bottom-color: #d2d2d2;
  color: #9a9a9a;
}

input[type=time], input[type=date] {
  -moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
}

.form-list .form-list-container {
  width: 100%;
  border: 1px solid #e7e7e8;
}

.form-list .form-list-template {
  display: none;
}

.form-list-button-container {
  text-align: center;
}

.form-list-button-container label {
  width: 100%;
}

.form-list .row {
  margin: 0px 0px;
  padding: 10px 0px;
}


.form-list .row:nth-child(odd) {
  background: #edf1f3;
}



/*==============================================================================
3. Button
==============================================================================*/
.button {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}

.button-md {
  padding: .425rem .85rem;
	font-size: 1.2rem;
}

.button-lg {
  padding: .5rem 1rem;
  font-size: 1.5rem;
}

.button-1 {
  color: #ffffff;
  background-color: #53b5f5;
}

.button-2 {
  color: #53b5f5;
  background-color: #ffffff;
  border-color: #53b5f5;
}

.button-3 {
  background: transparent;
  border-color: #53b5f5;
  color: #53b5f5;
}

.button-1:hover {
  background-color: #409ed6;
}

.button-2:hover, .button-3:hover {
  background: #53b5f5;
  color: #ffffff;
}

.button-full-size {
  width: 100%;
}

.button-full-height {
  height: 100%;
}

.icon-delete {
  background: url(../images/icons/cross.svg);
}

.icon-plus {
  background: url(../images/icons/plus.svg);
}

.icon-button {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-color: #53b5f5;
}

/*==============================================================================
4. Login
==============================================================================*/
@media screen and (max-height: 420px) {
  .login-header {
    display: none;
  }

  .login-body {
    padding: 15px 30px !important;
  }
}

.login-section {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9fd7f9;
  background: radial-gradient( #ffffff 0%, #ffffff 100px, #9fd7f9 100%);
}

.login {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 400px;
  width: 100%;
}

.login-container {
  border: 1px solid #d2ebfb;
  width: 100%;
}

.login-header, .login-body {
  padding: 30px;
}

.login-header {
  background: #d2ebfb;
}

.login-header h6 {
  margin-bottom: 0px;
  color: #828282;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

.login-header h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  margin-bottom: 7px;
  color: #828282;
}

.login-body {
  background: #fff;
}

/*==============================================================================
5. Menu
==============================================================================*/
.menu-sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background: #9fd7f9;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100px, #9fd7f9 100%);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 100px;
}

.menu-sidebar ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.menu-sidebar a,
.menu-sidebar form {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #454545;
  display: block;
  transition: 0.3s;
}

.menu-sidebar a:hover {
  color: #ffffff;
  background: #53b5f5;
}

.menu-sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.menu-toggle {
  display: inline-block;
  cursor: pointer;
}

.mt-bar-1, .mt-bar-2, .mt-bar-3 {
  width: 35px;
  height: 5px;
  background-color: #53b5f5;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2.5px;
}

.active .mt-bar-1 {
  -webkit-transform: rotate(-45deg) translate(-8px, 7px);
  transform: rotate(-45deg) translate(-8px, 7px);
}

.active .mt-bar-2 {
  opacity: 0;
}

.active .mt-bar-3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

/*==============================================================================
5. Main Page
==============================================================================*/

.main-container {
  width: 100%;
  transition: 0.5s;
}

.main-container header {
  width: 100%;
  height: 100px;
  background: #9fd7f9;
  background: linear-gradient(90deg, #ffffff 0%, #9fd7f9 100%);
}

.main-container main {
  width: 100%;
  padding-bottom: 30px;
}

.main-container header > div {
  height: 100%;
}

.main-container header .header-left {
  width: 95px;
  float: left;
  padding: 30.5px 30px;
}

.main-container header .header-right {
  width: calc( 100% - 95px );
  float: right;
}

.main-container header .header-firma {
  width: calc( 100% - 100px );
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: right;
  text-align: right;

  float: left;
}

.main-container header .header-logo {
  width: 100px;
  height: 100px;
  float: right;
  padding: 17px;
}

.main-container header .logo-container {
  width: 66px;
  height: 66px;
  background: #f3f3f3;
  border-radius: 50%;
}

.main-container header .header-firma ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  text-align: right;
  color: #454545;

  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.main-container header .header-firma li {
  white-space: nowrap;
}

.main-container header .header-firma .firma {
  font-size: 24px;
}

.main-container header .header-firma .benutzer {
  font-size: 20px;
}

@media screen and (max-width: 424px) {
  .main-container header .header-logo {
    display: none;
  }

  .main-container header .header-firma {
    width: 100%;
    padding-right: 15px;
  }
}

@media screen and (max-width: 767px) {
  .main-container header .firma-long .header-logo {
    display: none;
  }

  .main-container header .firma-long .header-firma {
    width: 100%;
    padding-right: 15px;
  }
}

/*==============================================================================
6. Notify Blocks
==============================================================================*/

.notif-block {
  width: 100%;
  padding: 10px;
  border-width: 2px;
  border-style: solid;
  border-radius: .25rem;
  text-align: center;
}

.notif-block.error {
  border-color: #fbc8c8;
  color: #ff5a5a;
  box-shadow: 2px 2px 3px -1px #ef6868;
  font-weight: 600;
}


/*==============================================================================
7. Lists
==============================================================================*/
.list-container,
.list-item {
  width: 100%;
}

.list-item {
  padding: 10px 0px;
  display: block;
}

.list-item:nth-child(odd) {
  background: #e4f3fd;
}

.list-item ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.list-item-content .erstellt {
  font-size: 0.7rem;
}

.list-item-content ul li {
  display: inline-block;
  padding-right: 1rem;
}

.list-item-content {
  padding: 0 .75rem;
}

.list-item-content ul li:first-child::after {
  content: ": ";
}

.list-table > .list-item {
  padding: 10px 10px;
}

/*==============================================================================
8. Pagination
==============================================================================*/
.pagination {
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard syntax */
}

.pagination ul {
  list-style: none;
  padding: 15px 0;
  margin: 0 auto;
  width: 300px;
}

.pagination ul li {
  display: inline-block;
  width: 60px;
  padding: 0px;
  text-align: center;
}
.pagination ul li a {
  background: #ffffff;
  border: 1px solid #53b5f5;
  color: #53b5f5;
  display: inline-block;
  font-size: 1.2rem;
  line-height: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: .25rem;
  padding: 0 11px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pagination ul li a.disabled {
  cursor: default;
}

/*==============================================================================
9. Center Item
==============================================================================*/
.center-item-container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}


.center-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
}


/*==============================================================================
10. Chosen
==============================================================================*/

.chosen-container {
  width: 100% !important;
}

.chosen-container a.chosen-single {
  background-size: 20px 20px;
  background: #ffffff;
  background-color: #fff;
  padding-right: 30px;
  outline: 0;
  padding-left: 7px;
  border-radius: 4px;
  border: 1px solid #e7e7e8;
  border-bottom: 3px solid #e7e7e8;
  height: 42px;
}

.chosen-container a.chosen-single span {
  font-size: 22px;
  line-height: 38px;
  color: #000000;
}

.chosen-container-active.chosen-with-drop a.chosen-single {
  background: #ffffff;
  border: 1px solid #e7e7e8;
}

.chosen-container .chosen-results {
  font-size: 18px;
}

.chosen-container .chosen-results li {
  padding: .4rem .2rem;
  line-height: 18px;
}

.chosen-container .chosen-drop {
  border: 1px solid #e7e7e8;
  border-top: 0;
}

.chosen-container-single .chosen-search input[type="text"] {
  border: 1px solid #e7e7e8;
}

.chosen-container-single .chosen-single div b {
  background: url("../images/icons/navigate_close.svg");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background: url("../images/icons/navigate_open.svg");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.chosen-container-single .chosen-single abbr {
  position: absolute;
  top: 12px;
  right: 26px;
  display: block;
  width: 18px;
  height: 18px;
  background: url(../images/icons/navigate_cross.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.chosen-container-single .chosen-single abbr:hover {
  background: url(../images/icons/navigate_cross.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

/*==============================================================================
11. Datalist
==============================================================================*/
.rm-datalist-container {
  max-height: 190px;
  overflow-y: auto;
}

.rm-datalist.open {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.rm-datalist-container.active {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/*==============================================================================
12. Toggle Switch
==============================================================================*/
.toggle-switch-container {
  white-space: nowrap;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e7e7e8;
  border-radius: 24px;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle-switch span:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle-switch input:checked + span {
  background-color: #53b5f5;
}

.toggle-switch input:focus + span {
  box-shadow: 0 0 1px #53b5f5;
}

.toggle-switch input:checked + span:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*==============================================================================
13. fs-small
==============================================================================*/
body.fs-small {
  font-size: 0.8rem;
}

body.fs-small .form-input > input,
body.fs-small .form-input > select,
body.fs-small .form-input > textarea {
  font-size: 18px;
}

body.fs-small .chosen-container a.chosen-single span {
  font-size: 18px;
  line-height: 34px;
}

body.fs-small .chosen-container-single .chosen-single abbr {
  top: 8px;
}

body.fs-small .chosen-container .chosen-results  {
  font-size: 16px;
}

body.fs-small .form-input > input,
body.fs-small .form-input > select,
body.fs-small .chosen-container a.chosen-single {
  height: 36px;
}