html, body {
  font-size: 16px;
  color: #3c3b3c;
  background-color:#fff;
  font-family: Arial, "aniversRegular", Helvetica, sans-serif;
  letter-spacing: 1px;
}

/* GENERAL */

noscript {
   font-size:75%;
}

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
    padding-top: 100px;
	z-index: 99999;
	background: url('../images/page-loader.gif') 50% 50% no-repeat rgb(255,255,255);
}

.relateN, .relateCS {
    padding:20px 40px;
    background-color:#f5f5f5;
    border:1px solid #c0c0c0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.relateN {
    background-color:#f2f9fe;
    border:1px solid #c2e5fd;
}

.ybox {
    padding:10px 0;
}

.yboxL {
    padding:10px 0 10px 10px;
}

.rcon {
	padding-left:10%;
    border-left: 2px solid #ed1d24;
    margin-top:40px;
}

/* =========================
   NEWS/CASE STUDIES SECTION
========================= */
/* Archive Page */
.news-wrapper {
    max-width: 1820px;
    margin: auto;
    padding: 60px 20px;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 35px;
}

.news-card {
    background: #eaf2f8;
    border-radius: 10px;
    border: 1px solid #292b68;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .25s;
    font-size:0.75rem;
}

.news-card:hover {
    background: #d5e3ec;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .25s ease;
    pointer-events: none;
}

.news-card:hover .news-image::after {
    background: rgba(0, 0, 0, .25);
}

.news-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.news-image {
    position: relative;
}

.news-thumb {
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #292b68;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    color: #777;
    margin-bottom: 10px;
}

.news-content h2 {
    margin: 0 0 15px;
    font-size: 1rem !important;
    line-height: 1;
}

.news-content p {
    flex-grow: 1;
    line-height: 1.2;
    font-size: 0.75rem
}

.news-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #c2812b;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: .25s;
}

.news-card:hover a {
    text-decoration:none;
}

.news-card:hover .news-button {
    background: #1b4379;
}

.news-pagination {
    margin-top: 60px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 5px;
    background: #eee;
    text-decoration: none;
}

.news-pagination .current {
    background: #8b5e3c;
    color: #fff;
}

.news-empty {
    margin: auto;
    text-align: center;
    padding: 80px 30px;
    background: #f6f2eb;
    border-radius: 10px;
}

#news-results {
    transition: opacity .25s ease;
}

/* Spinner */
.news-loader {
    display: none;
    text-align: center;
    margin: 30px 0;
}

#news-results.loading + .news-loader,
#news-results.loading ~ .news-loader {
    display: block;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top-color: #8b5e3c;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: auto;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}
/* Single Page */
.news-single-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 40px 0;
}

.news-single-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 40px;
}

.news-single-content {
     margin: auto;
}

.news-meta {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    color: #292b68;
    font-size: .95rem;
    margin: 20px 0;
    padding:10px;
    background-color:#eaf2f8;
}

.news-single h1 {
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.2;
}

.news-single-content p,
.news-single-content ul,
.news-single-content ol {
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.news-single-content img {
    max-width: 100%;
    height: auto;
}

.news-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.news-nav-left {
    text-align: left;
}

.news-nav-centre {
    text-align: center;
}

.news-nav-right {
    text-align: right;
}

.news-nav-left a,
.news-nav-right a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

@media (max-width:768px) {

    .news-navigation {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .news-nav-left,
    .news-nav-centre,
    .news-nav-right {
        text-align: center;
    }

}

/* Archive Page Layout */


/* ========================================
   GALLERY ARCHIVE
======================================== */

.gallery-archive {
    padding: 40px 0 60px;
}

/* Responsive card grid */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* GALLERY CARD */

.gallery-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #172b40;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-link {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
}

/* Image */

.gallery-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-card-image::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 20, 32, 0.25) 35%,
        rgba(10, 20, 32, 0.9) 100%
    );
    pointer-events: none;
}

.gallery-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Title and arrow */

.gallery-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
}

.gallery-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.gallery-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: background 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

/* HOVER EFFECTS */

@media (hover: hover) {
    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }

    .gallery-card:hover .gallery-card-image img {
        transform: scale(1.07);
    }

    .gallery-card:hover .gallery-card-arrow {
        background: #fff;
        border-color: #fff;
        color: #172b40;
        transform: rotate(45deg);
    }
}

/* Keyboard accessibility */

.gallery-card-link:focus-visible {
    outline: 3px solid #c2812b;
    outline-offset: -3px;
}

/* RESPONSIVE GRID */

/* Mobile - 1 column */
.gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

/* Tablet - 2 columns */
@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Desktop - 3 columns */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
}

/* MOBILE ADJUSTMENTS */

@media (max-width: 599px) {
    .gallery-archive {
        padding: 25px 0 40px;
    }

    .gallery-card-content {
        padding: 18px;
    }

    .gallery-card-title {
        font-size: 1.1rem;
    }

    .gallery-card-arrow {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .gallery-card,
    .gallery-card-image img,
    .gallery-card-arrow {
        transition: none;
    }
}

/* END Gallery Layout */


/* ========================================
   INDIVIDUAL PHOTO GALLERY
======================================== */

/* ========================================
   GALLERY LAYOUT
======================================== */

#Gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    margin: 20px 0;
}

/* Remove individual row wrappers from the grid layout */
#Gallery .gallery-row {
    display: contents;
}

/* Individual gallery items */
#Gallery .gallery-item {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Image link */
#Gallery .gallery-image-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}

/* Gallery images */
#Gallery .gallery-image-link img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    transition: transform 0.3s ease;
}

/* Image hover effect */
#Gallery .gallery-image-link:hover img {
    transform: scale(1.03);
}

/* Hover overlay */
#Gallery .gallery-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#Gallery .gallery-image-link:hover .gallery-hover-text {
    opacity: 1;
}

/* Photo captions */
#Gallery .gallery-photo-caption {
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
   TABLET - 2 COLUMNS
======================================== */

@media (min-width: 600px) {

    #Gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* ========================================
   DESKTOP - 3 COLUMNS
======================================== */

@media (min-width: 992px) {

    #Gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

/* ========================================
   TOUCH DEVICES
   Keep slideshow prompt visible on touch
======================================== */

@media (hover: none) {

    #Gallery .gallery-hover-text {
        opacity: 1;
    }

}

/* END INDIVIDUAL PHOTOS */

.nbox, .dbox {
    position:relative;
    border:1px solid #e5e5e5;
}

.bg1 {
    background-color:#82d551;
}

.bg2 {
    background-color:#c32033;
}

.bg3 {
    background-color:#666;
    color:#fff;
}

.nb1, .nb2 {
    padding:10px 15px;
    background-color:#82d551;
    color:#fff;
    font-size:0.875em;
}

.nb2 {
    background-color:#c32033;
}

.nb3 {
    padding:15px;
}

.dbox {
    padding:40px;
    text-align:center;
}

.dbox a {
       border:1px dotted #e5e5e5;
}

.dbox i {
    font-size:5em;
    color:#f40f02;
}

.dbox i.db {
    font-size:5em;
    color:#0b2d4e;
}

.dbox span {
    display:inline-block;
    margin-top:15px;
}

.nbox .overlay, .nbox a, .nbox .cont, .dbox a {
       position:absolute;
       top:0;
       right:0;
       bottom:0;
       left:0;
       background-color:rgba(14,22,45,0.6);
       z-index:95;
}

.nbox a, .dbox a {
       background-color:transparent;
       z-index:97;
}

.nbox a:hover {
       background-color:rgba(85,179,251,0.33);
}

.nbh2 a:hover {
       background-color:rgba(14,22,25,0.33);
}

.dbox a:hover, .dbox a.lb:hover {
       background-color:rgba(244,15,2,0.25);
       border:1px solid #e5e5e5;
       box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dbox a.lb:hover {
       background-color:rgba(85,179,251,0.25);
}

.nbox .cont {
       background-color:transparent;
       z-index:96;
       color:#fff;
}

.nbox .cont .inner {
       position:absolute;
       bottom:20px;
       padding:20px;
       background-color:transparent;
}

.nbox .cont span.head {
       display:block;
       margin-bottom:15px;
       font-size:1.25em;
       color:#fff;
}

.nbox .cont span.text, .nbox .text {
       color:#c32033;
}

.newsitem {
    margin-bottom:20px;
    padding:10px;
}

.newsport .container-fluid {
    margin:0;
    padding:0;
}

#anews ul  {
    padding-left:0;
    list-style: none;
    text-align:left;
}

#anews ul li  {
    width:100%;
    display:inline-block;
    vertical-align: top
}

#anews article:nth-child(even) {
    background-color:#fff;
}
#anews article:nth-child(odd) {
    background-color:#fff;
}

#anews a.nback:hover {
    color:#fff;
    text-decoration:none;
}

.nimg {
    float:left;
    width:100%;
}

.nimg:hover img {
    opacity:0.5;
}

.nimg:hover {
    background-color:#c32033;
}

.ncont {
    float:left;
    width:100%;
    line-height:normal;
    text-align:left;
}

.ninner {
    padding-left:0;
}

.magnify { 
    display: inline-block; 
    overflow: hidden; 
  }
  .magnify img {
    display: block; /* no whitespace */
    transition: .3s ease-in-out;
  }
  .magnify:hover img {
    transform: scale(1.3);
  }

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

#anews ul li  {
    width:49.5%;
}

.ncont {
    font-size:75%;
}

}

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

#anews ul li  {
    width:33%;
}

#anews ul.four li  {
    width:24.25%;
}

}

/* END Archive Page layout */

#moblogo {
    position:relative;
    z-index:12;
    padding:15px;
}

#enqcon2 {
    display:none;
    position:fixed;
    top:inherit;
    bottom:0;
    right:0;
    left:50%;
    width:300px;
    margin-left: -150px;
    z-index:99998;
}

#emBox {
    width:25%;
    font-size:75%;
    padding:15px;
    position:absolute;
    top:50px;
    right:50px;
    background-color: rgba(14,22,45,0.75);
}

