/*
Theme Name: Brook Child
Theme URI: http://brook.thememove.com/
Description:  Brook Child Theme
Author: ThemeMove
Author URI: http://thememove.com/
Version: 1.0.0
Template: Brook
Text Domain:  brookchild
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/


.page-top-bar a {
	display: inline-block;
}

.page-mobile-main-menu .toggle-sub-menu {
  color: inherit;
}
.page-mobile-main-menu .mega-menu {
  margin-top: 0;
  margin-bottom: 0;
}

.single-providers .page-content > .container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .single-providers .page-content > .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .single-providers .page-content > .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .single-providers .page-content > .container {
    width: 1170px;
  }
}

.affiliation-banner {
  position: absolute;
  left: 10px;
  top: 65%;
}

.affiliation-banner.mmg { top: 65%; }
.affiliation-banner.ccswok { top: 65%; }

.provider-grid {
	display: flex;
	flex-wrap: wrap;
}

.provider-grid > a {
	display: block;
	padding: 1rem;
	flex: 0 0 100%;
}
@media screen and (min-width: 480px) {
  .provider-grid > a {
    flex: 0 1 50%;
  }
}
@media screen and (min-width: 768px) {
	.provider-grid > a {
		flex: 0 1 33.33%;
	}
}
@media screen and (min-width: 1100px) {
	.provider-grid > a {
		flex: 0 1 25%;
	}
}
@media screen and (min-width: 1400px) {
	.provider-grid > a {
		flex: 0 1 20%;
	}
}
@media screen and (min-width: 1920px) {
	.provider-grid > a {
		flex: 0 1 16.667%;
	}
}

.provider-grid h3 {
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-size: 15px;
	font-weight: bold;
	display: inline-block;
	letter-spacing: 0.4px;
	line-height: 25px;
	color: rgb(89, 89, 89);
}

.provider-grid li {
	color: #9a9a9a;
	font-weight: bold;
}



hr.provdir_hr {
	clear: both;
	color: #ccc;
	border-style: solid;
	border-width: 1px 0 0 0;
	border-color: #ccc;
	background-color: #ccc;
	height: 1px;
}

.provdir_left {
	float: left;
	padding: 0 0 0 0;
}

.provdir_right {
	float: right;
	padding: 0 0 0 0;
}

.provdir_heading {
	color: rgb(89, 89, 89);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: normal;
}

.provdir_light {
	display: inline-block;
	color: rgb(150, 150, 150);
	font-weight: 300;
}

.provdir_small {
	font-size: 15px;
	margin-left: 37px;
}

.provdir_large {
	display: inline-block;
	font-size: 55px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 35px;
}

.provdir_single_main {
	margin: auto;
	max-width: 1200px;
	/*border: 1px solid black;*/
	color: rgb(89, 89, 89);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	/*border: 1px solid black;*/
}

.provdir_single_top_left_panel {
	display: inline-block;
	width: 250px;
	margin: 5px;
	padding: 5px;
	/*border: 1px solid black;*/
}

.provdir_single_top_rigth_panel {
	display: inline-block;
	min-width: 200px;
	max-width: 550px;
	margin: 5px;
	padding: 5px;
	line-height: 45px;
	/*border: 1px solid black;*/
}

.provdir_div_span {
	margin: 0px;
	padding: 0px;
	/*border: 1px solid black;*/
}

.provdir_horz_field {
	display: inline-block;
	min-width: 155px;
	max-width: 275px;
	margin-right: 10px;
	/*border: 1px solid black;*/
}

.provdir_qual_main {
	text-align: center;
	margin: 0px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-right: 10px;

}

ul.prov-list li {
	list-style-type: none;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
	background: transparent;
}

.nav-pills>li>a {
	background: #ccc;
	border-radius: 0px;
}

.provdir_qual_fields {
	display: inline-block;
	min-width: 160px;
	width: 25%;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 16px;
	/*border: 1px solid black;*/
}

