@media (min-width: 980px) {

}

@media (min-width: 1240px) {
  .fav-item-tabel table > thead > tr > th:nth-child(2) {
    min-width: 380px;
  }

  /* ActiveAuction Page */
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(1) {

  width: 100px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(2) {
  
  min-width: 85px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(3) {
    
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(4) {
    
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(5) {
    
  min-width: 85px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(6) {
    
  min-width: 85px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(7) {
    
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(8) {
    
  min-width: 95px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(9) {
    
  min-width: 90px;
  }
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(10) {
    
  }
  
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(11) {
    
  }
  
  .messagecenter-box .tw-activeauction > thead > tr > th:nth-child(12) {
    
  }
  /* ActiveAuction Page */

    /* ReadyToSell Page */

    .messagecenter-box .tw-rts > thead > tr > th:nth-child(1) {

      width: 45px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(2) {
      
      min-width: 100px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(3) {
        min-width: 85px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(4) {
        min-width: 85px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(5) {
        
      min-width: 55px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(6) {
        
      min-width: 55px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(7) {
        
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(8) {
        
      min-width: 95px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(9) {
        
      min-width: 100px;
      }
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(10) {
        
      }
      
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(11) {
        
      }
      
      .messagecenter-box .tw-rts > thead > tr > th:nth-child(12) {
        
      }

    /* ReadyToSell Page */


    
}

@media (min-width: 768px) and (max-width: 979px) {

  .mail-box .sm-side {
    width: 30%;
  }

  .mail-box .lg-side {
    width: 70%;
  }

}

@media (max-width: 979px) {
  .boxsf {
    width: 100%;
  }
  .navscroll-box {
    width: 100%;
    position: relative;
    left: auto;
  }
}

@media (max-width: 768px) {

.messagecenter-box .tw-rts > thead > tr > th:nth-child(4) {
  min-width: 350px;
}
  .header {
    position: fixed;
  }

  /*sidebar*/
  #sidebar {
    height: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1001;
  }
  .sidebar-closed #sidebar {
    position: absolute;
  }
  #sidebar {
    position: relative;
    margin-bottom: 0;
  }
  
  .sidebar-closed .wrapper {
    margin-top: 60px !important;
  }
  /* body container */
  #main-content {
    margin: 0px!important;
    position: none !important;
  }

  #sidebar > ul > li > a > span {
    line-height: 35px;
  }

  #sidebar > ul > li {
    margin: 0;
  }
  #sidebar > ul > li > a {
    height: 45px;
    line-height: 44px;
    padding: 0 10px;
    text-align: right;
  }
  #sidebar > ul > li > a i{
    /*display: none !important;*/
  }

  .mail-info, .mail-info:hover {
    display: none !important;
  }
  #sidebar ul > li > a .arrow, #sidebar > ul > li > a .arrow.open {
    margin-left: 10px;
    margin-top: 20px;
  }

  #sidebar ul > li.active > a .arrow, #sidebar ul > li > a:hover .arrow, #sidebar ul > li > a:focus .arrow,
  #sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open{
    margin-top: 20px;
  }

  #sidebar > ul > li > a, #sidebar > ul > li > ul.sub > li {
    width: 100%;
  }
  #sidebar > ul > li > ul.sub > li > a {
    background: transparent !important ;
  }
  #sidebar > ul > li > ul.sub > li > a:hover {
    /*background: #4A8BC2 !important ;*/
  }


  /* sidebar collabler */
  #sidebar .btn-navbar.collapsed .arrow {
    display: none;
  }

  #sidebar .btn-navbar .arrow {
    position: absolute;
    left: 35px;
    width: 0;
    height: 0;
    top:48px;
    border-bottom: 15px solid #282e36;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }


  /*---------*/

  .btn {
    margin-bottom: 5px;
  }


  .mail-box aside {
    display: block;
  }

  .mail-box .sm-side , .mail-box .lg-side{
    width: 100% ;
  }

  /* full calendar fix */
  .fc-header-left {
    right:25px;
    position: absolute;
  }

  .fc-header-right .fc-button {
    margin: 0px !important;
    top: -10px !important;
  }

  .fc-header-left .fc-button {
    margin: 0px !important;
    top: -50px !important;
  }

  .fc-state-active, .fc-state-active .fc-button-inner, .fc-state-hover, .fc-state-hover .fc-button-inner {
    background: none !important;
    color: #FFFFFF !important;
  }

  .fc-state-default, .fc-state-default .fc-button-inner {
    background: none !important;
  }

  .fc-button {
    border: none !important;
    margin-left: 2px;
  }

  .fc-view {
    top: 0px !important;
  }

  .fc-button .fc-button-inner {
    margin: 0px !important;
    padding: 2px !important;
    border: none !important;
    margin-left: 2px !important;
    background-color: #fafafa !important;
    background-image: -moz-linear-gradient(top, #fafafa, #efefef) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#efefef)) !important;
    background-image: -webkit-linear-gradient(top, #fafafa, #efefef) !important;
    background-image: -o-linear-gradient(top, #fafafa, #efefef) !important;
    background-image: linear-gradient(to bottom, #fafafa, #efefef) !important;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fafafa', endColorstr='#efefef', GradientType=0) !important;
    -webkit-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
    -moz-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
    box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    color: #646464 !important;
    border: 1px solid #ddd !important;
    text-shadow: 0 1px 0px rgba(255, 255, 255, .6) !important;
    text-align: center;
  }

  .fc-button.fc-state-disabled .fc-button-inner {
    color: #bcbbbb !important;
  }

  .fc-button.fc-state-active .fc-button-inner {
    background-color: #e5e4e4 !important;
    background-image: -moz-linear-gradient(top, #e5e4e4, #dddcdc) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e5e4e4), to(#dddcdc)) !important;
    background-image: -webkit-linear-gradient(top, #e5e4e4, #dddcdc) !important;
    background-image: -o-linear-gradient(top, #e5e4e4, #dddcdc) !important;
    background-image: linear-gradient(to bottom, #e5e4e4, #dddcdc) !important;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#e5e4e4', endColorstr='#dddcdc', GradientType=0) !important;
  }

  .fc-content {
    margin-top: 50px;
  }

  .fc-header-title h2 {
    line-height: 40px !important;
    font-size: 12px !important;
  }

  .fc-header {
    margin-bottom:0px !important;
  }


  .timeline-desk .album a {
    margin-bottom: 5px;
    margin-left: 4px;
  }

  .stepy-titles li {
    margin: 10px 3px;
  }

  .mail-option .btn {
    margin-bottom: 0;
  }


  .ml-sidebar #sidebar {
    width: 0 !important;
  }
  aside {
    left: 50px;
    position: fixed;
    overflow-y: auto;
  }
  .ml-sidebar aside {
    width: 0;
  }
  
  body:before {
    content: "";
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: #000000b3;
    z-index: 999;
    display: none;
  }
  
 
  
  #sidebar {
    opacity: 0;
    transform: translateX(100%);
    transition: .2s;
  }
  aside {
    opacity: 0;
    transition: .2s;
    transform: translateX(100%);
  }
  
  .ms-sidebar aside {
    opacity: 1;
    transform: translateX(0);
  }
  
  .ms-sidebar #sidebar {
    opacity: 1;
    transform: translateX(0);
  }
  .ms-sidebar:before {
    display: block;
  }
  .notify-row {
    display: none;
  }
  .nkcp .item > label {
    width: 100%;
  }
  .oowpl {
    width: 100%;
  }
  .nkcp .ld .item > textarea {
    width: 100%;
  }
  .nkcp .item > input {
    width: 100%;
  }
  .oowpl > .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  .sim-label-box {
    width: 100%;
  }
  .nkcp .item > input.min-label-toman {
    width: calc(100% - 45px);
  }
  .btn-group-4 .btn {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .nkcp .item.item-200 > input.min-label-toman {
    width: calc(100% - 45px);
  }
  .theme-change .item {
    width: calc(50% - 10px);
  }
  .toggle-contact {
    display: block;
  }
  .right-chat {
   position: absolute;
   top: 34px;
   transform: translateX(10%) scale(.9);
   transition: all .1s linear;
   z-index: 99;
   opacity: 0;
   visibility: hidden;
   height: calc(100vh - 124px);
  }
  .left-chat {
    width: 100%;
  }
  .right-chat.active {
    
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
  }
  .toggle-contact > strong {
    
  font-size: 18px;
  float: left;
  margin: 9px 15px;
  }
  .chat {
    height: calc(100% - 124px);
  }
  a.logo {
    font-size: 18px;
    margin-top: 17px;
  }
  .top-nav ul.top-menu > li {
    margin-right: 0;
  }
  .header .top-nav > ul > li:first-child {
    display: none;
  }
  .sidebar-search-box {
    display: block;
  }
  @media screen and (-webkit-min-device-pixel-ratio:0) {  
	  .left-chat {
		    height: calc(100vh - 150px);
    }
    .right-chat {
       height: calc(100vh - 184px);
    }  
  }
  
  .ms-sidebar {
	  overflow-y:hidden;
  }
}

@media (max-width: 480px) {

  .mail-box aside {
    display: block;
  }

  .mail-box .sm-side , .mail-box .lg-side{
    width: 100% ;
  }

  
  .hidden-phone {
    display: none !important;
  }

  .dataTables_filter {
    float: right;
  }

  .dataTables_info {
    margin-bottom: 10px;
  }

  .mail-option .btn {
    margin-bottom: 0;
  }

  .mail-option .inbox-pagination {
    margin-top: 10px;
    float: right;
  }

  .chart-position {
    margin-top: 0px;
  }
  
}

@media (max-width: 370px) {
  .dropdown-menu.extended {
    width: 277px !important;
  }
}

@media (max-width:320px) {
  .login-social-link a {
    padding: 15px 17px !important;
  }

  .notify-row, .search, .dont-show, .inbox-head .sr-input, .inbox-head .sr-btn {
    display: none;
  }

  .mail-box aside {
    display: block ;
  }

  .mail-box .sm-side , .mail-box .lg-side{
    width: 100% ;
  }

  #top_menu .nav > li, ul.top-menu > li {
    float: left;
  }

  .hidden-phone {
    display: none !important;
  }

  .dataTables_filter {
    float: right;
  }

  .dataTables_info {
    margin-bottom: 10px;
  }

  .mail-option .btn {
    margin-bottom: 0;
  }

  .mail-option .inbox-pagination {
    margin-top: 10px;
    float: right;
  }

  .chart-position {
    margin-top: 0;
  }

}

@media (min-width: 481px) and (max-width: 522px) { 
.sidebar-closed .wrapper {
  margin-top: 90px !important;
}
}

@media (max-width: 318px) { 
  .sidebar-closed .wrapper {
    margin-top: 90px !important;
  }
}



