html, body {
  font-size: 16px;
  font-family: 'open_sansregular', "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color:#fff;
}

em {
  font-style: normal;
  font-weight: bold;
  color: #003300;
}

/* GENERAL */

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
    display: flex;
    align-items: center;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: url('/images/page-loader.gif') 50% 50% no-repeat rgb(64,64,65);
}

/* Tooltip */
.hint-tooltip {
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;  
  position: fixed;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
  width: auto;
  word-wrap: break-word;
  text-align: center;
  font-size:0.75em;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 9999;
}

.hint-tooltip.show {
  opacity: 1;
  visibility: visible;
}

.hint-tooltip button {
  background: none;
  color: #ffcc00;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  font-size: 13px;
}

#adcont {
    width:100%;
    text-align:center;
    margin-bottom:15px;
    background-color:#dbdbdb;
}

#accdet {
    display:inline-block;
    color:#666;
    padding:6px;
    font-weight:bold;
}

#accdet span {
    display:inline-block;
    color:#4f81bd;
    margin-right:15px;
}

#accdet span:last-of-type {
    margin-right:0;
}

.yclear {
	clear:both;
}

/* Loading Data... */
.cssload-loader, .cssload-excel {
    display:none;
	width: 344px;
	height: 69px;
	line-height: 69px;
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
	font-family: helvetica, arial, sans-serif;
	text-transform: uppercase;
	font-weight: 900;
	font-size:25px;
	color: rgb(64,64,65);
	letter-spacing: 0.2em;
    background-color:#8bc53f;
}
.cssload-excel {
	color: rgb(255,255,255);
    background-color:#6e9745;
}
.cssload-loader::before, .cssload-loader::after,
.cssload-excel::before, .cssload-excel::after {
	content: "";
	display: block;
	width: 21px;
	height: 21px;
	background: rgb(64,64,65);
	position: absolute;
	animation: cssload-load 0.81s infinite alternate ease-in-out;
		-o-animation: cssload-load 0.81s infinite alternate ease-in-out;
		-ms-animation: cssload-load 0.81s infinite alternate ease-in-out;
		-webkit-animation: cssload-load 0.81s infinite alternate ease-in-out;
		-moz-animation: cssload-load 0.81s infinite alternate ease-in-out;
}
.cssload-excel::before, .cssload-excel::after {
	background: rgb(163,198,133);
}
.cssload-loader::before, .cssload-excel::before {
	top: 0;
}
.cssload-loader::after, .cssload-excel::after {
	bottom: 0;
}

@keyframes cssload-load {
	0% {
		left: 0;
		height: 41px;
		width: 21px;
	}
	50% {
		height: 11px;
		width: 55px;
	}
	100% {
		left: 323px;
		height: 41px;
		width: 21px;
	}
}

@-o-keyframes cssload-load {
	0% {
		left: 0;
		height: 41px;
		width: 21px;
	}
	50% {
		height: 11px;
		width: 55px;
	}
	100% {
		left: 323px;
		height: 41px;
		width: 21px;
	}
}

@-ms-keyframes cssload-load {
	0% {
		left: 0;
		height: 41px;
		width: 21px;
	}
	50% {
		height: 11px;
		width: 55px;
	}
	100% {
		left: 323px;
		height: 41px;
		width: 21px;
	}
}

@-webkit-keyframes cssload-load {
	0% {
		left: 0;
		height: 41px;
		width: 21px;
	}
	50% {
		height: 11px;
		width: 55px;
	}
	100% {
		left: 323px;
		height: 41px;
		width: 21px;
	}
}

@-moz-keyframes cssload-load {
	0% {
		left: 0;
		height: 41px;
		width: 21px;
	}
	50% {
		height: 11px;
		width: 55px;
	}
	100% {
		left: 323px;
		height: 41px;
		width: 21px;
	}
}

/* End Loading Data... */

.csdesk, #excelD1, #excelD2 {
	display: none;
}

#donate {
	width:100px;
    position:absolute;
    top:10px;
    left:50%;
    margin-left:-50px;
    z-index:9999;
}

.advert {
	padding-top:50px;
	padding-bottom:0;
}

.service {
	font-size: 0.875em;
	color: #c0c0c0;
}

