/*Mobile version*/
@media only screen and (max-width: 767px) {
    .non-mobile-description,
    .non-mobile-tags,
    .non-mobile-content-actions,
    .non-mobile-type-category {
        display: none !important;
    }

    .general-list-meta-container {
        display: inline;
    }

    .content-list-image {
        width: 130px !important;
    }

    .mobile-description,
    .mobile-tags,
    .mobile-content-actions,
    .mobile-type-category {
        display: block !important;
    }

    #modal-promotion-inputs-container {
        display: block;
        gap: 10px;
    }

    .promotion-description {
        display: none !important;
    }

    #modal-promotion-content {
        height: 90vh !important;
    }
    .page-navigation-container {
        display: none;
    }

    #sm-records-list {
        flex-direction: column;
    }
    .sm-list-record-details {
        width: 100% !important;
    }

    .form-page-content-container {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }

    .page-navigation-container-mobile-tablet {
        display: none;
        justify-content: space-around;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    }
    #header-search-container {
        width: 10px;
        margin-right: 30px;
        margin-left: -20px;
    }

    #create-account-form {
        width: 90%;
    }

    #login-form {
        width: 90%;
    }
    .form-section {
        margin: auto;
        width: 90vw;
    }
    /* .inputs-group {
    display: flex;
    flex-direction: column;
  } */

    #home-sidebar {
        margin: auto;
    }

    .list {
        display: flex;
        flex-direction: column;
    }

    .list-image,
    .list-image img {
        width: 100%;
    }

    .extension-links-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .profile {
        padding: 10px;
        padding-top: 0px;
    }

    #header-account-name {
        display: none;
    }
    #cover-photo {
        display: flex;
        flex-direction: column;
    }

    #profile-picture-summary {
        margin-top: -130px;
        flex-direction: column;
        justify-content: center !important;
    }

    #cover-photo-camera-icon {
        width: 15px;
        cursor: pointer;
    }

    #profile-camera-icon {
        width: 15px;
        cursor: pointer;
    }

    #profile-summary {
        /* margin-top: 0px !important;
        margin-bottom: 0px !important; */
        margin-left: -10px !important;
        padding: 20px 0px 0px 0px;
    }

    .u-account-name {
        margin-top: 30px;
    }

    #profile-picture-container {
        width: 80px;
        margin-top: 20px;
    }

    .show-account-button,
    .show-workspace-button {
        display: none;
    }

    .website-modal-content {
        width: 90%;
    }

    .modal-description {
        width: 100%;
    }

    .details-container {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .date-category-proponents-container {
        flex-direction: column;
    }
    .date-category-proponents-container div:first-of-type {
        margin-bottom: -10px;
    }
    .date-category-proponents-container div:second-of-type {
        margin-bottom: 10px;
    }
}

/*On tablet, hide header navigation buttons and show the navigation container.*/
@media only screen and (768px <= width) {
    .show-mobile-navigation {
        display: none;
    }

    .hide-mobile-navigation {
        display: none;
    }

    .page-navigation-container-mobile-tablet {
        display: none;
    }

    .page-navigation-container {
        display: block;
    }

    .sm-list-record-details {
        width: 400px !important;
    }
}

