/* 
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #f0f0f0;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#9bc2d0', GradientType=1);
  background-attachment: fixed;
  min-height: 100vh;
  color: #444557;
}

a {
  transition: 0.5s all ease;
}

a:hover {
  color: #279fad;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

i {
  user-select: none;
}

.k-animation-container {
  background-color: white;
}

.dropDownAvatarBackgroundText > h3 {
  font-size: 14px;
}

.k-state-selected {
  background-color: lightgreen;
}

ul {
  margin: 0;
  padding: 0;
}

.default-padding {
  padding: 15px;
}

.ms-welcome__header {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  align-items: center;
}

.ms-welcome__main {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex: 1 0 0;
  flex: 1 0 0;
}

.ms-welcome__main > h2 {
  width: 100%;
  text-align: center;
}

.ms-welcome__features {
  list-style-type: none;
  margin-top: 20px;
}

.ms-welcome__features.ms-List .ms-ListItem {
  padding-bottom: 20px;
  display: -webkit-flex;
  display: flex;
}

.ms-welcome__features.ms-List .ms-ListItem > .ms-Icon {
  margin-right: 10px;
}

.ms-welcome__action.ms-Button--hero {
  margin-top: 30px;
}

.ms-Button.ms-Button--hero .ms-Button-label {
  color: #0078d7;
}

.ms-Button.ms-Button--hero:hover .ms-Button-label,
.ms-Button.ms-Button--hero:focus .ms-Button-label {
  color: #005a9e;
  cursor: pointer;
}

b {
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
  transition: all 0.2s;
}

.arrowDown {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.arrowUp {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#app-body > * {
  width: 100%;
}

#orphySender > div > ul,
#orphyRecipient > div > ul {
  margin-left: 0px;
  margin-right: 0px;
}

.conactNoteList {
  list-style: none;
}

#orphyRecipient > div > ul {
  width: 100%;
}

ul.conactNoteList li {
  background-color: transparent;
}

ul.conactNoteList li:nth-child(odd) {
  background-color: rgba(0, 155, 163, 0.2);
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

header {
  flex-shrink: 0;
}

main {
  flex-grow: 1;
  overflow: auto;
  min-height: 2em;
  margin-bottom: 40px;
}

footer {
  flex-shrink: 0;
}

#taskPaneView {
  padding: 10px;
}

#app-body li.k-item.k-state-default .k-link {
  user-select: none;
}

.paddingSmall {
  padding-left: 8px;
}

.smallText {
  font-size: 12px;
}

.k-item > .dropDownAvatarBackgroundImage {
  -moz-box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
  margin: 0 10px 0 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: 100%;
  background-repeat: no-repeat;
}

.k-item img,
.k-item span {
  display: inline-block;
  vertical-align: middle;
}

.listViewContent.k-widget.k-listview {
  border: none;
}

.listView {
  border: none;
}

.divider {
  border: 2px solid lightgray;
}

footer {
  position: absolute;
  bottom: 0;
  text-align: center;
  left: 0;
  width: 100%;
}

.buttonLink {
  background-color: #279fad;
  color: white;
  text-align: middle;
  width: 100%;
  border: none;
  border-radius: 0px;
  padding: 12px 15px;
  line-height: 1;
  transition: all ease 0.5s;
}

.buttonLink.btn.btn-primary {
  color: white;
}

.buttonLink.btn.btn-primary:hover {
  color: white;
}

.cancelButton {
  padding: 12px 15px;
  text-align: center;
  width: 100%;
  border: none;
  border-radius: 0px;
  line-height: 1;
  transition: all ease 0.5s;
  border: 1px solid #279fad;
  color: #279fad;
  background: transparent;
}

.cancelButton:hover {
  background: #279fad;
  color: white;
  border-color: #279fad;
}

.buttonLink:hover {
  background-color: #016b75;
}

.btn-secondary.focus,
.btn-secondary:focus {
  box-shadow: none;
}

footer > .btn-primary.focus,
.btn-primary:focus {
  box-shadow: none;
}

footer > .btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

footer > .btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: #016b75;
}

.noteInput {
  width: 100%;
}

.k-virtual-content > .k-virtual-list > .k-virtual-item {
  text-overflow: unset;
}

#orphySaveMail a:not([href]):not([tabindex]) {
  color: #007bff;
  cursor: pointer;
}

.section-title {
  padding: 25px 15px 7px 15px;
  text-transform: uppercase;
}

.default-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.default-flex-contactNote {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.default-inline-block {
  display: inline-block;
  vertical-align: middle;
}

.align-top {
  vertical-align: top;
}

.avatar {
  background: rgba(255, 255, 255, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  min-width: 50px;
  min-height: 50px;
}

.small-margin {
  margin-bottom: 10px;
}

.default-margin {
  margin-bottom: 30px;
}

/* Tabs */

