/***** **** *** ** * | THIS IS THE CSS FOR THE NEW APP TOP 2017-08-29 | * ** *** **** *****/
/***** **** *** ** * |												  | * ** *** **** *****/			
/***** **** *** ** * |												  | * ** *** **** *****/
/***** **** *** ** * |												  | * ** *** **** *****/
/***** **** *** ** * |						START					  | * ** *** **** *****/

/*Secure application templates: Custom CSS*/

/*All views*/

.app-name {
	font-weight: bold;
	line-height: 1.1;
}
.home .row h2.h4 a {
	font-size:18px;
}
.modal-modern .modal-header {
    background: #fff;
}
.modal-modern .modal-title, .modal-modern .mfp-close {
	font-size: 28px;
	color: #333;
}
.modal-modern header {
	padding: 10px 44px 0 1em;
}
#wb-dtmd {margin-left:5px;}

.wht {
	color: #fff;
}
.wht a {
	color: #fff;
	text-decoration: none;
}

/*All screen views*/
@media screen {

	/*App bar*/
	.app-bar {
		background: #38414d;
		margin-top: 5px;
	}

	/*App bar - app name link*/
	.app-name, .app-name:visited {
		display: inline-block;
		text-decoration: none;
		color: #FFF;
	}

	.app-name, .app-name:visited, .app-name:focus, .app-name:hover {
		color: #FFF;
	}

	.app-name:active, .app-name:focus, .app-name:hover {
		text-decoration: underline;
	}

	/*Mobile app bar - account menu - links*/
	.app-list-account .btn, .app-list-account .btn:visited {
		background-color: #FFF;
		color: #335075;
		padding: 10px 14px;
	}

	.app-list-account .btn:not([href]), .app-list-account .btn.active, .app-list-account .btn.focus, .app-list-account .btn:active, .app-list-account .btn:focus, .app-list-account .btn:hover {
		background-color: #243850;
		color: #FFF;

	}

	.app-list-account .btn:not([href]) {
		-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
		box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
		cursor: not-allowed;
	}

	/* Style FIP img instead of a element like GCWeb templates */
	header .brand img {
		position: relative;
		text-decoration: none;
	}

	header .brand img {
		display: block;
		height: auto;
		padding-bottom: 0;
		width: auto;
	}
	}
header .brand img, header .brand object {
    height: auto;
    max-height: 35px;
}

/*Extra-small view and under (screen only)*/
@media screen and (max-width: 767px) {

	/*App bar - app name link*/
	.app-name {
		font-size: 18px;
		margin: 5px 0 6px;
		padding: 5px;
	}

	/*Mobile app bar*/
	.app-bar-mb {
		background: #E1E4E7;
		padding-top: 5px;
	}

	/*Mobile app bar - main + account menus*/
	.app-list-main, .app-list-account {
		margin: 0;
	}

	.app-list-main li, .app-list-account li {
		margin-bottom: 5px;
	}

	/*Mobile app bar - main menu + mobile search overlay - Hide in basic HTML (wbdisable) mode.*/
	.wb-disable .app-list-main, .wb-disable #app-srch-mb {
		display: none !important;
	}

	/*Mobile app bar - main menu*/
	.app-list-main li {
		float: left;
		margin-right: 5px;
	}

	.app-list-main .btn, .app-list-account .btn {
		min-height: 30px;
		padding: 3px 6px 2px;
	}

	.app-list-main .btn, .app-list-main .btn:visited {
		background-color: #335075;
		color: #FFF;
	}

	.app-list-main .active, .app-list-main .active:visited, .app-list-main .btn:active, .app-list-main .btn:focus, .app-list-main .btn:hover {
		background-color: #243850;
		color: #FFF;
	}

	/*Mobile app bar - main menu - Hide a heading whose content is used as the mobile menu overlay's title.*/
	.app-list-main h2 {
		display: none;
	}

	/*Mobile app bar - account menu*/
	/*Float the account menu to allow it to initially collapse with both of its items on the same line if the viewport width gets too limited.*/
	.app-list-account {
		float: left;
	}

	.app-list-account li {
		float: left;
		margin-right: 5px;
	}

	.app-list-account li:last-child {
		margin-right: 0;
	}

	#wb-glb-mn {
		float: left !important;
		margin-top: 0px;
	}

	/*Mobile menu overlay - Hide search box/language toggle link.*/
	.srch-pnl, .lng-ofr {
		display: none;
	}

	/*Mobile menu overlay - Prevent an overly large space from appearing above the first list in the mobile menu's overlay.*/
	#mb-pnl .sm-pnl {
		padding-top: 0;
	}


}

