@media (min-width:479px) {

  /* confirm */
  .confirm-box {
    width: 300px;
  }
  .confirm-box-message {
    padding: 0px 20px;
  }

  /* alert */
  .alert-box {
    width: 300px;
  }

}

@media (min-width: 769px){
  .content {
    flex-direction: row;
    margin-top: 80px;
    margin-bottom: 200px;
    max-width: 1160px;
    width: calc(100% - 20px);
  }
  .menu-container {
    width: 200px;
    height: 500px;
    margin: 0px;
  }
  .article-container {
    width: calc(100% - 220px);
    margin-left: 20px;
  }
  /**************/
  .admin-detail {
    background-color: rgba(0,0,0,0);
  }
  .admin-name {
    line-height: 30px;
    height: 30px;
    border-bottom: 1px solid rgb(230,230,230);
  }
  .menu-hamberger {
    display: none;
  }
  .admin-image {
    /*display: block;*/
    margin: auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgb(240,240,240);
    background: transparent;
    text-align: center;
    line-height: 120px;
    font-size: 72px;
    overflow: hidden;
  }
  .admin-image > img {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /*padding: 3px;
    border-radius: 50%;*/
  }
  .menu-bar {
    padding-top: 20px;
    background-color: rgba(0,0,0,0);
    display: block !important;
  }

  .menu-bar-fixed {
    position: fixed;
    top: 0px;
    width: 200px;
  }

  ul.menu-bar-container > li > a {
    height: 32px;
    line-height: 32px;
  }






  /***************/
  ul.table-farmer-list-header > li:nth-child(1) {
    flex-basis: 12%;
  }
  ul.table-farmer-list-header > li:nth-child(2) {
    flex-basis: 32%;
  }
  ul.table-farmer-list-header > li:nth-child(3) {
    flex-basis: 15%;
  }
  ul.table-farmer-list-header > li:nth-child(4) {
    flex-basis: 15%;
  }
  ul.table-farmer-list-header > li:nth-child(5) {
    flex-basis: 15%;
  }
  ul.table-farmer-list-header > li:nth-child(6) {
    flex-basis: 11%;
  }

  table.table-farmer-list td:nth-child(1) {
    width: 12%;
  }
  table.table-farmer-list td:nth-child(2) {
    width: 30%;
  }
  table.table-farmer-list td:nth-child(3) {
    width: 20%;
    display: table-cell;
  }
  table.table-farmer-list td:nth-child(4) {
    display: table-cell;
  }
  table.table-farmer-list td:nth-child(5) {
    width: 8%;
  }
  table.table-farmer-list td {
    padding: 12px 8px;
    word-wrap: break-word;
  }


  .table-farmer > .table-farmer-tr > a > div {
    padding: 12px 8px;
    word-wrap: break-word;
  }
  .table-farmer > .table-farmer-tr > a > div:nth-child(1) {
    width: 12%;
  }
  .table-farmer > .table-farmer-tr > a > div:nth-child(2) {
    width: 30%;
  }
  .table-farmer > .table-farmer-tr > a > div:nth-child(3) {
    width: 20%;
  }
  .table-farmer > .table-farmer-tr > a > div:nth-child(4) {
    width: 38%;
  }
  /***********************************************/
  /***********************************************/
  .cost-list-container, .cost-list-unit-container {
    padding: 30px;
  }
  .cost-category-row.lst-row > .cost-category-col-number {
    display: block;
  }
  .cost-category-row.lst-row > .cost-category-col-input {
    flex-basis: 40%;
  }
  .cost-category-row.ctgr-row > .cost-category-col-input-note {
    flex-basis: 43%;
  }
  .cost-category-row > .cost-category-col-number {
    flex-basis: 30px;
  }
  .cost-category-row > .cost-category-col-input {
    flex-basis: 40%;
  }
  .cost-category-row > .cost-category-col-unit {
    flex-basis: 13%;
  }
  .cost-category-row > .cost-category-col-input-note {
    flex-basis: 30%;
  }
  .cost-category-row > div {
    padding: 6px 4px;
  }
  .cost-category-row {
    flex-wrap: nowrap;
  }

  /***********/
  .table-cost-unit {
    width: 500px;
  }
  .table-cost-unit  tr  td {
    padding: 6px 4px;
  }

  /**************************************************/
  .table-cost-input-bar {
    flex-direction: row;
    justify-content: space-between;

  }
  .table-cost-input-container {
    overflow-x: auto;
  }

  /***************************************************/
  .content_container {
    padding: 30px;
  }
  .form_section {
    justify-content: flex-start;
  }
  .form_row {
    margin-bottom: 10px;
    flex-basis: calc(50% - 10px);

  }
  .form_row:nth-child(odd) {
    margin-right: 20px;
  }

  .rowW1, .rowW2, .rowW3 {
    flex-basis: calc(50% - 10px);
  }

  .rowW5 {
    flex-basis: 100%;
  }
  .selW1 {
    min-width: 200px;
    width: auto;
  }

  table.table-damage-list {
    width: 500px;
  }
  .table-damage-list td {
    padding: 6px 8px;
  }
  .table-damage-list td:nth-child(1) {
    width: 10%;
  }
  .table-damage-list td:nth-child(3) {
    width: 20%;
  }
  .table-damage-list td:nth-child(4) {
    width: 15%;
  }

  .file_input_name {
    max-width: 100px;
  }
  .rain_dm_lv_lst_container .list td:nth-child(3) {
    padding-right: 20px;
  }

  /*********************************/
  .history_container {
    margin-bottom: 150px;
    height: 520px;
    top: 0;
  }
  .hc_table_container {
    height: 465px;
  }

  .hc_rain td:nth-child(1) {
    width: 90px;
  }
  .hc_rain td:nth-child(2) {
    width: auto;
  }
  .hc_rain td:nth-child(3) {
    width: 220px;
  }
  /*****************************/
  .manageuser_container {
    flex-direction: row;
  }
  .manageuser_container > .user_list ul > li {
    margin-right: 30px;
  }


}
@media (min-width: 800px){
  .rowW1 {
    flex-basis: 220px;
    margin-right: 20px;
  }
  .rowW2 {
    flex-basis: 175px;;
    margin-right: 20px;
  }
  .rowW3 {
    flex-basis: 200px;
    margin-right: 20px;
  }
  .rowW4  {
    flex-basis: 330px;
    margin-right: 20px;
  }
  .file_input_name {
    max-width: 150px;
  }

}
@media (min-width: 992px){
  .min992_hide {
    display: block;
  }
  .rowW5 {
    flex-basis: calc(50% - 10px);
  }
  .file_input_name {
    max-width: 220px;
  }
}
