
@font-face {
  font-family: SlatePro-Bk;
  src: url("./SlatePro-Bk.woff") format("woff");
}
@font-face {
  font-family: SlatePro-Medium;
  src: url("./SlatePro-Medium.woff") format("woff");
}

body {
  position: relative;
  min-height: 0;
  height: 100%;
  font-family: 'SlatePro-Bk', sans-serif;
}

/* reset the cursor for inputs to be a 
   text cursor rather than pointer for ADA */
label, input, textarea, button, select, option {
    cursor: auto;
}

/* hide header (because ROTP is loaded in iFrame)(we'll show it in mobile viewport for bill summary) */
#header-container {
	display:none;
}
/* keep content but hide visibility so it still affects dimensions of header in mobile viewport */
#header-container .logoContainer,
#header-container .headersplit,
#header-container .title,
#header-container .title.secondary
{
	visibility:hidden;
}

.logoContainer {
  float: left;
  margin: 0px 16px 0px 16px;
  width: 100%;
  max-width: 158px;
  text-align: center;
  vertical-align: middle;
  line-height: 66px;
  visibility: hidden;
}

.title {
  float: left;
  margin: 0em 1.2em 0 1em;
  line-height: 70px;
  color: #585858;
  visibility: hidden;
}

.item-header {
  position: relative;
  overflow: hidden;
  margin: 0;
  color: #585858;
  background-color: #ffffff;
  background-repeat: no-repeat;
  filter: none;
  border: 1px solid #bebebe;
  border-bottom: 0px;
  -webkit-border-radius: 0px 0px 0px 0px;
  -moz-border-radius: 0px 0px 0px 0px;
  -ms-border-radius: 0px 0px 0px 0px;
  -o-border-radius: 0px 0px 0px 0px;
  border-radius: 0px 0px 0px 0px;
  -webkit-box-shadow: inset 0px 0px 0px #97a8ae;
  -moz-box-shadow: inset 0px 0px 0px #97a8ae;
  -ms-box-shadow: inset 0px 0px 0px #97a8ae;
  -o-box-shadow: inset 0px 0px 0px #97a8ae;
  box-shadow: inset 0px 0px 0px #97a8ae;

}

.item-header h1 {
  float: left;
  font-size: 1.125em;
  line-height: 64px;
  font-family: 'SlatePro-Medium';

  margin-bottom: 0;
  white-space: nowrap;
}

.item-header h1 .step-text {
  font-size: 30px;
  font-family: 'SlatePro-Medium';
  color: #003087;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-left: 25px;
}

.rotp-step1-page .item-header h1 {
	line-height:normal;
	margin-top: 16px;
}

.step-heading-subtitle {
    padding: 0 25px;
    margin-bottom: 12px;
}

label, .label, legend strong {
  font-family: 'SlatePro-Medium';
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  display: inline-block;
  color: #000000;
  cursor: default;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
}

.item-sub-header {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #bebebe;


  letter-spacing: normal;
  word-spacing: normal;
  padding: 0em 0em;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  margin-top: 20px;
}

.item-sub-header h2 {
padding-top: 10px;
font-family: 'SlatePro-Medium';
font-size: 25px;
font-style: normal;
font-stretch: normal;
line-height: 1.4;
letter-spacing: normal;
color: #003087;
}

p.review-heading {
  float: left;
  width: 50%;
  padding: 0;
  margin: 0;
  font-family: 'SlatePro-Medium';
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  display: inline-block;
  color: #000000;
  cursor: default;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
}

