/*WCAG*/
.highcontrast .bg-main {
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-attachment: scroll;
        background-size: auto;
    background-repeat: no-repeat;
    background-position: right top;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}
.highcontrast .square {
    border: 10px solid #FF0;
    background: #000000;
    color: #FF0;
}
.highcontrast .alert {
    border: 10px solid #FF0;
    background: #000000;
    color: #FF0;
}
.highcontrast .form-check-input {
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    border: 2px solid rgba(0,0,0,1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}
.highcontrast .form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}
.highcontrast input,
.highcontrast optgroup,
.highcontrast select,
.highcontrast textarea {
	background:none;
	background-color:transparent;
	border:2px solid #000000;
	color:#000000;
}
.highcontrast .bg-okp-color {
    background: #000000;
	color:#FF0 !important;
}
.highcontrast header, 
.highcontrast .main-container, 
.highcontrast footer,
.highcontrast .wcag-menu a.jfontsize-button {
	background:#FF0;
	color:#000000;
}
.highcontrast .wcag-menu a.jfontsize-button:hover {
    background: #000000;
    color: #FF0;
}
.highcontrast .contrast-btn label:hover, 
.highcontrast footer .footer-menu a:hover {
    color: #000000;
    text-decoration: underline;
}
.highcontrast footer .footer-menu a {
    color: #333333;
}
.highcontrast .social-media a {
    background: #000000;
}
.highcontrast .logo img {
		 filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */
}
.highcontrast .btn-bg-okp {
    background: #000000;
    color: #FFFFFF;
	border-color:#000000;
}
.highcontrast .txt-okp-color, 
.highcontrast footer .footer-menu a {
    color: #000000;
}
.highcontrast .contrast-v {
	display:none;
}
.highcontrast .full-v {
	display: inline-block;
}
.contrast-btn img {
    height: 45px;
    width: auto;
    /*margin-top: -4px;*/
    margin-right: 8px;
}
.contrast-btn label {
	cursor:pointer;
}
.contrast-btn label:hover {
	color:#a9172f;
	text-decoration:underline;
}


/*MAIN STYLES*/
html, body {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.6;
}
.txt-okp-color {
	color:#a9172f;
}
.txt-okp-color-green {
	color:green;
}
.bg-okp-color {
	background:#a9172f;
}
.main-container {
	background:#fff; 
	margin:100px auto;
	border-radius:20px 20px;
}
.inner-header {
	border-radius:20px 20px 0 0;
}
.inner-container {
	padding:50px; 
}
main {
	min-height:	calc(100vh - 220px);
}
img {
	box-sizing:border-box;
	max-width: 100%;
	height: auto;
}
.square:before{
    content: "";
    display: block;
    padding-top: 100%;  /* initial ratio of 1:1*/
}
.square {
	border:10px solid #FFFFFF;
	border-radius:20px;
	position:relative;
	/*background:#00004D;*/
	color:#FFFFFF;
		transition: all 0.1s ease 0s!important;
    -moz-transition: all 0.1s ease 0s!important;
    -webkit-transition: all 0.1s ease 0s!important;
    -o-transition: all 0.1s ease 0s!important;
    -ms-transition: all 0.1s ease 0s!important;
}
.square:hover {
	background:#333333;
 	-ms-transform: scale(1.04, 1.04); /* IE 9 */
    -webkit-transform: scale(1.04, 1.04); /* Safari */
     transform: scale(1.04, 1.04);
}
.square a{
    float: left;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	color:#ffffff;
}
.direction-title {
	font-size:13px;
	line-height:16px;
}
.direction-title strong{
	font-size:16px;
	line-height:19px;
}
.direction-icon img {
	height:50px;
	width:auto;
	margin-bottom:15px;
}
.inner-content {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left:25px;
  right:25px;
}

/*HEADER*/
.bg-main {
	background-repeat:no-repeat;
	background-position:right top ;
	background-attachment:fixed;
	background-size:cover;
	min-height: 100vh;
}
header {
	background:#FFFFFF;
}
header, .logo {
	height:100px;
}
.logo img {
	height:100%;
	width:auto;
	padding:20px 0;
	float:left;
	box-sizing:border-box;
	image-rendering: -webkit-optimize-contrast;
}
.logo  {
    float: left;
    height: 100%;
    width: 100%;
    
}
.social-media a {
	border-radius:100%;
	background:#a9172f;
	text-align:center;
	width:40px;
	height:40px;
	float:right;
	line-height:36px;
	margin-left:5px;
	 user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
}
.social-media a img {
	width:24px;
	height:auto;
}
.wcag-menu {
	text-align:right;
	padding-top:25px;
}
.wcag-menu a.jfontsize-button {
    color: #FFFFFF;
	background:#a9172f;
    text-decoration: none !important;
    font-size: 23px;
    font-weight: 300;
	width:45px;
	height:45px;
	line-height:42px;
	text-align:center;
	float:right;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0px 4px 0px 4px;
    margin-left: 2px;
    margin-right: 2px;
	 user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	border:1px solid #a9172f;
	border-radius:100%;
}
.wcag-menu a.jfontsize-button:hover  {
	border-radius:0px;
	background:#FFFFFF;
	color:#a9172f;
}
.contrast-btn {
    color: #333333;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-left: 2px;
    margin-right: 2px;
	 user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	line-height:43px;
	margin-right:25px;
}
.contrast-btn:hover {
	text-decoration:underline !important;
	color:#a9172f;
}
.contrast-v {
	display: inline-block;
}
.full-v {
	display:none;
}

