body {
    font-family: "Open Sans", sans-serif !important;
}

* {
    font-weight: 400; /* default */
}

strong, b, .semibold, .form-group .dropdown-menu label, .dropdown-toggle {
    font-weight: 600 !important; /* semibold classes */
}

.glyphicon-lg
{
    font-size:4em
}
.info-block
{
    border-right:5px solid #E6E6E6;margin-bottom:25px
}
.info-block .square-box
{
    width:100px;min-height:110px;margin-right:22px;text-align:center!important;background-color:#676767;padding:20px 0
}
.info-block.block-info
{
    border-color:#20819e
}
.info-block.block-info .square-box
{
    background-color:#20819e;color:#FFF
}

.agent_form {
	margin:20px 60px 0;
}

.agent_form .error {
	border:1px solid #ad1010 !important;
}

.agent_form .text_error {
	color:#ad1010 !important;
	font-weight:600;
	display:none;
	padding-left:15px;
}

.agent_form .agent_border {
	border-bottom:2px solid #19988b;
	margin:15px auto;
	clear:both;
	width:96%;
}

.agent_form .text-center {
	text-align:center;
	margin:0 auto;
}

.agent_form .form-group-floating {
	float:left;
	margin-right:10px;
}


.agent_form .text-justify {
	text-align:justify:
	margin:0 auto;
}

.agent_form .panel-body {
	background:#4f7b9f;
	padding:10px; /*80px;*/
	margin-top:20px;
    color: white;
}

.agent_form .agent_input_small {
	width:40px;
	height:40px;
	text-align:center;
}

.agent_form label {
	font-weight:500;
}

.agent_form #agent-search {
	background:#172853;
	padding:15px 0;
	font-size:20px;
	font-weight:300;
	width:300px;
	border:none;
	color:white;
	cursor: pointer;
    margin: 0 auto;
    display: block;
}

/*********************
	agent form result
******************/

.result-content {
	display:none;
}

.result-content table {
	width:100%;
	margin-top:20px;
}
.result-content table td {
	text-align:center;
	padding: 15px; /*20px;*/
}

.result-content table thead tr td{
	font-weight:600;
}

.result-content table tbody tr:nth-child(odd) {
	background:#4f7b9f;
    color: white!important;
}

.result-content table tbody tr:nth-child(even) td {
    color: black!important;
}

.result-content table tbody tr td:first-child{
	font-weight:600;
	color: white;
  	/*white-space: nowrap;*/
}


.find_result {
	margin:0 auto;
	display:block;
	width:300px;
	display:none;
}

.find_result h2 {
	text-align:center;
	margin-top:0px;
}

.find_result .btn-info {
	background:#172853;
	width:100%;
	display:block;
	text-align:center;
	color:white;
	padding:10px 0;
	font-size:20px;
}

.find_result p {
	font-weight:500;
	text-align:center;
	font-size:15px;
	padding-bottom:20px;
}

/**********************
	agent search details
********************/

.locate-details #page-container {padding-top:0 !important;}
.locate-details ul {padding-left:0 !important; word-break:break-word;}
.locate-details h2.title {
	text-align: center;
	background: #4f7b9f;
	color: white;
	padding: 10px 0;
}

.locate-details .info1 ul li span {
 	color:#002856;
}

.locate-details .info1 {
    width: unset !important;
    float:left;
    margin-right:3% !important;
    padding:10px;
}

.locate-details .info1 ul {
	list-style: none;
}

.locate-details .info2 {
    padding:10px;
    width: unset !important;
}

.locate-details .info1 ul,
.locate-details .info2 ul {
	padding-top: 0;
}

.locate-details .info1 h4+h4 {padding-top:20px;}

.locate-details .info2 .list-styled {
	list-style:disc;
}

.locate-details a.button {
	background:#172853;
	color:white;
	padding:10px 70px;
	margin-top:20px;
	white-space: nowrap;
}

@media (max-width: 400px) {
	.locate-details a.button {
		padding-left: 35px;
		padding-right: 35px;
	}
}

.locate-details .overlay {
	position:relative;
	z-index:10;
}

.locate-content .et_pb_section_3 {
	padding:0 !important;
}

.locate-content .border-rule {
	border:1px solid #ccc;
	border-top:none;
	padding:0 5px !important;
}

.location.content .mcontent {
	padding:0 0 27px  !important;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
}

.location-content .search_again {
	padding:30px 0 20px !important;
}

.locate-content #button-border {
	border-top:1px solid #ccc;
	width:90%;
	margin-left:5%;
	margin-top:40px;
}


.map {
   margin-right:1% !important;
   margin-top:10px;
}

