/* Fonts */
@font-face{
  font-family:Oswald-Bold;
  src: url(../fonts/Oswald-Bold.ttf);

}
@font-face{
  font-family:Oswald-ExtraLight;
  src: url(../fonts/Oswald-ExtraLight.ttf);

}

@font-face{
  font-family:AlegreyaSans-Regular;
  src: url(../fonts/AlegreyaSans-Regular.ttf);

}


@font-face{
  font-family:AlegreyaSans-Bold;
  src: url(../fonts/AlegreyaSans-Bold.ttf);

}

@font-face{
  font-family:AlegreyaSans-Medium;
  src: url(../fonts/AlegreyaSans-Medium.ttf);

}

/* Page config */
#HTML5GlobalAlert{
  position: fixed;
  width: 1px;
  height: 1px;
  visibility: hidden;
  background: #FF0000;
  bottom: 0;
  right: 0;
}

html{
    overflow-y:auto;
}

.unselectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.left{
    text-align: left!important;
}

.right{
    text-align: right!important;
}

body.modal-open {
   
    padding-right: 0px!important;
}

#TableFooter{
    margin-top:10px;
}

body{
    font-size: 12px;
    font-weight: bold;
    
}

.table-responsive{
    min-width: 100px;
}

.form-control{
    padding-left: 5px;
    padding-right: 2px;
    
    min-width:100px;
}

.center{
    text-align: center; /* center horizontally*/
    vertical-align: middle; /* center vertically */
}

.memo{
    color: #888888;
    font-size: 10px;
    font-style: italic;
}
.blur{
    -webkit-filter: blur(4px); /* Safari 6.0 - 9.0 */
    filter: blur(4px);
}

/*SystemMessages*/
.StickyMessage0{
  color: #233826;
  background: #DAFAD8;
}

.StickyMessage1{
  color: #000000;
  background: #FBFAB2;
}

.StickyMessage2{
  color: #FFFFFF;
  background: #FF6363;
}

/*Bootstrap repaint*/
a, .page-link{
  color:#337ab7;
}
.page-item.active .page-link, .btn.btn-primary, .nav-pills .nav-link.active{
  background-color:#337ab7;
}

/* Body */
#Container{
   padding-top:50px;
   padding-right:0px;
   
}
#Container > #Content {
    display: block;
    /*margin-bottom: 30px;*/
    padding-top:15px;
    padding-right:0px;
}

.anchor{
    margin-top: -58px; 
    padding-top: 58px; 
}
.anchor:before { 
  display: block; 
  content: " "; 
  margin-top: -52px; 
  height: 52px; 
  visibility: hidden; 
}


/*toastr*/
.toast-title {
    font-weight: 700
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word
}

.toast-message a, .toast-message label {
    color: #fff
}

.toast-message a:hover {
    color: #ccc;
    text-decoration: none
}

.toast-close-button {
    position: relative;
    right: -.3em;
    top: -.3em;
    float: right;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    -ms-filter: alpha(Opacity=80);
    filter: alpha(opacity=80)
}

.toast-close-button:focus, .toast-close-button:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    -ms-filter: alpha(Opacity=40);
    filter: alpha(opacity=40)
}

button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none
}

.toast-top-center {
    top: 0;
    right: 0;
    width: 100%
}

.toast-bottom-center {
    bottom: 0;
    right: 0;
    width: 100%
}

.toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%
}

.toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%
}

.toast-top-left {
    top: 12px;
    left: 12px
}

.toast-top-right {
    top: 12px;
    right: 12px
}

.toast-bottom-right {
    right: 12px;
    bottom: 12px
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px
}

#toast-container {
    position: fixed;
    z-index: 999999
}

#toast-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

#toast-container > div {
    position: relative;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #fff;
    opacity: .8;
    -ms-filter: alpha(Opacity=80);
    filter: alpha(opacity=80)
}

#toast-container > :hover {
    -moz-box-shadow: 0 0 12px #000;
    -webkit-box-shadow: 0 0 12px #000;
    box-shadow: 0 0 12px #000;
    opacity: 1;
    -ms-filter: alpha(Opacity=100);
    filter: alpha(opacity=100);
    cursor: pointer
}

#toast-container > .toast-info {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important
}

#toast-container > .toast-error {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important
}

#toast-container > .toast-success {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important
}

#toast-container > .toast-warning {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important
}

#toast-container.toast-bottom-center > div, #toast-container.toast-top-center > div {
    width: 300px;
    margin: auto
}

