@font-face {
    font-family: 'unit-boldregular';
    src: url('../fonts/unit-bold-webfont.eot');
    src: url('../fonts/unit-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/unit-bold-webfont.woff2') format('woff2'),
         url('../fonts/unit-bold-webfont.woff') format('woff'),
         url('../fonts/unit-bold-webfont.ttf') format('truetype'),
         url('../fonts/unit-bold-webfont.svg#unit-boldregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'unit-regularregular';
    src: url('../fonts/unit-regular-webfont.eot');
    src: url('../fonts/unit-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/unit-regular-webfont.woff2') format('woff2'),
         url('../fonts/unit-regular-webfont.woff') format('woff'),
         url('../fonts/unit-regular-webfont.ttf') format('truetype'),
         url('../fonts/unit-regular-webfont.svg#unit-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@media all and (-webkit-min-device-pixel-ratio: 0) {
@font-face {
    font-family: 'unit-boldregular';
    src: url('../fonts/unit-bold-webfont.svg#unit-boldregular') format('svg');
    font-weight: normal;
    font-style: normal;

	}



	@font-face {
		font-family: 'unit-regularregular';
		src: url('../fonts/unit-regular-webfont.svg#unit-regularregular') format('svg');
		font-weight: normal;
		font-style: normal;

	}
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
main {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

* {
    margin: 0;
}

html, body {
    min-height: 100%;
}

body {
	margin:0;
	padding:0;
	color:#000000;
	font-family: 'ABeeZee', sans-serif;
	font-size:16px;
	line-height: 24px;
	position: relative;
}
	
.clr {
	clear:both;
}

img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
}
.left {
	float: left;
	display: inline-block;
	margin: 0 20px 10px 0;
}
.right {
	float: right;
	display: inline-block;
	margin: 0 0 10px 20px;
}
.fullwidth {
	display: block;
	width: 100%;
	height: auto;
}
.table {
	border-collapse: collapse;
	border: 1px solid #cccccc;
	width: auto;
}
.table td, #content .table td {
	border-collapse: collapse;
	border: 1px solid #cccccc;
	padding: 10px;
}
.borderless {
	border: none!important;
}
img {
	display:inline-block;
	max-width: 100%;
	height: auto;
}
#maincontent img.left, #maincontent img.right {
	max-width: 50%;
	display: inline-block;
	height: auto;
}
a, a:visited {
	color:#a90a2e;
	outline:none;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.1s ease-out;
}
a:hover {
	color: #0a77a2;
	text-decoration:none;		
}
section li a, section li a:visited  {
	color:#a90a2e!important;
}
section li a:hover  {
	color: #0a77a2!important;			
}

a:active,
a:focus, {
 outline:0;
  -moz-outline-style: none; */
  border:none;

}
/*
body#intpage section a, body#intpage #maincontent a {
	color:#a90a2e;
}
body#intpage section a:hover, body#intpage #maincontent a:hover {
	color:#0a77a2;
	text-decoration: underline;
}
*/
h1, h2, h3, h4, h5, h6, h7, h8, h9 {
	font-family: 'unit-boldregular';
	font-weight: normal;
	line-height: 1em;
	margin-bottom: 10px;
} 
h1, .page-header h2 {
	font-size: 3em;
	color: #a90a2e;
	margin-top: 50px;
}
h2 {
	font-size: 2.4em;
	 color: #a90a2e;
	margin-top: 30px
}
.page-header h2 {
	margin-top: 0;
}
	
h3 {
	font-size: 2.4em;
	color: #3997b8;
	margin-top: 30px
}
h4 {
	font-size: 2.2em;
	color: #bb9d71;
	margin-top: 20px

}
h5 {
	font-size: 2em;
	color: #555555;
	margin-top: 20px;

}
h6 {
	font-size: 1.8em;
	color: #555555;
	margin-top: 20px;
		
}
h7 {
	font-size: 1.5em;
	margin-top: 20px
		
}


.tooltip {
	position: absolute;
	z-index: 1030;
	display: block;
	visibility: visible;
	font-size: 11px;
	line-height: 1.4;
	opacity: 0;
	filter: alpha(opacity=0);
}
.tooltip.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.tooltip.top {
	margin-top: -3px;
	padding: 5px 0;
}
.tooltip.right {
	margin-left: 3px;
	padding: 0 5px;
}
.tooltip.bottom {
	margin-top: 3px;
	padding: 5px 0;
}
.tooltip.left {
	margin-left: -3px;
	padding: 0 5px;
}
.tooltip-inner {
	max-width: 200px;
	padding: 8px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}
.popover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1060;
	display: none;
	max-width: 276px;
	padding: 1px;
	text-align: left;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	border: 1px solid #ccc;
	border: 1px solid rgba(0,0,0,0.2);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	white-space: normal;
}
.popover.top {
	margin-top: -10px;
}
.popover.right {
	margin-left: 10px;
}
.popover.bottom {
	margin-top: 10px;
}
.popover.left {
	margin-left: -10px;
}
.popover-title {
	margin: 0;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ebebeb;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}
.popover-title:empty {
	display: none;
}
.popover-content {
	padding: 9px 14px;
}
.popover .arrow,
.popover .arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.popover .arrow {
	border-width: 11px;
}
.popover .arrow:after {
	border-width: 10px;
	content: "";
}
.popover.top .arrow {
	left: 50%;
	margin-left: -11px;
	border-bottom-width: 0;
	border-top-color: #999;
	border-top-color: rgba(0,0,0,0.25);
	bottom: -11px;
}
.popover.top .arrow:after {
	bottom: 1px;
	margin-left: -10px;
	border-bottom-width: 0;
	border-top-color: #fff;
}
.popover.right .arrow {
	top: 50%;
	left: -11px;
	margin-top: -11px;
	border-left-width: 0;
	border-right-color: #999;
	border-right-color: rgba(0,0,0,0.25);
}
.popover.right .arrow:after {
	left: 1px;
	bottom: -10px;
	border-left-width: 0;
	border-right-color: #fff;
}
.popover.bottom .arrow {
	left: 50%;
	margin-left: -11px;
	border-top-width: 0;
	border-bottom-color: #999;
	border-bottom-color: rgba(0,0,0,0.25);
	top: -11px;
}
.popover.bottom .arrow:after {
	top: 1px;
	margin-left: -10px;
	border-top-width: 0;
	border-bottom-color: #fff;
}
.popover.left .arrow {
	top: 50%;
	right: -11px;
	margin-top: -11px;
	border-right-width: 0;
	border-left-color: #999;
	border-left-color: rgba(0,0,0,0.25);
}
.popover.left .arrow:after {
	right: 1px;
	border-right-width: 0;
	border-left-color: #fff;
	bottom: -10px;
}