#enqcon2 {
    display:none;
    position:fixed;
    top:inherit;
    bottom:0;
    right:0;
    left:50%;
    width:300px;
    margin-left: -150px;
    z-index:99998;
}
#enqcon2 img {
    display:inline-block;
}
#enqmain {
    position:relative;
    background-color:#e8a927;
    color:#fff;
}
span.enqin2 {
    display:inline-block;
    text-align:center;
}
.enqin2 {
    padding:10px;
    letter-spacing:1px;
}
#enqcon2 a.full {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#eclose {
    text-align:center;
    cursor:pointer;
    padding:5px;
    padding-top:20px;
    position:absolute;
    right:-20px;
    top:0;
    height:100%;
    background-color:rgba(232,169,39,0.3);
}

/* Testimonials */

    #rotate div  {
        padding-bottom: 0;
     }

    #rotate span  {
        font-size:75%;
        color:#c32033;
     }

    #rotate p {
        position: relative;
     }

    #rotate div p:first-child  {
        padding-top: 10px;
     }

    #rotate div p:last-child  {
        padding-bottom: 10px;
     }
     
    #rotate div p:first-child:before  {
        content: url('../images/quotes75.png');
        position: absolute;
        top: -26px;
        left:0;
     }

    #rotate div p:last-child:after  {
        content: url('../images/quotes75.png');
        position: absolute;
        bottom: -36px;
        right: 0;
     }
     
@media (min-width: 1280px) {

    #rotate div p:first-child  {
        padding-top: 20px;
     }

    #rotate div p:last-child  {
        padding-bottom: 20px;
     }
     
    #rotate div p:first-child:before  {
        content: url('../images/quotes.png');
        top: -47px;
     }

    #rotate div p:last-child:after  {
        content: url('../images/quotes.png');
        bottom: -57px;
     }

}

/* End Testimonials */

.twocol, .twocolL, .twocolR {
	width:100%;
    float:left;
    margin:20px 0;
    box-sizing:content-box;
}

.csdesk {
	display: none;
}

.show480 {
   display: none;
}

.hide480 {
   sisplay: block;
}

.butcon {
    margin: 2em 0;
}

#mlogo {
    clear: both;
    padding: 20px 10%;
    z-index:9999;
}

.quote  {
	font-size:1.25em;
    font-style:italic;
    background-color:#f2f2f2;
    color:#9e9e9e;
    border: 1px solid #c0c0c0;
    -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
    margin: 0 15px;
}

.quote img  {
    display:block;
    margin-bottom:1em;
}

.quote strong  {
    font-size:1.25em;
    font-weight:bold;
    color:#757575;
}

blockquote {
    background-color:#eaf2f8;
    border-left: 5px solid #c32033;
}


.blockquote2, .blockquote3 {
    background-color:#eee;
    padding:20px;
    margin:0 0 20px;
    border-right:4px solid #292b68;
    border-left:4px solid #c32033;
}

.blockquote3 {
    padding:40px 20px;
    font-size:125%
}

.bqeco {
    background-color:#8dc63f;
    color:#fff;
    padding:40px;
    margin:20px 0;
    border-radius: 40px 0 40px 0;
    font-size:125%
}

/* Flex container */

#acclogo img {
    max-height:100px;
}

.fRow {
	display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}

.fRow div {
    flex-basis:calc(33%);
    padding:15px;
    align-items: center;
    text-align: center;
}

.yflexV, .yflexV2, .yflexRow, .yflexRowS {
	display:flex;
    justify-content:center;
    align-items:center;
}
.yflexV2, .yflexRow, .yflexRowS {
    display:block;
    align-items:stretch;
}
.yflex, .yflex2 {
	position:relative;
    display:flex;
	justify-content:space-between;
    flex-flow: row wrap;
    margin:2em -5px;
}
.mauto {
    margin:auto! important;
}
.flexor {
    display:block;
}
.yflex2 {
	justify-content:inherit;
}
.jconcen {
	justify-content:center;
}
.yflex div.two, .yflex2 div.two {
	flex-basis:calc(100%);
    margin:5px;
}

.yflex div.four, .yflex2 div.four {
	flex-basis:calc(100%);
    margin:5px;
}

.yflex div.fourB, .yflex2 div.fourB {
	flex-basis:calc(50% - 10px);
    margin:5px;
}

.yflex div.three, .yflex2 div.three {
	flex-basis:calc(33.3333333% - 10px);
    margin:5px;
}

.yflex div.three div, .yflex2 div.three div,
.yflex div.three p, .yflex2 div.three p  {
	text-align:center;
}

.yflex .ibox, .yflex2 .ibox {
	border:1px solid #c0c0c0;;
}

.ygap {
	flex: 1 0 10px;
}

.sbox1, .sbox2 {
	width:100%;
    height:100%;
    padding:20px;
    background-color:#f5f5f5;
    color:#8c8c8c;
    border:1px solid #bebebe;
    border-left:5px solid #0092c5;
}

.sbox2 {
    border-left:5px solid #e8a927;
}

.service {
    width:100%;
    height:100%;
    padding:30px;
    background-color:#f5f5f5;
    color:#13133b;
    border:1px solid #c0c0c0;
}

.service p {
    font-size:75%;
}

.newsport {
    position:relative;
    width:100%;
    height:100%;
    background-color:#fff;
    margin:10px auto;
    font-size:75%;
}

.newsport a,
.newsport img#res1A,
.newsport img#res2A,
.newsport img#res3A,
.newsport img#res4A,
#infobar a, #infobarM a  {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:9999;
    background-color:rgba(0, 0, 0, 0.5);
}

#infobar a:hover, #infobarM a:hover  {
    background-color:rgba(195, 32, 51, 0.5);
}

#infobar span, #infobarM span  {
    z-index:99999;
    color:#fff;
}

#infobar span  {
    font-size:150%;
}

.newsport img#res1A,
.newsport img#res2A,
.newsport img#res3A,
.newsport img#res4A {
    opacity:0;
    z-index:9998;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

#np1:hover a,
#np2:hover a,
#np3:hover a,
#np4:hover a {
    background-color:#0b2d4e;
    opacity:0.25;
}

#np1:hover img#res1A,
#np2:hover img#res2A,
#np3:hover img#res3A,
#np4:hover img#res4A {
    opacity:0.75;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.newsport img {
    align-self:center;
}

.newsport p.link {
    color:#c32033;
    font-weight:bold;
    font-size:125%;
}

.conbox1, .conbox2, .conbox3 {
	width: 100%;
    color: #fff;
    border: 2px solid #e8722e;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
    clear: left;
}

#ycb2 {
    position: relative;
}

#fader1, #fader2, #fader3 { display: block; position: relative; width: 143px; margin: 10px auto; }
#fader2 { width: 88px; }
#fader3 { width: 67px; }
#fader1 img:last-child, #fader2 img:last-child, #fader3 img:last-child {
    position: absolute;
    top: 0; 
    left: 0;
    display: block;
}

.inner {
    padding:20px;
    background-color:#fff;
}

.cbinner {
	padding: 20px;
    text-align: center;
}

.cbhover {
    color: #fff !important;
    border: 2px solid #e8722e !important;
}

/*.conbox:hover {
    color: #e8722e;
    border: 2px solid #e8722e;
}*/

#cbtxt1, #cbtxt2, #cbtxt3, #cbtxtW1, #cbtxtW2, #cbtxtW3, #cbtxtM {
    color: #fff;
    margin: 20px 0;
    text-align: justify;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

#cbtxtW1, #cbtxtW2, #cbtxtW3, #cbtxtM {
    display: none;
    color: #fff;
    text-align: justify;
}


/*.conbox:hover + .cbtxt {
    color: #fff;
}*/

.ycon3box {
	width: 100%;
    border: 4px dashed #115560;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    background-color:#fafafa;
}

#popcon {
    position: absolute;
    top: 0;
    right: 0;
}

#pop1, #pop2 {
	width: 275px;
    height: 60px;
    position: absolute;
    top: 0;
    right:0;
    color: #fff;
    background-color: #ef4036;
    z-index: 9999;
    font-size: 100%;
    font-weight: bold;
    overflow: hidden;
}

#pop2 {
    top: 20px;
}

#pop1 .p1hide, #pop2 .p2hide, #nf-form-4-cont {
    /*visibility: hidden;*/
    display: none;
}

.popin {
    padding: 10px 0 10px 10px;
}

#pop1a, #pop2a {
    cursor: pointer;
}

 p.popin {
    margin-bottom: 0;
}


.popin2 {
    width: 80%;
    margin: 0 auto 10px auto;
    clear: both;
}

#mpop1, #mpop2 {
	width: 50%;
    height: 60px;
    float: left;
    color: #372b67;
    background-color: #ffce1c;
    font-size: 80%;
    font-weight: bold;
}

.newsimage	{
   float:left;
   width:100%;
   padding-bottom:1em;
}
.newstext	{
   float:left;
   width:100%;
   padding-left:0;
   padding-bottom:1em;
} 

/* Flexible iFrame */

.Flexible-container, .Flexible-containerL {
    position: relative;
    padding-bottom: 56.25%;/* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) ie divide height by width to get % */
    /*padding-top: 30px;*/
    height: 0;
    overflow:auto;
    /*margin:1em 0 1em 0;*/
}

.Flexible-containerL {
    padding-bottom: 100%;/* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) ie divide height by width to get % */
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed,
.Flexible-containerL iframe,   
.Flexible-containerL object,  
.Flexible-containerL embed {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* HEADINGS */

h1, .h1, h2, .h2, h3, .h3 {
    margin-top:0;
    margin-bottom:20px;
    letter-spacing: 5px;
}

h1, h2 {
    color:#0b2d4e;
}

h4 {
   text-decoration:underline;
}

h3.notmar {
   margin-top: 0;
}

#y-content h1, #y-content h2 {
   font-size: 1.5em;
   margin-top: 0;
   margin-bottom: 20px;
}

#y-content h2 {
   font-size: 1.25em;
}

#y-content h2.bmar {
   margin-bottom:10px;
}

#y-content #anews h2 {
   margin-top:8px;
}

#emBox h2 {
   font-size:1.25em;
   color:#fff;
}

#y-content .srhead h2 {
   color:#fff;
   margin-bottom:0;
   display:inline-block;
}

#y-content h3 {
   font-size: 1.175em;
}

#y-content2 h2 {
   font-size:2em;
   margin:15px 0;
}

#y-content3 h2 {
   color:#fff;
}

#y-content4 h2, #y-news h2 {
   font-size:2em;
   margin:0 0 40px 0;
   color:#999;
}

