﻿.qalens-body { 
}
.qalens {
    position: relative;
    width: 100%;
    margin: 5px;
    padding: 3px;
}
    .qalens[deleted] {
        background-color:#80808012;
        border:solid 1px red;
    }
    .qalens:focus-within {
        border: solid 1px grey;
        background-color: #8080801b;
    }
.qalens-question {
    font-weight: bold;
    font-size: 0.9em;
}
.qalens-q {
    font-weight: bold;
    text-align: center;
    font-size: 1.0em;
    width:20px; 
}
.qalens-a {
    font-weight: bold;
    text-align: center;
    font-size: 1.0em;
    width: 20px;
    color: green;
}
.qalens-answer {
    font-size: 0.9em;
}
.qalens-attachment {
}  
.qalens-button {
    padding: 2px;
    min-width: unset;
    width: 30px;
    border: none;
    z-index: 9999;
    color: black;
    font-size: 1.0em;
} 

.qa-add {
    min-width: unset;
    padding: 0px 10px 0px 10px;
    width: auto;
    border: none;
    z-index: 99999;
    color: darkblue;
    font-size: 1.2em;
    height: auto;
    background-color: white;
    border: solid 1px #8080801b;
    text-align: center;
}
    .qa-add:hover {
        color: white;
        background-color: darkblue;
    }

.qa-btn {
    min-width: unset;
    padding: 2px 10px 2px 10px;
    margin: 2px;
    width: auto;
    border: none;
    z-index: 99999;
    color: darkblue;
    font-size: 1.2em;
    height: auto;
    background-color: transparent;
    border: solid 1px #8080801b;
    text-align: center;
}

    .qa-btn:hover {
        color: white;
        background-color: darkblue;
    }
.qa-btn:disabled {
    color: silver;
    background-color: white;
}

.qa-btn-sm {
    min-width: unset;
    padding: 2px 5px 2px 5px; 
    margin: 2px;
    width: auto;
    color: darkblue;
    font-size: 1.0em;
    height: auto;
    background-color: transparent;
    border: none;
    text-align: center;
}

    .qa-btn-sm:hover {
        color: black;
        background-color: #8080801b;
    }
    .qa-btn-sm:disabled {
        color: silver;
        background-color: white;
    }
.qalens-attachments {
}
    .qalens-attachments:not(:empty) {
        padding-left: 3px;
    }

.qalens-attachmentitem {
    width: 100px;
    height: 100%;
    background-color: #8080801b;
    border: solid 2px white;
    display: inline-block;
    text-align: center; 
}
.qalens-attachmentitem-loading {
    margin-top: 30%;
    margin-bottom: 30%; 
}

.qalens-deleted {
    background-color: #8080801b !important;
    color: white !important;
    border-color: #8080801b;
    text-decoration:line-through;
}

.qalens-deleted .qalens-attachmentitem { 
    filter: blur(1px);
}
.qalens-search {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-bottom: solid 2px black;
}
.qalens-checkbox {
    margin: 0px;
    padding: 0px;
    margin-left: 0px;
    margin-right: 5px;
    height: 12px;
}
.qalens-checkall {
    margin: 0px;
    padding: 0px;
    margin-left: 0px;
    margin-right: 5px; 
    height:12px; 
}

.qalens-search .search-box {
    background-color: #80808012;
    padding: 5px;
    margin-left: 5px;
    white-space: nowrap;
}
.qalens-search .search-box:focus-within {
    background-color: #80808012 !important; 
}

.qalens-search .fa-search {
    width: 20px;
    margin: 5px;
    height: calc(100% - 10px);    
}
.qalens-search .search-text {
    width: calc(100% - 34px);
    border: solid 1px white;
    outline-color: #80808012 !important;
    min-height: calc(100% - 4px);
    font-size: 1.2em;
    margin: 0px;
    background-color: white !important;
}

.qalens-search .search-field { 
    color:red;
} 