/**** Custom Theme designed, developed and created by gmgcreative.co.uk - copy at your own risk!
I shall set the big dogs on you... or you could just contact me and i'll give them treats! ***/

@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);

h1,h2,h3,h4,h5,h6 {
 color:#316589;
 margin-bottom: 0.6rem;
 font-family: "Open Sans", 'Helvetica', Arial, sans-serif;
}

body, p, li {
  font-family: "Open Sans", 'Helvetica', Arial, sans-serif;
  font-size: 1rem;
}

ul, ol, dl {
    line-height: 1.6;
    list-style-position: outside;
	margin-left: 1.63rem;
}

a {color: #316589;}
a:hover, a:active {color: #91A4A0;}

.no-padding {padding: 0;}

.small-paras p {
margin-bottom: 0.25rem;
}

.bold {
    font-weight: 700;
}

.bold.large {
    font-size: 1.125rem;
}

.lead {font-size:115%;}

.inline-list li {
    display: inline;
    list-style: outside none none;
    margin: 0 0 0.063rem 1.375rem;
    overflow: hidden;
    padding: 0;
}

ul.no-bullet {
list-style:none;
padding:0;
margin-bottom:0.6rem;
}

.logo {
    margin-bottom: 1rem;
}

.social {
margin: 18px 0;
}

.top-header-bar {
  background-color: #316589;
  color: #ffffff;
  padding: 12px 0;
  margin-bottom: 1rem;
}

.top-header-bar a {
  color: #ffffff;
  border-bottom: 1px solid #4DAEDD;
}

.top-header-bar .button {
    margin-bottom: 0;
}

.top-header-bar .button:hover{
    background-color: #FFE500;
    color: #333;
}
.top-header-bar .button:focus {
    background-color: #316589;
    color: #ffffff;
}

.top-header-bar .dropdown-pane {
    width: 387px;
}

.top-header-bar .dropdown-pane a {
    color: #333;
}

.top-header-bar table {
    color: #333;
}

.top-header-bar .top-text {
    padding-top: 8px 0 6px 0;
}

/**** MENU STYLES ****/

/***Stop pre-loading bar colour***/
.no-js .top-bar {
  display: none;
}

@media screen and (min-width: 40em) {
  .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  }
}
/*** END bar colour pre-loading***/

.sticky-bar {
  z-index: 1
}

.title-bar {
    background: #316589;
    color: #ffffff;
    padding: 0.5rem;
}

.top-bar, .top-bar ul {
    background-color: #ffffff;
}

.menu > li > a {
  color:#0C0C0C;
  text-transform: uppercase;
  font-weight: 700;
}

.menu > li > a:hover {
  color:#4A7272;
}

.menu .active > a {
    background: none;
    color: #316589;
}

.dropdown.menu > li > a {
    padding: 0.7rem 0.7rem;
}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
    display: block;
    width: 0;
    height: 0;
    border: inset 6px;
    content: '';
    border-bottom-width: 0;
    border-top-style: solid;
    border-color: #0C0C0C transparent transparent;
    right: 5px;
    left: auto;
    margin-top: -3px;
}

ul.menu li.opens-right .is-active a:focus {
  color: #4A7272;
}

.dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu {
    top: 100%;
    right: auto;
    left: 0;
    min-width: 330px;
}

/**** HOME STYLES ****/

.home-hero {
 padding: 0;
 background: #316589 !important;
border-bottom: 1px solid #4A7272;
border-top: 1px solid #4A7272;
max-height:480px;
margin-bottom:1em;
}

.home-hero h1 {
font-size: 2.8rem;
color: #FFFFFF;
}

.home-hero-content {
/*background: rgb(255, 255, 255); * Fall-back for browsers that don't
                                    support rgba *
background: rgba(255, 255, 255, 0.8);
*/
color: #FFFFFF;
padding: 4em 0;
margin: 0;
}

.hero-text * {
    color: #0C0C0C;
}

.slides {
  margin-top:2em;
  height: 300px;
}

h2.title {
margin:15px 0 20px 0;
}

.quotes {
    margin: 20px 0;
}

.callout-box {
  background:#316589;
  padding: 1em;
}

