
.modal {
    border-radius: 20px;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.modal.right {
    border-radius: 0px; 
}

.modal-content { 
    background-color: transparent;
}

.modal .panel {
    padding: 15px;
    margin-bottom: 20px;
    background-color: transparent;  
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.modal .panel-heading {
    padding: 10px 15px;
    margin: -15px -15px 15px;
    font-size: 17.5px;
    font-weight: 500;
    background-color: #fff;
    border-bottom: 1px solid #dddddd;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.modal .panel-footer {
    padding: 10px 15px;
    margin: 15px -15px -15px;
    background-color: #f5f5f5;
    border-top: 1px solid #dddddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.modal .panel-primary {
    border-color: #428bca;
}

.modal .panel-primary .panel-heading { 
}

.panel-success {
    border-color: #82C99D;
}

.panel-success .panel-heading { 
}

.panel-warning {
    border-color: #F8A185;
}

.panel-warning .panel-heading { 
}

.panel-danger {
    border-color: #DF6F78;
}

.messagebox img {
    width: 100%;
    height: auto;
}

.messagebox { 
    border-left: none;
    padding: 0px; 
}
.dash-message .messagebox{background-color: transparent;margin-left: 8px;}
.messagebox.welcome-dashboard-admin-message {background-color: #339adf; }

.messagebox.welcome-dashboard-staff-message { 
}

.image-bank-msg, .record-list-msg, .timeline-msg, .timeline-filter-msg, .create-record-msg { 
    
    position: fixed;
    top: 145px;
    right: 5px;
    overflow-y: scroll;
    height: 500px;
}

.modal-backdrop.in {
    opacity: 0;
}

.modal-backdrop, .modal-backdrop.fade.in {
    left:0;
    max-width: 100%;
    overflow-y: auto;
    border: none;
    opacity: 0.1;
}

.modal-open {
    overflow: inherit;
}

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 22%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right .modal-content {
    height: 100%;
    overflow-y: hidden;
    border-left: #F7BDCB 8px solid;
    background: #F7BDCB;
  padding: 10px;
}


.modal.right .modal-content h3,
.modal.right .modal-content h4 {
  font-size: 1.3rem;
  font-weight: normal !important;
  text-transform: none !important;
  padding-top: 0px;
}

.modal.right .modal-content h4 {
  font-size: 1.1rem;
}

.modal.right .modal-content h3 strong,
.modal.right .modal-content h4 strong { 
  font-weight: normal !important; 
}

.modal-body {
    max-height: 100% !important;
    height: 100%;
    overflow-y: auto;
    padding: 10px 45px 15px;
}
 
.modal.right .modal-body {
    padding: 15px 25px 80px; 
    background-color: #fff;
  border-radius: 30px;

}

.modal.right.config .modal-body {
    padding: 15px 15px 80px; 
}

.modal.right.fade .modal-dialog {
    right: -22%;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
    top: 0px;
}

.myModalChooseRecords.modal.right.fade.in .modal-dialog {
    right: 0px;
}

.modal-content {
    border-radius: 0;
    border: none;
}

#litebox-4 .outer-side {
    width: 100%;
    -webkit-transition: width 0.65s ease-in-out;
    transition: width 0.65s ease-in-out;
}

#litebox-4 .outer-side.help-active {
    width: 65%;
    -webkit-transition: width 0.65s ease-in-out;
    transition: width 0.65s ease-in-out;
}

#litebox-4 .inner.white.help-active {
    right: 23%;
    -webkit-transition: right 0.65s ease-in-out;
    transition: right 0.65s ease-in-out;
}

#litebox-4 .inner.white {
    right: 0;
    -webkit-transition: right 0.65s ease-in-out;
    transition: right 0.65s ease-in-out;
}

.modal-header {
    border-bottom: none;   
    background: transparent;
    color: #2d2d2d;
    padding: 30px 5px 10px;
}

.modal.right .modal-header {
        padding: 10px 50px 10px 25px;
      background: #F7BDCB;
      height: 80px;
      display: flex;
      align-items: center;
}

.modal-dialog form {
    margin: 0;
} 

