/*
  @author ludwigfriborg
  @year 2017

  This is the master file handling overal design of the application.
*/

/*
Color template:
  blue: #00a5e1
  dark blue: #007BA8
*/

*{
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

body{
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background: #222;
}

h1{
  font-family: 'Open Sans', 'Roboto', sans-serif;
}

a{
  text-decoration: none;
  color: inherit;
}

p{
  line-height: 1.1;
}

input[type=checkbox]{
  vertical-align: middle;
}

.left{
  float: left;
}

.right{
  float: right;
}

.main{
  padding: 0;
  padding-top: 5.5rem;
  padding-bottom: 1rem;
  margin: 0;
  width: 100%;
  z-index: -1;
  background: #363636;
}
/*Placement wrapper correcting right width and height of the page*/
.wrapper{
  width: 100%;
  max-width: 1295px;
  min-width: 960px;
  box-sizing: border-box;
  padding: 0 2rem;
  margin: auto;
}


/*Box class makes elements look like nice boxes*/
.box, .dark-box{
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 0.35rem;
}

.dark-box{
  box-shadow: none;
  background: rgba(0,0,11,0.7);
  box-shadow:0 0.1rem 0.2rem rgba(0,0,0,0.45);
  color: #fff;
}

.dark-box,
.dark-box .pure-g [class*="pure-u"]{
}

.dark-box h1:last-child{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.dark-box span{
  font-family: 'Roboto', sans-serif;
}

.dark-box input,
.dark-box textarea{
  color: #000;
}

.dark-box .label{
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  margin-bottom: 0.25rem;
  letter-spacing: 0.03rem;
  color: #aaa;
}

.pronounced-box{
  box-shadow: 0 0.1rem 0.4rem rgba(0,0,0,0.4);
  box-sizing: border-box;
  border-radius: 0.35rem;
  padding: 0rem;
  color: #000;
  margin: 1rem 0;
}

.center-text {
  text-align: center;
}

.pure-g,
.pure-g [class*=pure-u]{
  font-family: inherit;
}

.pure-form input,
.pure-form textarea,
.pure-form select{
  font-family: 'Roboto', sans-serif !important;
}

.pure-form select{
  padding: 0;
}
.pure-form select > option{
  padding: 0.5rem 0.6rem;
}

/*-----------------------------------------------------*/
/* header */
/*-----------------------------------------------------*/
header{
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

header a{
  text-decoration: none;
  box-sizing: border-box;
}

header .logo, header .nav-item{
  display: inline-block;
  color: inherit;
  font-weight: 100;
}

header .logo span{
  font-size: inherit;
}

/* main nav */
header .nav{
  background: #222;
  color: #fff;
  overflow: auto;
  text-transform: uppercase;
}

header .left, header .right{
  height: 100%;
  overflow: hidden;
}

header .nav .logo{
  font-size: 18px;
  font-weight: 100;
  vertical-align: baseline;
}

header .nav .nav-item{
  padding: 0.8rem;
  padding-top: 1.2rem;
  font-size: 16px;
  height: 100%;
}

header .nav .nav-item:hover{
  background: #444;
  background: #00a5e1;
  color: black;
}

header .nav .nav-item:hover .logo-iso{
  color: black !important;
}

/* sub nav */
header .subnav{
  background: #444;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

header .subnav .nav-item{
  padding: 0.75rem;
  padding-top: 1rem;
  font-size: 14px;
  text-shadow: 1px 1px 0px #222;
}

header .subnav .nav-item:hover{
  background: #00a5e1;
  color: black;
  text-shadow: none;
}

/* user nav */
header .usernav{
  padding: 1rem;
  padding-top: 1.2rem;
  font-size: 14px;
  text-transform: none;
  cursor: pointer;
}

header .usernav a{
  color: #00a5e1;
}
header .usernav a:hover{
  color: #fff;
}
.user-nav-action:hover{
  color: #00a5e1;
}
.usernav .menu{
  position: absolute;
  padding: 10px 20px;
  background: #fff;
  width: 200px;
  box-sizing: 0 5px 25px rgba(0,0,0,0.1);
  border-radius: 15px;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
  z-index: 1024;
  top: 40px;
}
.usernav .menu.active{
  visibility: visible;
  opacity: 1;
}
.usernav .menu::before{
  content: '';
  position: absolute;
  top: -1px;
  right: 123px;
  width: 18px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}
.usernav .menu h3{
  width: 100%;
  text-align: center;
  font-size: 18px;
  padding: 20px 0;
  font-weight: 500;
  font-size: 18px;
  color: #555;
  line-height: 1.2em;
}
.usernav .menu h3 div{
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  /* opacity: 0.5; */
  transition: 0.5s;
  cursor: pointer;
  left: 33%;
}
.usernav .menu h3 div img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.usernav .menu h3 span{
  position: relative;
  font-size: 14px;
  font-weight: 400;
  /* color: #cecece; */
}

.usernav .menu ul li{
  list-style: none;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  cursor: pointer;
}
.usernav .menu ul li img{
  max-width: 20px;
  margin-right: 10px;
  opacity: 0.5;
  transition: 0.5s;
  cursor: pointer;
}
.usernav .menu ul li:hover img{
  opacity: 1;
}
.usernav .menu ul li a{
  display: inline-block;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: 0.5s;
  cursor: pointer;
}
.usernav .menu ul li:hover a{
  color: #00a5e1;
}
/*-----------------------------------------------------*/
/* content */
/*-----------------------------------------------------*/
.top-panel, .main-panel{
  background: #efefef;
  color: #000;
  margin: 1rem 0;
}

.main-panel:after{
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.top-panel{
  margin-top: 2rem;
}

.main-panel > h1{
  margin-top: 0;
}

.main-panel .sub-header{
  font-size: 1.25rem;
  margin: 1rem 0;
  margin-top: 2rem;
  font-weight: bold;
}

.pure-form span{
  padding-bottom: 0.5rem;
}

.page-message{
  border-radius: 0.25rem;
  background: #dedede;
  color: #000;
  text-shadow: 1px 1px 0px #eee;

  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  padding: 0.5rem;
  display: inline-block;
  margin: auto;
  margin-top: 1rem;
  text-align: center;
}

/*-----------------------------------------------------*/
/* partials */
/*-----------------------------------------------------*/
.datepicker-dropdown {
  box-shadow: 0 0.05rem 0.1rem rgba(0,0,0,0.65);
}
.datepicker-top-left, .datepicker-top-right {
  border-top-color: #1aa3de;
}
.datepicker-top-left:before, .datepicker-top-right:before {
  border-bottom-color: #39f;
}
.datepicker-panel > ul > li {
  font-size: 0.75rem;
  font-family: 'Open sans', 'Roboto', monospace;
  color: #000;
  box-sizing: border-box;
  padding: 0.25rem;
  padding-bottom: 0;
  line-height: 21px;
}
.datepicker-panel > ul[data-view='years'] > li,
.datepicker-panel > ul[data-view='months'] > li {
  line-height: 44px;
  width: 70px;
}
.datepicker-panel > ul[data-view='week'] {
  font-weight: bold;
}
.datepicker-panel > ul > li:hover,
.datepicker-panel > ul > li.highlighted {
  border-radius: 0.35rem;
  background: #eee;
}
.datepicker-panel > ul > li.highlighted:hover {
  background: #f3f3f3;
}

.pagination{
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
}

.pagination a {
  color: black;
  padding: 6px 12px;
  text-decoration: none;
  text-shadow: 0 1px 1px rgb(142 121 121 / 20%);
  box-shadow: 0 0.05rem 0.1rem rgb(111 109 109 / 65%);
  border-radius: 5px;
  margin-left: 4px;
  background-color: #fff;
}

.pagination a.active {
  background-color: #00a5e1;
  color: white;
  border-radius: 5px;
  border: 2px solid black;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

.square{
  font-size: inherit;
  height: 1em;
  width: 1em;
  margin-left: 1em;
  box-shadow: 1px 1px 0.125em rgba(0, 0, 0, 0.35);
  border-radius: 0.35em;
  border: thin solid rgba(0,0,0,0.3);
}

/*-----------------------------------------------------*/
/* List */
/*-----------------------------------------------------*/
.list{
  padding: 0.5;
  overflow: hidden;
  box-sizing: border-box;
  border: none;
  border-radius: 0.3rem;
  background: #f5f5f5;
  box-shadow: 0 0.05rem 0.3rem rgba(0,0,0,0.5);
}

.list .item-descriptor{
  min-height: 1rem;
  text-transform: capitalize;
  padding: 1rem;
  font-weight: bold;
  background: #fff;
  border-bottom: solid 2px rgba(0, 0, 0, 0.125);
}

.list .item{
  padding: 1rem;
  border-bottom: solid thin rgba(0, 0, 0, 0.125);
  border-top: none;
  min-height: 1rem;
}

.list .item:hover{
  background: rgba(0, 0, 0, 0.05);
}

.list .item::after{
  clear: both;
}

.list .item:last-child{
  border-bottom: none;
  margin-bottom: 0;
}

.list .item span{
  font-size: 0.75rem;
  font-weight: bold;
  padding-top: 0.2rem;
}

.list .item h2 a{
  color: inherit;
  margin-left: 0;
  text-transform: inherit;
}

.list .item a{
  color: #777;
  font-size: inherit;
  text-transform: uppercase;
  margin-left: 1rem;
  cursor: pointer;
}

.list .item a:hover{
  color: #999;
  text-decoration: underline;
}

.list .item .list-label{
  vertical-align: top;
  background: #000;
  color: #fff;
  padding: 0.2rem;
  border-radius: 0.25rem;
}

.list .item .material-icons{
  margin-top:-7px;
}

.list .floated-select{
  vertical-align: top;
  margin-top: -0.5rem;
}

#user-list .item.inactive, .inactive-label{
  display: none;
}

#user-list .item .stars i.material-icons{
  font-size: 0.75rem;
  vertical-align: middle;
  padding-top: 0.25rem;
}

/*-----------------------------------------------------*/
/* forms */
/*-----------------------------------------------------*/
.pure-button.insert-button{
  margin-top: 1.3em;
  margin-left: 0;
}

.pure-button.icon-button .material-icons{
  font-size: 1rem;
  vertical-align: middle;
}

.default-form{
  color: #000;
  text-shadow: 1px 1px 0px #eee;
}


.default-form .input-items{
  border-top: solid thin #eee;
  box-shadow: 0 0.05rem 0.3rem rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  padding: 0;
  background: #efefef;
}

.default-form .input-items .item-divider {
  padding: 0;
  border-bottom: solid thin #d2d2d2;
  margin: 0;
}

.default-form .input-items .profile-image-container {
  text-align: center;
  padding: 1.5rem;
  box-sizing:border-box;
  border-left: solid thin #d2d2d2;
}

.default-form .input-items .profile-image {
  border: solid thin #d2d2d2;
  max-width: 282px;
  max-height: 282px;
  width: auto;
}

.default-form .input-items .item{
  border-bottom: solid thin #d2d2d2;
  padding: 0.35rem;
  overflow: hidden;
}

.default-form .input-items .item:last-child{
  border-bottom: none;
}

.default-form .input-items .item .pure-g{
  margin-bottom: 0;
}

.default-form .item h2{
  padding: 0.5rem;
  box-sizing: border-box;
  margin: 0;
}

.default-form .item input{
  box-sizing: border-box;
  padding: 0.5rem;
}

.default-form .item input[type=radio]{
  vertical-align: middle;
}

.default-form .item textarea{
  min-height: 125px;
}

.default-form textarea{
  width: 100%;
}

.default-form .checkbox-big{
  margin-top: 0.4rem;
  width: 1.25rem;
  height: 1.25rem;
}

/*default drawer*/
.default-drawer{
  margin-bottom: 0;
}

.default-drawer-header{
  box-sizing: border-box;
  vertical-align: inherit;
  padding: 1rem;
  font-weight: bold;
  border-top: solid thin rgba(0,0,0,0.2);
}

.default-drawer-header:hover{
  background: rgba(0,0,0,0.05);
}

.edit .default-drawer-header:hover{
  cursor: pointer;
}

.default-drawer-content{
  background: rgba(0,0,0,0.02);
  display: none;
  border: solid thin rgba(0, 0, 0, 0.05);
  font-weight: normal;
  margin-bottom: 0 !important;
  padding: 1rem;
}

.default-drawer-content .title-text{
  box-sizing: border-box;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.default-drawer-content .title-text:first-child{
  margin-top: 0;
}

.checkbox-row{
  padding-bottom: 0.2rem;
  text-align: left;
}

/*
.default-form button{
  border-radius: 0.25rem;
  background: #00a5e1;
  box-shadow: 0 0rem 0.5rem rgba(0, 0, 0, 0.25);
  border: solid thin rgba(0,0,0,0.25);

  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;

  width: 8rem;
  padding: 0.65rem;
  margin: auto;
  margin-right: 1rem;
}

.default-form button.error{
  background: rgb(202, 60, 60);
}

.default-form button:hover{
  opacity: 0.7;
}*/
.pure-button.upload {
  position: relative;
  background: #666;
  min-width: 150px;
}
.pure-button.upload:hover{
  background: #888;
  cursor: pointer;
}

.pure-button.upload input{
  opacity: 0;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.pure-button.upload input:hover{
  cursor: pointer;
}

.pure-button.default{
  background: #666;
  font-size: 0.75rem;
}

.pure-button.error{
  background: rgb(202, 60, 60);
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.pure-button.aside-head{
  margin-top: 1.5rem;
}

.top-panel .pure-button.aside-head{
  margin-top: 2.5rem;
}

.button-row-right{
  text-align: right;
}

.pure-form label{
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0.25rem 0;
  margin-left: 0.2rem;
  vertical-align: top;
  display: inline-block;
}

.pure-form p{
  line-height: 1.2;
}

.pure-form .pure-g{
  margin-bottom: 1.5rem;
}

.pure-form select.default{
  font-size: 0.75rem;
}

.pure-form input.default{
  font-size: 0.75rem;
}

.pure-button{
  background: #00a5e1;
  color: #fff;
  margin-left: 1rem;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.05rem 0.1rem rgba(0,0,0,0.65);
}
.pure-button:first-child{
  margin-left: 0;
}

.pure-button.right:last-child{
  margin-right: 0;
}

.pure-button:hover{
  opacity: 0.7;
}

.form-actions{
  text-align: right;
}

.cke_top span{
  padding-bottom: 0rem;
}

/*-----------------------------------------------------*/
/* footer */
/*-----------------------------------------------------*/

footer{
  position: relative;
  color: #777;
  font-weight: 100;
  overflow: visible;
  padding: 0;
  padding-top: 2rem;
  padding-bottom: 8rem;

  font-family: 'Open Sans', sans-serif;
}

footer .footer-link{
  margin-left: 0.75rem;
}
footer .footer-link:hover{
  color: #ddd;
}

footer .langselector{
  position: relative;
  cursor: pointer;
}
footer .langselector .material-icons{
  vertical-align: bottom;
  font-size: 1.1rem;
}
footer .langselector:hover .langs{
  display: block;
  width: 5rem;
}
footer .langselector .langs{
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: none;
  padding-bottom: 0.5rem;
}
footer .langselector .langs a{
 background: #333;
  text-align: left;
  display: block;
  border: solid thin rgba(255,255,255,0.3);
  border-bottom: none;
  cursor: pointer;
  padding: 0.25rem;
  padding-right: 0.5rem;
}
footer .langselector .langs a .material-icons{
  color: #888;
}
footer .langselector .langs a:last-child{
  border-bottom: solid thin rgba(255,255,255,0.3);
}
footer .langselector .langs a:hover{
  background: rgba(255,255,255,0.13);
}


/*-----------------------------------------------------*/
/* Logs */
/*-----------------------------------------------------*/
#overview_description{
  position: relative;
  padding-right: 4rem;
  box-sizing: border-box;
  min-height: 4rem;
}

#overview_description .view h2{
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

#overview_description textarea.edit{
  width: 100%;
  height: 100px;
  display: none;
}

#overview_description .toolbar{
  position: absolute;
  top: 0rem;
  right: 0rem;
}

#overview_description .toolbar .pure-button{
  font-size: 0.55rem;
}

#overview_description .toolbar > .save-button,
#overview_description .toolbar > .close-button,
#overview_description .toolbar > .archive-button{
  display: none;
}

#overview_description .toolbar > div:hover{
  cursor: pointer;
}


/*-----------------------------------------------------*/
/* Documents */
/*-----------------------------------------------------*/
#document_statistic #loading{
  padding-right: 0.5rem;
  display: inline;
}

