body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 1.6em;
}

iframe, img {
max-width: 100%;
}

h1, h2, h3 {
    font-weight: 400;
}

h1 {
  font-size: 2.6em;
}

.main-content .row {
padding-bottom: 10px;
}

/* Navbar */

nav.navbar {
  background: rgb(97, 101, 182);
  border: none;
  border-radius: 0px;
  margin: 0 0 0 0;
  margin-bottom: 15px;
  font-weight: normal;
}

.navbar ul.nav li a {
  color: white;
  text-shadow: none;
  background: none;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .navbar ul.nav li a {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

ul.navbar-right li a img {
  width: 22px;
  height: 22px;
}

li.active>a {
  font-weight: bold !important;
}

.navbar ul.nav li.active>a, .navbar ul.nav li.active a:hover {
  background: none;
  box-shadow: none;
}

ul.nav li.open a {
  background: none !important;
}

.navbar-nav>li>.dropdown-menu {
  background: rgb(98, 101, 178);
}

.dropdown-menu>li>a {
  font-weight: normal;
  background: none;
}

@media screen and (max-width: 767px) {
  .dropdown-menu > li > a {
    color: white !important;
    background: none !important;
  }
}

.dropdown-menu li:hover {
  font-weight: normal;
}

.dropdown-menu>li>a:hover {
  background: rgb(186, 187, 227);
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus {
  background: none;
  box-shadow: none;
}

.navbar-inverse .navbar-nav>.open>a:hover {
  font-weight: normal;
}

/* Mobile Menu */

nav .navbar-header button.navbar-toggle {
  border-color: transparent;
}

nav .navbar-header button.navbar-toggle:hover {
  background-color: transparent;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
  border-color: white;
}

/* Logo */

.logo {
  margin-bottom: 15px;
  min-height: 280px;
}

.logo-wrap {
  width: 40%;
  display: inline-block;
  float: left;
}

.logo h1 {
  font-size: 2.8em;
  font-weight: bold;
}

.logo h3 {
  font-size: 1.6em;
}

.logo-wrap img {
  margin-left: auto;
  margin-right: 20px;
  min-width: 280px;
  min-height: 280px;
  width: 280px;
  height: 280px;
}

.logo-text {
  width: 60%;
  display: inline-block;
  float: left;
}

@media screen and (min-width: 767px) {
  .logo-text {
    padding-top: 25px;
  }
}

@media screen and (max-width: 767px) {
  .logo-wrap {
    width: 100%;
    display: block;
    float: left;
  }

  .logo-text {
    width: 100%;
    display: block;
    float: left;
    text-align: center;
  }

  .logo-wrap img {
    margin: 0 auto;
  }
}

/* Slider */

.container-fluid.slider {
  padding: 0 5px;
}

.slider img {
  margin: 0 auto;
}

.slider {
  margin-bottom: 10px;
}

.bx-wrapper {
  padding: 0;
  width: 100%;
}

div.bx-pager.bx-default-pager {
  bottom: -10px; 
}

.bx-wrapper .bx-viewport {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: transparent;
  border: none;
  left: 0; 
}

ul.bxslider li img {
  vertical-align: middle;
  /*margin-left: auto;
  margin-right: auto;*/
  width: 100%; 
}

.bx-wrapper {
  margin-bottom: 20px; 
}

.bx-pager {
  width: 100%;
  padding: 0;
  margin-left: -5px; 
}

.bx-pager .bx-pager-item {
  width: 25%; 
}

.bx-pager .bx-pager-item a.bx-pager-link {
  width: 100%;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  background: #000000;
  -webkit-transition: background .2s;
  transition: background .2s; 
}

.bx-pager .bx-pager-item a.bx-pager-link:hover, .bx-pager .bx-pager-item a.bx-pager-link.active {
  background: rgb(97, 101, 182); 
}

.bx-wrapper img {
    max-width: 100%;
    display: inline-block;
}

.bx-viewport li { 
    min-height: 1px; 
    min-width: 1px; 
}

.bx-controls-direction {
  display: none;
}

.slider ul.bxslider li {
  list-style-type: none;
}

/* Article */

.article p {
  line-height: 1.5;
  padding-bottom: 10px;
}

.article-title h1 {
  padding-bottom: 15px;
}

.article-text h2, .article-text h3 {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
    .article-text {
        padding-top: 20px !important;
    }
}

/*.article {
  padding-bottom: 30px;
}*/

/*.article-text .row {
  padding-bottom: 30px;
}*/

.article-text .article-img img {
  width: 100%;
}

@media screen and (max-width: 767px) {
	.article-text .article-img img {
	  max-width: 350px;
	}
}

@media screen and (max-width: 767px) {
  .article-img img {
    margin: 0 auto;
  }
}

.smaller {
  font-size: smaller;
}

.article-text li {
  padding-bottom: 5px;
}

.article-text a, footer a {
  color: rgb(97, 101, 182);
}

.association-images img {
  display: inline-block;
  vertical-align: top;
  padding-bottom: 10px;
}

/* Blog */

.blog h2[itemprop="name"] {
	color: rgb(97, 101, 182);
}

.blog a {
	color: rgb(97, 101, 182);
}

/* Services */

.services-group .col-sm-12.col-md-6 {
  padding: 0;
}

.services {
    padding-bottom: 20px;
}

.services h1 {
  padding-bottom: 10px;
}

.service-box {
    /*padding-bottom: 30px;*/
    max-width: 400px;
    margin: 0 auto;
}

@media screen and (max-width: 991px) {
 .services-group .col-sm-12.col-md-6:first-child .service-box {
   padding-bottom: 30px;
 }
}

.service-box-head h3 {
    margin: 0;
}

.service-box-head a {
  color: white;
  text-decoration: none;
}

.service-box-head {
    background-color: rgb(98, 101, 178);
    color: white;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    max-width: 400px;
}

.service-box-body img {
  width: initial;
}

/* Question Form */

.contact-form input[type="text"]:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: rgb(97, 101, 182);
  box-shadow: inset 0 1px 1px 
  rgba(0, 0, 0, .075), 0 0 8px 
  rgb(97, 101, 182);
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form input[type="submit"] {
  background-color: rgb(97, 101, 182);
  color: white;
  width: 100%;
}

/* Footer */

footer {
    margin-top: 40px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: 1px solid #cccccc;
    font-size: smaller;
}

footer h3 {
  font-size: 1.8em;
}

.copyright {
  font-size: x-small;
}

@media screen and (min-width: 768px) {

  footer .copyright {
    padding-top: 125px;
    text-align: right;
  }
}

/* Back to Top */
.back-to-top a {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 20px;
  bottom: 20px;

  cursor: pointer;
  background-image: url('/templates/mareecollingwoodtmpl/assets/img/arrow-top@2x.png');
  background-size: 100%;
  background-repeat: no-repeat;

  text-align: center;
  line-height: 30px;
  z-index: 10;
  float: right;
}

.back-to-top:hover a {
  background-image: url('/templates/mareecollingwoodtmpl/assets/img/arrow-top-hover@2x.png');
}

@media screen and (max-width: 450px) {
  .back-to-top a {
    display: none;
  }
}

/* Special */

div.main-content[content-id="article-12"] .article-text .row {
  padding-bottom: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #cccccc;
}

div.main-content[content-id="article-12"] .article-text .row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

input[type="submit"] {
  background-color: rgb(97, 101, 182);
  color: white;
  width: 100%;
}

.login input[type="text"], .login input[type="password"] {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.login input[type="text"]:focus, .login input[type="password"]:focus, .login textarea:focus, .login select:focus {
  border-color: rgb(97, 101, 182);
  box-shadow: inset 0 1px 1px 
  rgba(0, 0, 0, .075), 0 0 8px 
  rgb(97, 101, 182);
}

/* Pagination */

.pagination {
text-align: center;
display: block;
}

p.counter.pull-right {
float: none;
width: 100%;
padding-bottom: 0;
}

.pagination ul {
padding: 0;
}

.pagination ul li {
display: inline-block;
padding: 5px;
}

.pagination ul li a {
color: rgb(97, 101, 182);
}

li.pagination-start {
display: none !important;
}

li.pagination-end {
display: none !important;
}