html {
    background-color: #fff;
    color: #636b6f;
    /*font-family: 'Nunito', sans-serif;
    font-weight: 200;*/
    margin: 0;
}
body {
    /*margin-bottom: 60px;*/
    background-color: #fff;
    color: #636b6f;
    /*font-family: 'Nunito', sans-serif;
    font-weight: 200;*/
    /*min-height: 100vh;*/
    overflow-x: hidden;
}
.navbar {
    z-index: 10;
}
#questionAndAnswers {
    border-left: 1px solid rgba(0,0,0,.1);
    border-right: 1px solid rgba(0,0,0,.1);
}
#questionlist.container {
    display: flex;
    overflow: hidden;
    height: 100vh;
    margin-top: -100px;
    padding-top: 100px;
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    will-change: overflow;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 16px;
    margin-bottom: -16px;
}
.container.standard {
    height: calc(100vh - 60px);
    padding-top: 100px;
    overflow: auto;
    /*margin-bottom: -60px;*/
}
.left,
.middle,
.right {
    overflow: auto;
    height: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}
.left::-webkit-scrollbar,
.middle::-webkit-scrollbar,
.right::-webkit-scrollbar {
    display: none;
}
.left {
    width: 20rem;
}

.middle {
    flex: 1;
}

.right {
    width: 20rem;
}
.centered {
    max-width: 1140px;
}
.footer {
    /*position: absolute;
    bottom: 0;*/
    width: 100%;
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
    flex: none;
}
.starter-template {
    padding: 9rem 1.5rem 3rem 1.5rem;
    text-align: center;
}

.errormessage, .successmessage {
    display: none;
}

.notclickable {
    cursor: default !important;
}

table td {
    vertical-align: middle !important;
}

.btn-right {
    float: right;
}

.modal-header .btn-floating {
    margin-left: auto;
    margin-right: 0px;
    margin-top: -10px;
}

.modal-header .close {
    margin-left: 0;
}

#userForm .btn-right {
    margin-right: 0;
}

#userForm .col-form-label {
    text-align: left;
}

#orderForm input[type="tel"] {
    border: 1px solid #eee;
    line-height: 40px;
    padding-left: 10px;
    width: 100%;
}

.buttonBlock:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.add, .mobileAdd, .remove, .mobileRemove {
    cursor: pointer;
    display: inline-block;
}

.remove {
    margin-left: 15px;
}

.select2 {
    width: 100% !important;
}

.mobileBuffer {
    height: 10px;
    width: 100%;
}

.active-text {
    color: #4285f4 !important;
}

.custom-checkbox .custom-control-label::before {
    width: 30px;
    height: 30px;
    top: 6px;
    background: none;
    border: 1px solid #eee;
    border-radius: 0px !important;
}

.custom-control-label::after {
    width: 30px;
    height: 30px;
    top: 6px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #0069d9;
    border-color: #0062cc;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

#projectsTable th {
}

#projectsTable td {
    padding-left: 38px;
}

#projectsTable td a {
    display: block;
    color: inherit;
    text-decoration: none;
}

[data-toggle="collapse"] i {
    width: 25px;
}

[data-toggle="collapse"] i:before{
    content: "\f078";
}

[data-toggle="collapse"].collapsed i:before{
    content: "\f054";
}

#projectsTable tr {
    cursor: pointer;
}

td.distribution {
    font-style: italic;
}

