


/**
 * Extracted from: SweetAlert
 * Modified by: Istiak Tridip
 */

 .card.shadow.mb-4{
    min-height: 85vh;
    padding-top: 30px;
 }


 .success-checkmark {
    width: 40px;
    height: 40px;
    margin-left: 20px;
    
    .check-icon {
        width: 40px;
        height: 40px;
        position: relative;
        border-radius: 50%;
        box-sizing: content-box;
        border: 2px solid #4CAF50;
        
        &::before {
            top: 1.5px;
            left: -1px;
            width: 15px;
            transform-origin: 100% 50%;
            border-radius: 50px 0 0 50px;
        }
        
        &::after {
            top: 0;
            left: 15px;
            width: 30px;
            transform-origin: 0 50%;
            border-radius: 0 100px 100px 0;
            animation: rotate-circle 4.25s ease-in;
        }
        
        &::before, &::after {
            content: '';
            height: 50px;
            position: absolute;
            background: #FFFFFF;
            transform: rotate(-45deg);
        }
        
        .icon-line {
            height: 2.5px;
            background-color: #4CAF50;
            display: block;
            border-radius: 1px;
            position: absolute;
            z-index: 10;
            
            &.line-tip {
                top: 23px;
                left: 7px;
                width: 12.5px;
                transform: rotate(45deg);
                animation: icon-line-tip 0.75s;
            }
            
            &.line-long {
                top: 19px;
                right: 4px;
                width: 23.5px;
                transform: rotate(-45deg);
                animation: icon-line-long 0.75s;
            }
        }
        
        .icon-circle {
            top: -2px;
            left: -2px;
            z-index: 10;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            position: absolute;
            box-sizing: content-box;
            border: 2px solid rgba(76, 175, 80, .5);
        }
        
        .icon-fix {
            top: 4px;
            width: 2.5px;
            left: 13px;
            z-index: 1;
            height: 45px;
            position: absolute;
            transform: rotate(-45deg);
            background-color: #FFFFFF;
        }
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 0.5px;
        top: 9.5px;
    }
    54% {
        width: 0;
        left: 0.5px;
        top: 9.5px;
    }
    70% {
        width: 25px;
        left: -4px;
        top: 18.5px;
    }
    84% {
        width: 8.5px;
        left: 10.5px;
        top: 24px;
    }
    100% {
        width: 12.5px;
        left: 7px;
        top: 22.5px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 23px;
        top: 27px;
    }
    65% {
        width: 0;
        right: 23px;
        top: 27px;
    }
    84% {
        width: 27.5px;
        right: 0px;
        top: 17.5px;
    }
    100% {
        width: 23.5px;
        right: 4px;
        top: 19px;
    }
}

/*-----------------------------------------*/
div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers>#delete-computers{
     
    order: 2;
  
   
}
div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers>#btn-new-reports{
 
    order: 1;
    margin-right: 10px ;
  
   
}

div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header{
    
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}
div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#exampleModalLabel{
    order: 1;
    margin-left: 10px;
}

div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers{
    flex-basis: 100%;
    order: 3;
    margin: 0;
    padding: 0;
    display: flex;
   
}

div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>.btn-close{
    order: 2;
    margin-right: 10px;
    
}

#alert-main{
    margin: 5px 2px 5px 2px;
}
#btn-create-computers{
    margin-bottom: 10px;
}

.popover.bs-popover-auto.fade.show{
    display: none;
}

#div-spinner{
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center
    
}



#div-main-table{
   display: none;
}

#content-computers{
    display: flex;
    justify-content: space-between;
}
.row.colu-top{
    width: 50%;
    grid-gap: 10px;
}

.row.colu-bottom{
    width: 50%;
    grid-gap: 10px;
 

    justify-content: end;
}
.row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1{
     height: 190px;
}
.row.colu-top>.col-12.col-sm-12.col-md-6.col-lg-1{
    height: 190px; 
}
.row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1>button
{
    display: grid ;
}
.row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1>button>img{
    order: 2;
}

.row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1>button>h5{
    order: 1;
}

