@import "./vars.css";

#company-users .add-user {
    margin-bottom: 30px;
}
#company-users .table {
    border-collapse: collapse;
}
#company-users th {
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    padding: 0;
    border: 0;
}
#company-users th span {
    font-weight: normal;
}
#company-users td {
    padding: 13px 16px 13px 0;
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    font-size: 14px;
}
#company-users tr:hover td {
    background: #FAFAFA;
}
#company-users .filters td {
    border: none;
}
#company-users .filters input, #company-users .filters select {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #E5E4E4;
    border-radius: var(--border-radius);
    width: 100% !important;
    font-size: 13px;
}
#company-users .filters select {
    background: #FAFAFA;
}
#company-users .checkbox label {
    font-size: 12px;
}
#company-users .remove-user {
    font-size: 20px;
    color: #9D9D9D;
}
#company-users .modal-container {
    width: 476px;
}
#company-users .modal-body .row .field:first-child {
    width: 325px;
    margin-right: 10px;
}
#company-users .error {
    margin-bottom: 20px;
}
#company-users h3 {
    font-size: 16px;
    margin: 0 0 20px;
}
#company-users .mobile-view {
    display: none;
}

#company-edit .modal-trigger {
    margin-bottom: 25px;
}

#company-image input[type="file"] {
    display: none;
}
#company-image .choose-file {
    background: #FAFAFA;
    border: 1px solid #E5E4E4;
    border-radius: var(--border-radius);
    width: 191px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
#company-image .choose-file i {
    margin-right: 10px;
    font-size: 14px;
}
#company-image #crop-form {
    margin-top: 20px;
}
#company-image .img-thumbnail {
    margin: 20px 0;
}

#company-birthdays {
    font-size: 14px;
}
#company-birthdays table {
    margin-top: 30px;
    border-collapse: collapse;
    width: 100%;
}
#company-birthdays table th {
    text-align: left;
    padding-bottom: 20px;
    font-weight: 500;
}
#company-birthdays table td {
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    transition: all .3s;
    padding: 16px 0;
}
#company-birthdays table tr:hover td {
    background: #FAFAFA;
}

#company-files .fileinput-button {
    float: none;
    margin-bottom: 35px;
}
#company-files .fileinput-button input {
    display: none;
}
#company-files .files_buttons_bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
#company-files .files_buttons_bar .ui-button-notext {
    display: none;
}
#company-files .files_buttons_bar button {
    background: none;
    border: none;
    color: var(--grey-color);
    font-weight: 500;
    outline: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 14px;
    margin-right: 80px;
}
#company-files .files_buttons_bar button:last-child {
    margin-right: 0;
}
#company-files .files_buttons_bar button::before {
    font-family: 'icomoon';
    margin-right: 10px;
}
#company-files .files_buttons_bar button:nth-child(1)::before {
    content: '\e915';
}
#company-files .files_buttons_bar button:nth-child(2)::before {
    content: '\e90d';
}
#company-files .files_buttons_bar button:nth-child(3)::before {
    content: '\e914';
    font-size: 12px;
}
#company-files .files_buttons_bar button:nth-child(4)::before {
    content: '\e913';
}
#company-files #users_files_upload_form, #company-files #files_upload_form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#company-files .fileupload-buttonbar {
    flex: 0 0 100%;
}
#company-files #upload_restr {
    position: absolute;
    top: 30px;
    right: 0px;
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgb(97 97 97 / 10%);
    border-radius: var(--border-radius);
    display: none;
}
#company-files #upload_restr p {
    margin: 0;
}
#company-files #upload_restr p + p {
    margin-top: 10px;
}
#company-files .pull-right {
    position: relative;
    display: inline-flex;
    align-items: center;
}
#company-files .pull-right:hover #upload_restr {
    display: block;
}
#company-files .pull-right .actions_box_switch {
    color: var(--grey-color);
    text-decoration: underline;
    font-weight: 500;
}
#company-files .pull-right::before {
    font-family: 'icomoon';
    content: '\e90e';
    font-size: 18px;
    margin-right: 10px;
    color: var(--main-color);
    text-decoration: none;
}
#company-files .pull-right .actions_box_switch:hover {
    text-decoration: none;
}
#company-files .table {
    border-collapse: collapse;
    font-size: 14px;
    width: 100%;
}
#company-files .fileupload-files-list .table {
    margin-top: 19px;
}
#company-files .table th {
    text-align: left;
    font-weight: 500;
    font-size: 13px;
}
#company-files .table th, #company-files .table td {
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
}
#company-files .table th {
    padding: 16px 0;
}
#company-files .table td {
    color: var(--grey-color);
}
#company-files .table th:first-child,
#company-files .table td:first-child {
    padding-left: 14px;
}
#company-files .table td:last-child {
    text-align: right;
    padding-right: 14px
}
#company-files .file-name {
    display: flex;
    align-items: center;
}
#company-files .file-name img {
    margin: 0 14px;
}
#company-files .actions {
    display: inline-flex;
    align-items: center;
}
#company-files .download,
#company-files .action-button,
#company-files .file_title_edit {
    font-size: 10px;
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    transition: all .3s;
    cursor: pointer;
}
#company-files .download:hover,
#company-files .action-button:hover,
#company-files .file_title_edit:hover {
    color: #fff;
    background: var(--main-color);
}
#company-files .file_title_edit,
#company-files .action-button + .action-button {
    margin-left: 10px;
}
#company-files .file_delete {
    margin-left: 20px;
    font-size: 20px;
    transition: all .3s;
    color: #9D9D9D;
    cursor: pointer;
    height: 20px;
    display: inline-flex;
}
#company-files .file_delete:hover {
    color: var(--main-color);
}
#file_manager {
    height: auto !important;
}