table.distributionList {
    border-spacing: 1;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
table.distributionList * {
    position: relative;
}
table.distributionList tbody {
    border-top: 2px solid #dee2e6;
}
table.distributionList td, table.distributionList th {
    padding-left: 8px;
    border-top: 1px solid #dee2e6;
}
table.distributionList thead tr {
    height: 50px;
    background: #fefefe;
}
table.distributionList tbody tr {
    height: 50px;
}
table.distributionList tbody tr:last-child {
    border: 0;
}
table.distributionList td, table.distributionList th {
    text-align: left;
}
table.distributionList td.l, table.distributionList th.l {
    text-align: right;
}
table.distributionList td.c, table.distributionList th.c {
    text-align: center;
}
table.distributionList td.r, table.distributionList th.r {
    text-align: center;
}
.table100-head th{
    font-size: 15px;
    color: #808080;
}

/*tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}*/

table.distributionList tbody tr {
    font-size: 15px;
    color: #808080;
    font-weight: unset;
}

table tbody tr:hover:not(.notclickable) {
    color: #555555;
    background-color: #f5f5f5;
    cursor: pointer;
}

.column1 {
    width: auto;
    padding-left: 10px;
}

.column2 {
    width: auto;
}

.column3 {
    width: auto;
}

.column4 {
    width: auto;
}

.column5 {
    width: auto;
}

.column6 {
    width: auto;
    padding-right: 10px;
}


@media screen and (max-width: 992px) {
    table.distributionList {
        display: block;
    }
    table.distributionList > *, table.distributionList tr, table.distributionList td, table.distributionList th {
        display: block;
    }
    table.distributionList thead {
        display: none;
    }
    table.distributionList tbody {
        border-top: none;
    }
    table.distributionList tbody tr {
        height: auto;
        padding: 15px 0;
        /*border-top: 1px solid #dee2e6;*/
    }
    table.distributionList tbody tr td {
        padding-left: 40% !important;
        margin-bottom: 24px;
        border-top: none;
    }
    table.distributionList tbody tr td:last-child {
        margin-bottom: 0;
    }
    table.distributionList tbody tr td:before {
        font-size: 14px;
        color: #999999;
        font-weight: unset;
        position: absolute;
        width: 40%;
        left: 30px;
        top: 0;
        margin-top: 2px;
    }
    table.distributionList tbody tr td:nth-child(1):before {
        content: "Roll";
    }
    table.distributionList tbody tr td:nth-child(2):before {
        content: "Namn";
    }
    table.distributionList tbody tr td:nth-child(3):before {
        content: "Företag";
    }
    table.distributionList tbody tr td:nth-child(4):before {
        content: "Epost";
    }
    table.distributionList tbody tr td:nth-child(5):before {
        content: "Telefon";
    }
    table.distributionList tbody tr td:nth-child(6):before {
        content: "Mobil";
    }

    .column4,
    .column5,
    .column6 {
        text-align: left;
    }

    .column4,
    .column5,
    .column6,
    .column1,
    .column2,
    .column3 {
        width: 100%;
    }

    table.distributionList tbody tr {
        font-size: 14px;
    }

    table.distributionList tbody tr:nth-child(even) {
        background-color: #f5f5f5;
    }
}

@media (max-width: 576px) {
    .container-table100 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.ph-item {
    border: none;
}

.btn-mastiff-orange {
    background-color: #ff9900;
    color: #ffffff;
}

/* Question list page */
.questionList-wrapper {
    border-top:1px solid #e6e6e6;

}
.qaa-columns {
    overflow: hidden;
    clear: both;
}
.questions-wrapper {
    background: #ffffff none repeat scroll 0 0;
    float: left;
    overflow: hidden;
    width: 20%;
    border-right:1px solid #e6e6e6;
}
.btn-floating.btn-no-float {
    box-shadow: none;
}
.question-options {
    position: absolute;
    height: 70px;
    /* width: 19.05rem; */
    width: 20rem;
    background: #fff;
    border-bottom:1px solid #e6e6e6;
}
.question-options .fas, .mobileBackWrapper .fas {
    color: #636b6f;
}
.question-options h4 {
    font-size: 1.25rem;
    line-height: 68px;
    margin-bottom: 0;
    float: left;
    padding-left: 16px;
}
.answers {
    float: left;
    padding: 0 15px 0 15px;
    width: 60%;
    border-right: 1px solid #e6e6e6;
}
#answers-question {
    padding-top: 3rem;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}
#answer-preloader {
    display: none;
    padding-top: 5rem;
}
.answer-devider {
    margin: 2rem 0;
}
.editAnswerButton i:hover {
    color: #0d0d0d !important;
}
.removeAnswerButton i:hover {
    color: #ff4500 !important;
}
.card {
    margin-bottom: 10px;
}
.time-ago {
    font-size: 12px;
}
.question-detail {
    float: left;
    width: 20%;
}
.questionsList {
    /*height: 100vh;*/
    /*overflow-y: scroll;*/
    margin-top: 70px;
}
.questionsList h4 {
    font-size: 1.25rem;
    height: 50px;
    padding: 13px 0 0 16px;
    background: #eaeaea;
    margin-bottom: 0;
}
.questionBox {
    background: #FFFFFF none repeat scroll 0 0;
    border-bottom: 1px solid #e6e6e6;
    margin: 0;
    padding: 18px 16px 10px;
    cursor: pointer;
}
.active_question {
    background:#f5f5f5;
}
.questionContent {
    overflow:hidden;
    clear:both;
}
.questionContentInner {
    float: left;
    width: 100%;
}
.questionContentInner h5 {
    font-size:15px;
    color:#464646;
    margin:0 0 8px 0;
}
.questionContentInner span {
    font-size:13px;
    float:right;
}
.questionContentInner p {
    font-size:14px;
    color:#989898;
    margin:auto
}
#questionDetails .list-group-item {
    position: unset;
    font-size: 13px;
    border: 1px dashed rgba(0,0,0,0.125);
    border-left: 0;
    border-right: 0;
}
#questionDetails h4 {
    padding-top: 1.5rem;
    padding-left: 1.25rem;
    font-size: 1.25rem;
}
.list-group-flush:first-child .list-group-item:first-child {
    border-radius: 0;
    border-top: none !important;
}