.alert {
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
}
.alert,
.alert h4 {
	color: #c09853;
}
.alert h4 {
	margin: 0 0 .5em;
}
.alert .close {
	position: relative;
	top: -2px;
	right: -21px;
	line-height: 18px;
	cursor: pointer;
}
.alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
}
.alert-success h4 {
	color: #468847;
}
.alert-danger,
.alert-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #c71c34;
}
.alert-danger h4,
.alert-error h4 {
	color: #c71c34;
}
.alert-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #3a87ad;
}
.alert-info h4 {
	color: #3a87ad;
}
.alert-block {
	padding-top: 14px;
	padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
	margin-bottom: 0;
}
.alert-block p + p {
	margin-top: 5px;
}
.close {
	float: right;
	font-size: 20px;
	font-weight: bold;
	line-height: 18px;
	color: #000;
	text-shadow: 0 1px 0 #ffffff;
	opacity: 0.2;
	filter: alpha(opacity=20);
	text-decoration: none;
}
.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: 0.4;
	filter: alpha(opacity=40);
}
button.close {
	padding: 3;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
}


fieldset {
	border: none;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/


/*! Gray v1.6.0 (https://github.com/karlhorky/gray) | MIT */
.grayscale {
  /* Firefox 10-34 */
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0'/></filter></svg>#grayscale");

  /*
    Chrome 19+,
    Safari 6+,
    Safari 6+ iOS,
    Opera 15+
  */
  -webkit-filter: grayscale(1);

  /* Firefox 35+ */
  filter: grayscale(1);

  /* IE 6-9 */
  filter: gray;
}

.grayscale.grayscale-fade {
  transition: filter .5s;
}

/* Webkit hack until filter is unprefixed */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .grayscale.grayscale-fade {
    -webkit-transition: -webkit-filter .5s;
    transition:         -webkit-filter .5s;
  }
}

.grayscale.grayscale-off,
.grayscale.grayscale-fade:hover {
  -webkit-filter: grayscale(0);
  filter:         grayscale(0);
}

/* Background element */
.grayscale.grayscale-replaced {
  -webkit-filter: none;
  filter:         none;
}

.grayscale.grayscale-replaced > svg {
  -webkit-transition: opacity .5s ease;
  transition:         opacity .5s ease;
  opacity: 1;
}

.grayscale.grayscale-replaced.grayscale-off > svg,
.grayscale.grayscale-replaced.grayscale-fade:hover > svg {
  opacity: 0;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#maincontent a[href$=".pdf"]::before,
#maincontent a[href$=".pdf?type=file"]::before {
	content: '';
	display: inline-block!important;
	vertical-align: middle;
	margin-right: 5px;
	margin-top: -3px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	position: relative;
	left: auto;
}
#maincontent a[href$=".pdf"]:before,
#maincontent a[href$=".pdf?type=file"]:before {
	background: url(../images/pdf.png) center center no-repeat;
	background-size: cover;
}



body#homepage {
	position: fixed;
}

#wrapper {
	overflow: hidden;
	max-width: 100%;
}
#banner {
	position: relative;
	z-index: 0;
}
#homepage #banner, #homepage #wrapper {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
#homepage #banner {
		z-index: -1
}

#topblock {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	max-height: 130px;
	height: 15vh;
	/*background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 99%);
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 99%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 99%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); */
	
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 21%, rgba(255,255,255,0.8) 100%);
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 21%,rgba(255,255,255,0.8) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 21%,rgba(255,255,255,0.8) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=1 );
	
	z-index: 9999;
	transition: all 0.3s ease;
}
#topblock::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
background: -moz-linear-gradient(top, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccffffff', endColorstr='#00ffffff',GradientType=0 );
	z-index: -1
}

#logo {
	height: 100%;
	position: relative;
	margin-left: 5%;
	display: inline-block;
	transition: all 0.3s ease;
	z-index: 10;	
}
#logo a {
	display: block;
}
body.smenu #logo {
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
}

#logo img {
	position: absolute;
	display: block;
	width: auto;
	height: 100%;
	width: 100%;
}
#menuicon {
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	max-height: 100%;
	background: #bb9d71;
	box-sizing:border-box;
	cursor: pointer;
	transition: height 0.25s ease;
	
}
body.smenu #menuicon {
	transition: height 0.3s ease;
}
#hnav{
	box-sizing: border-box;
	width: 40%;
	height: 40%;
	margin:30%;	
	position: relative;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	
}

#hnav span {
    display: block;
    position: absolute;
    height: 20%;
    width: 100%;
    background: #ffffff;
    border-radius:100px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

#hnav span:nth-child(1) {
    top: 0;
}

#hnav span:nth-child(2) {
    top: 50%;
	transform: translate(0,-50%);
}

#hnav span:nth-child(3) {
    top: 80%
}
#mainmenu {
	background: #a90a2e;
	position: absolute;
	top: 0;
	height: 100%;
	min-height: 100%;
	right: 0;
	box-sizing: border-box;
	max-width: 100%;
}