/*
.modal-dialog .modal-body input,
.modal-dialog .modal-body select {
    height: 46px;
      background-color: #efefef !important;
      border-radius: 23px;
      box-sizing: border-box;
      box-shadow: none;
      border: none;
      padding: 0 15px;
      font-size: 1rem;
      position: relative;
      width: 100%;
} 
*/


.modal-header p {
    padding-top: 30px;
    font-size: 1.3rem;
    line-height: 1.1em;
}


.modal.right .modal-header p {
    padding-top: 0px;
    font-size: 1.3rem;
    color: #fff;
}


.modal-footer {
    display: flex;
    justify-content: space-between; 
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 25px 45px 25px;
    border-top: #efefef 1px solid;
}

.btn-demo {
    margin: 15px;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 16px;
    background-color: #FFFFFF;
}

.modal-header .close,
.modal-dialog .close {
    background: transparent url('../icons/icon-close.svg') no-repeat center / 36px ;
    width: 40px;
    height: 40px;
    display: block;
    text-indent: -9999em;
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 40px !important;
  max-width: 40px !important;
  display: block !important;
  max-height: 40px;
  min-height: 40px; 
}


.modal.right .modal-header .close {
background: transparent url('../icons/icon-close-w.svg') no-repeat center / 40px;
  width: 40px !important;
  height: 40px !important;
  top: 19px;
  margin: 0;
  padding: 0;
  min-width: 40px !important;
  max-width: 40px !important;
  display: block !important;
  max-height: 40px;
  min-height: 40px; 
}

#selected_media .details {
    width: 100%;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
}

#selected_media label {
    width: 90%;
    margin: 0 auto;
}

.popup_z .col-sm-12 {
}

.timeline_filter_z {
}

.timeline_filter_z .col-md-2, .timeline_filter_z .col-sm-12 {
}

.timeline.centered {
    top: 1px;
}

#main-navbar {
}

#main-menu {
}

.popup-box-timeline.extra-timeline-filter {
}

.new-filter-holder {
}

div#content-wrapper.col-sm-9 .page-header {
    position: relative;
    margin-right: -4px;
}

.tbl-record-list tbody > tr > td {
    white-space: normal;
    word-break: normal;
    min-width: 100px;
    max-width: 450px; 
    vertical-align: middle;
}

.tbl-record-list .btn.btn-small {
  padding: 8px 15px 4px 15px;
  height: 30px;
  font-size: 0.8rem; 
  margin-bottom: 6px;
}

#content-wrapper.col-sm-9 .pesky-record-list .btn {
    margin-left: -25px;
}

#content-wrapper.col-sm-9 .pesky-record-list h3 {
    font-size: 18px;
}

div#content-wrapper.col-sm-9 .tbl-record-list tbody > tr > td {
    padding: 3px;
}


@media only screen and (min-width: 1900px) {
    .modal.right.fade .modal-dialog {
        width: 22%;
    }

    .modal.right.fade .modal-dialog {
        right: -22%;
    }
}

@media only screen and (max-width: 1440px) {


    .modal-header h3 {
      font-size: 1.6rem;
    }

    .record-help-video i {
        font-size: 24px;
    }

    .modal.right.fade .modal-dialog {
        width: 21%;
    }

    .modal.right.fade .modal-dialog {
        right: -21%;
    }

    .modal h2, .modal .h2 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 1280px) {
    .modal.right.fade .modal-dialog {
        width: 30%;
    }

    .modal.right.fade .modal-dialog {
        right: -30%;
    }
}

@media only screen and (max-width: 1100px) {
    .modal.right.fade .modal-dialog {
        width: 24.5%;
        min-width: 300px;
    }

    .modal.right.fade .modal-dialog {
        right: -24.5%;
    }
}

@media only screen and (max-width: 900px) {
    
    .modal-header { 
      padding: 30px 45px 10px 25px;
    }
    .modal-body { 
      padding: 10px 25px 15px;
    }
    .modal-footer { 
      padding: 25px 25px 25px; 
    }
    .modal {
        width: 80%;
      margin-left: -40%;
    }
}







@media only screen and (max-width: 767px) {
    #content-wrapper.col-sm-9 {
        width: 100% !important;
    }

    .right_popup {
        position: relative;
    } 

    .modal.right.fade .modal-dialog {
        right: -100%;
    }
}