.bqeco h2 {
   color:#fff;
}

footer h2 {
   color:#fff;
}

#ycb1 h2, #ycb2 h2, #ycb3 h2 {
    color: #e8722e;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

#y-test h2 {
   font-size: 2em;
   margin-bottom: 1em;
   color:#fff;
}

h2.nomar {
   margin-top: 0;
}

h2.news {
   color: #f7931e;
   border-bottom: 8px solid #00628c;
   padding-bottom: 5px;
   margin-bottom: 20px;
   margin-right: 15px;
   margin-left: 15px;
}

#y-content3 h1 {
   font-size: 2.5em;
}

#y-content .staffmem h2 {
   font-size:1.25em;
}

#y-content .staffmem h3, #y-select3 .staffmem h3 {
   font-size:1em;
}

#y-content .staffmem h3.bluetm {
   margin-top:15px;
   color:#0b2d4e;
}

#y-menubar p.lev2, #mobmenupanel p.lev2 {
   font-size:1.5em;
   margin-right:-5px;
   margin-bottom:10px;
}

#y-content3 h3 {
   font-size:75%;
   margin-top:30px;
   color:#c32033;
}

.nbox h3 {
   color:#c32033;
}

h4.modal-title {
   font-weight: bold;
}

.y-tag .head {
    font-family:"aniversRegular", sans-serif;
    font-weight:normal;
    line-height:1;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:.1em;
    font-size:1.25em;
    display:block;
    text-align:left;
    margin-bottom:15px;
}

#y-content3 h2.head {
   font-weight: bold;
   margin-top: 20px;
   margin-bottom: 0;
}

#y-content3 h3.subhead {
   font-weight: normal;
}

.y-tag .sub-head {
    font-size:0.75em;
    display:block;
    margin-bottom:1em;
    color:#fff;
    line-height:normal;
}

.flex-caption-mob .y-tag {
    font-size:1.25em;
}

.y-mtagline .head, .y-mtagline .sub-head {
    font-size: 0.75em;
    display:block;
    margin-bottom:10px;
}

.y-mtagline .head {
    font-family: 'Cinzel', serif;
}

.y-mtagline .sub-head {
    font-size: 0.5em;
    margin-bottom:10px;
}

footer .head {
    font-size:100%;
    font-weight: bold;
}


/* LINKS */

a {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#y-menubar a:link, #y-menubar a:visited { 
color:#fff;
}

#y-menubar a:hover, #y-menubar a:active { 
color:#fff;
text-decoration: none;
}

#y-menubar p.lev2 a:link, #y-menubar p.lev2 a:visited,
#mobmenupanel p.lev2 a:link, #mobmenupanel p.lev2 a:visited { 
color:#c32033;
}

#y-menubar p.lev2 a:hover, #y-menubar p.lev2 a:active,
#mobmenupanel p.lev2 a:hover, #mobmenupanel p.lev2 a:active { 
color:#0b2d4e;
text-decoration: none;
}

#y-menubar a:active { 
color:#00628c;
}

.social a:link, .social a:visited { 
color:#c32033;
}

.social a:hover, .social a:active { 
color:#fff;
text-decoration: none;
}

#eclose a {
    color:#fff;
}

#eclose a:link, #eclose a:visited {
    color:#fff;
}

#eclose a:hover, #eclose a:active {
    outline:0;
    color:#e8a927;
    text-decoration:none;
}

footer a:link, footer a:visited,
#footerbar a,#footerbar a:link, #footerbar a:visited { 
color : #fff; }

footer a:focus,
#footerbar a:focus { 
outline : thin dotted; 
color : #fff; }

footer a:hover, footer a:active,
#footerbar a:hover, #footerbar a:active { 
outline : 0;
color: #fff;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#ddmenu ul.yprod > li {
    width: 25%;
    text-align: center;
}

a.point {
    cursor:pointer;
}

.y-navbar ul {
	list-style:none;
    display:flex;
    justify-content:center;
    margin-bottom:0;
    padding-left:0;
}

.y-navbar ul li {
	display:inline-block;
    margin-right:10px;
    height:100%;
}

.y-navbar ul li a {
	display:inline-block;
    padding:10px;
}

.y-navbar ul li:last-child {
  margin-right:0;
}

.y-navbar ul li:hover {
    background-color:#c32033;
}

.y-navbar ul li:hover a.top {
   color:#fff;
}

.mobbar {
    position: relative;
    left: 0;
    width: 100%;
    color: #c32033;
    border-top: 4px solid #c32033;
}

/* Mobile Slide Out Menu */
#sidebarMenu {
    height: 100%;
    position: fixed;
    left: 0;
    width: 100%;
    margin-top: 0;
    transform: translateX(-100%);
    transition: transform 250ms ease-in-out;
    background: linear-gradient(180deg, #000000 0%, #fcd300 100%);
    overflow:auto;
}
.sidebarMenuInner{
    margin:0;
    padding:30px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li{
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li span{
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
}
.sidebarMenuInner li a{
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}
.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 22px;
    left: 15px;
    height: 22px;
    width: 22px;
}
.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #67bf0d;
}
.sidebarIconToggle:hover .spinner {
    background-color: #fff;
}
.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}
.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
input[type=checkbox]#openSidebarMenu {
    display:none;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}
/* End Mobile Slide Out Menu */

#menupanel, #menupanel2, #mobmenupanel {
    opacity:0;
    position:absolute;
    left:0;
    margin-top:0;
    width:100%;
    padding:15px 0;
    font-size:65%;
    text-align:right;
    background-color:#fff;
    border-top:4px solid #c32033;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-box-shadow: 0 20px 10px -10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 20px 10px -10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 10px -10px rgba(0, 0, 0, 0.5);
    z-index:10;
}

#mobmenupanel {
    border-top:none;
    text-align:left;
    font-size:75%;
}

#menupanel:hover, #menupanel2:hover, #mobmenupanel:hover {
    display:block;
    opacity:1;
    z-index:2010;
}

#mnav, #mclose {
    display:inline-block;
}

#mclose {
    display:none;
}

.triggerM {
    margin-left:15px;
}

.trigger:hover #menupanel,
.trigger2:hover #menupanel2,
.triggerM:hover #mobmenupanel {
    z-index:2010;
}

.trigger:hover #menupanel,
.trigger2:hover #menupanel2,
.triggerM:hover #mobmenupanel {
    opacity:1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.trigger:hover,
.trigger2:hover,
.triggerM:hover,
#menupanel:hover .trigger, 
#menupanel2:hover .trigger2,
#mobmenupanel:hover .triggerM {
    background-color:#fff;
}

/* Vertical Links */

#y-menubar .y-navbar .vmenu a,
#mnav #mobmenupanel .vmenu a,
#mnav #mobmenupanel ul.menu li a {
    display:block;
    color:#0b2d4e;
    padding:8px 20px;
    text-decoration:none;
    background-color:#f5f5f5;
    border-bottom:1px ridge #dedede;
    border-left:12px solid #dedede;
}

#y-menubar .y-navbar .vmenu a.head,
#mnav #mobmenupanel .vmenu a.head,
#mnav #mobmenupanel ul.menu li a.head {
  color:#0b2d4e;
}

#y-menubar .y-navbar .vmenu a:hover,
#mnav #mobmenupanel .vmenu a:hover {
  background-color:#c32033;
  color:#fff;
  border-left:12px solid #0b2d4e;
}

#y-menubar .y-navbar .vmenu span a,
#mnav #mobmenupanel .vmenu span a,
#mnav #mobmenupanel ul.menu li a {
  background-color:#e9e9e9;
  font-size:125%;
  font-weight:300;
}

#y-menubar .y-navbar .vmenu span a:hover,
#mnav #mobmenupanel .vmenu span a:hover,
#mnav #mobmenupanel ul.menu li a:hover {
  background-color:#0b2d4e;
  color:#fff;
  border-left:12px solid #c32033;
}

#mobmenupanel ul.menu p:first-of-type {
    padding-top:15px;
}


/* FORMS */

input, select, textarea {
    width: 100%;
    color:#7e7e7e;
    margin-bottom:15px;
}

.search-cont {
    width:100%;
    margin:0 auto;
}

.srhead {
    color:#fff;
    background-color:#c32033;
    padding:10px;
    cursor:pointer;
}

.srcont {
    display:none;
    padding:15px 0;
}

.srres {
    padding:10px;
}

.srcont article {
    margin-top:30px;
}

input.search-field, button.search-submit {
    width:auto;
    display:inline-block;
    padding:10px 15px;
    font-size:20px;
    border-radius:0;
    -webkit-appearance: none;
}

input.search-field {
    border:1px solid lightgray;
}

button.search-submit {
    background-color:#0b2d4e;
    color:#fff;
    border:1px solid #0b2d4e;
}

button.search-submit:hover {
    background-color:#c32033;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

textarea {
    height:150px;
}

.modal-body input[type=checkbox],
input[type=checkbox]  {
    display: inline;
    width: auto;
    margin-left: 10px;
}

#y-content4 input, .modal-body input, #popcon input  {
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    border-left: none;
    border-right: none;
    padding: 5px 10px;
    color: #7e7e7e;
}

#y-content4 input[type=submit], .modal-body input[type=submit], #popcon input[type=submit],
#y-content4 input[type=button], .modal-body input[type=button], #popcon input[type=button] {
    background: #333133; 
    border: 4px solid #fff;
    cursor: pointer;
    color: #fff;
}

#cshp {
    display:none;
}

