/*Add cases for bootstrap to be compatible with ng-switch elements inside button group*/
.dropdown-menu > ng-switch > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > ng-switch > li > a:hover,
.dropdown-menu > ng-switch > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.btn-group > ng-switch {
    position: relative;
    float: left;
}

.previewRow {
    background-color: #dbebfc !important;
}

.center-align {
    text-align: center;
}

.input-wrap {
    border: solid 1px #bbbbbb;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: -2px 2px 3px -3px rgba(0,0,0,1);
}

.button-placer {
    position: relative;
    top:-10px;
}

.displayedInputContainer {
    border-radius: 5px;
    color: #888888;
}

div.displayedInputContainer:hover {
    background: #eeeeee;
    color: #444444;
}

.key-value-field-wrapper {
    border: 1px solid #bbbbbb;
    margin: 5px;
    border-radius: 5px;
    padding-top: 5px;
}

.radioLabel {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
}

.cursorPointer {
    cursor: pointer;
}
.cursorDefault {
    cursor: default;
}

.cursorPointer :hover {
    color: #dc5c52;
}

.standardLabel {
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 3px;
    color: #fefefe;
    float: left;
}

.inputName {
    color: #444444;
    text-align: right;
    padding: 5px;
}

.inputName:hover {
    color: #000000;
    font-weight: bold;
    padding: 5px;
    background-color: #eeeeee;
}

.builder-page-header {
    background: #535E71;
    color: #fff;
    height: 64px;
    line-height: 64px;
    margin: 0 -15px;
    margin-bottom: 30px;
}

.builder-page-header h2 {
    line-height: 60px;
    margin: 0;
    padding: 0;
    margin-left: 25px;
}

.opacity50 {
    transition-property: opacity;
    transition-duration: 1s;
    opacity: 0.4;
}

.redBorder {
    border: 2px solid #dc5c52 !important;
}

.bottom10 {
    margin-bottom: 10px;
}

.bottom5 {
    margin-bottom: 5px;
}

.hr10 {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eee -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-style: solid none none;
    border-width: 1px 0 0;
    margin-bottom: 10px;
    margin-top: 10px;
}

.font12 {
    font-size: 12px;
}

.font10 {
    font-size: 10px;
}

.inlineLabel {
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
}

.infoText {
    text-decoration: underline;
    font-style: italic;
}

.selected {
    background-color: #eeeeee;
}

.modal-content {
    overflow: hidden;
}

.dataTables_wrapper table tbody tr td div.row {
    margin-top: 0px;
}

.modal-body-content {
    width: 100%;
    height: 100%;
}

.modal-body-height {
    height: 700px;
}

.right15 {
    margin-right:15px;
}

.datepicker-popup-position {
    position: relative;
}


.input-group.datepicker-popup-position {
    width: 22em;
}

.datepicker-popup-position .dropdown-menu {
    left: auto !important;
    right: 0px;
}

#errorDisplay {
    width: 50px;
    color: #f5f5f5;
    text-align: center;
    padding: 5px;
    background-color: #dc5c52;
    cursor: pointer;
    box-shadow: 2px 2px 2px rgba(150, 150, 150, 0.5);
}

.nav > li > a.hide-hover:hover,
.nav > li > a.hide-hover:focus {
    text-decoration: none;
    background-color:transparent;
}
.nav-tabs > li > a.hide-border {
    border: none;
}

.row-well {
    background-color: #dbebfc;
    border-radius: 10px;
    padding: 5px
}

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.jahia-admin-copyright {
    line-height: 30px;
    color: #999;
}
div.activeColumn {
    outline: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 3px solid #ffc700;
    border-radius: 7px;
}
div.activeColumn:focus {
    outline:none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 3px solid #ffc700;
    border-radius: 7px;
}
div.inActiveColumn:focus {
    outline:none;
}

.fa-sm {
    font-size: 0.80em;
}

.fa-xs {
    font-size: 0.60em;
}

ff-action-display .panel:first-child{
    border: 1px solid #ccc;
}

.remove-text-decoration a {
    text-decoration: none;
}

.top10 {
    margin-top: 10px;
}

.movingInput{
    border: 2px solid #3E73A9;
    border-radius:2px;
}

ul[dnd-list] .dndDraggingSource {
    display: none;
}
ul[dnd-list] > li {
    position: relative;
}
ul[dnd-list] .dndPlaceholder {
    display: block;
    background-color: #ddd;
    min-height: 32px;
}
ul[dnd-list].kv-list-group .dndPlaceholder{
    min-height: 66px !important;
    border-radius: 5px;
    padding-left:5px;
}
.kv-list-item {
    border:none;
    padding: 0 0;
}
.topCountryLabel {
    color: #75A7FF;
    font-size:85%;
}
.right10 {
    margin-right:10px;
}
.top2 {
    margin-top:2px;
}

.mappedInput {
    border: 2px solid #3E73A9;
    border-radius:2px;
}

