/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#klicktipp-container{
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;;
    background-color: white;
    width: 320px !important;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: auto;
    max-height: 640px;
}

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

.ajax-loading-animation {
    display: none;
    width: 50px;
    height: 50px;
}

#add-contact a{
    display: block;
    text-decoration: none;
    color: #007AFF;
    text-align: right;
    font-size: 30px;
}

.header {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;;
    font-size: 1.5em;
    font-weight: bold;
    padding-bottom: 1.5em;
    margin-top: 1.5em;
    text-align: center;
}

.header.detailview {
    border-bottom: 1px solid lightgrey;
}

#klicktipp-container > * {
    padding-left: 20px;
    padding-right: 20px;
}

#klicktipp-search-form {
    padding-left: 20px;
    padding-right: 20px;
}

#klicktipp-search-field {
    background-color: #EFEFF0;
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
}

#klicktipp-results {
    margin-top: 18px;
}
#klicktipp-results th {
    background-color: #E5E5E5;
    padding: 5px 20px;
}
#klicktipp-results td {
    padding: 0;
}

#klicktipp-results td a {
    padding: 12px 20px;
    width: 100%;
    display: block;
    color: #000000;
    text-decoration: none;
}
#klicktipp-results td a:hover {
    background-color: #e5e5e5;
}

/*
    Contact Detail Screen
*/
.top-bar-buttons {
    display: flex;
    justify-content: space-between;
    color: #005cbf;
    align-items: center;
}

.top-bar-buttons div:hover {
    cursor: pointer;
}

.button-back {
    display: flex;
    align-items: center;
    height: 30px;
}

.chevron-left {
    margin-right: 5px;
    height: 23px;
}

.delete-contact-button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    margin-top: 80px;
}

.delete-contact-button {
    height: 25px;
}

.delete-contact-button:hover {
    cursor: pointer;
}

.details-table {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding-left: 15px;
}

.details-table-row {
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F1;
}

.details-table-header {
    margin-bottom: 5px;
}

.details-table-content {
    color: #007AFF;
}

.toggle-details-button {
    margin-top: 25px;
    color: #d57a00;
    margin-bottom: 25px;
}

.toggle-details-button:hover {
    cursor: pointer;
    text-decoration: underline;
}
.no-show {
    display: none;
}
/* TAG stylings */

.tag-container{
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

.tag-header {
    color: white;
    background-color: #ffa20f;
    font-weight: bold;
    border-bottom: 3px solid #d57a00;
    padding: 10px 15px;
    margin-bottom: .5em;
}

.tag-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F1;
    align-items: center;
}

.tag-title {
    background-color: #e38705;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    max-width: 200px;
}

.tag-remove {
    display: flex;
    font-weight: bold;
    font-size: 25px;
    color: white;
    background-color: #FF3B30;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
}

.tag-remove:hover {
    cursor:pointer;
}
.tag-input {
    max-width: 150px !important;
}
.tag-add {
    display: flex;
    font-weight: bold;
    font-size: 25px;
    color: white;
    background-color: #34C759;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
}

.tag-add:hover {
    cursor: pointer;
}

.tag-add.disabled {
    background-color: lightgrey;
}

.tag-add.disabled {
    cursor: default;
}

.tag-search-list {
    max-height: 250px;
    overflow: auto;
    border: 2px solid lightgrey;
}

.tag-list-item {
    padding: 5px 15px;
    border-bottom: 1px solid #f4f4f4;
}

.tag-list-item:hover {
    cursor: pointer;
    background-color: lightgrey;
}

@media screen and (max-width: 768px) {
    #klicktipp-container {
        width: 100% !important;
    }
}