.btn-action, .btn-action.btn-cancel.mfp-close-unique {
  font-family: "SlatePro-Medium";
  font-size: 20px;
  text-transform: uppercase;
  color: white;
  padding-top: 12px;
  padding-bottom: 9px;
  width: 190px;
  border: 0;
  border-radius: 5px;
  line-height: normal;
  background-image: linear-gradient(to bottom, #158fef 0%, #158fef 50%, #0073cf 51%, #0073cf 100%);
  display: inline-block;
  width: auto;
  min-width: 160px;
  text-align: center;
  cursor: pointer;
  background-color: #2374cc;
  /*@include vendor(box-shadow, 1px 3px 3px #e8e8e8);*/
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
	@media screen and (max-width: 768px) {
		.btn-action, .btn-action.btn-cancel.mfp-close-unique {
			width: 100%;
		}
	}

html.mobileDisabled .btn-action.btn-cancel.mfp-close-unique:hover {
    color: white;
    border-color: #1a5798;
    background-color: #1e65b2;
    background-repeat: no-repeat;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(32, 126, 177, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(32, 126, 177, 0.6);
}

/*
    FRMS-1846: Change the top-right close button color so it
    isn't blending into the background
*/
button.mfp-close {
    color: #1e65b2 !important;
    opacity: 1;
}

/*
   update back button style and
   make print and make another payment buttons grey
 */
.btn-action.btn-back, .btn-action.btn-print {
  font-family: "SlatePro-Medium";
  font-size: 20px;
  text-align: center;
  color: #0073cf;
  border: 1px solid #b6b6b6;
  text-transform: uppercase;
  line-height: normal;
  padding-top: 11px;
  padding-bottom: 8px;
  background-image: linear-gradient(to bottom, #fff 0%, #fff 50%, #f7f7f7 51%, #f7f7f7 100%);
}

/* remove back button chevron "<" */
.btn-action.btn-back .fa-angle-left {
	display:none;
}

.step {
  padding-bottom: 24px;
  letter-spacing: -0.31em;
  border: 1px solid #b6b6b6;
  -webkit-border-radius: 0px 0px 0px 0px;
  -moz-border-radius: 0px 0px 0px 0px;
  -ms-border-radius: 0px 0px 0px 0px;
  -o-border-radius: 0px 0px 0px 0px;
  border-radius: 0px 0px 0px 0px;
  -webkit-box-shadow: inset 0px 0px 0px #97a8ae;
  -moz-box-shadow: inset 0px 0px 0px #97a8ae;
  -ms-box-shadow: inset 0px 0px 0px #97a8ae;
  -o-box-shadow: inset 0px 0px 0px #97a8ae;
  box-shadow: inset 0px 0px 0px #97a8ae;
}

.item-header h1 .icon-header {
  position: absolute;
  padding: 8px 16px;
  visibility: collapse;
}

.bulletin-border {
  border: 1px solid #b6b6b6;
  padding-bottom: 0.5em;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: inset 0px 0px 0px #97a8ae;
  -moz-box-shadow: inset 0px 0px 0px #97a8ae;
  -ms-box-shadow: inset 0px 0px 0px #97a8ae;
  -o-box-shadow: inset 0px 0px 0px #97a8ae;
  box-shadow: inset 0px 0px 0px #97a8ae;
}

.bulletin h2 {
  font-size: 25px;
  font-family: "SlatePro-Medium";
  color: #003087;
  position: relative;
  line-height: 64px;
  padding-left: 22px;
  background-color: #ffffff;
  background-image: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-repeat: no-repeat;
  filter: none;
  border-bottom: 1px solid #bebebe;
  margin: 0;
  -webkit-border-radius: 5px 5px 0px 0px;
  -moz-border-radius: 5px 5px 0px 0px;
  -ms-border-radius: 5px 5px 0px 0px;
  -o-border-radius: 5px 5px 0px 0px;
  border-radius: 5px 5px 0px 0px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], select {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  border: 1px solid #b6b6b6;
}
.zip-code-field-container {
	clear:left; /* So ZIP in contact info properly floats to left of row */
}
.zip-code-field-container select {
	padding: 8px 8px 9px 8px;
}

.error-content {
  font-family: "SlatePro-Bk";
  position: relative;
  overflow: hidden;
  float: none;
  width: 100%;
  color: black;
  background: rgba(225, 25, 52, 0.1);
  border: 1px solid #e01933;
  font-size: 0.813em;
  padding: 1em;
  margin: 0 0 1em 0;
  letter-spacing: normal;
  word-spacing: normal;
}

.error-content:focus {
  outline-color: rgba(225, 25, 52,);
  outline-offset: -2px;
  outline-style: solid;
  outline-width: 2px;
}

.error-content .icon-exclamation {
    float: left;
    width: 20px;
    color: #e01933;
  }

  .icon-exclamation:before {
    content: "\f071";
    font-family: FontAwesome;
  }

.warning-content {
    font-family: "SlatePro-Bk";
    position: relative;
    overflow: hidden;
    float: none;
    width: 100%;
    color: black;
    background: #fcf8e3;
    border: 1px solid #b6b6b6;
    font-size: 0.813em;
    padding: 1em;
    margin: 0 0 1em 0;
    letter-spacing: normal;
    word-spacing: normal;
    border-radius: 8px;
}

  p.review-data {
    float: left;
    color: #000000;
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: right;
    font-size: 16px;
  }

  .review-checkbox p, .review-checkbox input[type="checkbox"] {
    clear: both;
    float: none;
    font-size: 0.9em;
    color: #003087;
  }

  .item-row-content-col.calcBox, .item-row-content-col.serviceFeeBox, .item-row-content-col.totalBox {
    float: left;
    position: relative;
    width: 30%;
    margin-top: 1.5em;
    padding: 0.5em;
    background: #f7f7f7;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#ffffff',GradientType=0 );
    border: 0px solid #ffffff;
    border-color: #ffffff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
  }

  .reviewContent.no-fee .item-row-content-col.calcBox {
    padding: 1em;
    border: 0px solid #c7c7c7;
    margin: 1.5em 0em 0em 0em;
    line-height: 48px;
    width: 100%;
    letter-spacing: -0.31em;
  }

  .review-title {
    font-family: "SlatePro-Bk";
    font-size: 16px;
    font-size: 1rem;
    color: black;
    font-weight: bold;
    line-height: normal;
    display: inline-block;
    color: black;
  }

  .reviewContent.no-fee .item-row-content-col.calcBox .review-title {
    font-family: "SlatePro-Bk";
    display: inline-block;
    color: black;
    width: 50%;
    letter-spacing: normal;
    text-align: left;
    font-size: 16px;
    font-size: 1rem;
}

    p.review-msg {
      font-size: 1em;
      color: #000000;
      font-weight: normal;
    }

    .review-msg .success {
      display: block;
      color: #000000;
    }

    .review-msg .failed {
      display: block;
      color: red;
    }

/* swap the placement of pm icons with pm category description */
.radioPaymentMethodContainer .setRelative {
	text-align: left !important;
	line-height: 30px;
}
.pMethodSlide {
	float: right;
}

/* put the liability due date next to label in pay info card */
.payment-info-due-date-row .review-heading,
.payment-info-due-date-row .review-data {
	width: auto;
	line-height:normal;
	margin-right: 12px;
}

/* confirmation terms & agreement message */
.terms-agreement-message-row p {
    line-height: 1.25em;
    margin: 12px 0 6px 0;
}
.terms-agreement-message-row ol {
    margin: 6px 0 12px 24px;
    line-height: 1.25em;
}

/* ROTP bill summary widget */
.bill-summary .item-row-content-col.col-whole {
	border:none;
}
.bill-summary .content {
	background-color: #f7f7f7;
	padding: 0 23px 0 15px;
	font-size:14px;
}
	.bill-summary p.review-heading,
	.bill-summary p.review-data {
		font-size:14px;
	}

/* FRMS-1951: Add css for custom footer content */
.bill-summary .bill-summary-footer-content {
    font-size: 12px;
    padding: 15px 12px;
}

.bulletin-border {
	padding-bottom: 0;
}
	.bill-summary .item-row-content-col {
		padding: 0.75em 0 0 0;
	}
		.bill-summary .item-row:last-child .item-row-content-col {
			padding-bottom: 0.5em;
		}
     	.widget-policies-list-container,
     	.widget-terms-list-container {
			border-top: 1px solid #bebebe;
			font-size:14px;
     	}
			/* Add padding for message about max number of policies */
			.widget-policies-list-container p {
				padding-left: 15px;
				padding-right: 15px;
			}
     	
     		.widget-policies-list-container {
     			font-family: "SlatePro-Medium";
     		}
	     	.widget-policies-list-container .minimal-scroll-bar {
	     		overflow-y: scroll;
	     		margin-right: 2px;
	     		max-height: 250px;
	     	}
	     	.widget-policies-list,
	     	.widget-terms-list {
	     		margin:0;
	     		overflow:hidden;
	     	}
	     		.minimal-scroll-bar .widget-policy-list {
	     			border-right: 1px solid #bebebe;
    				margin-right: 2px;
	     		}
		     	.widget-policy,
		     	.widget-term {
		     		list-style: none;
					width: 100%;
					border-bottom: 1px solid #bebebe;
					padding: 15px;
		     	}
		     		.widget-policy:last-child,
		     		.widget-term:last-child {
		     			border:none;
		     		}
		     		.widget-policy-data-row,
		     		.widget-term-data-row {
		     			overflow:hidden;
		     		}
		     		
		     		.widget-term-data-row + .widget-term-data-row {
		     			padding-top: 15px;
		     		}
		     			.widget-policy-data-row:last-child,
		     			.widget-term-data-row:last-child {
		     				border-bottom:none;
		     			}
		     			.widget-term-label {
		     				float:left;
		     			}
		     			.widget-term-value {
		     				float:right;
		     			}
	     			.widget-policy-number {
	     				border-bottom:none;
	     				padding-bottom:5px;
	     				text-align: right;
	     			}
					.widget-policy-type-icon-container {
						position:relative;
					}
						.widget-policy-type {
							padding-top: 5px;
							text-align: right;
						}
	     				.widget-policy-type-icon {
		      				position:absolute;
		      				top:15%;
		      				bottom:15%;
		      				height:70%;
		      				display:block;
		      			}
		      		.widget-term-status {
		      			float:none;
		      		}

		      		/* foremost customizations alterations to bill summary */
		      		.fm-bill-summary .content {
					    padding: 15px;
					}
					.fm-bill-summary .widget-policy-type {
					    border: none;
					}
					/* foremost customizations alterations to bill summary ENDS */

/* custom scroll bar */
.minimal-scroll-bar::-webkit-scrollbar {width: 6px;} /* width */
.minimal-scroll-bar::-webkit-scrollbar-track {} /* Track */
.minimal-scroll-bar::-webkit-scrollbar-thumb {border-radius: 3px;background:#bebebe;} /* Handle */
/* ROTP bill summary widget ENDS */

/* ROTP payment method bus chq radio */
.paymentDetailsContent .item-row.echeck-type .radioContainer.ddBC {
    width: 130px;
}

/* Receipt page label sub text */
.receipt-label-sub-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin-bottom: 0;
}

.methodCheck {
  background: transparent url("../../img/pm/bank.png") no-repeat 0 0;
}

.hide-middle-name {
	visibility: hidden;
}

/* The rule below will remove the left pad from the Day Time Phone field
   when Business Name is hidden. */
div.hide-middle-name + div.item-row-content-col {
	padding-left: 0 !important;
}

.customer-type-row {
	padding-top: 0;
}

/* correct radio button alignment */
.standard-label-msg {
	line-height: 20px; /* same as radio image */	
}
.standard-radio + span:before {
	top: 0;
}
.standard-radio + span.paymentRadio:before { 
	top: 4px;	
}

/* fix an overflow cutoff issue with radio focus specific to frms */
.item-row-content-col > fieldset > .radioContainer, .radioPaymentMethodContainer {
    margin-left: 5px;
}

/* FRMS-1898: Changes radio buttons to display horizontally */
.paymentDetailsContent .item-row.echeck-type .radioContainer {
    width: 110px;
}

/* mobile header */
.headerContainer {
	height: 57px;
}
	.mobile-actions {
		height: 57px;
		width: 100%;
		overflow:hidden;
		right: auto;
	}
	.btn-show-bulletin {
		/* covers :hover :focus etc. */
		text-decoration: none !important;
		display: block;
	}
		.btn-show-bulletin h2 {
			font-size: 27px;
	    	font-family: 'SlatePro-Medium';
	    	color: #003087;
	    	margin:0;
	    	line-height: 57px;
	    	padding-left: 12px;
	    }
	    .mobile-actions .btn-show-bulletin span {
	    	font-size:.85em;
	    	color: inherit;
	    	margin-right:6px;
	    }
	    
.fa-question-circle {
    color: #003087;
}

#ddBankNameText {
    font-size: 12px;
}

/* FRMS-1097: Reducing top margin for the first sub header on the ROTP payment-info page */
.item-sub-header.push--top {
    margin-top: 8px !important;
    margin-bottom: 8px;
}

/* FRMS-1528 : OTP.UI.EnterpriseSpaceBetweenCVV and QuestionMark*/
.init-modal.cvv-link {
    margin-left: -10px;
}

/* FRMS-1097: Force the payment amount input to a new line */
.rotp-step2-page #header\.paymentAmount {
    display:block;
    width: 100%;
    max-width:100%;
}
.authorize-label {
    font-size: 0.9em;
}

.popup .item-header {
    background: #ffffff;
    padding-top: 0;
    padding-bottom: 0;
}

.popup h2 {
    font-family: 'SlatePro-Medium';
    font-size: 30px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.4;
    letter-spacing: normal;
    color: #003087;
}

.popup .item-content {
    color: #585858;
    padding-top: 0;
}

/* 
	made cvv wide enough to show placeholder
	text "Enter CVV"

*/
input.cvv {
	width:85px;
}
	    
/* 
	changed viewports to show 2 columns until 799px width 
	so that bill summary widget shows up in second column
*/
@media screen and (min-width: 1025px) {
	/*
		fixes a small gap in screen dimension where
		widget is pushed under form
	*/
	.bulletin {
		width: 340px;
	}

    .btn-action.btn-make-another-payment {
        max-width: 800px;
    }
}
@media screen and (max-width: 1024px) {
	/* 
		most of this is simply reverting the standard 1024 viewport 
		CSS so that we can have it take place at 799px instead
	*/
	#main-container.two-thirds {
		width: 66.666%;
		padding: 12px;
	}
	.rotp-step1-page .noRightWidgets #main-container.two-thirds,
	.rotp-receipt-page #main-container.two-thirds,
	.rotp-duplicate-page #main-container.two-thirds {
		width:100%; /* these pages have a single column */
	}
	.bulletin.show-mobile-bulletin {
		position:relative;
		display:inline-block;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 33.333%;
		transform:none;
		padding:12px 12px 12px 0;
		border-left:none;
	}
	.bulletin.show-mobile-bulletin .bulletin-border {
	    border: 1px solid #b6b6b6;
	    box-shadow: inset 0px 0px 0px #97a8ae;
	}
	.widget-policy-type-icon {
		height: 50%;
		top:25%;
		bottom:25%;
	}
	a.btn-close-bulletin:link, a.btn-close-bulletin:visited {
		color: #003087;
	}
	
	.bulletin-close-container {
		display:none;/* don't display block until 799px */
	}
}