.attachment-name-cut {
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    display:inline-block;
    margin-bottom: -6px;  /*Compensates for display: inline-block*/
}
.dropdown-menu-center {
    top: 100% !important;
    right: auto !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, 0) !important;
    -o-transform: translate(-50%, 0) !important;
    transform: translate(-50%, 0) !important;
}
.mobileBackWrapper {
    display: none;
}
.questionOptions {
    position: absolute;
    top: -1rem;
    right: 0.5rem;
}
.questioner {
    color: rgba(0,0,0,0.87);
}
@media (max-width: 991.98px) {
    h1 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .lead {
        font-size: 1rem;
    }
    .starter-template {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    table.distributionList tbody tr td {
        margin-bottom: 1rem;
        line-height: 1.2rem;
    }
    #answers-question {
        padding-top: 1rem;
    }
    .mobileBackWrapper {
        display: flex;
        background-color: #4A4A4A;
    }
    .mobileBack {
        color: rgba(255,255,255,0.8);
    }
    .dateBlock {
        padding-top: 7px;
        font-size: 13px;
    }
    .dateBlock:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }
    .remove, .mobileRemove {
        margin-left: 3px;
    }
    .form-row:nth-child(even) {
        background: #f5f5f5;
        padding: 15px 0 5px 0;
    }
    .form-row:nth-child(odd) {
        padding: 15px 0 5px 0;
    }
    #orderButton {
        width: 100%;
        cursor: pointer;
        margin-bottom: 10px;
    }
    .left, .question-options {
        width: 100%;
    }
    #questionAndAnswers, #questionDetails {
        display: none;
    }
    .navbar-brand {
        font-size: 1rem;
    }
    .questionOptions .btn-floating {
        margin: 0;
        margin-top: 6px;
    }
    #answers-question h3 {
        max-width: 60%;
    }
    .imglist {
        margin-bottom: 1rem;
    }
    #answers-question .row {
        padding-bottom: 3rem;
    }
}