/* Small view and under (screen only) custom GCWeb theme */
@media screen and (max-width: 991px) {

	/* add 10px margin-top to FIP because it doesn't have an a element, like the GCWeb template */
	header .brand img {
		margin-top: 10px;
	}
}

/*Medium view and under (screen only)*/
@media screen and (max-width: 1199px) {
	/*Menu bar - Restore the last list item's right border.*/
	#wb-sm .menu > li:last-child {
		border-right: 1px solid #D3D4D8;
	}

	/*Menu bar - Disable right border on the far right edge of the bar.*/
	#wb-sm .menu {
		border-right: 0;
	}
}

/*Extra-small view and over (screen only)*/
@media screen and (min-width: 480px) {

	/*Mobile app bar - main menu*/
	.app-list-account {
		text-align: right;
	}

	.app-list-account li {
		display: inline-block;
	}
}

/*Small view and over (screen only)*/
@media screen and (min-width: 768px) {

	/*App bar*/
	.app-bar .row {
		display: table;
		table-layout: fixed;
		width: calc(100% + 30px);
	}

	.app-bar .row > section, .app-bar .row > nav {
		display: table-cell;
		float: none;
		vertical-align: middle;
	}

	/*App bar - app name link*/
	.app-name {
		font-size: 28px;
		margin-bottom: 6px;
		margin-top: 8px;
		padding: 0px;
	}

	/*Mobile app bar - main menu*/
	.app-list-account {
		margin-bottom: 0;
		margin-top: 9px;
	}

	.app-list-account li {
		margin-bottom: 9px;
		margin-left: calc(9px - 0.2815em);
	}

	.app-list-account li:first-child {
		margin-left: 0;
	}
}

/*Extra-extra-small view (screen only)*/
@media screen and (max-width: 479px) {

	/*Mobile menu overlay - Maximise the mobile menu's width to prevent it from shifting when opening/closing details elements.
	  Note: Once GCWeb 4.0.27 is out, check if this fix is built-into it. If it is, remove this CSS selector.*/
	#mb-pnl {
		min-width: 90%;
	}
}

/*Extra-small view (screen only)*/
@media screen and (min-width: 480px) and (max-width: 767px) {

	/*Top area - language toggle link*/
	#wb-lng {
		padding-left: 0;
	}
}

/*Small view (screen-only)*/
@media screen and (min-width: 768px) and (max-width: 991px) {
	/*Desktop search box + menu bar - Restore medium view and up's search box/menu bar.*/
	#wb-srch, #wb-sm {
		display: block !important;
	}

}

/*Print view*/
@media print {
	/*App bar - app name link*/
	.app-name {
		font-size: 34px;
	}
}

/***** **** *** ** * | END OF THE CSS FOR THE NEW APP TOP 2017-08-29 | * ** *** **** *****/


/* Custom stylesheet for 'big button' and 'capsule' design elements */

/* ALERTS (-alt) */
.alert-alt {
  margin-left: 10px;
  border-left: 6px solid #000;
  padding-left: 15px;
  background-clip: content-box;
  margin-bottom: 23px;
}

.alert-alt>p,
.alert-alt>.ul,
.alert-alt>.ol {
  margin-bottom: 0px;
}

.alert-alt>* {
  margin-left: 15px;
}

.alert-alt details {
  margin-left: 0.5em
}

.alert-alt>:first-child:not(details) {
  padding-top: 15px;
  margin-top: auto;
}

.alert-alt>:last-child {
  padding-bottom: 25px;
}

.alert-alt:before {
  font-size: 26px;
  margin-left: -1.28em;
  margin-top: 0.5em;
  padding: 2px;
  background-color: #fff;
  line-height: 1.1em;
  font-family: "Glyphicons Halflings";
  position: absolute;
}

.well .alert-alt:before {
  background-color: #f5f5f5;
}

.alert-info-alt {
  border-left-color: #269abc;
}

.alert-success-alt {
  border-left-color: #278400;
}

.alert-warning-alt {
  border-left-color: #f90;
}

.alert-danger-alt {
  border-left-color: #d3080c;
}

.alert-info-alt::before,
details.alert-info-alt::before {
  content: "\e086";
  color: #269abc;
}

.alert-success-alt::before {
  content: "\e084";
  color: #278400;
}

.alert-warning-alt::before {
  content: "\e107";
  color: #f90;
}

.alert-danger-alt::before {
  content: "\e101";
  color: #d3080c;
}

/* CHECKBOX-RADIO */
.btn {
  font-variant-ligatures: no-common-ligatures;
}

.pagedetails .btn {
  font-variant-ligatures: no-common-ligatures;
}