.user-survey {
  padding-bottom: 2rem;
}
.user-survey h1{
  font-size: 1.5rem;
  margin: 1rem 1rem;
}

.statistics_questions .question{
  display: block;
  position: relative;

  padding: 1rem;
  background: #f5f5f5;
  border: solid thin #ddd;
  border-bottom-width: 2px;
  margin-bottom: 1rem;
}

.statistics_questions .question h2{
  font-size: 1.5rem;
}

.statistics_questions .text-question .question-area{
  max-height: 400px;
  min-height: 200px;
  overflow-y: scroll;
}

.statistics_questions .text-question .preview-area,
.statistics_questions .info-popup .info{
  background: #fbfbfb;
  box-shadow: inset 0 0.1rem 0.4rem rgba(0,0,0,0.25);
}

.statistics_questions .answer{
  display: inline-block;
  cursor: help;
}

.statistics_questions .info-popup{
}

.statistics_questions .info-popup .comment{
  color: #fff;
  background: #555;
  box-shadow: 0 0.1rem 0.4rem rgba(0,0,0,0.5);
  border-radius: 0.5rem;
  padding: 1rem 0;
  width: 6rem;
  margin: 1rem 0;
  margin-right: 1rem;
  display: inline-block;
  text-align: center;
}
.statistics_questions .info-popup .comment .material-icons{
  vertical-align: middle;
}
.statistics_questions .info-popup:focus{
  outline: none;
}
.statistics_questions .info-popup:hover .comment{
  background: #777;
}
.statistics_questions .info-popup:focus .comment{
  box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.5);
  background: #999;
}

