/*******************************************************************************
**					style.css | version 1.0 | MailGate						  **
*******************************************************************************/

/* GENERAL
-------------------------------------------------------------------------------*/

.invisible {
	visibility: hidden;
}

img {
    border-style: none;
}

.example {
    color: #6F6352;
    font-size: 7pt;
    font-family: Verdana;
    margin-bottom: 10px;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0 none;
    padding: 0;
}

.attachmentColumn span.view {
    padding-left: 14px;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 0;
    top: -1px;
    background-color: transparent;
}

tr:hover .attachmentColumn span.view {
    display: inline;
}

tr:hover .attachmentColumn span.hideOnHover {
    visibility: hidden;
    opacity: 0;
}

.uploadDialog .button.btn-folder-tree {
    width: 100% !important;
    padding-left: 0px !important;
    padding-right: 1px !important;
    margin-right: 0px;
}

.btn-folder-tree span.ellipsis {
    margin: 2px 20px 2px 10px;
}

.uploadDialog .button.btn-folder-tree:hover {
    width: 100% !important;
    padding: 1px 0px 1px 0px !important;
    margin-right: 0px;
}

.btn-stop-upload,
.remove-row,
.remove-failed-row,
.remove-processing-row,
.delete-attachment {
    background: none;
    display: block;
    height: 16px;
    width: 18px;
    margin-top: 1px;
    margin-left: 5px;
    cursor: pointer;
    z-index: 100;
}

.btn-saveAllAttachments {
    cursor: pointer;
}

.btn-saveAllAttachments:hover {
    text-decoration: underline;
}

.custom-dialog-btn span {
    height: 16px !important;
    padding-left: 22px !important;
    padding-right: 10px !important;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.clear {
	clear: both;
}

.clear-left {
    clear: left;
}

.clear-right {
    clear: right;
}

.center {
    text-align: center;
}

.margin-right-0 {
	margin-right: 0 !important;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
	margin-right: 10px !important;
}

.margin-right-50 {
	margin-right: 50px;
}

.auto-height {
    height: auto !important;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-left-50 {
	margin-left: 50px;
}

.padding-top-10 {
	padding-top: 10px !important;
}

.padding-bottom-10 {
    padding-bottom: 10px !important;
}

.padding-right-none {
    padding-right: 0px !important;
}

.padding-right-10 {
    padding-right: 10px !important;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-left-5 {
	padding-left: 5px;
}

.border-top-0 {
	border-top: 0 none !important;
}

.border-bottom-0 {
	border-bottom: 0 none !important;
}

.border-left-0 {
	border-left: 0 none !important;
}

.border-right-0 {
	border-right: 0 none !important;
}

.no-border {
    border: 0 none !important;
}

.no-padding {
    padding: 0 !important;
}

th:hover .hideOnHover {
    display: none;
}

/* FOOTER
-------------------------------------------------------------------------------*/

#footer {
  height: 0;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  visibility: hidden;
}

/* Compose Mail
-------------------------------------------------------------------------------*/

.add-bcc {
  width: 9% !important;
  text-align: center;
  cursor: pointer;
  padding-left: 0px !important;
}

.attachments-container thead {
    display: none;
}

.attachments-container .dataTables_wrapper,
.attachments-container table {
    border: none;
}

.attachments-container tr {
    float: left;
    margin-left: 5px;
    margin-top: 3px;
}

.attachments-container td {
    position: relative;
    display: inline-block;
    border: none;
    border-right: 1px solid #CCC;
    padding: 3px !important;
    min-width: 100px;
    max-width: 550px;
}

.attachments-container td.dataTables_empty {
    border-right: none;
}

.attachments-container .progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent !important;
    height: auto !important;
    border: none !important;
}

.attachments-container .progress-bar span {
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
  /* IE 5-7 */
  filter: alpha(opacity=25);
  /* Netscape */
  -moz-opacity: 0.25;
  /* Safari 1.x */
  -khtml-opacity: 0.25;
  /* Old webkit */
  -webkit-opacity: 0.25;
  /* Good browsers */
  opacity: 0.25;
}

table.compose-mail tbody tr {
    height: auto;
}

td.compose-label {
    text-align: right;
    padding-left: 7px !important;
    padding-right: 7px;
    white-space: nowrap;
}

td.compose-input {
    width: 100%;
}

table.compose-mail tbody td.label {
    width: 50px;
    text-align: left;
    padding-left: 7px;
}

table.compose-mail tbody td.va{
    vertical-align: top;
}

.compose-text {
    width: 100%;
    border: 1px solid transparent;
    font-size: 15px;
    padding: 7px;
    box-sizing: border-box;
}

.composeMail textarea {
    resize: none;
}

.show-bcc-on {
    padding-right: 0px;
}

.to-wrapper,
.cc-wrapper,
.bcc-wrapper {
    padding-right: 5px;
    padding-left: 1px;
    float: left;
    display: block;
    width: 100%;
}

.dz-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 3px dashed #2797da;
    font-size: 30px;
    z-index: 10000;
    background-color: #e1f2fe;
    opacity: .7;
}

