/* HireMee PRO Variables*/

@import 'provariables';

.btn-primary-light{
    background-color: $hme-color-light;
    &:hover{
        background-color: darken($hme-color-light, 20%);
    }
}

.pro-icon-button{
    position: relative;
    line-height: 40px;
    padding: 8px 30px 8px 60px;
    font-weight: 500;
    color: lighten($primary-color, 2%);
    text-transform: capitalize;
    border: none;

    & span.pro-btn-icon{
        font-size: 24px;
        line-height: 40px;
        position: absolute;
        left: 25px;
    }

}

.container-checkbox-pro {
    width: 45px;
    float: left;
    min-height: 24px;
    padding: 0;
    margin: 0;
}
.checkmark-round {
    position: absolute;
    top: 0;
    left: -3px;
    height: 24px;
    width: 24px;
    border: 1px solid $light-gray;
    border-radius: 3px;
    background: #fff;
    min-height: 24px;
}
tr:hover .checkmark-round{
    background: darken($light-gray, 20%);
    color: lighten($light-gray, 100%);
}
.container-checkbox-pro input{
    display: none;
}
/* On mouse-over, add a grey background color */
.container-checkbox-pro:hover input ~ .checkmark-round {
 border:2px solid #ccc;
}
/* When the checkbox is checked, add a blue background */
.container-checkbox-pro input:checked ~ .checkmark-round {
    border:2px solid #2196F3;
}

/* Create the checkmark-round/indicator (hidden when not checked) */
.checkmark-round:after {
    content: "";
    position: absolute;
    /*display: none;*/
    opacity: 0.2;
}
/* Show the checkmark-round when checked */
.container-checkbox-pro input:checked ~ .checkmark-round:after {
    display: block;
    opacity: 1;
}
/* Style the checkmark-round/indicator */
.container-checkbox-pro .checkmark-round:after {
    left: 7px;
    top: 0px;
    width: 8px;
    height: 17px;
    border: solid #2196F3;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

}

/* Card List*/
.pro-card{
    background: #e8e8e8;
    color: $primary-color;
    min-height: 48px;
    padding: .75rem;
    display: inline-block;
    font-size: 16px;
    width: 100%;
    margin: 8px 0;
    border-left: 4px solid #e8e8e8;

    & .status-badge{
        width: 32px;
        height: 32px;
        border-radius: 32px;
        background: lighten($primary-color, 45%);
        color: lighten($primary-color, 100%);
        display: inline-block;
        text-align: center;
        line-height: 36px;
        font-size: 24px;

        &.success{
            background : $color-success;
        }
        &.danger{
            background : $color-danger;
        }
    }

    &:hover{
        box-shadow: 0 0 3px #bbb;
    }
    &.warning{
        border-left: 4px solid #feb745;
    }
    &.danger{
        border-left: 4px solid $color-danger;
    }
    & p{
        margin-bottom: 8px;
        &.label{
            line-height: 1;
            padding:0;
            color: lighten($primary-color, 40%) !important;
            font-size:16px;
            font-weight:400;
        }
        &.data{
            line-height: 1;
            padding: 0;
            font-weight: 600;
            font-size:16px;
        }
    }
    & a{
        min-width: 48px;
        color: lighten($primary-color, 40%);
        line-height: 24px;
        position: relative;

        &:hover{
            color: $hme-primary-color;
            & .pro-action-icon{
                color: $hme-primary-color;
            }
        }

        & .pro-action-icon{
            font-size: 24px;
            color: lighten($primary-color, 20%);
            margin-right: 12px;
            position: absolute;
            left: -32px;
        }
    }
}

.modal{

    & .pro-modal-close{
        position: absolute;
        top: -20px;
        right: -20px;
        width: 40px;
        height: 40px;
        border-radius: 40px;
        border: 0;
        background-color: $hme-primary-color;
        color: lighten($primary-color, 100%);
        line-height: 40px;
        text-align: center;
        font-size: 16px;
    }

    & .modal-title{
        width: 100%;
        display: block;
        line-height: 1.2;
        color:#ffffff;
    }

    & .modal-content{
        padding-top: 0;
        border: none;
    }

    & .modal-sub-heading{
        width: 100%;
        padding: 8px 16px;
        border-bottom: 1px solid lighten($primary-color, 55%);
        background-color: lighten($primary-color,72%);
    }

    & .modal-header{
        border-left: none;
        padding: 24px 16px;
        height: 56px;
        margin-bottom: 0;

    }

    & .modal-body{
        height: 22rem;
        overflow-x: hidden;
        overflow-y: auto;

        & h3{
            font-size: 17px;
            color: lighten($primary-color, 15%);
            font-weight: 500;
            text-indent: -23px;
            margin-left: 40px;

            & strong{
                font-weight: 600;
                padding-right: 16px;
                margin-left: -24px;
            }
        }

        & .answer-warpper{
            margin-top: 20px;
            margin-left: 40px;
        }
    }

    & .modal-footer{
        border-top: 1px solid lighten($primary-color, 55%);
        background-color: lighten($primary-color,75%);
        padding: 8px;

        & button{
            border-radius: 4px;
            min-width: 48px;
            padding-left: 16px;
            padding-right: 16px;

            &.btn-secondary{
                background: lighten($primary-color, 60%);
                border: none;
            }
        }

    }
}

