@import 'def';
//@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800');

/* montserrat-100 - latin-ext_latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: local('Montserrat Thin'), local('Montserrat-Thin'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-100italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: local('Montserrat Thin Italic'), local('Montserrat-ThinItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-100italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-100italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-200italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: local('Montserrat ExtraLight Italic'), local('Montserrat-ExtraLightItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-300 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: local('Montserrat Light'), local('Montserrat-Light'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-200 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: local('Montserrat ExtraLight'), local('Montserrat-ExtraLight'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-300italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: local('Montserrat Light Italic'), local('Montserrat-LightItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-regular - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local('Montserrat Regular'), local('Montserrat-Regular'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-500 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: local('Montserrat Medium'), local('Montserrat-Medium'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: local('Montserrat Italic'), local('Montserrat-Italic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-500italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: local('Montserrat Medium Italic'), local('Montserrat-MediumItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-600 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-600italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: local('Montserrat SemiBold Italic'), local('Montserrat-SemiBoldItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-700italic - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: local('Montserrat Bold Italic'), local('Montserrat-BoldItalic'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-700 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: local('Montserrat Bold'), local('Montserrat-Bold'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* montserrat-800 - latin-ext_latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'),
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/app/core/fonts/montserrat-v13-latin-ext_latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }


$cardpadding: 20px 25px;

html {
    height:100%;
}

a {
    cursor:pointer;
}

body {
    font-family:'Montserrat', sans-serif!important;
    padding:65px 0 0 0;
    @include themify($themes) {
        font-size:themed('bodysize');
        background-color:themed('bodybg');
    }
    font-weight:400;
    height:100%;
    overflow-x: hidden;
}
.bg {
    position: fixed;
    width:100%;
    height:100%;
    z-index:0;
    @include themify($themes) {
        background-color:themed('bodybg');
      }

      i {
        font-size:300px;
        position: absolute;
        top:-175px;
        left:0px;
        opacity:0.5;
        @include themify($themes) {
            color: themed('cardbg');
         }
      }

}

.alertborder {
    @include themify($themes) {
        border-color: themed('alert')!important;
    } 
}

.wrapper {
    @include themify($themes) {
        background-color:themed('bodybg');
        color: themed('txtcolor1');
        height:100%;
      }
}

.container-fluid {
    padding-right: 40px;
    padding-left: 40px;
    
    > .row {
    margin-top:25px; 
    }
}

h1,h2,h3,h4,h5,h6,p,a,ul,li{
    font-family:'Montserrat', sans-serif!important;

}

.cursor-clear, .cursor-clear * {
    cursor: default!important;
}

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

i.icon-start {
    @include themify($themes) {
        color:themed('operations')!important;
    }
    span {
        @include themify($themes) {
            color:themed('txtcolor100')!important;
        }
    }
}

i.icon-stop {
    @include themify($themes) {
        color:themed('alert')!important;
    }
    span {
        @include themify($themes) {
            color:themed('txtcolor100')!important;
        }
    }
}

.icon-service + .icon-plusvirtual {
    transform: translate(2px, 0px);
}

.icon-radio + .icon-plusvirtual {
    transform: translate(10px, 0px);
}

.icon-alert + .icon-plusvirtual, .icon-warning + .icon-plusvirtual {
    transform: translate(2px, -6px);
}

i.icon-cirk_bg {
    transform: translateX(20%);
}

h1 {
    @include themify($themes) {
        font-size: themed('h1');
        color: themed('txtcolor100');
    }
}

h2 {
    @include themify($themes) {
        font-size: themed('h2');
        color: themed('txtcolor1');
    }
}

h5 {
    @include themify($themes) {
        color: themed('txtcolor100');
    }
}

h1, h2 {
    font-weight:400;
}

p {
    @include themify($themes) {
        font-size: themed('p');
    }
    font-weight: 300;
}

a {
    &:hover {
        text-decoration: none;
    }
}

.color-ok {
    @include themify($themes) {
        color:themed('operations')!important;
    }
}

.color-power {
    @include themify($themes) {
        color:themed('barvalue')!important;
    }
}

.color-predictor {
    @include themify($themes) {
        color:themed('predictor')!important;
    }
}

.color-virtual {
    @include themify($themes) {
        color:themed('virtual')!important;
    }
}

.color-wind {
    @include themify($themes) {
     color:themed('service')!important;
    }
}

.color-alert {
    @include themify($themes) {
        color:themed('alert')!important;
    }
}

.color-warning {
    @include themify($themes) {
        color:themed('warning')!important;
    }
}

.color-service {
    @include themify($themes) {
        color:themed('service')!important;
    }
}

.color-unknown {
    @include themify($themes) {
        color:themed('unknown')!important;
    }
}

.color-comm {
    @include themify($themes) {
        color:themed('comm')!important;
    }
}

.color-100 {
    @include themify($themes) {
        color:themed('txtcolor100')!important;
    }
}

.online1 {
    @include themify($themes) {
        color:themed('online1')!important;
    }
}
.online2 {
    @include themify($themes) {
        color:themed('online2')!important;
    }
}
.online3 {
    @include themify($themes) {
        color:themed('online3')!important;
    }
}
.online4 {
    @include themify($themes) {
        color:themed('online4')!important;
    }
}
.online5 {
    @include themify($themes) {
        color:themed('online5')!important;
    }
}
.online6 {
    @include themify($themes) {
        color:themed('online6')!important;
    }
}
.online7 {
    @include themify($themes) {
        color:themed('online7')!important;
    }
}
.online8 {
    @include themify($themes) {
        color:themed('online8')!important;
    }
}

.bg-online1 {
    @include themify($themes) {
        background-color:themed('online1')!important;
    }
}
.bg-online2 {
    @include themify($themes) {
        background-color:themed('online2')!important;
    }
}
.bg-online3 {
    @include themify($themes) {
        background-color:themed('online3')!important;
    }
}
.bg-online4 {
    @include themify($themes) {
        background-color:themed('online4')!important;
    }
}
.bg-online5 {
    @include themify($themes) {
        background-color:themed('online5')!important;
    }
}
.bg-online6 {
    @include themify($themes) {
        background-color:themed('online6')!important;
    }
}
.bg-online7 {
    @include themify($themes) {
        background-color:themed('online7')!important;
    }
}
.bg-online8 {
    @include themify($themes) {
        background-color:themed('online8')!important;
    }
}

.bg-alert {
    @include themify($themes) {
        background-color:themed('alert')!important;
    }
}

.bg-warning {
    @include themify($themes) {
        background-color:themed('themed('warning')')!important;
    }
}

.bg-service {
    @include themify($themes) {
        background-color:themed('service')!important;
    }
}

.bg-green {
    @include themify($themes) {
        background-color:themed('grassgreen')!important;
    }
}

.bg-blue {
    @include themify($themes) {
        background-color:themed('windblue')!important;
    }
}

.bg-neutral {
    @include themify($themes) {
        background-color:themed('neutral')!important;
    }
}

.bg-predictor {
    @include themify($themes) {
        background-color:themed('predictor')!important;
    }
}

.bg-virtual {
    @include themify($themes) {
        background-color:themed('virtual')!important;
    }
}

.bg-unknown {
    @include themify($themes) {
        background-color:themed('unknown')!important;
    }
}


/* standard button */