.provdir_qual_fields:nth-child(2) {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.provdir_qual_newboxes {
	display: inline-block;
	min-width: 160px;
	width: 25%;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.provdir_hrs_addr_map_main {
	margin: auto;
	text-align: center;
	/*max-width: 800px;*/
	border: 1px solid black;
}
.provdir_hrs_addr_pane {
	display: inline-block;
	min-width: 250px;
	max-width: 450px;
	vertical-align: top;
	/*border: 1px solid black;*/
}

.provdir_map_pane {
	display: inline-block;
	margin: auto;
	min-width: 250px;
	max-width: 350px;
	/*border: 1px solid black;*/
}

.provdir_hrs_addr_cell {
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: left;
	/*border: 1px solid black;*/
}

/* Grid View Formatting */

.provdir_grid_main {
	margin: auto;
	text-align: center;
	color: rgb(89, 89, 89);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 11px;
	border: 1px solid black;
}

.provdir_grid_indiv_frame {
	text-align: left;
	display: inline-block;
	margin: 20px;
	vertical-align: top;
	cursor: pointer;
	/*border: 1px solid black;*/
}

.provdir_top_img_txt_panel {
	display: inline-block;
	width: 100%;
	padding: 5px;
	font-family: arial;
	/* border: 1px solid black; */
	font-weight: bold;
	color: #9a9a9a;
}

div#submitbutton {
	pointer: cursor;
}

@media (min-width: 1200px) {
	.site-main .site-main-inner {
		width: 1200px;
	}
}

.provdir_grid_large {
	display: inline-block;
	font-size: 15px;
	font-weight: bolder;
	letter-spacing: 0.4px;
	line-height: 25px;
}

.provdir_grid_horz_field {
	display: inline-block;
	width: 75px;
	/*margin-right: 10px;*/
	/*border: 1px solid black;*/
}

.provdir_grid_div_span {
	margin-top: 8px;
	margin-bottom: 8px;
	padding: 0px;
	width: 100%;
	color: #333;
	font-weight: lighter;
	line-height: 15px;
	/*border: 1px solid black;*/
}

.prodir_results {
	border: 3px;
	padding: 3px;
}

table.provdir_res_table {
  border-collapse: collapse;
  border: 1px solid black;
  table-layout: fixed;
  width: 800px;
}

table.provdir_res_table td {
  border: 1px solid black;
  width: 50px;
}

table.provdir_res_table th {
  border: 1px solid black;
  resize:horizontal;
  overflow:auto;
}

.img_container {
	max-width: 500px;
	/*border: 1px solid black;*/
}

.show_all_prov_submit {
	float: right;
}

.chkbox_row {
	padding: 5px;
}

.slidecontainer {
	width: 100%; /* Width of the outside container */
}

.slide_v_adjust {
	padding-top: 10px;
	display: none;
}

.isotope-fail-message {
	margin: 10px;
	padding: 30px;
	width: 100%;
	text-align: center;
	color: rgb(89, 89, 89);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: bold;
	font-weight: 500;
	font-size: 30px;
	/*border: 1px solid black;*/
}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 15px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */ 
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 15px; /* Set a specific slider handle width */
  height: 15px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 15px; /* Set a specific slider handle width */
  height: 15px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

@media screen and (max-width: 450px) {
	.provdir_large {
		display: block;
		text-align: center;
	}

	.provdir_qual_fields:nth-child(2) {
		border-left: none;
		border-right: none;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}

	.hide-xs {
		display: none;
	}
}

ul.prov-list li {
  margin-left: -20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

/*.grid-item { width: 250px; }*/
.tm-grid .grid-item { width: 80%; }
.grid-item--width2 { width: 40%; }

@media (min-width: 768px) and (max-width: 1170px) {
	.show_all_prov_submit {
		float: none;
	}
	
	.img_container {
	  
	}
  }
  
  @media (min-width: 250px) and (max-width: 767px) {
	.img_container {
	  width: 100%;
	}
	
	.cd-tab-filter {
	 position: relative;
	 height: 50px;
	 width: 250px;
	 margin: 0 auto;
	 z-index: 1;
	 margin-right: 100px;
	}
	
	.cd-tab-filter a.hide-xs {
	  display: none;
	}
  
	.cd-tab-filter a {
	  display: block;
	  height: 50px;
	  width: 300px;
	}

	.show_all_prov_submit {
		float: none;
	}
  }
  .site-main {
	padding-top: 0px;

  }
  
  .site-main .site-main-inner {
	all: unset;
  }

  @media (min-width: 1200px) {
	.site-main .site-main-inner {
		width: 100%;
  	}
  }
  
  @media (min-width: 992px) {
	.site-main .site-main-inner {
	  width: 970px;
	}
  
  }
  
  @media (min-width: 768px) {
	.site-main .site-main-inner {
	  width: 100%;
	}  
  }



  /* SEARCHBAR.CSS */
  
.acc_search_main {
	overflow: hidden;
	background-color: #f5f5f5;
	padding: 5px;
	padding-left: 10px;
	/* padding-bottom: 10px; */
	margin-right: 2px;
	/* -webkit-border-radius: 0 0 8px 8px; */
	-moz-border-radius: 0 0 8px 8px;
	/* border-radius: 0 0 8px 8px; */
	-moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.2);
	/* box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.5); */
	text-align: center;
}

/* Style the search box inside the navigation bar */
.acc_search_main input[type=text] {
  border: none;
  padding: 6px;
  width: 100%;
}

* { box-sizing: border-box; }

body {
  font-family: sans-serif;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE !important;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222 !important;
  font-family: sans-serif;
  font-size: 16px;
  /*text-shadow: 0 1px white;*/
  cursor: pointer;
}

.button:hover {
  background-color: #8CF !important;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222 !important;
}

.button:active,
.button.is-checked {
  background-color: #0079c1 !important;
}

.button.is-checked {
  color: white !important;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0; }
.button-group .button:last-child { border-radius: 0 0.5em 0 0; }
.button-group #show_all_btn { border-radius: 0.5em 0.5em 0 0; }
/* ---- isotope ---- */

.grid {
  /*background: #EEE;*/
  /*max-width: 1200px;*/
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ui group */

.ui-group {
  display: inline-block;
}

.ui-group h3 {
  display: inline-block;
  vertical-align: top;
  line-height: 32px;
  margin-right: 0.2em;
  font-size: 16px;
}

.ui-group .button-group {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: -5px;
}

/* color-shape */

.color-shape {
  width: 70px;
  height: 70px;
  margin: 5px;
  float: left;
}
 
.color-shape.round {
  border-radius: 35px;
}
 
.color-shape.big.round {
  border-radius: 75px;
}
 
.color-shape.red { background: red; }
.color-shape.blue { background: blue; }
.color-shape.yellow { background: yellow; }
 
.color-shape.wide, .color-shape.big { width: 150px; }
.color-shape.tall, .color-shape.big { height: 150px; }

/*-----------------Custom--------------------*/
.disabled{
  opacity: 0.40;
  filter: alpha(opacity=40);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.search_block {
	width: 100%;
	display: inline-block;
	vertical-align: top;
	float: left;
	/*border: 1px solid black;*/
}

.search_label {
	text-align: center;
	padding-top: 5px;
}

.search_input {
	/*border: 1px solid black;*/
}

#submit_area {
  display: inline-block;
  width: unset;
  /*border: 1px solid black;*/
}
#search_submit {
  font-size: 13px;
}

#provdir_search_submit_label {
  color: transparent;
}

