.pre_header1, h1 {
	font-size: 36px;
	text-align: center;
	font-weight: 300;
	letter-spacing: -1px;
	padding-bottom: 30px;
	line-height: 1.15;
	padding-top: 50px;
}
.pre_header2, h2 {
	font-size: 32px;
	text-align: center;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.15;
	padding-bottom: 30px;
	padding-top: 30px;
}
h1+.pre_header2, h1+h2 {
	margin-top: -20px;
	padding-top: 0;
	font-weight: 700;
	font-size: 24px;
	color: #356b8e;
}
.pre_header3, h3 {
	font-size: 30px;
	text-align: center;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.15;
	padding-bottom: 30px;
	padding-top: 30px;
}
.pre_header4, h4 {
	font-size: 27px;
	text-align: center;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.15;
	padding-bottom: 25px;
	padding-top: 30px;
}
.pre_header5, h5 {
	font-size: 24px;
	text-align: center;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.15;
	padding-bottom: 20px;
	padding-top: 30px;
}
.pre_button {
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding: 10px 25px;
	border: 1px solid rgba(24,86,126, 0.3);
	border-radius: 3px;
	font-size: 14px;
	line-height: 1.15;
	color: #18567e;
	font-weight: 400;
	transition: 0.5s;
}
.pre_button.blue {
	background: #356b8e;
	color: #fff;
	border-color: #356b8e;
}
.pre_button.red {
	background: #cc0000;
	color: #fff;
	border-color: #cc0000;
}
.pre_button.large {
	padding: 14px 40px;
	font-size: 18px;
	letter-spacing: -0.5px;
}
.color-red {
	color: #cc0000;
}
.pre_block_button .pre_button+.pre_button {
	margin-left: 20px;
}
.pre_button:hover {
	background: rgba(24,86,126, 0.1);
}
.pre_button.blue:hover {
	background: #ba1717;
	border-color: #ba1717;
}
.pre_button.red:hover {
	background: #363636;
	border-color: #363636;
}
form.pre_form {
	font-size: 0;
	line-height: 0;
	text-align: left;
	margin-right: -30px;
	padding-bottom: 30px;
}
.pre_form_inline form.pre_form {
	margin-right: -10px;
}
form .pre_input {
	box-sizing: border-box;
	width: 33.33%;
	padding-right: 30px;
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
	line-height: 1;
	padding-bottom: 30px;
	text-align: left;
}
.pre_form_compact form .pre_input {
	width: 50%;
}
.pre_form_inline {
	max-width: 640px;
	margin: 0 auto;
}
.pre_form_inline form .pre_input {
	padding-right: 10px;
}
form .pre_input.textarea, form .pre_input.box_wrapper {
	width: 100%;
}
form .pre_input.box_wrapper {
	text-align: center;
}
form .pre_input label {
	position: relative;
	padding: 0 11px 10px 11px;
	display: block;
	font-size: 14px;
	color: #454545;
}
form .pre_input .pre_error {
	position: relative;
	padding: 5px 11px 0 11px;
	display: block;
	line-height: 1.3;
	font-size: 13px;
	color: #cc0000;
}
form .pre_input.errored label {
	color: #cc0000;
}
form .pre_input.errored label:before {
	/*background: transparent url(../images/alert.png) 50% 50% no-repeat;*/
	background-size: 16px 16px;
	display: block;
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	top: 0;
	right: 11px;
}
form .pre_input input[type='text'],
form .pre_input input[type='password'],
form .pre_input select, 
form .pre_input textarea {
	background: #fff;
	display: block;
	padding: 10px 10px 11px 10px;
	border: 1px solid #cccccc;
	border-radius: 2px;
	color: #292929;
	font-weight: 400;
	font: 14px/1 'Open Sans', sans-serif;
	line-height: normal;
	width: 100%;
	box-sizing: border-box;
	transition: 0.5s;
}
form .pre_input select {
	background: #fff;
	/*background-image: url(../images/select_bg.png);*/
	background-position: 100% 50%;
	background-repeat: no-repeat;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-overflow: '';
	-ms-appearance: none;
	appearance: none!important;
	cursor: pointer;
	padding-right: 60px;
}
form .pre_input input[type='password'] {
	background: #fff;
	/*background-image: url(../images/password.png);*/
	background-position: 100% 50%;
	background-repeat: no-repeat;
	padding-right: 60px;
}
form .pre_input textarea {
	resize: none;
	height: 180px;
}
form .pre_input select::-ms-expand {
	display: none;
}
form .pre_input.errored input[type='text'], 
form .pre_input.errored input[type='password'],
form .pre_input.errored select,
form .pre_input.errored textarea {
	border: 1px solid #d98f8f;
}
form .pre_input input[type='text']:focus, 
form .pre_input input[type='password']:focus,
form .pre_input select:focus,
form .pre_input textarea:focus {
	border: 1px solid #0d5a8c;
}
.pre_form_compact.align-center form,
.pre_form_compact.align-center form .pre_input,
.pre_form_compact.align-center form .pre_input label,
.pre_form_compact.align-center form .pre_input input {
	text-align: center;
}
.pre_submit {
	text-align: center;
	padding-right: 30px;
}
.pre_form_inline .pre_submit {
    padding-right: 10px;
}
.pre_text .pre_submit .pre_button {
	margin: 0;
	margin-top: 10px;
}
.pre_form_compact {
	max-width: 640px;
	margin: 0 auto;
}

