body {
    margin: 0;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(71,71,71);
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.clear {
    clear: both;
}

/* Container for flexboxes */
section {
  display: -webkit-flex;
  display: flex;
  margin: 10px;
  justify-content: center;
  align-content: flex-start;
}

/* Style the navigation menu */
filter {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 0;
  padding: 10px;
}

/* Style the content */
catalog {
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 1;
  background-color: #f1f1f1;
  padding: 10px;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0px;
    padding: 0px;
}

.container {
    margin: 0px;
    position: left;
}

.fs_model {
    width: auto;
    float: left;
    text-align: left;
    color: rgb(15,65,89);
    font-size: 16px;
    font-weight: bold;
    margin: 1em 1em;
    background-color: rgba(255,255,255,0.75);
}

.fs_box {
    width: 30%;
	max-width: 325px;
    min-width: 200px;
    float: left;
    margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
    margin-bottom: 10px;
    background-size: cover;
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 2px 5px #333;
}

.fs_box:before {
    content: "";
    display: block;
    padding-top: 100%; /* force height = width */
}

.fs_box_content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.fs_left {
    background-color: rgba(15,65,89,0);
    color: rgba(255,255,255,0);
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 5%;
    box-sizing: border-box;
    border-radius: 5px;
}

.fs_box:hover .fs_left {
    background-color: rgba(15,65,89,0.75);
    color: rgba(255,255,255,1.0);
}

.fs_left div {
    float: left;
    width: 100%;
    margin-top: 5px;
	font-size: 13px;
}

.fs_left div.link_holder {
    font-weight: bold;
    margin-top: 5px;
}

.fs_left div.link_holder a {
    color:inherit;
    cursor: pointer;
    border-bottom: thin solid;
}

.fs_left div.link_holder a:hover {
    border-bottom: dotted;
}

.fs_left:hover div.request_button {
    background-color: rgb(247,143,30);
    color: white;
    font-size: 14px;
    font-weight: bold;
    width: 150px;
    height: 17px;
    padding: 10px 5px;
    border-radius: 5px;
    margin-top: 5px;
    text-align: center;
    cursor: pointer;
}

.request_button:hover {
	filter: brightness(105%);
}

.featured_services_find {
    width: 100%;
    float: right;
}

.featured_list_find a {
    text-decoration: none;
}

.sidebar_bar {
    float: left;
    width: 20%;
}

.sidebar_left_find {
    float: left;
    width: 180px;
    padding: 0px 20px;
}

.sidebar_left_find h2 {
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.sidebar_list {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.sidebar_list h3 {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 9px;
}

.sidebar_list ul {
    width: 100%;
    float: left;
}

.sidebar_list ul li {
    list-style: none;
    width: 100%;
    float: left;
    margin-bottom: 2px;
}

.sidebar_list ul li input {
    float: left;
}

.sidebar_list ul li span {
    float: right;
    width: 150px;
    margin: 2px 0px 0px 5px;
    display: inline !important;
}

.sidebar_list p {
    margin-top: 5px;
    font-weight: bold;
    float: left;
}

.sidebar_list p a {
    text-decoration: none;
    color: #004a80;
    margin-left: 25px;
}

.sidebar_list div.filter_title {
    color: rgb(15,65,89);
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}

.sidebar_list div.range_label {
    text-align: center;
    padding-bottom:0.25em;
}

.searchbox {
    line-height: 20px;
    width: 170px;
    height: 20px;
    font-size: 15px;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(71,71,71,0.5);
    z-index: 2;
}

#overlay-closer {
    color: rgb(15,65,89);
    float: right;
    font-size: larger;
    cursor: pointer;
}

#form_holder {
    background-color: white;
    width: 30%;
    padding: 1em;
    border-radius: 5px;
    margin: 1em auto;
}

.top_heading {
    font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 36px;
    line-height:40px;
    padding: 16px 20px;
}

.top_heading img {
    width:128px;
    vertical-align:text-bottom;
}

#pricing_button {
    background-color: rgb(247,143,30);
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 138px;
    height: 24px;
    line-height: 24px;
    padding: 14px 22px;
    border-radius: 5px;
    margin: auto;
    text-align: center;
    cursor: pointer;
}

#pricing_button:hover {
    filter: brightness(105%);
}

/* Override jQuery-ui styling for sliders */

.ui-slider .ui-slider-handle {
    /* Small slider handles */
    width: 0.6em;
    height: 0.6em;
    border-color: rgb(15,65,89);
    background: white;
}

.ui-widget-header {
    background-color: rgb(15,65,89);
}

.ui-corner-all {
    /* Circular handles */
    border-radius: 0.6em;
}

.ui-slider-horizontal {
    height: 0.2em;
}

.help-tip{
    display: inline-block;
    position: static;
    text-align: center;
    background-color: #BCDBEA;
    border-radius: 100%;
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 18px;
    cursor: default;
}

.help-tip:before{
    content:'?';
    font-weight: bold;
    color:#fff;
}

.help-tip:hover p{
    display:block;
    transform-origin: 100% 0%;
    z-index: 5;
    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}

.help-tip p{    /* The tooltip */
    display: none;
    text-align: left;
    background-color: rgba(93, 106, 111, 0.95);
    padding: 20px;
    width: 2000%;
    z-index: 5;
    position: relative;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: 4px;
    color: #FFF;
    font-size: 13px;
    line-height: 1.25;
}

.help-tip p:before{ /* The pointer of the tooltip */
    position: relative;
    top:-41px;
    right: 15px;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:rgba(93, 106, 111, 0.95);
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:300px;
    height:40px;
    content:'';
    position: relative;
    top:-40px;
    left:0;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
        opacity:0; 
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 800px) {
  section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