.button {
  display: inline-block;
}

@media (min-width: 1170px) {
  
  .search_element {
    display: inline-block;
    width: 28%;
    /*border: 1px solid black;*/
  }
}

@media screen and (max-width: 1169px) {
  .search_element {
    display: block;
    float: unset;
    width: 100%;
  }
  
  .acc_search_main input[type=text] {
    float: right;
    padding: 6px;
    border: none;
    width: 100%;
    /*border: 1px solid black;*/
  }
  .button-group .button:first-child { 
    border-radius: 0.5em 0.5em 0 0;
    border-top: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 0px;
    border-left: 2px solid black;
  }
  .button-group .button:not(:first-child):not(:last-child) {
    border-radius: 0 0 0 0;
    border-top: 0px;
    border-right: 2px solid black;
    border-bottom: 0px;
    border-left: 2px solid black;
  }
  .button-group .button:last-child { 
    border-radius: 0 0 0.5em 0.5em; 
    border-top: 0;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
  }
  .button-group #show_all_btn { border-radius: 0.5em 0.5em 0.5em 0.5em; border: 2px solid black; }
  .button-group {
    display: block;
    width: 100%;
  }
  .button {
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
	.acc_search {
	  display: block;
	}
	#search_submit {
    float:left;
  }
  .search_element {
		width: 100%;
  }
  .acc_search {
		width: 100%;
  }
}