/* custom checkboxes */
.can-ca-form input {
  position: absolute;
  opacity: 0;
}

.checkboxDiv {
	width: 1%; 
	float: left;
}
.checkboxLabelDiv {
	width: 95%; 
	float: left;
	padding-bottom: 25px;
}
.checkboxLabel {
	font-weight: 500; 
	margin-left: 15px;
}
.checkboxErrorLabel {
	display:none; 
	color: #d3080c;
}
.can-ca-form input:disabled+label {
  cursor: not-allowed;
}

.can-ca-form input:disabled+label::before {
  border-color: #ccc;
  background-image: none;
  background-repeat: repeat;
}

.can-ca-form {
  clear: both;
  padding-top: 6px;
}

.can-ca-form .checkbox,
.can-ca-form .radio {
  position: relative;
  padding-left: 30px;
  margin-bottom: 32px;
  font-weight: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.can-ca-form .checkbox label::before,
.can-ca-form .radio label::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 2px solid #333;
  margin-top: -4px;
}

.can-ca-form .radio label::before {
  content: "";
  border-radius: 50%;
}

/* focus */
.can-ca-form .checkbox input[type="checkbox"]:focus+label::before,
.can-ca-form .radio input[type="radio"]:focus+label::before {
  border-width: 3px;
}

.can-ca-form .checkbox label::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 12px;
  top: 0px;
  width: 13px;
  height: 22px;
  border: solid #333;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg);
}

.can-ca-form .radio label::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 4px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #333;
}

/* hide the check */
.can-ca-form .checkbox input[type="checkbox"]+label::after,
.can-ca-form .radio input[type="radio"]+label::after {
  content: none;
}

/* unhide check when checked */
.can-ca-form .checkbox input[type="checkbox"]:checked+label::after,
.can-ca-form .radio input[type="radio"]:checked+label::after {
  content: "";
}

/* TERM-LIST.CSS */

/* hide the real checkbox */
.term-list .checkbox input {
  opacity: 0;
}


/* CAPSULE VIEW */

