/*	--------------------------------------------------
                HoGo Modals
-------------------------------------------------- */
/* Google picker modal */
iframe.picker {
    position: absolute;
    top: 0;
    left: 0;
}

.reveal-modal-bg {
    background: rgba(0,0,0,.4);
}

.readonly-bg-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: block;
    top: 0;
    left: 0;
    background: #F7F7F7;
    opacity: 0.35;
    filter: alpha(opacity=35); /* IE < 9*/
}

.hogo-bg-overlay {
    position: fixed; 
    height: 100%;
    width: 100%;
    z-index: 100;
    display: block;
    top: 0;
    left: 0; 
    background: rgba(0,0,0,.4);
}
.hogo-bg-overlay-action {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: block;
    top: 0;
    left: 0;
    background: #E0D8D4;
    opacity: 0.4;
}
.hogo-bg-overlay-action-transparent {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: block;
    top: 0;
    left: 0;
    background: #FFF;
    opacity: 0.7;
}

.reveal-modal {
/*    color: #666;
    display: none;
    margin: auto;
    background-color: #fff;
    z-index: 120;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    border: 15px solid #e0dfdf;*/
}

/* Size of each type modal */

/*.reveal-modal.small {
    width: 200px; 
    margin-left: -140px;
}

.reveal-modal.medium { 
    min-width: 250px; 
    max-width: 330px;
}

.reveal-modal.large { 
    min-width: 480px; 
    max-width: 700px;
}

.reveal-modal.xlarge {
    min-width: 700px; 
}*/

.reveal-modal.xlarge table.display {
/*    float: left;*/
}

.reveal-modal .close-reveal-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    opacity: 1;
}

.close-wrapper {
    float: right;
}
.close-popup {
    background-image: url(../../Images/1.1/close.png);
    background-repeat: no-repeat;
    display: inline-block;
    height: 40px;
    margin-top: -36px;
    margin-right: -30px;
    width: 36px;
}

.wrap-modal-control {
/*    min-height: 36px;*/
    padding: 15px;
}
.modal-control {
    float: right;
    padding: 10px;
    display: inline;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
/*    -webkit-box-shadow: inset 0 1px 0 #ffffff; - Just like border-top*/
    -moz-box-shadow: inset 0 1px 0 #ffffff;
/*    box-shadow: inset 0 1px 0 #ffffff;*/
    zoom: 1;
    margin-bottom: 0;
}
.modal-control a#btn-export-csv{
    margin-right: 30px;
}
.modal-title {
    font-size: 1.2em;
    /*padding: 10px 15px 0;*/
}
.modal-body {
/*     word-wrap: break-word;
     padding: 20px 15px;*/
}

/* New style large popup */

#import-popup table tbody tr td:not(.dataTables_empty){
    text-align: left;
}
#import-popup input[type=password] {
    height: 20px;
    width: 80px;
}

/* Message box modal */

#inbox-popup div span textarea {
    resize: none;
}

#inbox-popup #validationSM>div {
    padding: 5px 0;
}

#inbox-popup>div>span {
    padding: 5px;
    text-align: left;
}
#inbox-popup div span:first-child {
    float: left;
}
#inbox-popup>#validationSM>div>span:first-child {
    width: 80px;
    padding: 0 2px 0 15px;
}
#inbox-popup .subject-block {
    padding: 10px 0;
}
#inbox-popup .subject-block input {
    width: 79% ;
}
#inbox-popup  textarea, #inbox-popup input{
    color: #000 !important;
    font-size: 100% !important;
}
.popup-send-msg{
    min-width: 580px;
}

