.app-container {
    padding-top: 10px;
}

.welcome-message {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 30px;
}

.signup-message {
    font-size: 0.775rem;
    color: #555;
    margin-top: 20px;
}

.form-group {
    display: block;
    clear: both;
}

.form-group label {
    margin-bottom: 3px;
    font-size:0.8rem;
}

h5 {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
}

h6 {
    color: #555;
    font-size: 10px;
    font-weight: bold;
    line-height: 14px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.required:after {
    content: " * ";
    color:#F76B07;
}

.clear {
    cursor:pointer;
    width:16px;
    height: 16px;
    background-image: url('/images/close.svg');
}

.object-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.object-badge.person.unknown,
.object-badge.organization.unknown {
    background-image: url('/images/add_white.svg');
}

.object-badge.person {
    background-color: #ffaa00;
    background-image: url('/images/person.svg');
}

.object-badge.organization {
    background-color: #4285f4;
    background-image: url('/images/company.svg');
}

.object-badge.deal {
    background-color: #00b377;
    background-image: url('/images/deal.svg');
}

.pill-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    height:40px;
    border-radius: 20px;
    box-sizing: border-box;
    background-color:#f2f2f2;
}

.pill-content {
    display: flex;
    align-items: center;
}

.object-description {
    max-width: 170px;
    font-size: 0.9rem;
    line-height: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pill .edit {
    display: flex;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    background-image: url('/images/edit.svg');
}

.pill .edit:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.object-description .extra {
    color:#666;
    font-size:12px;
}

.dropdown {
    position: relative;
    width:100%;
}

.dropdown > .content {
    position: absolute;
    z-index: 9;
    background-color: #fff;
    border: 1px solid #eee;
    width: auto;
    left: 0;
    right: 0;
    box-shadow: 0px 2px 5px #aaaaaa;
    max-height: 200px;
    min-height: 40px;
    overflow: auto;
}

.listitem {
    display: flex;
    align-items: center;
    padding: 6px;
}

.listitem.create {
    color: #4285f4;
    text-decoration: none;
}

.listitem.create:hover {
    text-decoration: none;
}

.listitem-create-text {
    margin-left: 8px;
}

.listitem:hover {
    cursor: pointer;
    background-color: #eaeaea
}

.listitem-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}

.searchbox {
     width:100%;
}

.searchbox input {
    box-sizing: border-box;
    margin:0;
    width:100%;
}

.form {
    margin-bottom: 40px;
}

.form-control {
    border-radius: 0;
}

.material-control {
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid #ced4da;
}

.form-control:focus {
    outline: 0;
    box-shadow: none;
    border-bottom: 1px solid #ff7b24 !important;
}

textarea {
    min-height: 166px;
}

textarea:focus {
    border: 1px solid #ff7b24 !important;
}

.form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label {
    cursor: pointer;
    margin-left: 8px;
}

.centered {
  position: fixed; /* or absolute */
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
}

.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #F76B07;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spin 2s linear infinite;
}

.loader.small {
    width: 20px;
    height: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert {
    border-radius: 0;
    border: 0;
    font-size: 0.8rem;
    padding: 5px 10px;
}

.alert-success {
    background-color: #24b277;
    color:#fff;
}

.alert-danger {
    background-color: #ec5a1a;
    color:#fff;
}

.debug {
    margin-top:20px;
    padding-top:10px;
    border-top:1px solid #eee;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    border-radius: 2px;
    background-color: #ff7b24;
    color: #fff !important;
}

.action-button:hover {
    background-color: #F76B07;
}

.action-button:active, .action-button:focus {
    background-color: #ef6407;
    outline: none;
    text-decoration: none;
}

.action-button:disabled {
    background-color: #dbdbdb !important;
    cursor: default;
}