#mlogo {
    clear: both;
    width: 100%;
    margin: 0 auto;
    z-index: 9999;
    padding: 30px 0;
}

.filtergrad {
    background: #244581; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#244581, #1370b5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#244581, #1370b5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#244581, #1370b5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#244581, #1370b5); /* Standard syntax */
    color: #fff;
    text-align:center;
    padding-top:10px;
}

.filterh {
    background-color:#8b8b83;
    color:#ffffff;
    font-size:1em;
    text-align:center;
    padding: 10px;
}

.filter1 {
    background-color:#fffffd;
    color: #666;
    padding:10px;
    border: 1px dotted #afafaf;
    font-size:0.875em;
}

.filter2 {
	background: #edeee0;
    color: #666;
    padding:10px;
    border: 1px dotted #afafaf;
    font-size:0.875em;
}

#ui-datepicker-div {
    z-index:1002 !important;
}

.ui-widget.ui-widget-content {
    margin: 0 auto;
}

#ydatepick, #yfilter,
#ydatepick2, #yfilter2 {
    display:none;
    text-align:center;
    color:#1b5c9c;
    padding:15px;
    cursor:pointer;
}

#dateform, #dateform2 {
    display:none;
    text-align:center;
    padding:15px;
}

#datepicker-1, #datepicker-2 {
    text-align:center;
    padding:20px 0;
}

.linkbox1, .linkbox2, .linkbox3, .linkbox4 {
	display:inline-block;
    box-sizing:content-box;
    width:48%;
    margin:0 2% 2% 0;
    border:none;
    padding:0;
}

.linkbox2 {
    margin:0 0 2% 2%;
}

.linkbox3 {
    margin:2% 2% 0 0;
}

.linkbox4 {
    margin:2% 0 0 2%;
}

.twocolfloat, .fourcolfloat  {
    float:left;
    width:100%;
}

.twocolfloat .inner {
    height:100%;
    margin:5px;
    padding:20px;
    border:1px solid #c0c0c0;
}

#twitter-widget-0 {
    border:1px solid #292f33 !important;
}

#ddata {
    position:relative;
    background-color:#fff;
    text-align:center;
    margin-bottom:20px;
    border:1px solid #202020;
}

#ddata a {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display:block;
}

#ddtop {
    background-color:#202020;
    color:#fff;
    padding:10px;
}

#ddday {
    display:inline-block;
    font-size:4em;
    padding:0 10px;
}

#ddmy {
    display:inline-block;
    font-size:1em;
    text-transform:uppercase;
}

#ddbot {
    background-color:#8bc53f;
    color:#fff;
    padding:10px;
}

/* Flexible iFrame */

.Flexible-container, .Flexible-containerV {
    position: relative;
    padding-bottom: 39%;/* 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-containerV {
    padding-bottom: 56.25%;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed,
.Flexible-containerV iframe,   
.Flexible-containerV object,  
.Flexible-containerV embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HEADINGS */

.heading-container {
    display: flex;
    align-items: center;
}
.heading-container img {
    height: 2em;
    margin-right: 10px;
}
h1 {
    font-size: 1.5em;
    border-bottom: 1px solid #003300;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

h2 {
   font-size:1.25em;
   margin-bottom:20px;
}

h2.h2h {
   color:#fff;
}

h2.nomar {
   margin-top: 0;
}

h2.abook {
   background-color:#e5e5e5;
   padding: 10px;
}

.y-tag .head {
    font-size: 1.5em;
    display:block;
}

.y-tag .sub-head {
    font-size: 0.875em;
    display:block;
    margin-bottom: 1em;
}

.y-mtagline .head, .y-mtagline .sub-head {
    font-size:  0.875em;
    display:block;
}

.y-mtagline .sub-head {
    font-size: 0.75em;
    margin-bottom:1em;
}

/* LINKS */

a#ContentPlaceHolder2_lbdash:hover {
  text-decoration:none;
}

#sidebar_arcPanel a {
    display:block;
}

p.warning a {
    color:#ff0000;
    text-decoration:underline;
}

p.warning a:hover {
    color:#660000;
}

#ddmenu ul.yprod > li {
    width: 25%;
    text-align: center;
}