@media screen and (max-width: 1120px) and (min-width: 800px) {
	/*
		makes data in bill summary widget wrap so it looks better
		in narrow width
	*/
	.bill-summary p.review-heading {
	    width: 100%;
	    float: none;
	}
	.bill-summary p.review-data {
	    width: 100%;
	    float: none;
	    text-align: left;
	}

    .btn-action.btn-make-another-payment {
        max-width: 800px;
    }
}

@media screen and (max-width: 799px) {
	/* 
		here we're reapplying the standard 1024 viewport CSS which we
		undid above
	*/
	html:not(.rotp-step1-page):not(.rotp-receipt-page):not(.rotp-duplicate-page) #header-container {
		display:block;
	}
	.headerOverlay {
		height: 57px;
	}
	.widget-policies-list-container .minimal-scroll-bar {
		max-height: none;
	}
	
	#main-container.two-thirds {
		display:block;
		width:100%;		
	}
	.bulletin.show-mobile-bulletin .bulletin-border {
	    border: none;
	    box-shadow: none;
	}
	.bulletin.show-mobile-bulletin {
	    position: fixed;
	    display: block;
	    z-index: 888;
	    top: 0px;
	    right: 0px;
	    bottom: 0;
	    background: #fff;
	    width: 50%;
	    border-left: 1px solid #ccc;
	    overflow-y: auto;
	    -webkit-overflow-scrolling: touch;
	    -webkit-transform: translate3d(100%, 0,0);
	    -moz-box-transform: translate3d(100%, 0,0);
	    -ms-box-transform: translate3d(100%, 0,0);
	    -o-box-transform: translate3d(100%, 0,0);
	    transform: translate3d(100%, 0,0);
	    padding: 0;
	}
	.bulletin.show-mobile-bulletin {
	    width: 100%;
	}
	
	.bulletin-close-container {
		display:block;
	}

    .btn-action.btn-make-another-payment {
        max-width: 800px;
    }
}