.statistics_questions .info-popup .info{
  display: none;
}
.statistics_questions .info-popup:hover .info,
.statistics_questions .info-popup:focus .info{
  display: block;
  position: absolute;
  top: 0rem;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow-y: scroll;

  box-sizing: border-box;
  padding: 2rem;
}


/*-----------------------------------------------------*/
/* Common elements */
/*-----------------------------------------------------*/
.download-link{
  font-weight: bold;
  color: #333;
}
.download-link:hover{
  color: #888;
}
.clearfix:after{
  content: "";
  display: table;
  clear: both;
}

.trashcan{
  cursor: pointer;
}

.trashcan:hover{
  color: rgba(255, 0, 0, 0.9);
}

.trashcan:active{
  color: rgba(255, 0, 0, 0.4);
}

.icon-edit{
  cursor: pointer;
}

.icon-edit:hover{
  color: rgba(255, 0, 0, 0.9);
}

.icon-edit:active{
  color: rgba(255, 0, 0, 0.4);
}

.toast-top-right{
  top: 3rem;
  min-width: 300px;
  max-width: 500px;
  width: 50%;
}

#toast-container>div{
  width: 100%;
  opacity: 1;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.25);
}

.panel-tool-tip{
  text-align: center;
  font-size: 0.75rem;
  margin: 1rem 0;
  color: rgba(0,0,0,0.5);
}