#y-content a {
    color: #83c441;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#y-content a:link, #y-content a:visited {
}

#y-content a:focus {
    outline : thin dotted; 
    color: #000;
}

#y-content a:hover, #y-content a:active {
    color: #8b8b83;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#y-content .filterh a {
    color: #fff;
}

#y-content .filterh a:hover, #y-content .filterh a:active {
    text-decoration: underline;
}

a.btn-orange:link, a.btn-mag:link, a.btn-yel:link, a.btn-green:link, a.btn-pur:link, a.btn-blue:link,
a.btn-orange:visited, a.btn-mag:visited, a.btn-yel:visited, a.btn-green:visited, a.btn-pur:visited, a.btn-blue:visited,
a.btn-orange:hover, a.btn-mag:hover, a.btn-yel:hover, a.btn-green:hover, a.btn-pur:hover, a.btn-blue:hover,
a.btn-orange:active, a.btn-mag:active, a.btn-yel:active, a.btn-green:active, a.btn-pur:active, a.btn-blue:active {
  color: #ffffff;
}
a.btn-orange:focus, a.btn-mag:focus, a.btn-yel:focus, a.btn-green:focus, a.btn-pur:focus, a.btn-blue:focus {
  color: #ffffff;
  outline : thin dotted;   
}

/* LISTS */

ul.steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.steps li {
    display: grid;
    grid-template-columns: 1fr auto;/
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dotted #404040;
  }

footer ul {
	list-style: none;
    margin: 0 auto;
    padding-left: 0;
	text-align: center;
}

footer ul li {
	display: inline-block;
}

footer li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

footer li a:link, footer li a:visited {
}

footer li a:focus {
    outline : thin dotted; 
}

footer li a:hover, footer li a:active {
    color: #8bc63f;
    text-decoration: underline;
}

/* FORMS */

.filter1 label, .filter2 label {
    margin-right: 15px;
}

label {
    font-weight:normal;
}

.box80 label {
    display:inline;
}

#pTextBox {
    display:none;
}

input, select, textarea {
    color: #000;
    font-size:0.675em;
}

input[type="text"].full, input[type="password"].full, textarea.full {
    width: 100%;
}

select.sub {
    display:inline-block;
    max-width:280px;
    overflow:hidden!important;
    white-space:nowrap;
    text-overflow:ellipsis;
    -webkit-appearance:none;
}

a.text-center  {
    display:inline-block;
    width:100%;
}

.fbdinput input[type="text"], .fbdinput input[type="text"]  {
    width: 50px;
}

input[type="image"]  {
    margin:30px auto;
    display:block;
}

.filter1 input[type="checkbox"], .filter2 input[type="checkbox"] {
    vertical-align: middle;
}

#ContentPlaceHolder2_formPanel span {
    display:inline-block;
}

input[type="radio"], input[type="checkbox"] {
    margin: 2px 0 2px 4px;
    display: inline-block;
    width: auto;
    zoom: 1.5;
}

.filter1.altrb input[type="radio"],
.filter2.altrb input[type="radio"] {
    zoom: 1.0;
}

table.form input, table.form textarea {
    width: 100%;
}

table.form textarea {
    height: 200px;
}

table.form textarea.small {
    height: 80px;
}

table.form textarea.large {
    height: 160px;
}

input[type="text"].full,
input[type="password"].full  {
    width: 100%;
}

input[type="submit"].def  {
    padding: 10px 40px;
    margin-top:10px;
    color:#fff;
    background-color:#8ac43f;
    border:1px solid #a8a8a8;
}

input[type="submit"].def:hover  {
    background-color:#003300;
}

input[type="submit"].join  {
    padding: 10px 40px;
}

input[type="submit"].submit  {
    padding: 10px 40px;
    width:200px;
}

input[type="submit"].fsubmit  {
    margin-top:10px;
    margin-bottom:10px;
}

form.archive input[type="submit"]  {
    background-color:transparent;
    border:none;
    color:#337ab7;
}

.filter1 label, .filter2 label {
    margin-right:15px;
}

.filter1.altrb label,
.filter2.altrb label {
    margin-right:0;
    margin-left:15px;
    font-weight:bold;
}

.filter1 input[type="checkbox"],
.filter2 input[type="checkbox"] {
    vertical-align:middle;
}