.callout-box * {
  color: #ffffff;
}

/**** ORBIT SLIDER ****/


.dark-section {
  background: #316589;
  padding: 1rem 0;
}

.dark-section * {
  color: #ffffff;
}

.dark-section.hero {
  margin-bottom: 1rem;
}

.light-section {
  margin: 1rem 0;
  padding: 2rem 0;
  border-bottom: 1px solid #4A7272;
  border-top: 1px solid #4A7272;
    background-image: url(../images/site/fmn-bg-1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-clip: padding-box;
}

hr {
    border-color: -moz-use-text-color -moz-use-text-color #4B3515;
    border-style: none none solid;
    border-width: 0 0 1px;
    clear: both;
    height: 0;
    margin: 1.25rem auto;
    max-width: 75rem;
}

/**** INTERNAL PAGE STYLES ****/

.content-wrapper {
  background-image: url(../images/site/inner-bg.jpg);
background-repeat: repeat-y;
background-position: top right;
}


.inner-hero {
 border-top: 1px solid #4A7272;
}

.inner-hero h1, .inner-hero h2 {
margin-top:0.7rem;
font-weight:700;
}

.breadcrumbs {
    color: #D7C597;
    background: none;
    border-color: none;
    border-radius: 0;
    border-style: solid;
    border-width: 0px;
    display: block;
    list-style: outside none none;
    margin-left: 0;
    overflow: hidden;
    padding: 0.8625rem 0.875rem;
}

.bx-pager {
background: #87B0C2;
}


.sidebar {
   margin-top: 15px;
   padding-left:0.4rem;
   border-left: 1px solid #ABC0BB;
}

.widget {
    margin:1rem 0;
}

.widget h4 {
    text-align: center;
}

.widget img {
  margin-bottom: 1rem;
}

.content {
  padding:25px 15px;
}

.content h2 {
font-size: 1.6875rem;
}

.content h3 {
  font-size: 1.4875rem;
}


.content img[style*="float: left;"] {
margin: 0 8px 8px 0;
}

.content img[style*="float: right;"] {
margin: 0 0 8px 8px;
}

.content .flex-video {
    height: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    padding-bottom: 60%;
    position: relative;
}

/*.content > p > object {
    height: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    padding-bottom: 60%;
    position: relative;
}*/

.quote {
  background: #EDF3F3;
  border: 1px solid #ABC0BB;
  padding: 1rem;
  margin: 1rem 0;
}




.accordion-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e6e6e6 #e6e6e6 -moz-use-text-color;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 1px 0;
    color: #2199e8;
    display: block;
    font-size: 1.125rem;
    line-height: 1.6;
    padding: 1.25rem 1rem;
    position: relative;
}

.accordion-content {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: none;
    border-color: #e6e6e6 #e6e6e6 -moz-use-text-color;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 1px 0;
    color: #0a0a0a;
    padding: 1rem;
}

/*** BLOG ***/

.post-main-list {
  margin-bottom: 1rem;
}

.post-image {
  margin-bottom: 0.7rem;
}

.blog-author-date {
  font-size: 0.7rem;
}

.blog-author-date i {
  color: #91A4A0;
}

.content span.blog-author-date {
  font-size: 0.7rem;
  margin: 1rem 0;
}

.blog-widget p {
  font-size: 0.7rem;
}


/*** FORMS ***/

