html, body {
  font-size: 16px;
  color: #3c3b3c;
  background-color:#f5f0e1;
  font-family:'Merriweather','Inter', Helvetica, Arial, sans-serif;
}

/* 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/footerLogo.png') 50% 50% no-repeat rgb(0,0,0);
}

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

.insta {
  background-color:#fff;
  margin-bottom:20px;
}

.csdesk {
	display: none;
}

.show480 {
   display: none;
}

.hide480 {
   sisplay: block;
}

.butcon {
    margin: 2em 0;
}

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

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

.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-left:0;
    padding-top:20px;
}

.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: 2px dotted #e35826;
    padding: 15px;
    text-align: center;
    margin: 60px auto;
    background-color:#f5f5f5;
    font-size:75%;
}

#popcon {
    position:absolute;
    top:40px;
    left:40px;
    z-index:9999;
    color:#fff;
    font-size:3em;
}

#popcon span {
  position: relative;
  display: inline-block;
}

#popcon span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: #e35826;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.4s ease 2s forwards;
}

@keyframes underlineIn {
  to {
    transform: scaleX(1);
  }
}

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

.iframe-container {
    width: 100%;
    height: 1300px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: scroll;
}

/* Flexible iFrame */

.Flexible-container, .Flexible-containerL {
    position: relative;
    padding-bottom: 100%;/* 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;
}

h4 {
   text-decoration:underline;
}

h3.notmar {
   margin-top: 0;
}

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

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

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

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

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

#y-content4 h2 {
   font-size:1.5em;
   margin-top:0;
}

footer h3 {
   color:#ef4036;
   margin-bottom:0;
}

#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-content3 h3 {
   font-size: 1.5em;
   font-weight: bold;
   margin-bottom: 1em;
}

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

.y-tag .head {
    font-family: 'Cinzel', serif;
    font-size: 2em;
    font-weight: bold;
    display: block;
    color: #fff;
}

#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: 1em;
    font-weight: bold;
    display:block;
    margin-bottom: 1em;
    color: #fff;
}

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

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

header a:hover, header a:active { 
color : #00628c;
text-decoration: none;
}

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

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

#y-content4 a:link, #y-content4 a:visited { 
color: #372d67; 
font-weight: bold; }

#y-content4 a:focus { 
outline: thin dotted; 
color: #372d67; }

footer a:hover, footer a:active,
#footerbar a:hover, #footerbar a:active, 
#y-content4 a:hover, #y-content4 a:active,
#y-content3 a:hover, #y-content3 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;
}

#y-content4 a:hover, #y-content4 a:active { 
color: #372d67;
}

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

a.point {
    cursor:pointer;
}

/* FORMS */

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

textarea {
    height:150px;
}

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

/* LISTS */

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

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

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

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

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

/* TABLES */

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

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

td {
    padding:8px;
}

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

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

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

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

.table-bordered {
    border: none;
}

thead {
    background-color: #5a4d99;
}

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


table.form {
    border-collapse: collapse;
}

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

/* Responsive Table */

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

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

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

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

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

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

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

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

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

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

/* TYPOGRAPHY */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf');
    font-weight: normal;
    font-style: normal;
}    

.mh600 {
    min-height:600px;
}

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

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

.padding1 {
    padding: 5% 0;
}

.padding1Y {
    padding: 0 0 5% 0;
}

#y-content .y-container.padding1 {
    padding: 3% 0;
}

.padding1A {
    padding: 1.5em 0;
}

.padding1B {
    padding:0;
}

.padding1C {
    padding:3em 0;
}

.padding1D {
    padding:5em 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;
}

.sidemar {
    margin-top: 3em;
}

.csmar {
    margin-right: 20px;
}

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

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

.orange {
	color:#e35826;
}

.blue {
	color:#00649c;
}

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

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

.strong {
	font-weight: bold;
}

span.italic {
    font-style: italic;
}

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

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

p {
    margin: 0 0 20px;
}

p.first {
   font-size: 125%;
   font-weight: bold;
}

#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:100%;
    padding:5px;
    color:#fff;
    background: #e35826;
    text-align:center;
    cursor:pointer;
}

main {
	border-top: 1px solid #372d67;
}

#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-containerL, .y-containerXL  {
    width: 100%;
    margin: 0 auto;
}

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

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

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

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

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

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