.nlmar label:first-child {
    margin-left:0;
}

/* TABLES */

table, table.table, table.tablep {
    width: 100%;
    margin:20px auto;
}

table.tablep tbody tr td:first-child,
table.bgreen tbody tr td:first-child {
  width:25%;
  min-width:25%;
  max-width:25%;
  word-break:break-all;
  color:#000;
  background-color:#e5e5e5;
  font-weight:bold;
}

table.tablep.three tbody tr td:not(:first-child) {
    width: calc((100% - 25%)/2);
}

table.tablep.four tbody tr td:not(:first-child) {
    width: calc((100% - 25%)/3);
}

table.tablep.five tbody tr td:not(:first-child) {
    width: calc((100% - 25%)/4);
}

table.tablep.six tbody tr td:not(:first-child) {
    width: calc((100% - 25%)/5);
}

table.tablep tbody tr:nth-of-type(2) {
  color:#000;
  background-color:#e5e5e5;
  font-weight:bold;
}

td, th {
    padding:4px;
}

table#nesttab td {
    padding:2px;
    font-size:75%;
}

table.form {
    border-collapse: collapse;
}

table.form td {
    padding-top: .5em;
    padding-bottom: .5em;
}

.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 #a1a1a1;
}

table.padding th, table.padding td {
    padding:10px;
}

table.bblue {
    background-color: #edeee0;
}

table.bblue th {
    background-color:#8b8b83;
    color:#ffffff;
    font-size:0.75em;
    text-align:center;
}

table.bblue th.h2h {
    width: 50%;
    background-color: #999;
}

table.bgreen th {
    background-color:#5aa469;
}

table.bgreen tr {
    background-color: #e1f5e9 !important;
    height: auto !important;
}
table.bgreen tr.rowUC, table.bgreen tbody tr.rowUC td:first-child {
    background-color: #c0c0c0 !important;
}

table td.valCell {
    color: #000;
}

table.schoice {
    width: 100%;
}

table.schoice td {
    width: 20%;
    text-align: center;
}

table.prof th, table.prof td {
    padding: 2px !important;
    text-align: center !important;
    border: 1px solid #c0c0c0 !important;
}

td.rrow {
    color:#cc0000;
}

.hscroll {
    overflow:auto;
    width:100%;
}

#doublescroll, .doublescroll  {
  clear:both;
  width:100%;
  overflow:auto; 
  overflow-y:hidden; 
}

.sortasc-header a::after, .sortdesc-header a::after
{
    font-family: FontAwesome;
    content: "\f0d7";
    display: inline-block;
    padding-left: 5px;
    vertical-align: middle;
    font-weight: 900;
}

.sortdesc-header a::after
{
    content: "\f0d8";
}

    table#ContentPlaceHolder2_fbdGridView .GridPager span
    {
        color:#000;;
    }
    table#ContentPlaceHolder2_fbdGridView table
    {
        width:auto;
        margin:0;
    }
    table#ContentPlaceHolder2_fbdGridView table td
    {
        padding-right:5px;
    }

/* Responsive Table */