.archive-button {
  background:#51A351;
}
.archive-list-button {
  background:#51A351;
}

.delete-button {
  background: rgb(202, 60, 60);
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.wide-large-button, .large-button{
  background: #fff;
  color: #666;
  box-sizing: border-box;
  box-shadow: 0 0.1rem 0.4rem rgba(0,0,0,0.5);
  display: inline-block;
  padding: 0;
  vertical-align: middle;
  margin: auto;
  margin-right: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.35rem;
}

.wide-large-button:hover, .large-button:hover{
  background: #ddd;
  cursor: pointer;
}

.wide-large-button:active, .large-button:active{
  background: #bbb;
}

.wide-large-button .material-icons, .large-button .material-icons{
  color: #999;
  display: block;
}

.large-button{
  height: 100px;
  width: 100px;
  text-align: center;
}
.large-button .material-icons{
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.wide-large-button{
  height: 100px;
  margin: 1rem;
  display: block;
  padding: 1rem;
}
.wide-large-button .material-icons{
  margin-top: 0.7rem;
  font-size: 3rem;
}
.wide-large-button .text{
  font-size: 1rem;
}
.wide-large-button .text .title{
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: bold;
  text-align: center;
}


.header-button{
  margin-top: 1.3em;
  margin-left: 0;
}

/* Manage Processes*/
.manage-processes-buttons .processtype .list-label.sub{background:#555;}
.manage-processes-buttons .processtype .list-label{
  text-transform: none;
}
.manage-processes-buttons .processtype:hover{
  text-decoration: none !important; /* WHY IS HTMLCSS SO BAD? */
}
.manage-processes-buttons .processtype:hover .list-label{
  background: #999;
}
.manage-processes-buttons a .material-icons{
  color: #000;
}
.manage-processes-buttons a .material-icons:hover{
  color: #555;
}
.list-group-item span.left{
  margin-right: 1rem;
}
.list-group-item span.left .material-icons{
  color: rgba(0,0,0,0.35);
}

.list-group-item span.left .material-icons:active{
  color: #00a5e1;
}

.list-group-item .handle{
  cursor: move;
}

.list-label {
  display: none;
}

/* Hidden menu */
.hidden-menu{
  display: none;

}

#edituserform .item {
  overflow: visible;
}

#adduserform .item {
  overflow: visible;
}

/* css for star rating */
.star-rating span, .ledning-order span {
  margin-right: 1rem;
}

.star-rating, .ledning-order {
  padding-top: 0.5rem;
}

.star-rating span.star > input[type=radio] , .ledning-order span.order > input[type=radio]{
  margin-left: 0.25rem;
  vertical-align: top;
}

/* info box in permissions */
.checkbox-row .info {
  display: inline;
  text-shadow: none;
  position: relative;
}

.checkbox-row .info i.material-icons{
  vertical-align: middle;
  color: #555;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-row .info-popup{display: none;}
.checkbox-row .info:hover .info-popup{
  display: block;
  box-sizing: border-box;
  position: absolute;
  bottom: 25px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  left: -0.9rem;
  right: 5rem;
  min-width: 350px;
}

.checkbox-row .info-popup .arrow{
  position: absolute;
  bottom: -10px;
  left: 12px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(0,0,0,0.75);
  display: block;
}


/* notice (tiny black popup when hover) */
.notice{
  position: relative;
  display: inline-block;
}
.notice > .hidden-block{
  display: none;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 0.35rem;
  background: rgba(0,0,0,0.9);
  position: absolute;
  bottom: 2rem;
  top: unset;
  left: -2rem;
  width: 12rem;
  color: #fff;
  font-weight: normal;
}
.notice > .hidden-block > .arrow-down{
  position: absolute;
  bottom: -0.5rem;
  left: 2.25rem;
  width: 0;
  height: 0;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-top: 0.5rem solid rgba(0,0,0,0.9);

  display: block;
}
.notice:hover > .hidden-block{
  display: block;
}

#notifications .entry:first-child .default-drawer-header{
  border-top: none;
}

.branches .item-descriptor.pure-g{
  margin-bottom: 0;
}
.branches .item-descriptor.pure-g span{
  padding-bottom: 0;
}
#list-branches .list-group-item{
  margin-bottom: 0;
  padding: 0.45rem;
}
#list-branches span{
  padding: 0.625rem;
  box-sizing: border-box;
}
#list-branches a{
  padding: 0.625rem;
  box-sizing: border-box;
  margin-left: 0;
  font-size: 0.75rem;
  font-weight: bold;
  color: #000;
}
#list-branches .text{
  margin: 0;
  padding: 0;
}
#list-branches .text .save-button{
  display: none;
}