#mainmenu .menu { 
	display: block;
	height: 100%;
	max-width: 0vw;
	padding: 0;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	transition: all 0.8s ease-in;

}
#topblock.open #mainmenu .menu { 
	max-width: 100vw;
	transition: all 1s ease-out;
	overflow: visible;
}
#mainmenu .menu > li {
	position: relative;
	display: inline-block;
	list-style: none;
	bottom: 0;
	top:50%;
	height: 50%;
	z-index: 0
}
body.smenu #mainmenu .menu > li {
	top: 0;
	height: 100%;
}
body.smenu #mainmenu .menu > li > a,body.smenu #mainmenu .menu > li > span {
	line-height: 50px !important;
}
#mainmenu .menu > li > a, #mainmenu .menu > li > span {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	box-sizing: border-box;
	height: 100%;
	text-transform: uppercase;
	color: #fff;
	font-family: 'unit-boldregular';
	font-size: 1.4vw;
	cursor: pointer;
	padding: 0 1vw;
	transition: all 0.3s ease-in-out;
	z-index: 1;
}
#mainmenu .menu > li > a::before, #mainmenu .menu > li > span::before {
	content: "";
	background:#499abb;
	position: absolute;
	left: 0;
	top:100%;
	bottom: 0;
	right: 0;
	transition: all 0.2s ease-in-out;
	z-index: -1;
}
	
#mainmenu .menu > li:hover > a::before, #mainmenu .menu > li:hover  >span::before {
	top: 0;
}

	
#mainmenu .menu li ul {
	visibility: hidden;
	display: block;
	position: absolute;
	transition: all 0.3s ease-in-out;
	padding: 2vh 0;
	background:#499abb;
}
#mainmenu .menu ul li {
	position: relative;
}
#mainmenu .menu > li > ul {
	top: 100%;
	left: 0;
	transform: scaleY(0);
	transform-origin: top;
}
#mainmenu .menu > li:nth-child(n+4)  > ul {
	left: auto;
	right: 0;
}
#mainmenu .menu ul  ul {
	top: -2vh;
	left: 95%;
	transform: scaleX(0);
	transform-origin: left;
}
#mainmenu .menu > li:nth-child(n+4)  ul  ul {
	right: 95%;
	left: auto;
	transform-origin: right;
}
	
#mainmenu .menu > li:hover > ul, #mainmenu .menu > li:hover > ul {
	visibility: visible;
	display: block;
	transform: scaleY(1); 
}
	
#mainmenu .menu ul li:hover > ul, #mainmenu .menu ul  li:hover > ul {
	visibility: visible;
	display: block;
	transform: scaleX(1); 
}

#mainmenu .menu li li {
	list-style: none;
}
#mainmenu .menu li li a, #mainmenu .menu li li span {	
	font-family: 'unit-regularregular';
	text-transform: uppercase;
	color: #fff;
	padding: 0.5vw 1vw;
	font-size: 1.2vw;
	line-height: 1em;
	display: block;
}
#mainmenu .menu li li li a, #mainmenu .menu li li li span {	
	text-transform: none;
}
#mainmenu .menu li li.parent > a::after, #mainmenu .menu li li.parent > span::after {	
	content: "\f105";
	display: inline-block;
	color: #bb9d71;
	vertical-align: middle;
	font-family: 'FontAwesome'; 
	font-weight: 900;
	font-size: 1em;
	margin: 0 0 3px 5px;
}
#mainmenu .menu li li:hover > a, #mainmenu .menu li li:hover > span {	
	background: #bb9d71;
}
#mainmenu .menu li li.parent:hover > a::after, #mainmenu .menu li li.parent:hover > span::after {	
	color: #fff;
}

#topblock.open #hnav span:nth-child(1) {
	top: 50%;
	transform: rotate(135deg);
}

#topblock.open #hnav span:nth-child(2) {
	opacity: 0;
	right: 100%;
}

#topblock.open #hnav span:nth-child(3) {
	top: 50%;
	transform: rotate(-135deg);
}




#menuicon svg {
	margin: 30%;
}


.animate #mainmenu::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 99999;
}
#mainmenu > .maximenuckh > .maxiroundedcenter {
	height: 100%;
}
#topicons {
	position: absolute;
	right: 20%;
	top: 2%;
	height: 40%;
	z-index: 99;
}
#quicklinks {
	position: absolute;
	right: 20%;
	bottom: 0;
	height: 40%;
}

#topicons ul, #quicklinks ul {
	display: inline-block;
	height: 100%;
	padding: 0;
}
#topicons li {
	list-style: none;
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	box-sizing: border-box;
	padding: 4% 0;
	box-sizing: border-box;
}
#topicons a, #topicons span {
	display: block;
	height: 100%;
    max-height: 36px;
	text-align: right;
	margin-left: 30px;
}
#topicons span {
	display: none;
}

#topicons a img, #topicons span img {
	display: inline-block;
	height: 100%;
	width: auto;
}
#quicklinks li {
	list-style: none;
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	box-sizing: border-box;
	margin-left: 2vw;
}
#quicklinks li a {
	display: block;
	font-family: 'unit-boldregular';
	color: #a90a2e;
	text-transform: uppercase;
	font-size: 1.4vw;
	transition: color 0.3s ease;
}
#quicklinks li a:hover {
/*	color: #44190d; */
	color: #000;

}
#middleline {
	position: relative;
	top:-50%;
}

#bt_block {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 60%;
}
/*
#bt_block::before {
		content: "";
		position: absolute;
		background: #a90a2e;
		left: 0;
		right: 0;
		height: 100%;
		top: 70%;
		z-index: -1;
	}
*/

#search, #mobsearch {
	display: none;
	font-size: 0;
}

body.smenu #topblock {
	height: 50px;
}
body.smenu #topicons {
	display: none;
}
body.smenu #quicklinks {
	height: 100%;
}
body.smenu #quicklinks li {
	line-height: 50px;
}