.pre_form_compact_duplicate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 10px;
  flex-wrap: wrap;
}

.pre_form_compact_duplicate .pre_input {
    flex: 1;
    padding-right: 0;
    padding-bottom: 0;
}

.pre_form_compact_duplicate.align-center form,
.pre_form_compact_duplicate.align-center form .pre_input,
.pre_form_compact_duplicate.align-center form .pre_input label,
.pre_form_compact_duplicate.align-center form .pre_input input {
	text-align: center;
}

.pre_form_compact_duplicate form .pre_input {
	width: 100%;
}

@media (max-width: 768px) {
  .pre_form_compact_duplicate {
    flex-direction: column;
    align-items: stretch;
  }

  .pre_form_compact_duplicate .pre_input {
    width: 100%;
  }

  .pre_form_compact_duplicate .pre_input input,
  .pre_form_compact_duplicate .pre_input select {
    width: 100%;
  }
}

#addItemButton {
	margin-bottom: 5%;
	background-color: skyblue;
}

.pre_checkbox {
	display: inline-block;
	vertical-align: top;
	padding-left: 26px;
	position: relative;
}
.pre_checkbox input {
	display: block;
	position: absolute;
	left: 0;
	top: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 0;
	padding: 0;
}
.pre_input .pre_checkbox label {
	display: inline;
	margin: 0;
	padding: 0;
}

#info_popup_overlay {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:black;
	z-index:400;
    background: RGBA(0,0,0,0.5);
}

#info_popup {
	position:fixed;
	width:70%;
	//height:70%;
	left:15%;
	top:25%;
	#padding:2%;
	background-color:white;
	border:4px solid black;
	border-radius:20px;
	z-index:900;
	display:block;
}

#info_popup_bottom {
	width:100%;
	height:64px;
	text-align:center;
	border-top:1px solid gray;
	padding-top:10px;
	float:left;
}

/* BANNERS */

#ad_banner_wrapper {
	position: relative;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
	text-align:center;
	margin:auto;
	margin-left:20px;
}

.ad_banner_lite {
	display: inline-block;
	margin: 0 20px 20px 0;
	text-align: left;
	width:15%;
	min-width:240px;
	max-width:240px;
}

.ad_banner_lite {
	padding: 14px 20px 12px 20px;
	margin-bottom: 20px;
	border: 1px solid #0864ba;
	text-decoration: none;
	color: #313131;
	font-size: 15px;
	line-height: 1.4;
	transition: 0.3s;
}

.ad_banner_lite img {
	width: 42px;
	height: 42px;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	left: 0;
	transition: 0.3s;
}
.ad_banner_lite strong {
	padding-left: 55px;
	position: relative;
	color: #0864ba;
	display: block;
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 12px;
	text-transform: uppercase;
	transition: 0.3s;
}
.ad_banner_lite strong span {
	color: grey;
	display: block;
	font-weight: 400;
	font-size: 15px;
	padding-top: 0;
	transition: 0.3s;
	text-transform: lowercase;
}
.ad_banner_lite.dark {
	border: 1px solid #0e4870;
}
.ad_banner_lite.dark strong {
	color: #0e4870;
}
.ad_banner_lite.orange {
	border: 1px solid #f28900;
}
.ad_banner_lite.orange strong {
	color: #f28900;
}
.ad_banner_lite:hover {
	border: 1px solid #0864ba;
	background: #0864ba;
	color: #fff;
}
.ad_banner_lite:hover strong {
	color: #fff;
	padding-left: 0;
}
.ad_banner_lite:hover strong span {
	color: #fff;
}
.ad_banner_lite:hover img {
	opacity: 0;
}


/* PROFILES */

#profile_list {
	position: relative;
	font-size: 0;
	line-height: 0;
}
#profile_list .profile_list_item {
	max-width: 760px;
	margin: 0 auto;
	font-size: 14px;
	white-space: nowrap;
	line-height: 1.3;
}
#profile_list .profile_list_label {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	padding: 14px 20px;
	box-sizing: border-box;
	text-align: right;
	color: #7c7c7c;
	white-space: normal;
}
#profile_list .profile_list_value {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	padding: 14px 20px;
	box-sizing: border-box;
	text-align: left;
	white-space: normal;
}
#profile_list .profile_list_item+.profile_list_item {
	border-top: 1px solid rgba(0,0,0, 0.15);
}
#profile_list .profile_list_item .pre_button {
	padding: 5px 25px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}
#content p.small {
	font-size: 13px;
}
#content p.max640 {
	max-width: 640px;
	margin: 0 auto;
}

.info-list {
	margin-top:25px;
	margin-bottom:25px;
}

.info-list li {
	margin-bottom:5px;
}

.real-hint {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 10px;
  display: none;
  padding: 5px 10px;
  position: absolute;
  width: 250px;
  z-index: 99;
}

.real-hint .hint-caption {
	font-weight: bold;
	text-transform: uppercase;
}

.real-hint .prm-cross {
	/*background: url("/images/cross.jpg") no-repeat scroll right top rgba(0, 0, 0, 0);*/
	cursor: pointer;
	float: right;
	height: 16px;
	margin-top: 3px;
	padding-left: 15px;
	right: 10px;
	width: 16px;
}

.real-show-hint {
	cursor: pointer;
	#border-bottom: dashed 1px;
	color: #8c0000;
}