/* Menu icon */
.trca-menu-icon {
    /*fBs*/background-image: url(icons/trusted.cryptoarmdocsbusiness/mnu_docs.png);/*fMs - tags for core name changing script*/
    background-position: 9px 4px;
}

#trca-menu-icon {
    /*fBs*/background-image:url(icons/trusted.cryptoarmdocscbusiness/mnu_docs.png);/*fMs - tags for core name changing script*/
}

/* Table with separators between rows */
.trca-doc-table {
    width: 100%;
    border-collapse: collapse;
}

.trca-doc-table tr {
    border: solid;
    border-width: 1px 0;
    border-color: #D3D3D3;
}

.trca-doc-table td{
    padding: 5px 0;
}

.trca-doc-table td:first-child {
    display: inline-block;
    white-space: nowrap;
    width: 69%;
}

@media(min-width: 1025px){
    .trca-doc-table td:last-child {
        width: 30%;
        display: inline-block;
    }
}
@media(max-width: 1024px){
    .trca-doc-table td:last-child {
        width: 30%;
    }
}

.trca-doc-table tr:first-child {
    border-top: none;
}

.trca-doc-table tr:last-child {
    border-bottom: none;
}

/*Table documents column*/
    /*Document name*/
.trca-adm-list-table-cell-documents{
    display: inline-block;
    white-space: nowrap;
    width: 100%;
}
@media(max-width: 1280px){
    .trca-adm-list-table-cell-documents{
        width: 200px;
    }
}
@media(max-width: 1024px){
    .trca-adm-list-table-cell-documents{
        width: 169px;
    }
}
    /*certificate*/
.trca-adm-list-table-cell-certificate{
    table-layout: fixed;
    min-width: 250px;
}
.trca-adm-list-table-cell-certificate th:first-child{
    width: 30%;
}
.trca-adm-list-table-cell-certificate td:nth-child(2){
    text-overflow: ellipsis;
    overflow: hidden;
}
.trca-adm-list-table-cell-certificate td:nth-child(3){
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Verify document button */
.trca-verify-button {
    float: left;
    font-style: italic;
    margin: 2px;
    width: 15px;
    margin-right: 10px;
    height: 15px !important;
    padding: 0 !important;
}
/* Document link */
.trca-tn-document {
    cursor: pointer;
    display: inline-block;
    max-width: 85%;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 8px;
    margin-right: 25px;
    vertical-align: -moz-middle-with-baseline;
    vertical-align: -webkit-baseline-middle;
}
@media(max-width: 1024px){
    .trca-tn-document {
        width: 120px;
    }
}
.trca-tn-document-main {
    cursor: pointer;
    display: inline-block;
    max-width: 85%;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 8px;
    vertical-align: middle;
}
/* Document email icon and status */
.trca-email-icon {
    margin-right: 10px;
    padding: 0 !important;
}

.trca-email-status{
    display: table-cell;
    vertical-align: middle;
}

/*Download document*/
.trca-adm-input-file .adm-input-file{
    text-overflow: ellipsis;
    width: 115px;
    display: block !important;
}

/*Modal window*/
.trca-modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 535px;
    max-height: 100%;

    z-index: 1050;
    background: white;
    transform: translate(-50%, -50%) scale(1.01);
    border-radius: 3px;
    -webkit-box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    font-family: 'ArialMT', 'Arial';
    font-weight: 300;
    min-height: 0px;
	max-width: 90%;
}