#content {
	position: relative;
	z-index: 1;
}
#maincontent {
	position: relative;
	width: 75%;
	box-sizing: border-box;
	padding: 3% 5% 0 5%;
	z-index: 1;

}
#rightcontent {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 25%;
	background: #a90a2e;
	transition: all 0.3s ease;
}
body.smenu #rightcontent {
	position: fixed;
	top: 0!important;
	padding-top: 100px;
}
body.smenu #topblock {
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 21%, rgba(255,255,255,1) 69%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 21%,rgba(255,255,255,1) 69%,rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 21%,rgba(255,255,255,1) 69%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );
}
body.smenu #topblock::after {
	display: none;
}
#bt_left {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 42.105263%
}
#bt_left .slideblock {
	position: relative;
}
#bt_left .newsflash .imageblock {
	position: relative;
}
#bt_left .newsflash .imageblock::before {
	content:"";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
/*	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.8) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 );
	*/
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.8) 100%);
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,0.8) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,0.8) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 );
}
#bt_left .slick-next, #bt_left .slick-prev {
	height: 8vmin;
	width: 1.2vw;
	top:auto;
	bottom: 30%;
	transform: translate(0,50%);
	z-index: 9999;
}
#bt_left .slick-next {
	right: 2vw;
}
#bt_left .slick-prev {
	left: 2vw;
}
#bt_left .slick-next::before, #bt_left .slick-prev::before,
#bt_left .slick-next::after, #bt_left .slick-prev::after {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	content: "";
}
#bt_left .slick-next::before {
	background: url(../images/arrow_right.png) center center no-repeat;
	background-size: auto 100%;
	transition: all 0.3s ease;
}
#bt_left .slick-prev::before {
	background: url(../images/arrow_left.png) center center no-repeat;
	background-size: auto 100%;
	transition: all 0.3s ease;
}
#bt_left .slick-next::after {
	background: url(../images/arrow_right_h.png) center center no-repeat;
	background-size: auto 100%;
	transition: all 0.3s ease;
	opacity: 0;
}
#bt_left .slick-prev::after {
	background: url(../images/arrow_left_h.png) center center no-repeat;
	background-size: auto 100%;
	transition: all 0.3s ease;
	opacity: 0;
}
#bt_left .slick-next:hover::before {
	opacity: 0;
}
#bt_left .slick-prev:hover::before {
	opacity: 0;
}
#bt_left .slick-next:hover::after {
	opacity: 1;
}
#bt_left .slick-prev:hover::after {
	opacity: 1;
}
#bt_left .textblock {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	padding: 10% 15%;
	z-index: 999;
}
#bt_left .textblock .grid__column, #bt_left .textblock section, #bt_left .textblock .grid__column * {
	margin-top: 0!important;
	margin-bottom: 0!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
	color: #fff;
	font-size: 1.2vw;
	line-height: 1.6em;
}

#bt_left .textblock h3 {
	line-height: 0.8em;
	text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

#bt_left .textblock h3 a {
	color: #fff;
	font-family: 'unit-boldregular';
	font-size: 1.8vw;
}
#bt_left .textblock h3 a:hover {
	color: #a90a2e;
}
#bt_left .textblock a.readmore {
	color: #bb9d71;
}
#bt_left .textblock a.readmore:hover {
	color: #a90a2e;
}
#bt_right {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 57.894737%;
}
#bt_right > ul.menu {
	display: block;
/*	display: flex;
	align-items: center;
	justify-content: space-between; */
	position: absolute;
	height: 40%;
    padding: 0 5%;
    bottom: 14%;
    text-align: center;
	box-sizing: border-box;
	width: 100%;
}
#bt_right > ul.menu ul {
	display: none;
	opacity: 0;
	transition: all 0.3s ease;
}

body.mobile #bt_right > ul.menu > li.open > span {
	display: none;
}
#bt_right > ul.menu li:nth-child(1) ul {
	background: url(../images/family_b.png) center center no-repeat;
	background-size: auto 80%;
}
#bt_right > ul.menu li:nth-child(2) ul {
	background: url(../images/student_b.png) center center no-repeat;
	background-size: auto 70%;
}
	
#bt_right > ul.menu li:nth-child(3) ul {
	background: url(../images/familes_b.png) center center no-repeat;
	background-size: auto 80%;
}
	
	
#bt_right > ul.menu > li {
	list-style: none;
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	width: 33.333%;
	text-align: left;
	position: relative;
}
#bt_right > ul.menu > li:nth-child(1)  {
	text-align: left;
}
#bt_right > ul.menu > li:nth-child(2)  {
	text-align: center;
}
#bt_right > ul.menu > li:nth-child(3)  {
	text-align: right;
}
#bt_right > ul.menu > li:nth-child(3) span  {
	text-align: right;
}
#bt_right > .menu > li > a, #bt_right > .menu > li > span{
	display: block;
	height: 65%;
	margin-top: 10%;
	font-family: 'unit-regularregular';
	text-transform: uppercase;
}
#bt_right > .menu > li > a > img, #bt_right > .menu > li > span > img {
	display: inline-block;
	height: 100%;
	width: auto;
	vertical-align: middle;
	transition: all 0.3s ease;
}
#bt_right > .menu > li > a > span, #bt_right > .menu > li > span > span  {
	color: #bb9d71;
	display: inline-block;
	vertical-align: middle;
	padding-left: 10px;
	box-sizing: border-box;
	max-width: 50%;
	transition: all 0.3s ease;
}
body.desktop #bt_right > .menu li:hover > a > img, body.desktop #bt_right > .menu li:hover > a > span,
body.desktop #bt_right > .menu li:hover > span > img, body.desktop #bt_right > .menu li:hover > span > span,
body.mobile #bt_right > .menu li.open > a > img, body.mobile #bt_right > .menu li.open > a > span,
body.mobile #bt_right > .menu li.open > span > img, body.mobile #bt_right > .menu li.open > span > span { 
	opacity: 0;
	transition: all 0.3s ease;

}
body.desktop #bt_right > ul.menu li:hover > ul,
body.mobile #bt_right > ul.menu li.open > ul {
	display: block;
	opacity: 1;
	position: absolute;
	left: 50%;
	top: 50%;
	transform:translate(-50%, -50%);
	padding: 0;	
		transition: all 0.3s ease;

}

