html {
    scroll-padding-top: 100px;
}

h1 {
    text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6, a {
    color: #13357a;
}

h2, h3, h4 {
    color: #13357a;
}

.footer-area .single-footer-widget h5 {
    margin-bottom: 10px;
    color: #fff;
    text-transform: capitalize;
}

.bigger a {
    font-size: 1.1em;
}

.customrow {display:flex; flex-wrap:wrap;justify-content:space-around; }

.grey-border {
    border: 1px solid #ccc;
}

/*.section h1, .section-show h1 {
    font-size: 3em;
    font-weight: 700;
}*/

.submenu .second-submenu {
  top: 0 !important;
  left: 100% !important;
  margin-top: 0px;
  margin-left: 0px;
  /*max-height: 400px;
  overflow-y: auto;*/
}

.slicknav_nav .second-submenu {
    margin: 0 0 0 20px;
}

.padding-large {
    padding: 40px 15px;
}

.btn-primary {
    background-color: #13357a;
    padding: .3em 1em;
    border-radius: 0;
    border-width: 0px !important;
    box-shadow: none !important;
    font-weight: 500;
}

.btn-primary:hover {
    /*padding: .3em 1.7em .3em .7em;*/
    background-color: #13357a;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #13357a;
    border: none;
}

.big-button > a {
	color: #13357a;
	background-color: #fff;
	padding: .3em 1em;
	border-radius: 0;
	border: 1px solid #13357a;
	box-shadow: none !important;
	text-transform: uppercase;
	font-size: 1.1em;
	font-weight: 400;
	display: inline-block;
}


.big-button > a:hover {
    text-decoration: none;
}

/*
#home-page-carousel .carousel-item {
    height: 400px;
}

#home-page-carousel .carousel-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15%;
  right: 15%;
}

#home-page-carousel .btn {
    border: 1px solid #fff !important;
}

*/

.dark-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .5);
}

.kb-zoomout img {
   animation: zoomout 7s forwards;
  -ms-animation: zoomout 7s forwards;
  -webkit-animation: zoomout 7s forwards;
  -0-animation: zoomout 7s forwards;
  -moz-animation: zoomout 7s forwards;

}

#fancy-header {
  position: relative;
  padding: 40px 0;
}

#fancy-header-big {
  position: relative;
  padding: 60px 0;
}

#home-page-carousel #fancy-header-big {
    padding: 40px 0;
}

@media (max-width: 767px) {
    #fancy-header-big {
        padding: 40px 0;
    }
}

#simple-header {
  padding: 20px 0;
  background-position: center center;
  background-size: cover;
}

#fancy-header-text {
    position: relative;
    z-index: 2;
}

#fancy-header-text:after {
    display: block;
    visibility: hidden;
    clear: both;
    width: 0;
    height: 0;
    line-height: 0;
    content: ".";
}

.fancy-header-bg-wrap {
    overflow: hidden;
    width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
}

#fancy-header-bg {
    /*background-attachment: fixed;*/
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}


@media (min-width: 480px) {
    .dynamic-rows #fancy-header { height: auto; /*100px;*/ }
}

@media (min-width: 768px) {
    .dynamic-rows #fancy-header { height: auto; /*200px;*/ }
}

@media (min-width: 992px) {
    .dynamic-rows #fancy-header { height: auto; /*300px;*/ }
}

#fancy-header h1, #fancy-header p, #fancy-header-big h1, #fancy-header-big p, #simple-header h1, #simple-header p, .carousel h1, .carousel p, #fancy-header h2, #fancy-header-big h2 {
    color: #fff;
}

#fancy-header h1, .carousel h1, #fancy-header h2  {
    font-size: 30pt;
    line-height: 1em;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

#fancy-header-big h1, .carousel h1, #fancy-header-big h2  {
    font-size: 30pt;
    /*line-height: 1em;*/
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

@media (max-width: 767px) {
    #fancy-header-big h1, .carousel h1, #fancy-header-big h2  {
        font-size: 2.5em;
    }
}

#simple-header h1 {
    font-size: 52px;
    line-height: 1em;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.top-page #fancy-header h1 {
    /*font-size: 3.5em;
    font-weight: 300 !important;*/
}

