html, body {
  font-size: 16px;
  color: #666;
  font-family: 'open_sansregular', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* GENERAL */

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

.csdesk, .csdesk2 {
	display: none;
}

.buttons {
}

.service {
	font-size: 0.875em;
	color: #c0c0c0;
}

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

.cbox {
    color:#1b1464;
    background-color:#f2f2f2;
    border:1px solid #e5e5e5;
    text-align:center;
    font-weight:bold;
    font-size:0.875em;
    margin:15px 0;
}

.cbox .head {
    color:#fff;
    background-color:#1b1464;
    padding:15px;
}

.cbox .inner {
    padding:15px;
}

.cbox p.tm {
    padding-top:15px;
}


/* Flexible iFrame */

.Flexible-container, .Flexible-container2 {
    position: relative;
    padding-bottom: 53%;/* 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: hidden;
    /*margin:1em 0 1em 0;*/
}

.Flexible-container2 {
    padding-bottom: 100%;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed,
.Flexible-container2 iframe,   
.Flexible-container2 object,  
.Flexible-container2 embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HEADINGS */

h1 {
   font-size:2.5em;
   margin:0 0 20px 0;
}

h2.nomar {
   margin-top: 0;
}

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

#y-carousel h2 {
   font-size:1.5em;
   margin-top:0;
   padding-top:1em;
   color:#fff;
   text-align:center;
}

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

h3 {
   font-style: italic;
}

.y-tag .head {
    font-size:0.875em;
    font-weight:bold;
    display:block;
    color:#fff;
}

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

.y-mtagline .head, .y-mtagline .sub-head {
    font-size: 1.25em;
    display:block;
}

.y-mtagline .sub-head {
    font-size: 0.75em;
    margin-bottom:1em;
}

footer .head {
    font-size: 1.5em;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}


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

header a:link, header a:visited,
footer a:link, footer a:visited { 
color:#29abe2;
-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;
}

header a:hover, header a:active,
footer a:hover, footer a:active { 
color:#29abe2;
text-decoration: underline;
-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;
}

footer a.lblue:hover { 
color:#008ac8;
}

header a:focus, footer a:focus { 
outline:thin dotted; 
}

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

/* FORMS */

input, select, textarea {
    /*width: 200px;*/
}

/* LISTS */

footer ul {
	list-style: none;
    padding-left: 0;
}

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

/* TABLES */

table {
    width: 100%;
}

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: 'open_sansbold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight';
    src: url('../fonts/OpenSans-Light-webfont.eot');
    src: url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.dline {
    line-height:2;
}

.dash {
    font-size: 75%;
    font-family: arial;
}

.bg-white {
  background: #fff;
}

.bg-black {
  background: #353535;
}

.colpad1 {
    padding: 8%;
}

.colpad1A {
    padding: 6%;
}

.colpad2 {
    padding: 20px 4%;
}

.colpad2A {
    padding: 50px 4%;
}

.colpad3 {
    padding: 40px 0;
}

.padding1 {
    padding: 30px 3%;
}

.padding2 {
    padding: 1em 0;
}

.padding2A {
    padding: 5em 6%;
}

.padding2B {
    padding: 15px 20px;
}

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

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

.padding3B {
    padding: 3em 0;
}

.paddtop {
    padding-top: 0;
}

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

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

.paddbot {
    padding-bottom: 3em;
}

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

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

.martop {
    margin-top: 1.75em;
}

.sidemar {
    margin-top: 3em;
}

.csmar {
    margin-right: 0;
}

.blue {
	color:#008ac8;
}

.orange {
	color:#f7931e;
}

.strong {
	font-weight: bold;
}

.footcont, .footmar {
    padding-top:20px;
}

hr {
display: block; 
margin : 2em 0; 
border : 1px;
border-style: dashed;
color: #353535; 
}

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

#y-content2 p, #y-content3 p, .fcont p {
    font-size:125%;
    margin-bottom:30px;
    padding:0 30px;
}

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

p.first {
   font-weight:bold;
}

p.margin {
   margin:50px 0 0 0;
}

p.mbot, #y-content3 p.mbot {
   margin-bottom:60px;
}

p.tmar {
   margin-top:15px;
}

/* MAIN LAYOUT */

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

.y-containerC {
    max-width:80%;
    margin: 0 auto;
}

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

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

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

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

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

.y-containerBT {
    width:80%;
    max-width:1536px;
    margin:0 auto;
    background-color:rgba(0,0,0,0.7);
}

.y-containerT {
    width:80%;
    max-width:1536px;
    margin:0 auto;
}

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

.y-mtagline  {
    background-color: #353535;
    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:2002;
    -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:#fff;
}

/* Scrolling fixed header */

header.smaller {
    position: fixed;
    top: 0;
    left: 0;
    height:100px;
    background-color: rgba(0, 103, 56, 0.75);
    -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;
}

header img {
    -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-topbar img.logo {
    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.smaller img#logo {
    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-head {
    position:relative;
}

#emhead {
    position:absolute;
    top:0;
    right:0;
    z-index:20;
}

#y-topband, #y-topbar, #y-mtopbar, #y-menubar, #y-strap, #y-adverts, #y-quotes, #y-content, #y-content2, #y-content3, #y-locate, #y-gallery, #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;
    font-size: 75%;
}

#y-mtopbar {
    background-color:#1b1464;
}

#y-menubar {
    clear: both;
    z-index: 5;
    background-color:#333333;
}

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

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

#y-strap {
    background-color:#008ac8; 
    color:#fff;
    font-size:1.25em;
    text-align:center;    
}