/*BUTTONY*/

.btn-bg-okp{
	background:#a9172f;
	color:#FFFFFF;
	border:2px solid #a9172f;
	border-color: #a9172f;
}
.btn-bg-okp:hover, 
.btn-bg-okp:active,
.btn-bg-okp:focus {
	background:#008bd2;
	color:#FFFFFF; 
	border:2px solid #008bd2;
}
.btn.bold {
	font-weight:500;
}
.btn.upper {
	text-transform:uppercase;
}
/*FORMS*/
form label {
	text-transform:uppercase;
	font-weight:bold;
}
[type="button"], [type="reset"], [type="submit"] {
	text-transform:uppercase;
}

[type="button"] img, [type="reset"] img, [type="submit"] img, .btn-primary img {
	width:30px;
	height:auto;
	margin-right:7px;
}
.form-check-input:checked {
    background-color: #a9172f;
    border-color: #a9172f;
}
.form-switch .form-check-input {
	height:1.5rem;
	width:2.5rem;
	margin-right:0.5rem;
	margin-left:-3.5rem
}
.form-check {
    min-height: 2rem;
    margin-bottom: 1.175rem;
}
label {
    user-select: none;
}

/*FOOTER*/
footer {
	background:#FFFFFF;
	color:#333333;
	font-size:14px;
}
footer .footer-menu a {
	text-decoration:none;
	color:#333333;
}
footer .footer-menu a:hover {
	text-decoration:underline !important;
	color:#a9172f;
}


/*MOBILE*/
@media (max-width: 1400px) {
.directions .col-md-4 {
    flex: 0 0 auto;
    width: 50%;
}
.col-md-8.directions {
	width:100%;
}
}
@media (max-width: 1200px) {
.contrast-btn label {
	display:none;
}
.contrast-btn img {
    margin-right: 0px;
}
}
@media (max-width: 991px) {
.contrast-btn {
    font-size: 14px;
    font-weight: 400;
    margin-left: 0px;
    line-height: 43px;
    margin-right: 15px;
}
.wcag-menu a.jfontsize-button {
    font-size: 16px;
    width: 32px;
    height: 32px;
    line-height: 30px;
	margin-top:5px
}
.inner-header-ico {
	padding-right: 0.5rem!important;
    padding-left: 0.5rem!important;
} 
.registration .col-md-6, .registration .col-md-3 {
	width:100%;
}
.col-md-8.index-page {
	width:100%; 
}
}
@media (max-width: 767px) {
.inner-header-ico {
	display: none !important;
}
.inner-header-txt {
	padding-left:0px;
}
.inner-container {
    padding: 50px 30px 40px 30px;
}
.main-container.index-page .text-end {
    text-align: left!important;
}
.main-container.index-page .py-3 {
    padding-top: 0rem!important;
    padding-bottom: 0rem!important;
}
.main-container.index-page  .mb-5 {
	margin-bottom:10px !important;
}
.main-container.index-page .col-md-5.text-end, .main-container.index-page .col-md-5.text-start  {
    text-align:center!important;
}
.main-container {
    margin: 50px auto;
}
header .col-md-6 {
	float:left;
	width: auto;
}
.wcag-block.col-md-6 {
	float:right;
	
    flex: auto;
}
.logo img {
    height: auto;
    width: 150px;
	margin-top:10px;
}
.social-media a img {
    width: 16px;
}
.social-media a {
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.social-media a {
    float: left;
    margin-top: 10px;
}
}
@media (max-width: 520px) {
.directions .col-md-4 {
    flex: 0 0 auto;
    width: 100%;
}
.direction-title {
    font-size: 16px;
    line-height: 20px;
}
.direction-title strong {
    font-size: 20px;
    line-height: 22px;
}
}
@media (max-width: 450px) {
.wcag-menu {
    padding-top: 20px;
}
.logo img {
    height: auto;
    width: 130px;
	margin-top:5px;
}	
.social-media a img {
    width: 10px;
}
.social-media a {
    width: 20px;
    height: 20px;
    line-height: 17px;
	margin-left: 2px;
}
header, .logo {
    height: 80px;
}
.contrast-btn {
    margin-right: 8px;
}
}
@media (max-width: 380px) {
.logo img {
    width: 120px;
}
.wcag-menu a.jfontsize-button {
    font-size: 12px;
    width: 25px;
    height: 25px;
    line-height: 24px;
    margin-top: 10px;
}
.contrast-btn img {
    height: 20px;
    margin-top: 0px;
}
.contrast-btn {
    margin-right: 4px;
}
.direction-title {
    font-size: 15px;
    line-height: 18px;
}
.direction-title strong {
    font-size: 18px;
    line-height: 20px; 
}
.inner-content {
    left: 15px;
    right: 15px;
}
}


	