@media (max-width: 767px) {
    #fancy-header h1, #fancy-header h2 {
        font-size: 36px;
    }
}

#fancy-header p, #fancy-header-big p{
    /*font-size: 19px;
    font-weight: 300;*/
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    font-size: 12pt;
}

#fancy-header-overlay {
    background-color: rgba(0,0,0,.3);
    /*background-color: rgba(3,47,131,0.74);*/
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.kb-zoomout #fancy-header-bg {
   animation: zoomout 7s forwards;
  -ms-animation: zoomout 7s forwards;
  -webkit-animation: zoomout 7s forwards;
  -0-animation: zoomout 7s forwards;
  -moz-animation: zoomout 7s forwards;

}

@keyframes zoomout{
0% {
    -ms-transform: scale3d(1.2, 1.2, 1.2) translate3d(-0px, 0px, 0px);
    -webkit-transform: scale3d(1.2, 1.2, 1.2) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.2, 1.2, 1.2) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.2, 1.2, 1.2) translate3d(0px, 0px, 0px);
    transform: scale3d(1.2, 1.2, 1.2) translate3d(0px, 0px, 0px);
    animation-timing-function: linear;
}


100% {
    -ms-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
    -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);
    transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0px);

}
}

.info-box-row-item h4 {
    font-weight: 600 !important;
    color: #000 !important;
    font-size: 1.3em !important;
    text-transform: none !important;
}

.info-box-row-item p {
    font-size: 10.5pt;
    line-height: 1.7;
}

.testimonial-row-item {
    border-radius: 10px;
    border: 1px solid rgb(0 0 0 / 0.1);
    box-shadow: 2px 1px 2px rgb(0 0 0 / 0.1), -2px -1px 2px rgb(0 0 0 / 0.1);
}

.testimonial-row-item h4 {
    font-weight: 600 !important;
    color: #000 !important;
    font-size: 1.3em !important;
    text-transform: none !important;
    padding-bottom: 10px !important;
}


.testimonial-header {
    background: #f8f8f8;
    border-bottom: 1px solid #ccc;
    padding: 10px 15px 0px 15px !important;
    font-size: 0.8em !important;
}

@media (min-width: 992px) {
    .testimonial-header {
        padding: 20px 25px 10px 25px !important;
    }
}


.testimonial-header p {
    font-size: 1em;
}

.testimonial-content {
    padding: 15px 15px !important;
    overflow: auto;
}

@media (min-width: 992px) {
    .testimonial-content {
        padding: 25px 25px !important;
    }
}

.testimonial-content p {
    font-style: italic;
    font-size: 0.85em;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .testimonial-content p {
        line-height: 1.6;
    }
}

.link-box a:hover, .link-box-row-item a:hover {
    opacity: 1;
}

.lbr {
   display: flex;
   flex-wrap: wrap;
}

.lbr > div[class*='col-'] {
  display: flex;
}

.link-box-row-item {
    background: #f8f8f8;
    border-radius: 5px;
    box-shadow: 1px -1px 1px rgb(0 0 0 / 0.1);
}

.link-box-footer {
	display: inline-block;
	align-self: flex-end;
}

.bg-light-grey {
	background: #f8f8f8;
	border-radius: 5px;
	box-shadow: 1px -1px 1px rgb(0 0 0 / 0.1);
}

.col-md-3 .link-box-row-item {
	padding: 20px;
}

.col-md-4 .link-box-row-item {
	padding: 30px;
}

.link-box-row-item h4 {
    font-weight: 500 !important;
    color: #000 !important;
    font-size: 1.3em !important;
    text-transform: none !important;
}

.link-box-row-item a {
    font-weight: 500 !important;
    color: #000 !important;
    text-transform: none !important;
}

.bottom20 {
    position: absolute;
    bottom: 20px;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}


.link-box-row-item p {
    line-height: 2em;
}


.link-box-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 15px;
	height: 100%;
	width: -webkit-calc(100% - 30px);
	width: -moz-calc(100% - 30px);
	width: calc(100% - 30px);
	opacity: 0;
	transition: .5s ease;
	background-color: #13357a;
}