.to-block .wrap-text-area {
     text-align: left;
     overflow: auto; 
     max-width: 600px; 
     min-height: 20px;
     padding: 2px;
     max-height: 70px;
     cursor: text;
     word-wrap: break-word;
     background: white;
     width: 456px !important;
     
}
.subject-block-text span input {
   width: 453px !important;
   border: none;
}
.body-block-text textarea{
    width: 446px;
    margin-left: -1px;
}
#inbox-popup #msg-title {
    width: 60%;
    border-radius: 0;
    font-size: 16px;
}
.uiToken {
    background: #F1CDA7;
    border: 1px solid #BB8129;
    -webkit-border-radius: 2px;
    color: #1c2a47;
    cursor: default;
    display: block;
    float: left;
    height: 16px;
    margin: 2px;
    padding: 4px 4px 0px 4px;
    position: relative;
    white-space: nowrap;
    font-size: 12px;
    overflow: hidden;
}
.close-btn-small {
    background-image: url(../../Images/1.1/remove-icon.png);
    height: 11px;
    width: 11px;
    cursor: pointer;
    display: inline-block;
    margin: 0 3px;
    padding: 0;
    float: right;
}
.reveal-modal .btn-send-msg{
    margin-right: 12px;
}
.tb-mydocument-info tr td{
    padding: 25px;
}
.tb-mydocument-info tr td.title{
    height: 50px;
    font-weight: bold;
    width: 200px;
}

/* Notificatoin popup */

#notifyContainer .ws_next, #notifyContainer .ws_prev{
    position: absolute;
    top: 50%;
    margin-top: -28px;
    z-index: 60;
    height: 30px;
    width: 17px;
    background-image: url(../../Images/1.1/ws-arrow.png);
    opacity: 1;
}
#notifyContainer .ws_next {
    background-position: 100% 0;
    right: 0px;
}
#notifyContainer:hover a.ws_next, #notifyContainer:hover a.ws_prev {
    display:block
}
#notifyContainer .ws_prev {
    background-position: 0 0;
}

#notifyContainer {
    position: relative;
}

#notifyContainer .modal-title {
    text-align: center;
    font-family: 'Puritan20Normal';
    word-wrap: break-word;
}

#notifyContainer .notification-body {
    padding: 10px 5px 30px 30px;
    font-size: 17px;
    max-height: 150px;
    max-width: 440px;
    overflow-y: auto;;
    overflow-x: hidden;
    word-wrap: break-word;
}
#notifyContainer .notification-create-date{
    text-align: center;
    float: left;
}
#notifyContainer #pageNumber{
    float: right;
    padding-bottom: 10px;
    padding-right: 20px;
}

#notifyContainer .page-number {
    padding: 15px;
    margin: auto;
    text-align: center;
}
#addDocumentPopup .wrap-search-popup, #addRecipientPopup .wrap-search-popup, #addAddressBookPopup .wrap-search-popup{
    display: inline-block;
    padding: 5px;
}

.dataTables_filter{
    display: inline;
    float: left;
    padding: 10px 5px;
}
.dataTables_filter input[type=text]{
    background: url(../../Images/1.1/search-icon.png) no-repeat left center #fff;
    background-size: 20px;
    padding-left: 25px !important;
}
#notifyContainer .page-number span{
    font-size: 17px;
}

/* Support mobile device */
/*@media screen and (min-width: 28.9375em) {  It must be put before .reveal-modal.medium 
    .reveal-modal.medium { 
        min-width: 400px; 
        max-width: 550px;
    }
    
    #registerEmailPopup img{
        width: 50%;
    }
}
@media only screen 
and (max-width : 480px) {
     Styles 
    .reveal-modal.medium { 
        max-width: 350px !important;
    }
    
    #registerEmailPopup img{
        width: 65%;
    }
}*/

img.imglogo-popup {
    padding-top: 10px;
    width: 50%;
}
#registerEmailPopup p{
    text-align: center; 
    font-size: 14px; 
    /*padding: 10px 50px 10px;*/
}
#registerEmailPopup input#email{
    width: 100%;
}

#registerEmailPopup .modal-control{
    margin-bottom: 20px;
}

/* Server notify */

#notify-wrapper {
    width: 100%;
    height: 0px;
    left: 0;
    top: 0;
    text-align: center;
    position: fixed;
    margin-top: 100px;
    z-index: 1001;
}

#notify {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 14px;
    display: inline-block;
    background-color: #64C05C;
}

#notify-msg {
    color: white;
}

#refundPopup tr td textarea.reason{
    width: 95%;
    resize: none;
}
#refundPopup tr td p{
    word-break: break-word;
}
