/* Shared Directory Styles */
.directory-grid-4, .directory-grid-3, .directory-grid-2 {
	display: flex;
  	justify-content: space-between;
  	flex-wrap: wrap;
}

.directory-grid > div {
  	margin: 0;
  	margin-bottom: 15px;
 	border: 1px solid #aaa;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    color: #0f5576;
  	padding: 5px;
}

.directory-grid-4 > div {
 	width: 24%; 
}

.directory-grid-3 > div {
 	width: 33%;
}

.directory-grid-2 > div {
    width: 45%;
}

#gmap_wrapper div.map_info_win {
    padding: 15px;
}

#search_jurisdictions .check_toggle{
 	 display: flex;
  	justify-content: space-around;
}

#search_jurisdictions #jurisdiction_form {
 	display: flex;
  	flex-wrap: wrap;
  	justify-content: space-between;
}

/* ---------- Bishop Directory ---------- */
#bishops-output {
 	display: flex; 
  	flex-wrap: wrap;
  justify-content: space-between;
}

#bishops-output div.officerBlock{
 	width: 24%;
  	margin: 0;
  	margin-bottom: 15px;
  	border: 1px solid #ccc;
}

#bishops-output div.bishopBlock {
  	display: flex;
  	justify-content: space-between;
    width: 50%;
    margin: 0;
    margin-bottom: 15px;
}
#bishops-output div.bishopBlockNoPhoto {
	width: 50%;  
}

#bishops-output div.bishopBlock > div {
 	margin-left: 5px; 
}
.bishopBlock .bishopaddress, .bishopBlock .bishopbio, .bishopBlockNoPhoto .bishopaddress, .bishopBlockNoPhoto .bishopbio {
 	font-size: .6em; 
}

#bishops-output div.bishopBlock a.lightbox {
	width: 33%;
}
#bishops-output div.bishopBlock div.bishopinfo {
 	width: 65%; 
}

#bishops-output .officerBlock div {
	text-align: center; 
}
#bishops-output .officerBlock .bishopphoto {
 	 width: 100%;
}

#bishops-output div.bishopname {
 	font-weight: bold; 
}


.wrapper { display: grid; grid-template-columns: 50% 50%; }

@media (max-width:700px) {
	.wrapper { grid-template-columns: 100%; }
}


/* ---------- Parish Directory ---------- */

.new_search_panel {
 	background-color: #e5e5e5;
  	border-radius: 8px;
  	-moz-border-radius: 8px;
  	-webkit-border-radius: 8px;
  	padding: 6px;
}
select#radius {
 	width: 100%;
  	/*font-size: 18.4px;*/
}

#proximity_search input.form-control {
    margin-top: 0;
}

.new_search_panel input, .new_search_panel select {
 	padding: 12px 20px; 
}

#search_panel { display: grid; grid-auto-flow: column; }
.search_column * { max-width: 100%; }
.search_column { padding: 10px; }

#search_panel input[type=checkbox] { margin: 0; }

.search_column h3 {
	font-weight: normal;
    background: #e5e5e5;
	color: #0f5576;
	padding: 6px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    margin: 0 0 10px 0;
    padding: 6px !important;
}

.search_field	{	padding: 3px 0; clear: both;	}
.search_field label	{	float: left; width: 40%;	}
.search_field input, .search_field select {	float: left; width: 55%; padding: 2px;	}

.check_toggle a {
    padding: 3px 5px 3px 5px;
    border: 1px solid #333;
    background-color: #eee;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.check_toggle input[type="button"] {
	background-color: white;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 12px;
	height: 20px;
	padding: 0px 3px 0px 3px;
	width:40%;
}

.scheck a	{	color: navy; text-decoration: none;	}

.scheck  { margin: 0; padding: 0; text-align:center; }

.pdsearchbutton   { 
	background-color: #0f5576;
	color: white; 
	padding: 4px;
	float: right;
 }
 
.panel_header {
    margin: 0;
    padding: 0;
}

#gmap_legend {
    margin: 0;
    display: none;
}

#gmap_legend ul {
    list-style-type: none;
    padding-left: 20px;
    margin: 0px;
}

#gmap_legend li {
	float: left; 
	margin: 0 10px;
	padding: 0 10px;
}

.legend_img {
    float: left;
    width: 30px;
    margin: 0;
    border: none !important;
}

.legend_text {
    float: left;
    margin-top: 15px;
}

.output_parish {
    margin: 5px;
}

.output_parish:hover {
    cursor: pointer;
    background-color: #c5c5c5;
}

.output_parish p {
    margin: 3px;
}

.parish_more_info {
    margin: 0px;
    display: none;
}