.trca-modal-header {
    text-align: left;
    font-size: 20px;
    background: #2196f3;
    padding: 16px;
    color: white;
    font-family: 'Roboto';
    height: 56px;
    line-height: 24px;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.trca-modal-content {
    display: flex;
    line-height: 1.2;
}

.trca-modal-content-icon {
    padding-top: 24px;
    padding-left: 24px;
    font-size: 41px;
    color: rgba(0,0,0,.38);
}

.trca-modal-content-message {
    font-size: 16px;
    padding: 24px;
    color:rgba(0, 0, 0, 0.52);
}

.trca-modal-close {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
    cursor: pointer;
    background-color: rgb(33, 150, 243);
    color: white;
    width: 185px;
    height: 36px;
    border-radius: 2px;
    text-transform: uppercase;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    font-weight: 600;
    font-family: 'Roboto';
    font-size: 15px;
}

.trca-modal-close:hover:not(.disabled) {
    background: #1E88E5 !important;
}

.trca-modal-overlay {
    z-index: 1000;
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.trca-modal-spinner {
    height: 2px;
    width: 100%;
    position: absolute;
    overflow: -moz-hidden-unscrollable;
    overflow: hidden;
    background-color: #ddd;
  }
  .trca-modal-spinner:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 2px;
    min-height: 2px;
    z-index: 1100;
    background-color: #2980b9;
    animation: trca-modal-spinner_loading 2s linear infinite;
  }

  @keyframes trca-modal-spinner_loading {
      from {left: -200px; width: 30%;}
      50% {width: 30%;}
      70% {width: 70%;}
      80% { left: 50%;}
      95% {left: 120%;}
      to {left: 100%;}
  }

.trca-modal-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/*Modal info window*/

.trca-modal-info-window {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 745px;
    max-height: 100%;
    min-height: 313px;
    z-index: 1050;
    background: white;
    transform: translate(-50%, -50%) scale(1.01);
    border-radius: 3px;
    -webkit-box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 20px;

}

.trca-modal-info-content {
    display: flex;
}

.trca-modal-info-content-left {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 100%;
    overflow: auto;
    max-height: 611px;
}

.trca-modal-info-content-right {
    display: flex;
    flex-direction: column;
    width: 20%;
    border-left: 2px solid rgba(141, 141, 141, 0.055);
}

.trca-modal-info-button-unshare {
    cursor: pointer;
    height: auto;
    width: auto;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
}

.trca-modal-info-button-unshare .material-icons {
    border-radius: 50%;
    vertical-align: center;
    color: red;
    font-size: 24px;
    vertical-align: middle;
    text-align: center;
    user-select: none;
}
.trca-modal-info-button .material-icons {
    border-radius: 50%;
    vertical-align: middle;
    color: rgb(33, 150, 243);
    margin-left: 8px;
    margin-right: 8px;
    font-size: 24px;
    user-select: none;
}
.trca-modal-info-content-left .material-icons {
    padding-right: 16px;
    padding-left: 16px;
    margin: auto 0;
    font-size: 24px;
    max-width: 36px;
    box-sizing: content-box;
    user-select: none;
    opacity: .72;

}

.trca-modal-info-row {
    font-size: 14px;
    padding-top: 12px;
    color: rgba(0, 0, 0, 0.52);
    display: flex;
}

.trca-modal-info-name {
    margin-left: 16px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.52);
    font-family: 'Roboto';
    width: 55%;
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

}

.trca-modal-info-status {
    margin-left: 16px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.52);
    font-family: 'Roboto';
    display: flex;
    align-items: center;
    width: 45%;
    overflow: hidden;
}

.trca-modal-info-button-message {
    margin-left: 8px;
    margin-right: auto;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.52);
    font-family: 'Roboto';
    user-select: none;
}

/* .trca-modal-info-button-message:hover {
    background-color: rgba(141, 141, 141, 0.055);
} */

.trca-modal-info-button {
    display: flex;
    cursor: pointer;
    height: 48px;
    width: 100%;
    line-height: 38px;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(141, 141, 141, 0.055);
}

.trca-modal-info-button:hover {
    background-color: rgba(141, 141, 141, 0.055);
}

.trca-modal-info-close {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 316px 8px 8px 8px;
    cursor: pointer;
    background-color: rgb(33, 150, 243);
    color: white;
    height: 36px;
    border-radius: 2px;
    text-transform: uppercase;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    font-weight: 400;
    font-size: 14px;
    user-select: none;
}

@media only screen and (max-width: 750px) {
    .trca-modal-info-content-right {
        display: none;
    }
    .trca-modal-info-window {
        width: 90%;
    }
    .trca-modal-info-content-left {
        width: 100%;
    }
}

@media only screen and (max-height: 760px) {
    .trca-modal-info-close {
        margin: 116px 8px 8px 8px;
    }
    .trca-modal-info-content-left {
        max-height: 411px;
    }
}

@media only screen and (max-width: 310px) {
    .trca-modal-info-status {
        display: none;
    }
    .trca-modal-info-name {
        width: 100%;
        margin-right: 16px;
    }
}

