.thumbnailViewControl
{
    --actionBarHeight: 40px;
    display: none;
    height: 100%;
    position: relative;

    .thumbnailViewContainer {
        background-color:#fbfbfb;
    }

    &.hasActionBar  .thumbnailViewContainer {
        top: var(--actionBarHeight);
    }
}

.thumbnailViewControl .actionBar {
    --actionBarGap: 5px;
    display: flex;
    align-items: stretch;
    height: var(--actionBarHeight);
    column-gap: var(--actionBarGap);
    padding: 0px 5px;

    .actionBarDivider {
        height: calc(100% - 20px);
        border: 0px solid #e6e6e6;
        border-right-width: 1px;
        align-self: center;
    }
}

/* MISSING IMAGE PLACEHOLDERS*/
.thumbnailImg.loading{
    opacity: 0;
    transform: scale(0.5);
}

.thumbnailImg{
    opacity: 1;
    transform: scale(1);
}

.thumbnailImg .missingImagePlaceholder {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 48px;
    width: 48px;
    display: block;
}

.contact .thumbnailImg .missingImagePlaceholder {
    margin: 0 auto;
}

/*************************
** Drag and drop styles ***
*************************/
body.ipad.hasThumbnailDrag { /* iPad specific drag - where body tends to scroll while dragging an thumbnail item. */
    position: fixed;
    margin-top: 0;
    width: 100%;
}

body.hasThumbnailDrag .webkitOverflowTouch{
    overflow: hidden;
}

.thumbnailItem.proxy .itemWrapper {

}

/** compact */
.thumbnailItem.draggable .gripper {
    height: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.05);
    text-align: center;
    z-index: 1;
}

.compact  .thumbnailItem.draggable .itemWrapper {
    padding-top: 24px;
}

/** Card */
.horizontal .thumbnailItem.draggable .gripper {
    height: 100%;
    width: 20px;
    right: auto;
    bottom: 0;
}

/** compact */
.thumbnailItem.draggable .gripper .icon16 {
    transform: rotate(90deg);
    opacity: 0.2;
    display: block;
    width: 100%;
    margin-top: -2px;
}

/** Card */

.horizontal .thumbnailItem.draggable .gripper .icon16 {
    transform: rotate(0);
    position: absolute;
    margin-top: -8px;
    top: 50%;
}

