

//overide ui-tree style
#ft-sidebar-left .btn,
#ft-sidebar-left .input-group-btn:last-child > .btn{
  margin-right: 0;
}
div[class*="ui-tree"] .btn{
  margin-right: 8px;
}
// end //overide ui-tree style


//default link color
#ft-wrapper a:hover, 
#ft-wrapper a:focus{
  color: $label-color;
}





#ft-wrapper, .templateWrap {



  // Icon margins
  .glyphicon.pull-left, .fa.pull-left {
    margin-right: 0.6em;
  }





  //style the control bar by : Them ta
  .navbar-left {
    @include f-flex();
  }





  hr.divider{
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.8), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.8), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.8), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.8), rgba(0,0,0,0));
    border: 0;
    margin-top: 8px;
  }

}




// Material Design overwrite
.ft-navbar-search{
  .form-group{
    margin-top: 0;
  }
}


legend{
  margin-bottom: 4px;
}

//checklist, radiolist
.form-group .checkbox .checklist:not(:last-child),
.form-group .radio .radiolist:not(:last-child){
  margin-right: 10px;

}

.help-block{
  position: relative!important;
}


//reduce forms vertical spacing
.form-group .form-control{
  margin-bottom: 0;
}

//reduce spacing for block components (i.e street address)
.ft-component-block {
  .form-group.label-placeholder{
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;

    label.mat-form-field-label {
      margin-top: 8px;
    }

    input{
      padding-top: 0;
    }

  }

}

// components bottom spacing
#menu-form{
  .form-group {
    padding-bottom: 7px;
    margin: 28px 0 0 0;
  }

}



// fixed on map components vertical spacing
.ft-address-left-panel .form-group{
  margin: 0!important;
}


//move checkbox to edged left
.checkbox label, label.checkbox-inline {
  padding-left: 0;

}


// adjust caret dropdown icon
.dropdownjs::after{
  top: 0;
}








//date-time styles

.datetime-picker-dropdown {
  .btn{
    padding: $padding-base-vertical $padding-base-horizontal;
  }
}

//Adjust bottom-left overlapping dropdown menu [dropdown.js Material Design]

.dropdownjs > ul[placement=bottom-left] {
           top: 30px;
         }
//Adjust placement=top-left overlapping dropdown menu [dropdown.js Material Design]

 .select-dropdown[class*="ng-empty"] + .dropdownjs > ul[placement=top-left] {
    bottom: 30px;
  }
  .select-dropdown[class*="ng-not-empty"] + .dropdownjs > ul[placement=top-left] {
    bottom: 42px;
  }

// Reduce menu item spacing [dropdown.js Material Design]

.dropdownjs > ul{
  padding: 8px 0;

  > li {
    padding: 5px 16px;
    &:hover{
      background: $md-dropdown-background-color;
      color: $text-color;
    }
  }
}

//Style for menu.html icons[chevron_right;keyboard_arrow_down]
#ft-sidebar-left {
  .chevron_right:after {
    content: 'chevron_right';
  }
  .keyboard_arrow_down:after {
    content: 'keyboard_arrow_down';
  }
}

//Fixed floating label if password autofill has value
.form-group.label-floating input.form-control:-webkit-autofill ~ label.mat-form-field-label {
  top: -30px;
  left: 0;
  font-size: 1.4rem;
  line-height: 1.07142857;
}



/* Change Autofill styles in Chrome*/
  :-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  textarea:-webkit-autofill:hover,
  textarea:-webkit-autofill:focus,
  select:-webkit-autofill,
  select:-webkit-autofill:hover,
  select:-webkit-autofill:focus {  
    background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2)!important;
    background-size: 0 2px, 100% 1px!important;
    background-repeat: no-repeat!important;
    background-position: center bottom, center calc(100% - 1px)!important;
    background-color: rgba(0, 0, 0, 0)!important;
    filter: none;
    -webkit-text-fill-color: $text-color!important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset!important;
    transition: background-color 5000s ease-in-out 0s!important;

    // temp fixed for chrome bug autofill issue
    font-size: 16px!important;  
  }
  :-moz-autofill, :-moz-autofill-preview {
    filter: grayscale(21%) brightness(88%) contrast(161%) invert(10%) sepia(40%) saturate(206%);
    text-decoration: none;
    outline: none;
  }










// 0013465: Move Notification messages so they do not obscure the account menu
.toast-top-right {
  top: 92px;
  right: 20px;
}

//14000: Audit view responsive fixed
.audit-container .replace,
.audit-container .equal,
.audit-container .delete {
  white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  white-space: pre-wrap;       /* css-3 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
  word-break: break-all;
  white-space: normal;
}


// loading spinner
.spinner-wrap-login{
  @include f-flex;
  @include f-flex-align-items-center;
  @include f-flex-justify-center;
  height: 100vh;
  margin-top: -90px;
  .loader{
    width: 100px;
    height: 100px;
    margin: 0;
  }
}

.loader {
  position: relative;
  margin: 0 auto;
  width: 24px;
  &:before {
    content: '';
    display: block;
    padding-top: 100%;
  }
}

.circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}




//end loading spinner



//about styles
.ft-about-us{
  .modal-header >h4{
    @include f-flex;
    @include f-flex-justify-center;
  }
  .modal-header .close {
    margin-top: -18px;
  }
  a{
    text-decoration: none;
    &:hover{
      color: $text-color;
    }
  }


}



// notyf styles here
.notyf{
  padding-top: 100px!important;
  overflow: auto;
  flex-flow: column;
}
.notyf .notyf__wrapper{
  width: 100%;
}
.notyf .notyf__toast {
    color: hsla(0,0%,100%,.7);    
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    min-height: 76px;
    height: auto;
    display: flex;
    align-items: stretch;
}

/**14753:Added custom class for  message-type, notyf warning and notyf info options*/
.notyf-warning{
  background: orange;
}
.notyf-info{
  background: blue;
}
.notyf-message-type{
  display:none;
}



// end  notyf styles here