.containerSmall{
    width: 600px !important;
    max-width: 100% !important;
}

.modalWrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    overflow-y: scroll;
}

.modalPopup {
    border-radius: 6px;
    background: #f5f5f5;
    max-height: 90%;
    width: 50%;
    position: fixed;
    top: 5%;
    left: 25%;
    z-index: 300;
    display: none;
    padding: 10px;
    -moz-box-shadow: 0px 5px 10px #444;
    -ms-box-shadow: 0px 5px 10px #444;
    -webkit-box-shadow: 0px 5px 10px #444;
    box-shadow: 0px 5px 10px #444;
    overflow-y: auto;
}

.modalPopup.contextPopup {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 90%;
}

.contextPopupPointer
{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    z-index: 999;
}

.contextPopupPointer.pointerUp
{
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #f5f5f5;
}

.contextPopupPointer.pointerDown
{
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #f5f5f5;
}

.contextPopupPointer.pointerLeft
{
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #f5f5f5;
}

.contextPopupPointer.pointerRight
{
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #f5f5f5;
}

.contextPopup .popupContainer.alertContainer
{
    position: relative;
    padding-left: 41px;
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 25px 25px;
}

.contextPopup .popupContainer.alertContainer.alert-info
{
    background-image: url(../../../../v4/cl/images/icons/alert-info.png);
    background-color: #D9EDF7;
}

.contextPopup .popupContainer.alertContainer.alert-danger
{
    background-image: url(../../../../v4/cl/images/icons/alert-danger.png);
    background-color: #F2DEDE;
}

.contextPopup .popupContainer.alertContainer.alert-warning
{
    background-image: url(../../../../v4/cl/images/icons/alert-warning.png);
    background-color: #FCF8E3;
}

.contextPopup .popupContainer.alertContainer.alert-success
{
    background-image: url(../../../../v4/cl/images/icons/alert-success.png);
    background-color: #DFF0D8;
}

.modalWrapper .modalPopup {
    position: absolute;
    max-height: none;
    margin-bottom: 30px;
}

.modalPopup.confirmPopup
{
    position: relative;
    left: auto;
    top: auto;
    margin: auto;
    display: inline-block;
    width: auto;
    min-width: 262px;
    max-width: 524px;
    text-align: left;
}

.confirmPopupWrapper, .popupWrapper
{
    position: fixed;
    top: 5%;
    left: 0;
    width: 100%;
    display: none;
}

.confirmPopupWrapper
{
    text-align: center;
}

.modalPopup.confirmPopup .confirmButtonContainer
{
    text-align: center;
    margin-top: 15px;
}

.modalPopup.confirmPopup .confirmButtonContainer .confirmPopupButton
{
    margin: 0 5px;
}

.popupContainer {
    overflow: auto;
    padding: 10px;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ddd;
    -moz-box-shadow: 0 1px 0 #bbb;
    -ms-box-shadow: 0 1px 0 #bbb;
    -webkit-box-shadow: 0 1px 0 #bbb;
    box-shadow: 0 1px 0 #bbb;
}