button.btn {
    padding: 0px 20px;
    font-size: 15px;
    height: 33px;
    @include themify($themes) {
        background-color: themed('menudropitemhover');
        color: themed('txtcolor100');
    }
}


/* backlink */

a.backlink {
    display: inline-block;
    margin: 5px 15px 10px 0;
    font-size:14px;
    @include themify($themes) {
        color: themed('txtcolor100');
    }
}

/* Filter indicator */

p.filterindicator {
    display: inline-block;
    height:26px;
    border-radius:13px;
    padding: 2px 20px 0px 20px;
    font-weight: 400;
    @include themify($themes) {
        color: themed('txtcolor100');
        background-color: themed('focusborder');
    }
}


/* Custom form elements */

input[type="text"]:disabled { 

    @include themify($themes) {
        color: themed('txtcolor2') !important;
        background-color: themed('barbg') !important;
    }
}

.inputwrapper input, .inputwrapper .imageinput {

}

.inputwrapper {

    input, textarea {
        @include themify($themes) {
            border: 1px solid themed('trBorderColor');
            background-color: themed('bodybg');
            color: themed('txtcolor100');
        }
        font-size:14px;
        padding:5px 10px;
        vertical-align: top; 
        width:auto;
        
        &::placeholder {
            @include themify($themes) {
                font-size:14px;
                font-weight: 300;
                color:themed('txtcolor100');
            }
        }
    }

    .dropdown {
        .icon-down {
            pointer-events: none;
        }
    }

    .dropdown-toggle {
        cursor:pointer;

    }
    
    .dropdown-menu {
        font-size: 14px;
        /*width: calc(100% + 55px);*/
        @include themify($themes) {
            border: 1px solid themed('trBorderColor');
            background-color: themed('bodybg');
            color: themed('txtcolor100');
            border-radius: 0px;          
        }

        table {
            width:100%;

           
            tr {
                border-bottom:none;
                height:25px;
                cursor: pointer;
                &:hover {
                    

                    @include themify($themes) {
                        font-size:14px;
                        font-weight: 300;
                        background-color:themed('navbg');
                    }
                }
                
                td {
                        padding: 8px 15px;
                   
                    }
                }
            }
    }


}