#bt_right > ul.menu li ul li {
	list-style: none;
	display: block;
	text-align: center;
}
#bt_right > ul.menu li ul li a {
	display: inline-block;
	font-family: 'unit-regularregular';
	text-transform: uppercase;
	color: #ffffff;
	white-space: nowrap;
	line-height: 1.6em;
	position: relative;
}
#rightcontent .moduletable {
	padding: 0 10% 20% 10%;
}
#rightcontent ul.menu {
	padding: 0;
}#rightcontent ul.menu ul {
	padding-left: 1vmin;
}
#rightcontent ul.menu li {
	list-style: none;
}
#rightcontent ul.menu li a {
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	font-family: 'unit-regularregular';
	position: relative;
	font-size: 1.2em;
	line-height: 1.5em;
}
#rightcontent ul.menu ul li a {
	text-transform: none;
}
#bt_right > ul.menu li ul li a:hover {
	font-weight: bold;
}
#rightcontent ul.menu li a:hover, #rightcontent ul.menu li.current > a {
	font-weight: bold;
}
#bt_right > ul.menu li ul li a::after, #rightcontent ul.menu li a::after {
	content: "\f105";
	display: inline-block;
	color: #bb9d71;
	vertical-align: middle;
	font-family: 'FontAwesome'; 
	font-weight: 900;
	font-size: 1em;
	margin: 0 0 3px -10px;
	opacity: 0;
	transition: all 0.6s ease;

}
#bt_right > ul.menu li ul li a::after {
	margin-left: 5px;
}
#bt_right > ul.menu li ul li:hover > a::after, #rightcontent ul.menu li:hover > a::after,
#bt_right > ul.menu li ul li.current > a::after { 
	opacity: 1;
	margin-left: 5px;
	
}
 #rightcontent ul.menu li.current > a::before {
	content: "\f105";
	display: inline-block;
	color: #bb9d71;
	vertical-align: middle;
	font-family: 'FontAwesome'; 
	font-weight: 900;
	font-size: 1em;
	margin: 0 0 3px -10px;
	transition: all 0.6s ease;
	 margin-right: 5px;
}
#intpage #footer {
	position: relative;
	font-size: 0;
	padding: 50px 0 20px 0;
}

#footer .moduletable:nth-child(1) {
	width: 15%;
	display: inline-block;
	vertical-align: middle;
}
#footer .moduletable:nth-child(2) {
	width: 70%;
	display: inline-block;
	font-size: 1vw;
	vertical-align: middle;
}
#fnx {
	width: 15%;
	display: inline-block;
	font-size: 1rem;
	vertical-align: middle;
	text-align: right;
}
#fnx a {
	display: inline-block;
	font-size: 0.9vw;
	line-height: 0.9em;
	font-family: 'unit-regularregular';
}
#fnx a img {
	display: block;
	width: 100%;
	height: auto;
}
#footer ul {
	padding: 0;
	margin-bottom: 0;
}
#footer ul li {
	list-style: none;
	display: inline-block;
	margin-right: 2vw;
	color: #bb9d71;
	 font-family: 'unit-regularregular';

}
#footer ul li:last-child {
	margin-right: 0;
}
#footer a {
	color: #bb9d71;
}
#footer a:hover {
	color: #a90a2e;
}
#homepage #footer a:hover {
	color: #ffffff;
}
#footer ul li a.fb, #footer ul li a.tw {
	display: block;
	width: 22px;
	height: 22px;
	position: relative;
	font-size: 0;
}
#footer ul li a.fb::after, #footer ul li a.tw::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	line-height: 22px;
	font-size: 22px;
	font-family: 'FontAwesome';
	font-weight: 900;
}
#footer ul li a.fb::after {
	content: "\f09a";
}
#footer ul li a.tw::after {
	content: "\f099";
}

#homepage #footer {
	padding: 0;
	position: absolute;
	bottom: 5px;
	right: 20px;
	left: 20px;
	font-size: 0;
	
}
#footer .moduletable:nth-child(2) ul li {
}
#footer ul li a.fb, #footer ul li a.tw,
#homepage #footer ul li a.fb::after, #homepage  #footer ul li a.tw::after {
	width: 26px;
	height: 26px;
	line-height: 26px;
}
#homepage #footer ul li a.fb::after, #homepage  #footer ul li a.tw::after {
	font-size: 26px;
}

input[type="checkbox"] {
	margin-right: 10px;
}
#maincontent .uk-checkbox:checked, #maincontent .uk-checkbox:indeterminate, #maincontent .uk-radio:checked, #maincontent .uk-button-primary {
	background-color: #a90a2e;
}
#maincontent .uk-input, #maincontent .uk-select, #maincontent .uk-textarea {
	color: #000;
}
.btn {
	background-color: none!important;
	border: none!important;
	display: inline-block;
	padding: 5px 20px 3px 20px;
	color: #fff!important;
	font-family: 'unit-regularregular';
	text-transform: uppercase;
	border: none;
	font-size: 1.2rem;
	line-height: 1.4em;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
	z-index: 1
}
.btn::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transition: all 0.6s ease;
	background-color: #a90a2e;
}
.btn::before {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	left: 0;
	right: 100%;
	top: 0;
	bottom: 0;
	transition: all 0.6s ease;
	background: #bb9d71;
}
.btn:hover::after {
	left: 100%;
}
.btn:hover::before {
	right: 0;
}
#search-form .btn {
	line-height: 42px;
	padding: 0 20px;

}
input, textarea {
	padding: 0 10px;
	border: 1px solid #e5e5e5;
	color: #666;
	display: inline-block;
	vertical-align: middle;
	font-size: 1.2rem;
}
input {
	height: 40px;
}
input:focus, textarea:focus {
	border-color: #499abb!important;
	outline: none!important;
}