.tab-content {
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
}

.k-tabstrip {
  font-size: 16px;
}

.k-listview {
  font-size: 16px;
}

.k-tabstrip-items {
  border: none;
}

.k-tabstrip-items .k-item {
  flex: 1;
  text-align: center;
  border: none;
  transition: all ease 0.5s;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0;
}

.k-tabstrip-top > .k-tabstrip-items .k-item {
  border-radius: 0;
  margin-bottom: 0;
}

.k-tabstrip-top > .k-tabstrip-items .k-item.k-state-active {
  border-bottom: 2px solid #279fad;
  background: rgba(255, 255, 255, 0.8);
}

.k-tabstrip-items .k-link {
  display: block;
  color: #444557;
}

.k-tabstrip-top > .k-tabstrip-items .k-item.k-state-active .k-link {
  color: #279fad;
}

.k-tabstrip > .k-content {
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0;
}

/* Tabs End */

/* List Tables */

.k-listview {
  background: transparent;
}

.list-item:nth-child(2n - 1) {
  background-color: rgba(255, 255, 255, 0.4);
}

.contactnodeLeadList .list-item-infos,
.contactnodeLeadList .list-item-title {
  font-size: 11px;
}

.list-item {
  user-select: none;
  padding: 12px 15px;
  cursor: pointer;
}

.list-item-infos a {
  color: inherit;
}

.default-flex .list-item-infos a {
  display: block;
}

.list-item-title {
  font-size: 16px;
  font-weight: 600;
  color: inherit;
}

.list-item-additional-infos {
  margin-left: auto;
}

.go-details-icons {
  margin-left: 10px;
}

.go-details-icons:hover {
  cursor: pointer;
  color: #279fad;
}

.go-back-icons {
  padding: 10px 10px 10px 0px;
  vertical-align: middle;
}

.go-back-icons:hover {
  cursor: pointer;
  color: #279fad;
}

.k-dialog-titlebar {
  background-color: #279fad;
}

.k-dialog-button-layout-stretched .k-primary:not(:hover):not(.k-state-hover):not(:active):not(.k-state-active) {
  color: #279fad;
}

.k-action-buttons .k-primary.k-state-hover,
.k-action-buttons .k-primary:hover,
.k-button.k-primary.k-state-hover,
.k-button.k-primary:hover {
  border-color: #279fad;
  background-color: #279fad;
  background-image: none;
}

.k-dialog-button-layout-stretched .k-button.k-primary.k-state-focused,
.k-dialog-button-layout-stretched .k-button.k-primary:focus {
  box-shadow: none;
}

.k-switch-on .k-switch-container {
  background-color: #279fad;
}

.k-switch-on.k-state-hover .k-switch-container,
.k-switch-on:hover .k-switch-container {
  background-color: #279fad;
}

.k-dialog {
  width: 100%;
  height: 100%;
}

.todo-list-item .k-widget {
  border: none;
}

.todo-list-item .list-item-additional-infos {
  font-size: 12px;
}

i[class^="smiley"] {
  font-size: 2em;
  margin-right: 10px;
}

.contact-relation-name {
  color: #444557;
  margin-top: 15px;
}

.list-item-full {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f8fa;
  padding: 15px;
  overflow: auto;
  z-index: 5;
  transform: translateX(100%);
  margin-bottom: 40px;
  transition: transform ease 0.5s;
}

.standaloneapp .list-item-full {
  top: 20px;
}

.list-item-full.active {
  transform: translateX(0);
}

.backto-list-item {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
}

.list-item-full .avatar {
  margin-right: 10px;
}

.list-item-full a {
  color: #279fad;
}

.form-control {
  margin-bottom: 10px;
}

.noteInput {
  font-size: 14px;
}

.openLeadsList {
  height: 200px;
  display: flex;
  margin-bottom: 10px;
  user-select: none;
}

#tabs ul li.noPadding .k-link {
  padding-left: 0px;
  padding-right: 0px;
}

.buttonLink {
  cursor: pointer;
}

.k-radio {
  margin-right: 5px;
}

/* Modal Override */

.modal.fade.show {
  padding: 0 !important;
}

.modal-content {
  border-radius: 0;
  min-height: 100% !important;
}

.modal-dialog {
  margin: 0 !important;
  height: 100% !important;
  max-width: 100% !important;
}

.modal-body {
  padding: 1rem 1rem 0 1rem !important;
}