.imageinput {
    position: relative; 
    display: inline-block;
    margin-right: 20px;
    width:200px;  
    vertical-align: top;
    
    &.recipients {
        margin-bottom:4px; 
        width:100%;
        input {
            width:100%;
        }
        img {
            right:0px;
        }
    }

    .dropdown-menu {
        img {
            position: relative;
            margin-right:10px;
            padding:0px;
            height:14px;
        }
    }  
    input {
        padding-right: 30px;
    }

    img {
        position: absolute;
        right: -8px;
        padding: 10px 12px;
        pointer-events: none;
        top: 0px;
        z-index:999;
        height: 32px;
    }

    i {
        position:absolute;
        transform: translate(-28px, 5px);
        &.icon-search {
            transform: translate(-28px, 3px);
        }
    }
}

.notlr {
    border-top-left-radius: 0px!important;
}

.notrr {
    border-top-right-radius: 0px!important;
}

.noblr {
    border-bottom-left-radius: 0px!important;
}

.nobrr {
    border-bottom-right-radius: 0px!important;
}

.w100 {
    width:100%;
}

.nomargin { 
    margin-top:0!important;
    margin-bottom:0!important;    
    margin-right:0!important;    
    margin-left:0!important;
}

.nopadding { 
    padding-top:0!important;
    padding-bottom:0!important;    
    padding-right:0!important;    
    padding-left:0!important;
}

/* CARDS */

.scadacard {
    border-radius: 10px;
    border:none;
    padding: $cardpadding;
    position:relative;
    overflow: hidden;
    transition: all 0.4s;

    @include themify($themes) {
        background-color: themed('cardbg');
    }

    &.level1 {
        box-shadow: 0px 0px 10px rgba(0,0,0,0.05);

    }

    &.level2 {
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);

    }

    &.nopadding {
        padding:0;
    }
}    

#monitorwrapper {
    overflow-y:visible;
    margin-bottom:30px;

    .border-bottom {
        @include themify($themes) {
            border-bottom:1px solid themed('trbordercolor');
        }
    }
}

#mapmonitorwrapper {
    padding:0;
}

