/*Search*/
.search_bar{
    display: flex;
    width: 95%;
    align-items: center;
    flex-direction: column;
}

.search_box{
    width: 75%;
}

.search_box input[type=text]{
    width: 90%;
    padding: 15px;
}

.button_bar {
    width: 40%;
    display: flex;
    justify-content: space-around;
}

.sort_box{
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}

.sort_box select{
    padding: 10px;
    margin-left: 15px;
}

.ResultsTotalList p{
    overflow-wrap: anywhere;
}

.Pagination{
    margin-top: 5rem;
    padding-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    list-style: none;
}

.page-item{
    margin: 0 10px;
}

@media (max-width:1250px){
    .button_bar{
        width: 100%;
    }
}

@media (max-width:850px) {
    .button_bar{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
}

@media (max-width:550px) {
    .button_bar{
        flex-direction: column;
    }
}

/*AD Search*/
.input_value_content{
    padding-left: 30px;
}

.input_value_content input[type=radio],
.input_value_content input[type=checkbox],
.input_value_content input[type=text]{
    margin-bottom: 20px;
}

.input_value_content select,
.input_value_content input[type=text]{
    padding: 10px;
}

.word_input{
    display: flex;
    margin-bottom: 20px;
    align-items: baseline;
}

.word_input div,
.word_input input{
    width: 25%;
}

.word_input div{
    max-width: 230px;
}

.check_box{
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 25px;
}

.check_box div{
    min-width: 23%;
    margin-right: 10px;
}

.time_period{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.time_period div{
    min-width: 50px;
}

.time_period select{
    width: 15%;
    margin: 0 10px;
}

.number_select{
    margin: 0 20px 20px 0;
}

@media (max-width: 905px){
    .word_input div,
    .word_input input{
        width: 50%;
    }

    .check_box{
        width: 100%;
    }

    .check_box div{
        width: 100%;
    }

    .time_period{
        flex-direction: column;
        align-items: flex-start;
    }

    .time_period select{
        width: 80%;
        margin: 10px 0;
    }
}


.searchResultBtn{
    text-shadow: none!important;
    background: unset!important;
    border: none!important;
    color: #444;
    text-decoration: none;
    font-weight: unset!important;
    padding: 0px 0px; 
    text-decoration: underline;
}

.searchResultBtn:hover {
    color: #A40000;
    background: unset!important;
    border: none!important;
  }

/* Loading effect*/
#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db; 
    margin-top: 70px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite; 
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  
  .animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }
  
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }
   
/*function not work hidden for prod first
.search-container{display:none;}*/

ol {
    list-style-type: auto!important;
}

.resultItem{
	padding-top:10px;
}

.resultItem .linkInfo > span:first-of-type {
  margin-left: 20px;
}