.modal-header .check {
  float: right;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0px 1px 0px #fff;
  opacity: 0.5;
  line-height: 1;
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem 1rem;
}

.modal-header .check:hover {
  opacity: 1;
}

.k-prompt .k-textbox {
  width: 100%;
}

.headerTitle {
  background: #279fad;
  text-align: center;
  color: white;
  font-weight: bold;
}

.icons {
  padding-right: 10px;
}

.k-tabstrip-wrapper .k-content {
  overflow-y: hidden !important;
}

*::-ms-backdrop,
.hideIE11 {
  display: none;
}

/* IE11 */

.form-control.searchBar {
  width: calc(100% - 6px);
  margin: 3px;
}

.markOnHover:hover {
  color: #279fad;
}

#tabs li .k-link:hover {
  color: #279fad;
}

#relationListView .template.default-flex.list-item {
  align-items: flex-start;
  justify-content: center;
  align-items: flex-start;
}

#searchListView {
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

.avatarRow {
  display: flex;
  justify-content: start;
  vertical-align: middle;
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
}

.avatarWrapper {
  min-width: 60px;
  min-height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.noTextOverflow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.nameTextWrapper {
  min-width: 60%;
  max-width: 60%;
  display: flex;
  flex-direction: column;
}

.selectOtherRelation {
  margin-left: auto;
  cursor: pointer;
}

.selectOtherRelation > i {
  font-size: 25px;
}

.list-item-infos {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  color: #444557;
  width: calc(100% - 15px);
}

.info-wrapper {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.list-item-infos-row {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
}

.list-item-infos-row span,
.list-item-infos-row i,
.list-item-infos-row span a {
  line-height: 25px;
  min-height: 25px;
  max-height: 25px;
}

/* .list-item-infos-row:hover {
  color: #279fad;
} */

.list-item-infos-row:hover {
  color: #279fad;
}

.list-item-infos-row i {
  padding-right: 10px;
}

.list-item-infos-text {
  min-width: 65%;
  max-width: 65%;
}

.list-item-address-text {
  min-width: 84%;
  max-width: 84%;
}

.addComposeButtonWrapper {
  margin-left: auto;
}

.addComposeButton:focus {
  outline: none;
}

.addComposeButton:hover {
  color: #279fad;
}

.addComposeButton {
  color: #444557;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.block {
  display: block;
}

.contentLink .addressIcon {
  line-height: 50px;
  min-height: 50px;
  max-height: 50px;
}

.contentLink {
  display: flex;
  flex-direction: row;
  line-height: 50px;
  min-height: 50px;
  max-height: 50px;
}

.addresslinkContent {
  display: flex;
  flex-direction: column;
}

.removeListInfoMargin {
  margin: 10px 0px 5px -15px;
}

.selectOtherRelation .icons {
  padding: 0;
}

.list-item.default-flex.contactNoteBoundToMail {
  background-color: #009ca473;
}

.list-item.default-flex.todoBoundToMail {
  background-color: #009ca473;
}

.k-dropdown .k-dropdown-wrap,
.k-dropdowntree .k-dropdown-wrap {
  background: white;
}

.createButton {
  width: 50%;
}

.createFooter {
  display: flex;
}

.createFooter .createButton.btn-cancel {
  background: #f6f9fa;
  color: #279fad;
}

.createFooter .createButton.btn-cancel:hover {
  color: #f6f9fa;
  background: #279fad;
}

#contactNoteInputWrapper,
#todoInputWrapper {
  padding-top: 0px;
}

#contactView,
#contactView .tab-content.sent-from {
  background: none;
}

.attachementDropdownItem {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 3px;
}

.attachementDropdownItem img {
  max-height: 44px;
  max-width: 50%;
}

.attachementDropdownItem i {
  margin-right: 10px;
  max-width: 50px;
  font-size: 30px;
}

.insertMailLink {
  cursor: pointer;
  user-select: none;
  color: #279fad;
}
#relationListView .template.list-item.markOnHover {
  display: flex;
  width: 100%;
}

#relationListView .relationInfo {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

#relationListView .relationInfo div:nth-child(2) {
  font-size: small;
}

#searchListView li .list-item-infos div:nth-child(2) {
  font-size: small;
}

.k-widget.k-listview.k-listview-bordered .k-listview-content {
  overflow-y: auto !important;
}

.welcome {
  margin: 1em;
  box-sizing: border-box;
}

.welcome-title {
  margin-bottom: 0.7em;
  font-weight: bolder;
}

.welcome-box {
  margin-bottom: 3em;
}

body .k-list-container .k-nodata {
  text-transform: none;
}

.settingsTab #emailListView{
  padding: 5px;
}