/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}
h1, .h1 {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 1px solid #E6E9ED;
}

h2, .h2 {
    font-size: 23px;
}

small.gray {
    color: #CCD1D9;
}

.red {
    color: #DA4453;
}

.view h1,
.view .h1 {
    border: none;
    margin-bottom: 10px;
    padding: 0;
}

label>p {
    margin: 0;
}

.italic {
    font-style: italic;
}

/*
 * Nav-bar
 */
.navbar {
    height: 50px;
    border: none;
    box-shadow: 0 1px 4px #ccc
}
.navbar-fixed-top {
    /*background: #c00808;*/
    background: #ffcc00;
    border-bottom: 1px solid #ff9900;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.active>a {
    background: #ff9900;
}
.navbar .navbar-nav>li>a {
    color: #443322 !important;
}
.navbar .navbar-nav>li>a:focus,
.navbar .navbar-nav>li>a:hover {
    color: #ff9900 !important;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    background-color: #ff9900 !important;
    color: #443322;
}

.navbar-brand {
    padding-top: 0;
}

.logo {
    /*max-height: 25px;*/
}

.navbar .auth_user_li {
    max-width: 180px;
}

.navbar-nav li.company-name {
    margin-right: 1em;
    color: #FFFFff;
    font-weight: bold;
    line-height: 49px;
    font-style: italic;
}


/** CUSTOM BOOTSTRAP **/
.panel-default {
    border-color: #e6e9ed;
}
.panel-warning {
    border-color: #f6bb42;
}
.panel-info {
    border-color: #37bc9b;
}
.panel-default>.panel-heading {
    color: #434a54;
    background: #e6e9ed;
    border-color: #e6e9ed;
}
.panel-default>.panel-footer {
    color: #434a54;
    background: #e6e9ed;
    border-color: #e6e9ed;
}
.panel-warning>.panel-heading {
    color: #fff;
    background: #f6bb42;
    border-color: #f6bb42;
}

.panel-primary>.panel-heading {
    border-color: #3bafda;
}
.panel-primary>.panel-heading {
    color: #fff;
    background: #3bafda;
    border-color: #3bafda;
}

.panel-success {
    border-color: #8cc152;
}
.panel-success>.panel-heading {
    color: #fff;
    background: #8cc152;
    border-color: #8cc152;
}

.panel-danger {
    border-color: #FC6E51;
}
.panel-danger>.panel-heading {
    color: #fff;
    background: #FC6E51;;
    border-color: #FC6E51;;
}

.panel-info>.panel-heading {
    color: #fff;
    background: #37bc9b;
    border-color: #37bc9b;
}

.panel-primary>.panel-heading a,
.panel-warning>.panel-heading a,
.panel-success>.panel-heading a,
.panel-danger>.panel-heading a,
.panel-info>.panel-heading a,
.panel-primary>.panel-heading a:hover,
.panel-warning>.panel-heading a:hover,
.panel-success>.panel-heading a:hover,
.panel-danger>.panel-heading a:hover,
.panel-info>.panel-heading a:hover {
    color: #fff;
    text-decoration: none;
}

.panel-primary>.panel-heading a small,
.panel-warning>.panel-heading a small,
.panel-success>.panel-heading a small,
.panel-info>.panel-heading a small {
    color: #333;
}

.panel-warning>.panel-heading+.panel-collapse .panel-body {
    border-top-color: #faebcc;
}

.target .panel.basic-data .panel-body {
    padding: 15px 0;
}

.panel-success .list-group .list-group-item-heading {
    color: #8CC152;
}

.panel-info .list-group .list-group-item-heading {
    color: #37BC9B;
}
.panel-warning .list-group .list-group-item-heading {
    color: #F6BB42;
}

/*
 * tables
 */
table.table-clickrows tr {
    cursor: pointer;
}