.loader{
    margin: 0 50%;
    height: auto;
    width: 40px;
    text-align: center;
    padding-top: 1em;
    display: inline-block;
    vertical-align: top;
  }
  
  
  svg path,svg rect{
    //fill: #ccc;
  }



 /* Custom Chrome Scroll bars */

 ::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0,0,0,0);
    -webkit-border-radius: 100px;
  }
  ::-webkit-scrollbar:hover {
    background-color: rgba(0, 0, 0, 0.09);
  }
  
  ::-webkit-scrollbar-thumb:vertical {
    background: rgba(0,0,0,0.5);
    -webkit-border-radius: 100px;
  }
  ::-webkit-scrollbar-thumb:vertical:active {
    background: rgba(0,0,0,0.61); 
    -webkit-border-radius: 100px;
  }

  ::-webkit-scrollbar-thumb:horizontal {
    background: rgba(0,0,0,0.5);
    -webkit-border-radius: 100px;
    height:8px;

  }
  ::-webkit-scrollbar-thumb:horizontal:active {
    background: rgba(0,0,0,0.61); 
    -webkit-border-radius: 100px;
    height:8px;
  }


.tooltip-inner {
    max-width: 600px;
    font-family:'Montserrat', sans-serif!important;
    font-size: 13px;
    padding: 3px 8px;
    text-align: left;
    border-radius: .25rem;

    @include themify($themes) {
        background-color: themed('label-count-bg');
        color:themed('color0');
    }
    p {
        font-weight: 500;
    }

    hr {
        margin:5px 0;
    }

    span {
        display:inline-block;
    }

    .tooltip-header {
        margin: -3px -8px 6px -8px;
        padding: 3px 8px;
        background:#ddd;
        text-align: center;
        font-weight: bold;
        border-radius: .25rem .25rem 0 0 ;
    }

    .icon-stack {
        float: left;
        width:25px;
        height:15px;
    }

    
}




.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 5px 5px 0;
    @include themify($themes) {
        border-top-color: themed('label-count-bg');
    }
}

.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {
    margin-top: -3px;
    content: "";
    border-width: 5px 5px 5px 0;
    @include themify($themes) {
        border-right-color: themed('label-count-bg');
    }
}

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 0 5px 5px;
    @include themify($themes) {
        border-bottom-color: themed('label-count-bg');
    }
}

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
    right: 0;
    margin-top: -3px;
    content: "";
    border-width: 5px 0 5px 5px;

    @include themify($themes) {
        border-left-color: themed('label-count-bg');
    }
}



/* Custom alert tooltips */



.tooltip-alert .tooltip-inner {
    @include themify($themes) {
        background-color: themed('alert')!important;
        color:themed('txtcolor100')!important;
    }  }
  .tooltip-alert.bs-tooltip-top .arrow:before {
    @include themify($themes) {
        border-top-color: themed('alert')!important;
    }
  }
  .tooltip-alert.bs-tooltip-right .arrow:before {
    @include themify($themes) {
        border-right-color: themed('alert')!important;
    }
  }
  .tooltip-alert.bs-tooltip-left .arrow:before {
    @include themify($themes) {
        border-left-color: themed('alert')!important;
    }
  }
  .tooltip-alert.bs-tooltip-bottom .arrow:before {
    @include themify($themes) {
        border-bottom-color: themed('alert')!important;
    }
  }

.alert {
    border:none;
}

.alert-success {
    @include themify($themes) {
        background-color: themed('grassgreen');
    }
    color:#fff;
}

.alert-info {
    @include themify($themes) {
        background-color: themed('warning');
    }
}

.alert-warning {
    @include themify($themes) {
        background-color: themed('alert');
    }
    color:#fff;
}

.icon-stack {
    position: relative;

    i {
        position:absolute;
        display:block;
        padding:0;
        margin:0;
        top:0px;
        left:0px;
    }

    .icon-tri_bg, .icon-cirk_bg {
        color:#fff;
    } 
} 