/* New Web Form */
.adscon{margin:0;padding:32px 16px;background:#151534;font:16px/1.5 "Segoe UI",Arial,sans-serif;color:#1a2733}
.addcon{background:#151534;color:#fff;font-size:100%;}
/* Everything below is scoped to .ads-wrap so it will not clash with a WordPress theme */
.ads-wrap{--navy:#0b2d4e;--blue:#1075bb;--green:#8ac53e;--orange:#f39221;--ink:#1a2733;--muted:#5a6b7b;--line:#b8c4cf;--err:#b3261e;--panel:#d4f1fa;max-width:660px;margin:0 auto}
.ads-wrap *{box-sizing:border-box}
.ads-wrap h1{margin:0 0 18px;color:#fff;font-size:30px;line-height:1.2;text-align:center}
.ads-wrap .card{background:#fff;border-radius:12px;padding:26px 28px 20px;color:var(--ink)}
.ads-wrap [hidden]{display:none!important}
.ads-wrap :focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.ads-wrap p.white{color:#fff;text-align:center}

/* progress */
.ads-wrap .progress-text{margin:0 0 8px;font-weight:600}
.ads-wrap .bar{height:10px;border-radius:99px;background:#dbe5ee;overflow:hidden}
.ads-wrap .bar span{display:block;height:100%;width:20%;background:var(--green);border-radius:99px;transition:width .3s ease}

/* steps and fields */
.ads-wrap .step{display:none;padding-top:22px}
#y-content .ads-wrap .step h2, .ads-wrap .step h2{all: revert;margin:0 0 6px;font-size:22px;line-height:1.25}
.ads-wrap .step h2:focus{outline:none}
.ads-wrap .hint{margin:0 0 14px;color:var(--muted);font-size:15px}
.ads-wrap .field{margin:0 0 16px}
.ads-wrap label,.ads-wrap legend{all: revert;display:block;margin:0 0 4px;font-weight:600;padding:0}
.ads-wrap .req{color:var(--err)}
.ads-wrap input[type=text],.ads-wrap input[type=email],.ads-wrap input[type=tel],.ads-wrap select,.ads-wrap textarea{display:block;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}
.ads-wrap textarea{min-height:96px;resize:vertical}
.ads-wrap [aria-invalid="true"]{border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.ads-wrap .err{margin:5px 0 0;color:var(--err);font-size:15px}
.ads-wrap fieldset{margin:0 0 16px;padding:0;border:0;min-width:0}
.ads-wrap .check{display:flex;align-items:flex-start;gap:10px;margin:0 0 8px;font-weight:400;cursor:pointer}
.ads-wrap .check input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--blue)}
.ads-wrap .checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.ads-wrap .link{padding:0;border:0;background:none;color:var(--blue);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.ads-wrap .consent{margin-top:18px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#f6f9fc}
.ads-wrap .consent p{margin:0 0 10px;}
.ads-wrap .consent p.si{font-size:0.875rem;font-style:italic;}
.ads-wrap .consent .check{margin-bottom:0}
.ads-wrap .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* review */
.ads-wrap #review{margin-top:14px}
.ads-wrap .rv{margin:0 0 14px;padding:14px 16px;border-radius:8px;background:var(--panel);color:#000}
.ads-wrap .rv-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
#y-content .ads-wrap .rv h3, .ads-wrap .rv h3{all: revert;margin:0;font-size:17px}
.ads-wrap .rv dl{display:grid;grid-template-columns:150px 1fr;gap:4px 14px;margin:0}
.ads-wrap .rv dt{font-weight:600}
.ads-wrap .rv dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.ads-wrap .none{color:#4a5a68}
.ads-wrap .edit-btn{padding:4px 12px;border:1px solid var(--blue);border-radius:6px;background:#fff;color:var(--blue);font:inherit;font-weight:600;cursor:pointer}

/* buttons and notices */
.ads-wrap .buttons{display:flex;align-items:center;gap:12px;margin-top:22px}
.ads-wrap .btn{padding:11px 22px;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.ads-wrap .btn:disabled{opacity:.6;cursor:not-allowed}
.ads-wrap .back{background:var(--blue);color:#fff}
.ads-wrap .next{margin-left:auto;background:var(--green);color:var(--navy)}
.ads-wrap .submit{margin-left:auto;background:var(--orange);color:#1a1a1a}
.ads-wrap .notice{margin:16px 0 0;padding:10px 14px;border-left:4px solid var(--blue);border-radius:0 8px 8px 0;background:#e8f3fb}
.ads-wrap .form-error{margin:16px 0;padding:10px 14px;border-left:4px solid var(--err);border-radius:0 8px 8px 0;background:#fdecea;color:#7a1610}
.ads-wrap .fine{margin:16px 0 0;color:var(--muted);font-size:14px}
.ads-wrap .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:560px){
  .ads-wrap .card{padding:20px 16px 16px}
  .ads-wrap .checks{grid-template-columns:1fr}
  .ads-wrap .rv dl{grid-template-columns:1fr;gap:0}
  .ads-wrap .rv dd{margin-bottom:8px}
}
@media (prefers-reduced-motion:reduce){.ads-wrap .bar span{transition:none}}

/* END New Web Form */

/* yOWS 3D Custom Forms */

#Cformcont #cfaddra {
    display:none;
}

#Cformcont input, #Cformcont label, #Cformcont textarea {
    display:block;
    width:100%;
    padding:10px;
    margin:10px 0;
    border-width:1px;
}

#Cformcont input[type=submit] {
    padding:10px 40px;
}

#Cformcont label {
    padding:10px 0;
}

#Cformcont input, #Cformcont textarea {
    border-style: solid;
}

#Cformcont label.error, #Cformcont label span.error,
#mc-embedded-subscribe-form label.error, #mc-embedded-subscribe-form label span.error {
    color:red;
    font-size:1em;
    font-style:italic;
    font-weight:normal;
}

#Cformcont input.error, #Cformcont select.error, #Cformcont textarea.error {
    border-color: red !important;
}

#Cformcont input[type="radio"], #Cformcont input[type="checkbox"], #Cformcont input[type="submit"], #Cformcont .iblab label {
    display:inline-block;
    width:auto;
}

#Cformcont input[type="checkbox"], #Cformcont .iblab label {
    padding:0;
    margin:0;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#999;
  font-style:italic;
  font-weight:normal;
}
::-moz-placeholder { /* Firefox 19+ */
  color:#999;
  font-style:italic;
  font-weight:normal;
}
::-ms-input-placeholder { /* IE 10+ */
  color:#999;
  font-style:italic;
  font-weight:normal;
}
::-moz-placeholder { /* Firefox 18- */
  color:#999;
  font-style:italic;
  font-weight:normal;
}

/* MAILCHIMP */

div.fterms {
    padding:15px 0;
}

footer input[type="text"], footer input[type="search"], footer input[type="email"], footer input[type="number"], footer input[type="tel"], footer input[type="password"], footer textarea, footer .select-wrap select, footer .select-wrap, footer .file-upload .fake-input {
    width: 100%;
    border-radius: 0;
    border: solid #c0c7d0;
    border-width: 0 0 2px;
    outline: 0;
    color: #fff;
    background: transparent;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    height:auto;
    padding: 5px 15px;
    text-transform: none;
    font-weight: normal;
    -webkit-appearance: none;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

footer input[type="text"], footer input[type="search"], footer input[type="email"], footer input[type="number"], footer input[type="tel"], footer input[type="password"], footer textarea {
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

footer input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#fafafa;
  font-style:italic;
}
footer input::-moz-placeholder { /* Firefox 19+ */
  color:#fafafa;
  font-style:italic;
  }
footer input::-ms-input-placeholder { /* IE 10+ */
  color:#fafafa;
  font-style:italic;
}
footer input::-moz-placeholder { /* Firefox 18- */
  color:#fafafa;
  font-style:italic;
}

/* Contact Box */

#emBox input[type="text"], #emBox textarea {
    background:#fff;
    color:#000;
    margin-bottom:5px;
}


/* LISTS */

ul.lpad {
	padding-left:5px;
}

ul.b {
  list-style-position: inside;
}

.cenlist {
	width:80%;
    margin:0 auto;
    text-align:left;;
}

ul.menu, footer ul {
	list-style: none;
    padding-left: 0;
    padding:15px;
}

ul.menu {
    padding:0;
    margin:0;
}

footer ul li {
	padding: 0 0 10px 0;
    margin: 0;
}

/* Font Awesome Override */

ul.fa-ul {
    margin-left: 1.5em;
}

#breadcrumbs {
    position:relative;
    top:-1.5em;
    list-style:none;
    margin:10px 0;
    overflow:hidden;
    font-size:0.75em;
    color:#707486;
    text-align:center;
}

ul#breadcrumbs {
    padding-left:0;
}
  
#breadcrumbs li {
    display:inline-block;
    vertical-align:middle;
    margin-right:8px;
}
  
#breadcrumbs .separator {
    font-size:0.75em;
    font-weight:100;
    color:#0b2d4e;
}


/* TABLES */

table {
    width: 100%;
    margin: 2em 0;
    font-size: 80%;
}

th {
    text-align:center;
    padding:8px;
}

td {
    padding:8px;
}

#y-content table td {
    width: 50%;
}

#y-content table.type2 td {
    width: 25%;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #414141;
    padding: 8px;
}

.table-bordered > thead > tr > th {
    text-align: center;
}

.table-bordered {
    border: none;
}

thead {
    background-color: #5a4d99;
}

table.table th.brdot {
    border-right: 2px dotted #372d67;
}


table.form {
    border-collapse: collapse;
}

table.form td {
    padding-top: .5em;
    padding-bottom: .5em;
}

/* Responsive Table */

table.y-res tr {
    border: 1px solid #ddd;
    padding: 5px;
}

table.y-res th, table.y-res td {
    padding: 10px;
    text-align: center;
}

table.y-res th {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    table.y-res {
        border: 0;
    }

    table.y-res thead {
        display: none;
    }

    table.y-res tr {
        margin-bottom: 10px;
        display: block;
    }

    table.y-res tr:after {
        content: "";
        display: table;
        clear: both;
    }
  
    table.y-res tr:before {
        display: block;
        border-bottom: 2px solid #ddd;
    }

    table.y-res td {
        box-sizing: border-box;
        display: block;
        float: left;
        clear: left;
        width: 100%;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }

    table.y-res td:last-child {
        border-bottom: 0;
    }

    table.y-res td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }
}

/* TYPOGRAPHY */

@font-face {
  font-family: 'aniversRegular';
  src: url("../fonts/anivers_regular.woff2") format("woff2"), url("../fonts/anivers_regular.woff") format("woff");
  font-weight: normal;
  font-style: normal; 
  }

@font-face {
  font-family: 'aniversBold';
  src: url("../fonts/anivers-bold.woff2") format("woff2"), url("../fonts/anivers-bold.woff") format("woff");
  font-weight: normal;
  font-style: normal; 
  }
  
.dash {
    font-size: 75%;
    font-family: arial;
}

.htext {
  color:#0b2d4e;
  background-color:#eee;
  border-top:4px solid #c32033;
  border-bottom:4px solid #c32033;
}

