﻿/* Notification Bar */
.notification-bar-success,
.notification-bar-info,
.notification-bar-warning,
.notification-bar-error {
    color: #444;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    border: 1px solid;
    margin: 5px 0px;
    padding: 5px 5px 6px 5px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.notification-bar-success > p,
.notification-bar-info > p,
.notification-bar-warning > p,
.notification-bar-error > p {
    margin: 10px 0px 5px 0px;
}

.notification-bar-success > p:first-child,
.notification-bar-info > p:first-child,
.notification-bar-warning > p:first-child,
.notification-bar-error > p:first-child {
    margin: 5px 0px 5px 0px;
}

.notification-bar-success > p > span:first-child,
.notification-bar-info > p > span:first-child,
.notification-bar-warning > p > span:first-child,
.notification-bar-error > p > span:first-child {

    display: block;
    float: left;
    margin-right: 5px;
    margin-left: 0px;
    background-repeat: no-repeat;
}

.notification-bar-success > p > span:first-child,
.notification-bar-info > p > span:first-child {
    height: 20px;
    width: 20px;
    background-image: url("/_layouts/15/images/spcommon.png");
}

.notification-bar-warning > p > span:first-child,
.notification-bar-error > p > span:first-child {
    width: 16px;
    margin-top: 2px;
    height:40px;
}

.notification-bar-warning > p > span:first-child {
    background-image: url("/_layouts/15/NintexWorkflow/Images/icon_warning.png");
}

.notification-bar-error > p > span:first-child {
    background-image: url("/_layouts/15/NintexWorkflow/Images/icon_error.png");
}

html[dir="rtl"] .notification-bar-success > p > span:first-child,
html[dir="rtl"] .notification-bar-info > p > span:first-child,
html[dir="rtl"] .notification-bar-warning > p > span:first-child,
html[dir="rtl"] .notification-bar-error > p > span:first-child {
    float: right;
    margin-right: 0px;
    margin-left: 5px;
}

.notification-bar-success {
    background-color: #DFF2BF;
    border-color: #4F8A10;
}

.notification-bar-success > p > span:first-child {
    display: none;
}

.notification-bar-info {
    background-color: #D1E6F7;
    border-color: #66A3D1;
}

.notification-bar-info > p > span:first-child {
    background-position: -195px -172px;
}

.notification-bar-warning {
    background-color: #FFFFCC;
    border-color: #FFFF00;
}

.notification-bar-error {
    background-color: #F8D4D4;
    border-color: #f5a6a7;
}

.notification-bar-success ul,
.notification-bar-info ul,
.notification-bar-warning ul,
.notification-bar-error ul {
    margin: 0px;
    padding: 0px 0px 0px 45px;
}

html[dir="rtl"] .notification-bar-success ul,
html[dir="rtl"] .notification-bar-info ul,
html[dir="rtl"] .notification-bar-warning ul,
html[dir="rtl"] .notification-bar-error ul {
    margin: 0px;
    padding: 0px 45px 0px 0px;
}

.ms-inputformheader,
.ms-inputformdescription
{
    padding-left: 0px;
}

/* Page Description */
a#ms-pageDescriptionDiv
{
    outline: none;
}

.js-callout-mainElement
{
    outline: none;   
}

/* Ribbon */
.ms-cui-ctl-large-groupPopup .ms-cui-ctl-largeIconContainer,
.ms-cui-ctl-large-groupPopup.ms-cui-disabled:hover .ms-cui-ctl-largeIconContainer{
    border: none;
}
.ms-cui-menu32 .ms-cui-smenu-inner
{
    min-width:250px;
}

/* Title with Tooltip */
.title-bar-with-tooltip {
    font-weight: 300;
    font-style: normal;
    font-size: 19px;
    text-align: left;
    padding-bottom: 5px;
}

html[dir="rtl"] .title-bar-with-tooltip {
    text-align: right;
}

.title-bar-with-tooltip > span {
    display: inline-block;
    vertical-align: middle;
}

.title-bar-with-tooltip > span:first-child {
    margin-left: 0px;
    margin-right: 5px;
}

.title-bar-with-tooltip > span:nth-child(2) {
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    background-image: url("/_layouts/15/images/spcommon.png");
    background-position: -195px -172px;    
    cursor: pointer;
}

html[dir="rtl"] .title-bar-with-tooltip > span:first-child {
    margin-left: 5px;
    margin-right: 0px;
}

.title-bar-with-tooltip-wrapper,
.title-bar-with-tooltip-wrapper .ui-tooltip-content,
.title-bar-with-tooltip-wrapper > .arrow:after {
    border: none;
    background-color: #D1E6F7;
}

.title-bar-with-tooltip-wrapper {
    font-family: "Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    max-width: 90%;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.title-bar-with-tooltip-wrapper .ui-tooltip-content {
    padding-right: 10px;
}

.title-bar-with-tooltip-wrapper > .arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}