.popupContainer .cardContainer{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.popupContainer .clHeadSecondary h2 {
    /*font-size: 1em !important;*/
    font-size:1.3em;

}

.modalPopup label.standard {
    width: 40%;
}
.modalPopup .formLine{
    width: 60%;
}

.popupTitle {
    height: 22px;
    font-size: 18px;
    margin-bottom: 5px;
    position: relative;
}

.modalPopup.contextPopup .popupTitle
{
    display: none;
}

.view-popup-close{
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    cursor: pointer;
    opacity: 0.75;
}

.view-popup-close:hover{
    opacity: 1;
}

/*hide close button for ess landing popup*/
#popuppopupview  .view-popup-close
{
    display:none;
}

.view-popup-trigger{
    cursor: pointer;
}

.view-popup-overlay{
    position:fixed;
    background-color: #000000;
    background-color: rgba(127, 127, 127, 0.5);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    display:none;
}

.view-popup-overlay.clearOverlay
{
    background-color: rgba(127, 127, 127, 0.0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.closePopup {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    cursor: pointer;
    opacity: 0.75;
}

.popupLink {
    cursor: pointer;
}

.overlay {
    position:fixed;
    background-color: #000000;
    background-color: rgba(127, 127, 127, 0.5);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    display:none;
}

.view-popup-overlay.contextOverlay,
.overlay.contextOverlay {
    background-color: rgba(127, 127, 127, 0.2);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
}

.closePopup:hover{
    opacity: 1;
}

.timeoutModalPopup{border-radius: 6px; background: #fff; max-height: 90%; width: 30%; position: fixed; top: 5%;left: 35%; z-index: 300;display: block;}
/*.timeoutPopupContainer{ overflow: auto; max-height: 600px; background: #fff;}
*/.timeoutModalPopup label.standard{width: 40%;}
.timeoutPopupTitle{position: relative;}
.timeoutOverlay {
    position:fixed;

    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 20;
}

.freezeOverlay{
    display:block;
    background-color: #000000;
    width: 300px;
    height: 300px;
    left: 50%;
    margin-left: -150px;
    top: 50%;
    margin-top: -150px;
    position: absolute;
    z-index: 100;
    padding: 20px;

}
.freezeProgress{
    margin: 0px auto;

}
.freezeData{
    text-align: center;
    overflow-y: hidden;
}

.hoverShowContain{
    position:relative; bottom: 180px; right: 308px;
}

.hoverShowExp{
    color: #444;
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    z-index: 100;
    width:300px;
}

.hoverShowExp img, .preview-image img{
    width:60%;
}

.popupInline{
    display: inline;
}

.popoverAjaxLoading
{
    width: 35px;
    height: 35px;
    text-align: center;
}

.popoverAjaxLoading img
{
    width: 35px;
    height: 35px;
}

.popover
{
    max-width: none;
}

.popover .popoverAddButton
{
    display: block;
    color: #444444;
    border-bottom: 1px solid #d9e0e2;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.popover .popoverAddButton span
{
    display: inline-block;
    vertical-align: middle;
}

.popover .popoverAddButton img
{
    width: 17px;
    height: 17px;
    margin-right: 5px;
    vertical-align: middle;
}

.popover .popoverRemoveButton
{
    display: block;
    color: #444444;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.popover .popoverRemoveButton span
{
    display: inline-block;
    vertical-align: middle;
}

.popover .popoverRemoveButton img
{
    width: 15px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

.popover.info
{
    background-color: #d9edf7;
    border-color: #92A9B4;
    color: #31708f;
}

.popover.danger
{
    background-color: #f2dede;
    border-color: #D4A2A1;
    color: #a94442;
}

.popover.warning
{
    background-color: #fcf8e3;
    border-color: #C5B69D;
    color: #8a6d3b;
}

.popover.success
{
    background-color: #dff0d8;
    border-color: #95AA96;
    color: #3c763d;
}

.popover.info a,
.popover.danger a,
.popover.warning a,
.popover.success a
{
    font-weight: bold;
}

.popover.info a:hover,
.popover.danger a:hover,
.popover.warning a:hover,
.popover.success a:hover
{
    text-decoration: underline;
}

.popover.info a,
.popover.info a:link,
.popover.info a:visited,
.popover.info a:active
{
    color: #245269;
}

.popover.danger a,
.popover.danger a:link,
.popover.danger a:visited,
.popover.danger a:active
{
    color: #843534;
}

.popover.warning a,
.popover.warning a:link,
.popover.warning a:visited,
.popover.warning a:active
{
    color: #66512c;
}

.popover.success a,
.popover.success a:link,
.popover.success a:visited,
.popover.success a:active
{
    color: #2b542c;
}

.popover.info.top > .arrow
{
    border-top-color: #92A9B4;
}

.popover.info.right > .arrow
{
    border-right-color: #92A9B4;
}

.popover.info.bottom > .arrow
{
    border-bottom-color: #92A9B4;
}

.popover.info.left > .arrow
{
    border-left-color: #92A9B4;
}

.popover.info.top > .arrow:after
{
    border-top-color: #d9edf7;
}

.popover.info.right > .arrow:after
{
    border-right-color: #d9edf7;
}

.popover.info.bottom > .arrow:after
{
    border-bottom-color: #d9edf7;
}

.popover.info.left > .arrow:after
{
    border-left-color: #d9edf7;
}

.popover.danger.top > .arrow
{
    border-top-color: #D4A2A1;
}

.popover.danger.right > .arrow
{
    border-right-color: #D4A2A1;
}

.popover.danger.bottom > .arrow
{
    border-bottom-color: #D4A2A1;
}

.popover.danger.left > .arrow
{
    border-left-color: #D4A2A1;
}

.popover.danger.top > .arrow:after
{
    border-top-color: #f2dede;
}

.popover.danger.right > .arrow:after
{
    border-right-color: #f2dede;
}

.popover.danger.bottom > .arrow:after
{
    border-bottom-color: #f2dede;
}

.popover.danger.left > .arrow:after
{
    border-left-color: #f2dede;
}

.popover.warning.top > .arrow
{
    border-top-color: #C5B69D;
}

.popover.warning.right > .arrow
{
    border-right-color: #C5B69D;
}

.popover.warning.bottom > .arrow
{
    border-bottom-color: #C5B69D;
}

.popover.warning.left > .arrow
{
    border-left-color: #C5B69D;
}

.popover.warning.top > .arrow:after
{
    border-top-color: #fcf8e3;
}

.popover.warning.right > .arrow:after
{
    border-right-color: #fcf8e3;
}

.popover.warning.bottom > .arrow:after
{
    border-bottom-color: #fcf8e3;
}

.popover.warning.left > .arrow:after
{
    border-left-color: #fcf8e3;
}

.popover.success.top > .arrow
{
    border-top-color: #95AA96;
}

.popover.success.right > .arrow
{
    border-right-color: #95AA96;
}

.popover.success.bottom > .arrow
{
    border-bottom-color: #95AA96;
}

.popover.success.left > .arrow
{
    border-left-color: #95AA96;
}

.popover.success.top > .arrow:after
{
    border-top-color: #dff0d8;
}

.popover.success.right > .arrow:after
{
    border-right-color: #dff0d8;
}

.popover.success.bottom > .arrow:after
{
    border-bottom-color: #dff0d8;
}

.popover.success.left > .arrow:after
{
    border-left-color: #dff0d8;
}

.popover.info > .popover-content,
.popover.danger > .popover-content,
.popover.warning > .popover-content,
.popover.success > .popover-content
{
    position: relative;
    padding-left: 40px;
}

.popover > .popover-content > .popover-alert-image-container
{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    text-align:center;
}

.popover > .popover-content > .popover-alert-image-container > .popover-alert-image
{
    width: 40px;
    height: 25px;
    position: absolute;
    top: 50%;
    text-align: center;
}

.popover > .popover-content > .popover-alert-image-container > .popover-alert-image > img
{
    width: 25px;
    height: 25px;
    position: relative;
    bottom: 50%;
}

.popupNotes .modalPopup
{
    overflow-y: hidden;
    display: block;
}

.popupNotes.editMode .addTitle,
.popupNotes .modalPopup.readOnly .addTitle
{
    display: none;
}

.popupNotes .editTitle,
.popupNotes .readOnlyTitle
{
    display: none;
}

.popupNotes.editMode .editTitle
{
    display: initial;
}

.popupNotes .modalPopup.readOnly .readOnlyTitle
{
    display: initial;
}

.popupNotes .modalPopup.readOnly .noteEditorControlsContainer
{
    display: none;
}

.popupNotes .noteEditorContainer
{
    margin-bottom: 10px;
}

.popupNotes .noteEditor
{
    width: 100%;
    height: 100px;
}

.popupNotes .noteEditorButtonContainer
{
    text-align: center;
    margin-bottom: 30px;
}

.popupNotes .noteEditorButtonContainerEdit
{
    display: none;
}

.popupNotes.editMode .noteEditorButtonContainerEdit
{
    display: block;
}

.popupNotes.editMode .noteEditorButtonContainerAdd
{
    display: none;
}

.popupNotes .quickSearchContainer
{
    margin-bottom: 10px;
}

.popupNotes .resetInput
{
    width: 16px;
    height: 16px;
    display: none;
    position: absolute;
    right: 4px;
    top: 2px;
    outline: none;
}

.popupNotes .searchActive .searchIcon
{
    display: none;
}

.popupNotes .searchActive .resetInput
{
    display: initial;
}

.popupNotes .resetInput img
{
    height: 100%;
}

.popupNotes .noteListContainer
{
    position: relative;
    overflow-y: hidden;
}

.popupNotes .noteList
{
    position: relative;
    overflow-y: scroll;
    min-height: 65px;
}

.popupNotes .noteListLoadingPanel
{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(127, 127, 127, .1);
}

.popupNotes .noteListLoadingPanel .noteListLoadingImageContainer
{
    position: absolute;
    width: 100%;
    top: 50%;
    text-align: center;
}

.popupNotes .noteListLoadingPanel .noteListLoadingImageContainer img
{
    position: relative;
    bottom: 10px;
}

.popupNotes .noteListItem,
.popupNotes .noteListItem:link,
.popupNotes .noteListItem:active,
.popupNotes .noteListItem:visited,
.popupNotes .noteListItem:hover
{
    display: block;
    border-style: solid;
    border-color: #e5e5e5;
    border-width: 1px 1px 0 1px;
    padding: 10px 15px;
    color: inherit;
    margin-right: 5px;
}

.popupNotes .noteListItem.noteListItemTemplate
{
    display: none;
}

.popupNotes .noteListItem:last-child
{
    border-bottom-width: 1px;
}

.popupNotes .noteListItemHeader,
.popupNotes .noteEditorHeader
{
    display: table;
    width: 100%;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}

.popupNotes .noteListItemTitle,
.popupNotes .noteEditorTitle
{
    display: table-cell;
    width: 50%;
}

.popupNotes .noteListItemByline,
.popupNotes .noteEditorByline
{
    display: table-cell;
    text-align: right;
}

.popupNotes .noteListItemBody
{
    padding: 0 5px;
    color: #377baf;
}

@media (max-width: 1349px) {
    .modalPopup{width: 60%; top: 5%; left: 20%;}
}

@media (max-width: 767px) {

    .modalPopup{height: 90%; width: 96%;top: 5%;left: 2%; }
    .popupContainer{height: 100%; overflow: auto;}
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
    .modalPopup{width: 96%;top: 5%;left: 2%; }
    .popupContainer{height: 100%; overflow: auto; }
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    .modalPopup{height: 100%; width: 96%;top: 5%;left: 2%;  }
    .popupContainer{height: 100%; overflow-y: scroll; /* has to be scroll, not auto */
        -webkit-overflow-scrolling: touch; }
}