/*While not yet on the desktop mode, the search input is hidden to gice space to the navigation container.*/
@media only screen and (width <=1023px) {
    #modal-profile-details {
        flex-direction: column;
    }

    #modal-profile-details-no-description {
        flex-direction: column;
    }

    #modal-promotion-content {
        width: 90% !important;
    }

    #search-form {
        width: fit-content;
    }
    .header-search-input {
        display: none;
    }

    .page {
        padding: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 30px;
    }

    .workspace-page {
        display: block;
        margin-top: 100px;
    }

    #summernote {
        margin-top: 100px;
    }

    .live-article-container {
        margin-top: 20px;
    }

    .workspace-search-container-mobile-tablet {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 50000;
        /* visibility: visible; */
        display: block;
    }

    .edit-icon {
        display: inline !important;
    }

    .workspace-sidebar {
        width: 100%;
        padding-bottom: 50px;
    }

    .actual-workspace {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-left: 0px;
        visibility: hidden;
    }

    .workspace-info-and-buttons {
        width: 100%;
        display: inline;
    }

    .workspace-actions-container {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 170;
        border-radius: 5px;
        width: 100vw;
    }

    #website-sidebar-toggle-container {
        display: flex !important;
        position: fixed;
        width: 100%;

        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;

        background-color: white;
        justify-content: right !important;

        padding: 10px !important;
    }

    #website-sidebar {
        position: fixed;
        width: 100%;
        height: fit-content !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: auto !important;
        background-color: white;
        flex-direction: column !important;
        padding: 10px 10px 10px 10px !important;

        z-index: 10000000000 !important;
        margin-bottom: 0px !important;
    }

    #close-website-sidebar {
        display: inline !important;
    }

    #website-sidebar-contents {
        display: flex !important;
        flex-direction: row !important;
        margin-top: -10px;
    }

    #promotion-container {
        width: 85% !important;
        height: auto !important;
    }

    #website-sidebar #promotion-container .promotion-image {
        width: 100px !important;
    }

    .promotion-item {
        display: flex !important;
        align-items: center !important;
        margin-top: 20px !important;
    }

    #social-icons-container {
        width: 15% !important;

        height: auto !important;
        flex-direction: column !important;
        gap: 5px !important;
    }

    .social-icon {
        width: 25px !important;
    }

    .sidebar-display-image {
        height: 100%;
        width: auto;
    }

    #ad-search-form {
        display: none;
    }

    .page-details {
        padding: 0px;
        margin: auto;
        width: 100%;
        margin-top: 10px;
    }
    #profile-details-bottom {
        display: flex;
        flex-direction: column;
    }

    #file-purchase-page {
        padding: 50px;
    }
    .purchase-details {
        flex-direction: column;
        width: 100%;
    }

    .purchase-notes {
        width: 100%;
    }

    #purchase-form {
        width: 100%;
    }
    .purchase-update {
        width: 100%;
    }

    /*Registration*/
    .userid-column {
        display: none;
    }

    .account-name-registration {
        display: none;
    }

    .omitted-account-name-registration {
        display: block;
    }

    .username-column {
        display: none;
    }

    .omitted-user-name {
        display: block;
    }

    .email-column {
        display: none;
    }

    .omitted-email {
        display: block;
    }

    .mobile-column {
        display: none;
    }

    .omitted-mobile {
        display: block;
    }

    .account-types-column {
        display: none;
    }

    .omitted-account-types {
        display: block;
    }

    .timestamp-registration {
        display: none;
    }

    .omitted-timestamp-registration {
        display: block;
    }

    .action-registration {
        display: none;
    }

    .omitted-actions-registration {
        display: block;
    }

    /*Other Registration*/

    .timestamp-other-registration {
        display: none;
    }

    .omitted-timestamp-other-registration {
        display: block;
    }

    .account-name-other-registration {
        display: none;
    }

    .omitted-account-name-other-registration {
        display: block;
    }

    .status-other-registration {
        display: none;
    }

    .omitted-status-other-registration {
        display: block;
    }

    .resume-column,
    .license-certificate-column,
    .sample-column,
    .agreement-column {
        display: none;
    }

    .omitted-attachments {
        display: flex;
    }

    .action-other-registration {
        display: none;
    }

    .omitted-actions-other-registration {
        display: block;
    }

    .attachments-container {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }

    .attachments-container a {
        margin-top: -5px;
    }

    /*Subscription*/

    .timestamp-subscription {
        display: none;
    }

    .omitted-timestamp-subscription {
        display: block;
    }

    .account-name-subscription {
        display: none;
    }

    .omitted-account-name-subscription {
        display: block;
    }

    .type-column {
        display: none;
    }

    .omitted-subscription-type {
        display: block;
    }

    .date-column {
        display: none;
    }
    .omitted-date {
        display: block;
    }

    .expiry-column {
        display: none;
    }

    .omitted-expiry {
        display: block;
    }

    .remaining-days-column {
        display: none;
    }

    .omitted-remaining-days {
        display: block;
    }

    /*Subscription*/

    .duration-column,
    .status-subscription,
    .action-subscription {
        display: none;
    }

    .omitted-duration,
    .omitted-status-subscription,
    .omitted-actions-subscription {
        display: block;
    }

    /*Promotion*/

    .timestamp-promotion,
    .name-company-column,
    .title-column,
    .topics-column,
    .description-column,
    .status-column,
    .action-promotion {
        display: none;
    }

    .omitted-timestamp-promotion,
    .omitted-name-company-promotion,
    .omitted-title-promotion,
    .omitted-type-promotion,
    .omitted-topics-promotion,
    .omitted-description-promotion,
    .omitted-status-promotion,
    .omitted-actions-promotion {
        display: block;
    }

    .show-mobile-sidebar {
        display: block;
    }

    .featured-image-mobile-tablet {
        display: block;
    }

    .featured-image-desktop {
        display: none;
    }

    #workspace-page-writer {
        padding: 0px !important;
    }

    .panel-heading {
        margin-top: 130px !important;
    }

    #article-content-container {
        margin-top: 0px;
    }

    #article-show-elements-buttons-container {
        display: flex;
    }
    #article-info {
        display: none;
    }

    #article-buttons {
        position: fixed;
        right: 0;
        top: 0;
        margin-top: 50px;
    }

    #article-category {
        width: 30vw !important;
    }

    #article-topic {
        width: 70vw !important;
    }

    .article-notes-desktop-laptop {
        display: none;
    }

    #live-article-title {
        margin-top: -10px;
    }

    #sm-records-filter {
        display: inline-block !important;
    }

    #sm-record-category {
        width: 100% !important;
    }

    #message-page {
        flex-direction: column !important;
    }
    .message-page-column {
        width: 100% !important;
    }

    #message-page-second-column {
        /* width: 100%;
        display: flex;
        flex-direction: column;
        margin-left: 0px; */
        display: none;
    }

    .form-page-content-container {
        display: flex;
        margin-top: 50px;
    }

    #modal-updates {
        justify-content: center;
    }
    #modal-updates .website-modal-content {
        width: 95% !important;
        margin: auto !important;
        margin-top: 50px !important;
    }

    #search-message-user-button {
        display: inline-flex !important;
    }

    #message-threads {
        margin-top: 90px !important;
    }

    #non-desktop-message-modes-modal-button {
        display: inline-block !important;
        position: fixed;
        right: 0;
        bottom: 0;
        margin-bottom: 50vh !important;
    }

    #desktop-message-modes-container {
        display: none !important;
    }

    /* #message-user-action span {
        z-index: 1000000000 !important;
    } */

    .non-desktop-edit {
        display: inline !important;
    }

    .desktop-edit {
        display: none;
    }
}

/*Between tablet and desktop modes...*/
@media only screen and (768px <= width <=1023px) {
}

/*On desktop mode...*/
@media only screen and (1024 <= width) {
    .workspace-search-container-mobile-tablet {
        visibility: hidden;
    }

    .workspace-sidebar {
        display: block;
    }
}
