.logo {
	display: inline-block;
/*	max-width: 140px;*/
	max-height: 40px;
}
#hero {
	position: relative;
	text-align: center;
	color: #fff;
	min-height: 140px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 40px 0;
}
footer {
	text-align: center;
	color: #868e96;
	background-color: #f8f9fa;
}
.applyboxes .position-absolute {
	left: 0;
	bottom: 1em;
}
.btn-xs {
	min-width: 80px;
}
.btn-s {
	min-width: 100px;
}
.btn-l {
	min-width: 120px;
}
.btn-upload {
	position: relative;
	font-weight: 600;
	padding-left: 3rem;
}
.btn-upload i {
	position: absolute;
	left: -4px;
	top: 3px;
	font-size: 38px;
	opacity: .4;
}
.was-validated .form-control:valid {
	border-color: #ced4da;
}
.custom-control-input.is-valid~.custom-control-label, .was-validated .custom-control-input:valid~.custom-control-label {
    color: #212529;
}
.was-validated .custom-control-input:valid~.custom-control-label::before {
	background-color: #dee2e6;
}
.invalid-file {
	border-color: #dc3545!important;
	overflow: hidden;
}

#webform label {
/*	line-height: 1.1;*/
}
.filelist>div {
	position: relative;
	border-bottom: 1px solid #ddd;
	padding: .4rem 2rem .4rem .4rem;
	margin-bottom: .8rem;
}
.rem {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.6rem;
	cursor: pointer;
}
.remico {
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}
.fclabel {
	display: block;
	position: relative;
}
.fclabel>div {
	min-height: 1.1rem;
}
.tipbox {
	position: absolute;
	top: 2px;
	right: 2px;
	font-size: 1.1rem;
}
.signbox{
	height: 100px;
}
.signbox img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}
.sigwrap {
	max-width: 320px;
}
#webform textarea.form-control {
	padding-bottom: .8rem;
}
.form-control-ml5 {
	max-width: 90px;
}
.form-control-ml10 {
	max-width: 140px;
}
.form-control-ml20 {
	max-width: 240px;
}

.newsboxes h2 {
	font-weight: 400;
	letter-spacing: -1px;
}
.news {
	padding-bottom: .5rem;
	margin: 1rem 0;
	overflow: hidden;
}
.news .date {
	float: left;
	text-align: center;
	margin: .25rem .7rem 0 0;
}
.date .day {
	display: block;
	font-size: 18px;
	font-weight: 600;
	background-color: #fff;
	padding: 8px;
}
.date .mon {
	display: block;
	font-size: 14px;
	color: #fff;
	background-color: #818081;
	padding: 0 12px 1px 12px;
}
.news .box {
	overflow: hidden;
}
.news h5 {
	font-weight: 400;
	margin-bottom: 0;
}
.news h5 a {
	color: #212529;
}
.news p {
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-bottom: 0;
	overflow: hidden;
}
.art-content img {
	max-width: 100%;
}

.overtop {
	height: 20px;
}
.ticker {
	font-size: 13px;
	white-space: nowrap;
	line-height: 20px;
	overflow: hidden;
}
.ticker>span {
	display: inline-block;
	padding: 0 15px;
}
.ticker a, .ticker a:hover, .ticker a:visited, .ticker a:active {
	text-decoration: none;
	color: #000;
}

/* misc */
.unmargin {
	margin-right: -15px;
	margin-left: -15px;
}
.top-left {
	top: 0;
	left: 0;
}
.top-right {
	top: 0;
	right: 0;
}
.bottom-left {
	bottom: 0;
	left: 0;
}
.bottom-right {
	bottom: 0;
	right: 0;
}
.d-hide {
	display: none;
}
.text-small {
	font-size: .9rem;
}
.text-ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.text-code {
	max-width: 100px;
}
.no-underline, a.no-underline {
	text-decoration: none;
}
.must:after {
	position: relative;
	top: -4px;
	content: "*";
	font-family: monospace;
	font-weight: bold;
	color: #e01111;
    margin: 0 0 0 2px;
}
.wait {
	background-image: url('img/wait.gif');
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.wait>* {
	visibility: hidden;
}

@media (min-width: 768px) {
	#hero {
		min-height: 290px;
		padding: 80px 0 40px 0;
	}
	
	.fc-horizontal .form-group {
		padding-left: 140px;
		overflow: hidden;
	}
	.fc-horizontal label.fclabel {
		float: left;
		text-align: right;
		width: 130px;
		margin-left: -140px;
	}
}
@media (min-height: 600px) {
	#sitemain {
		min-height: 532px!important;
	}
}
@media (min-height: 768px) {
	#sitemain {
		min-height: 700px!important;
	}
}


#fullsupport {
	position: fixed;
	right: 15px;
	bottom: 10px;
	background-color: transparent;
	z-index: 10002;
}
#fullsupport .sicon {
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
}
#fullsupport button, #fullsupport a {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 26px 26px;
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	margin: 2px 0;
}
#fullsupport .phone {
	background-color: #FF5A00;
	border-color: #FF5A00;
	background-image: url('/vendor/icons/phone.svg');
}
#fullsupport .email {
	background-color: #17A2B8;
	border-color: #17A2B8;
	background-image: url('/vendor/icons/email.svg');
}
#fullsupport .viber {
	background-color: #7B519C;
	border-color: #7B519C;
	background-image: url('/vendor/icons/viber.svg');
}
#fullsupport .line {
	background-color: #00B900;
	border-color: #00B900;
	background-image: url('/vendor/icons/line.svg');
}
#fullsupport .snapchat {
	background-color: #FDFB1C;
	border-color: #FDFB1C;
	background-image: url('/vendor/icons/snapchat.svg');
}
#fullsupport .messenger {
	background-color: #0084FF;
	border-color: #0084FF;
	background-image: url('/vendor/icons/messenger.svg');
}
#fullsupport .whatsapp {
	background-color: #14D61E;
	border-color: #14D61E;
	background-image: url('/vendor/icons/whatsapp.svg');
}
#fullsupport .skype {
	background-color: #00A9F0;
	border-color: #00A9F0;
}
#fullsupport .support {
	background-color: #A11D20;
	border-color: #A11D20;
}
#fullsupport i {
	font-size: 28px;
	line-height: 48px;
}
#fullsupport button:focus {
	outline: none;
}
#fullsupport.open .sicon {
	max-height: 60px;
}
@media (min-height: 600px) {
	#fullsupport button, #fullsupport a {
		margin: 5px 0;
	}
}