#toast-container.toast-bottom-full-width > div, #toast-container.toast-top-full-width > div {
    width: 96%;
    margin: auto
}

.toast {
    background-color: #030303
}

.toast-success {
    background-color: #51a351
}

.toast-error {
    background-color: #bd362f
}

.toast-info {
    background-color: #2f96b4
}

.toast-warning {
    background-color: #f89406
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000;
    opacity: .4;
    -ms-filter: alpha(Opacity=40);
    filter: alpha(opacity=40)
}

@media all and (max-width: 240px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 11em
    }

    #toast-container .toast-close-button {
        right: -.2em;
        top: -.2em
    }
}

@media all and (min-width: 241px) and (max-width: 480px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 18em
    }

    #toast-container .toast-close-button {
        right: -.2em;
        top: -.2em
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {
    #toast-container > div {
        padding: 15px 15px 15px 50px;
        width: 25em
    }
}


/*TABLE*/
.ListTable th{
    background-color: #EDEDED;
    text-align: center;
}
.ListTable a:hover{
    text-decoration: none;
}
.MatrixHighlight,tr.MatrixHighlight th,tr.MatrixHighlight td{
    background-color: #D7F6FD!important;
}

.ListTable td{
    vertical-align:middle!important;
    font-size: 12px;
    font-weight: normal;
    padding: .40rem;
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}
.ListTable td a{
    font-weight: bold;
}

.ListTable thead .btn{
    margin:0;
}
table span.error{
    /*display:block*/
    margin-left: 20px;
    color: #CC0000;	
    font-style: italic;
}
table span.note{
    /*display:block*/
    margin-left: 10px;
    color: #888888;
    font-style: italic;
}

.ListTable .control{
  font-size:16px;
  max-width:80px;
  width:40px;
}

.ListTable td div.textarea{
    overflow-y:auto;
    max-height:150px;
    
    padding:5px;
    
    /*margin: -0.75rem;*/
    margin-left: -7px;
    margin-right: -7px;
    margin-top:-5px;
    margin-bottom:-5px;
}

.ListTable.selectable thead tr th:first-child{
    font-size:16px;
    padding: 0.40rem;
}

.ListTable thead tr.filter-row th{
    padding-top:.40rem;
    padding-bottom:.40rem;
}

/*
.ListTable tbody tr{
    background-color: #F6F6F6;
}
*/
.ListTable tbody tr.selected{
    background-color: rgba(41, 169, 223, 0.4);
}
.ListTable.table-striped tbody tr.selected:nth-of-type(odd){
    background-color: rgba(41, 169, 223, 0.6 );
}

.ListTable tbody tr:hover td   , .ListTable.table-striped tbody tr:nth-of-type(odd):hover td  {
    background-color: rgba(0, 0, 0, 0.4);
    color:white;
    cursor: default;
    /*rgba(41, 169, 223);#D7F6FD;*/
}
.ListTable tbody tr:hover td a{
    color:white;
}

/*chang numbering to check*/
.ListTable.selectable tbody tr.selected td:first-child *{
    display:none;
}
.ListTable.selectable tbody tr.selected td:first-child .check{
    display:inline;
}

/*check-control*/
.ListTable thead tr .check-control{
    min-width:60px;
    font-size:18px;
}
.check-control a{
    margin-right:4px;
    margin-left:4px;
}
.check-control a.check-reverse:hover{
    cursor: pointer;
    color:  #0056b3;
}
.check-control a.check-erase:hover{
    cursor: pointer;
    color:  #d9534f;
}

.FilterControl.input-group{
    margin: 0px auto;
    margin-bottom:4px;
    font-size:16px;
    min-width:120px;
}

/*TablePAGINATION*/
ul.pagination {
    float:right;
    margin-top:0px;
}

