/* This document contains bootstrap specific yet custom stuff ie unisite overrides */
/**********************************************************************************
Overrides for unisite grid layout
**********************************************************************************/
.rowLayout.border .rowCell {
    margin: 0px !important;
}
.rowLayout.border {
    border: 1px dotted #ccc;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.rowLayout.border .rowCell {
    margin: 0px !important;
}
.rowDesignMode {
    margin-left: 0px;
    margin-right: 0px;
    border: 1px dotted #337ab7;
}
.rowDesignModeDeleted {
    margin-left: 0px;
    margin-right: 0px;
    border: 1.5px dashed red;
}
.colDesignMode {
    padding: 4px;
}

.colDesignModeDeleted {
  padding: 4px;
  border-color: gray;
  border-width:3px;  
  border-style:dotted solid;
  background: repeating-linear-gradient(
      -55deg,
      #f6ba52,
      #f6ba52 10px,
      #ffd180 10px,
      #ffd180 20px
    );
}
div.createRelatedEntity > div.noPrint.zoneHeader {
    margin-left: 0px !important;
    margin-right: 0px !important;
    background-color: #B73333;
}
/**********************************************************************************
Zone Settings
**********************************************************************************/
.zoneSettingsRow {
    border: 1px solid #ccc;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: -1px;
}
.rowSettingsRowCol {
    padding:5px;
    background-color: #337ab7;
}
.zoneSettingsCol {
    border: 1px solid #ccc;
}
.zoneSettingsColWidth {
    width: 33.3333333%;
    float: left;
    padding: 2px;
}

.ZoneSettingsButton {
    float: right;
    color: #000;
    font-size: 15px;
}
.ZoneSettingsButton:hover {
    color: #fff;
}
.editBox-options .material-icons {
    float: left;
    font-size: 18px;
}

#zoneSettings-properties,
#modualSettings-properties {
    border: 1px solid #ccc;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
#zoneSettings-addRow,
#zoneSettings-copy,
#zoneSettings-pasteZone,
#zoneSettings-pasteZoneStructure,
#zoneSettings-addCol,
#zoneSettings-delRow,
#zoneSettings-hardDelRow,
#zoneSettings-restoreDelRow,
#zoneSettings-delCol,
#zoneSettings-hardDelCol,
#zoneSettings-restoreDelCol,
#zoneSettings-restoreDelEle,
#zoneSettings-addTabZone,
#zoneSettings-addTab,
#zoneSettings-tabSettings,
#zoneSettings-mirrorCopy,
#zoneSettings-pasteMirrorZone {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.elementSettings-items {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* HIGHLIGHT ELEMENT STYLES*/
body.zoneHighlightActive {
  pointer-events:  none;
}

.zoneHighlight {
  box-shadow: 0 0 0 99999px rgba(0, 0, 0, .8);
  position: relative;
  z-index: 9999;
  pointer-events:  auto;
  transition: all 0.5s ease;
}

.icon .spacer {
    padding: 0px;
}
/**********************************************************************************
Borderless Tables
**********************************************************************************/
.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
    border: none;
}

/**********************************************************************************
Property Display Form
**********************************************************************************/
.property-info {
    font-size: 10px;
}
label {
    font-weight: normal;
}

/**********************************************************************************
Validation Error Message Below Input
**********************************************************************************/
.error-help {
    color: #a94442;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}

/**********************************************************************************
Calendar 2.0 Fixes
**********************************************************************************/
/* Link To Task Container */
.multiselect-container {
    padding: 10px !important;
}
.multiselect-clear-filter i {
    font-size: 20px;
}
.multiselect-item.multiselect-group {
    border-bottom: 1px solid #ccc;
}
    
/* Small devices (tablets, 768px and smaller) */
@media (max-width: 768px) { 
    #butCont {
        display: none;
    }
    .fc .fc-header-space {
        padding-left: 5px !important;
    }
    .fc-state-active {
        display: none !important;
    }
    #calDiv > div > div, #calDiv > div > div > table, #calDiv > div > div > div > div {
        height: 700px !important;
    }
    #headingOne > h4 {
        font-size: 12px;
    }
    .fc-button-prev, .fc-button-next {
        padding: 0px !important;
    }
    .fc-header-center {
        white-space: normal;
    }
    td.fc-header-center > span > h2 {
        white-space: normal;
        font-size: 12px !important;
        padding-top: 8px;
    }
    .fc-header-right .fc-header-space {
        display: none !important;
    }
    .fc-button-month {
        border-top-right-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
        margin-right: -1px !important;
    }
    .fc-button-resourceDay {
        border-top-left-radius: 0px !important;
        border-bottom-left-radius: 0px !important;
    }
}