/*togglebutton*/
.togglebutton{
  border-bottom: 0;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  border-bottom: solid thin rgba(0,0,0,0.075);
}
.togglebutton > .hide{
  display: none;
}

.togglebutton:hover{
  background: #eee;
  cursor: pointer;
}
.togglebutton:active, .togglebutton.pressed{
  z-index: 1005;
  background: #eee;
}
.togglebutton.pressed > .hide{
  display: inline-block;
}
.togglebutton.pressed > .material-icons{
  margin-top: -0.25rem;
  margin-right: 0;
}
.togglebutton.clear-all{
  text-transform: uppercase;
  font-weight: bold;
  background: rgba(0,0,0,0.7);
  color: #fff;
}
.togglebutton.clear-all:hover{
  background: rgba(0,0,0,0.5);
}

del {
  background: #FF6A60;
  color: #900;
  text-decoration: none;
  border-radius: 0.25rem;
  padding: 0 0.25rem;
}

ins {
  background: #4DFA90;
  color: #090;
  text-decoration: none;
  border-radius: 0.25rem;
  padding: 0 0.25rem;
}

.move-vertical{
  width: 1.2rem;
  margin-left: -1rem;
}

.settings > div{
  vertical-align: middle;
}

.statistics_questions .chartarea{
  height: 200px;
}