.bigbutton {
	background: none!important;
	color: #fff!important;
	transition: all 0.3s ease-out!important;
	position: relative!important;
	text-align: left!important;
	padding: 2px 40px 2px 2px!important;
	display: flex;
    align-content: center;
    align-items: center;
}
.bigbutton i {
	font-size: 0!important;
	padding: 60px 40px!important;
	margin-right: 20px!important;
	background-size: cover!important;
	display: inline-block!important;
}
.bigbutton::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	background-color: #bb9d71!important;
}
.bigbutton::before {
	content: "";
	position: absolute!important;
	z-index: -1!important;
	display: block!important;
	left: 0!important;
	right: 100%!important;
	top: 0!important;
	bottom: 0!important;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	margin: 0 !important;
	background: #a90a2e url(../images/download_icon.png) 99% 95% no-repeat !important;
	background-size: auto 40px!important;
}
.bigbutton:hover::after {
	left: 100%!important;
}
.bigbutton:hover::before {
	right: 0!important;
}


.smbutton {
	background: none!important;
	color: #fff!important;
	transition: all 0.3s ease-out!important;
		padding: 6px 20px 6px 6px!important;

}
.smbutton i {
	font-size: 0!important;
	margin-right: 20px!important;

}
.smbutton::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	background-color: #bb9d71!important;
}
.smbutton::before {
	content: "";
	position: absolute!important;
	z-index: -1!important;
	display: block!important;
	left: 0!important;
	right: 100%!important;
	top: 0!important;
	bottom: 0!important;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	margin: 0 !important;
	background: #a90a2e url(../images/download_icon.png) 99% 95% no-repeat !important;
	background-size: auto 20px!important;
}
.smbutton:hover::after {
	left: 100%!important;
}
.smbutton:hover::before {
	right: 0!important;
}





.custombutton {
	background: none!important;
	color: #fff!important;
	transition: all 0.3s ease-out!important;
		padding: 2px 20px 2px 2px!important;

}
.custombutton i {
	font-size: 0!important;
	margin-right: 20px!important;

}
.custombutton::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	background-color: #bb9d71!important;
}
.custombutton::before {
	content: "";
	position: absolute!important;
	z-index: -1!important;
	display: block!important;
	left: 0!important;
	right: 100%!important;
	top: 0!important;
	bottom: 0!important;
	width: auto!important;
	height: auto!important;
	transition: all 0.6s ease;
	margin: 0 !important;
	background: #a90a2e!important;
}
.custombutton:hover::after {
	left: 100%!important;
}
.custombutton:hover::before {
	right: 0!important;
}


#maincontent #jevents_body {
	border: none;
	background: none;
	
}
#belltimes {
	white-space: nowrap;
	font-size: 0.6vw;
	font-family: 'unit-regularregular';
	padding: 5px!important;

}
#belltimes table tbody tr td:first-child {
	padding-right: 0!important;
}
a[data-active="true"] {
	background: #bb9d71;
	color: #fff;
	border: none!important;
}
video {
	display: block;
	max-width: 100%;
}
.items-row {
	margin-bottom: 50px;
}
.blog .cols-2 {
	font-size: 0;
}
.blog .cols-2 > .span6 {
	font-size: 1rem;
	display: inline-block;
	width: 50%;
	vertical-align: top;
	box-sizing: border-box;
}
.blog .cols-2 > .span6:first-child {
	padding-right: 30px;
}.blog .cols-2 > .span6:last-child {
	padding-left: 30px;
}
.blog .readmore::before {
	content: "";
	display: block;
	clear: both;
	width: 100%;
}
/*=====================Calendar========================*/
#maincontent #jevents_body .jev_underlay .jev_underlay_daynum_today div {
		background: #bb9d71;
}
#maincontent  #jevents_body * {
	border-radius: 0;
}
#maincontent #jevents_body .nav-items div.active a, #maincontent .jev_header2 .active a {
	background-color: #bb9d71!important;
	color: #fff!important;
	border: none!important;
}
#maincontent div.nav-items div:hover{
	background: #a90a2e;
}
#maincontent div.nav-items div:hover a {
		color: #fff!important;
}
#maincontent  #jevents_body #nav-search {
	display: none;
}
#maincontent .jev_toprow div.previousmonth, #maincontent .jev_toprow div.currentmonth, #maincontent .jev_toprow div.nextmonth {
	color: #000!important
}
#maincontent #jevents_body .nav-items > div {
	border: none;
}
#maincontent #jevents_body .jev_underlay .jev_underlay_outofmonth_start div,
#maincontent #jevents_body .jev_underlay .jev_underlay_outofmonth_end div {
	background: #f3f3f3;
}
#maincontent div.jev_daynum span {
	font-size: 0.8rem;
	color: #aaa;
}
#maincontent a.cal_daylink:link, #maincontent a.cal_daylink:visited, #maincontent a.cal_daylink:hover {
    font-family: 'unit-boldregular';
    font-size: 0.8rem;
    font-style: normal;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
}
#maincontent #jevents_body .jev_toprow div.previousmonth a,
#maincontent #jevents_body .jev_toprow div.nextmonth a {
	background: none!important;
	color: #fff!important;
}
#maincontent #jevents_body div.list_no_e, #maincontent #jev_maincal {
	border: none;
	background: none;
}
#maincontent div.jevdaydata div.jev_daynum_today a {
	color: #fff;
	
}

.eflpro_search_container {
	margin-bottom: 30px;
}
table.eflpro_standard tr td:first-child,
table.eflpro_standard tr th:first-child {
	text-align: center;
}
table.eflpro_standard tr td:first-child input,
table.eflpro_standard tr th:first-child input {
	margin: 0 10px;
}
table.eflpro_standard th {
	color: #fff;
}
.item-page .pull-none.item-image img {
	width: 100%;
}

	
@media screen and (max-width: 991px) {
	#belltimes {
		font-size: 0.8rem;
	}
}
	
