/* DEFAULTS */

body {
	font: 14px/1.42857143 "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	margin: 0;
	padding: 0;	
	background: #f7f7f7 url(/img/mobile/expander7.png) repeat-x;
}

.ntaphone body {
	font: 14px/22px Verdana;
	background: #f7f7f7 url(/img/mobile/expander9.png) repeat-x;
}

html { overflow-y: scroll; }
html { overflow: -moz-scrollbars-vertical; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

a img {
	border: none;
}

a, input, button {
    -ms-touch-action: none !important;
}

/* LAYOUT */

#page {
	text-align: left;
	width: 790px;
	margin: 0 auto;
}

.ntaphone #page {
	width: auto;
}

#header{
	position: relative;
	height: 53px;
	background: #cbebf3 url(/img/mobile/expander9.png) repeat-x;
}

.ntaphone #header {
	background: transparent;
}

#mobile-logo {
	position: absolute;
	top: 5px;
	left: 15px;
}

.ntaphone #mobile-logo {
	left: 10px;
}

#dropdown-menulink {
	float: right;
	margin: 5px 18px 0 0;
	display: inline-block; 
	height: 40px; 

	line-height: 40px;
	font-size: 18px;
	text-decoration: none;
}

#dropdown-menulink img {
	margin-top: -4px;
	vertical-align: middle;
	width: 40px;
	height: 40px;
}

#dropdown-menulink span {
	display: inline-block;
	color: #000;
}

#menu-dropdown {
	background: #ccc;
	color: #000;
}

#menu-dropdown a {
	color: #fff;
}

#header-corner-left {
	position: absolute;
	top: 0;
	left: 0;
	width: 24px;
	height: 53px;
	background: url(/img/mobile/left2.png) no-repeat;
}

.ntaphone #header-corner-left {
	background: transparent;
}

#header-corner-right {
	position: absolute;
	top: 0;
	right: 0;
	width: 6px;
	height: 53px;
	background: #cbebf3 url(/img/mobile/right2.png) no-repeat;
}

.ntaphone #header-corner-right {
	background: transparent;
}

#header #top {
	position: absolute;
	top: 12px;
	right: 15px;
	line-height: 30px;
	font-size: .9em;
	text-align: right;
}

#top-username {
    display: inline-block;
	float: left;
	width: 180px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#top-logout {
	display: inline-block;
	float: left;
}

#header #logolink {
	position: absolute;
	top: 8px;
	left: 17px;
}

#contentarea {
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	overflow: hidden;
	margin-left: 3px;
	margin-right: 3px;
}

.ntaphone #contentarea {
	border-left: none;
	border-right: none;
	margin-left: 0;
	margin-right: 0;
}

#contentarea.with-leftmenu {
	background: #fff url(/img/layout/bg2.gif) repeat-y;
}

#leftmenu {
	width: 200px;
	float: left;
	padding: 10px 20px 10px 20px;
	overflow: hidden;
}

#leftmenu a {
	display: block;
	margin-bottom: 0px;
}

#leftmenu a.active {
	font-style: italic;
}

#content {
	width: 740px;
	padding: 20px 20px 20px 20px;
	overflow: hidden;
}

#content.with-leftmenu {
	width: 700px;
	margin: 0px;
}

.ntaphone #content {
	width: auto;

	padding: 1em;
	padding-bottom: 2em;
}

#footer{
	text-align: center;
	color: #666666;
	clear: both;
	font-size: .9em;
	line-height: 2em;

	margin-bottom: 3em;

	background: #d9d9dc;
	background: -moz-linear-gradient(top, #f0f0f0 0%, #d9d9dc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#d9d9dc));
	background: -webkit-linear-gradient(top, #f0f0f0 0%,#d9d9dc 100%);
	background: -o-linear-gradient(top, #f0f0f0 0%,#d9d9dc 100%);
	background: -ms-linear-gradient(top, #f0f0f0 0%,#d9d9dc 100%);
	background: linear-gradient(to bottom, #f0f0f0 0%,#d9d9dc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#d9d9dc',GradientType=0 );

	border: 1px solid #ccc;
	border-top: none;
	border-bottom-right-radius: 10px;

	margin-left: 3px;
	margin-right: 3px;
}

.ntaphone #footer {

	line-height: 2em;
	
	margin-bottom: 0;

	padding: .5em 1em;

	border-bottom-right-radius: 0 0;

	border-left: none;
	border-right: none;
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 360px) {
  .hidden-phone {
	display: none !important;
  }
}

/* NAVIGATION */

#footer a, #menu a, #top a {
	color: #363636;
}

#mobile-menu {
	list-style: none;
}

#mobile-menu li {
	display: inline;
}

