﻿.podio-app * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero {
    background: rgb(241,242,243);
}
.hero p {
    opacity: .75;
}
.hero .app-container:first-child {
    display: flex;
    min-height: 250px;
    justify-content: space-between;
    flex-direction: column;
}
.hero .app-container div:nth-child(2) {
    /*align-self: flex-end;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-container {
    max-width: 1000px;
    padding: 15px;
    margin: 0 auto;
}

.breadcrumb ~ div > #podio-app .hero .app-container:first-child {
    padding-top: 45px;
    min-height: 275px;
}

.app-alert {
    padding: 6px;
    background: orange;
    margin-top: 15px;
    color: #000;
    display: inline-block;
    margin-left: -6px;
    border-radius: 3px;
    font-weight: bold;
}

.app-search-input {
    border: none;
    background: rgb(241,242,243);
    background: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    height: 40px;
}

.app-advanced-search-button {
    margin-left: 6px;
    background: gray;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    height: 40px;
}

.app-advanced-settings {
    display: flex;
    flex-direction: column;
}

.app-advanced-settings label {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.app-advanced-settings label:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 5px;
    align-items: center;
    border-bottom: 1px solid lightgray;
}
.app-advanced-settings label:last-child {
    flex-direction: column;
}
.app-advanced-settings label:last-child input {
    margin-top: 6px;
}
.app-advanced-settings input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}










.app-loader, .app-failed-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 0;
    flex-direction: column;
}
.app-loader b, .app-failed-message b {
    margin-top: 15px;
}
.loader {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid grey;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}















.app-list {
    list-style-type: none;
}

.external-link::after {
    content: "";
    background: url(data:image/svg+xml;utf8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Pgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K) no-repeat 50%;
    background-size: contain;
    width: .7em;
    height: .7em;
    display: inline-block;
    margin: 0 3px;
}

.app-list__item {
    background-color: rgb(241,242,243);
    padding: 15px;
    margin-bottom: 6px;
}
.app-list__item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.item-header__left {
    display: flex;
    flex-direction: column;
}

.app-workspace-name {
    font-size: 2rem;
}

.item-header__right {
    display: flex;
    align-items: center;
}
.item-header__right > div:first-child {
    display: flex;
}

.app-button, .app-button-accordion {
    border: 0;
    outline: 0;
    background-color: grey;
    padding: 6px 8px;
    border-radius: 3px;
    min-height: 36px;
    min-width: 36px;
    font-weight: bold;
    user-select: none;
    display: inline-flex;
    text-align: center;
    color: currentColor;
    align-items: center;
    justify-content: center;
}
.app-button:hover, .app-button-accordion:hover {
    opacity: .8;
}
.app-button:not(:last-child) {
    margin-right: 6px;
}

.app-button-accordion {
    display: flex;
    padding: 6px;
    transition: transform .2s;
    margin-left: 6px;
}
.app-button-accordion.expanded {
    transform: rotate(180deg);
}

.app-list__item-expanded-content {

}
.app-list__item-expanded-content > div:first-child {
    padding-top: 15px;
}
.app-list__item-expanded-content > div:first-child > p:first-child {
    border-top: 1px solid grey; 
    padding-top: 6px;  
}
.app-list__item-expanded-content__buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.app-formatted-json {
    display: block;
    padding: 9.5px;
    margin: 10px 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    overflow: auto;
}

.disable-notify .notify-button, .disable-jira .jira-button {
    /*pointer-events: none;*/
    opacity: .6;
}








/* vue transitions */
.fade-enter {
    opacity: 0;
}
.fade-enter-active {
    transition: opacity 0.2s ease-out;
}
.fade-leave-active {
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

.accordion-enter-active, .accordion-leave-active {
    will-change: height, opacity;
    transition: height .3s ease-in-out, opacity .3s ease-in-out;
}
.accordion-enter, .accordion-leave-to {
    height: 0 !important;
    opacity: 0;
}




/* Json pre tag */
.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }




/* app modal */
.app-create-hook-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-create-hook-modal .app-container {
    width: 100%;
}
.app-modal {
    background: white;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 3px;
    box-shadow: 0 2px 13px -2px #333;
    overflow: auto;
}
.app-modal-header {
    padding: 15px;
    font-weight: bold;
    background-color: lightgray;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.app-close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: gray;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
}
.app-close:hover {
    opacity: .8;
}
.app-modal-body {
    padding: 15px;
}
.app-modal-body-content {
    display: flex;
    flex-direction: column;
    padding: 25px 0 30px 0;
}
.app-modal-body-content b {
    margin-top: 15px;
}
.app-modal-body-form form > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.app-modal-body-form.app-form-disabled {
    pointer-events: none;
    opacity: .6;
}

.app-modal-body-form input, .app-modal-body-form select {
    border: 1px solid gray;
    background: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    height: 40px;
    width: 100%;
    margin: 2px 0 10px;
}
.app-modal-body-form button {
    margin: 15px 0;
    float: right;
}

.app-help-icon {
    display: flex;
    align-items: center;
}

.app-help-icon:hover::before {
    opacity: 1;
}

.app-help-icon::before {
    content: attr(data-helper);
    margin-right: 4px;
    opacity: 0;
}
.app-modal-loading, .app-modal-success, .app-modal-fail {
    height: 36px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: bold;
}
.app-modal-success {
    background-color: limegreen;
}
.app-modal-loading {
    background-color: skyblue;
}
.app-modal-fail {
    background-color: red;
}

.app-modal-hooks-list {
    padding-left: 15px;
}





.app-workspace-item {
    padding: 15px;
    background-color: rgb(241,242,243);
    margin-bottom: 15px;
}
.app-workspace-item > b {
    font-size: 2rem;
}
.app-list__item--small {
    padding: 0;
    border-bottom: 1px solid lightgray;
}
.app-list__item-expanded-content__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}