table td.table-sublevel-1 {
    padding-left: 1em !important;
}
table td.table-sublevel-2 {
    padding-left: 2em !important;
}
table td.table-sublevel-3 {
    padding-left: 3em !important;
}
table td.table-sublevel-4 {
    padding-left: 4em !important;
}
table td.table-sublevel-5 {
    padding-left: 5em !important;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* panel */
.panel-heading a:hover {
    text-decoration: none;
}




/*
 * Main content
 */

.pages {
    margin-top: 10px;
}

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.login .panel {
    margin-top: 2em;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.settings_input, .wide_input{
	width: 400px !important;
}

.status_blue,
.status_green,
.status_yellow,
.status_red{
	width: 160px;
	text-align: center;
	color: #ffffff;
}

.status_blue{
	background-color: #428bca;
}

.status_green{
	background-color: #008000;
}

.status_yellow{
	background-color: #FFA500;
}

.status_red{
	background-color: #800000;
}

.status_error_link{
	color: #ffffff;
	text-decoration: underline;
}

.status_error_link:hover{
	color: #ffffff;
	text-decoration: underline;
}

.message, .info, .success, .warning {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 65px;
    background-repeat: no-repeat;
    background-position: 10px center;
    font-size: 125%;
}
.error {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    font-size: 125%;
}
.info {
    border-color: #00529B;
    background-color: #BDE5F8;
    /* color: #00529B;
    background-image: url('../../img/message/info.png');*/
}
.success {
    border-color: #4F8A10;
    background-color: #DFF2BF;
    /* color: #4F8A10;
    background-image:url('../../img/message/success.png');*/
}
.warning {
    border-color: #9F6000;
    background-color: #FFFABF;
    /* color: #9F6000;
    background-image: url('../../img/message/warning.png'); */
}
.error {
    border-color: #D8000C;
    background-color: #FFBABA;
    /* color: #D8000C;
    background-image: url('../../img/message/error.png');*/
}

.pink_tr td{
	background-color: #fbe3e4;
}

.mouse_color{
	background-color: #f00082;
}

.dz-editfilename{
	height:60px;
	display:none;
}

.filename_save{
	margin-top: 5px;
}

.file_savename{
	height:20px;
	line-height:20px;
}

.file_rename_div{
	float:left;width:70px;line-height:40px;
}

.file_delete_div{
	float:left;line-height:40px;
}
.userList{
	width:45%;
}

.share_level{
	clear:both;
	float:left;
}
.share_user{
	float:left;
}
.share_userGroups{
	float:left;

}
#FileSettingUserId{
	width:200px;
	height:auto;
}
#FileSettingGroupId{
	width:200px;
	height:auto;
}
.select label{
vertical-align:top
}
.shareEdit{
	float:left;
	  margin-left: 20px;
}

/*** FRONTPAGE ***/
#frontpage .panel-body {
    padding: 0;
}
#frontpage .panel-body .list-group {
    margin-bottom: 0;
    overflow-wrap: break-word;
}

/*** customize SELECT2 ***/
.input-group .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 32px !important; }
.input-group .select2-container .select2-selection--single { height: 34px !important; }
.input-group .select2-container--default .select2-selection--single { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group .select2-container--default .select2-selection--single .select2-selection__arrow { height: 32px !important; }

/*** BOOTSTRAP TREE IN TARGET VIEW / FILE PREVIEW ***/
.file-preview {
    min-height: 120px;
    height: calc(95vh - 131px);
}
.file-preview .tree {
    overflow: auto;
    min-height: 120px;
}
.file-preview.index .tree {
    /*max-height: 600px;
    height: calc(95vh - 131px);*/
    height: calc(100% - 40px);
}
.tree ul.parents-level {
    padding-left: 0;
}
.tree li {
    list-style-type:none;
    margin:0;
    padding:5px 5px 0 5px;
    position:relative;
    font-size: 13px;
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left: 2px solid #ccd1d9;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 2px
}
.tree li::after {
    border-top: 2px solid #ccd1d9;
    height:20px;
    top:18px;
    width:25px
}
.tree li:hover .parent-action-link {
    display: inline !important;
}
.tree li span {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #ddd;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none;
    cursor:pointer
}

.glyphicon-question-sign.ready_state {
    margin-left: 10px;
    color: #f0ad4e;
}
.glyphicon-exclamation-sign.ready_state {
    margin-left: 10px;
    color: #d9534f;
}
.glyphicon-ok-sign.ready_state {
    margin-left: 10px;
    color: #5cb85c;
}

.tree ul.parents-level li.parent_li:hover + .parent-action-link,
.tree ul.parents-level li.last-child:hover > a.parent-action-link {
    display: inline;
    color: #ff0000;
}
.tree a.parent-action-link span {
    border: none;
}

.tree li span.active {
    background: #8cc152;
    color: #ffffff;
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:20px
}

.tree li.last-child>span:hover,
.tree li.parent_li>span:hover,
.tree li.parent_li>span:hover+ul li span {
    background:#eee;
    border:1px solid #94a0b4;
    color:#000
}

/* fileGroup */
#selectFileGroupStructure {
    padding-top: 15px;
    margin-left: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* file list */
.upload_file {
    margin-bottom: 1em;
}

.tree-column {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    border-right: 1px solid #E6E9ED;
    border-bottom: 1px solid #E6E9ED;
}
.files {
    border-left: 1px solid #E6E9ED;
    margin-left: -1px;
    height: 100%;
    overflow-x: auto;
    border-bottom: 1px solid #E6E9ED;
}
.files h4 {
    /*margin-bottom: 1em;*/
}
.files .header-row {
    border-bottom: 1px solid #E6E9ED;
    margin-bottom: 5px;
}
#editSelectedFiles {
    margin: 5px 0;
}
#editSelectedFilesAdmin,
#downloadToZipFiles {
    margin-bottom: 5px;
}