#output_panel {
	display: flex;
  	flex-direction: row;
  	flex-wrap: wrap;
  	justify-content: flex-start;
}

@media (max-width:1000px) {
  .output_clinician {
   	width: 95% !important; 
  }
}

.output_clinician {
  	display: flex;
  	flex-direction: row;
  	justify-content: space-between;
	margin: 10px;
  	cursor: pointer;
}

.link {
 	cursor: pointer;
  	text-decoration: underline;
}
.link:hover {
	color: #0056b3
}

.output_clinician:hover {
	background-color: #ccc;
}

.output_clinician p {
 	margin: 0;
  	padding: 2px;
}
.output_clinician img {
  	width: 35%;
  	align-self: flex-start;
	border: 5px solid rgb(158,129,81);
  	box-shadow: 0 0 0 5px #888;
  	border-radius: 50%;
  	margin: 5px;
}

.output_clinician .clinician_information {
	width: 65%;
  	padding-left: 5px;
}

#gmap_wrapper {
    height: 515px;
    margin-top: 9px;
    padding: 0;
 	width: 100%;
  	margin-bottom: 9px;
  	float: none;
}

#gmap_wrapper div { // override #content div style
    margin: 0px;
    padding: 0px;
}

#gmap {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: 1px solid black;
}

#gmap_wrapper img {
	float: none !important;
	max-width: none !important;
}

.geo_info {
    display: none;
}

.parish_title {
    font-weight: bold;
}

.parish_info_window p {
    margin: 0px;
    padding: 0px;
    width: 230px;
    height: auto;
    font-size: 13px;
}

.parish_info_window a {
    font-size: 13px;
}

.clinician_info_window p {
	margin: 0px;
  	padding: 0px;
  	width: 230px;
  	height: auto;
  	font-size: 13px;
  	margin-left: 5px;
  	margin-top: 5px;
}

.parish_jurcode {
	display: none;
}

#disclaimer {
	margin-top: 20px;
}

#state_license_search_form #search_address {
	margin:0px;
}

.ditto_page { padding: 0 0.1em;}

@media (max-width: 1000px) {
}

@media (max-width: 777px) {
	#search_panel { display: block;}
	.search_column { width: 100%;}
	.search_column * { max-width: 100%;}	

	#gmap_wrapper, .parish_count_panel, #output_container {
		float: none;
		width: 100%;
		padding: 10px;
	}
}

@media (max-width: 450px) {
}




/**
.pdSearchBox	{	float:left; width: 280px; border: 1px solid #aaaaaa; background-color: #eeeeee; padding: 5px;	}
.pdSearchOr		{	float:left; width: 30px; height: 100px;	margin: 10px 0 0 5px;}


input {
	line-height: normal;
	font-size: 12px;
}

#search_panel {
    margin: 0 0 20px 0;
    border-bottom: 1px solid #cccccc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
}

.search_column {
    float: left;
    margin: 0 0 0 10px;
}

.search_column form {
	margin: 0;
	padding: 0;
}

.search_panel, #jurisdiction_list {
    margin: 0;
    margin-bottom: 10px;
}

.submit_field {
    width: 150px;
    margin: 0 auto;
}

.search_field {
    padding: 3px;
}

#parish_search .search_field {
    position: relative;
    width: 95%;
}

#parish_search .search_field input, #parish_search .search_field select {
    position: absolute;
    left: 90px;
    height: 20px;
    width: 60%;
}

#proximity_search .search_field {
    position: relative;
    width: 95%;
}

#proximity_search .search_field input, #proximity_search .search_field select {
    position: absolute;
    left: 100px;
}

#jurisdiction_form { 
	width: 200px;
	margin: 0 auto;
}

.submit_field input[type="submit"] {
	font-size: 12px;
	padding: 0px 3px;
}

.submit_field input[type="button"] {
	font-size: 12px;
	padding: 0px 3px;
}

.parish_count_panel {
    margin: 0;
    padding: 0;
    text-align: center;
}	

/* Monastic Directory */
.monastary .name {
 	font-weight: bold; 
}

/* Military Chaplain Directory */
.chaplain .name {
	font-weight: bold; 
}

.chaplain .email {
    overflow-wrap: break-word;
    font-size: 16px;
}
/* Mental Health Directory */
#search_address {
    /* Override .form-control height style */
}

.marquee {
    height: 50px;
    overflow: hidden;
    position: relative;
    background: #fefefe;
    color: #333;
    border: 1px solid #4a4a4a;
}

.marquee p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: scroll-left 2s linear infinite;
    -webkit-animation: scroll-left 2s linear infinite;
    animation: scroll-left 20s linear infinite;
}

@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}