/* License page */

    /* license section */
    .sft-license-section{
        margin: 30px 10px;
        overflow: hidden;
        border-radius: 12px;
        border: 1px solid #d9d9d9;
    }

    /* logo and links section */
    .sft-license-table-header{
        background: #E1E6F4;
        position: relative;
        border-radius: 12px 12px 0 0;
        display: flex;
        padding: 25px 30px;
        align-items: center;
        justify-content: space-between;
    }

    .sft-license-table-header div:nth-child(2) span{
        margin-left: 10px;
    }

    .sft-links{
    display:flex;
    }

    .sft-links div{
    margin-left: 50px;
    }

    .sft-license-table-conatiner{
        display: flex;
        justify-content: center;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    /* License table */
    .sft-license-table {
        font-family: Arial, Helvetica, sans-serif;
        border-collapse: collapse;
        width: 90%;
        margin :10px;
    }

    .sft-license-table tr {
        border-radius : 10px;
    }
    
    .sft-license-table td, #sft-license-table th {
        border: 1px solid #c0c0c0;
        padding: 8px;
    }

    .sft-license-table td{
        margin-bottom: 9px !important;
        padding: 15px 10px !important;
        line-height: 1.3 !important;
        vertical-align: middle !important;
        font-size: 14px !important;
    }

    .sft-license-table th{
        vertical-align: top;
        text-align: left;
        width: 200px;
        text-indent: initial;
        border-spacing: 2px;
        line-height: 1.3;
        font-weight: 600;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
        font-size: 15px;
    }

    .sft-license-table thead th:nth-child(1){
        border-top-left-radius: 10px;
        border-color: #F0F0F1;
        width: 5%;
    }

    .sft-license-table thead th:nth-child(6){
        border-top-right-radius: 10px;
        border-color: #F0F0F1;
        width: 15%;
    }

    .sft-license-table-header div {
        font-size: 20px;
        font-weight: 600; 
        color: #0B132B;
    }
    .sft-links:link, .sft-links:visited, .sft-links:hover, .sft-links:active {
        color: inherit;
        text-decoration: none;
        box-shadow: none;
    }

    .sft-license-table tbody tr td:nth-child(2), .sft-license-table tbody tr td:nth-child(1){
        font-weight: 600;
    }

    .sft-license-table tbody tr td:nth-child(1){
        text-align: center;
    }
    .sft-license-table tbody tr td:nth-child(2){
        padding: 20px !important;
    }

    .sft-license-table tbody tr td:nth-child(3){
        font-weight: 600;
        width:7%;
        text-align:center;
    }
    .sft-license-table tbody tr td:nth-child(4){
        padding: 20px !important;
    }

    .sft-license-table tbody tr td:nth-child(5){
        font-weight: 600;
        padding-left: 30px !important;
    }
    .sft-license-table tbody tr td:nth-child(6){
        padding: 20px !important;
    }

    .sft-license-table th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #0B132B;
        color: white;
        padding-left: 10px;
    }

    .sft-license-table td{
        height: 100px;
    }

    /* Important Hides the orginal License Table */
    .sft-license-page{
        display: none;
    }

    #stuanld-table-license-input{
        width:100%;
    }

    /* Activate Button */
    #stuanld-table-button{
        border: none;
        text-shadow: none;
        font-weight: 600;
        box-shadow: none;
        line-height: 30px;
        background:  #20BDA5;
        border-color:  #20BDA5;
        font-size: 15px;
        border-radius: 12px;
        padding: 8px 15px;
        text-align: center;
        transition: all 0.3s;
        color: #fff;
        width: 100%;
        transition: all 0.3s;
    }

    #stuanld-table-button:hover{
        background-color: #047d6b ;
        cursor: pointer;
    }

    /* License Input field */
    #stuanld-table-license-input {
        width: 100%;
        border-color:  #c0c0c0;
        min-height: 40px;
    }

    /* License Inactive Status */
    .sft-button-inactive:before{
        content: "\f057";
        font: normal normal normal 20px/1 FontAwesome;
        margin-right: 8px;
        top: 3px;
        position: relative;
        color: #FF0000;
    }

    /* License Active Status*/
    .active-alert:before{
        content: "\f058";
        font: normal normal normal 20px/1 FontAwesome;
        margin-right: 8px;
        top: 3px;
        position: relative;
        color: #00c749;
    }
    .active-alert{
        color: #00c749;
        font-size: 14px;
    }
    /* License Expired Status */
    .expired-alert{
        color:#ff8c00;
    }

    
    .sft-button-inactive{
        color:#FF0000;
        font-size: 14px;
    }

    /* License Deactivate Button */
    button.stuanld-deactivate-button{
        background-color: #FF0000 !important;
    }

    button.stuanld-deactivate-button:hover{
        background-color: #a11e1e !important;
    }

    input.stuanld-invalid-license{
        border: 1px solid #FF0000 !important;
    }

    /* License renew now button */
    .sft-renew-now{
        border: none;
        text-shadow: none;
        font-weight: 600;
        box-shadow: none;
        line-height: 30px;
        background: orange;
        border-color:  orange;
        font-size: 15px;
        border-radius: 12px;
        padding: 8px 15px;
        text-align: center;
        transition: all 0.3s;
        color: #fff;
        width: 100%;
        transition: all 0.3s;
    }

    .sft-renew-now:hover{
        background-color: #ff8c00;
        cursor: pointer;
    }

    @media only screen and (max-width: 800px) {
        .sft-license-table-header{ 
            display: block;
            width: 100%;
            box-sizing: border-box;
            padding: 20px;
        }
       
        .sft-license-table-header > div{ 
            width: 100%; 
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
           
        } 
        .sft-license-table-header > div > div{ margin-left: 0 !important;}
        .sft-license-table-header > div:first-child{ 
            margin-bottom: 15px; 
            width: 100%;
            text-align: center;
            display: flex;
            justify-content: center;
        }
        .sft-license-table-header > div a.sft-links{ margin-bottom: 15px;}
        .sft-license-table-header > div .sft-links img{ width: 200px; height: auto;}
        .sft-license-table-header > div a{
            font-size: 15px;
        }
        .sft-license-table-header > div i{ font-size: 16px;}
        .sft-license-table thead{
        display: none;
        }

        .sft-license-table tbody tr{
        display: block;
        border: 1px solid #c0c0c0;
        margin-bottom: 15px;
        }
        .sft-license-table tbody td{
        display: block;
        width: 100% !important;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        max-width: 100%;
        padding: 10px !important;
        box-sizing: border-box;
        height: auto;
        }
        .sft-license-table tbody tr td:nth-child(1),
        .sft-license-table tbody tr td:nth-child(2),
        .sft-license-table tbody tr td:nth-child(3),
        .sft-license-table tbody tr td:nth-child(4),
        .sft-license-table tbody tr td:nth-child(5),
        .sft-license-table tbody tr td:nth-child(6){
            padding: 10px !important;
        }
      
        .sft-license-table tbody td:first-child{ border-top: 0;}

        .sft-license-table tbody tr > td::before{
            font-size: 14px;
            font-weight: normal;
            display: block;
            background: #0B132B;
            color: #FFF;
            text-align: center;
            padding: 6px 12px;
            margin-bottom: 20px;
        }
        .sft-license-table tbody tr > td:first-child:before{
            content: attr(data-title);
        }
       
        .sft-license-table tbody tr > td:nth-child(2):before{
            content: attr(data-title);
        }
        .sft-license-table tbody tr > td:nth-child(3):before{
            content: attr(data-title);
        }
        .sft-license-table tbody tr > td:nth-child(4):before{
            content: attr(data-title);
        }
        .sft-license-table tbody tr > td:nth-child(5):before{
            content: attr(data-title);
        }
        .sft-license-table tbody tr > td:last-child:before{
            content: attr(data-title);
        }


}