.inline-block {
    display: inline-block;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.form-tab:hover {
    border-color: transparent !important;
    background-color:transparent !important;
    color:#294d71;
}

.form-tab {
    border-color: transparent !important;
    background-color:transparent !important;
    color:#3E73A9;
}

.contentDisplayTitle {
    padding-left:10px;
    padding-right:10px;
    position:relative;
    height:20px;
    top:-30px;
    background-color:#ffffff;
}

.contentDisplayBody {
    padding: 10px;
}

.preventSelect {
    user-select: none;
}

.numberOn {
    -webkit-text-stroke: 1.4px #f0c20e;
    -webkit-text-fill-color: #ddf034;
}
.numberCurrent {
    -webkit-text-stroke: 1.4px #F0BA26;
    -webkit-text-fill-color: #FFDA61;
    opacity:.7;
}
.numberHover:hover {
    -webkit-text-stroke: 1.4px #f0c20e;
    -webkit-text-fill-color: #FFFFFF;
}
.numberOff {
    -webkit-text-stroke: 1.4px #A1A1A1;
    -webkit-text-fill-color: #DDD5E0;
}
.noOutline {
    outline: none !important;
}

.visible-toggle-container {
    z-index:1000;
    position:absolute;
    width:100%;
    max-width: 24px;
    top:0;
    right:5px;
}
.key-value-selected-container {
    max-width: 68px;
    float: left;
    clear:right;
}
.visible-toggle {
    cursor:pointer;
    float:right;
}

.visible-toggle-on {
    color: #305a84;
}

.visible-toggle-off {
    opacity: .7;
    background-color: rgba(236, 236, 236, 0.5);
}

div.rhd-img-responsive img{
    max-width:100%;
    height:auto;
    display: block;
}

.ffHoverGrey:hover {
    background-color: rgb(245, 245, 245);
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-right-10 {
    margin-right: 10px;
}

/*ADDED ON NOV 6 2017*/

.builder-page-header {
    background: rgb(0,160,227);
}

.builder-page-header h2 {
    line-height: 64px;
}

.side-panel header {
    background: #fff !important;
}

.side-panel-nav>li>a:hover {
    background: #eee;
    border-color: #eee #eee #e8e8e8 #eee;
}

.input-group-btn button {
    background: #fff !important;
    padding-top: 2px !important;
    padding-bottom: 1px !important;
}

.panel-body .input-group-btn button {
    padding-bottom: 6px !important;
    padding-top: 6px !important;
}

.panel-body .datepicker_wrapper .input-group-btn button {
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}

.panel {
    margin: 8px 0 !important;
    border: none;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    min-height: 32px;
    border-radius: 2px;
}

.input-wrap {
    margin: 8px 0 !important;
    border: none;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
    box-shadow: 0 1px 1px rgba(0,0,0,.15) !important;
    min-height: 32px;
    border-radius: 2px;
    padding-top: 20px;
}

.panel .panel-heading {
    color: rgba(0, 0, 0, 0.87);
    background: none;
    border: none;
    padding: 16px;
}

.panel-body .input-group button.btn.btn-primary:nth-child(2) {
    background: none !important;
    border: none !important;
    color: #ffab02 !important;
}

.nav-tabs:not(.side-panel-nav) li a span:first-child {
    padding-right: 16px !important;
    font-size: 18px !important;
}

button.btn.btn-primary {
    background-color: #ffab02 !important;
    border-color: #ffab02 !important;
}

button.btn.btn-primary:hover,
button.btn.btn-primary:focus,
button.btn.btn-primary:active {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
}

a.btn.btn-primary {
    background-color: #ffab02 !important;
    border-color: #ffab02 !important;
}

a.btn.btn-primary:hover,
a.btn.btn-primary:focus,
a.btn.btn-primary:active {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
}

a.form-tab,
.form-tab {
    color: rgba(0, 0, 0, 0.64) !important;
}

.formsLinkButton {
    color: rgba(0, 0, 0, 0.64) !important;
}

button.btn.btn-default.btn-xs,
.btn-group.btn-group-xs button,
.layoutRowControls button {
    border: none !important;
    background: none !important;
}

button.btn.btn-danger.btn-xs {
    background: none !important;
    border: none !important;
    color: #F44336 !important;
}

.text-right.layoutColControls {
    padding-bottom: 10px;
    width: 100%;
    padding-right: 16px;
}

div.activeColumn,
div.activeColumn:focus {
    border: 2px solid #00a0e3;
    border-radius: 3px;
}

.material-icons {
    font-size: 20px !important;
    line-height: 1.4 !important;
}

.switch.checked {
    background: rgb(255, 171, 2);
    border-color: rgb(255, 171, 2);
}

.modal-content .modal-header,
.modal-content .modal-footer {
    background-color: #fff !important;
    color: rgba(0, 0, 0, 0.84) !important;
    border: none;
}

.modal-content i.material-icons {
    margin-top: -3px;
    padding-top: 0;
    line-height: 1 !important;
    font-size: 18px !important;
    vertical-align: middle;
}

/*END ADDED ON NOV 6 2017*/

header > h4 {
    color: #888888;
}

.dropdown-menu>li.dt-button>a:hover, .dropdown-menu>li.dt-button>a:focus {
    background-color: transparent !important;
}

.selectedAccordionRow {
    color: #888888;
}

.fieldSelectorSelectedLabel {
    color: #75A7FF;
    font-size:85%;
}

.fieldSelectorInfoText {
    border-radius: 6px;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
}

.deselectIcon {
    left: 80%;
    position: relative;
}

.uib-tooltip-container-200 {
    min-width: 200px;
    text-align:justify;
}


.shareButton {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00A0E3;
    border: none;
    border-radius: 2px;
    padding: 5px 8px;
    color: white;
}

.shareButtonIcons {
    display: flex;
    align-items: center;
}

.shareButtonText {
    margin-left: 10px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    align-items: center;
    text-align: center;
}

#principals {
    list-style: none;
}

#principals > li {
    padding: 10px;
    display: flex;
    cursor: pointer;
}

#principals > li > input {
    background: #FFFFFF;
    border: 2px solid #323232;
    box-sizing: border-box;
    border-radius: 2px;
    margin-right: 10px;
}

.principalSelect {
    color: white;
    background: #00A0E3;
}

.dialogFormName {
    color: #666666;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
}

.permissionsDTTD {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