.htext p {
  margin:20px 0;
}

.bg-white {
  background: #fff;
}

.bg-black {
  background: #353535;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

.colpad1 {
    padding: 8%;
}

.colpad1A {
    padding: 6%;
}

.colpad2 {
    padding: 20px 4%;
}

.colpad2A {
    padding: 50px 4%;
}

.colpad3 {
    padding: 40px 0;
}

.colpad3A {
    padding: 50px 15px;
}

.colpad3B {
    padding: 50px 0 30px 0;
}

.colpad4 {
    padding: 0 4%;
}

.cphead {
    padding: 0 15px;
}

.paddAll {
    padding:15px;
}

.paddall5 {
    padding: 3% 5%;
}

.paddingH {
    padding:30px 0 30px 5%;
}

.padding1, .padding1A {
    padding:30px 0;
}

.paddingC {
    padding:30px 0 0 0;
}

.paddingC1 {
    padding:30px 0;
}

.paddingC2 {
    padding:30px 0 0 0;
}

.marginC {
    margin-top:30px !important;
}

.padding1B {
    padding:5em 0 0 0;
}

.padding1C {
    padding:3em 0;
}

.padding1D {
    padding:3em 0 0 0;
}

.padding2 {
    padding: 0 5%;
}

.padding2A {
    padding: 5em 6%;
}

.padding3 {
    padding: 0 0 1.5em 0;
}

.padding3A {
    padding: 0 0 3% 0;
}

.paddtop {
    padding-top: 0;
}

.paddlr {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

.martop {
    margin-top:1.75em;
}

.tm992, .tm {
    margin-top:15px;
}

.sbmt, .sbmt2 {
    margin-top:15px;
}

.sidemar {
    margin-top:3em;
}

.nomb {
    margin-bottom:0;
}

.csmar {
    margin-right:20px;
}

span.spacer {
    display:block;
    width:0;
}

.warning {
	color:#ef4036;
    font-size:1.25em;
}

.yellbox {
	position: absolute;
    top: -60px;
    left:0;
    width: 100%;
    text-align: center;
    font-size: 100%;
    z-index: 13;
    padding:8px;
}

.yellow {
	color:#e8a927;
}

.blue {
	color:#115560;
}

.lblue {
	color:#c32033;
}

.dblue {
	color:#0b2d4e;
}

.times {
	color:#8aaa76;
    font-weight:bold;
}

.black {
	color:#000;
    font-weight:bold;
}

.strong {
	font-weight: bold;
}

span.italic {
    font-style: italic;
}

hr, hr.nbm {
display:block; 
margin:1em 0; 
border:1px;
border-style:solid;
color:#c32033; 
}

hr.nbm {
margin-bottom:0; 
}

hr.search {
opacity:0.33; 
margin-top:30px;
}

hr.dash {
margin : 2em 0 2em 0;
border:thin;
border-style:dotted;
color:#1f5678;
background:none;
clear:both; 
}

.colstat {
    position:static;
}

.relcon {
    position:relative;
}

.center {
	margin-left: auto;
    margin-right: auto;
}

#y-quotes .client {
    font-size: 0.75em;
}

.sidebar {
    font-size:75%;
    letter-spacing:normal;
}

.sidebar p {
    margin:10px 0 0 0;
}

p {
    margin: 0 0 20px;
}

.nb3 p {
    margin-bottom:0;
}

.small {
    font-size:75%;
}

p.first {
   font-size:150%;
   font-weight:500;
   color:#c32033;
   line-height:normal;
}

article > p:first-of-type {
    font-size:150%;
    font-weight:500;
    color:#c32033;
    line-height: normal;
}

article > p:first-of-type ~ p:first-of-type {
    font-size:100%;
    font-weight:normal;
    color:inherit;
}

#y-content2 div.qcon {
    clear: both;
    padding: 20px 0;
    overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}

#y-content2 div.qlin {
   clear: both;
   display: block;
   background-image:url('../images/line.png');
   background-size: contain;
   width: 100%;
   height: 6px;
   margin: 10px 0;
}

#y-content2 div.ques {
    float: left;
    width: 25%;
}

#y-content2 div.answ {
    float: left;
    width: 75%;
    font-size: 120%;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

#y-content2 div.answ:hover {
    font-weight: bold;
}

#y-content2 div.ques:hover + .answ {
    font-weight: bold;
}

#y-content.text-left {
    text-align:left;
}

/* MAIN LAYOUT */

#y-botbar {
	display:none;
    position:fixed;
    z-index:9999;
    bottom:0;
    width:8%;
    padding:5px;
    color:#fff;
    background-color:#c32033;
    text-align:center;
    cursor:pointer;
}

main {
	position:relative;
    z-index:12;
    padding-bottom:0;
}

#y-wrapper, #y-mobhead, .y-mtagline {
	position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

#y-mobhead {
	background-image:url('../images/Header-background.jpg');
}

#header {
    padding-bottom:10px;
}

.y-containerS, .y-containerM, .y-containerXM, .y-containerL, .y-containerXL, .y-containerP  {
    width: 100%;
    margin: 0 auto;
}

.y-containerS {
    max-width: 800px;
}

.y-containerM {
    max-width: 1024px;
}

.y-containerXM {
    max-width: 1152px;
}

.y-containerL {
    max-width: 1280px;
}

.y-containerXL {
    max-width: 1600px;
}

.y-containerP {
    max-width: 1408px;
}

.y-containerT {    
    width:100%;
    max-width:1280px;
    margin:0 auto;
    font-size:75%;
}

.y-container  {
    box-sizing: content-box;
}

.y-mtagline  {
    background-color:#666;
    text-align:center;
    color:#fff;
    font-size:1.5em;
    padding:1em 0;
}


header {
    position:relative;
    width:100%;
    max-width:1920px;
    /*height:100px;*/
    margin:0 auto;
    z-index:14;
    -webkit-transition:all ease 0.5s;
    -moz-transition:all ease 0.5s;
    -o-transition:all ease 0.5s;
    -ms-transition:all ease 0.5s;
    transition:all ease 0.5s;
    background-color:#292b68;
}

/* Scrolling fixed header */

header.smaller {
    position: fixed;
    top: 0;
    /*left: 0;*/
    opacity:0.65;
    z-index:2020;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
    -webkit-box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.5);
}
header img.logo, header img.book {
    height:60px;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    transition: all ease 0.2s;
}

header img {
    margin:20px 0;
}

header img.book {
    height:100px;
    float:right;
}

header.smaller #y-topbar img.logo, header.smaller img.book {
    height: 40px;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    transition: all ease 0.2s;
}

header.smaller #y-menubar {
    display:block;
}

header.smaller #menupanel {
    opacity:1;
}


header #mbook1 {
    width:34%;
    float:right;
    background-color:#3bbeb6;
}

header #mbook2 {
    /*width:66%;*/
    width:100%;
    float:right;
    background-color:#d68828; 
}

header #mbook {
    background-color:#d88a28;
    overflow:hidden;
}

header.smaller #mbook {
    position:fixed;
    top:0;
}

header.smaller #mbook1 {
    right:0;           
}

header.smaller #mbook2 {
    left:0; 
}

header.smaller img#logo, header.smaller img.mlogo {
    display:none;
}

header.smaller #header {
    display:none;
}

header.smaller #y-topbar,
header.smaller #y-logobar,
header.smaller #y-menubar {

}

header.smaller #y-menubar {
    margin-top: 0;
}

header.smaller #ddmenu ul.yprod {
    margin-top: -50px;
}

header.smaller #ddmenu li {
    background-color: transparent;
}

header.smaller #ddmenu .over {
    background-color: #353535;
}

#y-topband, #y-topbar, #y-mtopbar, #y-menubar, #y-strap, #y-select, #y-select2, #y-select3, #y-quotes, #y-content, #y-content2, #y-content3, 
#y-content3A, #y-content4, #y-test, #y-locate, #y-news, #y-socialbar, #y-edit, #y-carousel, #infobar, #infobarM {
	width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

#y-topband {
    background-color: #262262;
    height: 20px;
}

#y-topbar, #y-mtopbar {
    position: relative;
    z-index: 2030;
    text-align: right;
    color: #fff;
    border-top:4px solid #c32033;
}

#y-mtopbar {
    text-align: left;
}

#y-menubar {
    display:none;
    clear: both;
    z-index: 5;
    background-color:#292b68;
}

#infobar, #infobarM {
    position:absolute;
    z-index:12;
    text-align:center;
    background-color:transparent;
}

#y-panel {
    width: 80%;
    margin: 0 auto;
}

#y-logobar {
    position: absolute;
    width: 400px;
    margin-left: -200px;
    top: 60px;
    left: 50%;
}

#y-strap {
    color:#fff;
    font-size:2em;
    text-align:center;    
    padding:15px 0;
    letter-spacing:5px;
}

.ys1 {
    background-color:#c32033; 
}

.ys2 {
    background-color:#666; 
}

.ys3 {
    background-color:#82d551; 
}

.ys4 {
    background-color:#707486; 
}

.ys5 {
    background-color:#ff9933; 
}

#y-select {
    background-color:#fff;
}

#y-select2, #y-select3 {
    background-color:#fff;
}

#y-test {
    background-color:#585858;
    background-image:url('../images/background1.jpg');
    text-align: center;
    color: #fff;
    font-size: 125%;
}

#y-quotes {
    font-size: 1em;
    font-style:italic;
    text-align: center;    
    padding:20px 0;
    color:#c0c0c0;
    background-color:#fff;
}

#y-quotes .carousel-inner {
    padding:0 15px;
}

#y-edit {
    background-color: #fff;
    font-size: 100%;
    clear: both;
}

#y-carousel {
    width:calc(100% - 100px);
}


.staffmem .namecon {
    background-color:#666;
    color:#fff;
    padding:10px;
    text-align:center;
}

.staffmem .detcon {
    background-color:#f5f5f5;
    padding:20px;
}

.staffmem .detcon2 {
    background-color:#f2f9fe;
    padding:20px;
    margin-top:15px;
}

#y-content, #y-content3A {
    background-color:#fff;
    font-size:100%;
    clear:both;
}

#y-content2 {
    position:relative;
    background-color:#f5f5f5;
    font-size:100%;
}