.dz-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    text-align: center;
    font-weight: bold;
    color: #2797da;
}

.dz-hover-wrapper {
    position: relative;
}

div#imageButtonDragDropInfo {
    margin-top: 5px;
    font-family: Arial;
    font-size: 11px;
}

/* CONTENT
-------------------------------------------------------------------------------*/

.box-wrapper {
	position: relative;
}

.box {
  /*background-color: #f2f3f5;*/
	width: 100%;
	/*height: 100px; DEBUG */
	/*border: 1px solid #8c9cac;*/
}

form div.compose-item {
	padding-bottom: 5px;
}

form div.compose-item input {
	width: 80%;
	color: #2B3F52;
	border: 1px solid #8C9CAC;
	font-size: 10pt;
	padding: 1px 2px;
}

form div.compose-item label {
	width: 80px;
	text-align: right;
	padding-right: 5px;
	float: left;
	height: 20px;
	line-height: 20px;
}

.attachmentSize {
    color: #777;
}

.attachmentColumn a.attachment {
    text-decoration: none;
}

.attachmentColumn a.attachment:hover {
    text-decoration: underline;
}

.messageView .all-attachments-count {
    font-weight: bold;
}

div.disabled label {
	color: #8e8e8e;
}

span.warning {
    padding-left: 7px;
    padding-top: 1px;
	color: #cb0101;
    float: left;
}

span.error {
	padding-left: 7px;
    padding-top: 1px;
	color: #cb0101;
    float: left;
}

.expiresColumn .icon-common {
    float: left;
}

span.warning a:visited,
span.error a:visited,
span.warning a:hover,
span.error a:hover {
	color: #cb0101;
}

table tbody td span.error a {
	color: #cb0101;
}

.dialogWarningMsg {
    background: url(../images/icons/warning-20.png) no-repeat 5px center;
    padding: 10px 0px 10px 33px ;
}



table tbody .filenameColumn.name-only a,
table tbody .nameColumn.name-only a {
  line-height: 32px;
}

table thead th.attachment,
table thead td.attachment {
	width: 10px;
	padding-top: 2px;
	padding-left: 5px;
}

.table-header ul,
.table-footer ul {
	list-style: none outside;
	margin: 0;
	padding: 0;
	float: left;
}

.table-header ul li,
.table-footer ul li {
	float: left;
	overflow: hidden;
	position: relative;
	height: 22px;
	line-height: 22px;
}

.table-header ul li.last,
.table-footer ul li.last{
	border-right: 0;
}

.table-header ul li a,
.table-footer ul li a {
	display: block;
	text-decoration: none;
	padding-right: 10px;
	padding-left: 10px;
}

.table-header label,
.table-footer label {
	padding-left: 10px;
}

.message-body ul,
.message-body ol {
	list-style-position: inside;
}

.btn-remove-share-folder-user {
    display: block;
    height: 20px;
    line-height: 19px;
    margin-right: 5px;
    padding-left: 22px;
    padding-right: 5px;
    text-decoration: none;
}

a.preview:hover {
  background-color: #BFDFF5 !important;
  text-decoration: none;
}

#folderNavigation .button.btn-back {
  margin-right: 10px;
  line-height: normal;
  height: 1.5625rem;
  width: 1.5625rem;
  padding: 0;
  text-align: center;
}