.select-access {
 margin-top: 2rem;
}
.select-access .sub-header:first-of-type {
  margin-top: 0;
}
.select-access .pure-u-1-3{
  padding: 0.4rem 0;
}
.select-access.disabled,
.select-access .pure-u-1-3.disabled {
  color:  rgba(0, 0, 0, 0.25);
}
.select-access input {
  vertical-align: baseline;
}
.select-access .disabled input,
.select-access .cosmetic{
  display: none;
}
.select-access .disabled .cosmetic{
  display: inline;
}

.new-file-user span, .new-file-log span{
  padding-left: 0.5rem;
  vertical-align: middle;
}
.new-file-user .material-icons, .new-file-log .material-icons{
  vertical-align: middle;
}
.new-file-user:hover, .new-file-log:hover{
  color: #ddd;
  cursor: pointer;
}
.files-list{
  padding-top: 1rem;
}

.admin-law-textarea .law-description{
  padding: 0.2rem;
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.2;
  box-sizing: border-box;
  border: solid thin rgba(0, 0, 0, 0.1);
  min-height: 77px;
  resize: vertical;
}


.company-rights input{
  margin-top: -0.3rem;
}

.sub-header .addicon {
  color: green;
  margin-left: 2rem;
}

.locations-list .create-new{
  padding: 0.25rem;
  margin: 1rem;
}
.locations-list .create-new input{
  font-weight: normal;
}
.locations-list .create-new .material-icons:hover{
  cursor: pointer;
}
.locations-list .create-new .addicon{
  margin-top: 0.45rem;
  float: right;
}
.selected{
  background: rgba(0, 0, 0, 0.05);
}
.moment-icon{
  border: rgb(139, 139, 139) thin solid;
  border-radius: 2px;
}

.controlpoint-list .create-new-controlpoint{
  padding: 0.25rem;
  margin: 1rem;
}
.controlpoint-list .create-new-controlpoint input{
  font-weight: normal;
}
.controlpoint-list .create-new-controlpoint .material-icons:hover{
  cursor: pointer;
}
.controlpoint-list .create-new-controlpoint .material-icons{
  margin-top: 0.45rem;
  margin-left: 1rem;
}