/* general formatting */
.term-list.capsules {
  display: flex;
  list-style: none;
  margin-left: -5px;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.term-list.capsules .checkbox {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* create capsules */
.term-list.capsules .checkbox label {
  margin-left: 1rem;
  margin-right: 1rem;
  border: 2px solid #26374a;
  border-radius: 999px;
  padding: 1rem;
  min-width: 4em;
}

/* make disabled items (legal element) look different */
.term-list.capsules .checkbox input[type="checkbox"]:disabled+label {
  background-color: #f2f2f2;
  cursor: not-allowed;
}

/* create underline when selected or mouseover */
.term-list.capsules .checkbox input[type="checkbox"]:not(:disabled)+label:hover::after,
.term-list.capsules .checkbox input[type="checkbox"]:not(:disabled)+label:focus::after,
.term-list.capsules .checkbox input[type="checkbox"]:not(:disabled):hover+label::after,
.term-list.capsules .checkbox input[type="checkbox"]:not(:disabled):focus+label::after {
  content: "";
  position: absolute;
  left: 2rem;
  top: 4rem;
  width: calc(100% - 4rem);
  height: 22px;
  border-bottom: solid #26374a 1rem;
}

/* colour in the capsules when checked */
.term-list.capsules .checkbox input[type="checkbox"]:checked+label {
  background-color: #26374a;
  color: white;
}

/* checkbox view */
.term-list.can-ca-form {
  margin-top: -3rem;
}

.term-list.can-ca-form br {
  display: none;
}


/* BIG-BUTTONS */

.big-buttons {
  padding-top: 0;
}

.big-buttons .radio {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 15px;
  line-height: 1.65em;
}

.big-buttons-divider {
  border-right: 1px solid #cccccc;
}

@media (max-width: 991px) {
  .big-buttons .radio.big-buttons-divider {
    border-right: none;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

.big-buttons .radio label {
  width: 100%;
  padding: 15px;
  margin-top: 12px;
  margin-bottom: 20px;
  border: 1px solid #26374a;
  min-height: 130px;
}

.big-buttons .radio input[type="radio"]:checked+label,
.big-buttons .radio input[type="radio"]:focus+label {
  box-shadow: 0px 9px 0px 0px #26374a;
}

.bb-icon {
  float: right;
}

.bb-icon img {
  height: 50px;
}

.bb-header {
  font-size: 1.2em;
  font-weight: bold;
}

.bb-example {
  display: block;
}

.bb-text {
  min-width: 72px;
  text-align: right;
  float: right;
}

.svg-icon img{
  margin-right: 10px;
  height: 70px;
}

.big-buttons .radio label::before {
  left: 29px;
  bottom: 34px;
  top: inherit;
}

/* checkmark */
.big-buttons .radio label::after {
  left: 40px;
  bottom: 43px;
  top: inherit;
  width: 13px;
  height: 22px;
  border: solid #333;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg);
  border-radius: 0;
  background-color: transparent;
}


/* CUSTOM-AUTO-DETECT */

.term-list.capsules {
  flex-wrap: wrap;
}

.list-unstyled.term-list.capsules {
  margin: 0 !important;
}

.capsules label.recommended {
  background-color: #dff0d8;
}

.capsules label.bg-default {
  background-color: #ffffff;
}

.capsules label.info {
  background-color: #dff0d8;
}

.capsules label.warning {
  background-color: #dff0d8;
}

.capsules input~.invisible {
  display: block;
}

.capsules input:checked~.invisible {
  visibility: visible;
}

.term-list.capsules .checkbox label.cursor-default {
  cursor: default;
}

.capsules .checkmark {
  display: block;
  margin: 10px 0 25px 0;
}

.text-success.badge {
  color: white;
  border: 1px solid #26374a;
  background-color: #26374a;
}

.text-fail.badge {
  font-weight: normal;
  color: #333333;
  border: 1px solid #26374a;
  background-color: #ffffff;
}
.reg-office-alert {
	background: #f9f4d4; 
	padding-left: 45px; 
	border-left: 4px #f90 solid;
}
.reg-office-alert:before {
	color: #f90;
    content: "\e107";
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-size: 24px;
    margin-left: -1.3em;
    margin-top: -3px;
    position: relative;
    top: 15px;
}
.reg-office-alert-details {
	background: #f9f4d4; 
	border: 0px !important; 
	margin-top: -15px;
	padding-bottom: 12px;
}
.reg-office-alert-summary {
	border: 0px !important;
}

/* EQUAL-HEIGHT TIP PANELS */

/* Panels */
.equal-height .panel {
  margin-top: 15px;
  margin-bottom: 0;
}

.equal-height .panel-primary {
  border-color: #26374a;
}

.equal-height .panel-primary>.panel-heading {
  color: #fff;
  background-color: #26374a;
  border-color: #26374a;
}

.equal-height .panel-info {
  border-color: #cad6e3;
}

.equal-height .panel-info>.panel-heading {
  color: #26374a;
  background-color: #cad6e3;
  border-color: #cad6e3;
}

/* equal-height  */
@media (min-width: 768px) {
  .equal-height .panel-body {
    min-height: 320px;
  }
}

@media (min-width: 992px) {
  .equal-height .panel-body {
    min-height: 400px;
  }
}

@media (min-width: 1200px) {
  .equal-height .panel-body {
    min-height: 320px;
  }
}

.contact-info-panel {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	background-color: #f5f5f5;
}

  /* New Design */
.panel-wrapper{
  border: 1px solid #26374a;
  border-radius: 4px;
  max-width: 548px;
  margin: 0 auto;
  margin-bottom: 15px;
}
.what-is-in-a-name .panel{
  border: none;
  margin-top: 0px;
}
.panel-heading{
  border-radius: 0px;
}
.name-details{
  padding: 5px 15px;
}
.name-details h5{
  font-weight: 500;
}
.names{
  font-weight: bold; text-align: center; padding: 10px;
}
.NFP-names{
  min-height: 66px;
}
.example{
  background-color: #ffffff;
  padding: 5px;
  border: 1px solid #dddddd;
  border-radius: 4px;
}
/* @media screen and (max-width: 504px){
  .small-title{
    margin-bottom: 31px;
  }
} */
@media screen and (max-width: 490px){
  .small-title{
    margin-bottom: 12px;
  }
  .panel h4{
    font-size: 14px;
  }
}
@media screen and (max-width: 390px){
  .small-title{
    margin-bottom: 11px;
  }
  .panel h4{
    font-size: 16px;
  }
  .names{
    font-size: 12px;
  }
}
@media screen and (max-width: 321px){
  .small-title{
    margin-bottom: 11px;
  }
  .panel h4{
    font-size: 14px;
  }
  
}
/* 
Combined
*/
.combined-title, .combined-title-b{
  margin-bottom: 31px;
}
@media screen and (max-width: 600px){
  .combined-title-b{
    margin-bottom: 12px;
  }
  
}
@media screen and (max-width: 544px){
  .combined-title{
    margin-bottom: 12px;
  }
  
}
@media screen and (max-width: 500px){
  .combined-title{
    margin-bottom: 12px;
  }
  
}

.combined-title-c{

 margin-top: 5px;

}