@media screen and (max-width: 480px) {
    /* decrease heading font-size so it's not cut off in mobile */
    .item-header h1 .step-text {
        font-size: 22px;
    }

    .btn-action.btn-make-another-payment {
        max-width: 800px;
    }
    
    /* FRMS-1528 : OTP.UI.EnterpriseSpaceBetweenCVV and QuestionMark*/
    .init-modal.cvv-link {
        margin-left: -2px;
    }
}

@media print {
    .receipt-header, .receiptContent {
        border-style: none;
    }
}

.amount-input-wrapper { position: relative; }
.amount-input-wrapper::before {
    content: "$";
    position: absolute;
    height: 100%;
    line-height: 37px;
    vertical-align: bottom;
    display: block;
    padding: 0 8px;
    z-index: 1;
}

input.basePayAmount.scaled {
    padding-left: 20px;
}

.standard-label-msg.authorize-label {
    font-family: 'SlatePro-Bk', sans-serif;
    position: relative;
    padding-right: 28px;
}

.btn-action.btn-terms.fancyterms {
    margin-top: 0;
    display: inline;
    color: #0072ce;
}

.mobileEnabled label.standard-label > * .fancyterms {
    pointer-events: auto !important;
}

.widget-term-header-bw {		    
	border-bottom: none;
	padding-bottom: 5px;
	text-align: right;
	margin-left: 90px;
	font-weight: bold;
}