@media only screen and (min-width: 1008px) {
  #blk-search {
    background: url(../img/gfx/blk-search.png) no-repeat;
    height: 318px;
    padding: 10px 0 0 50px;
    margin: 15px 0;
  }
  #blk-search .q {
    float: left;
    width: 300px;
  }
  #blk-search .q .qq {
    padding: 15px 0 5px 10px;
  }
  #blk-search .ll {
    width: 240px;
  }
  #blk-search .text {
    height: 33px;
    width: 232px;
    background: url(../img/gfx/contact-input.png) no-repeat;
    border: 0;
    cursor: pointer;
    cursor: hand;
  }
  #blk-search input.text { 
    width: 212px; padding-left: 10px; padding-right: 10px; line-height: 32px;
  }
  #blk-search input[type='button'] {
    text-align: center;
    padding: 0; width: 20px;
  }
  #blk-search select {
    border: 1px solid #c2c8da;
    padding: 5px 3px 5px 5px;
    width: 231px;
  }
  #blk-search .ee {
    width: 540px;
    float: left;
  }
  #blk-search .ee .text {
    background: url(../img/gfx/search-input-l.png) no-repeat;
    width: 534px;
  }
  #blk-search .send {
    text-align: right;
    padding-right:60px;
    padding-top: 20px;
  }
  #blk-search .submit {
    border: 0;
    cursor: pointer;
    cursor: hand;
    width: 108px;
    height: 42px;
  }
  #blk-search .submit.cs {
    background: url(../img/gfx/button-search_cs.png) no-repeat;
    font-size: 0;
  } 

  #iframeCategory
  {
    display: none; 
    position: absolute;
    border: solid 1px black;
    z-index: 10000;
    margin-left: -100px;
  }

  .catSelect
  {
    cursor: pointer;
    height: 24px;
  }

  #btnCategory, #btnCategoryDelete
  {
    position: absolute;
    width: 10px;
    margin-top: 4px;
  }
  #btnCategoryDelete
  {
    margin-left: 20px;
  }
}
@media only screen and (max-width: 1007px) {
  #blk-search {
    margin: 15px 0;
  }
  #blk-search .e
  {
    display: flex;
    flex-direction: column;
  }
  #blk-search .q {
    float: left;
    width: 100%;
  }
  #blk-search .q .qq {
    padding: 15px 10px 5px 10px;
  }
  #blk-search .text {
    height: 33px;
    border: 0;
    cursor: pointer;
    cursor: hand;
  }
  #blk-search input.text { 
    
    width: calc(100% - 22px);
    padding-left: 10px;
    padding-right: 10px;
    line-height: 32px; 
    border: #888888 1px solid;
  }
  #blk-search #tbxCategory
  {
    width: calc(100% - 100px);
  }
  #blk-search #btnCategory
  {
    height: 37px;
    width: 40px;
    margin: 0px;
    background: #ff8800;
    border: #884400 1px solid;
    color: #ffffff;
    font-size: 30px;
    padding-bottom: 10px;
  }
  #blk-search #btnCategoryDelete
  {
    height: 37px;
    width: 40px;
    margin: 0px 0px 0px 40px;
    background: #ff8800;
    border: #884400 1px solid;
    color: #ffffff;
    border-radius: 0px 5px 5px 0px;
    font-size: 30px;
    padding-bottom: 5px;
  }
  #blk-search input[type='button'] {
    text-align: center;
    padding: 0; width: 20px;
  }
  #blk-search select {
    border: 1px solid #c2c8da;
    padding: 5px 10px 5px 10px;
    width: calc(100% - 2px);
  }
  #blk-search .ee {
    float: left;
  }
  #blk-search .send {
    text-align: center;
    padding-top: 20px;
  }
  #blk-search .submit {
    border: 0;
    cursor: pointer;
    cursor: hand;
    width: 108px;
    height: 42px;
  }
  #blk-search .submit.cs {
    width: calc(100% - 2px);
    background: #747E9E;
    border: #747E9E 1px solid;
    color: #ffffff;
    border-radius: 5px;
    line-height: 34px;
    text-decoration: none;
    text-align: center;
  } 
  
  #iframeCategory
  {
    position: fixed;
    top: 15vh;
    background: #ffffff;
    width: calc(100% - 22px);
    height: 70vh;
    display: none; 
    border: solid 1px black;
    z-index: 10000;
  }
  
  .catSelect
  {
    cursor: pointer;
    height: 24px;
  }
  
  #btnCategory, #btnCategoryDelete
  {
    position: absolute;
    width: 10px;
    margin-top: 4px;
  }
  #btnCategoryDelete
  {
    margin-left: 20px;
  }
}