#y-content3 {
    position:relative;
    font-size:125%;
    text-align:center;
    color:#fff;
    background-color:#151534;
}

#y-content4, #y-news {
    background-color:#f5f5f5;
    font-size:100%;
}

#y-locate {
    background-image:url('../images/background.jpg');
    background-position:0 25%; 
}

#y-socialbar {
    background-color: #f7931e; 
}


#y-slides, #y-mslides {
	position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    z-index: 12;
    overflow-x: hidden;
}

#y-dummy {
	position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

#y-modals {
    position: absolute;
    top: 40%;
    right: 10px;
    z-index: 2014;
}

#myModal, #myModal2 {
    z-index: 2014;
}

#y-dash {
    position: absolute;
    top: 12%;
    bottom:12%;
    right: 3%;
    width: 25%;
    z-index: 9999;
}
.y-tagline {
	width: 100%;
    position: absolute;
    top: 60%;
}

.y-tag {
    color:#fff;
}

.y-tag.olay {
    position:absolute;
    bottom:5%;
    width:100%;
    text-align:center;
    font-size:150%;
    z-index: 12;
}

/* Footer */
footer, #footerbar, #footerbar1 { 
	width:100%;
    max-width:1920px;
    margin:0 auto;
    background:#c32033;
    color:#fff;
    font-size:100%;
}

footer { 
    background:#fff; 
}

#footerbar { 
    clear:both;
    color:#fff;
    background:#0b2d4e; 
}

#footerbar1 { 
    background:#c32033;
    padding:30px 0;
    text-align:center; 
}

/* Positioning */

.y-center {
    margin: 0 auto;
}

/* IMAGES */

img, .flexslider .slides img.logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.flexslider .slides img.logo {
  margin: 0 auto;
  width: auto;
}

#moblogo img {
  clear:both;
  margin:0 auto;
  padding: 10px 0 20px 0;
  width: 80%;
}

#y-content img, .advert img, img.mb {
  margin-bottom:15px;
}

#y-content img {
  margin-bottom:0;
}

#y-topbar img {
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

#y-menubar img {
   margin-bottom:10px;
}


img.mobhead {
    /*max-height: 60px;*/
    margin: 30px auto 0 auto;
}

img.padd {
    padding-bottom:2em;
}

img.padd2 {
    margin-bottom:1em;
}

img.inline, footer img {
    display:inline-block;
}

table img {
    display: inline-block;
    margin-right: 2em;
}

.popin img {
    display:inline-block;
    margin-right:10px;
}

img.sg1 {
    position:absolute;
    left:0;
    top:200px;
}

img.sg2 {
    position:absolute;
    right:0;
    top:200px;
}

img.center, #y-content3 img {
    margin:0 auto;
}

footer img {
    margin: 10px auto;
}

/* GALLERIES */

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-card h2 {
    margin-top: 15px;
}

/* Glyph Icons */

.glyphicon {
  font-size: 20px;
  line-height: 33px;
}

.glyphicon-sm {
  font-size: 15px;
  line-height: 25px;
}

.glyphicon-ring, .glyphicon-ring-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  display: inline-table;
  text-align: center;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.glyphicon-ring-sm {
  width: 30px;
  height: 30px;
}

.glyphicon-ring:hover, .glyphicon-ring-sm:hover {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  o-transform: scale(1.2);
  transform: scale(1.2);
}      

/**CSS FOR ICON WITH NO BACKGROUND COLOR**/

.glyphicon-ring .glyphicon-bordered, .glyphicon-ring-sm .glyphicon-bordered {
  font-size: 15px;
  vertical-align: middle;
  display: table-cell;
}

.glyphicon-ring-sm .glyphicon-bordered {
  font-size: 20px;
}

/**WITH AN ADDED BACKGROUND COLOR**/

.glyphicon-white {
  background: white;
  color: black;
  border: 4px solid black;
}
.glyphicon-teal {
  background: teal;
  color: orange;
}
.glyphicon-green {
  background: #717f28;
}

/* BUTTONS */

#formb1, #formb2 {
    position:absolute;
    top:10px;
    right:15px;
    cursor:pointer;
}

#formb2 {
    top:20px;
    right:5%;
    z-index:9999;
}

.btn {
    border-radius:10px;
}

.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
 outline: none !important;
}

.btn-email {
    background: #372d67;
    color: #fff;
    border: 4px solid #372d67;
    border-radius: 0;
    width: 75%;
    float: left;
}

.btn-email:visited {
    color: #fff;
}

.btn-email:hover {
    background: transparent;
    color: #372d67;
}

.btn-email:active {
    color: #fff;
}


.btn-li {
    background: transparent;
    color: #372d67;
    border: 4px solid #372d67;
    border-radius: 0;
    width: 20%;
    float: right;
    font-weight: bold;
}

.btn-li:visited {
    color: #372d67;
}

.btn-li:hover {
    background: #372d67;
    color: #fff;
}

.btn-li:active {
    color: #372d67;
}


.btn-top  {
  border: 1px solid transparent;
  border-top-style: none;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background-color: rgba(98, 187, 70, 0.75);
  font-size: 1.5em;
  margin-left: 30px;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  -o-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.btn-top:hover {
    background-color: rgba(0, 86, 45, 1);
    color: #fff !important;
}

.btn-brd, .btn-brd2, .btn-brd3, .btn-brdm  {
  border:1px solid #fff;
  color:#fff;
  background:#c32033; /* For browsers that do not support gradients */
  /*background: -webkit-radial-gradient(circle, #1273b8, #225391, #283e7a);
  background: -o-radial-gradient(circle, #1273b8, #225391, #283e7a);
  background: -moz-radial-gradient(circle, #1273b8, #225391, #283e7a);
  background: radial-gradient(circle, #1273b8, #225391, #283e7a);*/
  font-size:1em;
  -webkit-transition:all ease 0.5s;
  -moz-transition:all ease 0.5s;
  -o-transition:all ease 0.5s;
  -ms-transition:all ease 0.5s;
  transition:all ease 0.5s;
}

.btn-brd2  {
  border:1px solid #c32033;
  background-color:transparent;
  color:#c32033;
  font-size:1em;
}

.btn-brd3  {
  color:#fff !important;
  font-size:1em;
}

.btn-brdm  {
  font-size: 0.75em;
  padding:10px;
}

.btn-brd:hover {
    background: rgba(179, 122, 4, 0.75);
    color: #fff !important;
}

.btn-brd2:hover {
    background-color:#c32033;
    color:#fff !important;
}

.btn-brd3:hover, .btn-brdm:hover {
    background-color:#292b68;
    color:#fff !important;
}

.btn-brd2:hover a  {
  color:#fff;
}

.btn-brd2:hover a  {
  color:#13133b;
}

.btn-pad {
    padding:6px 7px;
}

.btn-pad2 {
    padding:10px 40px;
}

.btn-primary-outline {
  background-color: transparent;
  border-color: #ccc;
}

/* SOCIAL ICONS */

/* NB font-awesome used from CSS folder */

.social {
    padding:0;
}

.ib {
    display:inline-block;
}

.msoc, .dsoc {
    position:absolute;
    top:15px;
    right:15px;
    z-index:15;
}

.msoc {
    top:0;
    right:5px;
    margin:0;
}

.social ul {
    margin: 0;
}

.social ul li {
    margin: 5px;
    color: #fff;
    list-style: none outside none;
    display: inline-block;
}

.social ul li:first-child {
    margin-left:0;
}

.social i, #mnav i, .ybox i, .yboxL i  {
    width: 40px;
    height: 40px;
    color: #c32033;
    font-size: 22px;
    text-align:center;
    padding-top: 10px;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

#mnav i, .ybox i {
    text-align:left;
}

.yboxL i {
    cursor:pointer;
}

.y-navbar .vmenu a i, #mnav i {
    /*color:#dedede;*/
}

header.smaller .social i {
    width: 25px;
    height: 25px;
    font-size: 14px;
    padding-top: 7.5px;
}


.social i.mob {
    width: 25px;
    height: 25px;
    font-size: 14px;
    text-align:center;
    padding-top: 7.5px;
}

.social i:hover, .ybox i:hover, .yboxL i:hover {
    text-decoration: none;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

.yboxL i:hover {
    color:#fff;
}

.social .fa-facebook-f {
}

#slogo .fa-facebook-f,
#slogo .fa-twitter,
#slogo .fa-linkedin-in,
#slogo .fa-youtube-square {
    color:#c0c0c0;
}

.social .fa-facebook-f:hover,
#slogo .fa-facebook-f:hover,
#slogo .fa-twitter:hover,
#slogo .fa-linkedin-in:hover,
#slogo .fa-youtube-square:hover {
    color:#fff;
}

.social .fa-twitter {
}

.social .fa-twitter:hover {
    color:#fff;
}

.social .fa-phone:hover,
.social .fa-envelope:hover {
    color:#fff;
}

.social .fa-search:hover,
.ybox .fa-phone:hover, .ybox .fa-envelope:hover {
    color:#fff;
}

.social .fa-github:hover {
    background-color:#343434;
}

.social .fa-pinterest:hover {
    background-color:#0c1a1e;
}

.social .fa-linkedin-in:hover {
    color:#fff;
}

.social .fa-flickr:hover {
    background-color:#FF57AE;
}

.social .fa-instagram {
    background-color:#c83b24;
}

.social .fa-instagram:hover {
    background-color:#982919;
}

.social .fa-vimeo-square:hover {
    background-color: #83DAEB;
}

.social .fa-stack-overflow:hover {
    background-color: #FEA501;
}

.social .fa-dropbox:hover {
    background-color: #017FE5;
}

.social .fa-tumblr:hover {
    background-color: #3a5876;
}

.social .fa-dribbble:hover {
    background-color: #F46899;
}

.social .fa-skype:hover {
    background-color: #00C6FF;
}

.social .fa-stack-exchange:hover {
    background-color: #4D86C9;
}

.social .fa-youtube-square:hover {
    color:#fff;
}

.social .fa-xing:hover {
    background-color: #005C5E;
}

.social .fa-rss:hover {
    background-color: #e88845;
}

.social .fa-foursquare:hover {
    background-color: #09B9E0;
}

.social .fa-youtube-play:hover {
    background-color: #DF192A;
}

/* Single Rollover Icon Links */

