﻿/* Notification Bar */
.notification-bar-success,
.notification-bar-info,
.notification-bar-warning,
.notification-bar-error {
    text-align: center;
    border: none;
    padding: 2px 2px;
    margin: 0px;
    font-weight: 400;
}

.notification-bar-success > p,
.notification-bar-info > p,
.notification-bar-warning > p,
.notification-bar-error > p {
    margin: 5px 0px 5px 0px;
    -webkit-margin-before: 5px;
    -webkit-margin-after: 5px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 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 {
    height: 0px;
    width: 0px;
    margin: 0px;
    background-image: none;
    background-position: 0px;
}

/* The Modal */

.nw-modal {
  position: relative;
  margin: auto;
  border: 1px solid #a5a6a5;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin-bottom: 10px;
}

.nw-modal-view {
  background-color: #fff;
  padding: 5px 10px 5px 10px;
}

.nw-modal-edit {
  background-color: #f2f2f2;
  padding: 5px 10px 5px 10px;
}

.nw-modal-header {
  padding: 0px 0px 5px 0px;
}

.nw-modal-body {
  color: #666;
  width:100%;
  display:table;
}

.nw-modal-body > .nw-modal-flexbox {
  padding: 0px;
  margin-right: 10px;
  margin-left: 0px;
  overflow: hidden;
  display: block;
  float:left;
  min-width: 150px;
  width:auto;
}

html[dir="rtl"] .nw-modal-body > .nw-modal-flexbox {
  float: right;
  margin-right: 0px;
  margin-left: 10px;
}

.nw-modal-body > .nw-modal-flexbox:last-child {
  margin-right: 5px;
  margin-left: 0px;
}

html[dir="rtl"] .nw-modal-body > .nw-modal-flexbox:last-child {
  margin-right: 0px;
  margin-left: 5px;
}

.nw-modal-footer {
  padding: 0px;
  min-width: 0;
  min-height: auto;
}

.nw-modal-title {
  font-weight: 600;
  font-size: 13px;
}

.nw-modal-buttons {
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
  overflow: hidden;
  padding: 5px;
  display:table;
}

html[dir="rtl"] .nw-modal-buttons {
  right: auto;
  left: 0;
}

.nw-modal-buttons > div {
  margin-right: 10px;
  margin-left: 0px;
  overflow: hidden;
  display: block;
  float:left;
  width:auto;
}

html[dir="rtl"] .nw-modal-buttons > div {
  margin-right: 0px;
  margin-left: 10px;
  float:right;
}

.nw-modal-buttons > div:last-child {
  margin-right: 1px;
  margin-left: 0px;
}

html[dir="rtl"] .nw-modal-buttons > div:last-child {
  margin-right: 0px;
  margin-left: 1px;
}

.nw-modal-button-edit,
.nw-modal-button-delete {
  cursor: pointer;
}

.nw-modal-button-tag
{
    cursor: pointer;
    background: inherit;
    padding: 1px 5px;
    border: 1px solid #ababab;
    font-size: 11px;
    min-height: 15px;
    height: 15px;
}
.nw-modal-flexbox {
  min-width: 0;
  min-height: auto;
  margin-bottom: 5px;
}

.nw-modal-flexbox-title {
  font-weight: normal;
  font-style: normal;
  font-size: 11px;
  color: #666;
}

.nw-modal-flexbox-content {
  font-weight: normal;
  font-style: normal;
  font-size: 13px;
}

.nw-modal-edit input[type=password],
.nw-modal-edit input[type=text],
.nw-modal-edit input[type=file],
.nw-modal-edit input[type=button],
.nw-modal-edit textarea,
.nw-modal-edit .ms-inputBox,
.nw-button-center input[type=button]
{
    background-color: #fff !important;      
}

.nw-modal-edit a,
.nw-modal-edit a:hover,
.nw-modal-edit a:visited {
    text-decoration: none;
}

.nw-button-float {
    float: right;
    overflow: hidden;
}

html[dir="rtl"] .nw-button-float {
    float: left;
}

.nw-button-center {
    text-align: center;
}

.nw-modal-edit input[type=button].nw-button-min-width,
.nw-button-center input[type=button].nw-button-min-width
{
    min-width: 80px;
}

.nw-modal-edit #tblContainer{
    margin-left: 3px;
    margin-right: 0px;
}

html[dir="rtl"] .nw-modal-edit #tblContainer {    
    margin-left: 0px;
    margin-right: 3px;
}

.nw-modal-view-2 {
  background-color: #f2f2f2;
  padding: 5px 10px 5px 30px;
}

.nw-modal-view-2 input[type=text],
.nw-modal-view-2 textarea,
.nw-modal-view-2 .ms-inputBox
{
    background-color: #fff !important;      
}

.nw-model-doc-template .nw-modal-body {
    margin-right: 10px;
    margin-left: 20px;
}

html[dir="rtl"] .nw-model-doc-template .nw-modal-body {
    margin-right: 20px;
    margin-left: 10px;
}

.nw-model-doc-template .nw-modal-body > .nw-modal-flexbox {
    min-width: 185px;
}

.nw-modal-order {
    padding-right: 5px;
    padding-left: 0px;
    display: inline-block;
    min-width: 15px;
}

html[dir="rtl"] .nw-modal-order {
    padding-right: 0px;
    padding-left: 5px;
}

.nw-modal-merge {
    margin-top: -11px;    
    border-top-color: #e8e8e8;
}

.nw-modal-edit .nw-modal-inner-section {
    margin-right: 80px;
    margin-left: 0px;
}

html[dir="rtl"] .nw-modal-edit .nw-modal-inner-section {
    margin-right: 0px;
    margin-left: 80px;
}

.main-controls {
    padding-right: 10px;
    padding-left:0px;
}

html[dir="rtl"] .main-controls {
    padding-right: 0px;
    padding-left: 10px;
}