#folderNavigation .button.btn-back span.icon {
  font-size: 1.5rem;
}

#hiddenFolders {
  padding: 14px;
  left: 5px;
  right: auto;
  top: 24px;
  width: auto;
}

#hiddenFolders li::after {
    display: none;
}

/* SharePoint Folders
------------------------------------------------------------------------*/

img#lookupSpinner {
    vertical-align: middle;
    margin-left: 5px;
}

/* Progressbars
-------------------------------------------------------------------------------*/

.progress-bar {
    background-color: #dfdfdf;
    height: 4px;
    width: 100%;
    border: 1px solid #8896a7;
}

.progress-bar span {
    display: inline-block;
    height: 100%;
    float: left;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -webkit-transition: width .4s ease-in-out;
    -moz-transition: width .4s ease-in-out;
    -ms-transition: width .4s ease-in-out;
    -o-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;

    background: #51ad1b; /* Old browsers */
    background: -moz-linear-gradient(top,  #d0eea0 0%, #98d73c 11%, #51ad1b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d0eea0), color-stop(11%,#98d73c), color-stop(100%,#51ad1b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #d0eea0 0%,#98d73c 11%,#51ad1b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #d0eea0 0%,#98d73c 11%,#51ad1b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #d0eea0 0%,#98d73c 11%,#51ad1b 100%); /* IE10+ */
    background: linear-gradient(top,  #d0eea0 0%,#98d73c 11%,#51ad1b 100%); /* W3C */
}

.progress-bar.has-errors span {
    background: #993333; /* Old browsers */
    background: -moz-linear-gradient(top,  #de9b9b 0%, #c55050 11%, #993333 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#de9b9b), color-stop(11%,#c55050), color-stop(100%,#993333)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #de9b9b 0%,#c55050 11%,#993333 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #de9b9b 0%,#c55050 11%,#993333 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #de9b9b 0%,#c55050 11%,#993333 100%); /* IE10+ */
    background: linear-gradient(top,  #de9b9b 0%,#c55050 11%,#993333 100%); /* W3C */
}

.progress-bar.full span {
    width: 100% !important;
}

.progress-bar.has-errors.force-animation span {
    background: url(../images/progressbar-animation-error.gif) left top repeat-x;
}
.progress-bar.force-animation span {
    background: url(../images/progressbar-animation.gif) left top repeat-x;
}

.shine span {
    position: relative;
}

.shine span:after {
    content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

  animation: animate-shine 2s ease-out infinite;
    -webkit-animation: animate-shine 2s ease-out infinite;
    -moz-animation: animate-shine 2s ease-out infinite;
    -ms-animation-name: animate-shine 3s ease-out -1s 2 normal;
}

@keyframes animate-shine {
  0% {opacity: 0; width: 0;}
  50% {opacity: 0.5;}
  100% {opacity: 0; width: 95%;}
}

@-webkit-keyframes animate-shine {
    0% {opacity: 0; width: 0;}
    50% {opacity: 0.5;}
    100% {opacity: 0; width: 95%;}
}

@-moz-keyframes animate-shine {
    0% {opacity: 0; width: 0;}
    50% {opacity: 0.5;}
    100% {opacity: 0; width: 95%;}
}

@-ms-keyframes animate-shine {
    from {opacity: 0; width: 0;}
    50% {opacity: 0.5;}
    to {opacity: 0; width: 95%;}
}

.dialog.global-upload-indicator {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 40%;
    min-width: 450px;
    max-width: 680px;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, 0);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    padding-bottom: 0.625rem;
}

.dialog.global-upload-indicator .filenameColumn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    align-items: center;
}

.dialog.global-upload-indicator table.data tbody td {
    height: 1.75rem;
}

.global-upload-indicator #progress-bar-wrapper .progress-bar {
    height: 10px;
    height: 10px;
    margin-top: 2px;
    display: inline-block;
    position: absolute;
    right: 40px;
    left: 10px;
    width: auto !important;
}

.global-upload-indicator #progress-bar-wrapper a.cancel {
    background: url(../images/icons/delete.gif) no-repeat center;
    padding-right: 15px;
    color: #2F6DA0;
    float: right;
    text-decoration: none;
    margin-right: 10px;
}

