html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'PT Sans', sans-serif;
  color: #444444;
  font-size: 1em;
  background-color: #fdfdfd;
}

.prepend-20 {
  margin-top: 20px;
}
.prepend-40 {
  margin-top: 40px;
}

.visible-xs {
  display: none!important;
}
.hidden-xs {
  display: block!important;
}

.text-center {
  text-align: center;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  float: left;
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin-top: 10px;
}
.alert.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert.alert-info a {
  color: #31708f;
}

header {
  height: 40px;
  padding: 10px 40px;
  border-bottom: 1px solid #f5f4f4;
  background-color: #FFFFFF;
}
#logo {
  margin: 0;
  line-height: 0;
}
#logo > a {
  display: block;
  float: left;
}
#logo > a > img {
  width: 100px;
}

main {
  padding: 20px 40px;
  background-color: #fdfdfd;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

main > h2 {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.75;
  text-align: center;
  margin: 0;
}

main > h3 {
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: center;
  font-weight: normal;
  margin: 0;
}

main .bottom-content {
  margin-top: 20px;
  float: left;
}

.services {
  width: 100%;
  float: left;
  text-align: center;
}
.services > div {
  font-size: 1.2em;
}
.services > ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}
.services > ul > li {
  display: inline-block;
  margin: 4px 4px;
}
.services > ul > li > a {
  color: #ffffff;
  background: #237dc0;
  text-decoration: none;
  padding: 5px 15px;
  font-size: 0.8em;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  float: left;
}

.table {
  float: left;
  width: 100%;
}

footer { 
  float: left;
  width: 100%;
  min-height: 130px; 
  color: #666666;
  margin-top: 20px;
  font-size: 0.75em;
  background: #e2e2e2;
  position: relative;
}
footer > .footer-content {
  padding: 20px 40px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
footer > .footer-content .link-list {
  margin-bottom: 40px;
}
footer .footer-bottom {
  width: 100%;
  height: 30px;
  background: #c7c9cb;
  position: absolute;
  bottom: 0px;
}
footer .footer-bottom ul {
  float: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-bottom ul li {
  padding: 0;
  display: block;
  float: left;
  margin: 0 10px;
  line-height: 30px;
}
footer .footer-bottom ul li a {
  text-decoration: none;
  color: #666666;
}
footer .footer-bottom ul li a:hover {
  color: #202020;
}
footer .footer-bottom > .footer-left {
  float: left;
  margin-left: 30px;
}
footer .footer-bottom > .footer-right {
  float: right;
  margin-right: 30px;
  font-size: 18px;
}

.half { 
  width: 50%;
  float: left; 
}

#map {
  background: #e0e0e0;
  min-height: 300px;
  max-height: 610px;
  text-align: center;
  padding-top: 40px;

  -webkit-transition: margin-top 0.1s ease-out;
  -moz-transition: margin-top 0.1s ease-out;
  -o-transition: margin-top 0.1s ease-out;
  transition: margin-top 0.1s ease-out;
}

.carers-list-container {
  padding-left: 20px;
  margin-top: 0;
}

#carers {
  margin: 0;
  padding: 0;
  list-style: none;
}
#carers > li {
  float: left;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #e2e2e2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#carers > li:last-child {
  margin-bottom: 0;
}
#carers > li:hover {
  border-color: #f9b12d;
}
#carers > li > a {
  text-decoration: none;
  float: left;
}

#carers .profile-pic { 
  width: 80px;
  height: 80px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
}
#carers .details {
  padding-left: 95px;
  color: #444444;
}
#carers .details h4 {
  margin: 0;
  color: #EF7E28;
  font-size: 1.0em;
  font-weight: bold;
}
#carers .details p {
  font-size: 0.85em;
  margin: 5px 0 0 0;
}

.pagination {
  display: block;
  margin-top: 20px;
  text-align: center;
  float: left;
  width: 100%;
}
.pagination > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline-block;
  border: 1px solid #e2e2e2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.pagination > ul > li {
  display: block;
  float: left;
  border-right: 1px solid #e2e2e2;
}
.pagination > ul > li:last-child {
  border-right: none;
}
.pagination > ul > li > a {
  text-decoration: none;
  color: #666666;
  min-width: 20px;
  padding: 5px;
  display: block;
}
.pagination > ul > li > a:hover {
  color: #EF7E28;
}
.pagination > ul > li > a.active {
  background-color: #EF7E28;
  color: #FFFFFF;
}

.carer-profile-map {
  text-decoration: none;
  text-align: left;
  max-width: 280px;
  float: left;
}
.carer-profile-map .profile-pic { 
  width: 48px;
  height: 48px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
}
.carer-profile-map .details {
  padding-left: 58px;
  color: #444444;
}
.carer-profile-map .details h4 {
  margin: 0;
  color: #EF7E28;
  font-size: 1.0em;
  font-weight: bold;
}
.carer-profile-map .details p {
  font-size: 0.85em;
  margin: 5px 0 0 0;
}

.find-a-carer-container {
  width: 100%;
  float: left;
}
.find-a-carer {
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  height: 50px;
  line-height: 50px;
  width: 300px;
  text-decoration: none;
  font-size: 1.50em;
  font-weight: bold;
  display: inline-block;
  color: #FFFFFF;
  background-color: #EF7E28;
}

.link-list {
  width: 100%;
  float: left;
}
.link-list ul {
  float: left;
  width: 25%;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.link-list ul li a {
  color: #202020;
}
.row {
  margin-left: -15px;
  margin-right: -15px;
}
.row .col-sm-25, .row .col-sm-33 {
  position: relative;
  padding: 0 15px;
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.row .col-sm-25 {
  width: 25%;
}
.row .col-sm-33 {
  width: 33.3333%;
}


/* Mobile */
@media (max-width: 767px) {
  main {
    padding: 20px 10px;
  }
  .carers-list-container {
    margin-top: 40px;
    padding-left: 0;
  }
  footer .footer-bottom {
    font-size: 0.9em;
  }
  footer .footer-bottom ul li {
    margin-right: 0px;
  }
  .visible-xs {
    display: block!important;
  }
  .hidden-xs {
    display: none!important;
  }
  .half {
    width: 100%;
  }
  .row .col-sm-25, .row .col-sm-33 {
    width: 100%;
  }
}