.pagination{
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pagination a:hover{
    cursor: pointer;
}

/*SIDEBAR*/
/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */
.sidebar-container{
    padding:0;
    max-width:200px;
}
.bs-docs-sidebar{
    padding:10px;
}
/* By default it's not affixed in mobile views, so undo that */
.bs-docs-sidebar.affix {
  position: static;
}
@media (min-width: 768px) {
  .bs-docs-sidebar {
    padding-left: 20px;
  }
}

/* First level of nav */
.bs-docs-sidenav {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* All levels of nav */
.bs-docs-sidebar .nav > li > a {
  display: block;
  padding: 4px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #767676;
}
.bs-docs-sidebar .nav > li > a:hover,
.bs-docs-sidebar .nav > li > a:focus {
  padding-left: 19px;
  color: #563d7c;
  text-decoration: none;
  background-color: transparent;
  border-left: 1px solid #563d7c;
}
.bs-docs-sidebar .nav > .active > a,
.bs-docs-sidebar .nav > .active:hover > a,
.bs-docs-sidebar .nav > .active:focus > a {
  padding-left: 18px;
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-left: 2px solid #563d7c;
}

/* Nav: second level (shown on .active) */
.bs-docs-sidebar .nav .nav {
  display: none; /* Hide by default, but at >768px, show it */
  padding-bottom: 10px;
}
.bs-docs-sidebar .nav .nav > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 30px;
  font-size: 12px;
  font-weight: normal;
}
.bs-docs-sidebar .nav .nav > li > a:hover,
.bs-docs-sidebar .nav .nav > li > a:focus {
  padding-left: 29px;
}
.bs-docs-sidebar .nav .nav > .active > a,
.bs-docs-sidebar .nav .nav > .active:hover > a,
.bs-docs-sidebar .nav .nav > .active:focus > a {
  padding-left: 28px;
  font-weight: 500;
}

/* Back to top (hidden on mobile) */
.back-to-top,
.bs-docs-theme-toggle {
  display: none;
  padding: 4px 10px;
  margin-top: 10px;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
}
.back-to-top:hover,
.bs-docs-theme-toggle:hover {
  color: #563d7c;
  text-decoration: none;
}
.bs-docs-theme-toggle {
  margin-top: 0;
}

@media (min-width: 768px) {
  .back-to-top,
  .bs-docs-theme-toggle {
    display: block;
  }
}

/* Show and affix the side nav when space allows it */
@media (min-width: 992px) {
  .bs-docs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-docs-sidebar.affix,
  .bs-docs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-docs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;/*20px;*/
  }
  .bs-docs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-docs-sidebar.affix-bottom .bs-docs-sidenav,
  .bs-docs-sidebar.affix .bs-docs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .bs-docs-sidebar.affix-bottom,
  .bs-docs-sidebar.affix {
    width: 263px;
  }
}

/*BrowsButton + input fields*/
.btn {
    margin: 4px;
}

div.modal-footer .btn{
    margin-bottom: 0px;
    margin-top: 0px;
}

.input-group {
    margin: 4px;
}

.input-group .btn{
    margin:0px;
}
.btn-group .btn{
    margin-left:0;
    margin-right:0;
}


.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.input-xs {
  height: 22px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
  border-radius: 3px;
}

.input-group-addon {
    min-width:100px;/* Set whatever the width you want*/
}

select option:selected{
    background-color:#AAAAFF;
}


/*Chosenjs*/
.input-group .form-control + .chosen-container:last-child a {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control + .chosen-container,
.form-control + .chosen-container a,
.form-control + .chosen-container a span {
    height: 34px;
    line-height:34px; 
    font-size:14px;
}
.form-control.input-sm + .chosen-container,
.form-control.input-sm + .chosen-container a,
.form-control.input-sm + .chosen-container a span{
    height: 30px;
    line-height:30px; 
    font-size:12px;
}
.form-control.input-xs + .chosen-container,
.form-control.input-xs + .chosen-container a,
.form-control.input-xs + .chosen-container a span{
    height: 28px;
    line-height:28px; 
    font-size:12px;
}

.form-control + .chosen-container a span{
    vertical-align: middle;
    padding-left:4px;
}
.form-control + .chosen-container:not(.chosen-container-active) a,.form-control + .chosen-container:not(.chosen-container-active) a span{
    background: white;
}
.form-control:not(.input-xs):not(.input-sm) + .chosen-container.chosen-with-drop a div>b{
    background-position: -16px 2px;
    
}


/*TableFixedHeader*/




/*drag and drop*/
.droppable-above {
    /*border-top: 3px solid #abc;*/
    font-size:18px;
}

.droppable-below {
    /*border-bottom: 3px solid #abc;*/
    font-size:18px;
}

.ui-draggable-dragging{
    font-size:18px;
}

/*Chosen.js drop-up*/
.chosen-container.chosen-drop-up .chosen-drop{
   top: auto;
   bottom: 100%;
   border: 1px solid #aaa;
   border-bottom: 0;
   
   border-radius: 5px;
   border-bottom-left-radius: 0;
   border-bottom-right-radius: 0;
   
   box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15);
}

.chosen-container-active.chosen-with-drop.chosen-drop-up .chosen-single{
    
    border-top: 0;
    
    border-radius: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    
    box-shadow: 0 -1px 0 #fff inset;
    
}

.hidden {
  display: none; }
