﻿/* Responsive CSS starts */
@media only screen and (max-width:1600px) {
    .username {
        flex: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .useremail {
        flex: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .usermobileno {
        flex: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .userrolename {
        flex: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .isactive {
        flex: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .loginas {
        flex: 200px;
        min-width: 200px;
        max-width: 200px;
    }
    .action-btns {
        flex: 80px;
        min-width: 80px;
        max-width: 80px;
    }
}
@media only screen and (max-width:1280px) {
    .phonedropdown .col-md-6 {
        flex: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
}
@media only screen and (max-width:1200px) {
    body .sidebar-expanded .userlist-page .btn-reset {
        margin-left: 0px !important;
    }
}
@media only screen and (min-width:801px) and (max-width:1024px), only screen and (min-height:559px) and (max-width:1281px), only screen and (min-height:662px) and (max-width:1464px), only screen and (min-height:479px) and (max-width:1140px), only screen and (min-height:479px) and (max-width:1140px), only screen and (min-height:498px) and (max-width:1172px), only screen and (min-height:607px) and (max-width:1367px), only screen and (min-height:703px) and (max-width:1538px), only screen and (min-height:457px) and (max-width:1099px), only screen and (min-height:439px) and (max-width:1068px), only screen and (min-height:731px) and (max-width:1600px), only screen and (min-height:599px) and (max-width:1367px), only screen and (min-height:454px) and (max-width:1095px) {
    .content-main {
        height: 52vh;
        overflow-y: auto;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .auth-left-in .text { 
        font-size: 26px; 
    }
    .auth-main .logo {
        margin-bottom: 29px !important;
        width: 210px;
    }

    .auth-left-in {
        width: 100%;
        max-width: 80%;
        padding: 0px 30px;
    }
}

@media only screen and (min-height:439px) and (max-width:800px) {
    .auth-left-in {
        padding: 30px;
        position: static;
        transform: none;
    }
}
@media only screen and (min-width:1025px) {
    .addpermissionset input.form-control, .addrole input.form-control {
        width: 400px;
    }
}
@media only screen and (max-width:1024px) {
    .profile-container {
        flex-wrap:wrap;
    }
    .profile-container .left-section {
        max-width: 100%;
        flex: 100%;
        min-width: 100%;
    }
    .profile-container .right-section {
        flex: auto;
        max-width: 100%;
        min-width: auto;
    }
    .card-columns {
        column-count: 3 !important;
        -moz-column-count: 3 !important;
    }
    .addcompanywrapper {
        display:block;
    }
    .addcompanywrapper .left-section {
        margin-right: 0px;
    } 
    .addcompanywrapper .left-section {
        border:none;
        margin-right:0px;
    } 

    /* Company list table CSS starts */
    .company-name {
        flex: 400px !important;
        min-width: 400px !important;
        max-width: 400px !important;
        width: 400px;
    }

    .industry-name {
        flex: 400px !important;
        min-width: 400px !important;
        max-width: 400px !important;
        width: 400px;
    }

    .sector-name {
        flex: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        width: 300px;
    }
    .role-name {
        flex: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        width: 200px;
    }
    .rolepermissionsets {
        flex: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        width: 300px;
    }

    .table-scroll td, .table-scroll th {
        flex-basis: initial;
    }
    .permissionset-name {
        align-items: center;
        display: flex !important;
        flex: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .permission-name {
        align-items: center;
        display: flex !important;
        flex: calc(100% - 350px);
        min-width: calc(100% - 350px);
        max-width: calc(100% - 350px);
    }
    .searchinput, .industry-dropdown {
        margin-bottom: 10px;
    }
    .userlist-page .form-check {
        margin-bottom: 10px;
    }
}
@media only screen and (max-width:991px) {
    .page-main-title {
        font-size: 30px;
    }
}
@media only screen and (max-width:960px) {   
    #main {
        padding: 30px 15px;
    }
    .card-columns {
        column-count: 2 !important;
        -moz-column-count: 2 !important;
    }
    .auth-main .logo {
        margin-bottom: 26px !important;
        width: 200px;
    }
    .search-bar {
        flex-wrap: wrap;
    }
    
    .industry-dropdown {
        margin-left:0px;
        margin-bottom:10px;
    } 
    
    .btn-search, .btn-reset {
        margin-bottom:10px;
    } 

    .auth-left-in .text {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width:800px) {
    .permissionset-name {
        align-items: center;
        display: flex !important;
        flex: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }
    .auth-main .auth-right {
        display: none;
    }

    .auth-main .auth-left {
        flex: 100%;
        max-width: 100%;
        height: 100vh;
    }

    .auth-left-in {
        width: 90%;
        max-width: 90%;
        margin: 0px auto;
    }
    .permission-name {
        align-items: center;
        display: flex !important;
        flex: 500px !important;
        min-width:500px;
        max-width: 500px !important;
    }
}

@media only screen and (max-width:575px) {
    .modal-dialog {
        margin: 0px auto;
        width: 90%;
    }
    .card-columns {
        column-count: 1 !important;
        -moz-column-count: 1 !important;
    }
    .btn-green {
        height: 40px;
        float: left !important;
    }
    .select2-container {
        min-width: 100%;
        max-width: 100%;
    }
}