@media screen and (min-width: 801px) {
	body.desktop #menuicon:hover #hnav span:nth-child(1) {
	top: 50%;
	transform: rotate(-35deg) translate(20%,-80%);
}

	body.desktop #menuicon:hover #hnav span:nth-child(2) {
		opacity: 0;
		right: 100%;
	}
	body.desktop #menuicon:hover #hnav span:nth-child(3) {
		top: 50%;
		transform: rotate(35deg) translate(20%,80%);
	}

	body.desktop #topblock.open #menuicon:hover #hnav span:nth-child(1) {
		top: 50%;
		transform: rotate(-35deg) translate(-20%,80%);
	}

	body.desktop #topblock.open #menuicon:hover #hnav span:nth-child(2) {
		opacity: 0;
		right: 100%;
	}
	body.desktop #topblock.open #menuicon:hover #hnav span:nth-child(3) {
		top: 50%;
		transform: rotate(35deg) translate(-20%,-80%);
	}
	#maincontent {
		position: relative;
		padding-bottom: 150px;
	}
	#intpage #footer {
		position: absolute;
		left: 5%;
		right: 5%;
		bottom: 0;
	}
	
}
@media screen and (max-width: 800px) {
	body#homepage {
	position:relative;
	}

	#logo {
		margin-left: 0;
	}
	#quicklinks {
		height: 50%;
	}
	#quicklinks li a {
		font-size: 1.6rem;
    line-height: 1.6em;
	}
	#quicklinks ul {
		text-align: right;
		padding-left: 30%;
	}
	#quicklinks li {
		height: auto;
	}
	#dslider {
		position: absolute;
		top: 65%;
		left: 0;
		right: 0;
		bottom: 0;
		
	}
	#homepage.wide #dslider {
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		display: none;
	}
	#bt_block {
		top: 45%;
		bottom: 0;
	}
	#bt_right{
		left: 0;
		bottom: 0;
		top: 65%;
		background: #a90a2e;
		width: 42.105263%
	}
	#bt_right > ul.menu {
		bottom: 25%;
		height: 70%;
	}
	#homepage #footer {
		height: 20%;
		bottom: 1vh;
	}
	#footer .moduletable:nth-child(2), #fnx a {

		font-size: 1rem;
		line-height: 1rem;
	}
		#homepage.wide #wrapper, #homepage.wide  #banner, #homepage.wide #bt_block {
		position: relative;
	}
	#homepage.wide #bt_block {
		margin-top: -20%;
	}
	#homepage.wide #bt_block #bt_right {
		position: relative;
	}
	#homepage.wide #bt_block #bt_right {
		top: auto;
		bottom: auto;
		height: 50vh;
		margin-top:-2vh;
	}
	#homepage.wide #bt_right > ul.menu {
		height: 60%;
		bottom: auto;
	}
	#footerbg .st1 {
		fill: #a90a2e;
	}

	#quicklinks {
		position: absolute;
		left: 0;
		top: 100%;
		right: 0;
		height: auto;
		opacity: 0;
		visibility: hidden;
		transition: all 0.5s ease;
	}
	#quicklinks.open {
		visibility: visible;
		opacity: 1;
	}
		
	#quicklinks ul {
		padding: 20px;
		background: #fff;
		text-align: left;
		font-size: 1rem;
		box-sizing: border-box;
		position: relative;
		height: auto;
		width: 100%;
	}
	#quicklinks ul li {
		padding-left: 0;
		padding-right: 2vw;
	}
	#topicons span {
		display: block;
	}
	#topicons {
		height: 50%;
		z-index: 0;
	}
	body.tall #topicons ul {
		display: flex;
  		flex-wrap: wrap;
	}
	body.tall #topicons ul li {
		width: 100%;
		flex: 0 50%;
		 padding: 8% 0;
	}
	body.tall #topicons a, body.tall #topicons span {
		margin-left: auto;
		text-align: center;
	}
	#topblock {
		transition: none;
		transition: background-color 0.3s ease;
	}
	#topblock.bgwhite {
		background-color: #fff;
	}
	#bt_left .textblock h3 a {
		font-size: 1.4rem;
	}
	#topblock #mainmenu,
	#topblock #mainmenu .menu {
		display: block;
	}
	#topblock.open  #mainmenu,
	#topblock.open  #mainmenu .menu {
		height: auto;
		padding: 20px

	}
	
	#topblock #mainmenu {
		text-align: left;
	}
	#topblock #mainmenu .menu li {
		display: block;
		top: auto;
		height: auto;
		padding: 0;
	}
		#topblock #mainmenu .menu li a, #topblock #mainmenu .menu li span {
		font-size: 2rem;
		display: block;
		opacity: 0;	
	}
	#topblock.open #mainmenu .menu li a, #topblock.open #mainmenu .menu li span {
		padding: 20px 30px;
		opacity: 1;
	}
	#mainmenu .menu li ul {
		visibility: hidden;
		display: none;
		position: relative;
		top: auto;
		transform: none;
		height: 0;
		transform-origin: center;
		padding: 20px 0;
		background:#499abb;
	}

	#mainmenu .menu > li:hover > ul, #mainmenu .menu > li:hover > ul {
		visibility: visible;
		display: block;
		height: auto; 
	}
	#mainmenu .menu > li > a::before, #mainmenu .menu > li > span::before {
		left: 100%;
		top:0;
}

	#mainmenu .menu > li:hover > a::before, #mainmenu .menu > li:hover  >span::before {
		left: 0;
	}
	#rightcontent {
		display: none;
	}
	#maincontent {
		width: 100%;
	}
	#intpage .st3 {
		fill:#ffffff;
	}
	/*
	#intpage .st2 {
		fill: #a90a2e;
	}
*/
	#mainmenu {

	}
	#topblock.open #mainmenu {
		bottom: 0;
		padding-right: 0;
		z-index: 999999;
		max-height: 100vh;
	}
	#topblock.open #mainmenu, #topblock.open #mainmenu .menu {
		padding: 0;
	}
	#topblock.open #mainmenu .menu {
		max-height: 100vh;
		overflow: scroll;
		background: #a90a2e;
	}
	#mainmenu .menu li ul {
		display: block;
		visibility: visible;
		height: auto;
		background: none;

	}
	#topblock.open #mainmenu .menu li ul {
		background:#499abb;
	}
		
	#mainmenu .menu li ul ul {
		left: 0;
		right: auto;
		padding: 0 0 0 20px;
	}
	#mainmenu .menu > li:nth-child(n+5) ul ul {
				left: 0;
		right: auto;
	}
	#topblock.open #mainmenu .menu li li a, #topblock.open #mainmenu .menu li li span {
		padding: 15px 20px 15px 50px;
		font-size: 1.5rem;
		line-height: 1rem;
	}
	#mainmenu .menu > li > a::before, #mainmenu .menu > li > span::before,
	#mainmenu .menu li li:hover > a, #mainmenu .menu li li:hover > span {
		background: none;
	}
	body.wide #bt_left .textblock .grid__column, body.wide#bt_left .textblock section, body.wide #bt_left .textblock .grid__column * {
		font-size: 1rem;
	}
	body.wide #bt_left .textblock h3 a {
		font-size: 2rem;
	}
	body.tall #bt_left .textblock .grid__column, body.tall #bt_left .textblock section, body.tall #bt_left .textblock .grid__column * {
		font-size: 1.5vh;
	}
	body.tall	#bt_left .textblock h3 a {
		font-size: 2vh;
	}

	
}