.title-bar-with-tooltip-wrapper > .arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.title-bar-with-tooltip-wrapper > .arrow.top {
    top: -16px;
    bottom: auto;
}

.title-bar-with-tooltip-wrapper > .arrow.top:after {
    bottom: -20px;
    top: auto;
}

.title-bar-with-tooltip-wrapper > .arrow.left {
    left: 14.5%;
}

.title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close {
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
  width: 8px;
  height: 8px;
  overflow: hidden;
  cursor: pointer;
  margin: 2px;
}

html[dir="rtl"] .title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close {
  right: auto;
  left: 0;
} 

.title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close:before,
.title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close:after {
    content: '';
    position: absolute;
    background: #000;
    top:50%;
    height: 1px;
    width: 100%;
}

.title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.title-bar-with-tooltip-wrapper .title-bar-with-tooltip-close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* Button */
input[type=button].nw-button-min-width
{
    min-width: 80px;
}

.nw-button-float {
    float: right;
    overflow: hidden;
}

html[dir="rtl"] .nw-button-float {
    float: left;
}

/* File Picker */
.nw-file-picker-table
{
    font-size:12px;
    font-weight: 300;
    font-style: normal;
}

.nw-file-title {
    font-weight: 300;
    font-style: normal;
    font-size: 13px;
}

.nw-file-picker-wrapper,
.nw-file-list-wrapper{
    margin-top: 5px;
    width:300px; 
    height:342px; 
}

.nw-file-picker-wrapper
{
    overflow: auto;
    overflow-x: auto; 
    overflow-y: auto; 
    border-color:#a5a6a5; 
    border-width:1px; 
    border-style:solid;
    padding:5px 5px 5px 5px;
}

.nw-file-list
{        
    overflow: auto;
    overflow-x: auto; 
    overflow-y: auto; 
    width: 300px; 
    height: 342px; 
    min-height: 270px;
    max-height: 342px;
    border-color:#a5a6a5; 
    border-width:1px; 
    border-style:solid;
    padding-top: 5px;
    padding-bottom: 5px;
}

.nw-create-file {
    width: 300px; 
    padding-top: 5px;
}

.nw-create-file input,
.nw-create-file select {
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
}
    
.nw-file-list > div > hr
{
    margin-left: 10px;
    margin-right: 10px;
}

.nw-file-list-ul
{
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.nw-file-list > div > a,
.nw-file-list > ul > li > a {
    padding-top: 2px;
    padding-bottom: 2px;
    display: block;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
}

.nw-file-list > div > a:hover,
.nw-file-list > div > a.nw-file-selected,
.nw-file-list > ul > li.nw-file-selected,
.nw-file-list > ul > li > a:hover {
    cursor: pointer;
    background-color:#d0e4f2;
}

.nw-create-file-title{
     overflow: hidden;
     text-align: center;
 }
.nw-create-file-title > span{
    position: relative;
    display: inline-block;
    font-weight: 300;
    font-size: 16px;
    font-style: normal;
}
.nw-create-file-title > span:before, 
.nw-create-file-title > span:after{
    content: '';
    position: absolute;
    top: 50%;
    border-bottom: 1px solid #c6c6c6;
    width: 100px;
    margin: 0 20px;
}
.nw-create-file-title > span:before{
    right: 100%;
}
.nw-create-file-title > span:after{
    left: 100%;
}
.nw-file-picker-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d3d3d3;
    opacity: 0.5;
    text-align: center;
}

.nw-file-picker-loading > img {
    position: relative;
    top: 50%;
}