table.y-tab tr:nth-child(even) {background: #edeee0;}
table.y-tab tr:nth-child(odd) {background: #fffffd;}

table.y-res tr, table.y-tab tr {
    border: 1px solid #666;
    padding: 2px;
}

table.y-res tr.head, table.y-tab tr.head {
    background: #8b8b83;
    /*background: -webkit-linear-gradient(#244581, #1370b5);
    background: -o-linear-gradient(#244581, #1370b5);
    background: -moz-linear-gradient(#244581, #1370b5);
    background: linear-gradient(#244581, #1370b5);*/
    color: #fff;
}

table.y-res th, table.y-res td, table.y-tab th, table.y-tab td {
    padding: 2px;
    text-align: center;
    border: 1px solid #c0c0c0;
}


table.y-res th, table.y-tab th {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    background
}

table.y-tab2 th, table.y-tab2 td {
    background-color: #404040;
    color: #fff;
}


@media screen and (max-width: 768px) {
    table.y-res, table.y-res th, table.y-res td {
        border: 0;
    }

    table.y-res th, table.y-res td {
        padding: 5px;
    }
    
    table.y-res thead {
        display: none;
    }

    table.y-res tr {
        margin-bottom: 0;
        display: block;
    }

    table.y-res tr:after {
        content: "";
        display: table;
        clear: both;
    }
  
    table.y-res tr:before {
        display: block;
        border-bottom: 1px solid #ddd;
    }

    table.y-res td {
        box-sizing: border-box;
        display: block;
        float: left;
        clear: left;
        width: 100%;
        text-align: right;
        font-size: 12px;
        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;
        color: #1c5b9b;
    }

}

/* 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;
}

.dash, .ntab {
    font-size: 75%;
}

.bg-white {
  background: #fff;
}

.bg-black {
  background: #353535;
}

.padding1 {
    padding: 0 3%;
}

.padding2 {
    padding: 3% 0;
}

.padding2A {
    padding: 3% 15px;
}

.padding2B {
    padding: 1em 0;
}

.padding2C {
    padding: 2em 0;
}

.padding3 {
    padding: 0 0 3% 0;
}

.paddtop {
    padding-top: 0;
}

.paddingtl {
    padding-top: 10px;
    padding-left: 5px;
}

.paddmid {
    padding: 3em 0 3em 0;
}

.paddmid2 {
    padding: 0 0 3em 0;
}

.paddbot {
    padding-bottom: 3em;
}

.paddinglr {
    padding-right: 5px !important;
    padding-left: 15px !important;
}

.paddsin {
    padding: 0 0 3em 0;
}

.tbmar {
    margin:40px 0;
}

.martop {
    margin-top: 1.75em;
}

.martop2 {
    margin-top: 1em;
}

.marbot {
    margin-bottom: 1.75em;
}

.ml {
    margin-left:15px;
}

.mb {
    margin-bottom:10px;
}

.sidemar {
    margin-top: 3em;
}

.csmar {
    margin-right: 0;
}

.tick {
  font-size: 1.25em;
  font-weight: bold;
  margin-left: 10px;
  vertical-align: middle;
}

.back1 .tick {
  color:#8bc63f;
}
.back2 .tick {
  color:#f9b040;
}
.back3 .tick {
  color:#662d91;
}
.back4 .tick {
  color:#0099ff;
}

.blue {
    color: #136eb3;
}

.green {
	color:#8bc63f;
}

.warning, .warning3 {
	color:#ff0000;
    font-style:italic;
    font-size:0.875em;
}

span.warning {
    display:block;
}

span.cb {
    display: inline-block;
}

.warning2 {
	color:#ff0000;
}

.warning3 {
	color:#666;
}

p.em, span.em {
	font-style:italic;
    font-size:0.875em;
}

hr, hr.norm {
display: block; 
margin : 2em 0; 
border : 1px;
border-style: dashed;
color: #353535; 
}

hr.norm {
    border-style: solid;
    color: #e5e5e5;
}

hr.tab {
margin:10px 0;
border:1px dotted #afafaf;
}

.ibcen {
    text-align:center;
    padding:10px;
}

.center {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

#y-quotes .client {
    font-size: 0.75em;
}

p {
    margin: 0 0 15px;
}

p.first {
    font-weight: 500;
    font-size: 125%;
}

.content > p:first-of-type {
    font-size:125%;
    font-weight:500;
    color:#666;
    line-height: normal;
}

.content > p:first-of-type ~ p:first-of-type {
    font-size:100%;
    font-weight:normal;
    color:inherit;
}

p.footnote {
    font-size:1.5em;
    font-weight:bold;
    margin:40px 0;
}

p.tmar {
   margin-top:15px;
}

.rabs {
   position:absolute;
   right:15px;
}

/* MAIN LAYOUT */

#y-wrapper, #y-mobhead, .y-mtagline {
	position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.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: 1920px;
}

.y-container  {
    box-sizing: content-box;
}

.back1  {
    background-color:#f0f0f0;
}
.back2  {
    background-color:#8bc53f;
}
.back3  {
    background-color:#d5d8e5;
}
.back4  {
    background-color:#007b8a;
}
.font1, .font2  {
    color:#666;
}
.font2  {
    color:#fff;
}

.y-mtagline  {
    background-color: #353535;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    padding: 0.5em 0;
    border-top: 2px solid #3e4825;
}

header {
    position: relative;
    width: 100%;
    max-width: 1920px;
    /*height:100px;*/
    margin: 0 auto;
    margin-top:50px;
    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: #2c2c2c;
    /*background-image: linear-gradient(#000000, #0d1111, #142625, #103735);*/
    background-image: linear-gradient(#000000, #1d231d, #2d412f, #355d39);       
    border-bottom: 1px solid #8bc63f;
    box-shadow: 0 6px 8px -2px rgba(0, 0, 0, 0.6);
}

/* 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;
}

main {
	min-height: 600px;
    background:none;
}

#y-topband, #y-topbar, #y-menubar, #y-strap, #y-adverts, #y-quotes, #y-content, #y-locate, #y-gallery {
	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;
}

#y-menubar {
    clear: both;
    z-index: 5;
    /*height:100%;
    margin-top: 110px;*/
}

#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;
}

