.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
       margin-top: -1px;
}

table th {
    white-space: nowrap;
}

.actions_div {
    text-align: center;
    white-space: nowrap;
}

/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 60%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
         -o-transform: translate3d(0%, 0, 0);
            transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog{
    left: -60%;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
       -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
         -o-transition: opacity 0.3s linear, left 0.3s ease-out;
            transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog{
    left: 0;
}
    
/*Right*/
.modal.right.fade .modal-dialog {
    right: -60%;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
       -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
         -o-transition: opacity 0.3s linear, right 0.3s ease-out;
            transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

@media (max-width: 767px) {
    .modal.left .modal-dialog,
    .modal.right .modal-dialog {
        width: 100%;
    }

    .modal.left.fade .modal-dialog{
        left: -100%;
    }

    .modal.right.fade .modal-dialog {
        right: -100%;
    }
}

.rightModal label {
    font-size: 1.2em;
}

.rightModal .well {
    background: #f3f7ff;
    margin-bottom: 4px;
    padding: 5px 10px;
}

.rightModal .modal-title {
    font-size: 1.6em;
    font-weight: bolder;
}

.rightModal .close {
    font-size: 30px;
}

.dataTables_wrapper .row div {
    overflow-x: scroll;
}

#fileInfoModal {
    z-index: 1150;
}

.textbetweenlines {
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid #cccccc; 
    line-height: 0.1em;
    margin: 10px 0 20px; 
 } 
 
 .textbetweenlines span { 
     background:#fff; 
     padding:0 10px; 
 }

 /* Global Styles for Timeline*/
.timeline {	margin: 0;	padding: 0;	position: relative; }
.timeline a { text-decoration: none; cursor: pointer; }
.timeline h1 { font-size: 1.6rem; font-weight: 300; color: #FFF; letter-spacing: 0.1rem; margin-top: 5px; margin-bottom: 5px; }
.timeline li { list-style: none; padding-top: 15px; margin-bottom: -20px; border-left: 4px solid transparent; }

/* Note Collapse Positioning */
.note-close { position: relative; top: -23px; height: 0px; color: #fff !important; }
.note-user { position: relative; top: -23px; height: 0px; color: #fff !important; float: right; margin-right: 5%;}
/* The Dividing line between notes */
.timeline li:after { content: ""; display: block; height: 1px; background-image: url(img/date-line.png); max-width: 900px; margin-bottom: 21px; margin-top: -25px; }

/* The Time Line */
.timeline:before { content: '';	position: absolute;	top: 50px; bottom: 0; width: 4px; background: #e9ecef; left: 16%; margin-left: -10px; }

/* The date/time */
.timeline > li .timeline-date {	display: block; width: 25%;	padding-right: 15.88888%; position: relative; top: 0; margin-bottom: -70px; }
.timeline > li .timeline-date span { display: block; text-align: right; }
.timeline > li .timeline-date span:first-child { font-size: 3.0rem;	color: #587086; }
.timeline > li .timeline-date span:last-child { font-size: 1.4rem; color: #909090; margin-top: -7px; }
.timeline > li .note-content { margin: 0 25px 15px 20%; background: #849aae; color: #777; padding: 0; font-size: 1.2em; font-weight: 300; line-height: 1.4; position: relative; border-radius: 5px; top: -20px; border: 0; }
.timeline > li .note-content:after { right: 100%; border: solid transparent; content: " "; height: 0; width: 0;	position: absolute;	pointer-events: none; border-right-color: #849aae; border-width: 10px; top: 15px; left: -19px; }
.timeline > li:nth-child(odd) .note-content:after { right: 100%; border: solid transparent; content: " "; height: 0; width: 0;	position: absolute;	pointer-events: none; border-right-color: #587086; border-width: 10px; top: 15px; left: -19px; }

/* Collapasble Content */
.note-content .panel-default >.panel-heading { color: #fff; background-color: #849aae; border-color: #849aae; paddding: 5px 15px !important; }
.note-content .panel-footer { padding: 4px 0px; background-color: #849aae; border-top: 1px solid #849aae; color: #fff; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; }
.timeline > li:nth-child(odd) .note-content .panel-default >.panel-heading { color: #fff; background-color: #587086; border-color: #587086;	paddding: 5px 15px !important; }
.timeline > li:nth-child(odd) .note-icon { color: #fff; background-color: #587086; border-color: #587086; }
.timeline > li:nth-child(odd) .panel-footer { color: #fff; background-color: #587086; border-color: #587086; }

/* AM/PM */
.timeline-date sup { font-size: 1.2rem; vertical-align: top; margin-top: 18px; position: absolute; margin-left: 3px; }

/* Icons */
.note-icon { color: #000; }
.timeline > li .note-icon { width: 32px; height: 32px; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; font-size: 1.4rem; line-height: 34px; -webkit-font-smoothing: antialiased; position: relative; color: #fff;	background: #849aae; border-radius: 50%; text-align: center; left: 15.8%; top: 19px; margin: 0 0 0 -24px; }

/* Media Queries */
@media screen and (max-width: 768px) {
	
	/* The Time Line */
	.timeline:before { content: '';	position: absolute;	top: 50px; bottom: 0; width: 4px; background:none; left: 16%; margin-left: -10px; }
	
	/* --- Note Content Re-Positioning --- */
	/* Not Content */
	.timeline > li .note-content { margin: 0 25px 15px 15px; top: 0; }
	.timeline > li .note-content:after { right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #849aae; top: -19px; }
	.timeline > li:nth-child(odd) .note-content:after { right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #587086; top: -19px;	}
	.timeline > li:hover .note-content:after { right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #1180b0; top: -19px; }
	.timeline > li:nth-child(odd):hover .note-content:after { right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #1180b0; top: -19px;	}
	
	/* Date and Time*/
	.timeline > li .timeline-date { display: block; width: 25%; position: relative; top: -10px; margin-bottom: 10px; margin-left: 15px; }
	.timeline > li .timeline-date span:first-child { font-size: 1.66em; position: relative; margin-top:0; }
	.timeline > li .timeline-date span:last-child { font-size: 0.8em; float: left; margin-left: 3px; }
	.timeline li:after { content: ""; display: block; height: 1px; background-image: url(img/date-line.png); max-width: 900px; margin-bottom: 20px; margin-top: 5px; }
	.timeline-date sup { position: relative; top: 10px; }
	
	/* Note Icon */
	.timeline > li .note-icon { top: -38px; margin: 0 25px 0 0; float: right; left: initial; width: 40px; height: 40px; line-height: 42px; margin-top: -9px; font-size: 1.6rem; }
	
}

.actions_div .btn {
    padding: 4px 5px;
    height: fit-content;
    line-height: 1em;
}

.actions_div .fa {
    font-size: 13px
}

.rightModalBody {
    font-size: 0.8em;
}

.rightModalBody .well {
    margin: 1px;
    padding: 5px 10px;
}

.rightModalBody .form-group {
    margin-bottom: 5px;
}

.progress {
    background-color: #d0cfcf;
}