span.trending-adv {
    display: contents;
    float: left;
}
/*body {font-family: Arial, Helvetica, sans-serif;}*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

/* Modal Content */
.modal-content {
  position: relative;
  /*background-color: #fefefe;*/
  margin: auto;
  padding: 0;
  /*border: 1px solid #888;*/
  width: 40%;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
      background: #FFFFFF;
border-radius: 8px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: #555555;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #555555;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  /*padding: 2px 6px;*/
  padding: 0.5em 2.5em;
  background-color: #FFF;
  color: #272522;
}

.modal-body {padding: 0.5em 2.5em;}

.modal-footer {
  padding: 0.5em 2.5em;
  background-color: #FFF;
  color: #272522;
}
.modal-header h2{
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #272522;
}
.modal-body fieldset dt { width: 100%; }
.modal-body fieldset dd { margin-left: 0; }
.modal-body dd select{
    width: 100%; 
    background-color: #FFF;
    color: #555555;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
}
.modal-body dt label{ 
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height */

    display: flex;
    align-items: center;
    margin-top: 2%;
    /* P100 */

    color: #272522;
}
.modal-body .inputbox{
        width: 100%;
        /* SL100 */

    background: #FFFFFF;
    /* SL150 */
    height: 44px;
    border: 1px solid #DADADA;
    box-sizing: border-box;
    border-radius: 3px;
}
#SearchAdv .modal-body .submit-buttons .button-search2{
    position: relative;
    width: 100%;
    left: 0px;
}
@media (min-width: 768px){
        .modal-dialog {
            width: 600px;
            margin: 30px auto;
        }
        .modal-dialog {
            position: relative;
            width: auto;
            margin: 10px;
        }
}
@media (max-width: 1366px){
    img.under_con_img{
        padding: 1% 30%;
        width: 40%;
    }
    .modal{    top: -10%;}
}
@media (min-width: 1440px){
    img.under_con_img{
        padding: 1% 30%;
        width: 40%;
    }
}
@media (min-width: 1640px){
    img.under_con_img {
        padding: 1% 30%;
    }
}
@-moz-document url-prefix() {
    #SearchAdv{    top: -5%;}
    @media (max-width: 1366px){
         #SearchAdv{    top: -10%;}
         img.under_con_img {
            padding: 1% 35%;
            width: 30%;
        }
        #SearchAdv .modal-body.model_scroll {
            height: 80vh;
            overflow: scroll;
        }
        #SearchAdv .modal-footer{
            padding: 0px !important;
        }
    }
    @media (min-width: 1440px){
        img.under_con_img{
            padding: 1% 35%;
            width: 30%;
        }
        #SearchAdv{    top: -10% ;}
        #SearchAdv .modal-footer{ padding: 0px !important;}
         #SearchAdv .modal-body.model_scroll {
            height: 80vh;
            overflow: scroll;
        }
    }
}
#SearchAdv{    top: -8%;}