.moment-popup{
  position: relative;
  margin: auto;
  background: #efefef;
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.6);
  font-family: 'Roboto', sans-serif;
  margin-bottom: 5%;
  overflow: auto;
  width: 100%;
  max-width: 900px;
  min-width: 700px;
  box-sizing: border-box;
  top: 6rem;
  left: 6rem;
}

.moment-wrap{
z-index: 2;
position: fixed;
overflow: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
padding: 1rem;
z-index: 3;

display: none;
}
.moment-popup .date{
display: block;
padding-bottom: 1rem;
color: #999;
}
.moment-popup .elem{
padding-bottom: 2rem;
}
.moment-popup .elem-wrap{
margin-bottom: 3rem;
}
.moment-popup .elem-wrap h1{
border-top: none;
border-bottom: solid thin rgba(0,0,0,0.2);
}
.moment-popup .elem-wrap .elem .elem-moment{
  margin: 1rem;
}
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap{
  vertical-align: middle;
  position: relative;
}
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap input[type="radio"]{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
  width: 100%;
}
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap .checkbox{
  background: #fff;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  border-radius: 50%;
  box-shadow: inset 0px 0px 2px 0px #666;
  margin: -0.1rem 0.5rem;
}

.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap .checkbox.red.filled,
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap input[type="radio"]:checked ~ .checkbox.red{
  background: #FF4E32;
  box-shadow: 0px 1px 2px #b5b5b5;
}
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap .checkbox.green.filled,
.moment-popup .elem-wrap .elem .elem-moment .checkbox-wrap input[type="radio"]:checked ~ .checkbox.green{
  background: #34B23B;
  box-shadow: 0px 1px 2px #b5b5b5;
}

.moment-popup .moment-close{
bottom: 1rem;
right: 1rem;
}

.moment-wrap .create-new-moment{
  padding: 0.25rem;
  margin: 1rem;
}
.moment-wrap .create-new-moment input{
  font-weight: normal;
}
.moment-wrap .create-new-moment .material-icons:hover{
  cursor: pointer;
}
.moment-wrap .create-new-moment .add-moment-icon{
  margin-top: 0.45rem;
  margin-left: 1rem;
}

.line-div{ border: 0;
  height: 1px;
  background: black;
  position: relative;
  top: 7px;
  width: 100%;
  }

.company-rights input{
  margin-top: -0.3rem;
}

.sub-header .addicon {
  color: green;
  margin-left: 2rem;
}

.admin-law-textarea .law-description{
  padding: 0.2rem;
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.2;
  box-sizing: border-box;
  border: solid thin rgba(0, 0, 0, 0.1);
  min-height: 77px;
  resize: vertical;
}
.new-transporter-container .addicon {
  color: green;
  margin-left: 2rem;
  margin-top: 0.3rem;
}
.new-transporter-container .material-icons:hover {
  color: rgba(0, 0, 0, 0.4);
}
input[type="text"]:disabled {
  color: #000 !important;
}

#addexternalauditform .info.up{
  top: -2px;
}

/**
 * Responsivie
 */

/* for screesn with 1280px in with or less*/
@media only screen and (max-width: 1240px) {
  header .nav .nav-item{
    padding: 1rem 0.5rem;
    font-size: 16px;
  }
}

@media only screen and (min-width: 1450px) {
  .wrapper{
    max-width: 1800px;
  }
}

@media only screen and (max-width: 1160px) {

}

@media only screen and (max-width: 1180px) {
  .main .wrapper{
    margin-top: 45px !important;
  }
  .usernav{
    padding-top: 0.2rem !important;
  }
}
@media only screen and (max-width: 1077px) {
  .usernav .menu{
    top: 76px;
  }
}