#account-company-new h3 {
    font-size: 16px;
}
#account-company-new form {
    width: 427px;
    max-width: 100%;
}
#account-company-new .field {
    margin-bottom: 20px;
}
#account-company-created .note-block {
    margin-bottom: 20px;
}

#accunt-company-created h2 {
    font-size: 18px;
    margin: 25px 0;
    font-weight: 500;
}
#accunt-company-created .table {
    margin-bottom: 30px;
}
#accunt-company-created .table .file-title, #account-company-verify .table .file-title {
    display: flex;
    align-items: center;
}
#accunt-company-created .table .file-title i, #account-company-verify .table .file-title i {
    font-size: 28px;
    margin-right: 14px;
}
#accunt-company-created .table .delete, #account-company-verify .table .delete {
    font-size: 20px;
    color: #9D9D9D;
}

#account-company-price h3 {
    font-weight: 500;
    font-size: 18px;
    margin: 26px 0;
}
#account-company-price .price-field:first-child {
    border-top: 1px solid #E9E9E9;
    margin-top: 30px;
}
#account-company-price .button-red {
    margin-top: 20px;
}

#account-company-verify .button-wide {
    margin-top: 20px;
}
#account-company-verify .button-white {
    margin-left: 20px;
}
#account-company-verify h3 {
    font-weight: 500;
    font-size: 18px;
    margin: 0 0 24px;
}
#account-company-moderation .button-red {
    margin-top: 20px;
}

#account-company-delete .warning {
    display: flex;
    flex-direction: column;
    margin: 16px 0 10px;
}
#account-company-delete .warning strong {
    margin-bottom: 10px;
}
#account-company-delete .warning .red-text {
    text-transform: uppercase;
}
#account-company-delete form {
    display: flex;
    flex-direction: column;
}
#account-company-delete form input {
    width: 466px;
    max-width: 100%;
    margin-bottom: 20px;
}
#account-company-delete form button {
    margin-right: 20px;
}
#company-edit .account-fields + .account-fields {
    margin-top: 0;
}

@media(max-width: 768px) {
    #company-files .files_buttons_bar {
        justify-content: space-between;
        flex: 0 0 100%;
    }
    #company-files .files_buttons_bar button {
        margin-right: 24px;
        margin-bottom: 10px;
    }
    #company-files .pull-right {
        margin-top: 20px; 
    }

    #company-birthdays table td {
        padding: 8px 0;
    }

    #account-company-delete form input {
        width: 100%;
    }
    #account-company-delete form .buttons {
        display: flex;
    }
    #account-company-delete form .buttons > * {
        flex: 0 0 calc(50% - 10px);
        width: auto;
    }
}