/**********************************************************************************
Accounting
**********************************************************************************/
#TAccountTable tr td, #GeneralLedgerTable tr td, #TMonthlySummaryTable tr td, #TQuarterlySummaryTable tr td, #TDailySummaryTable tr td, #TDetailedRunningBalanceTable tr td, #trialbalance tr td, #ageAnalysisTable tr td, #ageAnalysisTable tr th, #vatReturnTable tr td, #vatReturnTable tr th, #accGeneralJournal tr th, #accGeneralJournal tr td, #displayAccount tr td, #displayAccount tr th {
    font-size: 10px;
}
.table-fixedHeader thead tr th {
    background-color: #fff;
}
.taeAmount, .taeRunningTotal {
    text-align: right !important;
}
.AccLedgerDetailsRight, .accTBDetailsRight {
    float: right;
    text-align: right;
    font-size: 10px;
}
.AccLedgerDetailsLeft, .accTBDetailsLeft {
    float: left;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
}
.accTBCat {
    font-weight: bold;
    font-size: 12px !important;
}
#accVatReturnLogo img {
    width: 100%;
}
#allcategories {
    border-bottom: 1px solid #ccc;
}
.catLi {
    list-style: none !important;
    width: 100%;
    /* background-color: #999; */
    padding: 10px 10px 1px 10px;
    border: 1px solid #ccc;
    border-bottom: none;
    font-size: 10px;
}
.catUl {
    padding: 0px;
    border-left: 1px solid #999;
    margin-top: 4px;
}
.catUl .catLi {
    padding: 5px 0px 0px 5px;
    border: none;
}
.catUl .catLi:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 3px;
    position: relative;
    left: -5px;
    border-top: 1px solid #999;
}
.catUl .catLi .catUl {
    margin-left: 4px;
    margin-top: -5px;
}
.catUl .catLi .catUl .catLi {
    padding-top: 6px;     
}
.text_filter.search_init {
    width: 100% !important;
}

/**********************************************************************************
Property Display Module Fixes
**********************************************************************************/
label {
    text-align: left !important;
}
input.checkbox-sm,
.checkbox-sm > input {
    width: 20px;
    height: 20px;
}
label.checkbox-sm {
    font-size: 20px;
}
/* Radio Button */
.radio-inline.checkbox-sm {
    padding-left: 20px;
}
.radio-inline.checkbox-sm > input {
    margin-left: -20px;
}

input.checkbox-md,
.checkbox-md > input {
    width: 30px;
    height: 30px;
}
label.checkbox-md {
    font-size: 30px;
}
/* Radio Button */
.radio-inline.checkbox-md {
    padding-left: 30px;
}
.radio-inline.checkbox-md > input {
    margin-left: -30px;
}

input.checkbox-lg,
.checkbox-lg > input {
    width: 50px;
    height: 50px;
}
label.checkbox-lg {
    font-size: 40px;
}
/* Radio Button */
.radio-inline.checkbox-lg {
    padding-left: 50px;
}
.radio-inline.checkbox-lg > input {
    margin-left: -50px;
}
/**********************************************************************************
Profile Popout
**********************************************************************************/
#profileContainer {
    width: 300px;
    padding: 15px;
}
#profileName {
    font-size: 14px;
    font-weight: bold;
}
#profileUser {
    font-size: 12px;
    font-style: italic;
}
#profileEmail {
    font-size: 12px;
}
#loginbox {
    
    width: 510px !important;
    padding: 15px !important;
}

/**********************************************************************************
BPA
**********************************************************************************/
#bpaColdCallTable tr td,#bpaColdCallTable tr th{
    font-size: 10px;
}

/**********************************************************************************
Action View Button
**********************************************************************************/
.avButton {
    text-decoration: none !important;
    margin-bottom: 10px !important;
}

/**********************************************************************************
Miscellaneous
**********************************************************************************/
.editFlow-type {
    margin: -3px -2px;
}
.editFlow a {
    color: #000 !important;
}
.editBox-options a {
    width: 120px !important;
}

.noUnderline {
    text-decoration: none !important;
}
.receiptInfoTable tr td {
    padding: 0px !important;
}

/**********************************************************************************
VRE
**********************************************************************************/
div#vreMultiSelect .btn-group button {
    width: 100%;
    text-align: left;
}
div#vreMultiSelect .btn-group {
    width: 100%;
}

/**********************************************************************************
AJAX Load
**********************************************************************************/
.ajaxLoad {
    width: 40px !important;
    height: 40px !important;
    background: transparent url('../../images/gif/ring-alt.svg') no-repeat center center !important;
    background-size: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.ajaxLoad-left {
    width: 40px !important;
    height: 40px !important;
    background: transparent url('../../images/gif/ring-alt.svg') no-repeat center center !important;
    background-size: 100% !important;
}

/**********************************************************************************
Quotations
**********************************************************************************/
#quotePricingTable tr th, #quotePricingTable thead tr td {
    text-align: center;
}
.quoteTable tr td, .quoteTable tr th {
    font-size: 10px;
}

/**********************************************************************************
Mega Menu
**********************************************************************************/
ul.dropdown-menu.mega-dropdown-menu.row {
    width: 1000%;

}
ul.dropdown-menu.mega-dropdown-menu.row a {
    text-decoration: none;
}
#uniBarDrop-MM {
    width: max-content;
}
#uniBarDrop-MM a {
    white-space: nowrap;
    font-size: 12px;
}

