/**Custom CSS RESPONSIVE**/

@media (max-width: 575px) {
    #sp-header .logo {
        height: 80px!important;
    }
}

body {
  font-family: 'Open Sans', sans-serif!important;
  font-size: 18px!important;
  line-height: 30px!important;
  color: #003389!important;
  background-color: #f8f7f3!important;
}

/* tablet size */
@media screen and (max-width: 768px) {
body {
  font-size: 17px!important;
  line-height: 28px!important;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
body {
  font-size: 16px!important;
  line-height: 26px!important;
  }
}

#sp-header {
  padding: 0!important;
  background: #f8f7f3!important;
}

#sp-main-body {
  background: #f8f7f3!important;
  padding: 0!important;
}

.cog-form__container {
  margin: 60px 0!important;
}

a:link,
a:visited  {
  color: #f3f0e8;
  text-decoration: underline;
}

a:hover {
  color: #4974a5;
  text-decoration: none;
}


/**************************************************/


/* use with feature photos */

h1 {
  font-family: "Carter One";
  font-size: 30px;
  line-height: 40px;
  color: #B81C2E;
}


/* tablet size */
@media screen and (max-width: 768px) {
h1 {
  font-size: 28px;
  line-height: 38px;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
h1 {
  font-size: 26px;
  line-height: 36px;
  }
}



/* use as top level headers on page or section */
h2 {
  font-family: "Carter One";
  font-size: 28px;
  line-height: 38px;
  color: #B81C2E;
}

/* tablet size */
@media screen and (max-width: 768px) {
h2 {
  font-size: 26px;
  line-height: 36px;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
h2 {
  font-size: 24px;
  line-height: 34px;
  }
}

/* use for sub-headings on page */
h3 {
  font-family: "Carter One";
  font-size: 30px;
  line-height: 40px;
  color: #B81C2E;
}

/* tablet size */
@media screen and (max-width: 768px) {
h3 {
  font-size: 26px;
  line-height: 36px;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
h3 {
  font-size: 24px;
  line-height: 34px;
  }
}


/* use as other headings */
h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  line-height: 34px;
  color: #B81C2E;
}

/* tablet size */
@media screen and (max-width: 768px) {
h4 {
  font-size: 22px;
  line-height: 32px;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
h4 {
  font-size: 20pxt;
  line-height: 30px;
  }
}

/* use as other headings */
h5 {
  font-family: 'Open Sans', sans-serif!important;
  font-size: 22px!important;
  line-height: 32px!important;
  color: #709954!important;
}

/* tablet size */
@media screen and (max-width: 768px) {
h5 {
  font-size: 20px!important;
  line-height: 30px!important;
  }
}

/* phone size */
@media screen and (max-width: 640px) {
h5 {
  font-size: 20px!important;
  line-height: 30px!important;
  }
}


/**************************************************/


#sp-top-bar {
  padding: 2px 0!important;
  font-size:14px!important;
  background: #003389!important;
  color: #f8f7f3!important;
}


#sp-top-bar a,
#sp-top-bar a:visited {
  color: #f8f7f3!important;
  text-decoration: none!important;
}


#sp-top-bar a:hover {
  color: #f8f7f3!important;
  text-decoration: underline!important;
}

#sp-top-bar .social-icons a:link,
#sp-top1 .social-icons a:link {
  font-size: 18px!important;
  padding: 0px!important;
}


/**************************************************/


#sp-bottom {
  background-color: #f8f7f3!important;
  border-top: thin solid #003389!important;
}

#sp-footer,
#sp-footer1,
#sp-footer2 {
  font-family:'Open Sans', sans-serif!important;
  font-size: 16px!important;
  line-height: 16pt!important
  color: #f8f7f3!important;
  background: #003389!important;
}

/* tablet size */
@media screen and (max-width: 768px) {
  #sp-footer {
  font-size: 14px!important;
  line-height: 20px!important;
 }
}

/* phone size */
@media screen and (max-width: 640px) {
  #sp-footer {
  font-size: 12px!important;
  line-height: 20px!important;
  }
}

#sp-footer  {
  font-size: 14px!important;
  line-height: 24px!important;
  color: #f8f7f3!important;
  text-decoration: none!important;
}

#sp-footer a,
#sp-footer a:visited  {
  font-size: 14px!important;
  line-height: 24px!important;
  color: #f8f7f3!important;
  text-decoration: underline!important;
}

#sp-footer a:hover  {
  font-size: 14px!important;
  line-height: 24px!important;
  color: #ffffff!important;
  text-decoration: none!important;
}


/****************************************/

/* menu and megamenu top level */

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > a:visited,
.sp-menu-separator                {
  font-family: 'Cabin Condensed', sans-serif!important;
  font-size: 20px!important;
  font-weight: bold!important;
  color: #003389!important;
  text-decoration: none!important;
}

.sp-megamenu-parent > li > a:hover {
  text-decoration: none!important;
  color: #B81C2E!important;
}

.sp-megamenu-parent>li.active> a  {
  font-weight: 600!important;
  color: #B81C2E!important;
}

.sp-megamenu-parent>li>a, 
.sp-megamenu-parent>li>span {
    display: inline-block;
    padding: 0 13px;
}


/* menu dropdown */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
  font-size: 20px!important;
  line-height: 18px!important;
  font-family: 'Cabin Condensed', sans-serif!important;
  color: #003389!important;
  text-decoration: none!important;
  text-align: left!important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover {
  font-size: 20px!important;
  color: #B81C2E!important;
}

/* megamenu dropdown */

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner,
.sp-megamenu-parent .sp-mega-group> li> a    {
    background-color: #f8f7f3!important;
    font-family: 'Cabin Condensed', sans-serif!important;
    font-size: 12px!important;
    line-height: 22px!important;
    color: #003389!important;
    text-transform: none!important;
}

.sp-mega-group> li> a:hover {
  color: #B81C2E!important;
}

/* mobile burger menu */

.burger-icon > span {

}

/*close all menu */

/***************************************/

.sp-scroll-up {
  background-color: #ffffff!important;
  border: thin solid #003389!important;
}

a.sp-scroll-up {
  color: #003389!important;
}

a.sp-scroll-up:hover  {
     background-color: #336699!important;
     color: #f8f7f3!important;
}