.mobile-button {
	display: inline-block;
	background: #336C9B;
	padding: .2em 1em;
	border: 1px solid #555;
	border-radius: 1em;
	text-decoration: none;
	margin-bottom: .5em;
	min-width: 70px;
}

.mobile-button-icon {
	padding: .5em .5em .2em .5em;
}

.mobile-button:hover {
	background: #4087c2;
}

#menu {
	position: absolute;
	top: 8px;
	left: 190px;
	list-style: none;
}
#menu li {
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 30px;
	opacity: .4;
}
#menu a {
	float: left;
	margin: 0;
	padding: 0 0 0 5px;
	text-decoration: none;
	margin-right: 20px;
	font-size: 14px;
}

#menu a img {
	height: 15px;
	vertical-align: middle;
	margin-top: -3px;
}

#menu :hover {
	opacity: 1;
	color: #000;
}

#menu .active {
	opacity: 1;
	color: #000;
}

/* FORMATTING */

.alert {
	clear: both;
	border: 2px solid #FF0000;
	padding: 2px 2px 2px 5px;
	background-color: #ff8e8e;
	margin-bottom: 5px;
	overflow: auto;
}

.strike {
	text-decoration: line-through;
}

.mark {
	color: red;
}

.warning {
	clear: both;
	border: 2px solid #ffeb8d;
	padding: 2px 2px 2px 5px;
	background-color: #fff6cb;
	margin-bottom: 5px;
	overflow: auto;
}

.bigwarning {
	border: 2px solid #ffeb8d;
	padding: 2px 2px 2px 5px;
	background-color: #fff6cb;
	margin-top: 10px;
	margin-bottom: 5px;
	text-align: center;
	font-weight: bold;
}

.message {
	clear: both;
	border: 2px solid #EEEEEE;
	padding: 2px 2px 2px 5px;
	background-color: #5bd05b;
	margin-bottom: 5px;
	overflow: auto;
}

.button {
	border: 2px solid #EEEEEE;
	padding: 2px;
	background-color: #DDDDDD;
	margin-top: 5px;
}

.wizard_cancel {
	float: right;
	text-align: right;
	margin-bottom: 1em;
	margin-left: 1em;
}

.wizard_rp_logo {
	float: right;
	text-align: right;
}

hr.separator {
	clear: both;
	color: white;
	line-height: 0px;
	border: 0px;
}

ul, ol {
	margin: 0px;
	padding: 5px 0px 5px 40px;
}

h1 {
	color: #336C9B;
	font-size: 1.8em;
	margin: 0px 0px 10px 0px;
}

.ntaphone h1 {
	font-size: 1.2em;
	line-height: 1.2em;
}

p {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 5px 0px;
}

h2 {
	color: #336C9B;
	font-size: 1.3em;
	margin: 2em 0 1em 0;
	padding-bottom: 2px;
	border-bottom: 1px solid rgb(221, 232, 243);
	clear: both;
}

.legend_extra {
	margin-top: -1.2em;
	font-size: .9em;
	padding-bottom: 1em;
}

h2.center {
	margin: 10px 0px 10px 0;
	padding: 0px;
	border: none;
	text-align: center;
}

.center {
	text-align: center;
}

.nowrap {
	 white-space: nowrap;
}

h2.first, #content > h2:first-child {
	margin-top: 0;
}

h3 {
	color: #336C9B;
	font-size: 1.2em;
	margin: 10px 0px 0px 0px;
}

h3.nomargin {
	margin: 0;
}

.newinfo {
	background-color: #f6f9d5;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

a {
	color: #336C9B;
	font-weight: bold;
}

#header a, #footer a, #leftmenu a {
	text-decoration: none;
}

a.sharpen {
	color: #008aff;
}

a:hover {
	color: #234969;
	text-decoration: underline;
}

a.sharpen:hover {
	color: #0060b2;
}

a.widebutton {
	display: block;
	background: #eee;
	border: 1px solid #ddd;
	border-radius: 1em;
	padding: .5em 1em .5em 1em;
	margin-bottom: 1em;
}

a.widebutton .desc {
	text-decoration: none;
	color: #000;
	font-weight: normal;
	display: inline-block;
}

fieldset {
	border: 1px solid rgb(221, 232, 243);
	margin-bottom: 10px;
}

.separator05 {
	margin-top: .2em;
	margin-bottom: .2em;
}

.separator1 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.separator2 {
	margin-top: 2em;
	margin-bottom: 2em;
}

fieldset legend {
	color: #000000;
	font-weight: bold;
}

input.primary,
button.primary {
	font-weight: bold;
}

p.chkfix {
	position: relative;
	margin-left: 3em;
}