a.twitter, a.facebook, a.LinkedIn, a.home, a.phone, a.email {
  display: inline-block;
  float:left;
  height: 20px;
  text-indent: -10000px;
  margin-top:10px; 
  -webkit-transition:background-image 0.5s ease-in-out;
  -moz-transition:background-image 0.5s ease-in-out;
  -o-transition:background-image 0.5s ease-in-out;
  -ms-transition:background-image 0.5s ease-in-out;
  transition:background-image 0.5s ease-in-out;
  background-position: left center;
} 
a.twitter { width: 50px; background: transparent url('../images/twitter-back.png') no-repeat 0 0; } 
a.twitter:hover { background-position: 0 -20px; } 
a.facebook { width: 30px; background: transparent url('../images/facebook-back.png') no-repeat 0 0; } 
a.facebook:hover { background-position: 0 -20px; } 
a.LinkedIn { width: 40px; background: transparent url('../images/LinkedIn-back.png') no-repeat 0 0; } 
a.LinkedIn:hover { background-position: 0 -20px; } 
a.home { float:none !important; width: 40px !important; background: transparent url('../images/home-back.png') no-repeat 0 0 !important; padding:0 !important; } 
a.home:hover { background-position: 0 -20px !important; } 
a.phone { width: 23px; background: transparent url('../images/phone-back.png') no-repeat 0 0; } 
a.phone:hover { background-position: 0 -20px !important; } 
a.email { width: 50px; background: transparent url('../images/email-back.png') no-repeat 0 0; } 
a.email:hover { background-position: 0 -20px !important; } 

/* End of Single Rollover Icon Links */

/* VIDEO */

/*.video {
    position: relative;
    max-width: 640px;
    margin:0 auto;
}
.video video.mr,
.video canvas {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
 }
video.mr {
    height: 100% !important;
    position: absolute;
}
#player, #player2 {
    width:640px;
    height:360px;
}*/

.video {
    position: relative;
    margin:0 auto;
    padding:0;
}
.videoinner {
    border:1px solid #c0c0c0;
}
.video video,
.video canvas {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    display:block;
}
video {
    height: 100% !important;
    position: absolute;
}
.video #overlay, .video .overlay2, .video .overlay3 {
       position:absolute;
       top:0;
       right:0;
       bottom:0;
       left:0;
       background-color:rgba(32,106,143,0.25);
       z-index:12;
}

.video .overlay2 {
       background-color:rgba(28,47,90,0.45);
}

.video .overlay3 {
       background-color:rgba(14,45,61,0.4);
}

.video #cta, .video .cta {
    position:absolute;
    width:80%;
    top:35%;
    left:calc(5% + 15px);
    z-index:15;
    color:#fff;
    font-size:1.25em;
}

.video .flex-active-slide .flex-caption {
opacity:1;
transition:all 1s ease;
top:25%! important;
}

.video #cta .head, .video .cta .head {
    display:block;
    font-size:2em;
    line-height:0.9;
    margin-bottom:30px;
}

.video #cta .shead, .video .cta .shead {
    display:block;
    font-size:1em;
    line-height:normal;
    margin-top:15px;
}

.video #cta p, .video .cta p {
    margin-top:60px;
}

span.cta2 {
    display:inline-block;
    width:100%;
}

/* BOOTSTRAP ADDITIONAL COLUMN BREAK AT 480 pixels */

.col-xxs-1, .col-xxs-2, .col-xxs-3, .col-xxs-4 .col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8, .col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xxs-1, .col-xxs-2, .col-xxs-3, .col-xxs-4, .col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8, .col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12 {
  float: left;
}

@media (max-width: 480px) {

.col-xxs-12 {
  width: 100%;
}
.col-xxs-11 {
  width: 91.66666667%;
}
.col-xxs-10 {
  width: 83.33333333%;
}
.col-xxs-9 {
  width: 75%;
}
.col-xxs-8 {
  width: 66.66666667%;
}
.col-xxs-7 {
  width: 58.33333333%;
}
.col-xxs-6 {
  width: 50%;
}
.col-xxs-5 {
  width: 41.66666667%;
}
.col-xxs-4 {
  width: 33.33333333%;
}
.col-xxs-3 {
  width: 25%;
}
.col-xxs-2 {
  width: 16.66666667%;
}
.col-xxs-1 {
  width: 8.33333333%;
}
.col-xxs-pull-12 {
  right: 100%;
}
.col-xxs-pull-11 {
  right: 91.66666667%;
}
.col-xxs-pull-10 {
  right: 83.33333333%;
}
.col-xxs-pull-9 {
  right: 75%;
}
.col-xxs-pull-8 {
  right: 66.66666667%;
}
.col-xxs-pull-7 {
  right: 58.33333333%;
}
.col-xxs-pull-6 {
  right: 50%;
}
.col-xxs-pull-5 {
  right: 41.66666667%;
}
.col-xxs-pull-4 {
  right: 33.33333333%;
}
.col-xxs-pull-3 {
  right: 25%;
}
.col-xxs-pull-2 {
  right: 16.66666667%;
}
.col-xxs-pull-1 {
  right: 8.33333333%;
}
.col-xxs-pull-0 {
  right: auto;
}
.col-xxs-push-12 {
  left: 100%;
}
.col-xxs-push-11 {
  left: 91.66666667%;
}
.col-xxs-push-10 {
  left: 83.33333333%;
}
.col-xxs-push-9 {
  left: 75%;
}
.col-xxs-push-8 {
  left: 66.66666667%;
}
.col-xxs-push-7 {
  left: 58.33333333%;
}
.col-xxs-push-6 {
  left: 50%;
}
.col-xxs-push-5 {
  left: 41.66666667%;
}
.col-xxs-push-4 {
  left: 33.33333333%;
}
.col-xxs-push-3 {
  left: 25%;
}
.col-xxs-push-2 {
  left: 16.66666667%;
}
.col-xxs-push-1 {
  left: 8.33333333%;
}
.col-xxs-push-0 {
  left: auto;
}
.col-xxs-offset-12 {
  margin-left: 100%;
}
.col-xxs-offset-11 {
  margin-left: 91.66666667%;
}
.col-xxs-offset-10 {
  margin-left: 83.33333333%;
}
.col-xxs-offset-9 {
  margin-left: 75%;
}
.col-xxs-offset-8 {
  margin-left: 66.66666667%;
}
.col-xxs-offset-7 {
  margin-left: 58.33333333%;
}
.col-xxs-offset-6 {
  margin-left: 50%;
}
.col-xxs-offset-5 {
  margin-left: 41.66666667%;
}
.col-xxs-offset-4 {
  margin-left: 33.33333333%;
}
.col-xxs-offset-3 {
  margin-left: 25%;
}
.col-xxs-offset-2 {
  margin-left: 16.66666667%;
}
.col-xxs-offset-1 {
  margin-left: 8.33333333%;
}
.col-xxs-offset-0 {
  margin-left: 0;
}

}

/* BOOTSTRAP OVERRIDES */

.row { 
    margin-right: 0;
    margin-left: 0;
}

.y-navbar {
    text-align:center;
    padding:0 15px;
    font-size:75%;
}

.navbar-right {
    margin-right: 0;
}

.navbar-nav, .navbar-brand {
    font-size: 0.875em;
}

/* WORDPRESS OVER-RIDES */

/* Ninja Forms */

#nf-form-4-cont {
    width: 60%;
    margin: 0 auto;
}

.nf-form-fields-required {
display:none !important;
}

.nf-error-msg, .ninja-forms-req-symbol {
    color: #fff !important;
    clear: both;
    text-align: center;
    /*font-size: 75%;*/
}

.field-wrap input[type=button], .field-wrap input[type=submit] {
    width: 100% !important;
    background: #1c8490 !important;
    border: 4px solid #fff !important;
    cursor: pointer !important;
}

.modal-body .field-wrap input[type=button], .modal-body .field-wrap input[type=submit],
#popcon .field-wrap input[type=button], #popcon .field-wrap input[type=submit] {
    background: none !important;
    color: white !important;
}

.nf-response-msg p {
    text-align: center;
}

#ninja_forms_required_items, .nf-field-container {
    margin-bottom: 16px !important;
}

@media (max-width: 768px) {

#y-content4 .nf-form-cont .csninja {
    width: 46.15% !important;
    margin-left: 7.65% !important;
}

#y-content4 .nf-form-cont .first, #y-content4 .nf-form-cont .csninja3 {
    width: 46.15% !important;
    margin-left: 0 !important;
}


}


/* ADDED FEATURES */

/* Thumbnail grid for galleries */
.wrap {
   overflow: hidden;
   margin: 10px;
}
.box {
   float: left;
   position: relative;
   width: 25%;
   padding-bottom: 20%;
}
.boxInner {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner img {
   max-width: 100%;
}
.boxInner .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
   margin-bottom: 0;
}

    .darken {
      background-image:url('../images/black.png');
      -webkit-transition: all 0.25s ease;
      -moz-transition: all 0.5s ease;
      -o-transition: all 0.25s ease;
      transition: all 0.25s ease;
      }
      
    .darken img {
      display:block;
      opacity:1.0;
      filter:alpha(opacity=100); /* For IE8 and earlier */
      }
      
    .darken img:hover {
      opacity:0.5;
      filter:alpha(opacity=50); /* For IE8 and earlier */
      }

    .darken:hover, .darken2:hover {
      -webkit-transition: all 0.25s ease;
      -moz-transition: all 0.25s ease;
      -o-transition: all 0.25s ease;
      transition: all 0.25s ease;
      -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
      o-transform: scale(1.05);
      transform: scale(1.05);
      box-shadow: inset 0 0 0 20px #c2b59b;
      }


/* Image Hover Effects */

