/* Documents CSS */

.documents,
.open_orders_block {
    clear:left;
    margin-top:16px;
}

/* Open Orders */
.open_orders_block {
    margin-bottom: 20px;
}

/* Document Menu */

ul.document_menu {
    margin: 8px 0;
    border-radius:0px 16px 16px 0px;
    padding:0px;
}

#doc_label {
    color: #5fcdc9;
}

.documents .document_menu li {
    padding:0px;
    list-style:none;
    position:relative;
    display: inline-block;
    border-bottom: none;
}

.document_menu li a {
    display:inline-block;
    padding: 8px 0 8px 12px;
    color:#797979;
    text-decoration:none;
}

.document_menu li a.active-documents-link {
    color: #5fcdc9
}


.document_menu li.doctype-RecentDocuments {
    color: #5fcdc9;
}

.document_menu li a:hover {
    text-decoration:underline;
}

.document_menu span {
    display: inline-block;
    color: #b9b9b9;
    font-size: 13px;
}

/* Document Lists */

.documents ul.document_list{
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: none;
    margin-bottom: 0;
    padding-bottom: 0;
    background: white;
    border-radius: 4px;
    border: solid 1px #d6d6d6;
}

.documents ul.document_list.visible {
    height: auto;
    opacity:1;
    visibility:visible;
    transition: visibility 0.3s ease-out, opacity 0.3s ease;
    margin-bottom: inherit;
    padding-bottom: 0;
}

.documents ul.document_list li {
    padding:12px 8px 8px 40px;
    border-bottom:1px solid #efefef;
    background-repeat:no-repeat;
    min-height:30px;
    line-height: 24px;
    list-style:none;
    background-size:40px 40px;
    position: relative;
}

.document_list li:not(.doc_subtype_header):before{
    -webkit-font-smoothing: antialiased;
    color: #949494;
    content: '\f15b';
    display: inline-block;
    font: normal normal normal 20px/1em FontAwesome;
    left: 14px;
    position: absolute;
    text-rendering: auto;
    top: 14px;
    transition: all .2s;
    visibility: visible;
}

.document_list li.empty {
    padding:80px;
    text-align:center;
    color:#737373;
    font-size:15px;
    border:none;
    background-image: none
}

.document_list a {
    color:#797979;
}

.document_list li.doc_subtype_header {
	font-weight: bold;
    color: #696969;
    font-size: 14px;
    border-bottom: solid 1px #e2e2e2;
}

#RecentDocuments li.doc_subtype_header {
    display:none;
}

.upload_new_document {
    text-align:center;
    padding:8px;
}

/*all of the document type classes*/

.document_list li.doc_class_pdf:before {
    content: '\f1c1';
}
.document_list li.doc_class_doc:before {
    content: '\f15c';
}

.document_list li.doc_class_xls:before {
    content: '\f1c3';
}

.document_list li.doc_class_img:before {
    content: '\f1c5';
}

.document_list li.doc_class_zip:before {
    content: '\f1c6';
}

/* Download-All */
a.download-all-files {
    float: right;
}
a.download-all-files:hover {
	color:#BB49A1;
	text-decoration:underline;	
}

/*********** ORDER SUMMARY CLASSES *****************/

.open_orders {
    list-style:none;
}

.open_orders li {
    list-style:none;
    padding:15px 0;
    border-bottom:1px solid #ccc;
}

.open_orders strong.test-name {
    font-size:16px;
    padding:0 15px;
    color:#4abfba;
}

.open_orders div.test-description {
    display: none;
    padding: 10px 15px;
    margin-left: 25px;
    margin-top: 12px;
    border: solid 1px #efefef;
    background-color: white;
    border-radius: 4px;
}

.open_orders button.details {
    float:right;
}

/*********** BOX FORMS *****************/
.draggable.add_new_document form {
    padding: 15px;
}

/*********** RESPONSIVE *****************/

@media screen and (max-width: 960px){
    .content .document_menu {
        width: auto;
        margin: 0;
        border-radius: 4px;
        display: block;
        float: none;
    }

    .document_list {
        width :auto;
    }

    .open_orders strong.test-name {
        padding: 0;
    }
}

@media screen and (max-width: 680px){
    .documents ul.document_menu li {
        display: block;
        margin-left: 12px;
        border-bottom: solid 1px #e2e2e2;
    }

    .documents ul.document_menu li a{
        padding: 8px 16px 8px 16px
    }

    .documents ul.document_menu li  span {
        top: 10px;
    }
}

/*********** PRINT *****************/
@media print{
    .documents .document_list {
        height: auto;
        opacity: 1;
        visibility: visible;
    }

    .document_menu {
        display: none
    }
}
