.caLogo > img {
    height: 60px!important;
}
.caLogo {  
    padding: 30px 0!important;
}
.navbar-collapse.collapse { float: right;}
.CA .background-peter-river, .CA .background-midnight-blue, .CA .background-lead,
.CA .submenu, .list-group.bright .list-group-item.active {
  background-color:#363436!important;
}
.CA .background-clouds {
  background-color: #f7f7f7;
}
.CA .navbar-header {
  position: relative;
}
.ca-aifsLogo {
  float: right;
  display: inline-block;
  padding: 37px 0;
}

.CA .ca-aifsLogo img, .AAM .ca-aifsLogo img {
  height: 46px;
  width: auto;
  margin-left: 10px;
}
.container a {
  display: inline-block;
  -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
}
.container a.list-group-item {
  display: block;
}
section h1 > .h1-buttons {
  border-bottom: 0!important;
  margin-bottom: 0!important;
}
.facebookFrame {
  position: relative;
  overflow: hidden;
  padding-bottom: 72.6720%;
}
.facebookFrame .fb-page {
  width: 100%!important;
  position: absolute;
  top: 0;
  left: 0;
  height:100%!important;
}

.facebookFrame .fb-page > span {
  width: 100%!important;
  position: relative;
  overflow: hidden;
  padding-bottom: 72.6720%;
}
.facebookFrame .fb-page > span iframe {
  width: 100%!important;
  position: absolute;
  top: 0;
  left: 0;
  height:100%!important;
}

.facebookFrame .fb-page > span iframe {
  width: 100%!important;
  position: absolute;
  top: 0;
  left: 0;
  height:100%!important;
}


.googleMap {
  position: relative;
  padding-bottom: 75%;
  overflow: hidden;
}

.googleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%!important;
  height: 100%!important;
}

form#aupair-search {
  margin: 20px auto;
  width: auto;
  padding-right: 0;
  text-align: right;
}
#aupair-search .form-group {
  width: 300px;
}

#aupair-search .btn-default {
 background-color: #fdc41a;
 color: #fff;
}
#aupair-search .btn-default:hover {
  background-color: #c5dde5;
}


.thumbnail > img, .thumbnail a > img {
  width: 100%;
}

.rightmargin-20 {
  margin-right: 20px;
}
.mb-10 {
  margin-bottom: 10px;
}

a:focus {
  outline: none;
  outline-offset: 0;
}

.mw-100 { max-width: 100%;}

.smalltext { font-size: 0.8em}

hr {
  border: none;
  height: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}


html, body {
  min-height: 100%;
  height:100%;
}

.staform  {/*
  margin-left: -10px;
  margin-right: 10px;
  float: left;*/
  margin-bottom: 30px;
  float: left;
  width: 100%;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  height: 560px;

}
.staform iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.staform iframe::-webkit-scrollbar {  
    display: none;
  }  

.wrapper {
  min-height: 100%;
  margin-bottom: -200px;
}

.wrapper:after {
  content: "";
  display: block;
}

footer, .wrapper:after {
  height: 200px;
}


.aupairLogo {
  float: left;
  max-width: 220px;
  margin: 20px 0;
  margin-top: 40px;
}
.sponsorlogos > img{
  margin-right: 20px;
}

.map-image img {
  max-width: 100%;
  height: auto;
}

.height60 {
  height: 60px;
}

.eventitem {
  margin-bottom: 30px;
  padding-top: 10px;
}

.yellow {
  border: 0;
  background-color: #fdc41a;
  color: #fff;
  font-size: 1.4em;
}
.yellow:hover {
  background-color: #c5dde5;
  color: #fff;
}