.link-box-overlay:hover {
  opacity: 1;
}

.link-box-overlay:hover > .link-box h4 {
  color: #fff;
}

.link-box-overlay h4 {
  color: white !important;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner {
    background-color: #fff;
    padding: 50px 0px;
    background-position-x: 50%, 50%;
    background-position-y: 50%, 50%;
}

.banner h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
}

.banner p {
    color: #fff;
    font-size: 17px;
}

.breadcrumb {
    background-color: transparent;
    padding: .75rem 1rem .75rem 0;
}

.breadcrumb li {
    font-size: 10pt;
}

.section, .section-show {
    padding: 30px 0px;
}

.dynamic-rows .section {
    padding: 10px 0px 0px 0px;
}

.section-first {
    padding-top: 0px;
}

.section:nth-child(1) {
  padding-top: 20px;
}

.section-smaller {
    padding: 20px 0px;
}

@media (max-width: 800px) {
    .section, .section-show {
        padding: 20px 0px;
    }
}

.section .row, .section-show .row {
    padding: 20px 0px;
}

@media (max-width: 767px) {
    .section .row, .section-show .row {
        padding: 10px 0px;
    }
}

.section-alt {
    background-color: #f2f2f2;
}

.section-light {
    background-color: #f4f4f4;
}

.section-darker {
    background-color: #e8e8e8;
}

.section h2, .section-show h2  {
    /*font-size: 2.3em; 
    font-weight: 700;*/
    font-size: 26pt;
    font-weight: 800;
    padding-bottom: 20px;
    margin: 0px;
    text-transform: uppercase;
    color: #13357a;
}
.section h3, .section-show h3 {
    font-size: 22pt;
    font-weight: 800;
    /*color: #3656ed;*/
    color: #13357a;
    padding-bottom: 20px;
    margin: 0px;
    text-transform: uppercase;
}
.section h4, .section-show h4 {
    font-size: 13pt;
    font-weight: 800;
    padding-bottom: 20px;
    margin: 0px;
    text-transform: uppercase;
    color: #13357a;
}

.section h5, .section-show h5 {
    font-size: 13pt;
    font-weight: 800;
    margin: 0px;
    color: #13357a;
}

.icon-wrap {
    display: block;
    margin: auto;
}

.icon {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: ElegantIcons2;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    text-transform: none;
    content: attr(data-icon);
    speak: none;
    vertical-align: middle;
    font-size: 49px;
    color: #13357a;
    background-color: #ffffff;
    border-color: #13357a;
}

.t-icon {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    text-transform: none;
    content: attr(data-icon);
    speak: none;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .icon {
        font-size: 30px;
    }
}

.icon-circle-border {
    padding: 8px;
    border: 2px solid #13357a;
    border-radius: 100%;
    background-color: #fff;
    line-height: 1;
}

.footer-area .social-icons {
    color: #fff;
}

.section .t-icon, .section-show .t-icon {
    color: #13357a;
    font-size: 45px;
}

#welcome h4, #welcome a {
    /*font-weight: 700;*/
}

#welcome h4 {
    /*font-size: 26px;*/
}

#welcome a {
    text-decoration: underline;
}

.section h4 a, .section-show h4 a {
    text-decoration: none !important;
}

.carousel-item {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.view {
    height: 600px;
    background-position: center;
    background-size: cover;
}

.carousel-smaller .view {
    height: 400px;
    background-position: center;
    background-size: cover;
}

.owl-carousel .view {
    height: 300px;
    background-position: center;
    background-size: cover; 
}

.carousel-caption{
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    left: 20%;
    right: 20%;
}

.carousel-caption-2 {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    left: 5%;
    right: 5%;
}

.carousel-caption h3 {
    color: #fff;
    font-size: 60px;
    text-shadow: 0.08em 0.08em 0.08em rgba(0,0,0,0.4);
}

.carousel-caption-2 h3 {
    color: #fff;
    font-size: 18pt;
    text-shadow: 0.08em 0.08em 0.08em rgba(0,0,0,0.4);
}

.carousel-smaller .carousel-caption h3 {
    font-size: 40px;
}

@media (max-width: 767px) {
    .carousel-caption h3 {
        font-size: 36px;
    }
}

.carousel-caption a:hover {
    color: #fff;
    opacity: 1;
}

.carousel-caption p {
    color: #fff;
    font-weight: 400;
    font-size: 19px;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.carousel-caption-2 p {
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.carousel-caption .btn {
    font-size: 13pt;
    text-shadow: none;
    margin-top: 20px;
}

.carousel-caption-2 .btn {
    font-size: 13pt;
    text-shadow: none;
    margin-top: 20px;
}

.carousel-caption .btn-primary:after {
    font-size: 49px;
}

.section .btn, .section-show .btn {
    font-size: 20px;
}

.section .btn-primary:after, .section-show .btn-primary:after {
    font-size: 29px;
}

#blog h1 {
    font-size: 52px;
    font-weight: 700;
}

#blog h3 {
    font-size: 37px;
}

#blog h2.card-title {
    font-size: 31px;
    line-height: 1;
}