input.chkfix {
	float: left;
	margin-left: -3em;
}

span.chkfix {
	float: left;
}

table {
	width: 100%;
}

table th {
	background: #f3f3f3;
}

table tr.lo {
	background: #D7EBFF;
}

table tr.le {
	background: #F3F3F3;
}

form {
	margin: 0px;
	padding: 0px;
}

form.space {
	padding: 5px 0px 5px 0px;
}

.mobile_card {
	background-color: #D7EBFF;
	padding: 1em;
	border-radius: .5em;
	margin: 1em 0 1em 0;
}

/* FORMS */

.field_collection {
	clear: both;
	margin-bottom: .5em;
}
.field_collection:after { /* .clearfix clone */
  content: "";
  display: table;
  clear: both;
}

.field_name {
	width: 39%;
	float: left;
	text-align: right;
	margin-right: 5px;
}
.field_value {
	width: 59%;
	float: left;
}
.field_data {
	width: 60%;
	float: left;
}
.ntaphone .field_data {
	width: 100%;
}
.ntaphone .field_data:after { /* .clearfix clone */
  content: "";
  display: table;
  clear: both;
}
.field_help {
	width: 40%;
	float: left;
}
.ntaphone .field_help {
	width: 100%;
	clear: left;
	float: none;
}

.wide .field_name {
	width: 60%;
}
.wide .field_value {
	width: 38%;
}
.wide .field_data {
	width: 60%;
}
.wide .field_help {
	width: 40%;
}
.ntaphone .wide .field_data {
	width: 100%;
}
.ntaphone .wide .field_help {
	width: 100%;
}

.short .field_name {
	width: 28%;
}
.short .field_value {
	width: 70%;
}
.short .field_data {
	width: 60%;
}
.short .field_help {
	width: 40%;
}
.ntaphone .short .field_data {
	width: 100%;
}
.ntaphone .short .field_help {
	width: 100%;
}

.half .field_name {
	width: 40%;
}
.half .field_value {
	width: 56%;
}
.half .field_data {
	width: 75%;
}
.half .field_help {
	width: 25%;
}
.ntaphone .half .field_data {
	width: 100%;
}
.ntaphone .half .field_help {
	width: 100%;
}

.nohelp .field_name {
	width: 20%;
}
.nohelp .field_value {
	width: 76%;
}
.nohelp .field_data {
	width: 100%;
}
.nohelp .field_help {
	display: none;
}

ul.pwdstrength {
	border: 0;
	margin: 4px 0 0 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

ul.pwdstrength li {
	width: 50px;
	font-size: .7em;
	color: #adadad;
	text-align: center;
	padding: 2px;
	background-color: #F1F1F1;
	display: block;
}

ul.pwdstrength li.weak, ul.pwdstrength li.medium {
	border-right: solid 1px #DEDEDE;
}

ul.pwdstrength li.medium, ul.pwdstrength li.strong {
	border-left-width: 0;
}

/* HACK */
ul.pwdstrength li {
	font-size: 1em;
	display: inline;
}

/* WORKAROUND: CHROME AUTOFILLS INFO INTO OUR ADDRESS AUTOCOMPLETE FIELDS,
WHICH MAKES AUTOCOMPLETING MUCH MORE DIFFICULT, SINCE THE "DROPDOWN" IS
OVERLAYED BY CHROME'S OWN */
.fix-autofill:after {
	content: attr(data-name);
}

/*
.ui-autocomplete-loading {
	background: white url("https://jqueryui.com/resources/demos/autocomplete/images/ui-anim_basic_16x16.gif") right center no-repeat;
}
*/

.pc-autocomplete-field-success {
	background: white url("/img/ac_correct.gif") right center no-repeat;
}

.pc-autocomplete-field-question {
	background: white url("/img/ac_question.gif") right center no-repeat;
}

.pc-autocomplete-field-error {
	background: white url("/img/ac_cross.gif") right center no-repeat;
}

/* https://stackoverflow.com/questions/20473413/remove-ie11s-clear-field-x-button-on-windows-8 */
.pc-autocomplete-field-success::-ms-clear,
.pc-autocomplete-field-error::-ms-clear,
.pc-autocomplete-field-question::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

.ui-autocomplete.ui-menu {
	border-color: #777;
	box-shadow: 0 0 5px #333;
}

.ui-autocomplete .ui-menu-item.ui-state-focus {
	background-color: #ffb;
	border-color: #777;
}

.ui-menu li {
	text-align: left;
}

.pc-autocomplete-item-country {
	line-height: 1em;
}

.pc-autocomplete-item-country .flag {
	display: inline-block;
	float: left;
	width: 50px;
}
