@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,500,500i,700,700i');
h1 {
  font-size: 24px;
}
body {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  color: #666666;
}
body > .wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
body > .wrapper > .container-wrapper {
  height: 100%;
}
body > .wrapper > .container-wrapper > .row-wrapper {
  height: 100%;
}
.otap {
  color: #999999;
  display: block;
  font-size: 10px;
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 48%;
}
.header {
  height: 60px;
  background-color: #023395;
  color: white;
  font-size: 20px;
  line-height: 60px;
}
.header a {
  color: white;
}
.header i {
  font-size: 30px;
  line-height: 60px;
  margin-right: 5px;
  display: block;
  float: left;
  padding: 0px 10px 0px 10px;
}
.header .title {
  margin-bottom: 5px;
  display: block;
  float: left;
  color: white;
  text-decoration: none;
}
.header .overview-search {
  width: 100%;
}
.header .overview-search input,
.header .overview-search button {
  float: right;
  margin-top: 13px;
}
.header .overview-search input {
  width: 240px;
  margin-right: 20px;
}
.header .overview-search .btn-primary {
  color: #023395;
  border-color: white;
  background-color: white;
}
.header .overview-search .btn-primary:hover {
  background-color: #023395;
  color: white;
  border-color: white;
}
.header .overview-search i.fa-search {
  font-size: 20px;
  float: right;
  margin-right: 0px;
}
.left-panel {
  background-color: #eeeeee;
  min-height: 200px;
  height: calc(100% - 60px);
  padding: 0px;
}
.left-panel > a {
  padding: 0px 15px 0px 15px;
  display: block;
  height: 60px;
  width: 100%;
  color: #023395;
  line-height: 60px;
}
.left-panel > a:hover {
  background-color: #dddddd;
  text-decoration: none;
}
.left-panel > a i {
  margin-right: 15px;
  width: 20px;
  display: inline-block;
}
.left-panel .grey {
  color: #999999;
}
.left-panel .userName {
  line-height: 20px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 50px;
  display: block;
  padding-right: 60px;
}
.left-panel .userName .logout {
  position: absolute;
  right: 0px;
  top: -10px;
  font-size: 20px;
  color: #999999;
}
.left-panel .userName .logout i {
  padding: 10px;
}
.right-panel {
  height: 100%;
  height: calc(100% - 60px);
  padding-right: 0px;
  padding-left: 0px;
}
.right-panel .btn-primary {
  background-color: #023395;
  border-color: #023395;
  margin-bottom: 20px;
}
.right-panel .btn-primary:hover {
  background-color: #666666;
  border-color: #666666;
}
.right-panel .btn-danger {
  background-color: #d51818;
}
.right-panel .overview {
  overflow: auto;
  height: 100%;
}
.right-panel .overview > .row {
  margin-right: 0px;
  margin-left: 0px;
  border-bottom: solid 1px #dddddd;
  height: 60px;
  padding: 10px 0px 10px 0px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.right-panel .overview > .row i.fa-chevron-down,
.right-panel .overview > .row i.fa-chevron-up {
  position: absolute;
  top: 0px;
  padding: 15px 40px 15px 40px;
  right: 0px;
  display: none;
  font-size: 20px;
  cursor: pointer;
  text-align: center;
  z-index: 2;
}
.right-panel .overview > .row i.fa-chevron-down.bottom,
.right-panel .overview > .row i.fa-chevron-up.bottom {
  width: 100%;
  height: 40px;
}
.right-panel .overview > .row .gradient {
  background: url('/packages/contacts/themes/contacts/images/gradient1010.png') repeat-x;
  position: absolute;
  display: block;
  width: 100%;
  height: 10px;
  bottom: 0px;
  left: 0px;
}
.right-panel .overview > .row.expanded i.fa-chevron-up {
  display: block;
}
.right-panel .overview > .row .close {
  display: none;
}
.right-panel .overview > .row:hover {
  background-color: #fafafa;
}
.right-panel .overview > .row:hover:not(.expanded) i.fa-chevron-down {
  display: block;
}
.right-panel .overview > .row:hover .gradient {
  background: none;
}
.right-panel .overview > .row.headings {
  color: #999999;
}
.right-panel .overview > .row.disabled {
  color: #aaaaaa;
}
.right-panel .overview > .row.disabled i {
  opacity: .3;
}
.right-panel .overview > .row .name {
  font-weight: bold;
  min-height: 40px;
}
.right-panel .overview > .row .name i {
  font-size: 18px;
  margin-right: 5px;
}
.right-panel .overview > .row .name i.fa-male {
  color: #023395;
}
.right-panel .overview > .row .name i.fa-female {
  color: #d51818;
}
.right-panel .overview > .row .name .salut {
  font-weight: normal;
}
.right-panel .overview > .row .address-info,
.right-panel .overview > .row .extra-info {
  margin-top: 20px;
}
.right-panel .overview > .row .address-info .heading,
.right-panel .overview > .row .extra-info .heading {
  font-weight: bold;
}
.right-panel .overview > .row .address-info a.maps,
.right-panel .overview > .row .extra-info a.maps {
  margin-left: 20px;
}
.right-panel .overview > .row .edit {
  padding: 10px;
  display: block;
  float: right;
  font-size: 20px;
}
.right-panel .overview .highlighted {
  background-color: #fa9191;
}
.right-panel .overview .editedBy {
  margin-top: 20px;
  color: #aaaaaa;
}
.right-panel .add-contact .alert {
  margin-top: 15px;
}
@media (max-width: 767px) {
  .header .overview-search input {
    width: 100px;
  }
  .right-panel {
    background-color: white;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0px;
    bottom: 0px;
  }
  .ccm-toolbar-visible .right-panel {
    top: calc(110px);
  }
  .left-panel .userName {
    font-size: 12px;
    font-weight: normal;
    padding: 0px;
  }
}
/* Add contact form styling */
.add-contact textarea {
  width: 100%;
}
.add-contact .radio-label {
  padding: 5px 10px 4px 10px;
  margin-right: 40px;
}
/* Import contacts*/
.add-contacts {
  margin-top: 20px;
}
.add-contacts .alert-success {
  max-height: 190px;
  overflow: auto;
}
.headings {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 1.2;
  height: 35px !important;
  padding-bottom: 15px;
}
.input {
  width: 100%;
  padding: 5px;
}
.input,
#searchForm .choices .choices__inner {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.input,
#searchForm .choices .choices__inner .choices__input {
  font-size: 16px;
}
#searchForm .choices {
  height: 31px;
}
#searchForm .choices .choices__inner {
  min-height: initial;
  max-height: 100%;
  height: 100%;
  padding: 0;
  overflow-y: auto;
}
#searchForm .choices .choices__inner .choices__item {
  margin: 3px 2px 2px;
}
#searchForm .choices .choices__inner .choices__input {
  margin: 6px 0 0 5px;
  padding: 0;
}
.triangle {
  display: inline-block;
  margin-left: 5px;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #333;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.triangle_rotated {
  transform: rotate(-180deg);
}