/* Customized Radio Button for PRO*/
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    font-size: 16px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid lighten($primary-color, 65%);
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: lighten($hme-primary-color, 5%);
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/*------------------Check Box ------------------------*/
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:checked + label,
[type="checkbox"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid lighten($primary-color, 65%);
    border-radius: 4px;
    background: lighten($primary-color, 100%);
    
}
[type="checkbox"]:checked + label:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid lighten($primary-color, 65%);
    border-radius: 4px;
    background: $hme-primary-color;
    
}
[type="checkbox"]:checked + label:after,
[type="checkbox"]:not(:checked) + label:after {
    font-family: 'hiremee-pro' !important;
    content: "\e904";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0px;
    left: 2px;
    font-weight: 700;
    border-radius: 2px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
   color: lighten($primary-color, 100%);
}
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);

}
[type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* Icon Tabs*/
.nav-tabs{
    background: lighten($primary-color, 72%);
    border-bottom: none;

    & .nav-link{
        border: none;
        border-top: 3px solid lighten($primary-color, 65%);
        padding-left: 48px;
        border-radius: 0;
        color: lighten($primary-color, 45%);
        background-color: lighten($primary-color, 65%);
        margin-right: 4px;

        &:hover{
            color: darken($hme-primary-color, 1%);
            border-color: lighten($primary-color, 45%) #ddd #fff !important; 
        }
        
    }

    & .active{
            color: lighten($primary-color, 15%);
            background-color: lighten($primary-color, 100%);
            border-color: $hme-primary-color #ddd #fff !important; 
        }

    & .tab-icons{
        font-size: 24px;
        position: absolute;
        margin-left: -30px;
    }
     
}
.tab-content{
    background-color: lighten($primary-color, 100%);
    padding: 24px;
    min-height: 20rem;
}

.custom-file{
    border: 1px solid lighten($primary-color, 45%);
    border-radius: 4px 0 0 4px;
    height: 40px;

    & .custom-file-input{
        
        border: 1px solid lighten($primary-color, 45%);
        border-radius: 4px;
    }

    & .custom-file-label{
        text-align: left;
        padding: 8px;
        float : left;
    }

}

.input-group{

    & button{
        height: 40px;
        border-radius: 0 4px 4px 0;
        padding-left: 16px;
        padding-right: 16px;
        font-size: 16px;
        font-weight: 500;
        color: lighten($primary-color, 100%) !important;
        text-transform: capitalize;
    }
}

.pro-right-utility{
    width: 100%;
    height: 95vh;
    // background-color: lighten($primary-color, 72%);
    padding: 8px;

    & header{
        font-size: 18px;
        padding-left: 8px;
        margin-left: 8px;
        color: lighten($primary-color, 35%);
        border-left: 3px solid $hme-color-light;   
    }

    & form{
        margin: 30px 8px 32px 8px;
    }

    & .hme-select-style{
        width: 100%;
        border-radius: 4px;
    }
}

/* Switch*/

.switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
  z-index: 10;
  margin-top: -11px;
  &:not(:last-child) {
    margin-bottom: 1em;
  }
  input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
  }
  label {
    font-size: 18px;
    font-weight: 300;
    color: #00285e;
    padding-left: 60px; 
    padding-top: 10px;
    user-select: none;
    cursor: pointer;
  }
  .checked {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 40px;
    height: 16px;
    border-radius: 50px;
    background-color: lighten($primary-color,50%);
    -webkit-transition: background 200ms ease;
    transition: background 200ms ease;
    
    &:after {
      content: '';
      position: absolute;
      top: 44%;
      left: 0;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background-color: lighten($primary-color, 65%);
      -webkit-box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.3);
      box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.3);
      -webkit-transform: translate(-5px, -50%);
      transform: translate(-5px, -50%);
      -webkit-transition: transform 200ms cubic-bezier(0.65, 0.38, 0.29, 1.19);
      transition: transform 200ms cubic-bezier(0.65, 0.38, 0.29, 1.19);
    }
  }
  input:checked ~ .checked {
    background-color: $hme-color-light;
    &:after {
      background-color: lighten($primary-color, 75%);
      -webkit-transform: translate(23px, -50%);
      transform: translate(23px, -50%);
    }
  }
  
}

/* Scrollable Tabs*/
.pro-scroll-tab{

    .nav-tabs{
        background: lighten($primary-color, 72%);
        border-bottom: none;
        padding-left: 56px;
        padding-right: 56px;
        position: relative;
        overflow-y: hidden;
        overflow-x: auto;
        font-weight: 500;

        & a.scroll-left{
            display: inline-block;
            position: absolute;
            top: 0;
            left: 0;
            width: 48px;
            height: 48px;
            text-align: center;
            line-height: 48px;
            color: lighten($primary-color, 100%);
            background-color: lighten($hme-color-light, 0%);
            font-size: 24px;
            font-weight: 600;

            &:hover{
                background-color: darken($hme-color-light, 10%);
            }
        }

        & a.scroll-right{
            display: inline-block;
            position: absolute;
            top: 0;
            right: 0;
            width: 48px;
            height: 48px;
            text-align: center;
            line-height: 48px;
            font-size: 24px;
            font-weight: 600;
            color: lighten($primary-color, 100%);
            background-color: lighten($hme-color-light, 0%);

            &:hover{
                background-color: darken($hme-color-light, 10%);
            }
        }

        & .nav-link{
            border: none;
            border-top: 3px solid lighten($primary-color, 65%);
            padding: 2px 16px;
            border-radius: 0;
            color: lighten($primary-color, 45%);
            background-color: lighten($primary-color, 65%);
            margin-right: 4px;

            & small{
                display: block;
                text-align: center;
                text-transform: uppercase;
                padding: 0 8px;
            }

            &:hover{
                color: darken($hme-primary-color, 1%);
                border-color: lighten($primary-color, 45%) #ddd #fff !important; 
            }
            
        }

        & .active{
                color: lighten($primary-color, 15%);
                background-color: lighten($primary-color, 100%);
                border-color: $hme-primary-color #ddd #fff !important; 
            }

        & .tab-icons{
            font-size: 24px;
            position: absolute;
            margin-left: -30px;
        }
         
    }

}