.mega-menu-level1 {
    list-style: none;
    padding: 0px;
}
.mega-menu-level1 li {
    list-style: none;
    padding: 0px;
}
.mega-menu-level1 li a {
    font-size: 10px;
}
.mega-menu-level2 {
    list-style: none;
    padding: 0px;
}
.mega-menu-level2 li {
    padding: 0px;
}

.mega-menu-level1 .dropdown-header, .mega-menu-level1 .dropdown-header a {
    padding: 0px;
    font-size: 12px;
}

@media (min-width: 767px) {
    .mega-menu-level1 .caret {
        transform: rotate(-90deg);
        margin-right: 2px;
    }
}

/**********************************************************************************
Navigation Preferences Page
**********************************************************************************/

/* Primary Navigation */
#primaryNav li span, #floatingNav_0 li span, #floatingNav_1 li span, #floatingNav_2 li span {
    border-bottom: none !important;
    padding: 0px !important;
}
.secondaryNav {
    padding: 0px;
    list-style: none;
    margin-top: 8px;
    border-top: 1px solid #dedede;
    padding-top: 8px;
}
#primaryNav > li:nth-child(1) > span > a {
    font-size: 15px;
    padding-top: 4px;
}
#primaryNav li span:hover, #floatingNav_0 li span:hover, #floatingNav_1 li span:hover, #floatingNav_2 li span:hover {
    background-color: transparent !important;
}
#primaryNav span.orph-page {
    font-size: 12px;
    padding-right: 5px !important;
}
.uniSyncTick {
    margin-left: 5px;
}
.navIcon {
    font-size: 15px;
    margin-left: 5px;
    margin-top: 3px;
}
.secondaryNav li {
    padding: 0px;
    list-style: none;
    margin-top: 8px;
    border-top: 1px solid #dedede;
    padding-top: 8px;
}
.secondaryNav li:nth-child(1) {
    list-style: none;
    margin-top: 0px;
    border-top: none;
    padding-top: 0px;
}
.secondaryNav li b.caret {
    transform: rotate(-90deg);
    margin-right: 5px;
}
.thirdNav {
    padding: 0px;
    margin-top: 8px;
    border-top: 1px solid #dedede;
    padding-top: 8px;
    list-style: none;
}
.thirdNav li {
    padding-left: 10px;
}
.fourthNav {
    padding: 0px;
    margin-top: 8px;
    border-top: 1px solid #dedede;
    padding-top: 8px;
    list-style: none;
}
.fourthNav li {
    padding-left: 1 0px;
}

/* Floating Navigation */
#floatingNav_0 li:nth-child(1) a, #floatingNav_1 li:nth-child(1) a, #floatingNav_2 li:nth-child(1) a {
    font-size: 15px;
    padding-top: 3px;
}



.mirroredZoneParent {
    border: 2px solid #79b639 !important;
}
.mirroredZoneParent > div > div.zoneHeader {
    background-color: #79b639 !important;
}
.mirroredZone {
    border: 2px solid #ff0000 !important;
}
.mirroredZone > div > div.zoneHeader {
    background-color: #ff0000 !important;
}

.modal {
    z-index: 999 !important;
}

.modal-open {
    position: initial;
}


.tab-pane {
    background: #fff;
    padding: 15px;
}

.embed-responsive-9by16 {
    padding-bottom: 177.78%;
}

/*---  VRE COLOUR STYLES ---*/
.legend {
    background-color: #fff;
}
.legend-group {
    padding: 2px;
    float: left;
    border: 1px solid #d2d2d2;
    margin-right: 5px;
    background-color: #fff;
}
.legend-group span {
    font-size: 12px;
    color: #999;
    line-height: 15px;
}
.legend-group-colour {
    width: 15px;
    height: 15px;
    float: left;
    margin-right: 5px;
}
.navbar-nav .dropdown-menu .caret {
    transform: rotate(-90deg) !important;
    margin-right: 2px !important;
}


input[type=checkbox], input[type=radio] {
    margin-top: 1px;
    line-height: normal;
    margin-right: 5px;
}
.rowDisabled {
    background-color: #ccc !important;
    color: #999 !important;
    pointer-events: none;
}
.rowDisabled td {
    color: inherit !important;
}


.fileDownloadProp {
    display: block !important;
    right: 1px;
    top: 1px;
    height: 34px;
    opacity: 0;
    width: 100%;
    background: none;
    position: absolute;
    overflow: hidden;
    z-index: 2;
}
.control-fileupload {
    display: block;
    border: 1px solid #d6d7d6;
    background: #FFF;
    border-radius: 4px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0px 10px 2px 10px;
    overflow: hidden;
    position: relative;
}
.control-fileupload:before {
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom-color: #b3b3b3;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;

    /* add more custom styles*/
    content: "Browse";
    display: block;
    position: absolute;
    z-index: 1;
    top: 2px;
    right: 2px;
    line-height: 20px;
    text-align: center;
}