.validation .alert-box {
    background: #4A7272;
    color: white;
    padding: 1rem;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.validation .error {
    background: #b9121b;
    color: white;
    font-weight: bold;
    padding: 1rem;
    margin-bottom: 1rem;
    display: block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.email-signup {
  border-bottom:1px solid #333;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.email-signup h3 {
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.email-signup input[type="email"] {
    display: inline;
    float: left;
    height: auto;
    margin-right: 20px;
    padding: 15px 10px;
    width: 100%;
}

/** .email-signup input[type="text"]:first-child {
    display: inline;
    float: left;
    height: auto;
    margin-right: 20px;
    padding: 15px 10px;
    width: 50%;
}**/

.email-signup input[type="text"] {
    display: inline;
    float: left;
    height: auto;
    padding: 15px 10px;
	width:100%;
}



/***** FORM STYLES *****/


label, legend {
font-weight:700;
}

.input-group [type="number"] {
margin:0;
}

.reveal.warning {
    background-color: #fff3d9;
    border-color: orange;
	text-align:center;
	font-size:1rem;
}

form .error {
    background:none repeat scroll 0 0;
    color: #b9121b;
}

.label.success {
    background: #87b0c2 none repeat scroll 0 0;
    color: #694921;
    font-size: 1.2rem;
    line-height: 1.75rem;
    padding: 10px;
    width: 100%;
}

.label.alert {
    background: #694921 none repeat scroll 0 0;
    color: #fefefe;
    font-size: 1.2rem;
    padding: 10px;
    width: 100%;
}

.qq-upload-button {
    background-color: #87B0C2 !important;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1;
    margin: 0 0 1rem;
    padding: 0.85em 1em;
    text-align: center;
    transition: background-color 0.25s ease-out 0s, color 0.25s ease-out 0s;
    vertical-align: middle;
}

.qq-upload-button:hover, .qq-upload-button:focus {
    background-color: #c58923;
    color: #fff;
}


/***** FOOTER STYLES *****/

footer p, footer li {color: #fff; font-size: 0.86rem;}

footer {
background:#316589;
padding-top:15px;
}

footer h1, footer h2, footer h3, footer h4 {
    color: #ffffff;
}

footer a {
    color: #ABC0BB;
}

footer a:hover {
    color: #0C0C0C;
}

footer ul {
    margin-left: 0rem;
}
footer ul li {
  list-style: none;
  color: #fff;
  padding-bottom: 5px;
}

footer ul.no-bullet li:before {
  list-style: none;
  color: #fff;
  content: none;
  margin-right: 0;
}

footer form label {
  color: #ffffff;
}

ul.footer-quotes li {
  margin-bottom: 15px;
  font-size: 0.72rem;
}

ul.footer-quotes li span {
  color:#3D3D3D;
  display: block;
}

ul.footer-tweets li {
  color:#fff;
  margin-bottom: 15px;
}

ul.footer-tweets li span {
  color:#3D3D3D;
  display: block;
}

footer .social {margin-top: 5px;}

hr.footer-divide {
    border-color: #91A4A0;
    border-width: 1px;
    clear: both;
}

.footer-nav {
  padding: 1rem 0;
}

.footer-nav ul.menu {
  text-align: center;
}

.footer-nav ul.menu li a {
  text-align: center;
  color:#ffffff;
  padding: 0.7rem;
}

.footer-nav ul.menu li a:hover {
  color:#0C0C0C;
}

.copyright p {
  font-size: 0.8rem;
}


/****** BUTTONS ******/

.button {
    background-color: #316589;
    border: 1px solid #91A4A0;
    color: #ffffff;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1;
    margin: 0 0 1rem;
    padding: 0.85em 1em;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.25s ease-out 0s, color 0.25s ease-out 0s;
    vertical-align: middle;
}

.button a {
    color: #fff;
}

.button:hover, .button:focus, .button:hover a, .button:focus a {
    background-color: #4A7272;
    color: #fff;
}

.cta-button {
  margin-top: 1.2rem;
}

.button .secondary {
  background: none;
  border: 1px solid #ffffff;
  color:#ffffff;
}

.text-button:after {
  font-family: FontAwesome;
    content: " \2192";
}


/****** MOBILE STYLING ******/

/* Small only */
@media screen and (max-width: 39.9375em) {

.home-hero {
 padding: 10px 0;
}

.home-hero h1 {
    font-size: 1.250rem;
    font-weight: 700;
}

.home-hero h2 {
font-weight:400;
font-size: 0.85rem;
}

.button.large {
    font-size: 1rem;
}

} /* End Resize */

/* Medium and up */
@media screen and (min-width: 40em) {

}/* End Resize */

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {

.home-hero {
 padding: 10px 0;
max-height:350px;
}

.home-hero h1 {
font-size: 1.2rem;
}

}/* End Resize */

/* Large and up */
@media screen and (min-width: 64em) {

}/* End Resize */

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {

}/* End Resize */
