﻿/*Combosearch- custom styles to and saved here so that when combo-search-pdb updates are made styles remain safe*/

/*David Css*/
.pdb-list fieldset.widefat {
    border: none;
    padding-top: 0;
    margin-top: 30px!important;
    width: 91%;
}

.pdb-list fieldset.widefat div.combo-search-controls {
    margin-top: 0;
}
.combo-multi-search-controls span.search-control input[type="submit"] {
    padding: 10px 24px;
    margin-bottom: 20px;
}
.submit-controls label {
    margin-right: 7px;
}

body, table, 
#main dl dd {
    color: black ! important;
}

.disease_condition-field a {
 color: #b10737;
}

.disease_condition-field a:hover,  
.disease_condition-field a:focus {
  transition: color .2s, background-color .3s;
  color: #696262;
} 

/*Table layout*/
thead tr .antimicrobials, 
.wp-list-table thead tr .comments {
 width:40% ! important;
}

.wp-list-table thead tr .resource_links, 
.wp-list-table thead tr .common_pathogens, 
.search-2 div .wp-list-table thead tr .disease_condition, 
.pdb-list .active_ingredients {
 width:12% ! important;
}

.pdb-list .veterinary_drug_directorate {
 width:10% ! important;
}

td .textarea {
  max-height: unset ! important;
}

.wp-list-table-container {
   width:100%;
   overflow:auto;
}

.wp-list-table {
   width:1350px;
}

table.list-container {
    display:table;
    table-layout: fixed;
}

.pdb-list td span.textarea {
     max-width: 600px ! important;
}

.pdb-list .wp-list-table th {
    transform: none ! important;
    text-align: center;
    width: 9%;
}

.wp-list-table-container .wp-list-table td, 
.form-table td {
    vertical-align: top;
}

.pdb-single .main {
	padding-top: 0;
}

/*For Search Results Table*/
.vc_column_container>.vc_column-inner {
    padding-left: 6%! important;
    padding-right: 6%! important;
}

/*Hide Filter Error*/
.search_filter .wpb_row {
    visibility: collapse;
}

.search_filter .wpb_row div {
    visibility: visible;
}

/*Results page*/
.pdb-single dl dt {
    width: 60% ! important;
}

.pdb-single dl dd {
    width: 30%;
}

@media screen and (max-width: 350px){
	.pdb-single dl dt, .pdb-single dl dd, 
	.pdb-combo_search .level_format, 
	.custom-select {
		width: 100% ! important;
	}
	.pdb-single .veterinary_drug_directorate {
		width: 50%;
	}

	.search-control label {
		text-align: left ! important;
	}
	    
}


/*Previous Developer css*/
.check_box_div{
  height:250px;
  overflow-y: auto;
}
.input_format, .level_format {
  width: 35% !important;
}

.input_check_multi_box {
  width: 50px;
  height: 25px;
}

.submit-controls {
  margin-left: 20%;
}
.custom-select{
  width: 35%;
}

.custom-select > select {
  width: 100%;
  border-radius: 14px!important;
}

.input_format > input{
 border-radius: 14px!important;
}
@media only screen and (min-width: 1400px) and (max-width:1600px) {
  .custom-select{
	width: 30%;
  }
}
@media only screen and (min-width: 1800px){
  .custom-select{
	  width: 22%;  
	}
	
  .list-container{
	  margin-top: 13% !important;
	}
}

@media only screen and (min-width: 320px) and (max-width: 479px)
{
	.custom-select {width: 64%;}
	.submit-controls label {display:none;}
	span.search_cri{margin-left:0!important;}
}

.pagination.pdb-pagination + .pagination.pdb-pagination{
  display: none;
}

combo-search-controls label:first-letter {
   text-transform: capitalize;
}
.combo-search-controls label {
   font-size: 1.5rem;
   margin-bottom: 18px;
   margin-top: 18px;
}

combo-search-controls label {margin-top: 0;}
fieldset.widefat > div.combo-search-controls {margin-top: 10px;}
fieldset.widefat > div.combo-search-controls~legend {margin: 0;}
span.search_cri~span.search-res {display: none;}
table.list-container thead tr th:last-child {width: 30%;}
.pdb-list span.textarea {max-width: 450px!important;}
.list-container thead th:first-child {padding: 0 42px;}
.pdb-list .wp-list-table td {word-wrap: break-word;}