/* Material form elements */
.theme-light {
    .modal-body {

            input:not([type]),
            input[type=text],
            input[type=password],
            input[type=email],
            input[type=url],
            input[type=time],
            input[type=date],
            input[type=datetime-local],
            input[type=tel],
            input[type=number],
            input[type=search] { 
                   border:1px solid #999 !important;   
            }
        
    }
}


    .material-input {
      position: relative;
      margin-bottom: 0px;
      display: inline-block;

        &+.sort-arrows {
            transform: translateY(4px);
        }

      input {
        background-color: transparent;
     
      }

      i {
        position:absolute;
        top:0px; 
        right:0px;
       // z-index:9999;
        transform: translate(-8px, 5px);
        &.icon-search {
            transform: translate(-8px, 3px);
        }
    }

    .validationIconStackWrapper {
        position:absolute;
        font-size:16px;
        top:-2px; 
        right:20px;
        display: none;  
        .icon-cirk_bg {
            transform: matrix(0.7, 0, 0, 0.7, -5, 5);
        }
    }

      label {
        text-overflow: ellipsis;
        white-space: nowrap; 
        overflow: hidden;
        padding-right:30px;
        @include themify($themes) {
            color: themed('txtcolor100');
        }
  
        font-size: 10px;
        position: absolute;
        pointer-events: none;
        top: 5px;
        left:10px;
        transition: 0.2s ease all;
        width: 100%;
      }

      input:not([type]),
      input[type=text],
      input[type=password],
      input[type=email],
      input[type=url],
      input[type=time],
      input[type=date],
      input[type=datetime-local],
      input[type=tel],
      input[type=number],
      input[type=search] {

        @include themify($themes) {
            color: themed('txtcolor100');
        }

        font-size: 14px;
        padding: 5px 10px;
        position: relative;
        display: block;
        border: none;
        width: 100%;
        //border: 1px solid #d5d5d5;

        @include themify($themes) {
            border: 1px solid themed('trBorderColor');
            background: themed('bodybg');

        }

        &:focus {
          outline: none;
        }

        &:focus + label,
        &:valid + label 
        {
          top: -17px;
          left:0px;
          font-size: 12px;

          @include themify($themes) {
            color: themed('txtcolor2');
        }

        }

        &:focus ~ .bar:before,
        &:focus ~ .bar:after,
        &:valid ~ .bar:before,
        &:valid ~ .bar:after {
          width: 51%;
          
          @include themify($themes) {
            color: themed('trBorderColor');
        }

        border-bottom: 0px;
        }
      }
      
      .bar {
        position: relative;
        display: block;
        width: 100%;
        &:before,
        &:after {
          content: '';
          height: 2px;
          width: 0px;
          position: absolute;
          bottom: 0.5px;

          @include themify($themes) {
            color: themed('trBorderColor');
        }

          transition: 0.2s ease all;
          -moz-transition: 0.2s ease all;
          -webkit-transition: 0.2s ease all;
        }
        &:before {
          left: 51%;
        }
        &:after {
          right: 49%;
        }
        & + label:after {
          display: block;
          content: "";
          position: absolute;
          top: 65px;
          opacity: 0;
          transition: 0.2s opacity ease-out, 0.2s color ease-out;
          -moz-transition: 0.2s opacity ease-out, 0.2s color ease-out;
          -webkit-transition: 0.2s opacity ease-out, 0.2s color ease-out;
        }
      }

      select {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        background-color: transparent;
        color: #333;
        font-size: 16px;
        padding: 10px 10px 10px 0;
        position: relative;
        display: block;
        width: 300px;
        border: none;
        border-bottom: 1px solid #d5d5d5;
        border-radius: 0;
        &:focus {
          outline: none;
        }
      }
      select + .icon-arrow-down {
        position: absolute;
        float: right;
      }

      select option:checked + label {
        display: none;
      }

      input[type="radio"] + label {
        pointer-events: all;
      }

      input[type="radio"]:not(:checked),
      input[type="radio"]:checked {
        position: absolute;
        left: -9999px;
      }
      input[type="radio"]:not(:checked) + label,
      input[type="radio"]:checked + label {
        position: relative;
        padding-left: 35px;
        padding-top: 4px;
        cursor: pointer;
        width: 100%;
        display: inline;
      }
      input[type="radio"]:not(:checked) + label:before,
      input[type="radio"]:checked + label:before,
      input[type="radio"]:not(:checked) + label:after,
      input[type="radio"]:checked + label:after {
        content: '';
        position: absolute;
        left: 0;
        top: 2px;
        width: 24px;
        height: 24px;
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
      }
      input[type="radio"]:not(:checked) + label:before,
      input[type="radio"]:checked + label:before {
        border: 1.5px solid #b9b9ba;
      }
      input[type="radio"]:checked + label:before {
        border: 1px solid #49ba8e;
      }
      input[type="radio"]:not(:checked) + label:before,
      input[type="radio"]:checked + label:before {
        border-radius: 50%;
      }
      input[type="radio"]:not(:checked) + label:after,
      input[type="radio"]:checked + label:after {
        font-size: 9px;
        color: #fff;
        background: #49ba8e;
      }
      input[type="radio"]:not(:checked) + label:after {
        transform: scale(0,0);
      }
      input[type="radio"]:checked + label:after {
        transform: scale(1,1);
      }
      input[type="radio"]:checked + label:after {
        border-radius: 50%;
        width: 16px;
        height: 16px;
        left: 5px;
        top: 7px;
      }

    }


    .btn {
        margin-bottom:10px;
    }

    /* Modals */

    @media (min-width: 1200px) {
        .modal-lg {
            max-width: 950px;
        }
    }
    .modal-header {
        @include themify($themes) {
            background-color: themed('navbg');
        }
        border:none;

        h5 {
            font-size:15px;
        }
        button span{
            @include themify($themes) {
                color: themed('txtcolor100');
            }
        }
    }

    .modal-content {
        z-index:9999;
        border-radius:15px;
        .modal-body {
            padding:0px;
            @include themify($themes) {
                background-color: themed('bodybg');
            }
        }

        .inputwrapper {
            &>p:first-child {
                margin:10px 0 5px 0;
            }
        }

        textarea {
            @include themify($themes) {
                color: themed('txtcolor100');
                background-color: themed('bodybg');
                border: 1px solid themed('trBorderColor');

            }
        }
    }

    .modal-footer {
        @include themify($themes) {
            background-color: themed('bodybg');
            border-top-color: themed('crumbdropitemhover');

        }
        .btn {
            margin-bottom:0px;
            @include themify($themes) {
                background-color: themed('navbg');
            }
        }
    }

    .btn.focus, .btn:focus {
        box-shadow: none;
    }



