@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    body.mobile {
        background: #EAEBEF !important;
    }
    .mobile .social-card.col2 {
        width: 100%!important;
    }
    .mobile .confirm-email-message{
        width:100%;
    }
    .mobile .social-card{
        border-radius: 0;
    }
    .mobile .mobile-footer{
        display: block;
        position: fixed;
        bottom: 0;
        width:100%;
        background:#323237;
        text-align: center;
        z-index:9999;
    }
    .mobile .homepage-newsfeed{
        margin-top:60px;
    }
    .mobile .mobile-footer > span{
        padding:15px 28px;
        color:#fff;
        display: inline-block;
        position: relative;
    }
    .mobile .mobile-footer span .fa-bell-o{
        font-size: 18px;
        margin-top: -6px;
        display: inline-block;
        vertical-align: 3px;
    }
    .mobile .social-card.share .card-header.card-title-action .user-pic{
        margin-right: 25px;
    }
    .mobile .mobile{
        display: block!important;
    }
    .mobile .desktop{
        display:none!important;
    }
    .mobile .dektop-inline{
        display: none !important;
    }
    .mobile .social-card.share .card-footer{
        border:none;
    }
    .mobile .social-card.share .card-footer > div > div{
        width:50%;
    }
    .mobile .post-youtube-container .youtube-video iframe{
        width:100%;
        height:auto;
    }
    .mobile .mobile-post-footer{
        text-align:center;
        border-top: 1px solid #e6e6e6;
    }
    .mobile .mobile-post-footer > div{
        display:inline-block;
        padding:10px 40px;
    }
    .mobile .card.social-card .article-post .article-head{
        width:100%;
        float:none;
    }
    .mobile .card.social-card .article-post .article-category{
        width:100%;
        float:none;
        text-align:left;
    }
    .mobile .mobile-container-wrapper{
        position: fixed;
        z-index: 99999;
        width:100%;
        height:100%;
        left:0;
        top:0;
        background: rgba(0,0,0,0.5);
    }
    .mobile .mobile-comment-container{
        position: fixed;
        z-index: 99999;
        background: #fff;
        border-radius: 25px;
        width: 98%;
        height: 98%;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        bottom: 0;
    }
    .mobile .mobile-comment-container .comments-container{
        height: calc(100% - 110px);
        overflow: auto;
    }
    .mobile .mobile-comment-container .pg-close_line {
        position: absolute;
        top: 10px;
        right: 5px;
        font-size: 25px;
    }
    .mobile .mobile-comment-container .write-review .send-button{
        margin-left:14px;
    }
    .mobile .mobile-comment-container .mobile-comment-header{
        border-bottom: 1px solid #e6e6e6;
        padding: 5px 5px;
        margin: 10px;
    }
    .mobile .mobile-comment-container .mobile-comment-header .mobile-cmt-header-right{
        margin-top: -5px;
        margin-right: 35px;
    }
    .mobile .mobile-comment-container .mobile-comment-header .mobile-cmt-header-right .pg-refresh{
        font-size:25px;
    }
    .mobile #report-post{
        width:100%!important;
        z-index: 999999;
    }
    .mobile .overlay-social{
        z-index: 999999;
    }
    .mobile .mobile-comment-container .comments-container .first-level-commment .comment_details{
        margin:0;
    }
    .mobile .mobile-comment-container .comments-container .first-level-commment .comment_details > div{
        margin:0 5px;
    }
    .mobile .mobile-comment-container .second-level-comment{
        margin-left:30px;
    }
    .mobile .mobile-search-container{
        position: fixed;
        z-index: 99999;
        background: #fff;
        width: 95%;
        top: 10%;
        left: 0;
        right: 0;
        margin: auto;
        padding:10px;
    }
    .mobile .mobile-search-container .search-inner-container{
        position: relative;
    }
    .mobile .mobile-search-container .search-inner-container i.pg-search{
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .mobile.search_page .engynn-search, .mobile.savedpage_page .engynn-search{
        width:100%;
        padding-left:0;
    }
    .mobile.search_page .engynn-search h3, .mobile.savedpage_page .engynn-search h3{
        text-transform: uppercase;
        font-size: 17px;
        margin-bottom: 0;
    }
    .mobile.search_page .engynn-search h5.searchsubhead, .mobile.savedpage_page .engynn-search h5.searchsubhead{
        text-align: center;
        color:#2c2c2c;
    }
    .mobile.search_page .engynn-search .profile_tab, .mobile.savedpage_page .engynn-search .profile_tab{
        margin-left: 0;
        margin-right: 0;
        margin-top: 15px;
    }
    .mobile.search_page .engynn-search .profile_tab .search-filter, .mobile.savedpage_page .engynn-search .profile_tab .search-filter{
        display:none;
    }
    .mobile.search_page .engynn-search .search_results .usercontainer, .mobile.savedpage_page .engynn-search .search_results .usercontainer {
        padding-left: 0;
        padding-right: 0;
    }
    .mobile.search_page .engynn-search .search_results .usercontainer .col-md-3,
    .mobile.savedpage_page .engynn-search .search_results .usercontainer .col-md-3{
        width:20%;
    }
    .mobile.search_page .engynn-search .search_results .usercontainer .col-md-9,
    .mobile.savedpage_page .engynn-search .search_results .usercontainer .col-md-9{
        width:80%;
    }
    .mobile .social-card.add-new-post-container{
        z-index: 999999;
        background: #fff;
        top: 0;
        height: 100% !important;
        width: 100%;
        max-height: 100%;
    }
    .mobile .mobile-header i.pg-close{
        font-size: 20px;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .mobile .mobile-header{
        background: #323237;
        color: #fff;
        position: relative;
    }
    .mobile .social-card.share .card-header.mobile-dummy-header{
        background:#323237;
        width:100%;
        position: fixed;
        z-index: 99;
        top:48px;
    }
    .mobile .mobile-header h4{
        color: #fff;
        text-align: center;
        padding: 10px 0;
        margin: 0;
    }
    .mobile .social-card.share .card-header.mobile-dummy-header textarea{
        width: 85%;
        float: right;
        height: 30px;
    }
    .mobile .mobile-share-popup {
        border:none !important;
    }
    .mobile .mobile-share-popup .hidden_data .post-button{
        padding-left: 0;
    }
    .mobile .mobile-share-popup .post-detail-mobile{
        float: right;
        width:80%;
        padding: 0;
        margin-top: -10px;
    }
    .mobile .mobile-share-popup .post-detail-mobile h4{
        margin: 0;
    }
    .mobile .mobile-share-popup .mobile-textarea {
        width: 100%;
        margin: 0 auto;
        height: 115px;
    }
    .mobile .mobile-share-popup .mobile-textarea textarea{
        width: 100%;
        height: 100%;
    }
    .mobile .hidden_data .post-save-button button{
        width:100px;
        margin:0 20px;
    }
    .mobile .add-new-post .doc-permission-modal{
        width: 100%;
        height: 100%;
        top: 0;
        border: none !important;
    }
    .mobile .social-card .post-photo img{
        max-height: 250px;
    }
    .mobile .mobile-comment-container.img-view{
        background: none;
    }
    .mobile .mobile-comment-container.img-view img{
        position: absolute;
        max-width: 100%;
        max-height: 90%;
        width: auto;
        height: auto;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
    }
    .mobile .mobile-comment-container.img-view .pg-close_line{
        font-size: 20px;
        color: #fff;
    }
    .mobile .returntocomment{
        margin-left: 20px;
    }
    .mobile .reply-count{
        background: #EEEFF7;
        text-align: center;
        margin-bottom: 20px;
        margin-top: -10px;
        margin-left: -30px;
    }
    .mobile.docs_page .messenger-page{
        width: 100%;
        position: relative;
    }
    .mobile.docs_page .docs-page > .col-lg-9{
        max-width: 100%;
        padding: 0;
        flex: none;
    }
    .mobile.docs_page .messenger-page.docs-page .engynn-messenger-active{
        position: relative;
        padding: 0;
    }
    .mobile.docs_page .engynn-doc{
        width: 100%;
    }
    .mobile.docs-page .doc-body table{
        margin-top: 0;
    }
    .mobile.docs-page .doc-breadcrumb{
        background:#323237;
        padding:10px;
        margin: 0;
        color: #fff;
        overflow: auto;
    }
    .mobile .doc-breadcrumb ul{
        margin: 0;
        white-space: nowrap;
    }
    .mobile .doc-info{
        width: 80%;
        margin: 0 auto;
        text-align: center;
        top: 20%;
        position: relative;
    }
    .mobile .mobile-doc-button button{
        margin: 5px;
        width: auto;
    }
    .mobile .doc-info.preview img{
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    .mobile .docs-page .doc-breadcrumb p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        direction: rtl;
    }
    .mobile .engynn-profile{
        width: 100%;
        padding-left: 0;
    }
    .mobile.detailpage_page .engynn-profile{
        padding:0 10px;
    }
    .mobile.detailpage_page .engynn-profile .cover-photo img{
        max-width:100%;
    } 
    .mobile.detailpage_page .engynn-profile .pagebuilder-table{
        background: none !important;
        border: none !important;
        padding: 0;
    }
    .mobile.messenger_page .messenger-page, .mobile.messengerview_page .messenger-page{
        position: relative;
        width: 100%;
        margin-top: 88px;
    }
    .mobile.messenger_page .messenger-page .engynn-messenger, .mobile.messengerview_page .messenger-page .engynn-messenger{
        width: 100%;
        padding: 0;
    }
    .mobile .messengerSelect{
        display:none;
    }
    .mobile .messenger-header{
        position: fixed;
        top: 48px;
        z-index: 9999;
        background: #323237;
        color: #fff;
        width: 100%;
        font-size: 20px;
        text-align: center;
    }
    .mobile .messenger-header .fa-edit{
        position: absolute;
        right: 15px;
        top: 15px;
    }
    .mobile .messenger-header .fa-chevron-left{
        position: absolute;
        left: 15px;
        top: 15px;
    }
    .mobile .messenger-header .fa-paperclip{
        position: absolute;
        right: 15px;
        top: 15px;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-body{
        position: fixed;
        height: calc(100% - 210px);
        padding: 0;
        width: 100%;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer{
        position: fixed;
        width: 100%;
        bottom: 50px;
        left:0;
    }
    .mobile .messenger-header input{
        width: 85%;
        border-radius: 10px;
        border:none;
        padding: 0 5px;
    }
    .mobile .chat-footer .send-button{
        position: absolute;
        top: 10px;
        right: 5px;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer .msg-attachment{
        height:25px;
        padding: 0 10px;
        display: none;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer .msg-attachment.have_attachment{
        display: block;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer textarea {
        height: 45px;
        padding: 5px;
        padding-right: 35px;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer .msg-attachment .att-info label{
        width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer .msg-attachment i.fa-close {
        position: absolute;
        right: 5px;
        top: -5px;
    }
    .mobile .messenger-page{
        width: 100%;
        top: 10px !important;
    }
    .mobile .messenger-page.docs-page.calendar-page > div[class*='col-lg'] {
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
    .mobile .messenger-page.docs-page.calendar-page .engynn-doc{
        width: 100%;
    }
    .mobile .mobile-calendar-tab{
        margin-bottom: 15px;
    }
    .mobile .mobile-calendar-tab button{
        padding: 5px;
        font-size: 13px;
        opacity: 0.7;
    }
    .mobile .mobile-calendar-tab button.activeTab{
        opacity: 1;
    }
    .mobile .event-list h4{
        width: 100%;
    }
    .mobile .calendar-page #calendar .event-list .event_status{
        bottom: 20px;
        top: auto;
    }
    .mobile .calendar-container{
        margin-bottom: 15px;
    }
    .mobile .new_user_form.new_event_form.viewEvent .mobile-calendar-tab button{
        width:auto;
    }
    .mobile .engynn-page h3{
        color: #2c2c2c;
    }
    .mobile .mobile-event-response h6{
        margin-bottom: 20px;
    }
    .mobile .mobile-notification{
        position: fixed;
        z-index: 9999;
        top: 48px;
        width: 100%;
        height: calc(100% - 102px);
        background: #fff;
    }
    .mobile .mobile-notification .noti-body{
        overflow: auto;
        position: absolute;
        top: 50px;
        padding:0;
        height: calc(100% - 50px);
        max-height: calc(100% - 50px);
        width:100%;
    }
    .mobile .mobile-notification.notification-panel .notification-body .notification-item{
        margin:0;
        margin-top:1px;
    }
    .mobile .mobile-notification.notification-panel .notification-body .notification-item .notif-temp{
        display: inline-block;
        width: calc(100% - 62px);
    }
    .mobile .mobile-notification.notification-panel .notification-body .notification-item .notif-time{
        margin-left: 62px;
    }
    .mobile .mobile-footer > span .bubble{
        position: absolute;
        top: 0;
        left: calc(100% - (100% / 2) );
        width: 20px;
        height: 20px;
        background: red;
        border-radius: 50%;
        text-align: center;
    }
    .mobile.profile_page .user-common-detail{
        text-align: center;
        padding: 0;
    }
    .mobile.profile_page .profile_tab{
        margin:0;
    }
    .mobile.profile_page .profile_tab ul{
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    .mobile.profile_page .profile_tab ul li{
        display: inline-block;
        text-align: center;
        margin: 5px;
        background: #000;
        width: 70px;
        font-size: 10px;
        padding: 5px;
        color:#fff;
    }
    .mobile.profile_page .profile_tab ul li.selected{
        background: #323237;
    }
    .mobile.profile_page .profile_tab ul li .fa{
        font-size: 20px;
    }
    .mobile .engynn-profile .profile_tab .tabcontent{
        padding: 0;
    }
    .mobile .engynn-profile .profile_tab .tab3content{
        padding:10px;
        margin: 0;
    }
    .mobile .engynn-profile .profile_tab .tab2content > div{
        width:50%;
    }
    .mobile.calendar_page .new_user_form.new_event_form.viewEvent button,
    .mobile.viewcalendar_page .new_user_form.new_event_form.viewEvent button{
        width: auto;
        min-width: auto;
    }
    .mobile.calendar_page .new_user_form.new_event_form.viewEvent button .showdesktop,
    .mobile.viewcalendar_page .new_user_form.new_event_form.viewEvent button .showdesktop{
        display:none;
    }
    .mobile.calendar_page .new_user_form.new_event_form.viewEvent button .mobile,
    .mobile.viewcalendar_page .new_user_form.new_event_form.viewEvent button .mobile{
        display: inline-block!important;
    }
    .mobile.calendar_page .new_user_form.new_event_form.viewEvent .event-status-tab .status-label,
    .mobile.viewcalendar_page .new_user_form.new_event_form.viewEvent .event-status-tab .status-label{
        width:auto;
    }
    .mobile.calendar_page .new_user_form.new_event_form .card-body .invite-user-list .tag-user-list .col-md-2,
    .mobile.viewcalendar_page .new_user_form.new_event_form .card-body .invite-user-list .tag-user-list .col-md-2{
        width:20%;
    }
    .mobile.calendar_page .new_user_form.new_event_form .card-body .invite-user-list .tag-user-list .col-md-8,
    .mobile.viewcalendar_page .new_user_form.new_event_form .card-body .invite-user-list .tag-user-list .col-md-8{
        width:80%;
    }
    .messenger-page.docs-page.calendar-page .engynn-doc h3 {
        margin-top: 0;
    }
    .mobile.calendar_page .authenticatePage{
        position: fixed;
        width: 100%;
        height: calc(100% - 55px);
        overflow: auto;
        top: 0;
    }
    .mobile .mobile-camera{
        position: absolute;
        top: 0px;
        right: 0;
        width: 200px;
        left: 0;
        margin: auto;
        text-align: right;
        color: #fff;
    }
    .mobile .mobile-camera .fa-camera{
        background: #323237;
        padding: 15px;
        font-size: 22px;
        border-radius: 50%;
    }
    .mobile #mobile-photo-action{
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        z-index: 999999;
        background: #fff;
        border: 1px solid #323237;
    }
    .mobile #mobile-photo-action ul{
        list-style: none;
        padding: 0;
        margin: 13px;
    }
    .mobile #mobile-photo-action ul li{
        font-size: 20px;
        padding: 15px;
        border-bottom: 1px solid #323237;
        position: relative;
        padding-left: 60px;
    }
    .mobile #mobile-photo-action ul li:last-child{
        border:none;
        color: red;
    }
    .mobile #mobile-photo-action ul li .fa{
        position: absolute;
        left: 25px;
    }
    .mobile .engynn-profile .profile_tab .tab2content > div.own_profile_view{
        width:100%;
    }
    #rightMessenger{
        display: none;
    }
    .news_page .engynn-profile .profile_tab{
        margin: 0;
    }
    .card.social-card.readmorepost{
        z-index: 999999;
        width: 100%;
        height: 100% !important;
        top: 0;
        border-radius: 30px;
    }
    .card.social-card.readmorepost .mobile-post-footer{
        display: none!important;
    }
    .card.social-card .readmore-actions{
        display: none!important;
    }
    .card.social-card.readmorepost .readmore-actions{
        display:block!important;
    }
    .card.social-card.readmorepost .readmore-actions .readmoreclose{
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 25px;
    }
    .card.social-card.readmorepost .readmore-actions .readmorelike{
        position: absolute;
        right: 60px;
        top: 15px;
    }
    .profile_page .engynn-profile .new-profile .user-pic img{
        margin-top:0;
    }
    .profile_page .profile-new-header {
        background: #323237;
        padding: 10px;
        color: #fff;
        padding-left: 40px;
        text-align: left;
        font-size: 18px;
    }
    .profile_page .new-profile > p {
        text-align: left;
        padding-left: 30px;
        font-size: 16px;
        margin: 10px;
        color: #323237;
        font-weight: 400;
    }
    .profile_page .new-profile > p .send-msg{
        background: #323237;
        color: #fff;
        border: none;
    }
    .profile_page .new-profile-edit {
        margin: 25px;
    }
    .settings_page h3{
        width: 100%;
        text-align: center;
    }
    .settings-container .sc-btns{
        text-align:center;
    }
    .settings-container .sc-btns button{
        width:45%;
        margin:2%;
    }
    .np-btn button{
        width:45%;
        margin:1%;
    }
    .new-profile-edit select{
        width:45%;
    }
    .np-btn .red-btn{
        background:red!important;
        border-color:red!important;
    }
    .profile_page .profile-info-msg{
        background: #FD7E45;
        color:#fff;
    }
    .noeventinvitation{
        margin: 100px 0;
        text-align: center;
    }
    .noeventinvitation span{
        display: block;
        line-height: 50px;
        font-size: 50px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
    .noeventinvitation label{
        font-size: 25px;
        line-height: 25px;
    }
    .event-single-view-comments span.toggleContainer{
        display:none;
    }
    #report-post .new_event_form .card {
        position: absolute;
        width: 95%;
        height: 95% !important;
        overflow: hidden;
        left: 0;
        right: 0;
        margin: auto;
    }
    #report-post .new_event_form .card .tag-user-list .col-md-1{
        width:8%;
    }
    #report-post .new_event_form .card .tag-user-list .col-md-2{
        width:8%;
    }
    #report-post .new_event_form .card .tag-user-list .col-md-8{
        width:40%;
    }
    #report-post .new_event_form .card .submit_form .selected-people{
        position: absolute;
        bottom: 20px;
    }
    .mobile.calendar_page .new_user_form.new_event_form .card-body .invite-user-list .tag-user-list .col-md-8 .invited_by a{
        text-decoration: underline;
    }
    .mobile .header .pg, .mobile .page-sidebar .sidebar-header i{
        font-size: 25px;
    }
    .authenticatePage {
        height: calc(100% - 35px);
        overflow: auto;
    }
    .new_user_form.new_event_form .attachment-lists .event-attachment{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .calendar_page .datepicker-dropdown{
        width:100%;
        height: 100%;
        background:rgba(0,0,0,0.5)!important;
        z-index: 9999!important;
        left: 0!important;
        top:0!important;
    }
    .calendar_page .datepicker-dropdown .table-condensed{
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
        right: 0;
        background: #fff;
        width: 90%;
        height: 50%;
        font-size: 17px;
    }
    .calendar_page .datepicker-dropdown .table-condensed .datepicker-switch{
        font-size: 25px;
    }
    body.mobile.login_page {
        background: #fff!important;
    }
    .mobile .mobile-comment-container.mobileimgpreview{
        background:rgba(0,0,0,0.1);
    }
}

@media only screen and (max-width: 768px) and (max-height: 500px) {
    .mobile .mobile-footer{
        display:none;
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-body{
        height:calc(100% - 150px);
    }
    .mobile .messenger-page .engynn-messenger-active-chats .chat-footer{
        bottom:0;
    }
    .mobile .authenticatePage{
        height:100%!important;
    }
}