#progress-bar-header {
    height: 20px;
    width: 100%;
    padding: 0 0.625rem;
}

#progress-bar-holder {
    width: 100%;
    height: 17px;
    padding-top: 3px;
    position: relative;
}

#progress-bar-holder .progress-bar p {
    position: absolute;
    left: 49%;
    height: 10px;
    line-height: 10px;
    z-index: 997;
    margin: 0;
}

.global-upload-indicator #progress-bar-wrapper a.hide {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
}

#upload-details {
    position: absolute;
    top: 0.625rem;
    right: 1.785rem;
}

#upload-details.collapse {
    transform: rotate(180deg);
    top: 0.7rem;
}

.global-upload-indicator .icon-common:before {
    font-weight: 700;
}

#uploads-info.has-errors,
#processing-info.has-errors,
#info-connector.has-errors {
    color: red;
}


.global-upload-indicator span.rejected-link,
.global-upload-indicator span.errors-link,
.global-upload-indicator span.downloads-link {
    cursor: pointer;
}

/* Messages for displaing inline in a table row */

.row-message {
    background-color: #fff;
    padding: 0 10px 0 15px;
    clear: both;
    display: inline-block;
    line-height: 18px;
    margin-left: 50px;
    border: 1px solid #8C9CAC;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

.row-error {
    background: none no-repeat scroll 5px center #FFEEEE;
    border-color: #CB0101;
}

/* VALIDATION
-------------------------------------------------------------------------------*/

input.error,
textarea.error,
select.error,
label.error {
	border: 1px solid #cb0101 !important;
}

/* jQuery UI Fixes & Changes
-------------------------------------------------------------------------------*/

.ui-datepicker-trigger {
	margin-left: 7px;
	height: 16px;
	width: 16px;
	border: 0 none;
	padding: 0;
	cursor: pointer;
}

.ui-datepicker th {
	padding: 3px 0;
}

.state {
    height: 22px;
    padding-left: 25px;
}

.state.blocked {
    background: url(../images/icons/rejected-16.png) 3px center no-repeat;
}

.state.detain {
    background: url(../images/icons/warning-16.png) 3px center no-repeat;
}

#uploads-table a.state.blocked,
#uploads-table a.state.error {
    padding-top: 2px;
    padding-bottom: 2px;
}

.state.error {
    background: url(../images/icons/rejected-16.png) 3px center no-repeat;
}
.state.scan {
    background: url(../images/ajax-loader.gif) 3px center no-repeat;
}
.state.pass {
    background: url(../images/icons/success-20.png) 3px center no-repeat;
}

.ellipsis {
   white-space: nowrap;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  word-wrap: normal !important;
}

/* jQuery Tooltip
-------------------------------------------------------------------------------*/
.ui-tooltip {
    background: none repeat scroll 0 0 #E6EBEF !important;
    border: 2px solid #8C9CAC;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
}

.ui-tooltip-content {
    color: #2B3F52;
}

.ui-tooltip-content p {
    margin: 0;
    padding: 2px 0 0;
}

.ui-tooltip-content h1 {
    width: auto;
    font-size: 12px;
    margin: 0px;
}

.connector {
    height: 70px;
    left: 0;
    margin-left: -16px;
    margin-top: -5px;
    overflow: hidden;
    position: absolute;
    top: 10%;
    width: 16px;
}
.connector:after {
    background: none repeat scroll 0 0 #E6EBEF;
    border: 2px solid #8C9CAC;
    box-shadow: 6px 5px 9px -9px black;
    content: "";
    height: 20px;
    left: 5px;
    margin-top: -5px;
    position: absolute;
    top: 10%;
    transform: rotate(45deg);
    width: 20px;
}

.email-autocomplete  {
    position: absolute;
    cursor: default;
    max-height: 450px;
    overflow: auto;
    padding: 0;
    z-index: 99999;
    border: 1px solid #8C9CAC;
    background: #ffffff;
}

.email-autocomplete ul {
    line-height: normal;
    list-style: none outside none;
}

.email-autocomplete li {
    margin: 0px;
    padding: 2px 5px;
    display: block;
    line-height: 16px;
    overflow: hidden;
}