.view {
   width: 100%;
   /*margin: 10px;*/
   float: left;
   /*border: 10px solid #fff;*/
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   /*background: #fff url(../images/bgimg.jpg) no-repeat center center;*/
}
.view .mask,.view .content {
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
}
.view img {
   display: block;
   position: relative;
}
.view h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.8);
   margin: 20px 0 0 0;
}
.view p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center;
}
.view a.info {
   display: inline-block;
   text-decoration: none;
   padding: 7px 14px;
   background: #000;
   color: #fff;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}

.view-tenth img {
   -webkit-transform: scaleY(1);
   -moz-transform: scaleY(1);
   -o-transform: scaleY(1);
   -ms-transform: scaleY(1);
   transform: scaleY(1);
   -webkit-transition: all 0.7s ease-in-out;
   -moz-transition: all 0.7s ease-in-out;
   -o-transition: all 0.7s ease-in-out;
   -ms-transition: all 0.7s ease-in-out;
   transition: all 0.7s ease-in-out;
}
.view-tenth .mask {
   background-color: rgba(224, 136, 135, 0.3);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.view-tenth h2 {
   border-bottom: 1px solid rgba(0, 0, 0, 0.3);
   background: transparent;
   margin: 20px 40px 0px 40px;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   color: #333;
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.view-tenth p {
   color: #333;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
}
.view-tenth a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
}
.view-tenth:hover img {
   -webkit-transform: scale(10);
   -moz-transform: scale(10);
   -o-transform: scale(10);
   -ms-transform: scale(10);
   transform: scale(10);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.view-tenth:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.view-tenth:hover h2,.view-tenth:hover p,.view-tenth:hover a.info {
   -webkit-transform: scale(1);
   -moz-transform: scale(1);
   -o-transform: scale(1);
   -ms-transform: scale(1);
   transform: scale(1);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}

/* Image Hover Text */
.col-big{
    position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	width:20%;
}

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  margin:10px 0;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: rgba(75,75,75,0.4);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(229, 135, 144, 0.4);
}

.hovereffect img {
  display: block;
  position: relative;
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  font-weight: bold;
  padding: 10px;
  background: rgba(0, 0, 0, 0);
  -webkit-transform: translateY(45px);
  -moz-transform: translateY(45px);
  -o-transform: translateY(45px);
  -ms-transform: translateY(45px);
  transform: translateY(45px);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover h2 {
  background: rgba(0, 0, 0, 0.6);
  -webkit-transform: translateY(5px);
  -moz-transform: translateY(5px);
  -o-transform: translateY(5px);
  -ms-transform: translateY(5px);
  transform: translateY(5px);
  margin:0px;
}

.hovereffect p.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  margin: 7px;
}

.hovereffect:hover p.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect p.info:hover {
  box-shadow: 0 0 5px #fff;
}

/* Scroll Hint Arrow */

.fix {
  /*position:fixed;*/
  position:absolute;
  bottom:10px;
  margin-left:-20px;
  left:50%;
  z-index:9998;
}

.arrow-wrap {
  background:#d88a28;
  width:10em;
  height:10em;
  padding:4em 2em;
  border: 1px solid #fff;
  border-radius:50%;
  font-size:0.25em;
  display:block;
}

.arrow {
  float:left;
  position:relative;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 3em 3em 0 3em;
  border-color: #ffffff transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}

.arrow:after {
  content:'';
  position:absolute;
  top:-3.2em;
  left:-3em;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 3em 3em 0 3em;
  border-color: #fff transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}
    
  @-webkit-keyframes arrows {
    0% { top:0; }
    10% { top:12%; }
    20% { top:0; }
    30% { top:12%; }
    40% { top:-12%; }
    50% { top:12%; }
    60% { top:0; }
    70% { top:12%; }
    80% { top:-12%; }
    90% { top:12%; }
    100% { top:0; }
  }
  
  .arrow-wrap .arrow {
    -webkit-animation: arrows 2.8s 0.4s;
    -webkit-animation-delay: 3s;
  }
  
/* Content Area Arrow */

.larrow {
  position: absolute;
  top: -51px;
  margin-left:-150px;
  left:50%;
  z-index:9999;
}

    				
/* MOBILE RESPONSIVE */

#y-head, .showdesk { 
    display: none;
}

@media (min-width: 480px) {

.cphead {
    padding: 30px 15px 0 15px;
}

.w80 {
	width:80%;
    margin:0 auto;
}

.w90 {
	width:90%;
    margin:0 auto;
}

.yflexRowS {
	display:flex;
}

.sbmt {
    margin-top:0;
}

.twocol, .twocolL, .twocolR {
	width:50%;
}

.twocolL {
	width:40%;
}

.twocolR {
	width:40%;
    padding-left:20%;
}

input.form {
    width: 25%;
}

#y-content, #y-content3, footer {
    /*font-size: 125%;*/
}

#y-content2, #y-content4 {
    /*font-size: 150%;*/
}

.yflex div.four, .yflex2 div.four {
	flex-basis:calc(50% - 10px);
}

.newsimage	{
    width:25%;
        }

.newstext	{
    width:70%;
    padding-left:5%;
}

#y-content h1 {
   font-size: 2.5em;
}

#y-content h2 {
   font-size: 2em;
}

#y-content #anews h2 {
   font-size: 1.5em;
}

#y-content h3 {
   font-size: 1.5em;
}

#y-content #anews h3 {
   font-size: 1.25em;
}

footer, #footerbar { 
    font-size:100%;
}

#cbtxtM {
   margin-top: 0;
}

.show480 {
   display: block;
}

.hide480 {
   display: none;
}

img.padd2 {
    margin-bottom:0;
}

}

@media (min-width: 768px) {

.csdesk {
	display: block;
}

.csmob {
	display: none;
}

.yflexRow {
	display:flex;
}

.flexor {
    display:flex;
}

.sbmt2 {
    margin-top:0;
}

.padding1A {
    padding: 5em 0;
}

.paddingC {
    padding:5em 0 0 0;
}

.paddingC1 {
    padding:3em 0;
}

.marginC {
    margin-top:5em !important;
}

#enqcon2 {
    width:60px;
    top:20%;
    bottom:inherit;
    left:inherit ;
    margin-left:inherit;
}

span.enqin2 {
    display:block;
}

#enqcon2 img {
    display:block;
}

#eclose {
    position:relative;
    right:inherit;
    top:inherit;
    padding-top:inherit;
}

table {
    font-size: 100%;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    padding: 20px;
}

img.padd {
    padding-bottom:0;
}

.inner {
	padding-left:8%;
}

.footright { 
    text-align:right;
    padding-top:0;
}

footer .head {
    font-size:200%;
}

}

@media (min-width: 800px) {

header { 
    z-index:inherit;
    margin: 0 auto;
}

#y-mobhead { 
    display: none;
}

#y-head { 
    display: block;
}

#y-mslides { 
    display: none;
}

.showdesk, #y-menubar { 
    display: block;
}

.showmob, #y-mtopbar { 
    display: none;
}

.fRow {
    flex-wrap:nowrap;
}

.fRow div {
    flex-basis:calc(100%);
}

}

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

header.smaller #y-logobar {
    top: 40px;
}

.navbar-nav > li > a, .navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar {
    min-height: 30px;
}

.navbar-brand {
    height: 30px;
    padding: 5px 5px;
}

.hovereffect, .btn-brd {
  font-size: 0.75em !important;
}

}

@media (min-width: 960px) {

#y-logobar {
    top: 15px;
}

#y-logobar img {
    max-width: 100%;
}

.paddtop {
    padding-top: 1em;
}

}

@media (min-width: 992px) {

.video #cta .head, .video .cta .head {
    font-size:2.5em;
}

.video #cta .shead, .video .cta .shead {
    font-size:1.5em;
}

.blockquote2, .blockquote3 {
    border-right:10px solid #292b68;
    border-left:10px solid #c32033;
}

.y-containerT {    
    width:80%;
    font-size:100%;
}

.lcon {
	padding-right:10%;
}

#menupanel, #menupanel2 {
    font-size:75%;
}

#emBox {
    width:20%;
}

.yflex div.two, .yflex2 div.two {
	flex-basis:calc(50% - 10px);
}

.yflex div.four, .yflex2 div.four,
.yflex div.fourB, .yflex2 div.fourB {
	flex-basis:calc(25% - 10px);
}

.tm992 {
    margin-top:0;
}

.footright .social { 
    text-align: right;
}

.footleft { 
    text-align: left;
}

.y-tag .head {
    font-size:1.5em;
}

.y-tag .sub-head {
    font-size:1em;
}

span.spacer {
    display:inline-block;
    width:30px;
}

.Flexible-containerL {
    padding-bottom: 31.25%;
}

}

@media (min-width: 1200px) {

.video #cta .head, .video .cta .head {
    font-size:3em;
}

.video #cta .shead, .video .cta .shead {
    font-size:1.5em;
}

#y-content4 {
    font-size: 100%;
}

.conbox1, .conbox2, .conbox3 {
    color: #494173;
    border: 2px solid #494173;
    clear: both;
}

.cbinner {
	padding: 50px;
}

#ycb1 h2, #ycb2 h2, #ycb3 h2 {
    color: #494173;
}

#cbtxt1, #cbtxt2, #cbtxt3 {
    /*color: #494173;*/
    display: none;
    margin: 20px;
}

#cbtxtW1, #cbtxtW2, #cbtxtW3 {
    /*display: block;
    color: #fff;*/
}

#fader1 img:last-child, #fader2 img:last-child, #fader3 img:last-child {
    display: none;
}

}

@media (min-width: 1280px) {

header.smaller #y-logobar {
    top: 15px;
}

#menupanel, #menupanel2 {
    font-size:85%;
}

.y-navbar {
    font-size:100%;
}

.y-navbar ul li {
    margin-right:20px;
}

.y-tag .head {
    font-size:2em;
    margin-bottom:30px;
}

.y-tag .sub-head {
    font-size:1.25em;
}

span.cta2 {
    width:60%;
}

.yellbox {
    font-size:1em;
}

#y-quotes {
    font-size: 2em;
}

}

@media (min-width: 1620px) {

.navbar-nav, .navbar-brand {
    font-size: 1em;
}

.video #cta .head, .video .cta .head {
    font-size:3.5em;
}

.video #cta .shead, .video .cta .shead {
    font-size:1.5m;
}

.y-tag .head {
    font-size:3em;
}

.y-tag .sub-head {
    font-size:1.5em;
}

#emBox {
    width:15%;
    font-size:100%;
}

#infobar span  {
    font-size:200%;
}

}

/* Media Queries for responsive thumbnails grid for galleries */

@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box {
      width: 100%;
      padding-bottom: 100%;
   }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 50%;
      padding-bottom: 50%;
   }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 33.3%;
      padding-bottom: 33.3%;
   }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 25%;
      padding-bottom: 25%;
   }
}