.social-icons > .btn.btn-clear {
    color: #fff;
}
.CA .social-icons > .btn.btn-clear {
  color: #fff;
}
.social-icons{
    float: right;
    padding: 10px 0px;
}
.social-icons .snapchatIcon {
    display: inline-block;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: none;
    background-color: none;
    font-weight: bold;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;  
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    vertical-align: middle;
    background-image: url(https://www.aifs.com.au/static/media/uploads/icons/snapchat-icon.png);
    background-size: 40px 40px;
    background-repeat: no-repeat; 
}
.snapchatIcon:hover, 
.snapchatIcon.selected{
    background: #fff;
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -o-transform:rotate(360deg);
    background-image: url(https://www.aifs.com.au/static/media/uploads/icons/snapchat-icon-hover.png);
    background-size: 40px 40px;
    background-repeat: no-repeat; 
}


.social-icons img {margin-left: 4px;}
.social-icons .btn.btn-clear{
/*    border: 1px solid #fff;*/

}
.btn-round{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-block;
    padding: 0;
}
.btn-round i{
    font-size: 20px;  
    line-height: 40px;
    position: relative;
    margin: 0;
  }
.btn.btn-clear{
/*    border: 1px solid #fff;*/
    color: #fff;
    background: none;
    background-color: none;
    font-weight: bold;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;  
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
}


.btn.btn-clear:hover, 
.btn.btn-clear.selected{
    background: #fff;
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -o-transform:rotate(360deg);
}

.social-icons .btn-twitter:hover{
    color:#2BA9E0!important;
}

.social-icons .btn-facebook:hover{
    color:#204385!important;
}

.social-icons .btn-youtube:hover{
    color:#CA2128!important;
}

.social-icons .btn-linkedin:hover{
    color:#015786!important;
}

.social-icons .btn-tumblr:hover{
    color:#32506d!important;
}

.social-icons .btn-pinterest:hover{
    color:#CA2128!important;
}

.social-icons .btn-google:hover{
    color:#D3492C!important;
}

.social-icons .btn-instagram:hover{
    color:#517fa4!important;
}

.submenu {
/*  margin-top: 120px;*/
  background-color: #363436;
  color: #fff;

}
.textimg-container {
  position: relative;
}
.textimg-container .flex-direction-nav {
  top: 14px;
}
.textimg-container .flex-direction-nav li a {
  width:40px;
  height:40px;
  display: block;
}
.textimg-container .flex-direction-nav .flex-prev {
  margin-left: 12px;
}
.textimg-container .flex-direction-nav .flex-next {
  margin-right: 12px;
}
.textimg-container .flex-direction-nav .flex-prev:after {
  margin-left: 0!important;
  color: #fff!important;
  margin-top: 0;
  background: #363436;
  opacity: 1;
  font-size: 18px;
}
.textimg-container .flex-direction-nav .flex-next:after {
  margin-right: 30px!important;
  color: #fff!important;
  margin-top: 0;
  background: #363436;
  opacity: 1;
  font-size: 18px;
}

.submenu .submenuList {
  padding: 0px;
  line-height: 60px;
  list-style: none;
  border-radius: 0;
  margin-bottom: 0;  
  float: left;
  font-size: 0.94em;
}

.submenu .submenuSocial {
  float: right;
}
.submenu ol > li {
  display:inline-block;
}

.submenu ol > li a {
  display: inline-block;
  color: #fff;
  border-radius: 3px;
  padding: 0 8px;
  text-decoration: none;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.CA .submenu ol > li a {
  color: #fff;
}
.CA .submenu ol > li a:hover, .submenu ol > li a:hover {
  color: #5f5f5f;
}


.submenu ol > li > .active, .submenu ol > .active {
  font-weight: bold;
}

.brochure, .mobile-brochure {
  width:100%;
  position: relative;
  z-index: 3;
}
.CA .brochure h2 {
  color: #363436;
}

.brochure h2 {
  color: #00294f;
  font-size: 2.8em;
  font-weight: bold; 
  padding-bottom: 10px;
/*  color: #fdc41a;*/
}
.signupForm {
  margin-right: 2%;
  margin-top: 2%;
  float: right;
  padding: 0 10px 10px 10px;
}
.CAsignupForm {
  margin-right: 1%;
  margin-top: 1%;
  padding: 10px;
  float: right;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.96);
  width:260px;
  padding-bottom: 0;
}
.CAsignupForm label {
  font-size:14px;
  margin-bottom: 4px;
}
.CAsignupForm input {
  width:100%;
  padding:4px;
}

.singleBanner .brochure, .singleBanner .mobile-brochure {
  position: absolute;
}



.CAsignupForm > h2{
  margin: 0;
  font-size: 2.4em;
}
.CAsignupForm .form-control {
  max-width: 220px!important;
}

.mobile-brochure {
  display: none;
}

.mobile-brochure .CAsignupForm {
  width: 100%;
  margin: 0;
  padding: 14px 0;
}
.mobile-brochure .CAsignupForm h2 {
  margin-bottom: 8px;
}

.mobile-brochure .CAsignupForm form .mb-10 {
  width: 50%;
  display: inline-block;
  float: left;
  padding-right: 10px;
}

.mobile-brochure .CAsignupForm .form-control {
  max-width: 100%!important;
  width: 100%;

}
.mobile-brochure, .mobile-brochure .CAsignupForm {
  background-color: #f7f7f7;
}

.more {
    position: absolute;
    width: 150px;
    margin: 0;
    text-align: center;
    bottom: 0px;
    margin-bottom: 124px;
    line-height: 34px;
    left: 50%;
    margin-left: -75px;
    z-index: 999;
    background: rgba(0,0,0,0.4);
    padding: 4px;
    text-transform: uppercase;
    border-radius: 6px;
}
.CA .more {
  margin-bottom: 80px;
}
.more:hover {
  background: rgba(0,0,0,1);
}
.more a, .more a:visited {
    color: #fff;
}
.more a:hover { color: #c5dde5;}
.more a i {
  padding-right: 4px;
}


.tp-leftarrow.default:after, .tp-rightarrow.default:after { background: none!important;}
.tp-leftarrow.default, .tp-rightarrow.default { color: #fff!important;}

/*Calendar ToolTips woot*/
.responsive-calendar .day.today a {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    font-weight: bold;
    position: relative;

}
.responsive-calendar .day.today a:hover:after {
    background: #fff;
    border-radius: 5px;
    bottom: 56px;
    color: #333;
    content: 'Today';
    left: 20%;
    padding: 5px 15px;
    position: absolute;
    z-index: 98;
    width: 140px;
    font-size: 1em;
}
.CA .responsive-calendar .day.today a:hover {
  color: #333!important;
}

.responsive-calendar .day.today a:hover:before {
    border: solid;
    border-color: #fff transparent;
    border-width: 6px 6px 0 6px;
    bottom: 50px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
}

.tooltipEvent {
  display: inline;
  position: relative;
  font-size: 1em;
  font-weight: bold;
}
.tooltipEvent:hover:after {
    background: #fff;
    border-radius: 5px;
    bottom: 56px;
    color: #333;
    content: attr(title);
    left: 20%;
    padding: 5px 15px;
    position: absolute;
    z-index: 98;
    width: 220px;
}
.tooltipEvent:hover:before {
    border: solid;
    border-color: #fff transparent;
    border-width: 6px 6px 0 6px;
    bottom: 50px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
}
.responsive-calendar {
  padding: 20px;
  border-radius: 4px;
}
.responsive-calendar .controls {
  text-align: center;
}
.responsive-calendar .controls:before,
.responsive-calendar .controls:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.responsive-calendar .controls:after {
  clear: both;
}
.responsive-calendar .controls a {
  cursor: pointer;
}
.responsive-calendar .controls h4 {
  display: inline;
}
.responsive-calendar .day-headers,
.responsive-calendar .days {
  font-size: 0;
}
.responsive-calendar .day-headers {
  margin-top: 20px;
}
.responsive-calendar .day {
  display: inline-block;
  position: relative;
  font-size: 14px;
  width: 14.28571429%;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.responsive-calendar .day a {
  color: inherit;
  border-radius: 4px;
  display: block;
  cursor: pointer;
  padding: 20% 0 20% 0;
}
.responsive-calendar .day a:hover {
  text-decoration: none;
  color: #fff;
  -webkit-box-shadow: inset 0px 0px 0px 1px #ffffff;
  box-shadow: inset 0px 0px 0px 1px #ffffff;
}
.responsive-calendar .day.active a {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}
.responsive-calendar .day.active a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.responsive-calendar .day.not-current a {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
.responsive-calendar .day.sat,
.responsive-calendar .day.sun {
  font-weight: bold;
}
.responsive-calendar .day .badge {
  position: absolute;
  top: 1px;
  right: 1px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 3px 3px;
  z-index: 1;
}
@keyframes gallery-humbnail {
  0% {
    box-shadow: 0 0 0 0 #c5dde5;
  }
  50% {
    box-shadow: 0 0 0 10px #c5dde5;
  }
  100% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
}
@-webkit-keyframes gallery-humbnail /* Safari and Chrome */ {
  0% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
  50% {
    box-shadow: 0 0 0 10px #c5dde5;
  }
  100% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
}
@keyframes info-humbnail {
  0% {
    box-shadow: 0 0 0 0 #c5dde5;
  }
  50% {
    box-shadow: 0 0 0 6px #c5dde5;
  }
  100% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
}
@-webkit-keyframes info-humbnail /* Safari and Chrome */ {
  0% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
  50% {
    box-shadow: 0 0 0 6px #c5dde5;
  }
  100% {
    box-shadow: 0 0 0 3px #c5dde5;
  }
}
html { font-size: 100%;}
body {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 1em;
  font-weight: 300;
}
a,
.btn-link {
  color: #00294f;
}
a:hover,
.btn-link:hover {
  color: #fdc41a;
  text-decoration: none;
}
a:focus,
.btn-link:focus {
  text-decoration: none;
}
.btn {
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  border: 0;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
  outline: 0;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn:active,
.btn.active {
  -webkit-box-shadow: 0;
          box-shadow: 0;
}

.btn-lead {
  background-color: #fdc41a;
  color: #fff;
  border: 0;
}
.btn-lead:hover {
  background-color: #c5dde5;
  color: #fff;
  border: 0;
}

.btn-lead.darken:hover {
  color: #5f5f5f;
}
.btn-lead.lighten {
  background-color: #5faee3;
  border: 1px #75b9e7 solid;
}
.btn-lead.lighten:hover {
  background-color: #c5dde5;
  border: 1px #258cd1 solid;
}
footer .social-icons { float: none!important;}
section,
footer {
  position: relative;
  background: #fff;
}
section {
  padding: 40px 0 10px 0;
}
section.border-bottom,
footer.border-bottom {
  border-bottom: 1px #555555 solid;
}
section.border-bottom:before,
footer.border-bottom:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -21px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -21px;
  border-top: 21px #555555 solid;
  border-left: 21px transparent solid;
  border-right: 21px transparent solid;
  z-index: 1;
}
section.border-bottom:after,
footer.border-bottom:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -20px;
  border-top: 20px white solid;
  border-left: 20px transparent solid;
  border-right: 20px transparent solid;
  z-index: 1;
}
section .fa.fa-hero,
footer .fa.fa-hero {
  display: block;
  font-size: 120px;
  margin-bottom: 30px;
}
section.border,
footer.border {
  border-top: 1px #ccc solid;
}
section h1,
footer h1,
section h2,
footer h2 {
    border: 0;
/*  border-bottom: 1px rgba(52, 152, 219, 0.3) solid;*/
}
section h1.no-border,
footer h1.no-border,
section h2.no-border,
footer h2.no-border, 
section span.no-border {
  border: 0;
}
section h1.large,
footer h1.large,
section h2.large,
footer h2.large {
  font-weight: 100;
  font-size: 64px;
  border: 0;
}
section h1.x-large,
footer h1.x-large,
section h2.x-large,
footer h2.x-large {
  font-weight: 100;
  font-size: 84px;
  border: 0;
}
section h1 span,
footer h1 span,
section h2 span,
footer h2 span {
  display: inline-block;
  color: #00294f;
 border-bottom: 2px #00294f solid;
  margin-bottom: -2px;
}
section h1,
footer h1,
section h2,
footer h2 {
  margin: 0px 0 25px 0;
}
[class*="col-"] {
  margin-bottom: 30px;
}
form [class*="col-"],
footer [class*="col-"] {
  margin-bottom: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 2.2em;
}
h2 {font-size: 2em;}
h3 {font-size: 1.6em;}
h1.text-left,
h2.text-left,
h3.text-left,
h4.text-left {
  text-align: left;
}
h1.text-center,
h2.text-center,
h3.text-center,
h4.text-center {
  display: block;
  text-align: center;
  border-bottom: 0;
}
h1.text-right,
h2.text-right,
h3.text-right,
h4.text-right {
  text-align: right;
}
.lead {
  font-size: 18px;
  font-weight: 300;
}
.pagination li a {
  border: 0;
  background-color: #ecf0f1;
}
.pagination li a:hover {
  background-color: #c5dde5;
  color: #fff;
}
.pagination li a:hover a,
.pagination li a:hover .btn-link {
  color: #cce5f6;
}
.pagination li a:hover a:hover,
.pagination li a:hover .btn-link:hover {
  color: #cce5f6;
}
.pagination li a:hover a.btn {
  color: #fff;
}
.pagination li a:hover a.btn.btn-default {
  color: #333333;
}
.pagination li.active a {
  background-color: #c5dde5;
}
.pagination li.disabled a {
  background-color: #ecf0f1;
}
.pagination li.disabled a:hover {
  background-color: #ecf0f1;
}
.image-bg {
  padding: 60px 0 30px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  -webkit-box-shadow: inset 0px 3px 5px -3px rgba(0, 0, 0, 1), inset 0px -3px 5px -3px rgba(0, 0, 0, 1);
  box-shadow: inset 0px 3px 5px -3px rgba(0, 0, 0, 1), inset 0px -3px 5px -3px rgba(0, 0, 0, 1);
}
.reduce-top-margin {
  margin-top: -30px;
}
.reduce-bottom-margin {
  margin-bottom: -40px;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-20 {
  margin-bottom: 20px;
}
.list-group {
  border-radius: 4px;
  color: #fff;
}
.list-group .list-group-item {
  background-color: transparent;
  border: 0;
  color: inherit;
  -webkit-transition: padding-left 0.5s;
  transition: padding-left 0.5s;
}
.list-group .list-group-item h1,
.list-group .list-group-item h2,
.list-group .list-group-item h3,
.list-group .list-group-item h4,
.list-group .list-group-item h5 {
  margin: 0;
}
.list-group .list-group-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-top: 1px #fff solid;
  border-bottom: 1px #fff solid;
}
.list-group.bright .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: inherit;
  padding-left: 25px;
}
.list-group.bright .list-group-item.active {
  background-color: #c5dde5;
  color: #fff;
  border: 0;
}


.navbar {
/*  -webkit-box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.75);
  box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.75);*/
  margin: 0;
  border: 0;
  background-color: inherit;
}

.navbar .nav.navbar-nav > li > a {
  color: inherit;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  -webkit-transition: padding .5s;
  transition: padding .5s;
  font-weight: 300;
  font-size: 16px;
}

.navbar .nav.navbar-nav > li > a:focus {
  background: transparent;
}
.navbar .nav.navbar-nav > li > a .fa {
  color: #c5dde5;
}
.navbar .nav.navbar-nav > li > a .caret {
  border-bottom-color: #363436;
  border-top-color: #363436;
}
.navbar .nav.navbar-nav > li > a:hover {
  padding-top: 60px;
  padding-bottom: 40px;
  background: rgba(0, 0, 0, 0.05);
}
.navbar .nav.navbar-nav > li.active:after {
    content: ' ';
    display:block;
    width: 0; 
    height: 0; 
    position: absolute;
    bottom: -1px;
    left: 50%;
    margin-left: -12px;
    vertical-align: middle;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #363436;
}
.CA .navbar .nav.navbar-nav > li.active:after {
    border-bottom: 12px solid #363436;
}
.navbar .nav.navbar-nav > li.open:after/*,
#mainMenu.scroll li.active:after */ {
    content: ' ';
    display:none;
}

.navbar .nav.navbar-nav > li.active > a .fa {
  color: #8bc4ea;
}
.navbar .nav.navbar-nav > li.active > a .caret {
/*  border-bottom-color: #fff;
  border-top-color: #fff;*/
}


.navbar .nav.navbar-nav > li.open > a {
/*  padding-top: 40px;
  padding-bottom: 20px;*/
  background-color: #363436;
  color: #fff;

}
.navbar .nav.navbar-nav > li.open > a .fa {
  color: #8bc4ea;
}
.navbar .nav.navbar-nav > li.open > a .caret {
  border-bottom-color: #fff;
  border-top-color: #fff;
}
.navbar .nav.navbar-nav > li.open .dropdown-menu {
  -webkit-transform: scale(1,1);
  -ms-transform: scale(1,1);
  transform: scale(1,1);
  visibility: visible;
}
.navbar .nav.navbar-nav > li .dropdown-menu {
  display: block;
  visibility: hidden;
  border: 0;
  background-color: #363436;
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  -o-transition: -o-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1,0);
  -ms-transform: scale(1,0);
  transform: scale(1,0);
}
.navbar .nav.navbar-nav > li .dropdown-menu li a, .navbar .nav.navbar-nav > li .dropdown-menu li a:focus {
  color: #fff;
  padding-top: 6px;
  padding-bottom: 6px;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}
.navbar .nav.navbar-nav > li .dropdown-menu li a:hover {
  color: #808080;
  background-color: #363436;
}
.navbar .nav.navbar-nav > li .dropdown-menu li form {
  padding: 10px 20px;
  width: 300px;
}
.navbar .nav.navbar-nav > li .dropdown-menu li.active a {
  color: #808080;
}
.navbar .nav.navbar-nav > li .dropdown-menu .divider {
  background-color: #16527a;
}
.navLogo {
/*  display:block;*/
  float: left;
  padding: 20px 0;
}
.navbar img {
  height: 80px;
  vertical-align: top;
/*  display: block;*/
}
.navbar .navbar-brand {
  display: block;
  padding: 0;


}
.navbar .navbar-brand img {

  height: 40px;
  margin: -10px 10px -10px 0;
  border: 0;
  padding: 0;
  vertical-align: top;
}

.navbar .nav.navbar-nav > li .dropdown-menu li.active a { 
  background-color: #363436;
  color: #5f5f5f;
  font-weight: bold;
}


.breadcrumbs-container {
  margin-top: 20px;
}
.breadcrumbs-container .breadcrumb {
  border-radius: 0;
  background: transparent;
  margin-bottom: 0;
  margin-left: -4px;
  padding: 8px 0px;
}
.breadcrumbs-container .breadcrumb li a {
  display: inline-block;
  padding: 0 4px 0 4px;
  border-radius: 3px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.breadcrumbs-container .breadcrumb li a:hover, .breadcrumb>li+li:before {
  text-decoration: none;
  color: #c5dde5;
}

.breadcrumb>.active {color: #5f5f5f;}

.news a.news-link {
  display: block;
  color: #fff;
  margin-bottom: 20px;
}
.news a.news-link:hover {
  text-decoration: none;
  color: inherit;
}
.news a.news-link:hover .media {
  background-color: #c5dde5;
  color: #fff;
}
.news .media {
  border-width: 0;
  border-style: solid;
  border-radius: 4px;
  position: relative;
  overflow: visible;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.news .media .border-white {
  border-color: #fff;
}
.news .media .border-black {
  border-color: #000;
}
.news .media .pull-left,
.news .media .pull-right {
  width: 240px;
  margin: 0;
}
.news .media .pull-left .media-object,
.news .media .pull-right .media-object {
  position: relative;
  max-width: 100%;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.news .media .media-body {
  padding: 20px;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: 300;
}
.news .media .media-body p {
  margin-bottom: 0;
}
.info-row {
  font-size: 0;
}
.info-row .content {
  display: inline-block;
  font-size: 16px;
  vertical-align: middle;
}
.info-row .info {
  width: 80%;
}
.info-row .info .info-head {
  margin: 0 0 10px 0;
}
.info-row .link {
  width: 20%;
}
.info-thumbnail {
  position: relative;
  padding: 0 0 1px 0;
  border: 0;
  color: inherit;
  background-color: transparent;
}
.info-thumbnail > div:first-child,
.info-thumbnail > img:first-child {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  padding: 10px 0;
}
.info-thumbnail > div:last-child,
.info-thumbnail > img:last-child {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}
.info-thumbnail .round {
  border-radius: 4px;
}
.info-thumbnail.padding1 {
  padding: 1px;
}
.info-thumbnail .service {
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #fff;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.info-thumbnail .service:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}
.info-thumbnail .service .service-name {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-transform: scale(0.5, 0.5);
  -ms-transform: scale(0.5, 0.5);
  transform: scale(0.5, 0.5);
  -webkit-transition: -webkit-transform 0.8s;
  -moz-transition: -moz-transform 0.8s;
  -o-transition: -o-transform 0.8s;
  transition: transform 0.8s;
  width: 90%;
}
.info-thumbnail .service .service-name h1,
.info-thumbnail .service .service-name h2,
.info-thumbnail .service .service-name h3,
.info-thumbnail .service .service-name h4,
.info-thumbnail .service .service-name h5 {
  margin-top: 0;
}
.info-thumbnail .service .service-name .btn-service {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.info-thumbnail .service .service-name .btn-service:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.info-thumbnail.popular {
  margin-top: -15px;
}
.info-thumbnail.popular .caption {
  padding-bottom: 35px;
}
.info-thumbnail.popular .caption .description {
  margin-bottom: 25px;
}
.info-thumbnail.with-icon {
  margin-top: 45px;
}

.info-thumbnail .special h1,
.info-thumbnail .special h2,
.info-thumbnail .special h3,
.info-thumbnail .special h4,
.info-thumbnail .special h5 {
  padding: 4px 20px;
  margin: 0;
  font-size: 1.2em;
  font-weight: 400;
  text-align: center;
}
.info-thumbnail .pricing-head {
  width: 100%;
  height: 100px;
}
.info-thumbnail .pricing-head.bordered {
  padding: 1px 1px 0 1px;
}
.info-thumbnail .pricing-head.bordered .pricing-head-body {
  height: 99px;
}
.info-thumbnail .pricing-head .pricing-head-body {
  width: 100%;
  height: 100px;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  text-align: right;
}
.info-thumbnail .pricing-head .pricing-head-body.no-border-radius {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.info-thumbnail .pricing-head .pricing-head-body:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
  /* Adjusts for spacing */
}
.info-thumbnail .pricing-head .pricing-head-body .price-wrapper {
  display: inline-block;
  vertical-align: middle;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  padding-right: 19px;
  text-align: center;
}
.info-thumbnail .pricing-head .pricing-head-body .price-wrapper .price {
  font-size: 60px;
  line-height: 60px;
}
.info-thumbnail .pricing-head .pricing-head-body .price-wrapper .per {
  font-size: 14px;
  line-height: 20px;
}
.info-thumbnail .icon {
  position: absolute;
  top: -40px;
  left: 20px;
}
.info-thumbnail .icon .fa-stack {
  font-size: 50px;
}
.info-thumbnail .caption {
  color: inherit;
  padding: 20px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.thumbnail-col4-12  { 
  width: 33.33333333%; 
  float: left;
  padding-right: 15px;
  padding-left: 15px;
  min-height: 1px;
  position: relative;
  margin-bottom: 20px;
}


.info-thumbnail .caption.bordered {
  margin: 0 1px 0 1px;
}
.info-thumbnail .caption [class*="fa fa-"] {
  display: inline-block;
  width: 20px;
  font-size: 18px;
  vertical-align: middle;
}
.info-thumbnail .caption h3 {
  margin-top: 0;
}
.info-thumbnail .caption h3 [class*="fa fa-"] {
  margin-left: -8px;
  margin-right: 8px;
  font-size: 1.5em;
  width: auto;
  vertical-align: baseline;
}
.info-thumbnail .caption .buttons {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: right;
}
.info-thumbnail .caption .news {
  margin: 0 0 10px 0;
  border-radius: 4px;
}
.info-thumbnail .caption .news .pull-left,
.info-thumbnail .caption .news .pull-right {
  font-size: 30px;
  text-align: right;
  line-height: 20px;
}
.info-thumbnail .caption .news .pull-left small,
.info-thumbnail .caption .news .pull-right small {
  font-size: 14px;
}
.info-thumbnail .caption .news .media-body .media-heading {
  font-weight: 400;
}
.info-thumbnail .caption .news .media-body p {
  margin: 0;
}
.info-thumbnail .caption .news-link {
  color: inherit;
  text-decoration: none;
}
.info-thumbnail .caption .news-link .news {
  padding: 5px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.info-thumbnail .caption .news-link:hover .news {
  background-color: #c5dde5;
  color: #fff;
}
.info-thumbnail .caption .news-link:hover .news a,
.info-thumbnail .caption .news-link:hover .news .btn-link {
  color: #cce5f6;
}
.info-thumbnail .caption .news-link:hover .news a:hover,
.info-thumbnail .caption .news-link:hover .news .btn-link:hover {
  color: #cce5f6;
}
.info-thumbnail .caption .news-link:hover .news a.btn {
  color: #fff;
}
.info-thumbnail .caption .news-link:hover .news a.btn.btn-default {
  color: #333333;
}
.info-thumbnail .caption .news-link:hover .news .pull-right,
.info-thumbnail .caption .news-link:hover .news .pull-left {
  color: #b6daf2;
}
.info-thumbnail-link {
  color: inherit;
}
.info-thumbnail-link:hover {
  color: inherit;
  text-decoration: none;
}
.info-thumbnail-link:hover .info-thumbnail {
  animation: info-humbnail 0.4s forwards;
  -webkit-animation: info-humbnail 0.4s forwards;
  /* Safari and Chrome */
}
.info-thumbnail-link:hover .info-thumbnail .service {
  opacity: 1;
  filter: alpha(opacity=100);
}
.info-thumbnail-link:hover .info-thumbnail .service .service-name {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}
.filters {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.filters .filter {
  display: inline-block;
}
.filters .filter.active a {
  border: 1px #c5dde5 solid;
}
.filters .filter a {
  display: block;
  padding: 3px 5px;
  border: 1px transparent solid;
  color: inherit;
  cursor: pointer;
  border-radius: 3px;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.filters .filter a:hover {
  text-decoration: none;
  background-color: #c5dde5;
  color: #fff;
}
.mix {
  display: none;
  opacity: 0;
}
.gallery-thumbnail {
  padding: 0;
  border: 0;
  background: transparent;
}
.gallery-thumbnail img {
  -webkit-box-shadow: 0 0 0 3px #c5dde5;
  box-shadow: 0 0 0 3px #c5dde5;
  -webkit-transition: -webkit-transform 1s, box-shadow .5s;
  -moz-transition: -moz-transform 1s, box-shadow .5s;
  -o-transition: -o-transform 1s, box-shadow .5s;
  transition: transform 1s, box-shadow .5s;
}
.gallery-thumbnail:hover img {
  animation: gallery-humbnail 0.6s forwards;
  -webkit-animation: gallery-humbnail 0.6s forwards;
  /* Safari and Chrome */
  -webkit-box-shadow: 0 0 0 10px #c5dde5;
  box-shadow: 0 0 0 10px #c5dde5;
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}
.faq .panel {
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.faq .panel .panel-heading {
  background-color: #c5dde5;
}
.faq .panel .panel-heading .panel-title a {
  color: #fff;
  padding-left: 0;
  -webkit-transition: padding-left 0.5s;
  transition: padding-left 0.5s;
}
.faq .panel .panel-heading .panel-title a a,
.faq .panel .panel-heading .panel-title a .btn-link {
  color: #cce5f6;
}
.faq .panel .panel-heading .panel-title a a:hover,
.faq .panel .panel-heading .panel-title a .btn-link:hover {
  color: #cce5f6;
}
.faq .panel .panel-heading .panel-title a a.btn {
  color: #fff;
}
.faq .panel .panel-heading .panel-title a a.btn.btn-default {
  color: #333333;
}
.faq .panel .panel-heading .panel-title a:hover {
  text-decoration: none;
  padding-left: 10px;
}
.faq .panel .panel-collapse .panel-body {
  border: 0;
}
.blog-entry {
  margin-top: 0;
  margin-bottom: 30px;
}
.blog-entry img.media-object {
  border-radius: 4px;
}

.blog-entry .blog-entry-content.no-border {
  border: 0;
  padding-left: 0;
}
.blog-entry .blog-entry-content h1,
.blog-entry .blog-entry-content h2,
.blog-entry .blog-entry-content h3,
.blog-entry .blog-entry-content h4,
.blog-entry .blog-entry-content h5 {
  margin-top: 0;
  margin-bottom: 0;
}
.blog-entry .blog-entry-content .details {   margin-bottom: 15px;   color: #00294f;}

.blog-entry-content > h2 { font-size: 1.8em;}

li.blog-entry .blog-entry:last-child {
  margin-bottom: 0;
}
.side-list {
  list-style-type: none;
  padding: 0;
}
.side-list a { color: #c5dde5;}
.side-list a:hover {color: #fdc41a;}
.side-list li:before {
  content: "\f0da";
  font-family: FontAwesome;
  color: #c5dde5;
  margin-left: 5px;
  margin-right: 5px;
}
.tick-list li, .tickbox-list li, .star-list li{
  padding: 7px 0;
}
.tick-list, .star-list, .tickbox-list {
  list-style: none;
  padding: 0;
  padding-left: 8px;
}
.tickbox-list li:before {
  content: "\f046";
  font-family: FontAwesome;
  margin-left: 5px;
  margin-right: 5px;
  color: #00294f;
}

.tick-list li:before {
  content: "\f00c";
  font-family: FontAwesome;
  margin-left: 5px;
  margin-right: 5px;
  color: #00294f;
}
.star-list li:before {
  content: "\f005";
  font-family: FontAwesome;
  margin-left: 5px;
  margin-right: 5px;
  color: #fdc41a;
}
.side-gallery .info-thumbnail {
  margin-bottom: 30px;
}
footer h1,
footer h2,
footer h3 {
  margin-top: 0;
  border-bottom: 1px #c5dde5 solid;
  padding-bottom: 3px;
}
footer .nav-footer {
  list-style: none;
  padding: 0;
  margin-left: 15px;
}
.footericons {
/*  margin-right: 15px;*/
}
.footerbot {padding-top: 12px;}
footer .testimonial {
  font-style: italic;
}
footer .copyright {
  text-align: right;
}
footer .links a {
  margin-right: 10px;
}

footer .author {
  text-align: right;
  font-size: 12px;
  color: #c5dde5;
  margin-top: -10px;
}
footer .author:before {
  content: "@";
}
footer hr {
  border-top: 0;
  border-bottom: 1px #c5dde5 solid;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content img {
  display: block;
  max-width: 100%;
  height: auto;
/*  margin: 0 auto;*/
  border-radius: 4px;
}
.content img.pull-left {
  display: inline;
  margin: 10px 10px 10px 0;
}
.content img.pull-right {
  display: inline;
  margin: 10px 0 10px 10px;
}
.content p:last-child {
  margin-bottom: 0;
}
.http-error {
  font-size: 26px;
}
.http-error .http-error-number {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 150px;
  font-weight: bold;
}
.http-error .icon-image {
  font-size: 150px;
}
.background-white {
  background-color: #fff;
}
.background-grey {
  background-color: #f7f7f7;
/*  background-color: #ecf0f1;*/
}
.background-lightblue {
  background-color: #c5dde5;
}

.CA .color-white {
  color: #fff;
}
.btn-lead.darken {
  color: #fff;
  background-color: #363436;
  border: 1px solid #fff;
}

section.background-grey, section.background-lightblue {
  padding: 40px 0!important;
}
.background-black {
  background-color: #000;
}
.background-charcoal {
  background-color: #363436;
}

.background-gray-light {
  background-color: #ddd;
}
.background-gray-dark {
  background-color: #333;
}
.background-lead {
  background-color: #363436;
}
.background-lead-light {
  background-color: #5faee3;
}
.background-lead-lighter {
  background-color: #b6daf2;
}
.background-lead-dark {
  background-color: #217dbb;
}
.background-lead-darker {
  background-color: #124364;
}
.background-turquoise {
  background-color: #1abc9c;
}
.background-green-sea {
  background-color: #16a085;
}
.background-emerald {
  background-color: #2ecc71;
}
.background-nephritis {
  background-color: #27ae60;
}
.background-peter-river {
  background-color: #363436;
}

.background-belize-hole {
  background-color: #2980b9;
}

.background-amethyst {
  background-color: #9b59b6;
}
.background-wisteria {
  background-color: #8e44ad;
}
.background-wet-asphalt {
  background-color: #34495e;
}
.background-midnight-blue {
  background-color: #363436;
}
.background-sun-flower {
  background-color: #f1c40f;
}
.background-orange {
  background-color: #f39c12;
}
.background-carrot {
  background-color: #e67e22;
}
.background-pumpkin {
  background-color: #d35400;
}
.background-alizarin {
  background-color: #e74c3c;
}
.background-pomegranate {
  background-color: #c0392b;
}
.background-clouds {
  background-color: #f7f7f7;
}
.background-silver {
  background-color: #bdc3c7;
}
.background-concrete {
  background-color: #95a5a6;
}
.background-asbestos {
  background-color: #7f8c8d;
}
.color-white {
  color: #fff;  
}

.color-white a,
.color-white .btn-link {
  color: #fff;
}
.color-white a:hover,
.color-white .btn-link:hover {
  color: #5f5f5f;
}
.color-white a.btn.btn-default {
  color: #333333;
}
.color-text {
  color: #333333;
}

.CA .color-white a, .CA .color-white .btn-link {
  color: #fff;  
}
.CA .color-white a:hover,
.CA .color-white .btn-link:hover {
  color: #5f5f5f;
}

.color-black {
  color: #000;
}
.color-lead {
  color: #c5dde5;
}
.color-lead-light {
  color: #5faee3;
}
.color-lead-lighter {
  color: #b6daf2;
}
.color-lead-dark {
  color: #217dbb;
}
.color-lead-darker {
  color: #124364;
}
.color-turquoise {
  color: #1abc9c;
}
.color-green-sea {
  color: #16a085;
}
.color-emerald {
  color: #2ecc71;
}
.color-nephritis {
  color: #27ae60;
}
.color-peter-river {
  color: #c5dde5;
}
.color-belize-hole {
  color: #2980b9;
}
.color-amethyst {
  color: #9b59b6;
}
.color-wisteria {
  color: #8e44ad;
}
.color-wet-asphalt {
  color: #34495e;
}
.color-midnight-blue {
  color: #c5dde5;
}
.color-sun-flower {
  color: #f1c40f;
}
.color-orange {
  color: #f39c12;
}
.color-carrot {
  color: #e67e22;
}
.color-pumpkin {
  color: #d35400;
}
.color-alizarin {
  color: #e74c3c;
}
.color-pomegranate {
  color: #c0392b;
}
.color-clouds {
  color: #ecf0f1;
}
.color-silver {
  color: #bdc3c7;
}
.color-concrete {
  color: #95a5a6;
}
.color-asbestos {
  color: #7f8c8d;
}



.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Apply Now Form*/
.selectRequiredMsg, .textfieldRequiredMsg { margin: 0 10px; color: tomato; font-weight: bold;}
.form-group-noborder {
  margin-bottom: 15px;
}

.caption > .form-group {
  padding-bottom: 25px;
  border-bottom: 1px solid #c5dde5;
  margin-bottom: 10px;
}

.help-block { 
  display: inline-block;
  margin-left: 10px;
}

.control-label {
  width: 300px;
}

.form-group > ul {
  list-style: none;
}

.form-group > li {
  display: inline-block;
  float: left;
  width: 36%;
}

.btn-primary {
  background-color: #fdc41a;
  border-color: #fdc41a;
}

.btn-primary:hover {
  background-color: #c5dde5!important;
  color: #fff;
}
input {
  max-width: 100%;
}

label {
  margin-right: 10px;
  margin-bottom: 8px;
}

input[type="radio"], input[type="checkbox"]{
    vertical-align: baseline;
    display:inline-block!important;
    margin-right: 10px;
    margin-left: 20px;
}

select {
    margin-right: 20px;
}


/*Media queries*/
.clearfix:before, .clearfix:after, .flexcontainer:before, .flexcontainer:after, .textimg-container:before, .textimg-container:after { content: ""; display: table;}
.clearfix:after, .flexcontainer:after, .textimg-container:after { clear: both;}
.clearfix, .flexcontainer, .textimg-container {*zoom: 1;}

.loading { background-color: #fff}


.flexcontainer {
  width: 1170px;
  margin: 0 auto; 
}

.textimg-container {
  width: 100%;
}
.textimg-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
}


.navbar-toggle > .icon-bar { background-color: #363436;}
.navbar-toggle {margin-right: 0px; border:0; margin-top: 24px; margin-bottom: 24px; outline: none}



/*Submenu toggle*/
.submenu .container { position: relative;}

.submenu button.submenu-toggle {
  position: relative;
  padding: 9px 10px;
  background-color: transparent;
  border-radius: 4px;
  outline: none;
  float: left;
  border: 2px solid #fff;
  height: 36px;
  margin: 6px 0;
  display: none;
}

.submenu button span {
  margin-top: 4px;
  background-color: #fff;
  display: block;
  width: 22px;
  height: 2px;
  border-radius:1px;
}
.submenu button span:first-child {
  margin-top: 0px;
}




@media all and (max-width : 1300px), screen and (max-device-width: 1300px) {
  .flexcontainer { width: 100%; padding:0;}
  .signupForm {margin-right:4%}
  #home-flexslider ul.slides li img { padding-left: 0!important; padding-right: 0!important}
  .container { width: 90%!important}


  .container { width: 90%!important}
  .navLogo { padding-top: 23px; padding-bottom: 23px}
  .navbar img { height: 44px; }
  .caLogo > img { height: 44px!important;}
  .caLogo { padding-top:23px!important; padding-bottom: 23px!important}


  .CA .ca-aifsLogo, .AAM .ca-aifsLogo {
    padding: 29px 0;
  }
  .CA .ca-aifsLogo img, .AAM .ca-aifsLogo img {
    height: 24px;
    width: auto;
  }


  .navbar .nav.navbar-nav > li > a {  font-size: 14px; padding: 10px; padding-top: 35px; padding-bottom: 35px}
  .navbar .nav.navbar-nav > li > a:hover { padding-top: 45px; padding-bottom: 25px}
  .submenu .submenuList { font-size: 0.9em; line-height: 52px; margin-left: -15px}
  .submenu ol > li a { padding: 0 6px;}
  footer {font-size: 0.9em}
  .submenu > .container > .social-icons {margin-right: -15px}
  .submenu > .container > .social-icons > .btn-round
  { width: 32px; height: 32px;
  }
  .submenu > .container > .social-icons > .btn-round i
  { font-size: 16px; line-height: 32px;
  }

.social-icons .snapchatIcon {
    width: 30px;
    height: 30px;
    background-image: url(https://www.aifs.com.au/static/media/uploads/icons/snapchat-icon.png);
    background-size: 30px 30px;
    background-repeat: no-repeat; 
}
.snapchatIcon:hover, 
.snapchatIcon.selected{
    background-image: url(https://www.aifs.com.au/static/media/uploads/icons/snapchat-icon-hover.png);
    background-size: 30px 30px;
    background-repeat: no-repeat; 
}


  .breadcrumbs-container {font-size: 0.9em;} 
  .CAsignupForm { width: 260px;}
  .CAsignupForm > h2 {font-size: 2em;}
}


@media all and (max-width : 1400px), screen and (max-device-width: 1400px) { 
  .staform {
    width: 100%;
  }
  .staform iframe { overflow: scroll}

}



@media all and (max-width : 1050px), screen and (max-device-width: 1050px) {
  .nav > .home {display: none;}
}
@media all and (max-width : 1000px), screen and (max-device-width: 1000px) {
  .submenu > .container > .social-icons { display: none;}
 } 

@media all and (max-width : 1024px), screen and (max-device-width: 1024px) {

}


@media all and (max-width : 960px), screen and (max-device-width: 960px)  {
  .navLogo { padding-top: 24px; padding-bottom: 24px}
  .navbar img { height: 34px; }

  .CA .ca-aifsLogo img, .AAM .ca-aifsLogo img {
    margin-left: 0;
  }

  .caLogo > img { height: 40px!important;}
  .caLogo { padding-top:21px!important; padding-bottom: 21px!important} 
  .navbar .nav.navbar-nav > li > a, .navbar .nav.navbar-nav > li > a:hover { padding-top: 31px; padding-bottom: 31px}
}

@media all and (max-width : 920px), screen and (max-device-width: 920px)  {
  .container>.navbar-header, .container-fluid>.navbar-header, .container>.navbar-collapse, .container-fluid>.navbar-collapse {margin-right: 0px; margin-left: 0px;}
  .signupForm {width: 30%;}
  .navLogo { padding-top: 20px; padding-bottom: 20px}
  .navbar img { height: 40px; }
  .navbar-collapse.collapse { float: left;}
  .AAM .ca-aifsLogo { 
    display: inline-block; position: absolute; top: 0; z-index: 999999;
  float: left; padding: 0; margin-top: 25px; margin-left: 70px;
  }

  .CA .ca-aifsLogo { 
    display: inline-block; position: absolute; top: 0; z-index: 999999;
  float: left; padding: 0; margin-top: 25px; margin-left: 162px;
  }

  .CA .ca-aifsLogo img, .AAM .ca-aifsLogo img { margin-left: 0; height: 30px; width: auto;}
  .caLogo > img { height: 30px!important;}
  .caLogo { padding-top:25px!important; padding-bottom: 25px!important} 
  /*
  .navbar .nav.navbar-nav > li.active:after {display:none;}
  .navbar-nav.navbar-right:last-child {display:none!important;}*/
/*  .navbar-right {float: left!important;}*/
  .submenu .submenuList {line-height: 48px}
  .breadcrumbs-container {margin-top: 10px; }
  .blog-entry-content  .details {font-size: 0.8em;}

  .CA .ca-aifsLogo img, .AAM .ca-aifsLogo img {
    height: 28px;
    width: auto;
  }


    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: inline-block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }


    .navbar .nav.navbar-nav > li.active:after { display:none;}
    .navbar .nav.navbar-nav > li.active { color: #363436;}
    .navbar .nav.navbar-nav > li.active a { font-weight: bold;}
    .navbar .nav.navbar-nav > li > a, .navbar .nav.navbar-nav > li > a:hover { padding-top: 10px; padding-bottom: 10px}



/*Submenu toggle*/
.submenu button.submenu-toggle {
  display: inline-block;
}
.submenuList {
  display: none;
  position: absolute;
  top: 48px;
  z-index: 10000000000;
  padding: 0 15px!important;
  background: #363436;
}
.CA .submenuList {
  background: #363436;
}
.submenu .social-icons {
  display: block!important;
  padding: 8px 0;
}
  .hide-brochure {
      display: none!important;
  }
  .mobile-brochure {
    display: block!important;
  }

}


@media (min-width: 920px){
  .navbar-toggle {
    display: none;
  }
  .CAsignupForm > h2 {font-size: 1.6em;}
}
@media all and (max-width : 768px), screen and (max-device-width: 768px)  { 
    .CA .more, .more {
    margin-bottom: 10px;
  }
  .media.blog-entry img {
    width: 100%;
    height:auto;
  }
}

/*ipad PORTRAIT*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { 
  .CA .more, .more {
    margin-bottom: 10px;
  }

/*Submenu toggle*/
.submenu button.submenu-toggle {
  display: inline-block!important;
}
.submenuList {
  display: none;
  position: absolute;
  top: 48px;
  z-index: 10000000000;
  padding: 0 15px!important;
  background: #c5dde5;
}
.CA .submenuList {
  background: #363436;
}
.submenu .social-icons {
  display: block!important;
  padding: 8px 0;
}
  .hide-brochure {
      display: none!important;
  }
  .mobile-brochure {
    display: block!important;
  }
}

/*ipad LANDSCAPE*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
  .CA .more, .more {
    margin-bottom: 80px;
  }


    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: inline-block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }


    .navbar .nav.navbar-nav > li.active:after { display:none;}
    .navbar .nav.navbar-nav > li.active { color: #c5dde5;}
    .navbar .nav.navbar-nav > li.active a { font-weight: bold;}
    .navbar .nav.navbar-nav > li > a, .navbar .nav.navbar-nav > li > a:hover { padding-top: 10px; padding-bottom: 10px}


/*Submenu toggle*/
.submenu button.submenu-toggle {
  display: inline-block!important;
}
.submenuList {
  display: none;
  position: absolute;
  top: 48px;
  z-index: 10000000000;
  padding: 0 15px!important;
  background: #c5dde5;
}
.CA .submenuList {
  background: #363436;
}
.submenu .social-icons {
  display: block!important;
  padding: 8px 0;
}

  .hide-brochure {
      display: block!important;
  }
  .mobile-brochure {
    display: none!important;
  }
}

@media all and (max-width : 690px), screen and (max-device-width: 690px)  {
  .signupForm {width: 35%;}
  .yellow {font-size: 1.2em;}
  h1, h2, h3, h4 {font-size: 1.8em;}
  .applyNow { font-size:0.6em;}
  .footerbot, footer .copyright {text-align: center;}
  .youtubeContainer { width: 100%; max-width: 100%}
  .submenu .submenuList {line-height: 36px;}
  footer .social-icons { padding: 4px 0}

}

@media all and (max-width : 640px), screen and (max-device-width: 640px)  {

}
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
  #facebookiframe  {
    width: 100%!important;
  }
  #facebookiframe iframe{
    width:250px!important;
    margin:auto!important;
  }
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: 100% !important;
        min-width: 200px;
    }

}


@media all and (max-width : 540px), screen and (max-device-width: 540px)  {
  .brochure h2 {font-size: 1.4em;}
  .CAsignupForm { padding: 6px; width: auto; margin-right: 10px; margin-top: 10px; background-color: rgba(255,255,255,0.6); }
  .CAsignupForm button { font-size: 1.1em!important}
  .CAsignupForm .mb-10 { margin-bottom: 8px}
  .CA .more, .more { margin-bottom: 10px; line-height: 22px; }
  .signupForm {width: 44%; margin-top:5%;}
  h1, h2, h3, h4 {font-size: 1.6em;}
}
@media all and (max-width : 500px), screen and (max-device-width: 500px)  {
  .applyNow {margin-top: 15px;}
  .CAsignupForm { margin-right: 0; margin-top: 0; border-top-right-radius: 0;}
  .CA .brochure h2 { padding-bottom: 2px; font-size: 1.2em;}
  .CAsignupForm .mb-10 { margin-bottom: 2px}
  .CAsignupForm button { font-size: 1em!important}
}
@media all and (min-width : 501px), screen and (min-device-width: 501px)  {
  .applyNow {margin-top: 0px;}
}



/*Aupair Aus Db*/
.aupair-thumb {
  display: block;
  padding: 10px 15px;

}
.aupair-thumb:hover {
  color: #c5dde5;
}

.thumb-text {
  display: inline-block;
  vertical-align: middle;
}
.aupair-thumb-img {
  width: 60px;
  height: 60px;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 10px;
}
.aupair-thumb-img img {
  width: 100%;
  display: block;

}

.aupair-thumb.active {
  background: #c5dde5
}

.aupair-thumb.active:hover {
  color: #fff
}

.aupair-details, .aupair-img {
  width: 50%;
  float: left;
}

.aupair-img img {
  width: 100%;
  height: auto;
  display: block;
}
.aupair-info {
  width: 100%;
  padding: 10px 0;
}
.aupair-info a, .aupair-info a:visited {
  font-weight: bold;
  text-decoration: underline;
}
#home-flexslider ul.slides li img {
  height: auto;
}

/* Slide pagination and arrows */
.flexcontainer {
  margin: 0 auto;
  position: relative;
}

.flex-direction-nav {
  position: absolute!important;
  top: 50%;
}

.flex-control-paging {
  padding-right: 15%;
  padding-bottom: 20px;
}

.CAslider, .flexcontainer {
  width:100%!important;
}


.img100 img {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.youtubeContainer {
  max-width: 60%;
  height: auto;
  margin: auto;
}

.youtube {
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%!important;
  height: 100%!important;
}
.socialShareBtns {
  margin-top:5px;
  margin-bottom: 10px;
}
.socialShareBtns i {
  font-size: 120%;
  margin-right: 4px;
  vertical-align: middle;
}
.socialShareBtns i.icon-facebook {
  margin-right: 8px;
}

.socialShareBtns a.btn, .socialShareBtns a:visited {
  color: #fff;
}

.socialShareBtns a.btn:hover {
  background-color: #363436;
}

.socialShareBtns .share-twitter {
  background-color: #00aced;
}

.socialShareBtns .share-facebook {
  background-color: #3b5998;
}
.hubBox {
  color: #fff;
  padding:14px;
  -webkit-border-radius: 10px; 
  -moz-border-radius: 10px; 
  border-radius: 10px; 
}

.hubBox a {
  color: #fdc41a;
}

.hubBox a.btn {
  color: #fff;
  padding: 6px 20px;
  margin:12px 4px;
}

.container {
  max-width: 1240px;
}
@media (min-width: 1200px) {

}