/* Popup message */
.trca-popup-window {
    position: fixed;
    left: auto;
    bottom: 50px;
    right: 40px;
    width: 400px;
    z-index: 1050;
    background: white;
    border-radius: 3px;
    -webkit-box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    box-shadow: 0px 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.trca-popup-window .trca-popup-content {
    display: flex;
}

.trca-popup-window .trca-popup-content.negative{
    background-color: #ffe1e1;
}

.trca-popup-window .trca-popup-content.positive{
    background-color: #e2ffd9;
}

.trca-popup-window .trca-popup-icon {
    margin: auto 20px;
    color: rgb(33, 150, 243);
}

.trca-popup-window .trca-popup-icon.negative{
    color: #dd3d3d;;
}

.trca-popup-window .trca-popup-icon.positive{
    color: green;
}

.trca-popup-window .trca-popup-icon .material-icons {
    font-size: 36px;
    width: 36px;
}

.trca-popup-window .trca-popup-message {
    margin: 18px auto 24px 0;
    word-break: break-word;
}

.trca-popup-window .trca-popup-close .material-icons {
    font-size: 18px;
    margin: 10px 10px 0 15px;
    cursor: pointer;
}

/* ******************* */
/* TrustedCA Documents */
/* ******************* */
.trca-docs {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 1px;
}

/* trca-docs header */
.trca-docs .trca-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-size: 20px;
    font-weight: 400;
    background: rgb(33, 150, 243);
    color: white;
    font-family: 'Roboto';
    height: 56px;
    padding-right: 8px;
    box-sizing: border-box;
    white-space: nowrap !important;
    word-break: keep-all;
	background: #fff !important;
	font-weight: bold;
	font-size: 24px;
	line-height: 32px;
	text-align: center;
	color: #28282A;
	font-family: PT Sans;
	font-style: normal;
}

.trca-docs .trca-docs-header-title{
    overflow: hidden;
	text-overflow: ellipsis;
	margin:48px auto;
}

.trca-docs .trca-docs-header-menu-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}

.trca-docs .trca-docs-header-menu-icon:hover {
    background-color:rgb(90, 168, 236);
}

.trca-docs .trca-docs-header-menu-icon .material-icons {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    line-height: 40px;
    user-select: none;
}

.trca-docs .trca-docs-header-menu ul {
    position: absolute;
    margin: -15px -214px;
    padding: 0px 0;
    font-size: 16px;
    color: rgba(0,0,0,0.54);
    background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 999;
    line-height: 23px;
}

.trca-docs .trca-docs-header-button {
    display: flex;
    padding: 10px;
    font-family: 'ArialMT', 'Arial';
    font-size: 16px;
    color:rgba(0,0,0,0.54);
    cursor: pointer;
    line-height: 23px;
}

.trca-docs .trca-docs-header-button:hover {
    background-color: rgba(128, 124, 124, 0.12)
}

.trca-docs .trca-docs-header-button .material-icons {
    line-height: 24px;
    height: 24px;
    color: rgba(0,0,0,0.54);
    user-select: none;
    text-align: left;
    overflow-wrap: normal;
    letter-spacing: normal;
}

/*trca-docs doc menu*/
.trca-docs .trca-docs-doc-menu-icon {
    height: auto;
    width: auto;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}

.trca-docs .trca-docs-doc-menu-icon:hover {
    background-color: rgba(33, 150, 243, 0.12);
}

.trca-docs .trca-docs-doc-menu-icon .material-icons {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    line-height: 40px;
    vertical-align: middle;
    color: rgb(33, 150, 243);
    user-select: none;
}

.trca-docs .trca-docs-menu-button {
    display: flex;
    padding: 10px;
    font-family: 'ArialMT', 'Arial';
    font-size: 16px;
    color: rgba(0,0,0,0.54);
    cursor: pointer;
    line-height: 23px;
}

.trca-docs .trca-docs-menu-button:hover {
    background-color: rgba(128, 124, 124, 0.12)
}

.trca-docs .trca-docs-menu-button .material-icons {
    line-height: 24px;
    height: 24px;
    color: rgba(0,0,0,0.54);
    user-select: none;
    text-align: left;
    overflow-wrap: normal;
    letter-spacing: normal;
}

.trca-docs .trca-docs-doc-menu ul {
    position: absolute;

    margin: -15px -161px;
    padding: 0px 0;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.54);
    background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 999;
    line-height: 23px;

}

/* trca-docs content */
.trca-docs .trca-docs-content-items {
    display: flex;
    padding-top: 16px;
    padding-bottom: 16px;
    justify-content: space-between;
    align-items: center;
    word-break: keep-all;
    border-bottom: 1px solid rgba(141, 141, 141, 0.055);
    padding: 0;
	height: 72px;
}

.trca-docs .trca-docs-content-items:hover {
    background-color: rgba(141, 141, 141, 0.055);
}

.trca-docs .trca-docs-content-item-left {
    display: flex;
    width: 100%;
    cursor: default;
	overflow: hidden;
	height: 100%;
    align-items: center;
    padding-right: 2px;

}

.trca-docs .trca-docs-content-items input {
    margin-left: 18px;
}

.trca-docs .trca-docs-header-line {
    padding: 0;
    height: 50px;
    font-weight: bold;
    font-size: 16px !important;
}

.trca-docs .trca-docs-content-item-left .material-icons {
    padding-right: 16px;
    padding-left: 16px;
    margin: auto 0;
    font-size: 36px;
    max-width: 36px;
    box-sizing: content-box;
    user-select: none;
    max-width: 40px;
    font-size: 40px;
    opacity: .72;
}

