*{
    margin: 0;
    pad: 0;
}
a{
    color: inherit;
    text-decoration: none;
}

header{
    width: 99%;
}
footer{
    width: 100%;
    background: #685763;
    color: #b9b9b9;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
}

.page-logo{
    height: 50px;
    clear: both;    
}
.page-logo img{
    float: left;
    width: 50px;
}
.page-logo h2{
    font-size: 26px;
    color: #5776a5;
    font-family: fantasy;
}

.topbar{
    background: #956286;
    padding: 3px 0;
    color: #FFF;
}

.tb-info table th{
    font-size: 13px;
    line-height: 13px;
    font-weight: 400;
    text-align: right;
}
.tb-info table td{
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.tb-search input{
    width: 120px;
    margin-left: 5px;
    float: left ;
    border-radius: 5px 0px 0px 5px;
}
.tb-search button{
    height: 38px;
    border-radius: 0px 5px 5px 0px;
    border: none;
}
.tb-profile{
    margin-top: 5px;
}
.tb-profile a{
    font-size: 15px;
    transition-duration: 0.5s;
}
.tb-profile a:hover{
    color: #f0f0f0;
    border-bottom: 1px #f0f0f0 solid;
    padding-bottom: 2px;
    transition-duration: 0.5s;  
}

.bottombar{
    background: #f0f0f0;
    padding: 5px;
    text-align: center;
}
.nexttask{
    text-align: center;
    position: relative;
    display: inline-block;
}
.loader{
    position: absolute;
    top: 3px;
    right: -40px;
    display: none;
}
.loader img{
    width: auto;
    height: 30px;
}
.bb-div{
    float: left;
    font-size: 12px;
    margin-right: 10px;
    margin-top: 5px;
}
.bb-div input{
    margin-top: 0px;
    float: left;
}
.bb-div span{
    margin-top: -4px;
    float: right;
    margin-left: 3px;
}
.bb-qinfo p{
    font-size: 13px;
    font-weight: 500;
    float: left;
    margin: 0;
}


.notification-box{
    padding: 10px;
    background: #e1e1e1;
    border: 1px #cbcbcb solid;
    margin-top: 20px;
}
.notification-box h2{
    font-size: 17px;
    border-bottom: 1px #c3c3c3 solid;
    padding-bottom: 8px;
    color: #72556a;
}


.profile-history{
    background: #956286;
    padding: 10px;
    min-height: 300px;
    max-height: 600px;
    overflow-y: scroll;
    margin-top: 10px;
    display: flex;
    flex-direction: column-reverse;
}

.ph-item{
    background: #f0f0f0;
    padding: 5px 10px 10px 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 10px;
}
.ph-item span{
    font-weight: 500;
    color: #8b6c82;
    padding-bottom: 5px;
    display: block;
}
.ph-item p{
    font-weight: normal;
    color: #2a2428;
    padding: 0;
    margin: 0;
}
.ph-item-header{
    text-align: right;
    margin-bottom: 5px;
}
.ph-item-header button{
    font-size: 10px;
    border: 1px #876f7e solid;
    color: #876f7e;
    border-radius: 2px;
    transition-duration: 0.5s;
}
.ph-item-header button:hover,
.ph-item-header button:active,
.ph-item-header button:visited{
    background: #876f7e;
    color: #ffffff;
    border: 1px #5e4e57 solid;
    transition-duration: 0.5s;
}

.ph-note{
    background: #fffab9;
}

.ph-internal{
    background: #ffbaeb;
}

.ph-question{
    width: 80%;
    float: left;
    background: #b6ffeb;
}

.ph-answer{
    width: 80%;
    float: right;
    background: #a1ff9b;
}

.ph-nontranslated{
    background: #b6ffeb;
}

.clearfix{
    clear: both;
}

.profile-linked{
    background: #956286;
    padding: 10px;
    border-top: 2px #9f979c solid;
}
.pl-item{
    background: #ffc3fa;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 10px;
}
.pl-item ul{
    list-style: none;
    margin: 0px;
    padding: 0;
    text-align: center;
}
.pl-item ul li{
    list-style: none;
    display: inline;
    color: #000000;
    padding: 3px;
}
.pl-item ul li a{
    text-decoration: underline;
}

.profile-info{
    padding: 10px;
    background: #d3d3d3;
}
.pi-general table{
    font-size: 14px;
}
.pi-general table td{
    width: 40px;
}
.pi-general table .pig-last-td{
    width: 0px;
}

.pi-general .pig-photo{
    min-height: 100px;
    text-align: center;
    padding: 10px;
}
.pi-general .pig-photo p{
    margin-top: 20px;
    text-decoration: underline;
}


.pi-timeline{
    min-height: 200px;
    max-height: 300px;
    overflow-y: scroll;
}
.pi-timeline table{
    font-size: 13px;
}
.pi-timeline table td{
    padding: 5px;
}
.pi-timeline table ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.pi-timeline table ul li{
    display: inline;
    margin-right: 5px;
    color: #7e2a66;
}

.profile-qa{
    padding: 10px;
    background: #f0f0f0;
}
.pq-answer textarea,
#confirmanswer,
#addNoteText{
    height: 300px;
    resize: none;
    border: 2px #a5a5a5 solid;
}
.pq-answer textarea::placeholder{
    font-size: 13px;
}

.pq-button{

}
.pq-button ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.pq-button table{
    font-size: 12px;
    color: #505050;
    font-weight: 500;
}

.pqb-tob-bottom{
    position: absolute;
}

.pqb-top{
    width: 100%;
    float: left;
}
.pqb-top button{
    clear: both;
    width: 150px;
    margin-bottom: 6px;
}

.pqb-bottom{
    width: 100%;
    float: left;
}
.pqb-bottom button{
    clear: both;
    width: 150px;
    margin-bottom: 6px;
}
.pqb-mid{
    width: 100%;
    height: 70px;
    float: left;
}

.pqb-top .pqbtn-left,
.pqb-bottom .pqbtn-left{
    float: left;
}
.pqb-top .pqbtn-right,
.pqb-bottom .pqbtn-right{
    float: right;
}

#cancel_btn,
#clarify_btn,
#answer_btn{
    display: none;
}

.template_applied{
    margin-left: 50px;
    font-size: 15px;
    color: #57ffc2;
    display: none;
    transition-duration: 0.5s;
}

.alert_popup_box{
    display: none;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 9999;
}

/* Tree View */


.list-group.list-group-tree {
    padding: 0;
  }
  
  .list-group.list-group-tree .list-group {
    margin-bottom: 0;
  }
  
  .list-group.list-group-tree > .list-group > .list-group-item {
    padding-left: 30px;
  }
  .list-group.list-group-tree > .list-group > .list-group > .list-group-item {
    padding-left: 45px;
  }
  .list-group.list-group-tree > .list-group > .list-group > .list-group-item > .list-group-item {
    padding-left: 60px;
  }
  .list-group.list-group-tree > .list-group > .list-group > .list-group-item > .list-group-item > .list-group-item {
    padding-left: 75px;
  }
  .list-group.list-group-tree > .list-group > .list-group > .list-group-item > .list-group-item > .list-group-item > .list-group-item {
    padding-left: 90px;
  }
  .list-group-item .fa {
    margin-right: 5px;
  }
  
  .fa-chevron:before {
        content: "\f054"; /*right*/
  }
  .in > .fa-chevron:before {
        content: "\f078"; /*down*/
  }