@media (min-width:993px) {
    .row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1{
        height: 149px;
   }
   .row.colu-top>.col-12.col-sm-12.col-md-6.col-lg-1{
       height: 149px; 
   }

    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers>#delete-computers{
     
        order: 1;
     
       
    }
    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers>#btn-new-reports{
     
        order: 2;
        
      
       
    }
    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers{
     
        margin: 0;
        padding: 0;
        
      
       
    }

    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header{
    
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#exampleModalLabel{
        order: 1;
        margin-left: 10px;
    }
    
    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>#div-btns-computers{
        flex-basis: auto;
        order: 2;
        margin-left: 15px;
       
    }

    
    div#edit-computer-modal>div.modal-dialog>.modal-content>.modal-header>.btn-close{
        order: 4;
        margin-right: 10px;
        
    }


    .popover.bs-popover-auto.fade.show{
        display: block;
    }
    
    #content-computers{
        display: block;
    }
    #div-main-table{
        display: block;
     }

    .row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1>button>img{
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .btn{
        margin-top: 0;
    }

    .form-control{
        margin-top: 0;
    }

    .card-body>a{
        text-decoration: none;
    }
    
    .card-body>a:hover{
        text-decoration: underline;
    }
    
    
    .img-pc{
        width: 100px;
    }
    .img-table{
         width: 99%;
    }
    
    #alert-main{
        height: 40px;
        display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    }
    #text-table{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
    }
    #div-main-table{
        justify-content: center;
    
    }
    #div-table{
        width: 100%;
        position: relative;
        text-align: center;
       
    }
    
    .subtitle-computers-col1{
        margin: 0;
      
        text-align: center;
    }
    
    .subtitle-computers-col2{
        margin: 0;
      
        text-align: center;
    }
    
    .btn.my-popover.functional:hover{
        background-color: rgb(211, 255, 203);
    }
    
    .btn.my-popover.non-functional:hover{
        background-color: rgb(255, 222, 222);
    }
    
    .row.colu-bottom{
        width: 100%;
        transform: scaleX(-1);
        justify-content: space-around;
    }
    .row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1{
      
       transform: scaleX(-1);
    }
    
    .row.colu-bottom>.col-12.col-sm-12.col-md-6.col-lg-1>img{
        
        transform: rotate(90deg);
    transform-origin: left top 0;
     }
    
    
    
    .row.colu-top{
        width: 100%;
        justify-content: space-around;
    }
}


/**
 * Extracted from: SweetAlert
 * Modified by: Istiak Tridip
 */
 .success-checkmark-modal-success {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    
    .check-icon-modal-success {
        width: 80px;
        height: 80px;
        position: relative;
        border-radius: 50%;
        box-sizing: content-box;
        border: 4px solid #4CAF50;
        
        &::before {
            top: 3px;
            left: -2px;
            width: 30px;
            transform-origin: 100% 50%;
            border-radius: 100px 0 0 100px;
        }
        
        &::after {
            top: 0;
            left: 30px;
            width: 60px;
            transform-origin: 0 50%;
            border-radius: 0 100px 100px 0;
            animation: rotate-circle 4.25s ease-in;
        }
        
        &::before, &::after {
            content: '';
            height: 100px;
            position: absolute;
            background: #FFFFFF;
            transform: rotate(-45deg);
        }
        
        .icon-line-modal-success {
            height: 5px;
            background-color: #4CAF50;
            display: block;
            border-radius: 2px;
            position: absolute;
            z-index: 10;
            
            &.line-tip-modal-success {
                top: 46px;
                left: 14px;
                width: 25px;
                transform: rotate(45deg);
                animation: icon-line-tip 0.75s;
            }
            
            &.line-long-modal-success {
                top: 38px;
                right: 8px;
                width: 47px;
                transform: rotate(-45deg);
                animation: icon-line-long 0.75s;
            }
        }
        
        .icon-circle-modal-success {
            top: -4px;
            left: -4px;
            z-index: 10;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            position: absolute;
            box-sizing: content-box;
            border: 4px solid rgba(76, 175, 80, .5);
        }
        
        .icon-fix-modal-success {
            top: 8px;
            width: 5px;
            left: 26px;
            z-index: 1;
            height: 85px;
            position: absolute;
            transform: rotate(-45deg);
            background-color: #FFFFFF;
        }
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.content-animation-error {
    margin-top: 50px;
  background-color: white;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px 10px rgba(#000, 0.05);
}

.circle-modal,
.circle-border-modal {
  width: 60px;
  height:  60px;
  border-radius: 50%;
}

.circle-modal {
  z-index: 1;
  position: relative;
  background: white;
  transform: scale(1);
  animation: success-anim 700ms ease;
}

.circle-border-modal {
  z-index: 0;
  position: absolute;
  transform: scale(1.1);
  animation: circle-anim 400ms ease;
  background: #f86;	
}

@keyframes success-anim {
  0% {
    transform: scale(0);
  }
  30% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes circle-anim {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1.1);
  }
}

.error-modal::before,
.error-modal::after {
  content: "";
  display: block;
  height: 4px;
  background: #f86;
  position: absolute;
}

.error-modal::before {
  width: 40px;
  top: 48%;
  left: 16%;
  transform: rotateZ(50deg);
}

.error-modal::after {
  width: 40px;
  top: 48%;
  left: 16%;
  transform: rotateZ(-50deg);
}

.content-modal-modals
{
    margin: 25px 0;
    text-align: center;
}