.siform, .siformL {
    background-color: #f0f0f0;
    border: 1px solid #a8a8a8;
    width: 100%;
    margin: 2em auto;
    text-align: center;    
}

.siformL {
    text-align: left;    
}

.siformL.text-center {
    text-align: center;    
}

.sihead {
    color:#fff;
    background-color:#8ac43f;
    font-size:125%;
    padding:10px;
    text-align:center;    
}

.box80 {
    width:100%; 
    margin-left:auto; 
    margin-right:auto;    
}

.siform .inner, .siformL .inner {
    padding: 2em;
}

.sif2 {
    padding: 1em;
}

#y-content {
}

#y-locate {
    background-image:url('../images/background.jpg');
    background-position:0 25%; 
}

#y-gallery {
    background-color: #fff; 
}

#yslides, #ymslides {
	position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    z-index: 2001;
    border-bottom: 5px solid #8cc63f;
}

#ymslides {
    border-bottom: none;
}

#y-dummy {
	position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

#y-modals {
    position: absolute;
    top: 40%;
    right: 10px;
    z-index: 2014;
}

#myModal, #myModal2, #myModal3, #myModal4, #myModal5, #myModal6 {
    z-index: 2014;
}

.modal-content {
    background-color:#edeee0;
    color:#404040;
    overflow-x:auto;
    font-size:0.875em;
}

.fnorm {
    font-size: 100%;
}


@media (min-width: 992px) {
.modal-dialog {
    width: 800px;
}

}

#y-dash {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    position: absolute;
    top: 30px;
    bottom:0;
    right: 0;
    width: 500px;
    z-index: 9999;
    opacity:0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
#y-dash.visible {
  opacity: 1;            
  pointer-events: auto;
}
#toggleButton {
  position:absolute;
  top:10px;
  right:10px;
  color:#fff;
  cursor:pointer;
  z-index:9999;
}
.y-tagline {
	width: 100%;
    position: absolute;
    top: 60%;
}

.y-tag {
    color: #fff;
    text-align: left;
    padding:30px 60px;
}
#mblinks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

/* Footer */
footer { 
	width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height:150px;
    background: #2c2c2c ;
    /*background: -webkit-linear-gradient(#fbaa19, #ffc50c);
    background: -o-linear-gradient(#fbaa19, #ffc50c);
    background: -moz-linear-gradient(#fbaa19, #ffc50c);
    background: linear-gradient(#fbaa19, #ffc50c);*/
    color: #fff;
    text-align: center; 
    border-top: 5px solid #8bc63f;
}

/* 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;
  display:inline-block;
}

#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;
}

img.logo {
    margin: 30px 0 0 0;
}

#y-topbar img.logo {
    float:left;
}

img.mobhead {
    max-width: 60%;
    margin: 0 auto;
}

table img, #y-adverts img {
    display: inline-block;
    margin-right: 2em;
}

img.center {
    max-width: 100%;
    margin: 0 auto;
}

img.ib {
    display: inline-block;
}

img.cs {
    max-width: 100%;
    margin: 0 auto;
    display:block;
    margin-bottom:50px;
}

.image-container {
    position: relative;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    padding-right:60px;
    overflow: hidden;
}
.image-container img {
    max-width: 100%;
    height: auto;
    max-height: 75%;
    display: block;
    float:right;
}
.image-container2 {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 10px;
}
.image-container2 img {
  margin:0 auto;
}
.text-box {
    position: absolute;
    top: 0;
    right: -250px; /* Initially hidden off-screen */
    width: 250px;  /* Adjust the width of the text box */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    font-size:0.75em;
    box-sizing: border-box;
    transition: right 0.3s ease-in-out;
}