@media screen and (max-width: 981px){
	.agent_form {
		margin:10px 10px 0;
	}

	.agent_form .panel-body {
		padding:30px;
	}

	.locate-column .et_pb_column_1_4 {
		padding:0 20px !important;
		/*width:50% !important;*/
	}
	.locate-content #button-border {
		width:90% !important;
	}

	.result-content {
		overflow-x:auto;
	}

	.locate-content .border-rule {
		padding:10px 5px 0 !important;
	}

	.locate-content .mcontent {
		padding:0 !important;
	}

	.result-content table tbody tr td.phone,.result-content table tbody tr td.addressLine1 {
		white-space: nowrap;
	}

}

@media screen and (max-width: 480px){
	.locate-column .et_pb_column_1_4, locate-column .info2 {
		padding:0 8px !important;
		width:100% !important;
	}
	.locate-content #button-border {
		width:90% !important;

	}

	.info2, .info1 {
		padding:0 8px !important;
	}
}

@media screen and (max-width: 720px){
	.locate-column .et_pb_column_1_4, locate-column .info2 {
		padding:0 8px !important;
		/*width:100% !important;*/
	}
}

@media only screen and (min-width: 1350px){
	.locate-content .mcontent {
		padding:0 0 5px !important;
		border-right:1px solid #ccc;
		border-left:1px solid #ccc;
	}
}

@media only screen and (min-width: 980px){
	.map {
		width: 33%;
	}

	.info2 {
		/*width:32% !important;*/
	}

	.info2 h4{
		margin-left:-16px;
	}
}


@media only screen and (min-width: 990px){
	.locate-content .mcontent {
		padding:0;
	}

	.locate-content .et_pb_section_3 {
		padding-top:10px;
	}

}

@media screen and (max-width: 960px){
	.info2 ul {
		margin-left:16px;
	}
}

td.phone {white-space: nowrap}

@media (max-width:420px){
 .page-id-185343 .agent_form .col-xs-8, .page-id-185343 .agent_form .col-xs-4 {
      width:100%;
   }
}
@media (max-width:480px){
  .page-id-185343 form .panel-body #agent-search {
     max-width:100%;
   }
}

@media (max-width:960px){
    .page-id-185343 .result-content thead {
        display:none;
    }
     .page-id-185343 .result-content tbody tr {
        display: grid !important;
     }
   .page-id-185343 .result-content tbody td {
        text-align:left;
        display:block!important;
        width: 100%!important;
        padding:8px;
        white-space: normal !important;
    }
    .page-id-185343 .result-content tbody td br {
        content: " ";
        padding-right: 6px;
    }

   .page-id-185343 .result-content tbody td:before {
        font-weight: 600;
        white-space: nowrap;
        width: 30%;
        display: inline-block;
        max-width:95px;
    }
    .page-id-185343 .result-content tbody td:nth-of-type(1):before {
        //content: "Agency"
    }
    .page-id-185343 .result-content tbody td:nth-of-type(2):before {
        content: "Address: "
    }
    .page-id-185343 .result-content tbody td:nth-of-type(3):before {
        content: "Phone: "
    }
    .page-id-185343 .result-content tbody td:nth-of-type(4):before {
        content: "Distance: "
    }
}
@media (max-width:380px){
    .page-id-185343 .find_result {
        max-width:100%;
    }
}

@media (max-width:350px){
     .page-id-185343 .result-content tbody td:before {
        width: 100%;
        max-width:100%;
    }
}

@media (max-width:452px) {
    .page-id-185343 .et_pb_section .et_pb_row {
        width:100%;
    }
    .page-id-185343 .et_pb_section .locate-content .et_pb_row {
        width:95%;
    }

    .page-id-185343 .et_pb_section .locate-column #button-border {
        margin: 0;
        margin-left: 5%;
    }

    .page-id-185343 .et_pb_section .locate-column #button-border .et_pb_text_inner {
        padding: 0 0 30px !important;
    }
    .page-id-185343 .et_pb_section .locate-column #button-border .et_pb_text_inner .button search_again {
        padding:10px;
        display:block;
    }
}

/* Overlay behavior: don't push content down */
/* Dropdown container behaves as an anchored overlay */
.form-group .dropdown {
    position: relative;
}

/* Styled dropdown menu overlay */
.form-group .dropdown-menu {
    background: #ffffff; /* solid soft white */
    border: 1px solid #e4e7ea;
    border-radius: 6px;
    padding: 6px 10px;            /* <-- adds spacing from edges */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); /* subtle floating effect */
    max-height: 260px;
    overflow-y: auto;
    display: none;                /* stays hidden until .show is added */
    z-index: 1000;
}

/* Make the menu appear when dropdown is opened */
.form-group .dropdown.show > .dropdown-menu {
    display: block;
}

/* Stack options cleanly */
.form-group .dropdown-menu label {
    display: block;
    width: 100%;
    margin: 6px 0;
    cursor: pointer;
    white-space: nowrap;
    color: black;
}

/* Checkbox spacing */
.form-group .dropdown-menu input[type="checkbox"] {
    margin-right: 8px;
}

/* Soft hover highlight for better affordance */
.form-group .dropdown-menu label:hover {
    background: #f8f9fa;
    border-radius: 4px;
}