#y-quotes, #y-adverts {
    color: #000;
    font-size: 1em;
    font-style:italic;
    text-align: center;    
    padding:20px 0;
    background: #fdb813; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#fbaa19, #ffc50c); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fbaa19, #ffc50c); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fbaa19, #ffc50c); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fbaa19, #ffc50c); /* Standard syntax */
}

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

#y-content {
    font-size:125%;
}

#y-content2 {
    background-image:url('../images/background.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    color:#fff;
    text-align:center;
    padding:5% 0;
}

#y-content3 {
    background-color:#a7a9ac;
    color:#fff;
    text-align:center;
}

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

#y-gallery {
    background-color: #fff;
    overflow:hidden; 
}

#y-carousel {
    background-color:#008ac8;
}

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

#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;
    text-align: left;
    padding:10px 40px;
}

/* Footer */

footer, #footerbar { 
	width:100%;
    max-width:1920px;
    margin:0 auto;
    background-color:#1b1464; /* For browsers that do not support gradients */
    color:#fff;
    text-align:center;
}

footer{ 
    font-weight:bold;
    font-size:150%;
}

#footerbar { 
    background-color:#008ac8; /* For browsers that do not support gradients */
}

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

.advert img {
  margin-bottom:10px;
}

#y-topbar img {
    -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;
}

#mlogo img, img.cen, footer img {
    margin:0 auto;
}

img.quote {
    max-width:50%;
}

img.logo {
    margin: 0 auto;
}

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

table img, #y-adverts img {
    display: inline-block;
    margin-right: 2em;
}


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

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

.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  {
  border:1px solid #fff;
  border-radius: 50px;
  color:#fff;
  font-size:1em;
  font-weight:bold;
  background:transparent;
  -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-brd:hover {
    background-color:#008ac8;
    color:#fff !important;
}

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

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

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

/* SOCIAL ICONS */

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

.social {
    margin:0;
    padding:0;
    text-align:left;
}

.msoc {
    float: right;
}

.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 {
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 22px;
    text-align:center;
    padding-top: 12px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    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 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:hover {
    color:#a7a9ac;
}

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

.social .fa-google-plus:hover {
    background: #e64522;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 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;
    border:4px solid #fff;
}
.video #overlay {
       position:absolute;
       top:0;
       right:0;
       bottom:0;
       left:0;
       /*background-color:rgba(0,146,197,0.3);;*/
       z-index:10;
}

.video #cta {
    position: absolute;
    width: 30%;
    top: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    z-index:15;
    color:#fff;
    font-size:1.25em;
}

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

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

.rowCS { 
    margin-right:-2px;
    margin-left:-2px;
    margin-bottom:0;
    overflow:hidden;
}

.col-xs-6CS {
    position:relative;
    width:50%;
    float:left;
    min-height:1px;
    padding-right:2px;
    padding-left:2px;
    padding-bottom:4px;
}


@media (max-width: 480px) {

.col-xxs-12CS {
  width: 100%;
}

}

@media (min-width: 768px) {

.col-xs-6CS {
    padding-bottom:0;
}

.col-md-3CS {
  width: 25%;
}

.rowCS { 
    margin-bottom:4px;
}

}

#y-mslides .btn { 
    padding: 0;
}

.y-navbar {
    margin-bottom:0;
    padding-bottom:0;
    text-align:center;
}

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

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


/* 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, .darken2 {
      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;
      border-radius:22px;
      }
      
    .darken img, .darken2 img {
      display:block;
      opacity:1.0;
      filter:alpha(opacity=100); /* For IE8 and earlier */
      }
      
    .darken img:hover, .darken2 img:hover {
      opacity:0.75;
      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;
      box-shadow: inset 0 0 0 20px #fff;
      }

    .darken2:hover {
      box-shadow: inset 0 0 0 20px #fff;
      }

/* 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:absolute;
  bottom:10px;
  margin-left:-20px;
  left:50%;
  z-index:9999;
}

.arrow-wrap {
  background:#00628c;
  width:10em;
  height:10em;
  padding:4em 2em;
  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;
  }
    				
/* MOBILE RESPONSIVE */

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

@media (min-width: 480px) {

input.form {
    width: 25%;
}

}


@media (min-width: 768px) {

header.smaller {
    height:120px;
}

#y-mobhead { 
    display: none;
}

#y-head { 
    display: block;
}

#y-mslides { 
    display: none;
}

.showdesk { 
    display: block;
}

.csdesk {
	display: block;
}

.csdesk2 {
	display: inline;
}

.csmob {
	display: none;
}

.csmar {
    margin-right: 3em;
}

img.quote {
    max-width:100%;
}

.padding2 {
    padding: calc(5em - 20px) 0 5em 0;
}

#footerbar .fbr { 
    text-align:right; 
}


}

@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 {
  font-size: 0.75em !important;
}

}

@media (min-width: 860px) {

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

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

)

@media (min-width: 960px) {

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

#y-logobar {
    top: 15px;
}

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

.paddtop {
    padding-top: 1em;
}

}

@media (min-width: 992px) {

.footcont {
	padding-left:50px;
    border-left:1px dotted #1b75bc;
    padding-top:0;
}

.footmar {
    padding-top:0;
}

}

@media (min-width: 1200px) {

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

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

}

@media (min-width: 1280px) {

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

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

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

}

@media (min-width: 1480px) {

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

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

}

@media (min-width: 1680px) {

.footcont {
	padding-left:100px;
}

}


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