.image-container:hover .text-box {
    right: 0;
}

.image-container a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-indent: -9999px;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
}

/* Glyph Icons */

.glyphicon {
  font-size: 20px;
  line-height: 33px;
}

.glyphicon-sm {
  font-size: 15px;
  line-height: 15px;
}

.glyphicon-green {
    color: #003300;
}

.glyphicon-ring, .glyphicon-ring-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #003300;
  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-blue {
  color:#1b5c9c;
}
.glyphicon-green {
  color:#003300;
}

/* BUTTONS */

.sobutt  {
  font-size:0.75em;
  padding:6px 20px;
  background-color:transparent;
  color:#fff;
  border:solid 1px #fff;
  border-radius:15px;  
}

.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, .btn-brd2, .btn-brd3  {
  border: 1px solid #fff;
  border-radius: 50px;
  color: #fff;
  background: #39b54a; /* For browsers that do not support gradients */
  background: -webkit-radial-gradient(circle, #7fc242, #4eb748, #39b54a); /* Safari */
  background: -o-radial-gradient(circle, #7fc242, #4eb748, #39b54a); /* Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(circle, #7fc242, #4eb748, #39b54a); /* Firefox 3.6 to 15 */
  background: radial-gradient(circle, #7fc242, #4eb748, #39b54a); /* Standard syntax */
  font-size: 1.5em;
  -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, .btn-brd3  {
  font-size: 1em;
}

.btn-brd:hover, .btn-brd2:hover {
    background: rgba(98, 187, 70, 0);
    color: #fff !important;
}

.btn-brd3:hover {
    background: #ffc40c;
    background: -webkit-radial-gradient(circle, #8bc63f, #404041, #000000); /* Safari */
    background: -o-radial-gradient(circle, #8bc63f, #404041, #000000); /* Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(circle, #8bc63f, #404041, #000000); /* Firefox 3.6 to 15 */
    background: radial-gradient(circle, #8bc63f, #404041, #000000); /* Standard syntax */
    color: #fff !important;
    -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-pad {
    padding:6px 7px;
}

.btn-pad2 {
    padding:10px 40px;
}

.btn-primary-outline {
  background-color: transparent;
  border-color: #ccc;
}

.button-container {
    text-align: center;
    margin-top:30px;
}

.btn-orange, .btn-mag, .btn-yel, .btn-green, .btn-pur, .btn-blue {
  display: inline-block;
  background-color: #ff5003;
  color: #ffffff;
  padding: 6px 15px;
  text-decoration: none;
  font-size: 0.875em;
  border-radius: 5px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}
.btn-orange:hover {
  background-color: #b33904;
}
.btn-mag {
  background-color: #d81b60;
}
.btn-mag:hover {
  background-color: #b01548;
}
.btn-green {
  background-color: #8bc53f;
}
.btn-green:hover {
  background-color: #6a9630;
}
.btn-yel {
  background-color: #fbaf41;
}
.btn-yel:hover {
  background-color: #d3953b;
}
.btn-pur {
  background-color: #662d91;
}
.btn-pur:hover {
  background-color: #3d1b57;
}
.btn-blue {
  background-color: #0099ff;
}
.btn-blue:hover {
  background-color: #016bb2;
}

#signupLink {
    display:inline-block;
}

/* SOCIAL ICONS */

/* NB font-awesome used from CSS folder */

.social {
    margin: 0;
    padding: 0;
}

.social ul {
    margin: 0;
    padding: 5px;
}

.social ul li {
    margin: 5px;
    list-style: none outside none;
    display: inline-block;
}

.social i, #sdown i, #sdown2 i, #sup i {
    width: 40px;
    height: 40px;
    color: #e07e87;
    background-color: #fac7c9;
    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, #sdown i:hover, #sdown2 i:hover, #sup i:hover {
    color: #FFF;
    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;
}

#sdown .fa-arrow-down, #sdown2 .fa-arrow-down, #sup .fa-arrow-up {
    width:25px;
    height:25px;
    font-size:14px;
    text-align:center;
    padding-top:7.5px;
    color:#fff;
    background-color:#8bc53f;
    cursor:pointer;
}

#sdown .fa-arrow-down:hover, #sdown2 .fa-arrow-down:hover, #sup .fa-arrow-up:hover {
    background-color:#404041;
}

.social .fa-facebook:hover {
    background: #4060A5;
    background-color: #0c1a1e;
}

.social .fa-twitter:hover {
    background: #00ABE3;
    background-color: #0c1a1e;
}

.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:hover {
    background: #0094BC;
    background-color: #0c1a1e;
}

.social .fa-flickr:hover {
    background: #FF57AE;
}

.social .fa-instagram:hover {
    background: #375989;
    background-color: #0c1a1e;
}

.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:hover {
    background: #FF1F25;
}

.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;
    max-width: 1344px;
    margin:40px 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 {
    box-shadow: 5px 10px 18px #888888;
}

/* BOOTSTRAP OVERRIDES */

.row { 
    margin-right: 0;
    margin-left: 0;
}

.y-navbar {
    margin-bottom: 0;
    padding-bottom: 0;
}

.navbar-right {
    margin-right: 0;
}

.navbar-nav, .navbar-brand {
    font-size: 0.875em;
}

.btn-secondary {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-sec2 {
    background-color: #660066;
    border-color: #660066;
}

/* Hover effect */
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-sec2:hover,
.btn-sec2:focus,
.btn-sec2:active {
    background-color: #330033;
    border-color: #330033;
}

.tooltip-inner {
    max-width:100%;
    /* If max-width does not work, try using width instead */
    width:100%; 
}


/* 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:absolute;
  bottom:10px;
  margin-left:-20px;
  left:50%;
  z-index:9999;
}

.arrow-wrap {
  background:#8cc63f;
  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) {

h1 {
    font-size: 2em;
}

h2 {
   font-size:1.75em;
}

input.form {
    width: 25%;
}

input, select, textarea {
    color: #000;
    font-size: 1em;
}

}


@media (min-width: 768px) {

header { 
    margin-top:0;
}

header.smaller {
    height:120px;
}

#y-mobhead { 
    display: none;
}

#y-head { 
    display: block;
}

#ymslides { 
    display: none;
}

.advert {
	padding-top:100px;
	padding-bottom:0;
}

.showdesk { 
    display: block;
}

.csdesk {
	display: block;
}

.csmob, #mblinks {
	display: none;
}

.csmar {
    margin-right: 3em;
}

.flex1 {
	display:flex;
}

.flex1 .twocolfloat {
	flex:1;
}

.twocolfloat {
    width:50%;
}

.fourcolfloat {
    width:25%;
}

#signupLink {
    position:absolute;
    left:15px;
}

.sif2 {
    width: 60%;
    padding: 2em;
}

.siform, .siformL {
    width:80%;
}

.siformL.full {
    width:100%;
}

.box80 {
    width:80%; 
}

table#nesttab td {
    padding:8px;
    font-size:100%;
}

table.prof th, table.prof td {
    padding: 8px !important;
}

table.bblue th {
    font-size:1em;
}

}

@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;
}

table.tablep {
    width:60%;
}

}

@media (min-width: 992px) {

.advert img {
    display: block;
}
.font1, .font2  {
    font-size:125%;
}

}

@media (min-width: 1240px) {

.y-tag .head {
    font-size: 2.5em;
}

.y-tag .sub-head {
    font-size: 1.5em;
}

.btn-orange, .btn-mag, .btn-yel, .btn-green, .btn-pur, .btn-blue {
  padding: 10px 20px;
  font-size: 1em;
}

.text-box {
    padding:15px;
    font-size:1em;
}

}

@media (min-width: 1280px) {

header.smaller #y-logobar {
    top: 15px;
}

.navbar-nav, .navbar-brand {
    font-size: 1em;
}

#y-quotes {
    font-size: 2em;
}

.siform {
    width:60%;
}

.siformL {
    width:70%;
}

.siformL.full {
    width: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%;
   }
}