@media only screen and (min-width: 320px) and (max-width: 800px) {
    .sft-license-table tbody td{ position: relative;}
    .sft-license-table tbody tr > td::before{
        width: 28%;
        position: absolute;
        left: 0;
        background: transparent;
        color: #0B132B;
        text-align: left;
        padding: 0 15px;
        font-weight: 600;
        font-size: 15px;
    }
    .sft-license-table tbody tr td:nth-child(1), .sft-license-table tbody tr td:nth-child(2), .sft-license-table tbody tr td:nth-child(3), .sft-license-table tbody tr td:nth-child(4), .sft-license-table tbody tr td:nth-child(5), .sft-license-table tbody tr td:nth-child(6){
        padding-left: 35% !important;
        text-align: left;
    }
    #stuanld-table-button, .sft-renew-now { line-height: normal; padding: 11px 15px; max-height: 200px;}
}

@media only screen and (min-width: 800px) and (max-width: 1100px) {
    .sft-license-table-header > div:first-child{ width: 30%;}
    .sft-license-table-header > div:first-child img{ width: 100%; height: auto;}
    .sft-license-table-header > div:last-child{ 
        width: 70%;
        text-align: right;
        display: flex;
        justify-content: flex-end;
    }
    .sft-license-table-header > div a{
        font-size: 15px;
    }
    .sft-license-table-header > div i{ font-size: 14px;}
    .sft-license-table-header > div > div{ margin-left: 10px !important;}
    .sft-license-table-header > div > div > a{ line-height: 12px;}
    #stuanld-table-button, .sft-renew-now { line-height: normal; padding: 11px 15px;}
    .sft-license-table tbody tr td:nth-child(2){ padding: 10px !important;}
    .sft-license-table tbody tr td:nth-child(5){    padding-left: 15px !important;}

}