#blog h5 {
    font-size: 1.5em;
}

.left-bar {
    border-left: 1px solid rgba(0,0,0,.1);
}

.right-bar {
    border-right: 1px solid rgba(0,0,0,.1);
}

.left-bar ul, .right-bar ul {
    list-style: none;
    line-height: 2em;
    margin-bottom: 40px;
}

.left-bar a, .right-bar a {
    color: #666;
}

.card-columns {
    padding-top: 20px;
}

.drop-shadow {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 0 60px 0 60px;
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .card-columns {
        -webkit-column-count:3;
        -moz-column-count:3;
        column-count:3;
    }
}

.post-meta {
    font-size: 0.85em;
}

.tagcloud a {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: rgba(0,0,0,.05);
    font-size: 12px!important;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    line-height: 2em;
}

/*.card-body {
    border-left: 1px solid rgb(216, 216, 216);
    border-bottom: 1px solid rgb(216, 216, 216);
    border-right: 1px solid rgb(216, 216, 216);
}*/

code {
    font-size: 1em;
    color: #353535;
}

.contact-form input, .contact-form textarea {
    padding: 14px;
    border-radius: 0;
    background-color: #eee;
}

.contact-form select {
    background-color: #eee;
    border-radius: 0;
    font-size: 14px;
    padding: 14px;
    height: auto !important;
}

.error {
    color: #13357a;
}

#url {
    display: none;
}

.search-results ul {
    list-style: none;
}

.search-results h5 {
    margin-bottom: 0 !important;
}

#sitemap ul {
    list-style: none;
    margin-left: 30px;
}


#sitemap .li-top > a {
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

#sitemap .li-sub > a {
    font-weight: 400;
    margin-bottom: 10px;
    display: inline-block;
}


#sitemap .li-sub .li-sub a {
    font-weight: 300;
    margin-bottom: 5px;
    display: inline-block;
}

.alternating:nth-of-type(odd) {
    background: #f2f2f2;
}

.line {
    height: 3px;
}

.blue {
    color: #36a9e1 !important;
}

.darkblue {
    color: #13357a !important;
}

.red {
    color: #89150d !important;
}

.yellow {
    color: #f07f3c !important;
}

.green {
    color: #4fa434 !important;
}

.purple {
    color: #9c5fa3 !important;
}

.orange {
    color: #A94500 !important;
}

.black {
    color: #000 !important;
}

.grey {
    color: #3c3c3b !important;
}

/*.card-img-top {
    width: 100%;
    object-fit: cover;
}*/

h4.card-title {
    font-size: 1.4em;
    color: #353535;
}

.quote {
    font-style: italic;
}

.quote p {
    font-size: 14px;
}

.right-border {
    border-right: 8px;
    border-right-style: solid;
    padding-right: 8px;
}

.top-border, .top-border-nohover {
    border-top: 8px;
    border-top-style: solid;
    padding: 10px 0;
    height: 100%;
}

.top-border h4, .top-border-nohover h4 {
    color: #353535;
}

.border-blue {
    border-color: #36a9e1 !important;
}

.border-blue:hover {
    background-color: #36a9e1 !important;
}

.border-darkblue, .border-darkblue-nohover {
    border-color: #13357a !important;
}

