﻿body {
  background-color: #d7d7d7;
  font: 14px 'Open Sans', sans-serif;
  font-weight: 400;
}
.panel {
  border-radius: 0;
}
.btn-success {
  background-color: #79b5b2;
  border: 0;
  border-radius: 0;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success:disabled {
  background-color: #8ac6c3;
}
.nav li a,
.pagination,
.carousel,
.panel-title a,
.mainCategory {
  cursor: pointer;
}
.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}
[data-obj='login-form'] {
  width: 100%;
  z-index: 9999999999999999999999999;
  height: 100%;
  position: fixed;
  background-color: #2c3039;
  overflow: auto;
}
[data-obj='login-form'] .container {
  position: absolute;
  height: 450px;
  top: 50%;
  width: 100%;
  margin-top: -225px;
}
[data-obj='login-form'] label {
  font-weight: 300;
  color: #cccccc;
}
[data-obj='login-form'] input {
  border-radius: 0;
  font-size: 14px;
  padding: 10px;
  height: auto;
  border: 0;
}
[data-obj='login-form'] .logo {
  margin: 0 auto;
}
[data-obj='protocol-container'] #starterText {
  color: #3d414c;
}
[data-obj='protocol-container'] .siteTopbar h1,
[data-obj='protocol-container'] .siteTopbar input {
  color: #2c3039;
  text-align: left;
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.1;
}
[data-obj='protocol-container'] .siteTopbar input {
  padding: 3px;
  font-size: 20px;
  margin-bottom: 5px;
}
[data-obj='protocol-container'] .siteTopbar .panel-body .right {
  float: left;
  padding-top: 30px;
  padding-left: 50px;
}
[data-obj='protocol-container'] .siteTopbar .panel-body .right .protocolstatus,
[data-obj='protocol-container'] .siteTopbar .panel-body .right .editorbuttons {
  float: left;
}
[data-obj='protocol-container'] .siteTopbar .panel-body .left {
  float: left;
}
[data-obj='protocol-container'] .siteTopbar .editorbuttons {
  padding-left: 20px;
}
.panel-default > .panel-heading {
  background-color: #ffffff;
  color: #3d414c;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 20px;
}
.subHeader {
  background-color: #ffffff;
  color: #79b5b2;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.subInfoHeader {
  padding-top: 15px;
  background-color: #ffffff;
  color: #79b5b2;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.subCategory {
  cursor: pointer;
}
.protocolItem {
  cursor: pointer;
}
:focus {
  outline: none;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
.protocolstatus span {
  font-weight: 400;
}
.highlightSelection,
.active {
  color: #2c3039;
  background-color: #79b5b2;
}
.circle {
  display: inline-block;
  margin-left: 5px;
  margin-bottom: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.circleSmall {
  display: inline-block;
  margin-left: 5px;
  margin-bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.protocolTabItem {
  display: inline-block;
  font-size: 11px;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.protocolinformation textarea {
  min-height: 200px;
  margin-bottom: 10px;
}
.circleOPEN {
  background: #6bcc5e;
}
.circlePAUSED {
  background: #fcd26c;
}
.circleCLOSED {
  background: #e85c59;
}
.circleFUTURE {
  background: #5699e8;
}
.circleARCHIVE {
  background: #666;
}
/*
    Sometimes the sub menus get too large for the page and prevent the menu from scrolling, limiting functionality
    A quick fix is to change .side-menu to

    -> position:absolute

    and uncomment the code below.
    You also need to uncomment

    -> <div class="absolute-wrapper"> </div> in the html file

    you also need to tweek the animation. Just uncomment the code in that section
    --------------------------------------------------------------------------------------------------------------------
    If you want to make it really neat i suggest you look into an alternative like http://areaaperta.com/nicescroll/
    This will allow the menu to say fixed on body scoll and scoll on the side bar if it get to large
*/
/*.absolute-wrapper{
    position: fixed;
    width: 300px;
    height: 100%;
    background-color: #f8f8f8;
    border-right: 1px solid #e7e7e7;
}*/
.side-menu-container .nav.navbar-nav {
  height: 100%;
  display: block;
}
.side-menu {
  position: fixed;
  width: 320px;
  height: 100%;
  background-color: #2c3039;
  z-index: 1000;
  box-shadow: 3px 0 0 0 rgba(0, 0, 0, 0.1);
}
.side-menu .navbar {
  border: none;
  background-color: #2c3039;
}
.side-menu .navbar-header {
  width: 100%;
  background-color: #2c3039;
}
.side-menu .navbar-nav .active a {
  margin-right: -1px;
  border-right: 5px solid #3d414c;
}
.side-menu .navbar-nav li {
  display: block;
  width: 100%;
  border-bottom: 1px solid #3d414c;
}
.side-menu .navbar-nav li a {
  padding: 10px 8px 10px 0;
  color: #ffffff;
  font-size: 12px;
}
.side-menu .navbar-nav li.menu-header {
  margin: 0;
  padding-left: 15px;
  height: 20px;
  color: #cccccc;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
}
.side-menu .navbar-nav li.menu-header.second {
  margin-top: 50px;
}
.navbar .nav li a .glyphicon {
  padding-right: 10px;
}
.navbar .nav .dropdown {
  border: 0;
  margin-bottom: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}
.navbar .nav .dropdown .caret {
  float: right;
  margin: 9px 5px 0;
}
.navbar .nav .dropdown .indicator {
  float: right;
}
.navbar .nav .dropdown > a {
  border-bottom: 1px solid #3d414c;
  padding: 17px;
  color: #79b5b2;
  font-weight: 600;
  text-transform: uppercase;
}
.navbar .nav .dropdown > a .fa {
  color: #79b5b2;
  position: absolute;
  top: 21px;
}
.navbar .nav .dropdown > a span {
  color: #ffffff;
}
.navbar .nav .dropdown > a .menu-arrow {
  background-color: #2c3039;
  display: inline-block;
  box-shadow: -5px 0 5px #2c3039;
  position: absolute;
  top: 0;
  right: 20px;
  width: 10px;
  height: 54px;
}
.navbar .nav .dropdown a:hover {
  color: #79b5b2;
}
.navbar .nav .dropdown .panel-body {
  padding: 0;
  background-color: #3d414c;
}
.navbar .nav .dropdown .panel-body .navbar-nav {
  width: 100%;
}
.navbar .nav .dropdown .panel-body .navbar-nav li {
  padding-left: 15px;
  border: none;
}
.navbar .nav .dropdown .panel-body .navbar-nav li:last-child {
  border-bottom: none;
}
.navbar .nav .dropdown .panel-body .panel > a {
  margin-left: -20px;
  padding-left: 35px;
}
.navbar .nav .dropdown .panel-body .panel-body {
  margin-left: -15px;
}
.navbar .nav .dropdown .panel-body .panel-body li {
  padding-left: 30px;
}
.navbar .nav .dropdown .panel-body .panel-body li:last-child {
  border-bottom: 1px solid #3d414c;
}
.navbar .nav #search-trigger {
  background-color: #f3f3f3;
  border: 0;
  border-radius: 0;
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 18px;
}
.side-menu .brand-name-wrapper {
  min-height: 50px;
}
.settings-dropdown {
  position: absolute;
  top: 0;
  right: 0;
}
.side-menu .brand-name-wrapper .navbar-brand {
  width: 100%;
  display: block;
  text-align: center;
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 5px;
  font-size: 30px;
  height: auto;
  padding: 30px 0;
}
.side-menu #search {
  position: relative;
  z-index: 1000;
}
.side-menu #search .panel-body {
  padding: 0;
}
.side-menu #search .panel-body .navbar-form {
  padding: 0 50px 0 0;
  width: 100%;
  margin: 0;
  position: relative;
  border-top: 1px solid #e7e7e7;
}
.side-menu #search .panel-body .navbar-form .form-group {
  width: 100%;
  position: relative;
}
.side-menu #search .panel-body .navbar-form input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  height: 50px;
}
.side-menu #search .panel-body .navbar-form .btn {
  position: absolute;
  right: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  background-color: #f3f3f3;
  padding: 15px 18px;
}
/* Main body section */
.side-body {
  margin-left: 320px;
}
/* small screen */
@media (max-width: 768px) {
  .side-menu {
    position: relative;
    width: 100%;
    height: 0;
    border-right: 0;
    border-bottom: 1px solid #e7e7e7;
  }
  .side-menu .brand-name-wrapper .navbar-brand {
    display: inline-block;
    width: auto;
  }
  /* Slide in animation */
  @-moz-keyframes slidein {
    0% {
      left: -320px;
    }
    100% {
      left: 10px;
    }
  }
  @-webkit-keyframes slidein {
    0% {
      left: -320px;
    }
    100% {
      left: 10px;
    }
  }
  @keyframes slidein {
    0% {
      left: -320px;
    }
    100% {
      left: 10px;
    }
  }
  @-moz-keyframes slideout {
    0% {
      left: 0;
    }
    100% {
      left: -320px;
    }
  }
  @-webkit-keyframes slideout {
    0% {
      left: 0;
    }
    100% {
      left: -320px;
    }
  }
  @keyframes slideout {
    0% {
      left: 0;
    }
    100% {
      left: -320px;
    }
  }
  /* Slide side menu*/
  /* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */
  .side-menu-container > .navbar-nav.slide-in {
    -moz-animation: slidein 300ms forwards;
    -o-animation: slidein 300ms forwards;
    -webkit-animation: slidein 300ms forwards;
    animation: slidein 300ms forwards;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-color: #2c3039;
  }
  .side-menu-container > .navbar-nav {
    position: fixed;
    left: -320px;
    width: 320px;
    top: 182px;
    height: 100%;
    -moz-animation: slideout 300ms forwards;
    -o-animation: slideout 300ms forwards;
    -webkit-animation: slideout 300ms forwards;
    animation: slideout 300ms forwards;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-color: #2c3039;
  }
  .side-menu-container > .search-nav {
    top: 72px;
  }
  .dropdown-menu {
    margin-top: 100px;
  }
  @-moz-keyframes bodyslidein {
    0% {
      left: 0;
    }
    100% {
      left: 320px;
    }
  }
  @-webkit-keyframes bodyslidein {
    0% {
      left: 0;
    }
    100% {
      left: 320px;
    }
  }
  @keyframes bodyslidein {
    0% {
      left: 0;
    }
    100% {
      left: 320px;
    }
  }
  @-moz-keyframes bodyslideout {
    0% {
      left: 320px;
    }
    100% {
      left: 0;
    }
  }
  @-webkit-keyframes bodyslideout {
    0% {
      left: 320px;
    }
    100% {
      left: 0;
    }
  }
  @keyframes bodyslideout {
    0% {
      left: 320px;
    }
    100% {
      left: 0;
    }
  }
  /* Slide side body*/
  .side-body {
    margin-left: 5px;
    margin-top: 70px;
    position: relative;
    -moz-animation: bodyslideout 300ms forwards;
    -o-animation: bodyslideout 300ms forwards;
    -webkit-animation: bodyslideout 300ms forwards;
    animation: bodyslideout 300ms forwards;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  .body-slide-in {
    -moz-animation: bodyslidein 300ms forwards;
    -o-animation: bodyslidein 300ms forwards;
    -webkit-animation: bodyslidein 300ms forwards;
    animation: bodyslidein 300ms forwards;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  /* Hamburger */
  .navbar-toggle {
    display: block;
    border: 0;
    float: left;
    padding: 18px;
    margin: 0;
    border-radius: 0;
    background-color: #2c3039;
    color: #ffffff;
    margin-top: 15px;
  }
  .navbar-default .navbar-toggle:focus,
  .navbar-default .navbar-toggle:hover {
    background-color: #2c3039;
    border-color: #ffffff;
  }
  /* Search */
  #search .panel-body .navbar-form {
    border-bottom: 0;
  }
  #search .panel-body .navbar-form .form-group {
    margin: 0;
  }
  .navbar-header {
    /* this is probably redundant */
    position: fixed;
    z-index: 3;
    background-color: #f8f8f8;
  }
  /* Dropdown tweek */
  .dropdown .panel-body .navbar-nav {
    margin: 0;
  }
}
.highlightSelection a {
  color: #2c3039;
}
.navbar .nav .dropdown .highlightSelection a:hover,
highlightSelection a {
  color: #2c3039;
}
.siteTopbar {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.siteTopbar h1 {
  padding-left: 30px;
  font-size: 30px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
}
.siteTopbar .panel-body {
  padding: 15px;
  padding-bottom: 25px;
}
.protocol_text {
  white-space: pre-wrap;
}
.phonenumbers ul {
  padding-left: 10px;
}
.phonenumbers li {
  list-style-type: none;
}
.phonenumbers .fa-phone,
.phonenumbers .fa-user {
  margin-right: 10px;
}
.age-edit input {
  width: 50px;
}
.age-edit {
  padding-bottom: 20px;
}
.protocoldocuments .panel-body button i {
  margin-right: 5px;
}
.protocoldocuments li {
  list-style-type: none;
}
.btn-protocols {
  color: #3d414c;
  background-color: #ffffff;
  border: none;
}
.dropdown-menu {
  padding: 0;
  border: 1px solid #79b5b2;
  background-color: #3d414c;
  margin-top: 120px;
  margin-left: 15px;
}
.dropdown-menu li {
  padding: 0;
  border-bottom: 1px solid #2c3039;
}
.dropdown-menu li a {
  padding: 8px 15px;
  font-size: 12px;
  color: #ffffff;
}
.dropdown-menu li a:hover,
.dropdown-menu li.active {
  background-color: #79b5b2;
}
.dropdown-menu li:last-child {
  border-bottom: 0;
}
.dropdown-menu.topfix {
  margin-top: 0;
  margin-left: 0;
}
.dropdown-menu > li.active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  background-color: #79b5b2;
  color: #2c3039;
}
.settings-dropdown .dropdown-menu {
  margin-top: 0;
}
.file-list-item {
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #2c3039;
  border-radius: 0;
  padding: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  word-break: break-all;
}
.file-list-item a.header i.fa-file-pdf-o {
  color: #79b5b2;
  font-size: 18px;
  margin-right: 5px;
}
.file-list-item a.header {
  color: #2c3039;
  font-weight: 400;
}
.list-group-item.file-list-item:first-child {
  border-radius: 0;
}
.list-tree,
.list-tree li {
  position: relative;
}
.list-tree {
  list-style: none;
  padding-left: 32px;
}
.list-tree li::before,
.list-tree li::after {
  content: "";
  position: absolute;
  left: -12px;
}
.list-tree li::before {
  border-top: 1px solid #d7d7d7;
  top: 24px;
  width: 15px;
  height: 0;
}
.list-tree li::after {
  border-left: 1px solid #d7d7d7;
  height: 100%;
  width: 0;
  top: 2px;
}
.list-tree > li:last-child::after {
  height: 23px;
}
.list-tree li {
  padding: 14px 8px 2px 8px;
}
.list-tree li a {
  color: #2c3039;
}
.list-tree li .delete-link {
  color: #ffffff;
}
.list-tree li .section-range {
  color: #cccccc;
  float: right;
}
#loading-block {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999999999;
  color: #fff;
  font-size: 50px;
}
#loading-block div {
  width: 100%;
  height: 100px;
  top: 50%;
  margin-top: -50px;
  position: absolute;
}
#loading-block div i.fa {
  font-size: 70px;
}
.no-padding {
  padding: 0;
}
[ng-drop] {
  z-index: 0;
  background: #fff;
}
[ng-drop] div {
  z-index: 2;
}
[ng-drop].drag-enter {
  border: 2px dashed #cccccc;
  margin-top: -2px;
  margin-bottom: 18px;
}
[ng-drag].dragging {
  background: #fff;
  z-index: 9999999;
}
[ng-drag-handle] {
  position: absolute;
  top: -15px;
  right: -10px;
  font-size: 20px;
  color: #79b5b2;
  cursor: grab;
  cursor: -webkit-grab;
}