.checkboxwrapper {
    display: inline-block;
    //margin-right:25px;
    padding-top:4px;
    label {
        margin-bottom: 5px;
        font-size:14px;
        i {
            margin-left:-10px;
        }
    }


    input[type="checkbox"] {
        position: absolute; // take it out of document flow
        opacity: 0; // hide it
    
        & + label {
        position: relative;
        cursor: pointer;
        padding: 0;
        }
        
        // Box.
        & + label:before {
        content: '';
        margin-right: 10px;
        display: inline-block;
        vertical-align: text-top;
        margin-top:3px;
        width: 12px;
        height: 12px;
        @include themify($themes) {
            border: 1px solid themed('txtcolor100');      
        }
        //background: white;
        }

        // Box hover
        &:hover + label:before {
            @include themify($themes) {
                background: themed('txtcolor100');
            }
        }
    
        // Box focus
        &:focus + label:before { 
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
        }

        // Box checked
        &:checked + label:before {
            @include themify($themes) {
                background: themed('txtcolor100');
            }
        }
    
        // Disabled state label.
        &:disabled + label {
        color: #b8b8b8;
        cursor: auto;
        }

        // Disabled box.
        &:disabled + label:before {
        box-shadow: none;
        background: #ddd;
        }
    

        // Checkmark. Could be replaced with an image
        &:checked + label:after {
        content: url(/app/core/images/test.png);
        position: absolute;
        left: 1px;
        top: 0px;
        
        }
    }
}

.hidden {
    display:none!important;
}