html, body {
  font-size: 16px;
  color: #3c3b3c;
  background-color:#fff;
  font-family: "aniversRegular", Helvetica, Arial, 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;
}

/* Archive Page Layout */

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

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

.bg2 {
    background-color:#55b3fb;
}

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

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

.nb2 {
    background-color:#55b3fb;
}

.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:#737a59;
}

.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:#55b3fb;
}

.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%;
}

.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:#55b3fb;
     }

    #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;
}

/* Flex container */

.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  {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:9999;
}

.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:#737a59;
    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:#55b3fb;
    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: 31.25%;/* 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:#737a59;
}

h4 {
   text-decoration:underline;
}

h3.notmar {
   margin-top: 0;
}
    
#y-content h1 {
   border-bottom:1px solid #a9af57;
   padding-bottom:20px;
}

#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 #anews h2 {
   margin-top:8px;
}

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

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

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

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

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;
}

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:#737a59;
}

#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:#55b3fb;
}

.nbox h3 {
   color:#55b3fb;
}

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:#55b3fb;
}

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

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

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

.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:#aeb45e;
}

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

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

#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 #55b3fb;
    -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:#737a59;
    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:#737a59;
}

#y-menubar .y-navbar .vmenu a:hover,
#mnav #mobmenupanel .vmenu a:hover {
  background-color:#55b3fb;
  color:#fff;
  border-left:12px solid #737a59;
}

#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:#737a59;
  color:#fff;
  border-left:12px solid #55b3fb;
}

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


/* FORMS */

input, select, textarea {
    width: 100%;
    color:#7e7e7e;
}

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;
}

/* 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:#737a59;
}


/* TABLES */

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

th {
    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;
}

.nowrap {
    white-space:nowrap;    
}

.htext {
  color:#737a59;
  background-color:#eee;
  border-top:4px solid #55b3fb;
  border-bottom:4px solid #55b3fb;
}

.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;
}

.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%;
}

.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;
}

.martopL {
    margin-top:5em;
}

.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;
}

.fnote {
    font-weight:bold;
    font-size:1.25em;
}

.yellbox {
	display:inline-block;
    padding:8px;
    background-color:#e8a927;
    color:#13133b;
    font-size:0.75em;
    font-weight:bold;
}

.yellow {
	color:#e8a927;
}

.blue {
	color:#115560;
}

.lblue {
	color:#55b3fb;
}

.dblue {
	color:#737a59;
}

.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:2px;
border-style:solid;
color:#8aaa76; 
}

hr.nbm {
margin-bottom:0; 
}

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;
}

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

div.foot {
   border-top:1px solid #55b3fb;
   padding-top:15px;         
}

p.foot, div.foot {
   font-size:75%;
   font-style:italic;
}

div.foot p {
   margin-bottom:10px;
}

article > p:first-of-type {
    font-size:150%;
    font-weight:500;
    color:#55b3fb;
    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:#a9af57;
    text-align:center;
    cursor:pointer;
}

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

#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  {
    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-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:#4c4d4f;
}

/* 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:120px;
    -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.book {
    height:100px;
    float:right;
}

header.smaller #y-topbar img.logo, header.smaller img.book {
    height: 80px;
    -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-menubar, #y-strap, #y-select, #y-select2, #y-select3, #y-quotes, #y-content, #y-content2, #y-content3, 
#y-content3A, #y-content4, #y-locate, #y-news, #y-socialbar, #y-edit, #y-carousel {
	width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

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

#y-topbar {
    position: relative;
    z-index: 10;
    text-align: right;
    color: #fff;
    border-top:4px solid #a9af57;
}

#y-menubar {
    position:relative;
    display:none;
    clear: both;
    z-index: 999;
    background-color:#737a59;
}

#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:#55b3fb; 
}

.ys2 {
    background-color:#666; 
}

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

.ys4 {
    background-color:#707486; 
}

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

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

#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:#c0c0c0;
    background-color:#fff;
}

#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:175%;
    z-index:12;
}

/* Footer */
footer, #footerbar { 
	width:100%;
    max-width:1920px;
    margin:0 auto;
    background-color:#737a59;
    color:#fafafa;
    text-align:center;
    font-size:80%;
	position:relative;
    z-index:12;
}

#footerbar { 
    background-color:#4c4d4f;
    padding-bottom:50px;
}

.footleft, .footcen { 
    text-align: center;
}

.footright { 
    text-align:center;
    padding-top:30px;
}

/* 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;
}

#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;
}


/* 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:#55b3fb; /* 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 #a9af57;
  background-color:transparent;
  color:#a9af57;
  font-size:1em;
  margin:10px;
}

.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:#a9af57;
    color:#fff !important;
}

.btn-brd3:hover, .btn-brdm:hover {
    background-color:#737a59;
    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 {
    width: 40px;
    height: 40px;
    color: #a9af57;
    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 {
    text-align:left;
}

.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 {
    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;
}

.social .fa-facebook-f {
}

.social .fa-facebook-f:hover {
    color:#13133b;
}

.social .fa-twitter {
}

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

.social .fa-phone:hover, .social .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:#13133b;
}

.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:#13133b;
}

.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 {
       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 #cta, .video .cta {
    position:absolute;
    width:80%;
    top:25%;
    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:15%! important;
}

.video #cta .head, .video .cta .head {
    display:block;
    font-size:2em;
    line-height:1.2;
}

.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;
}


/* 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%;
}

footer {
    text-align:left;
}

.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;
    min-height:30px;
}

.showmob { 
    display: none;
}

}

@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;
}

#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;
}

}

@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;
}

.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%;
}

}

/* 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%;
   }
}