.thumbnailItem.dragging .itemWrapper {
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* End drag-drop styles */

/***********************************************/
/*  Thumbnail item & components layouts        */
/***********************************************/

/*
    Use flex for thumbnail-like layouts.
    This will ensure that even if thumbnails have different heights, the browser will still try to allign them
*/

.thumbnailViewControl.thumbnailViewDefault .thumbnailItemsContainer,
.thumbnailViewControl.thumbnailViewNormal .thumbnailItemsContainer,
.thumbnailViewControl.thumbnailViewContact .thumbnailItemsContainer{
    display: flex;
    flex-wrap: wrap;
}

.thumbnailItem.imgLayoutRound .thumbnailImg > img,
.thumbnailItem.imgLayoutRound .thumbnailImg .missingImagePlaceholder{
    border-radius: 50%;
}

.thumbnailItem.itemLayoutTile .itemWrapper{
    border-radius: 15px; /* round corners */
}

/***********************************************/
.compact .thumbnailItem.draggable .addSelCont,
.compact .thumbnailItem.draggable .addRemoveItem,
.compact  .thumbnailItem.draggable .itemSection .secondarySection,
.compact .thumbnailItem.draggable .thumbnailSection.secondarySection {
    top: 20px !important;
}
.compact .thumbnailItem.draggable .thumbnailSection.imageSection {
    margin-top: 10px;
}

.horizontal .thumbnailItem.draggable .addSelCont {
    left: 24px;
}

.compact .thumbnailItem.draggable .thumbnailSection.imageSection {
    margin-top: 10px;
}

.horizontal  .thumbnailItem.draggable .itemWrapper {
    padding-left: 45px;
}


.compact .smallImage .missingImagePlaceholder, .horizontal .smallImage .missingImagePlaceholder {
    max-width: 32px;
    max-height: 32px;
}


.thumbnailImg .missingImagePlaceholder.miGeneric {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/image.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miAppointment {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/appointment.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miAsset {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/asset.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miAward {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/award.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miBlankDocument {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/blankdocument.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miBusiness {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/business.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miClock {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/clock.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miCogs {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/cogs.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miContactDetails {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/contactdetails.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miDocument {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/document.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miEmail {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/email.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miEngagement {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/engagement.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miExcel {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/excel.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miFax {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/fax.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miFinancialDocument {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/financialdocument.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miFolder {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/folder.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miImage {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/image.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miImageMissing {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/imagemissing.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miImportFile {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/importfile.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miInvoice {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/invoice.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miLetter {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/letter.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miList {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/list.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miLocation {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/location.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miMail {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/mail.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miMan {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/man.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miManAndWoman {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/manandwoman.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miMap {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/map.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miMen {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/men.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miNote {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/note.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPDF {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/pdf.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPeople {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/people.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPerson {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/person.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPhone {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/phone.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPreview {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/preview.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miProduct {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/product.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miPurchaseOrder {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/purchaseorder.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miReceipt {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/receipt.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miReport {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/report.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miRequest {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/request.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miSmartFolder {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/smartfolder.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miSpatial {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/spatial.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miSpreadsheet {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/spreadsheet.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miSupplier {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/supplier.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miSuppliers {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/suppliers.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miTask {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/task.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miText {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/text.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miTimesheet {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/timesheet.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miTrophy {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/trophy.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miUnknown {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/unknowndocument.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miWoman {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/woman.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miWomen {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/women.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miWordDoc {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/worddoc.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miWorkflow {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/workflow.png?v=12.0.113.0');
}

.thumbnailImg .missingImagePlaceholder.miWorksheet {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/128/entities/worksheet.png?v=12.0.113.0');
}

/*ICON AS LABEL*/

.iconLabel.icon.warning:before { content: "\E135"; color: #EAA000; }
.iconLabel.icon.error:before { color: #D10000; }
.iconLabel.icon.homePhone:before { content: "\E202"; }
.iconLabel.icon.business:before { content: "\E217"; }
.iconLabel.icon.contactPerson:before { content: "\E218"; }
.iconLabel.icon.engagement:before { content: "\E204"; }
.iconLabel.icon.sharedItem:before { content: "\E167"; }
.iconLabel.icon.export:before { content: "\E225"; }
.iconLabel.icon.date:before { content: "\E014"; }
.iconLabel.icon.time:before { content: "\E068"; }
.iconLabel.icon.dateTime:before { content: "\E191"; }
.iconLabel.icon.role:before { content: "\E229"; }
.iconLabel.icon.saasRelease:before { content: "\E397"; }
.iconLabel.icon.id:before { content: "\E358"; }


/* IMAGE SECTION ELEMENTS */

.imageSection .thumbnailImg {
    float: none;
    height: auto;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    display: inline-block;
}

/* COMMON */

.compact .itemWrapper {
    background-color: #fff;
    position: relative;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

.contact .itemWrapper {
    padding: 11px 16px;
}

.bulkActionMode.compact .noImage .itemWrapper {
    padding-left: 28px;
}

.horizontal .itemWrapper {
    border-bottom: solid 1px #e6e6e6;
    padding: 8px 0 8px 10px;
}

.horizontal .thumbnailItem.showsDetailsPane .itemWrapper,
.horizontal .thumbnailItem.itemClickable .itemWrapper {
    padding-right: 26px;
    padding-right: 16px;
}

.horizontal.bulkActionMode .itemWrapper, .contact.bulkActionMode .itemWrapper,
.thumbnailViewControl.viewSelectorMode .thumbnailItem .itemWrapper{
    padding-left: 26px;
}

.compact .hasImage .itemWrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    min-width: 90px;
    visibility: visible;
}

.compact .itemWrapper:before {
    width: 100%;
    height: 188px;
}

.compact .smallImage .itemWrapper:before {
    height: 52px;
}

.compact .mediumImage .itemWrapper:before {
    height: 84px;
}

/*--thumbnailSection spacing after indentity section--*/


.thumbnailSection.mainSection > .thumbnailSection:not(.identSection) {
    margin-top: 5px;
}

.thumbnailSection.mainSection > .thumbnailSection:first-child {
    margin-top: 0;

}

.thumbnailSection.nonStacked > .thumbnailSection {
    float: left;
    box-sizing: border-box;
}

.compact .thumbnailItem .thumbnailSection.imageSection,
.compact .thumbnailItem .thumbnailSection.mainSection,
.compact .thumbnailItem .thumbnailSection.tagActionsSection  {
    display: block;
    float: none;
}

.compact .thumbnailItem .thumbnailSection.imageSection {
    text-align: center;
    height: 168px;
    line-height: 168px;
    margin-bottom: 20px;
}

.compact .thumbnailItem.smallImage .thumbnailSection.imageSection {
    text-align: left;
    height: 32px;
    line-height: 32px;
    margin-bottom: 20px;
}

.compact .thumbnailItem.mediumImage .thumbnailSection.imageSection {
    text-align: left;
    height: 64px;
    line-height: 64px;
    margin-bottom: 20px;
}

.compact.bulkActionMode .thumbnailItem.smallImage .thumbnailSection.imageSection,
.compact.bulkActionMode .thumbnailItem.mediumImage .thumbnailSection.imageSection {
    margin-left:20px
}

/*--- item selector  ---*/
.thumbnailViewControl.disableBulkActions .addSelCont,
.thumbnailViewControl.bulkActionMode.disableBulkActions .addSelCont, /*needed for phone - over there the user can
                                                                        select whether to show/hide the checkboxes via a menu option*/
.thumbnailViewControl.dynamicLayout.disableBulkActions > .actionBar .lblSelAll{
    display: none;
}

/*--Image Section--*/

.horizontal .thumbnailSection.imageSection {
    float: left;
    max-height: 150px;
    min-height: 67px;
    position: relative;
    z-index: 1;
    padding: 0;
    text-align: center;
}



.horizontal .smallImage .thumbnailSection.imageSection {
    width: 32px;
    text-align: center;
    min-height: 32px;
}

.horizontal .mediumImage .thumbnailSection.imageSection {
    width: 64px;
    text-align: center;
    min-height: 64px;
}


/*--for Thumbnail View image--*/

.compact .thumbnailSection .thumbnailImg {
    position: relative;
    width:auto;
    max-height: 168px;
    line-height: 168px;
    height: auto;
    vertical-align: middle;
    margin: 0 auto;
}



.compact .thumbnailItem.smallImage .thumbnailImg {
    max-height: 32px;
    line-height: 32px;
}

.compact .thumbnailItem.mediumImage .thumbnailImg {
    max-height: 64px;
    line-height: 64px;
}

.horizontal .imageSection .thumbnailImg {
    line-height: 110px;
}

.horizontal .smallImage .imageSection .thumbnailImg {
    line-height: 32px;
}

.horizontal .mediumImage .imageSection .thumbnailImg {
    line-height: 64px;
}

.horizontal .imageSection .thumbnailImg img {
    max-width: 110px;
    max-height: 110px;
    vertical-align: top;
}

.horizontal .smallImage .imageSection .thumbnailImg img {
    max-width: 32px;
    max-height: 32px;
}

.horizontal .mediumImage .imageSection .thumbnailImg img {
    max-width: 64px;
    max-height: 64px;
}



.compact .imageSection .thumbnailImg img {
    max-width: 168px;
    max-height: 168px;
}

.compact .smallImage .imageSection .thumbnailImg img {
    max-width: 32px;
    max-height: 32px;
}

.compact .mediumImage .imageSection .thumbnailImg img {
    max-width: 64px;
    max-height: 64px;
}


.horizontal .thumbnailSection.imageSection .editorLabel {
    float: none;
}

.horizontal .thumbnailSection.imageSection .statusField,
.horizontal .thumbnailSection.imageSection .editorField {
    display: inline-block;
    vertical-align: top;
}




/*--Section offset when there is an image--*/


.horizontal .thumbnailItem.hasImage.smallImage > .itemWrapper > .thumbnailSection.mainSection,
.horizontal .thumbnailItem.hasImage.smallImage > .itemWrapper > .tagActionsSection {
    margin-left: 42px;
}

.horizontal .thumbnailItem.hasImage.mediumImage .itemWrapper > .thumbnailSection.mainSection,
.horizontal .thumbnailItem.hasImage.mediumImage .itemWrapper > .tagActionsSection {
    margin-left: 74px;
}


.dataFieldContainer,
.inputFieldContainer {
    padding: 2px 0;
    padding-right: 5px;
    box-sizing: border-box;
}

.thumbnailItem .btnFldContainer .dataFieldContainer
{
    padding: 0;
}

.thumbnailItem .editorField {
    color: #656565;
}

.thumbnailItem input[type="checkbox"] {
    height: 16px;
    width:16px;
    vertical-align: top;
    min-height: fit-content;
}


.thumbnailItem .editorLabel > label,
.thumbnailItem .editorField,
.thumbnailItem .editorField .readonlyTextBoxSpan,
.hoverViewContainer .thumbnailSection .editorLabel > label,
.hoverViewContainer .thumbnailSection .editorField,
.hoverViewContainer .thumbnailSection .editorField .readonlyTextBoxSpan {
    width: auto;
    padding: 0;
    line-height: 16px;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    border: none;
}

.thumbnailItem .dataLblFont150Percent .iconLabel,
.thumbnailItem .dataLblFont150Percent .editorLabel,
.thumbnailItem .dataFldFont150Percent .editorField,
.thumbnailItem .dataFldFont150Percent .editorField > span,
.thumbnailItem .dataLblFont200Percent .iconLabel,
.thumbnailItem .dataLblFont200Percent .editorLabel,
.thumbnailItem .dataFldFont200Percent .editorField,
.thumbnailItem .dataFldFont200Percent .editorField > span{
    line-height: initial!important;
}

.thumbnailItem .editorField,
.hoverViewContainer .thumbnailSection .editorField{
    white-space: nowrap;
}

.thumbnailItem .editorLabel label, .thumbnailItem .editorField .readonlyTextBoxSpan,
.hoverViewContainer label, .hoverViewContainer .editorField .readonlyTextBoxSpan {
    white-space: pre;
}

.thumbnailItem .editorLabel > label {
    font-size: 0.9em;
    font-weight: 600;
}

.thumbnailItem  .statusField .editorLabel > label {
    font-size: inherit;
}

.statusField .editorLabel > label {
    font-size: inherit;
}

.thumbnailItem .btnFldContainer {
    vertical-align: top;
}

.thumbnailItem button.btnFldContainer .editorField {
    display: block;
}

.thumbnailSection > .dataFieldContainer,
.thumbnailSection > .inputFieldContainer {
    display: inline-block;
    vertical-align: top;
    float: left;
}

.thumbnailSection.floatRight,
.thumbnailSection > .dataFieldContainer.floatRight,
.thumbnailSection > .inputFieldContainer.floatRight {
    float: right;
}

.thumbnailSection.stacked > .thumbnailSection,
.thumbnailSection.stacked > .dataFieldContainer,
.thumbnailSection.stacked > .inputFieldContainer {
    display: block;
    float: none;
}

/*-Float overrides-*/

.thumbnailSection.floatRight,
.dataFieldContainer.floatRight,
.inputFieldContainer.floatRight {
    float: right !important;
}

.thumbnailSection.floatLeft,
.dataFieldContainer.floatLeft,
.inputFieldContainer.floatLeft {
    float: left !important;
}



.thumbnailSection .dataFieldContainer.stacked .editorLabel,
.thumbnailSection .dataFieldContainer.stacked .editorField,
.thumbnailSection .inputFieldContainer.stacked .editorLabel,
.thumbnailSection .inputFieldContainer.stacked .editorField {
    width: auto;
    display: block;
    float:none;
}

.thumbnailSection .dataFieldContainer {
    overflow: hidden;
}

.mainSection .dataFieldContainer.headingField,
.identSection .dataFieldContainer,
.secondarySection .dataFieldContainer.amountField {
    padding-top:0;
    padding-bottom: 0;
}

.dataFieldContainer.amountField {
    float: right;
    text-align: right;
}

.dataFieldContainer.amountField .editorField span {
    font-size: 1.3em;
    font-weight: 600;
}

.amountField .editorField,
.headingField .editorField {
    color: inherit;
}

.dataFieldContainer.statusField .editorField,
.dataFieldContainer.statusField .editorLabel {
    color: inherit;
}

.thumbnailSection .dataFieldContainer .editorLabel,
.thumbnailSection .inputFieldContainer .editorLabel {
    float: left;
    width: auto;
    max-width: inherit;
    padding: 0 5px 0 0;
}


/*-Dropdown handle-*/

.thumbnailAction .dropdownControl .handle:first-child {
    margin-left: 0;
}


/*-Navigation chevron-*/

.horizontal .thumbnailItem .navigatorContainer {
    left: auto;
    height: auto;
}

.navigatorContainer {
    float: right;
    position: absolute;
    top: -1px;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 16px;
    overflow: hidden;
}


.thumbnailViewControl .navigatorContainer .detailsNavigator,
.thumbnailViewControl .navigatorContainer .actionNavigator {
    position: absolute;
    background-image: none;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.35;
/*
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
*/
}


/*-Button group-*/

.thumbnailItem .buttonGroup button {
    float: left;
    margin-left: -1px;
    height: 30px;
    border-radius: 0;
}

.thumbnailItem .buttonGroup button:hover {
    position: relative;
    z-index: 1;
}

.thumbnailItem .buttonGroup .btnFldContainer.firstVisible{
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.thumbnailItem .buttonGroup .btnFldContainer.lastVisible{
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.thumbnailItem .buttonGroup > *:last-child {
    float: none;
}



.secondarySection .thumbnailSection.clearRight {
    clear: right;
}


.horizontal .thumbnailSection.secondarySection.stacked > .thumbnailSection {
    float: right;
    clear: right;
}

.horizontal .thumbnailSection.secondarySection .thumbnailSection.nonStacked > .thumbnailSection {
    float: left;
}

/*--IdentSection--*/

.thumbnailSection.identSection .dataFieldContainer .editorLabel > label {
    font-weight: normal;
    color: #656565;
}

.identSection .editorField  {
    font-size: 0.9em;
}


/*-field separator-*/

.thumbnailSection.showFieldsSeparator .dataFieldContainer {
    border-left: 1px solid #ccc;
    padding-left: 5px;
    padding-right: 5px;
}

.thumbnailSection.showFieldsSeparator > .dataFieldContainer:first-child,
.thumbnailSection.showFieldsSeparator > .isEmptyOrZero.dataFieldContainer:first-child + .dataFieldContainer,
.thumbnailSection.showFieldsSeparator > .dataFieldContainer:first-child[style*="display\: none\;"] + .dataFieldContainer {
    border-left: none;
    padding-left: 0;
}

.thumbnailSection .dataFieldContainer {
    max-width: 100%;
}

.thumbnailSection .dataFieldContainer.hideIfEmptyOrZero.isEmptyOrZero,
.thumbnailSection .richTextControlContainer.hideIfEmptyOrZero.isEmptyOrZero,
.thumbnailSection .btnFldContainer.hideIfEmptyOrZero.isEmptyOrZero {
        display: none!important;
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .thumbnailSection.dynamicFieldsContainer,
.thumbnailBasedControl .thumbnailItem .thumbnailSection.dynamicFieldsContainer{
    overflow: hidden;/*make sure the dynamic fields are positioned nicely*/
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .thumbnailSection.dynamicFieldsContainer .dataFieldContainer,
.thumbnailBasedControl .thumbnailItem .thumbnailSection.dynamicFieldsContainer .dataFieldContainer{
    width: 300px;
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .thumbnailSection.dynamicFieldsContainer .dataFieldContainer .editorLabel,
.thumbnailBasedControl .thumbnailItem .thumbnailSection.dynamicFieldsContainer .dataFieldContainer .editorLabel{
    width: auto!important;
}
.thumbnailViewControl .thumbnailSection.dynamicFieldsContainer a{

}

.thumbnailViewControl.dynamicLayout .thumbnailSection.hasOnlyDataFields.nonStacked,
.thumbnailBasedControl .thumbnailSection.hasOnlyDataFields.nonStacked{
    overflow: hidden;
}

.thumbnailViewControl.dynamicLayout .textBoxControl.picklistControl .editorField,
.thumbnailViewControl.dynamicLayout .thumbnailSection,
.thumbnailBasedControl .textBoxControl.picklistControl .editorField,
.thumbnailBasedControl .thumbnailSection{
    overflow: visible;
}

.secondarySection .textBoxControl.picklistControl .editorField {
    display: inline-block;
}


.thumbnailSection.mainSection > .thumbnailSection.spaceFieldsEvenly, .thumbnailSection.secondarySection > .thumbnailSection.spaceFieldsEvenly,
 .thumbnailItem .thumbnailSection.mainSection > .thumbnailSection.spaceFieldsEvenly > .thumbnailSection {
    margin-right: 0;
}

.thumbnailSection.mainSection > .thumbnailSection.spaceFieldsEvenly > .thumbnailSection {
     box-sizing: border-box;
 }


.horizontal .thumbnailSection.mainSection,
.horizontal .thumbnailSection.tagActionsSection {
    display: block;
    float: none;
}

.thumbnailSection.tagActionsSection {
    padding-top: 10px;
    box-sizing: border-box;
}

.compact .thumbnailItem.customHeight .tagActionsSection {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.hasTags .thumbnailSection.tagActionsSection {
    padding-top: 10px;
}

.hasTags .thumbnailSection.tagActionsSection .tagSection{
    position: relative;
    display: table;
    margin-top: 5px;
}

/*--Minimise height--*/

.minimizeHeight .thumbnailSection.tagActionsSection {
    margin-top: -18px;
    padding-top: 0;
}

.horizontal .minimizeHeight .thumbnailSection.tagActionsSection {
    min-height: 20px;
}

.horizontal .hasTags .thumbnailSection.tagActionsSection,
.compact.detailsPanelVisible .minimizeHeight .thumbnailSection.tagActionsSection  {
    margin-top: 0;
}

.tagActionsSection {
    white-space: normal;
    clear: right;
}

.compact .tagActionsSection {
    clear: left;
}



.thumbnailViewControl.dynamicLayout .dataFieldContainer.multiline .editorField,
.thumbnailBasedControl .dataFieldContainer.multiline .editorField{
    white-space: normal;
}

/*it seems with italics font the right side gets truncated - this ensures it doesn't without having to use padding-right*/
.thumbnailViewControl.dynamicLayout .dataFieldContainer.dataFldItalic span:after,
.thumbnailBasedControl .dataFieldContainer.dataFldItalic span:after{
    content: "";
    float: right;
    border: solid 1px transparent;
}

/*--Status Field--*/

.dataFieldContainer.statusField {
    color: #FFF;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    padding: 0px 5px;
    text-transform: uppercase;
    line-height: 16px;
    background-color: #a5a5a5;
    background-color: rgba(0, 0, 0, 0.35);
    margin-bottom: 2px;
    margin-right: 5px;
    border:1px solid white;
}

/*-Predefined status colours---*/

.dataFieldContainer.statusField.statusSuccess,
.dataFieldContainer.statusField.statusApproved,
.dataFieldContainer.statusField.statusNotImportant,
.dataFieldContainer.statusField.statusGreen
 {
    color: #394a1e;
    background-color: #e2ead1;
}

.dataFieldContainer.statusField.statusSuccess.lightOnDark,
.dataFieldContainer.statusField.statusApprovedDrk.lightOnDark,
.dataFieldContainer.statusField.statusNotImportantDrk.lightOnDark,
.dataFieldContainer.statusField.statusGreen.lightOnDark {
    color: #fff;
    background-color: #74bd00;
}

.dataFieldContainer.statusField.statusUrgent,
.dataFieldContainer.statusField.statusError,
.dataFieldContainer.statusField.statusRejected,
.dataFieldContainer.statusField.statusRed {
    color: #961a12;
    background-color: #eccdca;
}

.dataFieldContainer.statusField.statusUrgent.lightOnDark,
.dataFieldContainer.statusField.statusError.lightOnDark,
.dataFieldContainer.statusField.statusRejected.lightOnDark,
.dataFieldContainer.statusField.statusRed.lightOnDark {
    color: #fff;
    background-color: #E53327;
}

.dataFieldContainer.statusField.statusImportant,
.dataFieldContainer.statusField.statusWarning,
.dataFieldContainer.statusField.statusInProgress,
.dataFieldContainer.statusField.statusYellow {
    color: #744f00;
    background-color: #ffe398;
}

.dataFieldContainer.statusField.statusImportant.lightOnDark,
.dataFieldContainer.statusField.statusWarning.lightOnDark,
.dataFieldContainer.statusField.statusInProgress.lightOnDark,
.dataFieldContainer.statusField.statusYellow.lightOnDark {
    color: #fff;
    background-color: #ffc853;
}

.dataFieldContainer.statusField.statusProcessing,
.dataFieldContainer.statusField.statusOrange {
    color: #e05007;
    background-color: #fce2ce;
}

.dataFieldContainer.statusField.statusProcessing.lightOnDark,
.dataFieldContainer.statusField.statusOrange.lightOnDark {
    color: #fff;
    background-color: #f2661f;
}

.dataFieldContainer.statusField.statusPartialSuccess,
.dataFieldContainer.statusField.statusSubmitted,
.dataFieldContainer.statusField.statusBlue {
    color: #325ea1;
    background-color: #c6dae8;
}

.dataFieldContainer.statusField.statusPartialSuccess.lightOnDark,
.dataFieldContainer.statusField.statusSubmitted.lightOnDark,
.dataFieldContainer.statusField.statusBlue.lightOnDark {
    color: #fff;
    background-color: #325ea1;
}

.dataFieldContainer.statusField.statusDisabled,
.dataFieldContainer.statusField.statusOnHold,
.dataFieldContainer.statusField.statusInactive,
.dataFieldContainer.statusField.statusGray {
    color: #4b4b4b;
    background-color: #c7c7c7;
}

.dataFieldContainer.statusField.statusDisabled.lightOnDark,
.dataFieldContainer.statusField.statusOnHold.lightOnDark,
.dataFieldContainer.statusField.statusInactive.lightOnDark,
.dataFieldContainer.statusField.statusGray.lightOnDark {
    color: #fff;
    background-color: #c7c7c7;
}

.dataFieldContainer.statusField.statusPurple.lightOnDark {
    color: #fff;
    background-color: #660066;
}

.dataFieldContainer.statusField.statusPurple {
    color: #660066;
    background-color: #DBC3DB;
}

.dataFieldContainer.statusField.statusDarkBlue.lightOnDark {
    color: #fff;
    background-color: #000060;
}

.dataFieldContainer.statusField.statusDarkBlue {
    color: #000060;
    background-color: #C3C3DA;
}

.dataFieldContainer.statusField.statusTeal.lightOnDark {
    color: #fff;
    background-color: #1E5E6D;
}

.dataFieldContainer.statusField.statusTeal {
    color: #1E5E6D;
    background-color: #C9D9DD;
}

.dataFieldContainer.statusField.statusDarkGreen.lightOnDark {
    color: #fff;
    background-color: #00661A;
}

.dataFieldContainer.statusField.statusDarkGreen {
    color: #00430D;
    background-color: #96C09E;
}

/*--Colours for glyphs--*/

.dataFieldContainer.glyph.success:before, .dataFieldContainer.glyph.green:before {
    color: #74bd00;
}

.dataFieldContainer.glyph.partialSuccess:before, .dataFieldContainer.glyph.blue:before {
    color: #325ea1;
}

.dataFieldContainer.glyph.processing:before, .dataFieldContainer.glyph.orange:before {
    color: #f2661f;
}

.dataFieldContainer.glyph.error:before, .dataFieldContainer.glyph.red:before {
    color: #E53327;
}
.dataFieldContainer.glyph.darkRed:before {
    color: #961a12;
}
.dataFieldContainer.glyph.warning:before, .dataFieldContainer.glyph.yellow:before {
    color: #ffc853;
}
.dataFieldContainer.glyph.purple:before {
    color: #660066;
}
.dataFieldContainer.glyph.darkBlue:before {
    color: #000060;
}
.dataFieldContainer.glyph.teal:before {
    color: #1E5E6D;
}
.dataFieldContainer.glyph.darkGreen:before {
    color: #00661A;
}
.dataFieldContainer.glyph.gray:before {
    color: #c7c7c7;
}
.dataFieldContainer.glyph.darkGray:before {
    color: #4b4b4b;
}


/*--Dynamic Summary Container--*/

.thumbnailItem .summaryContainer {
    position: relative;
    display: inline-block;
    float: right;
    max-width: 100%;
}

.thumbnailItem .summaryContainer .thumbnailAction {
    padding-bottom: 2px;
    float: left;
}
.summaryContainer .quantityContainer > label{
    padding-right: 10px;
}


/*--Quantity Container--*/

.horizontal .summaryContainer .quantityContainer {
    float: left;
}

.compact .summaryContainer .quantityContainer {
    float:none;
    text-align: right;
    margin-bottom: 5px;
}

.summaryContainer .quantityContainer {
    padding-bottom: 0;
}

.horizontal .summaryContainer .quantityContainer {
    padding-top: 0;
}

.horizontal .thumbnailAction {
    float: left;
    margin-top: 0;
}



.horizontal .thumbnailAction, .horizontal .buttonGroup {
    padding-right: 5px;
}

/*--Hide actions when details panel shown--*/

.hideActions .summaryContainer, .hideActions .thumbnailItem .formActions, .hideActions .thumbnailAction > .favouriteButton {
    display: none;
}


/********************************************
    Predefined field types
**********************************************/

.hasImage .dataFieldContainer.headingField {
    margin-left: 0;
}

.compact .dataFieldContainer.descriptionField {
    height: 32px;
}

.horizontal .dataFieldContainer.descriptionField {
    min-height: 16px;
}

.dataFieldContainer.headingField .editorField span {
    font-weight: 600;
    font-size: 1.2em;
    line-height: 20px;
    font-family: inherit;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre;
    display: block;
}

.dataFieldContainer.headingField.doubleHeight .editorField span {
    white-space: pre;
}

.dataFieldContainer.subHeadingField .editorField span {
    font-weight: 600;
    font-size: 1.1em;
}

.thumbnailViewControl.dynamicLayout .defaultCol .editorField {
    color: inherit;
}

.thumbnailViewControl .cke_top, .thumbnailViewControl .cke_bottom {
    display: none;
}

.thumbnailViewControl .cke, .thumbnailViewControl .cke_inner, .thumbnailViewControl .cke_contents, .thumbnailViewControl iframe {
    border: 0;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    background: transparent;
}

.thumbnailItem .richTextControlContainer{
    pointer-events: none; /* RichText control hijacks the click events otherwise */
}


/********************************************************************
        THUMBNAIL ICON GLYPHS SECTION
*********************************************************************/

.fieldElement.icon .editorField {
    padding-right: 10px;
}

.stacked > .fieldElement.icon .editorField {
    padding-right: 0;
}

.fieldElement .iconLabel {
    float: left;
    padding-right: 5px;
}

.fieldElement.hasBkgd .iconLabel {
    padding-left: 5px;
}

.fieldElement.icon:before {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-right: 5px;

    font-family: iconGlyph;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    display: block;
    -webkit-font-smoothing: antialiased;
    speak: none;
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .nativeLink {
    text-decoration: none;
}

/*favourites*/
.thumbnailViewer .thumbnailItem.favEnabled .thumbnailAction{
    float: right;
}

.thumbnailItem .favouriteButton {
    margin-right: 10px;
    float: left;
}

.thumbnailAction > .favouriteButton + .dropDownControlContainer, .compact .favouriteButton + .quantityContainer {
    float: left;
}

.compact .favouriteButton + .quantityContainer {
    padding-top: 0;
    padding-bottom: 0;
}

.hoverViewContainer.imageMissing .thumbnailImg .thumbnailLargeImg,
.hoverViewContainer.imageMissing .imageLoading,
.hoverViewContainer .thumbnailImg .missingImagePlaceholder,
.hoverViewContainer .imageLoading {
    display: none;
}

.hoverViewContainer.imageMissing .thumbnailImg .missingImagePlaceholder {
    display: block;
    position: relative;
    margin-left: 50%;
    left: -32px;
    height: 64px;
    width: 64px;
}

.hoverViewContainer.loadingHoverImage .imageLoading{
    display: block;
}

.hoverViewContainer.loadingHoverImage .thumbnailImg,
.hoverViewContainer.loadingHoverImage .thumbnailContent {
    display: none;
}


.thumbnailItem .imageSection .glyphField{
    padding: 0;
}

.thumbnailItem .imageSection .glyphField .editorField{
    border-radius: 50%;
    line-height: normal;
}

.thumbnailItem .imageSection .glyphField .glyphValue{
    display: block;
}

.thumbnailItem.smallImage .imageSection .glyphField .glyphValue{
    line-height: 24px;
    font-size: 20px;
    padding: 4px;
    width: 24px;
    height: 24px;
}

.thumbnailItem.mediumImage .imageSection .glyphField .glyphValue{
    line-height: 48px;
    font-size: 40px;
    padding: 8px;
    width: 48px;
    height: 48px;
}

.thumbnailItem.normalImage .imageSection .glyphField .glyphValue{
    line-height: 80px;
    font-size: 56px;
    padding: 8px;
    width: 80px;
    height: 80px;
}

.thumbnailViewControl.dynamicLayout .addSelCont,
.thumbnailViewControl.dynamicLayout .addRemoveItem  {
    position: absolute;
    top: 10px;
    left: 5px;
    z-index: 1;
}

.thumbnailViewControl .actionBar .chkBselAll {
    vertical-align: middle;
}

.thumbnailViewControl, .thumbnailViewControl.dynamicLayout {
    .actionBar .lblSelAll {
       display: inline-flex;
       align-items: center;
       flex-shrink: 0;
       cursor: pointer;
       padding-right: calc(var(--actionBarGap) * 2);
   
       /* Checkbox */
       &:before {
           margin: 0px;
           margin-right: 5px;
       }
   }
}

/********************************************************************
        Thumbnail container section
*********************************************************************/
.thumbnailViewContainer
{
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: top 0.1s ease-in-out;
    transition: top 0.1s ease-in-out;
    border-top: 1px solid #e6e6e6;
}

.thumbnailViewControl .thumbnailItemsContainer
{
    margin: 0 auto;
}

.thumbnailViewControl.compact .thumbnailItemsContainer, .thumbnailViewControl.thumbnailViewContact .thumbnailItemsContainer {
    padding: 5px;
}

.thumbnailViewContainer .thumbnailItem {
    text-align: left;
}

/********************************************************************
        Thumbnail item section
*********************************************************************/
.quantityContainer .editorField {
    overflow: visible;
}

.thumbnailItem .controlContainer {
    padding: 0;
    position: static;
}

.thumbnailItem {
    position: relative;
}

.thumbnailImg {
    display: inline-block;
    line-height: 110px;
}

.horizontal .thumbnailSection.imageSection {
    width: 110px;
}

.quantityContainer > * {
    display: inline-block;
    vertical-align: middle;
}

/*---------------------------------------------------------------------?*/

.thumbnailItem .addRemoveItem:hover {
    cursor: pointer;
}

.thumbnailViewControl .thumbnailItem .addRemoveItem.removeItem .icon16 {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/minus.png?v=12.0.113.0');
    display: block;
}

.thumbnailViewControl .thumbnailItem .addRemoveItem.addItem .icon16 {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/plus.png?v=12.0.113.0');
    display: block;
} /*---------------------------------------------------------------------?*/



.detailsNavigator .icon16,
.actionNavigator .icon16 {
    display:inline-block;
}

.detailsNavigator .icon16:before,
.actionNavigator .icon16:before {
    content: "\E061";
    font-size: 12px;
}

.detailsNavigator:hover,
.actionNavigator:hover {

    background-color: rgba(0, 0, 0, 0.02);
}

.thumbnailItem.selected .detailsNavigator:hover,
.thumbnailItem.selected .actionNavigator:hover {
    background-color: transparent;
}

.thumbnailViewControl .thumbnailContent {
    width: auto;
    overflow: hidden;
}

/********************************************************************
        TILE VIEW COMMON
*********************************************************************/


.thumbnailViewControl.compact .thumbnailSection a
{
    display: block;
    line-height: 16px;
    /* un-comment this if you want the link to be displayed on one line with ... if it's too long'
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}

.thumbnailViewControl.compact .thumbnailSection .subHeader,
.hoverViewContainer .thumbnailSection .subHeader
{
    display: inline-block;
    width: 100%!important; /*for compact view overwrite any width set by JavaScript*/
}


/********************************************************************
        COMMON
*********************************************************************/

.thumbnailImg {
    text-align: center;
    vertical-align: middle;
}
.thumbnailItem .thumbnailImg img
{
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.thumbnailItem .thumbnailAction button .buttonLabel
{
    float: none;
    display: inline-block!important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 115px;
}

.thumbnailAction .dropdownControl .defaultAction.primary:before {
    display: none;
}

.thumbnailAction .dropdownControl .dropdownPanel .menuLinks16 {
    max-height: 294px; /* space for 10 1/2 row actions - 1/2 is to indicate on iPad that the container is scrollable*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .thumbnailSection > .dataFieldContainer:last-child,
.thumbnailViewControl.dynamicLayout .thumbnailItem .thumbnailSection > .dataFieldContainer.lastVisibleField {
    float: none;
}

.thumbnailViewControl.dynamicLayout .thumbnailItem .mainSection .thumbnailSection > .dataFieldContainer.lastVisibleField.statusField {
    display: inline-block !important;
}


/********************************************************************
        DYNAMIC THUMBNAIL LAYOUT - CARD
*********************************************************************/

.compact .itemWrapper {
    margin: 10px;
}


.compact .thumbnailItem:hover {
    z-index: auto;
}

.thumbnailViewControl .thumbnailItem.itemClickable:hover > .itemWrapper {
    background-color: var(--ciaColourBackgroundHighlightHover);
}

.showsDetailsPane .itemWrapper,
.thumbnailItem.itemClickable > .itemWrapper {
    cursor: pointer;
}

.compact .thumbnailItem {
    float: left;
    width: 238px;
    height: auto;
    margin: 0;
    box-sizing: border-box;
}

.contact .thumbnailItem {
    float: left;
    width: 450px;
    margin: 0;
    box-sizing: border-box;
    border: solid 1px transparent;
}

.contact .itemWrapper {
    background-color: #fff;
    height: 249px;
    margin: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    position: relative;
}

/*--Media queries for thumbnailContainer column widths--*/

.mq-xsm .thumbnailItem,
.mq-sm .thumbnailItem {
    float: none;
    width: 75%;
}

.compact .mq-xsm .thumbnailItem,
.compact .mq-sm .thumbnailItem {
    max-width: 290px;
    margin: 0 auto;
}


.contact .mq-xsm .thumbnailItem, .contact .mq-sm .thumbnailItem {
    max-width: 470px;
    margin: 0 auto;
}



.mq-md .thumbnailItem {
    width: 50%;
}

.mq-lg .thumbnailItem {
    width: 33.333%;
}

.mq-xlg .thumbnailItem {
    width: 25%;
}

.mq-xxlg .thumbnailItem {
    width: 20%;
}

.mq-xxxlg .thumbnailItem {
    width: 16.666%;
}

.mq-xxxxlg .thumbnailItem {
    width: 14.285%;
}

.mq-xxxxxlg .thumbnailItem {
    width: 12.5%;
}

.contact .thumbnailItem.hasActions .tagActionsSection {
    float: none;
    display: block;
    padding: 0 16px;
}

.contact .thumbnailItem.hasActions .tagActionsSection .summaryContainer {
    float: right;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.contact .thumbnailItem.hasActions .thbFld_Mobile {
    max-width: 300px;
}

.thumbnailViewControl.dynamicLayout.contact .thumbnailItem .thumbnailSection.imageSection {
    float: right;
    text-align: center;
    margin: 5px;
}

.contact .thumbnailItem .imageSection .thumbnailImg {
    line-height: 80px;
    height: 80px;
    width: 80px;
}

.contact .thumbnailItem .imageSection .thumbnailImg img {
    max-width: 80px;
    max-height: 80px;
    padding: 2px;
    background-color: #fff;
    border: solid 1px #e7e7e7;
}

/*For the time being hide the details panel navigator in contact view*/

.contact .thumbnailItem .navigatorContainer {
    display: none;
}

.contact .thumbnailItem .secondarySection {
    float: none;
    position: absolute;
    line-height: 16px;
    bottom: 17px;
    left: 15px;
    right: 181px
}

.contact .thumbnailItem .secondarySection > .statusField {
    border: none;
}

.contact .thumbnailItem .secondarySection .statusField {
    border-radius: 0;
    padding: 4px 16px;
    margin: 0;
}

.thumbnailItem .addSelCont {
    overflow: hidden;
}

.thumbnailViewControl label.addSelCont input, .thumbnailViewControl .actionBar .chkBselAll {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.thumbnailViewControl label.addSelCont input:focus {
    outline: none !important;
}

/*--Add to selection for checkbox--*/

.thumbnailItem .addSelCont:before {
    margin: 8px 0;
}

.thumbnailItem .addSelCont:before {
    margin: 0;
    vertical-align: top;
    display: inline-block;
}

.thumbnailItem .thumbnailSection.mainSection {
    min-height: 30px;
}

.horizontal .thumbnailItem.hasImage > .itemWrapper > .thumbnailSection.mainSection,
.horizontal .thumbnailItem.hasImage > .itemWrapper > .tagActionsSection {
    margin-left: 120px;
}

.compact .thumbnailItem.showsDetailsPane .thumbnailSection.mainSection {
    margin-right: 20px;
    padding-right: 0;
}

/*--for Thumbnail view--*/

.compact .thumbnailItem.hasImage > .itemWrapper > .navigatorContainer {
    margin-top: 5px;
    position: absolute;
    right: 0;
    top: 188px;
    height: auto;
}

.compact .thumbnailItem.hasImage.smallImage .navigatorContainer {
    top: 52px;
}

.compact .thumbnailItem.hasImage.mediumImage .navigatorContainer {
    top: 84px;
}

.compact .thumbnailItem .navigatorContainer {
    bottom: 52px;
}

.compact .thumbnailItem.hasTags .navigatorContainer {
    bottom: 82px;
}

.compact .thumbnailItem .navigatorContainer {
    height: auto;
    position: absolute;
    top: 5px;
    bottom: 48px;
    right: 0;
    width: 30px;
}

.compact .thumbnailSection.secondarySection {
    position: absolute;
    top: 5px;
    right: 0;
    padding: 0;
    padding-right: 5px;
    padding-left: 15px;
    background-color: #fff;
}

.compact .thumbnailSection.secondarySection .dataFieldContainer {
    margin-top: 2px;
}


/*--for Thumbail View--*/

.horizontal .tagActionsSection .tagSection {
    white-space: normal;
    display: table;
}

.thumbnailItem.selected .itemWrapper {
    background-color: #fff;
}

.hideActions .thumbnailItem:not(.hasTags) .thumbnailSection.tagActionsSection  {
    padding-top: 0;
}



.horizontal .tagActionsSection:before {
    content: "";
    display: block;
    height: 0;
}

 .thumbnailSection.mainSection > .thumbnailSection.spaceFieldsEvenly > .thumbnailSection {
     box-sizing: border-box;
 }

.thumbnailSection.mainSection .thumbnailSection.identSection {
    margin-top: 0;
    min-height: 14px;
}

.compact .thumbnailSection.mainSection .thumbnailSection.identSection > .dataFieldContainer {
    display: block;
    float: none;
    border-left: none;
}

.compact .dataFieldContainer {
    height: 16px;
    box-sizing: content-box;
}

.compact .dataFieldContainer.stacked {
    height: auto;
}

.compact .dataFieldContainer.headingField {
    height:20px
}

.compact .dataFieldContainer.doubleHeight {
    height:32px
}

.compact .dataFieldContainer.headingField.doubleHeight {
    height: 40px;/*the headingField has a line height of 20px and font is bigger */
}

.thumbnailItem .linkField {
    line-height: 16px;
}

.horizontal .thumbnailSection.secondarySection {
    position: relative;
    float: right;
    clear: right;
}

.contact .mainSection .dataFieldContainer.thbFld_SC_Country {
    padding: 0 0 14px 0;
}

.horizontal .secondarySection.stacked > .dataFieldContainer,
.horizontal .secondarySection.stacked > .inputFieldContainer  {
    clear: right;
    float: right;
}

/*--Dynamic Summary Container--*/

.detailsPanelVisible .hideActions.compact .summaryContainer .thumbnailAction {
    height: 0;
}

.compact .summaryContainer .thumbnailAction {
    -webkit-transition: all, 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.detailsPanelVisible .compact .customHeight .summaryContainer {
    margin-top: auto;
}



.summaryContainer .thumbnailAction {
    height: 30px;
}



.compact .thumbnailAction .dropdownControl button {
    max-width: 170px;
}

.horizontal .thumbnailAction button  {
    max-width: inherit;
}

.detailsPanelVisible .navigatorContainer .detailsNavigator {
    opacity: 0;
}

.showsDetailsPane:hover .navigatorContainer .detailsNavigator,
.thumbnailItem.itemClickable:hover .navigatorContainer .actionNavigator {
    opacity: 1;
    background: none;
}

.detailsPanelVisible .showsDetailsPane:hover .navigatorContainer .detailsNavigator {
    opacity: 0;
}

.navigatorContainer .detailsNavigator:hover,
.thumbnailItem.itemClickable .navigatorContainer .actionNavigator:hover,
.thumbnailItem.selected .navigatorContainer .detailsNavigator,
.thumbnailItem.selected .navigatorContainer .actionNavigator {
    opacity: 1;
}

.horizontal .thumbnailItem.selected .navigatorContainer .detailsNavigator,
.horizontal .thumbnailItem.itemClickable.selected .navigatorContainer .actionNavigator,
.compact .thumbnailItem.selected .navigatorContainer .detailsNavigator {
    opacity: 0;
/*
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
*/
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}


.horizontal .thumbnailItem.selected > .itemWrapper > .navigatorContainer {
    border-right-width: 3px;
    border-right-style: solid;
}


.thumbnailItem > .itemWrapper > .navigatorContainer > .bg {
    display: none;
    position: absolute;
    top: 50%;
    bottom: 0;
}

.horizontal .thumbnailItem > .itemWrapper > .navigatorContainer > .bg {
    display: block;
    right: -8px;
/*    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
*/
}

.horizontal .thumbnailItem.selected > .itemWrapper > .navigatorContainer > .bg {
    right: -3px;
/*
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
*/
}



/***************************/

.fieldElement.hasBkgd .editorField {
    float: left;
}

.thumbnailViewControl.dynamicLayout .textBoxControl.picklistControl .suggestionPaneWrapper {
    max-width: 250px;
}

.thumbnailViewControl.dynamicLayout .sgstPneWidth200 .textBoxControl.picklistControl .suggestionPaneWrapper {
    width: 200px;
}

.doubleHeight .editorField,
.compact .hasImage .dataFieldContainer.descriptionField .editorField {
    white-space: normal;
}

.dataFieldContainer.descriptionField .editorField {
    white-space: normal;
}

.thumbnailSection .fieldElement.stacked .editorLabel {
    float: none;
}

.inputFieldContainer .editorLabel > label{
    line-height: 30px;
    vertical-align: middle;
}

.inputFieldContainer.stacked .editorLabel > label{
    line-height: 16px;
    vertical-align: middle;
}

.horizontal .thumbnailSection.mainSection.stacked .dataFieldContainer .editorLabel,
.horizontal .thumbnailSection.mainSection.stacked .inputFieldContainer .tbcEditorLabel  {
    width: 150px;
}

.thumbnailSection .inputFieldContainer.labelAutoWidth .tbcEditorLabel,
.thumbnailSection .dataFieldContainer.fieldElement.labelAutoWidth .editorLabel,
.horizontal .thumbnailSection.mainSection.stacked .identSection .dataFieldContainer .editorLabel {
    width: auto!important;
}

.compact .dataFieldContainer.stacked.doubleHeight {
    height: 48px;
}

/********************************************************************
        END DYNAMIC THUMBNAIL LAYOUT
*********************************************************************/

/********************************************************************
        HOVER OVERLAY SECTION
*********************************************************************/
.hoverViewContainer
{
    max-width: 400px;
    display: none;
    position: absolute;
    z-index: 1000;
    border-width: 1px;
    border-style: solid;
    padding: 5px;
    vertical-align: middle;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    min-width: 200px;
}

.hoverViewContainer .closeImageView {
    height: 20px;
    position: absolute;
    right: 10px;
    z-index: 1000;
}

.hoverViewContainer .closeImageView span {
    float: right;
    text-decoration: underline;
    font-weight: bold;
    margin-bottom: 5px;
}

.hoverViewContainer .closeImageView:hover {
    cursor: pointer;
}

.hoverViewContainer .thumbnailImg  {
    display: block;
    padding: 15px 15px 0px 15px;
    min-height: 100px;
}

.hoverViewContainer img
{
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.hoverViewContainer .imageLoading {
    height: 20px;
    margin-top: 15px;
}

.thumbnailItem .overflowHidden { overflow: hidden !important; }

.contact .thumbnailItem .nativeLink.nativeLink.email,
.contact .thumbnailItem .nativeLink.nativeLink.homePhone,
.contact .thumbnailItem .nativeLink.nativeLink.mobile {
    opacity: 0.7;
}

.contact .thumbnailItem .nativeLink.nativeLink.email:hover,
.contact .thumbnailItem .nativeLink.nativeLink.homePhone:hover,
.contact .thumbnailItem .nativeLink.nativeLink.mobile:hover {
    opacity: 1;
}

.thumbnailViewControl.dynamicLayout .addSelCont:before {
    margin: 0;
    vertical-align: top;
    display: inline-block;
}

.thumbnailItem.clickPreview .imageSection .thumbnailImg:hover {
    cursor: pointer;
}

.thumbnailItem.clickPreview .imageSection .thumbnailImg:hover:before{
    content: '\E302';
    position: absolute;
    font-family: 'iconGlyph';
    font-size: 2rem;
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 40%);
    color: rgb(215, 215, 215);
}

.tile {
    z-index: 1;
}


.tile > .iconContainer {
    width:64px;
    height:64px;
    display:block;
    margin:8px auto 4px auto;
	transform: scale(0.9, 0.9);
	image-rendering: -webkit-optimize-contrast;
}

.tile > .iconContainer {
    padding:0;
    border-radius: 50%;
    -moz-border-radius:50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.tile.dual > .iconContainer {
	margin: 8px 0 4px 33px;
}


.workplaceRoles .tile:not(.disabled):not(.folder):hover .iconContainer,
#popupTileContainerWrapper .tile:not(.disabled):hover .iconContainer {
    width: 64px;
    height: 64px;
    transform: scale(1) translate(0, -12px);
}



.tile > .iconContainer > span, #popupTileContainerWrapper .tile > .iconContainer > span {
    padding:0;
    display:block;
    position:relative;
    width:100%;
    height:100%;
    text-align:center;
    border-radius: 50%;
}

.tile > .iconContainer > span
{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.tile > .iconContainer .notificationCount
{
    position:absolute;
    top: 0;
    right:-5px;
    color: #fff;
}

/*--Anchor tag for tile--*/

.tile > .hyperlink {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
}

.majorTiles .tile.expanded > .hyperlink {
    z-index: 1;
    height: 90px;/*the same height as .tile.expanded .header*/
}

.tile > .hyperlink:hover {
    text-decoration: none;
    border-radius: 3px;
}

.tile.role > .hyperlink:hover {
    background: none;
}

.tile.role:hover {
    background-color: rgba(0,0,0,0.1);
    text-decoration: none;
}

.tile > .titleWrapper, .tile span.inlineHeader {
    text-align:center;
    font-size:0.9em;
    font-weight:normal;
    overflow: hidden;
    font-family:inherit;
    font-family: Osans, Arial, sans-serif;
    line-height: 1.3em;
    height: 3.9em;
    vertical-align: middle;
}

.tile.role > .title, .tile.role span.inlineHeader {
    width: auto;
}

.tile > .titleWrapper {

    display: table;
    table-layout: fixed;
    width: 100%;
    box-sizing: border-box;
}

.tile > .titleWrapper > span {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
}

.tile .title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5em;
}

.tile:hover .title {
    text-decoration: underline;
}

.role:hover .title, .folder .title, .disabled .title {
    text-decoration: none;
}

.tile.disabled:hover .title {
    text-decoration: none;
}

.tile span.inlineHeader .block {
    height: 10px;
}

.role  span.roleBehaviour {
    display: none;
    line-height: 1em !important;
    opacity: 0.8 !important;
    font-size: 0.8em;
    position: absolute;
    font-style: italic;
    text-transform: none;
    bottom: 2px;
    transition: bottom 0.3s ease;
    -webkit-transition: bottom 0.3s ease;
}

.dispRoleType .role span.roleBehaviour {
    display: block;
}

.role.selected span.roleBehaviour {
    bottom: 5px;
}

.notificationCount {
    padding:1px 4px;
    border:none;
    font-weight:600;
    color:white;
    font-size:12px;
    min-width:14px;
    line-height: 12px;
    text-align:center;
    border-radius:12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    -webkit-transition:0.05s linear;
    -moz-transition:0.05s linear;
    -webkit-transition-property:-webkit-transform;
    -moz-transition-property:-moz-transform;
}

.tile.externalurl > a >span {
    background-size: cover;
}

.tile.disabled .iconContainer {
    opacity: 0.3;
}

.disabled .iconContainer {
    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
         -o-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
            filter: grayscale(100%);
}

.disabled * {
    cursor: inherit;
}



@media \0screen {
    .tile.disabled .iconContainer {
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
    }
}

.treeViewContainer{
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow: auto;
}

.treeNode{
    margin-top: 0px;
    position: relative;
    margin-left: 17px;
    border-top: solid 1px rgba(0, 0, 0, 0.05);
}

.treeNode > .childrenNodesContainer{
    display: none;
    padding-left: 25px;
}

.treeNode.expanded > .childrenNodesContainer {
    display: block;
}

/*--- item selector  ---*/
.treeViewControl.disableBulkActions .addSelCont{
    display: none;
}

/* Expand node button style */

.treeNode > .expandNode{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 0;
    opacity: 0.4;
    cursor: pointer;
}

.phone .treeNode > .expandNode {
    opacity: 1;
}

.expandNode > span.icon16 {
    position: absolute;
    margin-top: 5px;
    padding: 4px 0;
    margin-left: -8px;
    color: rgba(0,0,0,0.5);
    background: white;
    transition: 0.3s ease;
}

.treeNode > .expandNode > .icon16:before{
    content: "\E061";
}

.treeNode.expanded > .expandNode > .icon16 {
    transform: rotate(90deg);
}

.treeNode.expanded > .expandNode {
    left: 0;
    border-left: dotted 1px rgba(0, 0, 0, 0.15);
}

.treeNode:hover > .expandNode {
    opacity: 1;
}

.treeNode.isLeaf > .expandNode{
    display: none;
}
/* End of expand button */

.treeViewControl .treeNode > .itemWrapper{
    padding-left: 24px;
    position: relative;
}

.treeViewControl.bulkActionMode .treeNode > .itemWrapper{
    padding-left: 48px;
    border: none;
}

.treeNode.hasMoreData > .childrenNodesContainer{
    padding-bottom: 35px;
}

.treeNodesContainer > .readMoreData,
.treeNode > .childrenNodesContainer > .readMoreData{
    display: none;
    position: relative;
    text-align: center;
    padding: 5px 0 8px;
    cursor: pointer;
}

.treeNodesContainer.hasMoreData > .readMoreData,
.treeNode.hasMoreData > .childrenNodesContainer > .readMoreData{
    display: block;
}

.treeViewControl .addSelCont {
    position: absolute;
    top: 10px;
    left: 24px;
    z-index: 1;
}

.treeViewControl .navigatorContainer .detailsNavigator, .treeViewControl .navigatorContainer .actionNavigator {
    position: absolute;
    background-image: none;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.35;
}

.treeViewControl .thumbnailItem .moreTags {
    position: relative;
    display: inline-block;
    vertical-align: top;
    font-size: 0.9em;
}

.treeViewControl .moreTags.noTags {
    display: none;
}

.treeViewControl .itemClickable > .itemWrapper:hover {
    background-color: var(--ciaColourBackgroundHighlightHover);
}

.uploader {
    width:500px;
    padding: 5px;
    position: relative;
}

.uploader .inputContainer
{
    display:inline-block;
    overflow: hidden;
    position: relative;
}

.uploader .inputContainer input[type="file"]{
    position: absolute;
    top: 0px;
    left: -180px;
    bottom: 0px;
    padding: 6px;
    font-size: 1.2em;
    opacity: 0;
}

.uploader .hoverHint{
    display:none;
}

.uploader.warning .hoverHint{
    display:block;
    position: absolute;
    padding: 10px;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 3px;
    background-color:rgba(255,200,200,0.8);
    border: solid 1px #B44;
    font-weight:bold;
    z-index: 2;
}

.uploader [disabled]{
    opacity: 0.5;
}

.uploader .fileList{
    margin: 10px;
    min-height: 20px;
    max-height: 500px;
    overflow-y:scroll;
}

.uploader.dragOver{
    background-color:rgba(200,255,200,0.5);
    border: solid 1px #4B4;
    border-radius: 3px;
}

.uploader.warning{
    background-color:rgba(255,200,200,0.5);
    border: solid 1px #B44;
}

.uploader .file{
    border-bottom: solid 1px #DEEDFF;
    margin: 5px;
    min-height: 24px;
    position: relative;
    border-radius: 3px;
    padding: 2px;
}

.uploader .file.uploadError{
    background-color: #ffa4a4;    
}

.uploader .file .details
{
    display:block;
    min-height: 24px;
    margin-right: 30px;
    position: relative;
    overflow: hidden;
    padding: 5px;
}

.uploader .file .progress
{
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 0px;
    background-color: rgba(200,255,200,0.5);
    border-radius: 3px;
    z-index: 0;
}

.uploader .file .label
{
    display:inline-block;
    margin-right: 5px;
    width:200px;
    z-index: 1;
    white-space:nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight:bold;
}

.uploader .file .status 
{
    display:inline-block;
    margin-right: 5px;
    width:50px;
    z-index: 1;
} 

.uploader .file .errorMessage 
{
    padding: 5px;
    font-weight:bold;
} 

.uploader .file .size 
{
    display:inline-block;
    margin-right: 5px;
    width:60px;
    color: #666;
    z-index: 1;
    float:right;
}

.uploader .file button.removeFile
{
    float:right;
}
.userDetailsWrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 0;
    z-index: 9004;
    background-color: transparent;
    transition: background 0.5s ease-in-out;
    -webkit-transition: background 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#A5000000', endColorstr='#A5000000'); /* For IE8 */
}

.userDetailsWrapper.active {
    height: auto;
    background-color: rgba(0, 0, 0, 0.1);
}

.userDetailsWrapper.in.active {
    background-color: transparent;
}

.userDetailsWrapper > .fixedWidth {
    height: 100%;
    min-height: 100%;
    z-index: 9003;
}

#UserDetailsPopup
{
    width: 100%;
    position: absolute;
    z-index: 9003;
}

#UserDetailsPopup .userDetails {
    position: absolute;
}

.userDetails .userInfo {
    width: 420px;
    position: relative;
    text-align: left;
    background-color: #fff;
}

.editablePanel .userDetails .userInfo {
    width: auto;
}

.userDetailsWrapper .userDetails .userInfo {
    border: solid 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dropdownPanel .userDetails .userInfo {
    width: auto;
    min-width: 350px;
    border: none;
}

.userDetails .userInfo .details > .container {
    padding-left: 15px;
    padding-right: 15px;
}

.dropdownPanel .panel.fieldSet {
    padding: 0;
    margin: 0;
}

.userDetails .userName.clickable, .userDetails .userId.clickable {
    cursor: pointer;
}



.userDetails .userImage {
    border-radius: 16px;
    margin: 0 auto;
    background-color: #fff;

    border: solid 1px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: padding-box;
    background-position: center center;
    font-family: 'Osans';
}

.userDetails .userImage.clickable {
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.userDetails .userImage.clickable:hover {
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.dropdownPanel .userDetails .userInfo .detailsCol2 {
    background-color: rgba(255, 255, 255, 0.9);
}

.userDetails .userInfo .imageContainer {
    float: right;
    margin-top: -5px;
    margin-right: 10px;
    margin-left: 10px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-clip: padding-box;
}

.userDetails .details.user > .container {
    min-height: 75px;
}

.userDetailsWrapper .userDetails {
    color: #656565;
}

.dropdownPanel .details.user {
    color: white;
}

.dropdownPanel .userDetails .status {
    display: none;
}

.userDetails .details {
    line-height: 1.5em;
    font-size: 1.1em;
    overflow: hidden;
}

.userDetails .contact.details {
    padding: 5px 10px;
}

.userDetailsWrapper .details.user, .editablePanel .details.user {
    background-color: white;
}

.userDetailsWrapper .details.contact {
    background: rgba(0,0,0,0.03);
}

.userDetails .userInfo a {
    display: block;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    opacity: 0.7;
    position: relative;
    padding: 3px 0;
}
/* version compatibility check */
.userNavigation a.lnkMyDetails {
    position: absolute;
}

.userDetails .userInfo .contactText {
    position: absolute;
    left: 24px;
    right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
}

.userDetails .status {
    text-transform: uppercase;
    font-size: 0.9em;
}

.userNavigation .user.details .container {
    background-color: rgba(255, 255, 255, 0.25);
}

.userDetails .userInfo .userName {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 20px;
}


.userNavigation .user.details .container > .line {
    opacity: 0.75;
}

.userDetails .userInfo .preferredName {
    font-style: italic;
    line-height: 12px;
    margin-right: 90px;
}

.userDetails .userInfo.showpopup {
    margin: inherit;
    position: fixed;
}

.userDetails .userInfo.showpopup .closeUserInfo {
    display:block;
    position: absolute;
    padding: 4px;
    border-radius: 16px;
    border: solid 2px white;
    top: -14px;
    right: -14px;
    box-shadow: -1px 1px 1px #000;
    background-image: none;
}

.userDetails .userInfo .closeUserInfo {
    display: none;
}

.userDetails .userInfo.showpopup .closeUserInfo .icon16 {
    background: none;
    display: block;
    font-family: iconGlyph;
    font-size: 16px;
    line-height: 16px;
    -webkit-font-smoothing: antialiased;
}

.userDetails .userInfo.showpopup .closeUserInfo .icon16:before {
    content: "\E058";
}

.myDetailsPhoto {
    float: left;
    margin-left: -200px;
    margin-top: 10px;
    text-align: center;
}


#MyDetailsSection > .content {
    padding-left: 250px;
}

#MyDetailsSection > .content > section {
    border-left: solid 1px rgba(0, 0, 0, 0.1);
}

#MyDetailsSection #MyDetails {
    border-top: 0;
}

#MyDetailsSection.readonlyMode .myDetailsPhoto .attachmentsImagePanelInput, #MyDetailsSection.readonlyMode .myDetailsPhoto > .icon16 {
    display: none;
}
/** CUSTOMER FEEDBACK **/

footer.ui-v1 .feedbackButton{
    display: none;
     position: absolute; 
     right: 5px; 
     bottom: 5px; 
    border-radius: 3px;
     border-top-right-radius: 0; 
     border-top-left-radius: 0; 
    padding: 2px 10px;
     z-index: 90000; 
    color: white;
    border: none;
    margin-right: 5px;
}

footer.ui-v2 .feedbackButton{
    display: none; 
}

footer .feedbackButton.shown{
    display: block;
}

.feedbackWrapper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.21);
    bottom: 0;
    transition: ease 0.3s;
    visibility: hidden;
    opacity: 0;
    display: flex;
    overflow: auto;
}
.feedbackWrapper.shown{
    z-index: 90001;
    visibility: visible;
    opacity: 1;
}


.feedbackWrapper .feedbackContainer{
    background: white;
    max-width: 600px;
    box-shadow: 0 3px 5px #0000009e;
    border-radius: 5px;
    position: relative;
    color: #0f3367;
    transition: ease 0.3s;
    transform: scale(0.8);
    margin: 0 auto;
    height: max-content;
    align-self: center;
    overflow: hidden;
}
.feedbackWrapper.shown .feedbackContainer{
    transform: scale(1);
}

.feedbackWrapper .feedbackContainer > .header{
    background: rgba(0,0,0,0.05);
    padding: 20px 10px;
}

.feedbackWrapper .feedbackContainer > .content{
    padding: 10px 20px;
}

.feedbackWrapper .feedbackContainer .voteTitle{
    text-align:center;
}

.feedbackWrapper .feedbackContainer > .header h2{
    display: inline-block;
    font-size: 1.3em;
}
.feedbackWrapper .feedbackContainer > .header .closeBtn
{
    position: absolute;
    right: 5px;
    border-radius: 20px;
    border-color: transparent;
    padding: 8px;
    top: 8px;
    background:none;
    box-shadow:none;
}

.feedbackWrapper .feedbackContainer h3{
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.5em;
    margin-top: 20px;
    color: #0f3367;
}

.feedbackWrapper .feedbackContainer > .content{
    transition:transform 0.3s ease-in-out;
}
.feedbackWrapper.sent .feedbackContainer > .content{
    transform: translate(120%, 0px) skew(-15deg, 15deg);
    background: white;
    box-shadow: 0 0 3px #000000a6;
}

.feedbackWrapper .voteButtons {
    text-align: center;
    padding: 30px 0;
}

.feedbackWrapper .btnDislike > .glyph{
    transform: rotateZ(180deg) translateY(-5px);
}
.feedbackWrapper .btnDislike{
    margin-left: 20px;
}

.feedbackWrapper .voteButtons > button{
    padding: 15px 30px;
}

.feedbackWrapper .feedBackMore{
    visibility:hidden;
    position:absolute;
}
.feedbackWrapper.showMore .feedBackMore{
    visibility:visible;
    position:relative;
}

.feedbackWrapper .feedBackMore h3{
    margin-top: 30px;
}

.feedbackWrapper .styleContainer.tbcStyleContainer{
    padding-bottom: 0;
}

.feedbackWrapper .styleContainer.tbcStyleContainer .textBoxControl {
    background-color:rgba(0,0,0,0.02);
}

.feedbackWrapper .feedbackContainer footer{
    padding: 10px 0;
    text-align: center;
    background: rgba(0,0,0,0.1);
}

.feedbackWrapper .feedbackContainer footer > button{
    padding: 10px 10%;
    margin-right: 5%;
}

.feedbackWrapper .sentMessage{
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    text-align: center;
    flex-flow: column;
    width: 100%;
    justify-content: center;
    transition: 0.5s ease;
    opacity: 0;
    transform: scale(0.6);
    visibility: hidden;
    z-index: -1;
}
.feedbackWrapper .sentMessage h3{
    font-size: 2em;
}

.feedbackWrapper.sent .sentMessage{
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.feedbackWrapper .sentMessage .iconContainer{
    text-align: center;
}

.feedbackWrapper .sentMessage .iconContainer > .glyph {
    width: 120px;
    display: inline-block;
    height: 120px;
    border-radius: 50%;
    transition: 0.5s ease-in;
    background: white;
    color:white;
}


.feedbackWrapper.sent .sentMessage .iconContainer > .glyph{
    background: #a6cea2;
}

.feedbackWrapper.sent footer {
    display:none;
}

.phone .feedbackButton {
    display:none;
}

.hasUserFeedback .portalLabels + .noWrap{
    padding-right: 80px;
}
.phone.hasUserFeedback .optionItem.feedbackButton{
    display:block;
}

.feedbackWrapper .privacyDisclaimer{
    line-height: 1.3em;
}
.valueSelector2 > .editablePanel{
    padding: 0 !important; 
}

.valueSelector2 > .editablePanel:first-child {
    margin-bottom: 30px;
}


.valueSelector2 > .editablePanel > .header {
    padding-bottom: 0;
    font-size: 1.2em !important;
    color: initial;
}

.valueSelector2 .relatedDataPortlet .selectorMenu.menuContainerH {
    position: relative;
    float: right;
    top: -32px;
}

.valueSelector2 .topActionPane{
    z-index:1;
}
.viewSelectorControl button .icon16.selectViewIcon:before,
.viewSelectorControl button .icon24:before{
    content: "\E532";
}


/*--View Selector--*/

.viewSelectorControl {
    float: left;
    margin: 10px 0;
    display: inline-block;
    text-align: left;
}

.viewSelector
{
    float: left;
    min-height: 36px;
}

.viewSelector.dropDownControlContainer > .hasDefaultAction > .defaultAction:before,
.viewSelector.dropDownControlContainer > .hasDefaultAction > .handle:before {
    display: none;
}

.viewSelector .dropdownControl .dropdownPanel button.toggleView {
    float: none;
    padding-left: 24px;
    padding-right: 20px;
    min-width: 100%;
}

.viewSelector .dropdownControl button.defaultAction {
    padding-right: 0;
}

.viewSelector .dropdownControl .dropdownPanel {
    /*min-width: inherit;*/
}

.viewSelector button.toggleView
{
    display: block;
    float: left;
}

.viewSelector .dropdownPanel button {
    float: none;
    padding-left: 24px;
    min-width: 100%;
    border-radius: 0;
    border-color: transparent;
    background: none;
    box-shadow: none;
}

.viewSelector .dropdownPanel .dropdownPanelListItem {
  padding-right:17px
}

.viewSelector .dropdownPanel .dropdownPanelListItem.highlight {
    background-color: rgba(0, 0, 0, 0.03);
}

.viewSelector button.toggleView:focus {
    outline: none;
    box-shadow: none !important;
}

/*
    Headers definitions
*/
.viewSelectorControl .dropdownPanel .header {
    line-height: 36px;
}

.viewSelectorControl .header .showSpinner {
    width: 16px;
    height: 16px;
    top: 4px;
    left: 10px;
    background:url('https://cdn.t1cloud.com/cianywhere/content/base/images/loaderdarkbg.gif?v=12.0.113.0') no-repeat top center;
    position: relative;
    display: inline-block;
}

.viewSelectorControl .actionButtons .close {
    margin-right: 10px;
    min-width: 60px;
}

.viewSelectorControl .header label {
    display: inline-block;
    font-size: 1em;
    padding-left: 10px;
    font-family: Osans, Arial, sans-serif;
    font-weight: 600;
}

.viewSelectorControl .content .viewItem .defaultInd,
.viewSelectorControl .defaultMode .header .addViewHeader,
.viewSelectorControl .defaultMode .header .editViewHeader,
.viewSelectorControl .defaultMode .content .actionButtons .updateView,
.viewSelectorControl .defaultMode .content .actionButtons .makeDefault,
.viewSelectorControl .defaultMode .content .actionButtons .removeView,
.viewSelectorControl .defaultMode .content .inputViewName,
.viewSelectorControl .defaultMode .content .addViewContent,
.viewSelectorControl .addMode .header .defaultViewHeader,
.viewSelectorControl .addMode .header .editViewHeader,
.viewSelectorControl .addMode .content .defaultViewContent,
.viewSelectorControl .editMode .content .addViewContent,
.viewSelectorControl .editMode .content .actionButtons .updateView,
.viewSelectorControl .editMode .header .defaultViewHeader,
.viewSelectorControl .editMode .header .addViewHeader,
.viewSelectorControl .editMode .content .viewName .inputViewName,
.viewSelectorControl .editMode .content .viewItem.editActive .viewName a,
.viewSelectorControl .editMode .content .viewItem.default .defaultInd,
.viewSelectorControl .editMode .content .viewItem.system .removeView
{
    display: none;
}

.viewSelectorControl.hasSystemViewAuthority .editMode .content .viewItem.system .removeView
{
    display: inline-block;
}

.viewSelectorControl.viewChanged .defaultMode .crtView .actionButtons .updateView {
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
}

.viewSelectorControl .editMode .content .viewItem.editActive .viewName .inputViewName {
    display: inline-block;
}

.viewSelectorControl .content .viewItem.default .defaultInd {
    display: inline-block;
    cursor: default;
    padding: 1px 4px;
    background-image: none;
    font-size: 0.9em;
    border: none;
    box-shadow: none;
}

.viewSelectorControl .content .viewItem.default .defaultInd {
    float: right;
    margin-right: 3px;
    padding: 5px 0;
    line-height: 30px;
}

.viewSelectorControl .header .defaultViewHeader .editView .icon16:before {
    content: "\E078";
}

.viewSelectorControl .header .defaultViewHeader .addView .icon16 {
    background:url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/plusgreenlight.png?v=12.0.113.0');
}

.viewSelectorControl .header .flatStyle {
    float: left;
    background-color: transparent;
    background-image: none;
}

.viewSelectorControl .header .flatStyle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/*
    Views contents
 */
.viewSelectorControl .content .viewItem .viewType .icon16, .viewSelectorControl .viewItem.system .viewType .icon16, .viewSelectorControl .viewItem.shared .viewType .icon16 {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/images/starsprite.png?v=12.0.113.0');
}

.viewSelectorControl .actionButtons {
    float: right;
    display: inline-block;
    white-space: nowrap;
}

.viewItem .actionButtons {
    padding: 5px 0;
}

.viewItem .makeDefault, .viewItem .removeView {
    margin-right: 5px;
    box-shadow: none;
    border: solid 1px transparent;
    background: none;
}

.viewItem .makeDefault {
    float: left;
    padding:0;
}

.viewSelectorControl .viewItem.system .makeDefault,
.viewSelectorControl.hasSystemViewAuthority .viewItem.system.shipped .makeDefault {
    margin-right: 40px;
}

.viewSelectorControl.hasSystemViewAuthority .viewItem.system .makeDefault {
    margin-right: 5px;
}

.viewItem .removeView {
    float: none;
    margin-right: 5px;
    border-radius: 15px;
}

.viewItem .makeDefault:focus {
    outline:none !important;
    box-shadow: none !important;
}

.viewItem .makeDefault .buttonLabel {
    font-size: 0.8em;
    line-height: 28px;
}

.viewItem .makeDefault .icon16 {
    display: inline-block!important;
    padding: 6px;
    border-radius: 15px;
}

.viewItem .makeDefault .icon16:before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/images/ticksprite.png?v=12.0.113.0');
    background-position: center left;
    background-repeat: no-repeat;
}

.viewItem .makeDefault .icon16 {
    background: none;
}

.viewItem .makeDefault.isDefault .icon16 {
    background: inherit;
}

.viewItem .makeDefault .buttonLabel {
    display: none;
}


.viewItem .makeDefault.isDefault .buttonLabel {
    display: inline-block;
}

.viewItem .makeDefault:hover .icon16, .viewItem .removeView:hover {
    background-color: rgba(0,0,0,0.1);
}

.viewItem .makeDefault:hover .icon16:before {
    background-position: -16px center;
}

.viewItem .makeDefault.isDefault .icon16:before {
    display: inline-block;
    background-position: -32px center;
}

.viewSelectorControl .content .viewItem .actionButtons .removeView .icon16 {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/removereddark.png?v=12.0.113.0');
}

.viewSelectorControl .flatStyle {
    border-radius: 0;
    padding: 10px;
    box-shadow: none;
    border: none;
}

.viewSelectorControl .flatStyle:hover {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/images/whiteopac5.png?v=12.0.113.0');
    background-repeat: repeat;
}

.viewSelectorControl .viewItem,
.viewSelectorControl .actionItem {
    width:100%;
    border-radius: 0;
    box-sizing: border-box;
    clear: both;
}

.viewSelectorControl div.viewName ,
.viewSelectorControl div.clearChanges {
    overflow: hidden;
    min-height: 40px;
    padding-right: 7px;
}

.viewSelectorControl div.viewName:hover,
.viewSelectorControl div.clearChanges:hover {
    cursor: pointer;
}

.viewSelectorControl .editActive .viewName {
    padding: 0 7px;
}

.viewSelectorControl .editMode .inputViewName {
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin-top: 5px;
    font-size: 0.9em;
    box-sizing: border-box;
    border-radius: 3px;
}


.viewSelectorControl .editMode .inputViewName:focus {
    outline: none;
}

.addViewContent {

}

.addViewFields,.moreOptContent {
    padding: 10px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}
.moreOptContent {
    display: none;/*initially is hidden*/
    border-top: solid 1px #fff!important;
}

.addViewButtons {
    padding: 10px;
    border-top: solid 1px #fff;
}

.addViewButtons .advOptions {
    display: inline-block;
    float: right;
    line-height: 30px;
}

.addViewButtons .advOptions .lessOpt{
    display: none;
}

.addViewFields > div {
    margin-top: 10px;
}

.addViewContent .inputViewName {
    width: 100%;
    height: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.addViewContent .inputViewName:focus {
    outline: none;
}

.addViewContent .viewNameLabel {
    display: block;
    padding-bottom: 5px;
    padding-left: 2px;
}

.dropdownControl.chooser .defaultView {
    font-size: inherit;
    display: inline-block;
    padding-left: 0;
    line-height: 30px;
}

.viewSelectorControl .wChkbx {
    line-height: 30px;
    cursor: pointer;
    display: block;
}

.viewSelectorControl .wChkbx:before {
    /*content: "";
    width: 20px;
    height: 20px;
    display: block;
    float: left;
    margin-top: 6px;
    margin-right: 5px;
    background-image: url(https://cdn.t1cloud.com/cianywhere/content/base/images/chkbx.png?v=12.0.113.0);
    background-position: top left;
    background-repeat: no-repeat;*/
}

/*.viewSelectorControl .wChkbx.checked:before {
    background-position: 0 -40px;
}

.viewSelectorControl .wChkbx:hover:before{
    background-position: 0 -20px;
}

.viewSelectorControl .wChkbx.checked:hover:before{

    background-position: 0 -60px;
}*/

.viewSelectorControl .moreOptContent.inclOpt .inclOptVal{
    display: inline-block;
    margin-right: 10px;
}

.viewSelectorControl .moreOptContent.scopeOpt .exclParamVal,
.viewSelectorControl .moreOptContent.scopeOpt .indepParamVal{
    display: block;
}

.viewSelectorControl .moreOptContent.inclOpt .inclOptVal label,
.viewSelectorControl .moreOptContent.scopeOpt .exclParamVal label,
.viewSelectorControl .moreOptContent.scopeOpt .indepParamVal label{

    line-height: 30px;
}

.viewSelectorControl .moreOptContent.scopeOpt .exclParamVal > input {
    margin-top: -2px;
    vertical-align: middle;
}

.viewSelectorControl .addViewContent > div > button:first-child {
    float: left;
    margin-right: 5px;
}


.viewSelectorControl .dropdownPanel .crtView,
.viewSelectorControl .dropdownPanel .viewsList,
.viewSelectorControl .dropdownPanel .otherActions
 {
    float: none;
    position: relative;
    overflow-x: hidden;
}
.viewSelectorControl .dropdownPanel .otherActions:hover {

}

.viewSelectorControl .dropdownPanel .viewsListContainer {
    max-height: 210px;
    overflow-y: auto;
}

.viewSelectorControl .crtView{
    border-bottom: solid 1px rgba(0,0,0,0.05);
}


.viewSelectorControl .crtViewItem{
    margin-right:30px;
}

.viewSelectorControl .crtView .editViewBtn{
    position: absolute;
    right: 0px;
    margin: 5px 5px 0 0;
}

.viewSelectorControl .crtView .editViewBtn .icon16{
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/edit.png?v=12.0.113.0');
}

.viewSelectorControl .crtView .viewName a {
    font-weight: bold;
}

.viewSelectorControl .dropdownPanel .content {
    width: 400px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

body.tablet.portraitMode .viewSelectorControl .dropdownPanel .content {
    width: 300px;
}

.viewSelectorControl .dropdownPanel.defaultMode .content,
.viewSelectorControl .dropdownPanel.editMode .content
 {
    max-height: 300px;
}

.viewSelectorControl .viewItem:hover {
    background-color: var(--ciaColourBackgroundHighlightHover);
}

.viewSelectorControl .clearChanges .icon16{
    float: left;
    margin: 12px 0 0 12px;
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/clear.png?v=12.0.113.0');
    opacity: 0.75;
}

/*.viewSelectorControl .viewItem .viewName,*/
.viewSelectorControl .viewItem .viewType
{
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
}

.viewSelectorControl .viewItem .viewType {
    display: none;
}

.viewSelectorControl .viewItem .viewType .icon16 {
    background-position: -16px 0;
}

.viewSelectorControl .viewName a, .viewSelectorControl .clearChanges a {
    position: relative;
    padding: 5px 5px 5px 12px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 30px;
    display: block;
    font-size: 0.9em;
    white-space: nowrap;
}

.viewSelectorControl .editMode .viewName a {
    color: inherit;
    border: solid 1px transparent;
    line-height: 20px;
    padding: 4px;
    margin-top: 5px;
    margin-left: 7px;
}

.viewSelectorControl .editMode .viewName a:hover {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/images/whiteopac50.png?v=12.0.113.0');
    background-repeat: repeat;
    border: solid 1px #c4c4c4;
    border-radius: 3px;
}

/*.viewSelectorControl .viewName a:before {
    content: "";
    float: right;
    border: solid 1px red;
    width: 16px;
    height: 16px;
}*/

.viewSelectorControl .viewItem.default{
}

.viewSelectorControl .viewItem.system .viewType .icon16 {
    background-position: -16px 0;
    display: block;
}

.viewSelectorControl .viewItem .viewType span {
    float: left;
}

.viewSelectorControl .viewItem.shared .viewType .icon16 {
    background-position: -16px -16px;
    display: block;
}

@media \0screen
{
    .viewSelectorControl .editMode .inputViewName {
        line-height:20px;
    }
}


.viewSelectorControl .wChkbx:before {
    font-family: iconGlyph;
    font-size: 15px;
    background-image: none;
    width: 16px;
    height: 16px;
    display: block;
    border: solid 1px #c4c4c4;
    background-image: none;
    background-color: #fff;
    border-radius: 3px;
    content: "";
    margin: 8px 0;

    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 50%, rgba(245,245,245,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(245,245,245,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(245,245,245,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(245,245,245,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 50%,rgba(245,245,245,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */

    -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,1);
    -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,1);
    box-sizing: border-box;
}

.viewSelectorControl .wChkbx:before {
    float: left;
    margin-top: 6px;
    margin-right: 5px;
    line-height: 15px;
}

.viewSelectorControl .wChkbx.checked:before {
    content: "\E066";
    border-color: #656565;
}

.viewSelectorControl .wChkbx:hover:before  {
    border-color: #656565;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 50%, rgba(221,221,221,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */

}

.viewSelectorControl .wChkbx.checked:hover:before {
    content: "\E066";
    border-color: #656565;

    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 50%, rgba(221,221,221,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 50%,rgba(221,221,221,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */

}


/************
View selector/changed indicator
************/*
.viewSelectorControl .selectViewBtn{
    margin-right: 11px;
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 3px;
    box-shadow: 0 0 0px rgba(0,0,0,0.1);
}

.viewSelectorControl button .icon16.selectViewHandler:before,
.viewSelectorControl button .icon24.selectViewHandler:before {
    content: "\E045";
}

.viewSelectorControl button .icon16.selectedViewChanged{
    margin-left:-10px;
}

.viewSelectorControl button .icon16.selectViewHandler{
    margin-left:-5px;
}

.viewSelectorControl button .icon16.selectedViewChanged:before,
.viewSelectorControl button .icon24.selectedViewChanged:before {
    content: "";
}

.viewSelectorControl.viewChanged button .icon16.selectedViewChanged:before,
.viewSelectorControl.viewChanged button .icon24.selectedViewChanged:before {
    content: "*";
    position: absolute;
    top:3px;
}

.viewSelectorControl.viewSelected .selectViewBtn,
.viewSelectorControl.viewChanged .selectViewBtn{
    color: #fff;
    background-color: #444;
}

.viewSelectorControl.viewSelected .selectViewBtn:before,
.viewSelectorControl.viewChanged .selectViewBtn:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: -13px;
    top: 9px;
    border: 4px solid transparent;
    border-left: 8px solid #fff;
}

.viewSelectorControl.viewSelected .selectViewBtn:after,
.viewSelectorControl.viewChanged .selectViewBtn:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: -11px;
    top: 9px;
    border: 4px solid transparent;
    border-left: 7px solid #444;
}

.workflowLinkDetails a {
    line-height: 26px;
}

.workflowProcessView {
    font-family: Arial, Verdana, sans-serif;
}

.workflowProcessTask {
    margin: 2px;
    padding: 2px;
    border-radius: 3px;
}

.workflowProcessTask.showHover {
    cursor: pointer;
}

.present {
    margin: 0 -5px;
}

.workflowProcessTaskName {
    font-size: 1.1em;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflowProcessTaskHeader {
    line-height: 16px;
    padding: 7px;
}

.workflowProcessTask[aria-expanded="false"] .workflowProcessTaskEvents {
    display: none;
}


.workflowProcessTask.showHover .workflowProcessTaskHeader:before {
    content: "\E063";
    font-family: iconGlyph;
    margin-right: 5px;
    opacity: 0.5;
    float: left;
}

.workflowProcessTask.showHover[aria-expanded="false"] .workflowProcessTaskHeader:before{
    content: "\E064";
}

.workflowProcessTask.future .workflowProcessTaskHeader:before {
    display: none;
}

.workflowProcessTaskName.heading{
    display: inline-block;
    vertical-align: top;
}

.workflowProcessTaskRightPanel {
    display: inline-block;
    float: right;
}

.workflowProcessTaskDescription {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: right;
}

.workflowProcessTaskComment {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/32/bpm/comment.png?v=12.0.113.0');
    background-size: cover;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    float: right;
}

.workflowProcessEvents {
    margin-top: 2px;
}

.workflowProcessEvent {
    padding: 5px;
    margin-top: 2px;
    line-height: 16px;
    background-color: rgba(255,255,255,0.85);
}

.workflowProcessEvent > div {
    margin-bottom: 5px;
}

.workflowProcessEventName {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflowProcessEventDateTime {
    float: right;
}

.workflowProcessEventTime{
    margin-right: 10px;
}

.workflowProcessEventTime:before{
    content: "\e099";
    font-family: iconGlyph;
    margin-right: 4px;
}

.workflowProcessEventDate:before{
    content: "\e014";
    font-family: iconGlyph;
    margin-right: 4px;
}

.workflowProcessEventDescriptionPanel {
    display: inline-block;
}

.workflowProcessEventComment {
    background-color: rgb(255, 255, 255);
    margin-top: 5px;
    padding: 2px;
}

.workflowProcessEventCommentText {
    white-space: pre-wrap;
}

.workflowProcessEventCommentImg {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/32/bpm/comment.png?v=12.0.113.0');
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 3px;
}

.workflowProcessEventSplitDetails {
    display: inline-block;
}
.workflowSplitDetails {
    width: 100%;
}

.workflowSplitHeader {
    padding: 5px 5px;
    font-family: 'OSans', Arial, Sans-Serif;
    font-weight: bold;
}

.workflowSplitGroup {
    margin-bottom: 5px;
    padding: 5px;
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/images/whiteopac35.png?v=12.0.113.0');
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.workflowSplitAssigned {
    font-size: 1.1em;
    font-weight: 600;
    width: 100%;
}

.workflowSplitLine {
    padding-top: 3px;
    line-height: 16px;
}

.workflowSplit {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/split.png?v=12.0.113.0');
    background-size: cover;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: top;
}

.workflowSplitLineDetails {
    display: inline-block;
}

.workflowSplitDescription {
    display: inline-block;
    word-wrap: break-word;
}

.workflowSplitKeys {
    display: inline-block;
    vertical-align: top;
}


.worksheetProcess {
    position:relative;
}

.worksheetProcessItem, .worksheetProcessCompletedItem {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.worksheetProcessItem {
    padding: 14px 0;
}

.worksheetProcessItem.enabled {
    cursor: pointer;
}

.worksheetProcessItemOuterContainer {
    position: relative;
    border-style: solid;
    border-color: transparent;
}

body:not(.easy) .worksheetProcessItemOuterContainer:focus {
    outline: none;
}

.worksheetProcessItem.enabled:hover > .worksheetProcessItemOuterContainer {
    background-color: #F3F3F3;
}

.worksheetProcessItem.highlight > .worksheetProcessItemOuterContainer {
    background-color: #DEE8B3;
    border-color: rgba(0,0,0,0.1);
}

.worksheetProcessItem.failed.highlight > .worksheetProcessItemOuterContainer {
    background-color: #FFF5F5;
}

.worksheetProcessItem.disabled.highlight > .worksheetProcessItemOuterContainer {
    background-color: #F3F3F3;
}

.worksheetProcessItem.hasJobId > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer {
    margin-right: 58px;
}

.worksheetProcessItemStatusIndicator {
    position: absolute;
    z-index: 1;
    left: -9px;
    top: -4px;
    background-color: white;
    border-radius: 10px;
    line-height: normal;
}

.worksheetProcessItemStatusIndicator:before {
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 18px;
}

.worksheetProcessItem.completed > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemImageContainer > .worksheetProcessItemStatusIndicator {
    color: #74bd00;
}

.worksheetProcessItem.failed > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemImageContainer > .worksheetProcessItemStatusIndicator {
    color: red;
}

.worksheetProcessItemNotificationIndicator {
    display: inline-block;
    position: absolute;
    right: -8px;
    top: -4px;
    min-width: 18px;
    padding: 3px 1px;
}

.worksheetProcessItemImageContainer {
    position: relative;
    float: left;
    display: block;
    z-index: 1;
}

.worksheetProcessItemImage {
    padding: 0;
    display: block;
    border-radius: 4px;
    background-size: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.35);
}

.worksheetProcessItemHeadingContainer {
    display: block;
    overflow:hidden;
    position: relative;
    height: inherit;
}

.worksheetProcessItemHeadingInnerContainer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    line-height: normal;
}

.worksheetProcessItemHeadingInnerContainer.noSubHeading.noSchedule {
    margin-top: -9px;
    top:50%;
}

.worksheetProcessItemHeadingInnerContainer.hasSubHeading.noSchedule, .worksheetProcessItemHeadingInnerContainer.noSubHeading.hasSchedule {
    margin-top: -16px;
    top:50%;
}

.worksheetProcessItemHeading {
    display:  block;
    font-size: 1.2em;
    font-weight: 600;
    overflow:hidden;
    text-overflow: ellipsis;
    line-height:18px;
}

.worksheetProcessItemScheduledContainer {
    line-height: 15px;
}

.worksheetProcessItemScheduledIcon {
    margin-right: 5px;
}

.worksheetProcessItemScheduledText {
    display: inline-block;
    font-size: 0.9em;
}

.worksheetProcessItemSubHeading {
    overflow:hidden;
    text-overflow: ellipsis;
    font-size: 0.9em;
    color: #656565;
    line-height: 15px;
}

.worksheetProcessItemSubHeadingPart {
    display: inline-block;
    padding: 0;
}

.worksheetProcessItemSubHeadingPart.controlContainer{
    border: none;
}

.worksheetProcessItemSubHeadingPart.syncLink {
    cursor: pointer;
    padding: 9px 0;
}

.worksheetProcessItemSubHeadingPart ~ .worksheetProcessItemSubHeadingPart {
    margin-left: 2px;
}

.worksheetProcessCompletedItem {
    padding-top: 20px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.worksheetProcessCompletedItem > .worksheetProcessItemHeading {
    line-height: 20px;
}

.worksheetProcessFlowLines {
    position: absolute;
    display: block;
    z-index: 1;
}

.worksheetProcessLine {
    border: none;
    border-width: 2px;
    border-color: #000;
    border-color: rgba(0,0,0,0.35);
    position: absolute;
    display: block;
}

.worksheetProcessFlowLines.completed > .worksheetProcessVerticalLine > .worksheetProcessLine, .worksheetProcessFlowLines.completed > .worksheetProcessHorizontalLine > .worksheetProcessLine {
    border-color: #97CA97;
}

.worksheetProcessFlowLines.completed > .worksheetProcessVerticalLine > .worksheetProcessLineEnd {
    color: #97CA97;
}

.worksheetProcessVerticalLine > .worksheetProcessLine {
    border-left-style: solid;
}

.worksheetProcessHorizontalLine > .worksheetProcessLine {
    border-top-style: dashed;
}

.worksheetProcessLineEnd {
    position:absolute;
    display: block;
    color: #000;
    color: rgba(0,0,0,0.35);
}

.worksheetProcessCompletedLineEnd {
    border-style: solid;
    border-width: 2px;
}

.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemImageContainer > .worksheetProcessItemImage,
.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemHeading,
.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemHeadingContainer > .worksheetProcessItemHeading,
.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemHeadingContainer > .worksheetProcessItemScheduledContainer,
.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemHeadingContainer > .worksheetProcessItemSubHeading,
.worksheetProcessCompletedItem.disabled {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    opacity: 0.5;
}

.worksheetProcessItem.disabled.hasJobId > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemHeadingContainer > .worksheetProcessItemSubHeading {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
}

.worksheetProcessItem.disabled > .worksheetProcessItemOuterContainer > .worksheetProcessItemInnerContainer > .worksheetProcessItemImageContainer > .worksheetProcessItemImage {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.worksheetProcessJobSpinner {
    position: absolute;
	top: 50%;
    margin-top: -16px;
    opacity: 0.5;
    right: 26px;
}
/*
IMPORTANT:
In order to preserve the uniform grid appearance, all cell styles need to have padding, margin and border sizes.
No built-in (selected, editable, highlight, flashing, invalid, loading, :focus) or user-specified CSS
classes should alter those!
*/

/*
* TechnologyOne Change History
* ----------------------------
*  12 Apr 2013 - AndyP - Added sticky footer row styles
*/
.frozen {
  position: absolute;
  top:0px;
  left:0px;
  z-index:2;
  box-sizing: border-box;
}

.frozen .slick-footerrow-columns {
  background-color:#fff;
}

.frozen-border {
  border-right:3px solid #ddd;
  box-shadow: 0 -2px 0 2px #ccc;
}

.slick-header.ui-state-default, .slick-headerrow.ui-state-default, .slick-footerrow.ui-state-default {
  width: 100%;
  overflow: hidden;
  border-left: 0px;
}
.slick-header-columns, .slick-headerrow-columns, .slick-footerrow-columns {
  position: relative;
  white-space: nowrap;
  cursor: default;
  overflow: hidden;
}

.slick-header-column.ui-state-default {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 22px;
  line-height: 22px;
  margin: 0;
  padding: 4px;
  border-right: 1px solid silver;
  border-left: 0px;
  border-top: 0px;
  border-bottom: 0px;
  float: left;
}

.slick-headerrow-column.ui-state-default, .slick-footerrow-column.ui-state-default {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 16px;
  line-height: 16px;
  margin: 0;
  padding: 4px;
  border-right: 0px;
  border-left: 0px;
  border-top: 0px;
  border-bottom: 0px;
  float: left;
}
.slick-footerrow-column.ui-state-default{
  padding: 4px 10px;
}

.ui-state-hover .slick-column-menu,
.isTablet .slick-column-menu,
.slick-header-column.showAdvancedMenu .slick-column-menu{
  display: inline-block;
}

.slick-column-menu{
  display: none;
  position: absolute;
  top: 6px;
  right:0;
  margin-left: 5px;
}

.slick-header-column.showAdvancedMenu .slick-column-menu .columnMenuContainer{
  display: block;
}

.slick-column-menu .columnMenuContainer{
  display: none;
  position: fixed;
  z-index: 100;
  background-color: #FFFFFF;
  border: solid 1px #FFFFFF;
  -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  width: 150px;
  text-align: left;
}

.slick-column-menu .columnMenuContainer .slick-column-menu-item{
    display: flex;
    align-items: center;
}

.slick-column-menu .columnMenuContainer .slick-column-menu-item-separator{
  padding: 0;
  height: 1px;
  margin-top: -1px;
  background-color: rgba(0, 0, 0, 0.05);
}

.slick-column-menu .resetSort{
  display: none;
}

.slick-header-column-sorted .slick-column-menu .resetSort{
  display: block;
}

.slick-resizable-handle {
  position: absolute;
  font-size: 0.1px;
  display: block;
  cursor: col-resize;
  width: 6px;
  right: -3px; /* 3 px on each side of the border */
  top: 0;
  height: 100%;
}

.slick-sortable-placeholder {
  background: silver;
}

.grid-canvas {
  position: relative;
  outline: 0;
}

.slick-row.ui-widget-content, .slick-row.ui-state-active {
  position: absolute;
  width: 100%;
}

.slick-cell, .slick-headerrow-column, .slick-footerrow-column {
  position: absolute;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  z-index: 1;
  padding: 1px 2px 2px 1px;
  margin: 0;
  cursor: default;
}

.slick-headerrow-column, .slick-footerrow-column {
  border: 1px solid transparent;
  border-bottom-color: silver;
}

.slick-group {
}

.slick-group-toggle {
  display: inline-block;
}

.slick-cell.highlighted {
  background: lightskyblue;
  background: rgba(0, 0, 255, 0.2);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.slick-cell.flashing {
  border: 1px solid red !important;
}

.slick-cell.editable {
  z-index: 2; /*make sure to overlap adjacent cells*/
  overflow: visible;
  background: white;
  border-color: black;
  border-style: solid;
}

.slick-cell:focus {
  outline: none;
}

.slick-reorder-proxy {
  display: inline-block;
  background: blue;
  opacity: 0.15;
  filter: alpha(opacity = 15);
  cursor: move;
}

.slick-reorder-guide {
  display: inline-block;
  height: 2px;
  background: blue;
  opacity: 0.7;
  filter: alpha(opacity = 70);
}

.slick-selection {
  z-index: 10;
  position: absolute;
  border: 2px dashed black;
}


.slick-footerrow-columns {
    font-weight: bold;
    border-top: solid 1px #e6e6e6;
}

/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(../Styles/ThirdParty/#default#VML?v={1});
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(../Styles/ThirdParty/images/layers.png?v={1});
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(../Styles/ThirdParty/images/layers-2x.png?v={1});
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(../Styles/ThirdParty/images/marker-icon.png?v={1});
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(../Styles/ThirdParty/#default#VML?v={1});
	display: inline-block;
	position: absolute;
	}

.leaflet-control {
	display: inline;
	}

.leaflet-popup-tip {
	/*width: 21px;*/
	_width: 27px;
	/*margin: 0 auto;*/
	_margin-top: -3px;

	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	}
.leaflet-popup-tip-container {
	margin-top: -1px;
	}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	border: 1px solid #999;
	}
.leaflet-popup-content-wrapper {
	zoom: 1;
	}

.leaflet-control-zoom,
.leaflet-control-layers {
	border: 3px solid #999;
	}
.leaflet-control-layers-toggle {
	}
.leaflet-control-attribution,
.leaflet-control-layers,
.leaflet-control-scale-line {
	background: white;
	}
.leaflet-zoom-box {
	filter: alpha(opacity=50);
	}
.leaflet-control-attribution {
	border-top: 1px solid #bbb;
	border-left: 1px solid #bbb;
	}

/* ================================================================== */
/* Toolbars
/* ================================================================== */

.leaflet-draw-section {
	position: relative;
}

.leaflet-draw-toolbar {
	margin-top: 12px;
}

.leaflet-draw-toolbar-top {
	margin-top: 0;
}

.leaflet-draw-toolbar-notop a:first-child {
	border-top-right-radius: 0;
}

.leaflet-draw-toolbar-nobottom a:last-child {
	border-bottom-right-radius: 0;
}

.leaflet-draw-toolbar a {
	background-image: url('../Styles/ThirdParty/images/spritesheet.png?v={1}');
	background-repeat: no-repeat;
}

.leaflet-retina .leaflet-draw-toolbar a {
	background-image: url('../Styles/ThirdParty/images/spritesheet-2x.png?v={1}');
	background-size: 270px 30px;
}

.leaflet-draw a {
	display: block;
	text-align: center;
	text-decoration: none;
}

/* ================================================================== */
/* Toolbar actions menu
/* ================================================================== */

.leaflet-draw-actions {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 26px; /* leaflet-draw-toolbar.left + leaflet-draw-toolbar.width */
	top: 0;
}

.leaflet-right .leaflet-draw-actions {
	right:26px;
	left:auto;
}

.leaflet-draw-actions li {
	display: inline-block;
}

.leaflet-draw-actions li:first-child a {
	border-left: none;
}

.leaflet-draw-actions li:last-child a {
	-webkit-border-radius: 0 4px 4px 0;
	        border-radius: 0 4px 4px 0;
}

.leaflet-right .leaflet-draw-actions li:last-child a {
	-webkit-border-radius: 0;
	        border-radius: 0;
}

.leaflet-right .leaflet-draw-actions li:first-child a {
	-webkit-border-radius: 4px 0 0 4px;
	        border-radius: 4px 0 0 4px;
}

.leaflet-draw-actions a {
	background-color: #919187;
	border-left: 1px solid #AAA;
	color: #FFF;
	font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;
	line-height: 28px;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	height: 28px;
}

.leaflet-draw-actions-bottom {
	margin-top: 0;
	white-space: nowrap;
}

.leaflet-draw-actions-top {
	margin-top: 1px;
	white-space: nowrap;
}

.leaflet-draw-actions-top a,
.leaflet-draw-actions-bottom a {
	height: 27px;
	line-height: 27px;
}

.leaflet-draw-actions a:hover {
	background-color: #A0A098;
}

.leaflet-draw-actions-top.leaflet-draw-actions-bottom a {
	height: 26px;
	line-height: 26px;
}

/* ================================================================== */
/* Draw toolbar
/* ================================================================== */

.leaflet-draw-toolbar .leaflet-draw-draw-polyline {
	background-position: -2px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-draw-polygon {
	background-position: -31px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-draw-rectangle {
	background-position: -62px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-draw-circle {
	background-position: -92px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-draw-marker {
	background-position: -122px -2px;
}

/* ================================================================== */
/* Edit toolbar
/* ================================================================== */

.leaflet-draw-toolbar .leaflet-draw-edit-edit {
	background-position: -152px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-edit-remove {
	background-position: -182px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled {
	background-position: -212px -2px;
}

.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled {
	background-position: -242px -2px;
}

/* ================================================================== */
/* Drawing styles
/* ================================================================== */

.leaflet-mouse-marker {
	background-color: #fff;
	cursor: crosshair;
}

.leaflet-draw-tooltip {
	background: rgb(54, 54, 54);
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid transparent;
	-webkit-border-radius: 4px;
	        border-radius: 4px;
	color: #fff;
	font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
	margin-left: 20px;
	margin-top: -21px;
	padding: 4px 8px;
	position: absolute;
	visibility: hidden;
	white-space: nowrap;
	z-index: 6;
}

.leaflet-draw-tooltip:before {
	border-right: 6px solid black;
	border-right-color: rgba(0, 0, 0, 0.5);
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	content: "";
	position: absolute;
	top: 7px;
	left: -7px;
}

.leaflet-error-draw-tooltip {
	background-color: #F2DEDE;
	border: 1px solid #E6B6BD;
	color: #B94A48;
}

.leaflet-error-draw-tooltip:before {
	border-right-color: #E6B6BD;
}

.leaflet-draw-tooltip-single {
	margin-top: -12px
}

.leaflet-draw-tooltip-subtext {
	color: #f8d5e4;
}

.leaflet-draw-guide-dash {
	font-size: 1%;
	opacity: 0.6;
	position: absolute;
	width: 5px;
	height: 5px;
}

/* ================================================================== */
/* Edit styles
/* ================================================================== */

.leaflet-edit-marker-selected {
	background: rgba(254, 87, 161, 0.1);
	border: 4px dashed rgba(254, 87, 161, 0.6);
	-webkit-border-radius: 4px;
	        border-radius: 4px;
}

.leaflet-edit-move {
	cursor: move;
}

.leaflet-edit-resize {
	cursor: pointer;
}

/* ================================================================== */
/* Old IE styles
/* ================================================================== */

.leaflet-oldie .leaflet-draw-toolbar {
	border: 3px solid #999;
}

.leaflet-oldie .leaflet-draw-toolbar a {
	background-color: #eee;
}

.leaflet-oldie .leaflet-draw-toolbar a:hover {
	background-color: #fff;
}

.leaflet-oldie .leaflet-draw-actions {
	left: 32px;
	margin-top: 3px;
}

.leaflet-oldie .leaflet-draw-actions li {
	display: inline;
	zoom: 1;
}

.leaflet-oldie .leaflet-edit-marker-selected {
	border: 4px dashed #fe93c2;
}

.leaflet-oldie .leaflet-draw-actions a {
	background-color: #999;
}

.leaflet-oldie .leaflet-draw-actions a:hover {
	background-color: #a5a5a5;
}

.leaflet-oldie .leaflet-draw-actions-top a {
	margin-top: 1px;
}

.leaflet-oldie .leaflet-draw-actions-bottom a {
	height: 28px;
	line-height: 28px;
}

.leaflet-oldie .leaflet-draw-actions-top.leaflet-draw-actions-bottom a {
	height: 27px;
	line-height: 27px;
}

.leaflet-control-zoom-fullscreen 
{
    background-image: url(../Styles/ThirdParty/images/icon-fullscreen.png?v={1});
}
.leaflet-container:-webkit-full-screen 
{
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
}
.leaflet-pseudo-fullscreen 
{
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0px !important;
    left: 0px !important;
    z-index: 99999;
}
/***
Spectrum Colorpicker v1.5.1
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top:33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 30px;
}
.sp-alpha-enabled .sp-alpha {
    display: block;
}
.sp-alpha-handle {
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}
.sp-alpha {
    display: none;
    position: absolute;
    bottom: -20px;
    right: 0;
    left: 0;
    height: 10px;
}
.sp-alpha-inner {
    border: solid 1px #333;
}

.sp-clear {
    display: none;
}

.sp-clear.sp-clear-display {
    background-position: center;
}

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container > * {
    display: none;
}
.sp-palette-only .sp-picker-container > .sp-button-container {
    display: block;
    text-align: right;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-palette-only.sp-container{
    flex-direction: column;
}

.sp-palette-only .sp-picker-container{
    padding-top: 0;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}
.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/

.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #c4c4c4;
    padding: 0;
}

.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top {
    margin-bottom: 3px;
}
.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float:left;
    width: 155px;
    margin-bottom: 4px;
    margin-right: 5px;
}
.sp-initial-disabled  .sp-input-container {
    width: 70%;
}
.sp-input {
   border: 1px inset;
   padding: 5px !important;
   margin: 0;
   width: 100%;
   border-radius: 3px;
}

.sp-input.sp-validation-error {
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container {
    position: relative;
    padding: 20px;
}
.sp-picker-container {
    width: 300px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 24px;
    margin: 2px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el {
    position:relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 28px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

.sp-initial .sp-clear-display {
    background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:flex;
    *zoom: 1;
    *display: inline;
    background: #eee;
    vertical-align: middle;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #F0C49B;
    color: #111;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview {
    position:relative;    
    height: 20px;
    margin-right: 5px;
    flex: 1;
    z-index: 0;
}

.sp-palette {
    *width: 270px;
    max-width: 280px;
}
.sp-palette .sp-thumb-el {
    /*width:16px;
    height: 16px;
    margin:2px 1px;*/
    border: solid 1px #d0d0d0;
}

.sp-container {
    padding-bottom:0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: row;
}

.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el, .bg-transparent {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview, .sp-alpha, .sp-thumb-el {
    position:relative;    
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display:block;
    position:absolute;
    border: solid 1px rgba(0, 0, 0, 0.05);
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
    background-repeat:no-repeat;
    background-position: center;
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}

/** Customisation */
.sp-palette-button-container {
    text-align: center;
    margin-top: 10px;
    float: none;
}

.sp-palette-toggle {
    width: 100%;
}


.phone .sp-container.colPalette {
    top: 50px !important;
}


@media (max-width: 500px) {
    .sp-container {
        flex-direction: column;    
    }    
    
    .sp-palette-container {
        border-right: transparent;
    }

}