.trca-docs .trca-docs-content-item-left .material-icons.addition {

    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 24px;
    width: 24px;
    bottom: 0px;
    right: 10px;
    opacity: 1;
}

.trca-docs .doc-list-icon {
    position: relative;
}

.trca-docs .trca-docs-content-doc {
    width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

@media(max-width: 1024px){
    .trca-docs .trca-docs-content-doc {
        width: 70%;
    }
}

.trca-docs .trca-docs-content-doc-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.52);
	text-align: center;
}

.trca-docs .trca-docs-content-doc-description {
    font-size: 12px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.38);
}

.trca-docs .trca-docs-content-item-right {
    display: flex;
    min-width: 240px;
    justify-content: flex-end;
    padding-right: 8px;
}

.trca-docs .trca-docs-content-item-order-right {
    display: flex;
    min-width: 200px;
    justify-content: flex-end;
    padding-right: 8px;
}

.trca-docs .trca-docs-content-item-form-right {
    display: flex;
    min-width: 120px;
    justify-content: flex-end;
    padding-right: 8px;
}

.trca-docs .trca-docs-content-button {
    cursor: pointer;
    height: auto;
    width: auto;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
}

.trca-docs .trca-docs-content-button:hover {
    background-color: rgba(33, 150, 243, 0.12);
}

.trca-docs .trca-docs-content-button .material-icons {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    vertical-align: center;
    color: rgb(33, 150, 243);
    font-size: 24px;
    vertical-align: middle;
    text-align: center;
    user-select: none;
}

@media only screen and (min-width: 1390px) {
    .trca-docs .trca-docs-content-info {
        height: auto;
        width: auto;
        text-align: center;
        white-space: nowrap;
        color: rgba(0, 0, 0, 0.52);
        font-size: 13px;
        user-select: none;
        border-radius: 0;
        line-height: auto;
        display: flex;
        align-items: center;
        color: rgba(0, 0, 0, 0.52);
        margin-right: 64px;
    }
}

@media only screen and (max-width: 1390px) {
    .trca-docs .trca-docs-content-info {
        display: none;
    }
}

/* trca-docs-footer */

.trca-docs .trca-docs-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.trca-docs .trca-docs-footer-upload-button {
    display: flex;
    margin: 8px;
    width: 120px;
    height: 36px;
    background-color: rgb(33, 150, 243);
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    font-family: 'Roboto';
}

.trca-docs .trca-docs-footer-upload-button input {
    position: absolute;
    opacity: 0;
    height: 37px;
    width: 120px;
}

/* Tooltips */
[tooltip]{
    margin:20px 60px;
    position:relative;
    display:inline-block;
}

[tooltip]::before {
    content: "";
    position: absolute;
    top:-6px;
    left:50%;
    transform: translateX(-50%);
    border-width: 4px 6px 0 6px;
    border-style: solid;
    border-color: rgba(0,0,0,0.7) transparent transparent transparent;
    z-index: 99;
    opacity:0;
}

[tooltip-position='left']::before{
    left:0%;
    top:50%;
    margin-left:-12px;
    transform:translatey(-50%) rotate(-90deg)
}

[tooltip-position='top']::before{
    left:50%;
}

[tooltip-position='buttom']::before{
    top:100%;
    margin-top:8px;
    transform: translateX(-50%) translatey(-100%) rotate(-180deg)
}

[tooltip-position='right']::before{
    left:100%;
    top:50%;
    margin-left:1px;
    transform:translatey(-50%) rotate(90deg)
}

[tooltip]::after {
    content: attr(tooltip);
    position: absolute;
    left:50%;
    top:-6px;
    transform: translateX(-50%)   translateY(-100%);
    background: rgba(0,0,0,0.7);
    text-align: center;
    color: #fff;
    padding:4px 2px;
    font-size: 12px;
    min-width: 80px;
    border-radius: 5px;
    pointer-events: none;
    padding: 4px 4px;
    z-index:99;
    opacity:0;
}

[tooltip-position='left']::after{
    left:0%;
    top:50%;
    margin-left:-8px;
    transform: translateX(-100%)   translateY(-50%);
}

[tooltip-position='top']::after{
    left:50%;
}

[tooltip-position='buttom']::after{
    top:100%;
    margin-top:8px;
    transform: translateX(-50%) translateY(0%);
}

[tooltip-position='right']::after{
    left:100%;
    top:50%;
    margin-left:8px;
    transform: translateX(0%)   translateY(-50%);
}

[tooltip]:hover::after,[tooltip]:hover::before {
    opacity:1
}