#file-list {
    clear: right;
}

#file-list .media {
    margin-top: 0;
    padding: 0.2em;
}

#file-list .media:hover {
    background: #F5F7FA;
}

#file-list .media .data_file_checkbox_input {
    float: left;
    margin-top: 1.5em;
    margin-right: 5px;
}

#file-list .media-heading {
    margin: 0 0 2px;
    word-wrap: break-word;
}
#file-list .media .media-object {
    width: 35px;
    height: 35px;
    margin-top: 10px;
}
#file-list .media small {
    color: #AAB2BD;
}
#file-list .media small .size {
    display: block;
}
#upload-form .col-md-12 {
    padding-left: 0;
}

/*spinner for file loading*/
.glyphicon-loading-animate {
    -animation: spin 1.5s infinite linear;
    -webkit-animation: spin2 1.5s infinite linear;
}
@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/*** TIMELINE ***/
.timeline-line {
    border-left: 2px solid #ccd1d9;
}

.timeline .circ {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 200;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    background-color: #4fc1e9;
    border: 4px solid #f5f7fa;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.timeline .timeline-content,
.timeline .comment {
    margin: 0 0 0.4em 2em;
    border: 1px solid #ccd1d9;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}
.timeline .timeline-content {
    padding: 0.8em;
}
.timeline .comment {
    padding: 0.5em;
}

.timeline .timeline-content:before {
    position: absolute;
    left: 28px;
    top: 16px;
    width: 0;
    height: 0;
    content: '';
    border-color: transparent #ccd1d9 transparent transparent;
    border-style: solid;
    border-width: 8px;
}
.timeline .date {
    padding-left: 0;
}
.timeline .timeline-date {
    padding: 5px;
    margin-top: 5px;
    background: #37bc9b;
    color: #fff;
    text-align: center;
}

.timeline .timeline-date:before {
    position: absolute;
    right: 3px;
    top: 14px;
    width: 0;
    height: 0;
    content: '';
    border-color: transparent transparent transparent #37bc9b;
    border-style: solid;
    border-width: 6px;
}

.timeline .timeline-date.meeting:before {
    border-color: transparent transparent transparent #e87e2c;
}

.timeline-header {
    font-size: larger;
    font-weight: bold;
}
.timeline-header .meeting {
    background: #e87e2c;
}
.timeline-header small {
    font-size: x-small;
    font-weight: normal;
}

.timeline-header .btn-link {
    margin-top: -4px;
    margin-right: -8px;
}

.timeline .diary-author {
    margin-right: 10px;
}

.timeline .comments {
    margin-top: 1em;
}

.timeline .comment {
    position: relative;
    margin-left: 4em;
    background: #F5F7FA;
}

.timeline .comments .show-all-comments-link {
    margin-left: 4em;
}

.timeline .comment-date {
    margin-bottom: 1em;
    padding-bottom: 5px;
    border-bottom: 1px solid #CCD1D9;
    font-size: smaller;
    color: #656D78;
}

.timeline .comment:before {
    position: absolute;
    left: -13px;
    top: 10px;
    width: 0;
    height: 0;
    content: '';
    border-color: transparent #ccd1d9 transparent transparent;
    border-style: solid;
    border-width: 6px;
}

/** diary inputs **/
select#DiaryMeetingDatetimeDay,
select#DiaryMeetingDatetimeYear,
select#DiaryMeetingDatetimeHour,
select#DiaryMeetingDatetimeMin,
select#DiaryMeetingDatetimeMonth { display: inline-block;width: 85px; }


select#DiaryMeetingDatetimeHour {
    margin-left: 20px;
}

input.inline-block {
    display: inline-block;
    width: 100px;
}

/** diary reports **/
.reports .shortlinks a.active {
    color: #000000;
}

.reports .full_log {
    display: none;
}

.report_selected_date {
    color: #A00;
}

#log_table tr.dealrow {
    font-weight: bold;
}


/** file preview**/
.image-preview {
    margin-bottom: 2em;
}
.image-preview img {
    max-width: 100%;
    box-shadow: 1px 1px 10px #000;
}

#the-canvas {
    border:1px solid #ccc;
    box-shadow: 1px 1px 10px #000
}

.error-email-message {
    color: #a94442;
}

/** pdf viewer**/
#pdfviewer-container {
    margin-bottom: 15px;
}

/* Nav bar */
@media only screen and (min-width:768px) and (max-width: 1200px)  {
    .navbar-nav > li > a {
        font-size: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .navbar {
        height: auto;
    }
}
@media only screen and (max-width: 1200px) {
    .navbar-nav > li > a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .navbar-header a img {
        max-width: 180px;
    }
}