.border-darkblue:hover {
    background-color: #13357a !important;
}

.top-border:hover {
    transition: all .5s ease-in-out;
}

.top-border:hover h4, .top-border:hover p, .top-border:hover a, .top-border:hover a:hover, .top-border:hover .t-icon
{
    color: #fff !important;
}

.border-red {
    border-color: #89150d !important;
}

.border-red:hover {
    background-color: #89150d !important;
}

.border-yellow {
    border-color: #f07f3c !important;
}

.border-yellow:hover {
    background-color: #f07f3c !important;
}

.border-green {
    border-color: #4fa434 !important;
}

.border-green:hover {
    background-color: #4fa434 !important;
}

.border-purple {
    border-color: #9c5fa3 !important;
}

.border-purple:hover {
    background-color: #9c5fa3 !important;
}

.border-orange, .border-orange-nohover {
    border-color: #A94500 !important;
}

.border-orange:hover {
    background-color: #A94500 !important;
}

.border-black {
    border-color: #000 !important;
}

.border-black:hover {
    background-color: #000 !important;
}

.border-grey {
    border-color: #3c3c3b !important;
}

.border-grey:hover {
    background-color: #3c3c3b !important;
}

.no-opacity:hover {
    opacity: 1;
}

.no-underline {
    display: inline-block;
    text-decoration: none !important;
}

.img-also-fluid {
    max-width: 100%;
    height: auto;
}

#headerPopup{
  width:75%;
  margin:0 auto;
}

#headerPopup iframe{
  width:100%;
  margin:0 auto;
}

.two-col img {
    max-width: 100%;
    height: auto;
}

.testimonial p {
    color: #222;
    padding-bottom: 2px !important;
}

.testimonialText {
    font-size: 0.9em;
    line-height: 1.4em;
    font-weight: 300;
    padding-bottom: 5px;
    font-style: italic;
}

.testimonialText span {
    font-size: 1.3em;
    line-height: 1.4em;
    font-weight: 700;
    color: #042e84;
}

.testimonialText .t-icon {
    font-size: 0.8em;
}

.testimonialText .ti-quote-left {
    padding-right: 4px;
}

.testimonialText .ti-quote-right {
    padding-left: 4px;
}


.testimonialName {
    padding-top: 5px;
    font-size: 1.1em;
    line-height: 1.2em;
    color: #042e84 !important;
}

.testimonialCompany {
    line-height: 1.2em;
    font-size: 1.2em;
}

.modal-backdrop {
    z-index: 10000 !important;
}

.modal {
    z-index: 10001 !important;
}

@media (min-width: 576px){
    .modal-dialog {
        max-width: 800px !important;
        margin: 20px auto !important;
    }
}

#anchor {
  scroll-margin-top: 100px;
}

.embeditem {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

.embeditem::before {
    display: block;
    content: ""
}

.embeditem embed,
.embeditem iframe,
.embeditem object,
.embeditem video {
    width: 100% !important;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}

.office-location a {
    color: #fff;
}

.office-location span.email b {
	display: none;
}

.accreditation {
    display: inline-block;
    height: 9vw;
    object-fit: cover;
}



@media (max-width: 991px) {
    .accreditation {
        height: 22vw;
    }
}

@media (max-width: 576px){
    .accreditation {
        height: 32vw;
    }
}

.simpleCart_shelfItem {
	border: 1px solid #eee;
}

	.simpleCart_shelfItem h4 {
		font-weight: 600;
		font-size: 1em;
		color: #000;
		text-transform: none;
		padding-bottom: 10px;
	}

	.simpleCart_shelfItem .btn {
		padding: 0.3em 0.5em !important;
		font-size: 1em;
	}

	.simpleCart_shelfItem .attributes {
		font-size: 0.9em;
		color: #6c757d;
	}

.simpleCart_items table {
	margin-bottom: 1rem;
	background-color: transparent;
}

	.simpleCart_items table td, .simpleCart_items table th {
		padding: .3rem;
		border-bottom: 1px solid #dee2e6;
	}

.simpleCart_items input {
	display: block;
	width: 4rem;
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .2rem;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.product-filter label {
	font-size: 0.9em;
}