@media only screen and (max-width: 1080px) {
  .toggle-search-bar{
    top: 61%;
  }
}
.autocomplete {
  position: relative;
  display: inline-block;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  bottom: 100%;
  right: 6.5em;
  width: 26.5%;
  overflow: scroll;
  height: 500px;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
.autocomplete-items .is-link{
  color: #00a5e1;
  text-decoration: underline;
}

.search-webiso-container .info {
  display: inline;
  text-shadow: none;
  position: relative;
  top: 6px;
}

.search-webiso-container .info i.material-icons{
  vertical-align: middle;
  color: #00a5e1;
  font-size: 1.95rem;
  cursor: pointer;
}

.search-webiso-container .info-popup{display: none;}
.search-webiso-container .info:hover .info-popup{
  display: block;
  box-sizing: border-box;
  position: absolute;
  bottom: 38px;
  /* background: rgba(0,0,0,0.75); */
  background: rgba(0,0,0);
  color: #fff;
  left: -0.9rem;
  right: 5rem;
  min-width: 350px;
  z-index: 1;
}

.search-webiso-container .info-popup .arrow-up{
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(0,0,0,0.75);
  display: block;
}
@media only screen and (max-width: 1077px) {
  .usernav .menu{
    top: 76px;
  }
}

.new-user-modal {
  display: none;
  position: absolute;
  height: auto;
  z-index: 10;
  background: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  border-radius: 0.35rem;
  color: #000;
  border: #FF4E32 2px solid;
}

.no-hover-changes:hover{
  background: none !important;
}

.archive-warning-notice-modal,
.newuser-info-notice-modal,
.new-user-modal,
.calendar-new-introduction-info-notice-modal,
.calendar-edit-introduction-info-notice-modal{
  display: none;
  position: absolute;
  height: auto;
  z-index: 10;
  background: white;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  border-radius: 0.35rem;
}
@media only screen and (max-width: 1077px) {
  .usernav .menu{
    top: 76px;
    color: #000;
    border: #FF4E32 2px solid;
  }
}

.attach-email-icon:hover{
  color: #34B23B;
}

#personnel:hover, #infrastructure:hover, #suppliers:hover:not(.chemicals-list-heading){
  border: 2px #00a5e1 solid;
  border-radius: 11px;
}
.pure-button{
  border: solid 2px #000;
}

.logs-nav-item:hover{
  color: #000 !important;
}

.inactive-branch{
  display: none;
}


.license-agreement-popup{
  position: relative;
  margin: auto;
  background: #444;
  color: #fdfdfd;
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.6);
  font-family: 'Roboto', sans-serif;
  margin-top: 10%;
  padding: 3rem;
  overflow: auto;
  width: 100%;
  max-width: 1280px;
  min-width: 960px;
  box-sizing: border-box;
  padding: 2rem 3rem;
}

.license-agreement-wrap{
z-index: 2;
position: fixed;
overflow: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
padding: 1rem;
z-index: 1003;
background: rgba(0,0,0,0.7);
}
.license-agreement-popup .date{
display: block;
padding-bottom: 1rem;
color: #999;
}
.license-agreement-popup .elem{
padding-bottom: 2rem;
border-top: solid thin rgba(0,0,0,0.2);
}
.license-agreement-popup .elem:first-child{
border-top: none;
}

.license-agreement-close{
position: absolute;
bottom: 1rem;
right: 1rem;
}

.logs-nav-item:hover{
  color: #000 !important;
}


#confirmBox
{
  display: none;
  background-color: #292a2d;
  border-radius: 5px;
  position: fixed;
  width: 30rem;
  left: 45%;
  margin-left: -150px;
  padding: 6px 8px 8px;
  box-sizing: border-box;
  text-align: center;
  top: 12%;
  z-index: 1024;
  overflow: hidden;
}

#confirmBox button:hover
{
  background-color: #ddd;
}
#confirmBox .message
{
  text-align: left;
  margin-bottom: 20px;
  text-align: center;
}

.user-list .employee-branch {
  padding-left: 1rem;
}

.new-file-cateogry-equipment span{
  padding-left: 0.5rem;
  vertical-align: middle;
}
.new-file-cateogry-equipment .material-icons{
  vertical-align: middle;
}
.new-file-cateogry-equipment:hover{
  color: #ddd;
  cursor: pointer;
}
.process-metadata-link:hover{
  color: #888;
}


.archived-posts .info-popup{display: none;}
.archived-posts .info:hover .info-popup{
  display: block;
  box-sizing: border-box;
  position: absolute;
  /* background: rgba(0,0,0,0.75); */
  background: rgba(0,0,0);
  color: #fff;
  z-index: 1;
  min-width: 10%;
  letter-spacing: normal;
}

.archived-posts .info-popup .arrow-up{
  /* margin-top: 2px; */
  position: absolute;
  /* bottom: -10px; */
  top: -8px;
  left: 13px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0,0,0,0.9);
  display: block;
}
.users-show-control-organ{
  display: block;
}

.edit-icon {
  cursor: pointer;
}
.edit-icon:hover {
  color: rgba(0, 0, 0, 0.05);
}

.add-new-question-box .addicon.add-new-question:hover{
  color: rgba(0, 0, 0, 0.05) !important;
}

.infrastructure-protocol-questions-container .addicon:hover,
.infrastructure-protocol-questions-container .removeicon:hover{
  color: rgba(0, 0, 0, 0.05) !important;
}
.notification_badge {
  background-color: #fa3e3e;
  border-radius: 16px;
  color: white;
  padding: 3px 3px;
  font-size: 16px;
  position: absolute;
  top: -14px;
  right: -25px;
  animation: blinker 1s linear infinite;
  width: 20px;
  height: 20px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