header {
    position: relative;
    width: 100%;
    max-width: 1920px;
    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: #e35826;
    border-top: 2px solid #fff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.8);
}

/* Scrolling fixed header */

header.smaller {
    position: fixed;
    top: 0;
    left: 0;
    -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.logo, header img.book {
    height:77px;
    -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: 50px;
    -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.book {
    height:80px;
}

header #mbook1 {
    width:100%;
    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-adverts, #y-quotes, #y-content, #y-content2, #y-content3, 
#y-content3A, #y-content4, #y-locate, #y-gallery, #y-socialbar, #y-edit {
	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;
}

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

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

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

#y-strap {
    background-color: #e71220; 
    color: #ffffff;
    font-size: 2em;
    text-align: center;    
    padding:20px 0;
}

#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-edit {
    background-color: #fff;
    font-size: 100%;
    clear: both;
}

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

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

#y-content3 {
    position: relative;
    background-color: #105560;
    font-size: 100%;
    clear: both;
}

#y-content4 {
    background-color:#e35826;
    color:#fff;
    font-size:95%;
}

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

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

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


#y-slides, #y-mslides {
	position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    z-index: 2001;
    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;
    text-align:center;
}

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

#footerbar { 
    background:#000; /* For browsers that do not support gradients */
    font-size:75%;
    padding-bottom:50px;
}

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


/* Positioning */

.y-center {
    margin: 0 auto;
}

/* IMAGES */

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

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

.advert img {
  margin-bottom:10px;
  border: 1px solid #c0c0c0;
}

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

img.logo {
    margin-top:40px;
    margin-bottom:40px;
}

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

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

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

img.inline {
    display:inline-block;
}

table img, #y-adverts 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 {
    margin: 0 auto;
}

#footerbar img {
    width:100px;
}

img.mcenter {
    margin: 15px auto;
}

#bosof img {
    width:60%;
    margin: 10px 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-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-brdm  {
  border: 1px solid #fff;
  color: #fff;
  background: #e35826;   
  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-brdm  {
  font-size: 0.75em;
  padding:5px;
}

.btn-brd:hover, .btn-brdm:hover {
    background: #000;
    color: #fff !important;
}

.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 {
    margin:25px 0 0 0;
    padding:0;
    text-align:left;
}

.social2 {
    text-align:right;
}

.social3 {
    margin:0;
    text-align:center;
}

.ib {
    display:inline-block;
}

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

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

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

.social3 ul {
    padding: 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: 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;
}

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

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

.social.ib .fa-facebook-f {
    color:#fff;
}

.social.ib .fa-facebook-f:hover {
    color:#000;
}

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

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

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

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

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

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

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

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

.social .fa-instagram {
    color:#fff;
}

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

.social.ib .fa-instagram {
    color:#fff;
}

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

.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:hover {
    background-color: #FF1F25;
}

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

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

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

.social.ib .fa-envelope:hover, .social.ib .fa-phone:hover, .social.ib .fa-home:hover {
    color: #000;
}

.social3 .fa-envelope, .social3 .fa-phone, .social3 .fa-home {
    color: #fff;
}

.social3 .fa-envelope:hover, .social3 .fa-phone:hover, .social3 .fa-home:hover {
    color: #000;
}

/* 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;
    max-width: 640px;
    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;
}


/* 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;
    position:absolute;
    bottom:0;
    right:0;
    left:0;
    width:60%;
    margin:0 auto;
}

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

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

.newsimage	{
    width:25%;
        }

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

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

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

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


#y-content2 h2 {
   font-size: 2.5em;
   margin-bottom: 40px;
}

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

.ycon3box {
	width:50%;
}

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 .head {
    font-size:150%;
}

}

@media (min-width: 800px) {

#y-mobhead { 
    display: none;
}

#y-head { 
    display: block;
}

#y-mslides { 
    display: none;
}

.showdesk { 
    display: block;
}

}

@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) {

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

.footleft { 
    text-align: left;
}

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

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

}

@media (min-width: 1200px) {

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

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

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

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

}

@media (min-width: 1520px) {

.y-navbar {
    position:absolute;
    bottom:0;
    right:0;
    left:0;
    width:60%;
    margin:0 auto;
}

}

@media (min-width: 1620px) {

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

}

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