@media screen and (max-width: 767px) {
	#topblock {
		background: #fff;
		height: 15vh;
		position: relative;
		z-index: 99999;
	}
	#homepage.whide #topblock {
		height: 20vh;
	}
	#homepage.whide #bt_left .slick-next, #homepage.whide #bt_left .slick-prev {
		height: 20vmin;
	}
	#topicons {
		height: 50%;
		top: 5%;
		right: 15%;
		z-index: 9999;
	}
	#homepage #wrapper, #homepage  #banner, #homepage #bt_block,
	#homepage #bt_block #bt_right,
	#homepage #footer {
		position: relative;
	}
	#homepage #bt_block #bt_right {
		top: auto!important;
		bottom: auto;
		height: auto;
		margin-top:-2vh;
		
	}
	#homepage #bt_right > ul.menu {
		height: 60%;
		bottom: auto;
	}
	#bt_block {
		margin-top: -20%;
		max-height: none;
		top: auto;
		bottom: auto;
	}
	#bt_right > ul.menu {
		position: relative;
		height: auto;
	}
	#homepage.tall #dslider {
		top: 0;
		bottom: auto;
		height: 40vh;
	}
	#homepage.tall #bt_right > ul.menu > li {
		height: 15vh;
		text-align: center;
	}
	#homepage #footer {
		left: auto;
		right: auto;
		padding: 20px;
		
	}
	#footer .moduletable:nth-child(1) {
		width: 100%;
		text-align: center;
		padding: 40px 0 20px 0;
	}
	#footer .moduletable:nth-child(1) li {
		margin: 0 3vw
	}
	#footer .moduletable:nth-child(2) {
		width: 100%;
		text-align: center;
	}
	#footer .moduletable:nth-child(2) li {
		padding: 10px;
		box-sizing: border-box;
		width: 100%
	}
	#footer ul li a.fb, #footer ul li a.tw, #homepage #footer ul li a.fb::after, #homepage #footer ul li a.tw::after {
		width: 30px;
		height: 30px;
	}
	#homepage #footer ul li a.fb::after, #homepage #footer ul li a.tw::after {
		font-size: 30px;
		line-height: 30px;
	}
	#footer .moduletable:nth-child(2) ul li:first-child {
		text-transform: uppercase;
		font-weight: bold;
	}
	#fnx {
		padding-top: 30px;
		width: 100%;
		text-align: center;
	}



}

@media screen and (max-width: 480px) {
		#homepage.tall #bt_right > ul.menu > li, #bt_right > ul.menu > li:nth-child(3) span {
		text-align: left;
		padding-left: 9%;
		box-sizing: border-box;
	}
	#homepage.tall #bt_right > ul.menu > li, #bt_right > ul.menu > li:nth-child(1) span {
		padding-left: 12%;
		box-sizing: border-box;
	}
		#homepage.tall #bt_right > ul.menu > li, #bt_right > ul.menu > li:nth-child(2) span {
		padding-left: 15%;
		box-sizing: border-box;
	}
	#bt_right > ul.menu > li:nth-child(1)::after,
	#bt_right > ul.menu > li:nth-child(2)::after {
		content: "";
		display: block;
		left: 5%;
		right: 5%;
		height: 1px;
		background: #bb9d71;
		position: absolute;
		bottom: -10px;
	}
		#topicons {
		height: 45%;
		top: 5%;
		right: 30%;
	}
	#quicklinks li {
		display: block;
	}
	#bt_right > ul.menu > li {
		width: 100%;
	}
	#mainmenu {
		background: none;
		padding: 0!important;
	}
	#topblock #mainmenu {
		width: 100%;
		right: 0;
		left: 0;
	}
	#topblock #mainmenu .menu {
		position: absolute;
		top: 100%;
		background:  #a90a2e;
		width: 100%;
		max-height: 0;
		max-width: 100vw;
		padding: 0;
	}
	#topblock.open #mainmenu .menu{
		max-height: 85vh;
		max-width: 100vw;
		overflow: scroll;
		overflow-x: hidden;
		padding-left: 0;
		padding-right: 0;
	}
	#menuicon {
		left: auto;
		right: 0;
	}
	#topblock.open #mainmenu .menu li a, #topblock.open #mainmenu .menu li span {
		font-size: 1.2rem;
	}
	#footer .moduletable:nth-child(2) a {
		display: block;
	}
	body.mobile #bt_right > ul.menu ul {
	height: 0;
	overflow: hidden;
}
body.mobile #bt_right > ul.menu > li.open {
	height: auto!important;
	padding: 0!important;
}
body.mobile #bt_right > ul.menu > li.open > ul {
	height: auto;
	padding: 30px;
	position: relative;
	left: auto;
	right: auto;
	transform: none;
}
}
	
