/**
***************************
Name: Stylesheet for My account redeisgned pages
Site URL: https://zacks.com
Author: Sanjib Adhya, Pushpak Koyal
Date: 03/05/19
Version: 0.1
***************************
**/

/* 00. global variables and global attributes */
:root {
	/* colors */
	--primary: #e3e3e3;
	--success: #009f19;
	--error: #a00024;
	--warning: #f79439;
	--graytxt: #7e7e7e;

	/*
    padding/margin/ any spacing variables with preset values => pl =>pading left/ pt =>pading top
    */
	--pl1: 1em;
	--pt2: 2em;
}

/* removing capitalize */
.normal-caps {
	text-transform: none;
}

/* controlling white space in text characters */
@media screen and (min-width: 320px) {
	.nowrap {
		white-space: normal;
	}

	.sms_modal.ui-dialog .ui-dialog-content {
		overflow: auto !important;
	}
	.sms_modal #modal_interface p {
		padding-left: 0 !important;
	}
	.sms_modal .phone_number input[type='text'] {
		float: right;
	}
}

@media screen and (min-width: 992px) {
	.nowrap {
		white-space: nowrap;
	}
}

/* horizontal rule */
#main_content #right_content hr {
	width: 100%;
	display: inline-block;
	height: 1px;
	margin: 1em 0;
	background-color: #009f19;
	display: none !important;
}

/* assigning floats */
.fl-left {
	float: left;
}

.fl-right {
	float: right;
}

.fl-none {
	float: none;
}

/* input placeholder */
::placeholder {
	font-family: inherit !important;
	font-size: 1em !important;
	font-weight: normal !important;
	color: #ddd !important;
	text-align: left !important;
	text-transform: capitalize !important;
}

::-ms-input-placeholder {
	/* IE Edge */
	font-family: inherit !important;
	font-size: 1em !important;
	font-weight: normal !important;
	color: #ddd !important;
	text-align: left !important;
	text-transform: capitalize !important;
}

:-ms-input-placeholder {
	/* IE 10+11 */
	font-family: inherit !important;
	font-size: 1em !important;
	font-weight: normal !important;
	color: #ddd !important;
	text-align: left !important;
	text-transform: capitalize !important;
}

/* overlay container for modal */
.ui-widget-overlay {
	background-color: #eeefee;
}

/* 01. input grids => based on min width attributes */
[class*='col-'] {
	box-sizing: border-box;
}

@media screen and (min-width: 320px) {
	.col-xs-1 {
		width: 8.33333%;
	}

	.col-xs-2 {
		width: 16.66667%;
	}

	.col-xs-3 {
		width: 25%;
	}

	.col-xs-4 {
		width: 33.33333%;
	}

	.col-xs-5 {
		width: 41.66667%;
	}

	.col-xs-6 {
		width: 50%;
	}

	.col-xs-7 {
		width: 58.33333%;
	}

	.col-xs-8 {
		width: 66.66667%;
	}

	.col-xs-9 {
		width: 75%;
	}

	.col-xs-10 {
		width: 83.33333%;
	}

	.col-xs-11 {
		width: 91.66667%;
	}

	.col-xs-12 {
		width: 100%;
	}
}

@media screen and (min-width: 576px) {
	.col-sm-1 {
		width: 8.33333%;
	}

	.col-sm-2 {
		width: 16.66667%;
	}

	.col-sm-3 {
		width: 25%;
	}

	.col-sm-4 {
		width: 33.33333%;
	}

	.col-sm-5 {
		width: 41.66667%;
	}

	.col-sm-6 {
		width: 50%;
	}

	.col-sm-7 {
		width: 58.33333%;
	}

	.col-sm-8 {
		width: 66.66667%;
	}

	.col-sm-9 {
		width: 75%;
	}

	.col-sm-10 {
		width: 83.33333%;
	}

	.col-sm-11 {
		width: 91.66667%;
	}

	.col-sm-12 {
		width: 100%;
	}
}

@media screen and (min-width: 768px) {
	.col-md-1 {
		width: 8.33333%;
	}

	.col-md-2 {
		width: 16.66667%;
	}

	.col-md-3 {
		width: 25%;
	}

	.col-md-4 {
		width: 33.33333%;
	}

	.col-md-5 {
		width: 41.66667%;
	}

	.col-md-6 {
		width: 50%;
	}

	.col-md-7 {
		width: 58.33333%;
	}

	.col-md-8 {
		width: 66.66667%;
	}

	.col-md-9 {
		width: 75%;
	}

	.col-md-10 {
		width: 83.33333%;
	}

	.col-md-11 {
		width: 91.66667%;
	}

	.col-md-12 {
		width: 100%;
	}
}

@media screen and (min-width: 992px) {
	.col-lg-1 {
		width: 8.33333%;
	}

	.col-lg-2 {
		width: 16.66667%;
	}

	.col-lg-3 {
		width: 25%;
	}

	.col-lg-4 {
		width: 33.33333%;
	}

	.col-lg-5 {
		width: 41.66667%;
	}

	.col-lg-6 {
		width: 50%;
	}

	.col-lg-7 {
		width: 58.33333%;
	}

	.col-lg-8 {
		width: 66.66667%;
	}

	.col-lg-9 {
		width: 75%;
	}

	.col-lg-10 {
		width: 83.33333%;
	}

	.col-lg-11 {
		width: 91.66667%;
	}

	.col-lg-12 {
		width: 100%;
	}
}

@media screen and (min-width: 1200px) {
	.col-xl-1 {
		width: 8.33333%;
	}

	.col-xl-2 {
		width: 16.66667%;
	}

	.col-xl-3 {
		width: 25%;
	}

	.col-xl-4 {
		width: 33.33333%;
	}

	.col-xl-5 {
		width: 41.66667%;
	}

	.col-xl-6 {
		width: 50%;
	}

	.col-xl-7 {
		width: 58.33333%;
	}

	.col-xl-8 {
		width: 66.66667%;
	}

	.col-xl-9 {
		width: 75%;
	}

	.col-xl-10 {
		width: 83.33333%;
	}

	.col-xl-11 {
		width: 91.66667%;
	}

	.col-xl-12 {
		width: 100%;
	}
}

/* no padding selectors */
@media screen and (min-width: 1200px) {
	/* remove padding from any block for hd(>=1200px) resolution */
	.hd-no-pr {
		padding-right: 0 !important;
	}

	.hd-no-pl {
		padding-left: 0 !important;
	}

	.hd-no-pt {
		padding-top: 0 !important;
	}

	.hd-no-pb {
		padding-bottom: 0 !important;
	}
}

@media screen and (max-width: 1199.98px) {
	/* remove padding from any block for desktop resolution */
	.desk-no-pr {
		padding-right: 0 !important;
	}

	.desk-no-pl {
		padding-left: 0 !important;
	}

	.desk-no-pt {
		padding-top: 0 !important;
	}

	.desk-no-pb {
		padding-bottom: 0 !important;
	}
}

@media screen and (max-width: 767.98px) {
	/* remove padding from any block for mobile resolution */
	.tab-no-pr {
		padding-right: 0 !important;
	}

	.tab-no-pl {
		padding-left: 0 !important;
	}

	.tab-no-pt {
		padding-top: 0 !important;
	}

	.tab-no-pb {
		padding-bottom: 0 !important;
	}
}

@media screen and (max-width: 575.98px) {
	/* remove padding from any block for scrap mobile resolution */
	.mob-no-pr {
		padding-right: 0 !important;
	}

	.mob-no-pl {
		padding-left: 0 !important;
	}

	.mob-no-pt {
		padding-top: 0 !important;
	}

	.mob-no-pb {
		padding-bottom: 0 !important;
	}
}

/* set order of containers => for flexbox based containers only */
@media screen and (max-width: 767.98px) {
	.mob-order2 {
		order: 2;
	}
}

/* 02. containers */
#main_content {
	background-image: url(/images/zacks/my_account/my-account-background-tile.png);
	background-repeat: repeat-y;
	background-color: #e9e9e9;
	border-top: 8px solid green;
	margin-bottom: 2em;
}

#right_content.my_account_content {
	width: 840px;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
}

#right_content.my_account_content,
#right_content.my_account_content > section {
	border-top: none;
	border-bottom: none;
}

/* main container for my account content on right side */
.my_acc_content {
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	padding: 0;
}

@media screen and (min-width: 1560px) {
	.my_account_content {
		overflow: visible;
	}
}

/* consent policy */
.my_acc_content p.consent-policy {
	margin-top: -6px;
}

/* fieldset and table wrappers */
.my_acc_table_wrapper.order_table_wrapper {
	border: 1.8em solid #fff;
	box-shadow: 0px 0px 1px 1px #ebebeb;
	padding: 0;
	overflow-x: visible;
}

.my_acc_table_wrapper,
.my_acc_field_wrapper {
	width: 100%;
	box-sizing: border-box;
	margin: 2em 0;
	padding: 1.8em;
	background-color: white;
	border-radius: 4px;
}

.my_acc_table_wrapper {
	overflow: auto;
}

.my_acc_field_wrapper {
	border: none;
}

@media screen and (max-width: 767.98px) {
	/* removing padding on both sides for table wrapper till before iPad portrait mode */
	.my_acc_table_wrapper {
		padding-right: 0;
		padding-left: 0;
	}
}

@media screen and (max-width: 991.98px) {
	.my_acc_table_wrapper table td input {
		margin-bottom: 0;
	}

	#main_content {
		margin-bottom: 0;
	}

	#main_content form.my-acc-form.my_acc_field_wrapper {
		/*width: 106%;
        margin-left: -3%;*/
	}

	.my_acc_table td a.invoice,
	.my_acc_table td span.not-appl {
		position: relative;
		top: 7px;
	}
}

@media screen and (min-width: 992px) {
	.my_acc_table_wrapper,
	.my_acc_field_wrapper {
		padding: 3em;
	}

	.my_acc_table_wrapper.order_table_wrapper {
		border-width: 3em;
	}
}

/* well */
.msg-well {
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
	margin-top: 1.6em;
	margin-bottom: 1.6em;
	padding: 1.8em;
	background-color: white;
	border: none;
	border-radius: 4px;
}

/* hide selector */
.msg-well.hide {
	display: none;
}

.msg-well.border {
	border: 1px solid black;
}

.msg-well.border.green {
	border: 1px solid #68c575;
}

.msg-well.border.orange {
	border: 1px solid #df7c38;
}

.msg-well-title {
	width: 100%;
	box-sizing: border-box;
	padding-bottom: 10px;
	font-family: inherit;
	font-size: 1.8em;
	font-weight: 600;
	color: #df7c38;
	text-align: left;
}

ul.msg-well-list {
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
	margin: 0;
	padding: 0 1rem;
}

.msg-well-list .msg-well-list-item {
	width: auto;
	box-sizing: border-box;
	float: left;
	list-style: disc;
	padding: 0 2em;
	padding-bottom: 0.5em;
	padding-left: 0;
	font-family: inherit;
	font-size: 1.4em;
	font-weight: normal;
	color: black;
	text-align: left;
	text-transform: capitalize;
	text-indent: 0;
}

.msg-well-list .msg-well-list-item sup {
	position: relative;
	top: 0px;
	left: 2px;
	font-family: 'Arial', sans-serif;
	font-size: 1.2em;
	font-weight: normal;
	color: #df7c38;
}

@media screen and (max-width: 991.98px) {
	#main_content {
		background-image: none !important;
		background-color: #e9e9e9;
	}

	.msg-well {
		margin-top: 0;
	}

	#right_content.my_account_content {
		width: 100%;
		max-width: 991.98px;
		margin-left: -2px;
	}
}

/* interim width between iPad portrait(=768px) and landscape mode(=1024px) */
@media screen and (min-width: 992px) and (max-width: 1023.98px) {
	#main_content {
		background: #e9e9e9;
	}

	#right_content.my_account_content {
		width: 991.98px;
		max-width: 991.98px;
	}

	#right_content .my_acc_content {
		width: 100%;
		max-width: 991.98px;
	}

	/* footer */
	#quick_links {
		max-width: none;
	}
}

/* 03. heading & title */
.table-title,
.fieldset-title {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	margin-bottom: 0;
	padding-bottom: 1em;
	font-family: inherit;
	font-size: 1.9em;
	font-weight: 600;
	color: #0d8920;
	/* previously #009f19 */
	text-align: left;
	text-transform: capitalize;
}

.table-title {
	padding-left: 0;
}

/* applying left padding to table title for devices before iPad landscape mode => for portrait mode devices only */
@media screen and (max-width: 991.98px) and (orientation: portrait) {
	.table-title {
		padding-left: 0.3em;
	}
}

/* applying left padding to table title for devices before iPad landscape mode */
@media screen and (max-width: 991.98px) {
	.table-title {
		padding-left: 1em;
	}
}

/* applying left padding to table title for devices before iPad landscape mode => for portrait mode devices only */
@media screen and (max-width: 991.98px) and (orientation: portrait) {
	.table-title {
		padding-left: 0.3em;
	}
}

/* applying left padding to table title for iPhone 5/SE in landscape mode */
@media screen and (max-width: 575.98px) and (orientation: landscape) {
	.table-title {
		padding-left: 0.3em;
	}
}

/* applying left padding to table title for iPhone 5/SE */
@media screen and (max-width: 374.98px) {
	.table-title {
		padding-left: 0.3em;
	}
}

.fieldset-title.wth-btn button {
	position: absolute;
	right: 0;
	top: -11px;
}

.fieldset-title.wth-btn button.btn,
.fieldset-title.wth-btn a.btn,
.fieldset-title.wth-btn input[type='button'].btn {
	padding: 0.6em 1.1em;
	font-size: 0.8em;
}

/* sectional sub header */
h3.fieldset-title {
	margin-top: 0.3em;
	padding-bottom: 0;
	font-weight: 400;
}

/* sub title for Address information section */
#address_info h3.fieldset-title {
	margin-top: 1em;
}

@media screen and (max-width: 767.98px) {
	.table-title,
	.fieldset-title {
		font-size: 1.5em;
	}
}

/* 04. left navbar panel */
#left_rail {
	background-color: transparent;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 20px;
	width: 165px;
}

.left_subnav {
	background: #5a5a5a;
	border: none;
	border-radius: 0;
	text-shadow: none;
}

#left_rail nav.left_subnav ul li a {
	padding: 15px 0;
	border-top: none;
	border-bottom: 2px solid #ccc;
	transition: all linear 0.3s;
	font-size: 1em;
	text-align: center;
	text-transform: capitalize;
	text-shadow: none;
}

.left_subnav > ul > li:first-child {
	margin-right: 0;
	margin-left: 0;
	padding-top: 15px;
}

@media screen and (min-width: 992px) {
	#left_rail .left_subnav > ul li ul li:first-child {
		border-top: 2px solid #ccc;
	}
}

#left_rail nav.left_subnav ul li a:hover,
#left_rail nav.left_subnav ul li a:focus,
#left_rail nav.left_subnav ul li a.selected {
	background-color: #e9e9e9;
	transition: all linear 0.3s;
	border-right: 0;
	border-top: 0;
	border-bottom: 2px solid var(--success);
	border-left: 1px solid #ccc;
	color: #009f19 !important;
	font-weight: 600 !important;
	text-decoration: none;
}

/* upto iPad portrait mode */
@media screen and (max-width: 1023.98px) {
	#left_rail {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	#left_rail .left_subnav {
		width: 100%;
		position: relative;
		float: left;
		top: 0;
		left: 0;
		border-radius: 0;
		margin-bottom: 0;
		padding-top: 0;
		box-sizing: border-box;
	}

	#left_rail .left_subnav > ul {
		width: 100%;
		float: left;
		box-sizing: border-box;
		margin: 0;
	}

	.left_subnav > ul > li:first-child {
		padding-top: 0;
	}

	#left_rail .left_subnav > ul li ul li {
		width: 25%;
		box-sizing: border-box;
		float: left;
		border-right: 1px solid #ccc;
	}

	/*#left_rail .left_subnav > ul li ul li:nth-child(2) {
        width: 50%;
    }*/

	#left_rail .left_subnav > ul li ul li:last-child {
		border-right: none;
	}

	#left_rail .left_subnav ul li a {
		border-bottom: none;
	}

	.my_acc_table_wrapper.past-orders-table tbody tr.apple-subscription td,
	.my_acc_table.active-order tbody tr.apple-subscription td {
		display: contents;
		height: inherit;
	}
	.my_acc_table_wrapper.past-orders-table tbody tr.apple-subscription td:before,
	.my_acc_table.active-order tbody tr.apple-subscription td:before {
		content: '' !important;
		border: none;
		position: inherit;
		top: inherit;
		left: inherit;
	}
}

/* for iPhone5/SE portrait mode => providing space around my account nav tab items */
@media screen and (max-width: 374.98px) {
	#left_rail nav.left_subnav ul li a {
		box-sizing: border-box;
		padding-left: 6px;
		padding-right: 6px;
		font-size: 0.82em;
	}
}

/* 05. right side content => tables */
.my_acc_table {
	width: 100%;
	border-collapse: collapse;
	border: none;
	outline: none;
	background-color: transparent;
}

.my_acc_table th,
.my_acc_table td {
	padding: 1em;
}

.my_acc_table tbody tr.blank_row > td {
	border-bottom: 0;
}

.my_acc_table td a,
.my_acc_table td,
.my_acc_table td input[type='submit'] {
	background: none;
	box-shadow: none;
	border: none;
	outline: none;
	font-weight: normal;
	color: #1d5eb5;
}

#main_content .my_acc_table td input[type='submit'] {
	min-width: auto;
	margin-left: 0;
	padding: 0;
	float: none;
	clear: none;
}

.my_acc_table td a:hover,
.my_acc_table td a:focus,
.my_acc_table td input[type='submit']:hover,
.my_acc_table td input[type='submit']:focus {
	text-decoration: underline;
}

.my_acc_table.compact th,
.my_acc_table.compact td {
	padding: 0.5em 0.3em;
}

/* reducing top and bottom padding in a <td> for every my account related table block */
.my_acc_table.compact td {
	padding: 0.2em 0.3em;
	height: 18px;
	max-height: 18px;
	min-height: 18px;
}

/* for <td> inside active orders table */
.past-orders-table .my_acc_table.compact td,
.active-orders-table .my_acc_table.compact td {
	height: 40px;
	max-height: 40px;
	min-height: 40px;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	text-box: trim-both cap alphabetic;
}

@media screen and (min-width: 1365px) {
	.my_acc_table.compact th {
		padding-right: 0.5em;
	}
}

.my_acc_table.border th,
.my_acc_table.border td {
	border-bottom: 1px solid #ccc5c5;
}

.my_acc_table.border tr {
	transition: background linear 0.3s;
}

.my_acc_table tbody tr:nth-of-type(even),
.my_acc_table tbody tr:hover {
	background-color: #ebebeb;
	transition: background linear 0.3s;
}

.my_acc_table thead th,
.my_acc_table tbody td {
	font-family: inherit;
	font-weight: 600;
	color: #cc411e;
	text-align: center;
	width: 80px;
}

.my_acc_table thead th.product_cell,
.my_acc_table tbody td.product_cell,
.my_acc_table thead th.desc_cell,
.my_acc_table tbody td.desc_cell {
	width: auto;
}

.my_acc_table tbody td {
	font-weight: normal;
}

.my_acc_table tbody td {
	color: #222;
}

.my_acc_table thead th.left,
.my_acc_table tbody td.left {
	text-align: left;
}

.my_acc_table thead th.right,
.my_acc_table tbody td.right {
	text-align: right;
}

.my_acc_table thead th.blank,
.my_acc_table tbody td.blank {
	text-align: center;
}

.my_acc_table tbody td a.report_dw {
	width: 20px;
	height: 25px;
	vertical-align: middle;
	display: inline-block;
	background-image: url(/images/sprites/z-sprite-icons-homepage.png);
	background-repeat: no-repeat;
	background-position: -21px -31px;
	text-indent: -9999px;
	font-size: 0;
}

/* My Account > Order > ACtive Order Module */
.my_acc_table.active-order tbody tr td {
	position: relative;
}

.my_acc_table_wrapper.past-orders-table tbody tr:hover,
.my_acc_table_wrapper.past-orders-table tbody tr:hover td,
.my_acc_table_wrapper.past-orders-table tbody tr:nth-of-type(even),
.my_acc_table.active-order tbody tr:hover,
.my_acc_table.active-order tbody tr:hover td,
.my_acc_table.active-order tbody tr:nth-of-type(even) {
	background-color: inherit;
	transition: inherit;
}
.my_acc_table.active-order tbody tr.even-child {
	background-color: #ebebeb;
	transition: background linear 0.3s;
}
.my_acc_table_wrapper.past-orders-table tbody tr.apple-subscription td,
.my_acc_table.active-order tbody tr.apple-subscription td {
	height: 12px;
	max-height: 12px;
	min-height: 12px;
	padding: 0 0 10px 0 !important;
	text-align: left;
	padding-left: 17px !important;
	border-top: none !important;
}
.my_acc_table_wrapper.past-orders-table tbody tr.apple-subscription-parents td,
.my_acc_table.active-order tbody tr.apple-subscription-parents td {
	border-bottom: none !important;
}

@-moz-document url-prefix() {
	.my_acc_table_wrapper.past-orders-table
		tbody.apple-subscription
		td
		.info-tooltip,
	.my_acc_table.active-order tbody tr.apple-subscription td .info-tooltip {
		top: -1px;
	}
}
/*.my_acc_table.active-order tbody tr.apple-subscription td:before{
    content: '' !important;
    border-top: 1px solid #fff !important;
    position: absolute;
    top: -1px;
    width: 100%;
    left: 0;
}
.my_acc_table.active-order tbody tr.apple-subscription.even-child td:before{
    border-top: 1px solid #ebebeb !important;
}*/

.my_acc_table.active-order td a.invoice,
.my_acc_table.active-order td a.manage,
.my_acc_table.active-order tr.apple-subscription a {
	color: #1d5eb5 !important;
}

.my_acc_table.active-order td a.manage .manage-ico {
	margin-left: 6px;
}

/* removing text wrap attribute for product and description columns till before iPad portrait mode */
@media screen and (max-width: 767.98px) {
	.my_acc_table thead th,
	.my_acc_table tbody td {
		white-space: nowrap;
	}
}

/* 06. right side content => form, fieldset, legend, label & inputs */
form {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	box-shadow: none;
	background-color: transparent;
}

/* for all forms inside my account section */
#main_content form.my-acc-form {
	margin-bottom: calc(var(--pl1) + 1.5em);
}

.input-rows {
	width: 100%;
	display: inline-flex;
	margin: 0;
	margin-bottom: 0.9em;
	box-sizing: border-box;
}

.input-rows:after {
	content: '';
	position: relative;
	display: table;
	clear: both;
	width: 0;
	height: 0;
}

/* restoring block level for input rows */
.input-rows.bl {
	display: inline-block;
}

/* hide selector */
.input-rows.bl.hide {
	display: none;
}

.input-rows.flx-bl.bordered {
	border-bottom: 1px solid #68c575;
	padding-bottom: 1rem;
	margin-bottom: 2em;
}

#ship-info.bordered {
	border-top: 1px solid #68c575;
	padding-top: 0.2rem;
}

/* fieldset */
fieldset {
	width: 100%;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0;
	padding-right: 1.8em;
	border: none;
}

fieldset:after {
	opacity: 0;
}

/* fieldset with validation warning */

/* input behaviour */
#main_content #right_content fieldset.show-warning input[type='text'],
#main_content #right_content fieldset.show-warning input[type='tel'],
#main_content #right_content fieldset.show-warning input[type='number'],
#main_content #right_content fieldset.show-warning input[type='email'],
#main_content #right_content fieldset.show-warning input[type='password'],
#main_content #right_content fieldset.show-warning select {
	border: 2px solid red;
	box-shadow: 1px 1px 5px 2px #ccc;
	transition: all linear 0.3s;
}

/* fieldset with validation warning (exceptional) */
#main_content
	#right_content
	fieldset.password-f.show-warning
	input[type='password'] {
	border: 1px solid #d0cdcd;
	box-shadow: none;
}

/* warning icon inside input */
fieldset.show-warning:after {
	opacity: 1;
	content: url(/images/zacks/my_account/input-warning.png);
	position: absolute;
	width: 24px;
	height: 24px;
	background-color: transparent;
	top: calc(31px + 11px);
	right: 2.8em;
	transition: all linear 0.3s;
}

fieldset.password-f.show-warning div.error.warning-msg {
	display: none !important;
}

/* warning icon inside input (exceptional) */
fieldset.password-f.show-warning:after {
	content: ' ';
}

fieldset.desk-no-pr.show-warning:after,
fieldset.mob-no-pr.show-warning:after {
	right: 1em;
}

/* validation error display block */
fieldset .warning-msg {
	background-color: red;
	position: absolute;
	z-index: 1;
	box-sizing: border-box;
	padding: 0.8em;
	padding-left: 0.5em;
	border-radius: 4px;
	right: 20px;
	bottom: -32px;
	transition: all ease-in 0.3s;
	font-size: 1.2em;
	text-align: left;
	color: #fff;
}

/* for pwd field */
fieldset input[type='password'] + .warning-msg {
	bottom: -56px;
}

/* for confirm password */
#confirm_password-error.warning-msg {
	bottom: -28px;
}

fieldset .warning-msg:before {
	content: '';
	left: 74%;
	top: -10px;
	position: absolute;
	width: 1px;
	height: 1px;
	border-right: 5px solid transparent;
	border-left: 5px solid red;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	display: inline-block;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
}

@media screen and (max-width: 991.98px) {
	.input-rows fieldset {
		padding-bottom: 0.6em;
	}

	/****
    ****************************************************************
    using flexbox view for input row container while placing smaller input fields beside each other in small viewports
    ****************************************************************
    ****/
	.input-rows.flx-bl {
		display: inline-flex;
		display: -webkit-inline-flex;
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		justify-content: space-between;
		-webkit-justify-content: space-between;
		flex-direction: row;
		-webkit-flex-direction: row;
		align-items: center;
		-webkit-align-items: center;
	}

	.input-rows.flx-bl.card-timline {
		flex-wrap: nowrap;
		-webkit-flex-wrap: nowrap;
	}
}

.input-rows.flx-bl.hide {
	display: none;
}

@media screen and (max-width: 767.98px) {
	.input-rows {
		display: block;
	}
}

/* re-positioning the warning alert msgs for all mobile devices in portrait mode only */
@media screen and (max-width: 575.98px) and (orientation: portrait) {
	fieldset input[type='password'] + .warning-msg,
	#confirm_password-error.warning-msg {
		bottom: 50px;
	}

	#confirm_password-error.warning-msg {
		right: 22px;
	}

	fieldset input[type='password'] + .warning-msg:before {
		border-right: 5px solid red;
		border-left: 5px solid transparent;
		top: 100%;
	}
}

/* labels */
label {
	width: 100%;
	float: left;
	box-sizing: border-box;
	padding-top: 10px;
	padding-bottom: 5px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.4em;
	font-weight: 400;
	color: #757575;
	text-align: left;
	text-transform: capitalize;
}

form.aler_pref_form #cont_fdd_free_subs label {
	text-transform: none;
}

#main_content #right_content input[type='text'],
#main_content #right_content input[type='tel'],
#main_content #right_content input[type='number'],
#main_content #right_content input[type='email'],
#main_content #right_content input[type='password'],
#main_content #right_content select,
#main_content #right_content .edit-mode input[type='text'],
#main_content #right_content .edit-mode input[type='tel'],
#main_content #right_content .edit-mode input[type='number'],
#main_content #right_content .edit-mode input[type='email'],
#main_content #right_content .edit-mode input[type='password'],
#main_content #right_content .edit-mode select,
.ui-dialog #dialog-confirm-pwd input[type='password'],
#main_content #right_content textarea {
	width: 100%;
	float: left;
	box-sizing: border-box;
	background-color: white;
	box-shadow: none;
	outline: none;
	border: 1px solid #d0cdcd;
	border-radius: 3px;
	margin: 0;
	padding: 0.8em;
	-webkit-appearance: none;
	transition: all ease-in 0.2s;
	font-family: inherit;
	font-size: 1.4em;
	font-weight: 400;
	color: #000;
	text-align: left;
}

#main_content #right_content textarea {
	border: none;
	resize: none;
	padding: 0;
	padding-top: 5px;
	overflow: hidden;
	font-size: 1.7em;
	font-weight: bold;
	color: #565555;
}

#main_content #right_content input[type='text']:focus,
#main_content #right_content input[type='tel']:focus,
#main_content #right_content input[type='number']:focus,
#main_content #right_content input[type='email']:focus,
#main_content #right_content input[type='password']:focus {
	border: 1px solid #1d5eb5;
	box-shadow: 0 1px 4px 0 #6aa4e0;
	transition: all linear 0.2s;
}

#main_content #right_content .preview-mode input[type='text'],
#main_content #right_content .preview-mode input[type='tel'],
#main_content #right_content .preview-mode input[type='number'],
#main_content #right_content .preview-mode input[type='email'],
#main_content #right_content .preview-mode input[type='password'],
#main_content #right_content .preview-mode select,
#main_content #right_content .preview-mode .custom-select select,
#main_content #right_content .preview-mode input[type='text']:focus,
#main_content #right_content .preview-mode input[type='tel']:focus,
#main_content #right_content .preview-mode input[type='number']:focus,
#main_content #right_content .preview-mode input[type='email']:focus,
#main_content #right_content .preview-mode input[type='password']:focus,
#main_content #right_content .preview-mode select:focus,
#main_content #right_content .preview-mode .custom-select select:focus {
	background: none;
	background-color: transparent;
	border: none;
	box-shadow: none;
	cursor: text;
	pointer-events: none;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0;
	transition: all ease-out 0.2s;
	font-size: 1.7em;
	font-weight: 600;
	color: #565555;
}

#main_content #right_content .preview-mode input[type='number'] {
	-moz-appearance: textfield;
}

#main_content #right_content .preview-mode .custom-select select {
	/*height: 42px;*/
	height: auto;
}

/* attributes for custom
select dropdown for its focussed state */
#main_content #right_content select:focus {
	border: 1px solid #1d5eb5;
	box-shadow: 0 1px 4px 0 #6aa4e0;
	transition: all linear 0.2s;
	outline: 1px dotted #000;
	outline-offset: 2px;
}

.ui-dialog #dialog-confirm-pwd input[type='password'] {
	font-size: 1em;
}

.ui-dialog #dialog-confirm-pwd a {
	outline: 0 none;
}

.ui-dialog #dialog-confirm-pwd p.know-password {
	margin-top: 6px;
}

@media screen and (max-width: 991.98px) {
	input {
		margin-left: 0;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 374.98px) and (orientation: portrait) {
	/* textarea for onlt landscape mode till iPad */
	#main_content #right_content textarea {
		height: 70px;
	}
}

/* legend */
legend {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	margin-top: 1.2em;
	padding: 1.4em 0;
	border-top: 1px solid #68c575;
	font-family: inherit;
	font-size: 1.2em;
	font-weight: normal;
	text-align: left;
	color: var(--graytxt);
}

legend a {
	font-weight: 600;
	color: royalblue;
	text-decoration: underline;
	cursor: pointer;
}

/* legend with caret */
legend.wth-caret {
	position: relative;
}

legend.wth-caret:before {
	content: '';
	display: block;
	position: absolute;
	z-index: 1;
	width: 8px;
	height: 8px;
	left: 20px;
	bottom: -5px;
	background-color: white;
	border-left: 1px solid #68c575;
	border-bottom: 1px solid #68c575;
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
}

/* removing border from bottom of legend tag when billing and shipping address are same */
legend.wth-chbox.wth-caret.bottom.cta-grp.no-border {
	border: none;
}

legend.wth-chbox.wth-caret.bottom.cta-grp.no-border:before {
	display: none;
}

/* for all mobile portrait mode only upto iPad */
@media screen and (max-width: 991.98px) {
	legend.wth-caret:before {
		bottom: -5px;
	}
}

@media screen and (max-width: 991.98px) {
	/* for mobile Firefox till before iPad landscape mode */
	@-moz-document url-prefix() {
		legend.wth-caret input {
			margin-bottom: 0 !important;
		}
	}
}

/* legend with border bottom */
legend.bottom {
	border: none;
	border-bottom: 1px solid #68c575;
	padding-bottom: 0.8em;
}

legend.wth-caret.bottom {
	font-size: 1.3em;
}

legend.wth-caret.bottom label {
	width: auto;
	padding-top: 0;
	float: none;
	font-size: 1.1em;
}

/* checkboxes */
#right_content.my_account_content #sameAddress {
	position: relative;
	top: -2px;
	border: 1px solid #ccc !important;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 4px;
	-webkit-transform-origin: center center;
	transform-origin: center center;
	width: 17px;
	height: 17px;
	float: left;
}

#right_content.my_account_content #sameAddress:before {
	content: '';
	border-radius: 4px;
	margin-right: 10px;
	opacity: 0;
	vertical-align: text-top;
	width: 17px;
	height: 17px;
	top: 0px;
	left: -1px;
	position: absolute;
	background: #0598f7;
	-webkit-transition: all linear 0.3s;
	transition: all linear 0.3s;
}

#right_content.my_account_content #sameAddress:after {
	content: '';
	position: absolute;
	left: 2px;
	top: 7px;
	background: white;
	width: 2px;
	height: 3px;
	box-shadow:
		2px 0 0 white,
		4px 0 0 white,
		4px -2px 0 white,
		4px -4px 0 white,
		4px -6px 0 white,
		4px -8px 0 white;
	-webkit-transform: scale(0, 0) rotate(40deg);
	transform: scale(0, 0) rotate(40deg);
	-webkit-transition: all linear 0.3s;
	transition: all linear 0.3s;
}

#right_content.my_account_content #sameAddress:checked {
	-webkit-transform-origin: center center;
	transform-origin: center center;
	-webkit-transition: all linear 0.3s;
	transition: all linear 0.3s;
}

#right_content.my_account_content #sameAddress:checked:before {
	opacity: 1;
}

#right_content.my_account_content #sameAddress:checked:after {
	-webkit-transform: scale(1, 1) rotate(40deg);
	transform: scale(1, 1) rotate(40deg);
}

.wth-chbox input[type='checkbox'] {
	margin-right: 0.3em;
}

/* custom select dropdown */
.custom-select {
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

form#paymt_info .custom-select {
	position: initial;
}

.custom-select select {
	width: 100%;
	height: 41px;
	background: white url(/images/zacks/my_account/custom-select-toggle.jpg)
		no-repeat;
	background-size: 14px;
	background-position: right 10px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* card expiry info block for preview mode */
.card-lifetime {
	width: 100%;
	padding-top: 2em;
	font-size: 1.7em;
	font-weight: 600;
	color: #565555;
}

/* appending ISD code before phone number */
.intl-code {
	position: absolute;
	left: 0;
	top: 53%;
	background-color: #fff;
	font-size: 1.7em;
	font-weight: 600;
	color: #565555;
}

.intl-code + input[type='tel'] {
	padding-left: 20px !important;
}

/* from all desktop view */
@media screen and (min-width: 992px) {
	.intl-code {
		top: 57%;
	}
}

/* blank input inside grid columns */
@media screen and (min-width: 320px) {
	.blank-input {
		padding-top: calc(var(--pt2) + 1.1em);
	}

	.blank-input + .blank-input {
		padding-top: 0;
	}

	/* custom select dropdown */
	form#paymt_info .card-timline fieldset .custom-select .warning-msg {
		bottom: -61px;
	}
}

/* landscape mode from iPhone5,6,7 */
@media screen and (min-width: 568px) {
	/* custom select dropdown */
	form#paymt_info .card-timline fieldset .custom-select .warning-msg {
		bottom: -34px;
	}

	/*Portfolio email delivery popup*/
	#dialog-confirm-day .wk_checkbox {
		width: 20%;
		padding-right: 10px;
	}

	#dialog-confirm-day .wk_checkbox:last-child {
		padding-right: 0;
	}

	#dialog-confirm-day .checkmark {
		width: 100% !important;
	}

	.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close {
		right: -35px;
	}
}

/* blank input till Pixel2 Xl portrait mode */
@media screen and (max-width: 575.98px) and (orientation: portrait) {
	.blank-input {
		/*padding-top: calc(var(--pt2) + 1.1em) !important;*/
	}
}

/* before iPad portrait mode for all mobile devices in portrait mode only */
@media screen and (max-width: 767.98px) and (orientation: portrait) {
	.blank-input {
		padding-top: calc(var(--pt2) + 2.7em);
	}
}

/* iPad portrait and iPhoneX landscape mode only */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
	.input-rows.flx-bl.card-timline {
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
	}

	.blank-input {
		padding-top: calc(var(--pt2) + 1.1em);
	}

	/* custom select dropdown */
	form#paymt_info .card-timline fieldset .custom-select .warning-msg {
		bottom: -47px;
	}
}

/* for Pixel2 Xl landscape mode only */
@media screen and (min-width: 813px) and (max-width: 823px) and (orientation: landscape) {
	.blank-input {
		padding-top: calc(var(--pt2) + 1.1em);
	}
}

@media screen and (min-width: 992px) {
	.card-timline fieldset:last-of-type {
		padding-right: 2.8em;
	}

	/* custom select dropdown */
	form#paymt_info .card-timline fieldset .custom-select .warning-msg {
		bottom: -47px;
	}
}

/* for Firefox */
@-moz-document url-prefix() {
	/* custom selct dropdown for my account page */
	#main_content #right_content .preview-mode .custom-select select {
		height: 46px;
		position: relative;
		top: -12px;
		left: -5px;
	}
}

/* till before iPad landscape mode => for Firefox only */
@media (max-width: 1023.98px) {
	/* for Firefox */
	@-moz-document url-prefix() {
		/* zip code label => both billing & shipping info */
		#main_content #right_content .preview-mode label[for='zip'],
		#main_content #right_content .preview-mode label[for='shipZip'] {
			position: relative;
			top: -7px;
		}

		/* zip code input => both billing & shipping info */
		#main_content
			#right_content
			.preview-mode
			label[for='zip']
			+ input[name='bill_postal'],
		#main_content
			#right_content
			.preview-mode
			label[for='shipZip']
			+ input[name='ship_postal'] {
			position: relative;
			top: -12px;
		}
	}
}

/*Password field :: eye icon show/hide toggle */
.eye-ico {
	background-image: url(/images/zacks/icons/eye-icon.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 19px;
	height: 13px;
	display: inline-block;
	position: absolute;
	right: 9px;
	top: 46px;
	z-index: 9;
}
.eye-ico.toggle-password {
	background-image: url(/images/zacks/icons/eye-icon-cross.png) !important;
}

/* text block for showing asterisk group sign in case of saved password visual */
.show-pass {
	font-size: 20px;
	line-height: 50px;
	position: relative;
	top: -7px;
	max-height: 45px;
}

/*Pasword strength block*/
#password-strength-status {
	top: 78px;
	z-index: 9;
	padding: 15px;
	width: calc(100% - 30px);
	left: 0;
	border: 1px solid #ccc;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.13);
	-moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.13);
	box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.13);
}

#password-strength-status::after {
	content: '';
	position: absolute;
	left: 19px;
	top: -15px;
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 15px solid #fff;
	clear: both;
}

/* 07. right side content => buttons */
button.btn,
a.btn,
input[type='button'].btn,
#main_content input[type='submit'].btn {
	display: inline-block;
	box-sizing: border-box;
	margin-top: 0.3em;
	padding: 0.62em 0;
	border-radius: 3px;
	border: none;
	outline: none;
	box-shadow: none;
	background-color: transparent;
	cursor: pointer;
	pointer-events: auto;
	transition: all ease 0.3s;
	-webkit-tap-highlight-color: transparent;
	font-family: inherit;
	font-size: 1.7em;
	font-weight: 600;
	color: white;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	line-height: 1.2;
}

a.btn {
	min-width: auto;
	margin-top: -0.5em;
}

#main_content input[type='submit'].btn {
	min-width: fit-content;
	float: none;
	clear: none;
	margin-left: 0;
	padding: 0.62em 0 !important;
}

button.btn:focus,
a.btn:focus,
input[type='button'].btn:focus,
#main_content input[type='submit'].btn:focus,
button.btn:hover,
a.btn:hover,
input[type='button'].btn:hover,
#main_content input[type='submit'].btn:hover {
	border: none;
	outline: none;
	transition: all ease 0.3s;
}

button.btn.primary,
a.btn.primary,
input[type='button'].btn.primary,
#main_content input[type='submit'].btn.primary {
	background-color: var(--primary);
	border: 1px solid var(--primary);
	color: var(--graytxt);
}

button.btn.primary:hover,
a.btn.primary:hover,
input[type='button'].btn.primary:hover,
#main_content input[type='submit'].btn.primary:hover {
	background-color: transparent;
	border-color: var(--graytxt);
	color: var(--graytxt);
}

button.btn.success,
a.btn.success,
input[type='button'].btn.success,
#main_content input[type='submit'].btn.success {
	background-color: var(--success);
	border: 1px solid var(--success);
}

button.btn.success:hover,
a.btn.success:hover,
input[type='button'].btn.success:hover,
#main_content input[type='submit'].btn.success:hover {
	background-color: transparent;
	color: var(--success);
}

button.btn.error,
a.btn.error,
input[type='button'].btn.error,
#main_content input[type='submit'].btn.error {
	background-color: var(--error);
	border: 1px solid var(--error);
}

button.btn.error:hover,
a.btn.error:hover,
input[type='button'].btn.error:hover,
#main_content input[type='submit'].btn.error:hover {
	background-color: transparent;
	color: var(--error);
}

button.btn.warning,
a.btn.warning,
input[type='button'].btn.warning,
#main_content input[type='submit'].btn.warning {
	background-color: var(--warning);
	border: 1px solid var(--warning);
}

button.btn.warning:hover,
a.btn.warning:hover,
input[type='button'].btn.warning:hover,
#main_content input[type='submit'].btn.warning:hover {
	background-color: transparent;
	color: var(--warning) !important;
}

button.btn.outline,
a.btn.outline,
input[type='button'].btn.outline,
#main_content input[type='submit'].btn.outline {
	border: 2px solid #cc411e;
	color: #cc411e;
}

button.btn.outline:hover,
a.btn.outline:hover,
input[type='button'].btn.outline:hover,
#main_content input[type='submit'].btn.outline:hover,
button.btn.outline.active,
a.btn.outline.active,
input[type='button'].btn.outline.active,
#main_content input[type='submit'].btn.outline.active {
	background-color: #cc411e;
	color: white !important;
	text-shadow: none;
}

#main_content .my_acc_content a.btn.outline.active {
	display: none;
}

/*verfy and edit button*/
span#sms_display_btn_addedit,
span#sms_display_btn_verify {
	display: block;
	float: left;
}

/* button sizes */

/* specifically for iPhone5/SE portrait mode */
@media screen and (min-width: 0) and (max-width: 320px) {
	button.btn,
	a.btn,
	input[type='button'].btn,
	#main_content input[type='submit'].btn {
		font-size: 1.4em;
	}

	.fieldset-title.wth-btn a.btn.btn-sm {
		min-width: 70px;
		width: 70px;
	}
}

@media screen and (min-width: 320px) {
	/* button sizes */
	.btn.btn-sm {
		width: 70px;
	}

	.btn.btn-md,
	.btn.btn-lg {
		width: 108px;
	}

	/* back back from any page/section */
	.btn.btn-lg.back-btn {
		width: 164px;
		margin: 20px 0;
	}

	a.btn.btn-lg.back-btn {
		background: none;
		margin-bottom: 0;
		float: left;
		width: auto;
		border: none;
		font-size: 10pt;
		color: #1d5eb5;
		text-transform: capitalize;
	}

	a.btn.btn-lg.back-btn:hover,
	a.btn.btn-lg.back-btn:focus {
		text-decoration: underline !important;
		color: #1d5eb5 !important;
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 108px !important;
	}

	#sms_display_btn_addedit .btn.btn-md {
		margin-right: var(--pl1) !important;
	}
}

/* iPhoneX and iPhone 6,7,8 portrait mode only */
@media screen and (max-width: 375px) and (orientation: portrait) {
	.btn-grp .btn:first-of-type {
		margin-right: 0.13em !important;
	}

	.btn-grp .btn:last-of-type {
		margin-right: 0 !important;
	}
}

/* custom range*/
@media screen and (min-width: 360px) {
	/* button sizes */
	.btn.btn-md,
	.btn.btn-lg {
		width: 126px;
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 126px !important;
	}
}

@media screen and (min-width: 375px) {
	/* button sizes */
	.btn.btn-md,
	.btn.btn-lg {
		width: 134px;
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 134px !important;
	}
}

/* iPhone 6,7,8 Plus, Pixel 2 and Pixel 2XL portrait mode only */
@media screen and (min-width: 411px) and (max-width: 576.98px) and (orientation: portrait) {
	.btn.btn-md,
	.btn.btn-lg {
		width: 152.5px;
	}

	.edit_modal .btn.btn-lg {
		width: 144.5px;
	}
}

@media screen and (min-width: 411px) {
	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 152.5px !important;
	}

	#sms_display_btn_addedit .btn.btn-md {
		margin-right: var(--pl1);
	}
}

/*from iPhone portrait 5,6,7,8 to landscape*/
@media (min-width: 320px) and (max-width: 567.98px) {
	span#sms_display_btn_verify {
		margin-top: 1.9em;
		/*margin-left: .3em;*/
	}

	span#sms_display_btn_addedit a,
	span#sms_display_btn_verify a {
		float: left;
	}

	span#sms_display_btn_addedit {
		margin-top: 1.9em;
		margin-bottom: 1.4em;
	}
}

/*Landscape mode from iPhone 5,6,7,8 to iPad portrait*/
@media screen and (min-width: 568px) {
	span#sms_display_btn_addedit {
		margin-bottom: 0;
		/*margin-right: 1.6em;*/
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 134px !important;
	}

	span#sms_display_btn_verify a {
		width: 164px !important;
	}

	span#sms_display_btn_addedit a,
	span#sms_display_btn_verify a {
		margin-top: 1em;
	}
}

/* iPad => 768px */
@media screen and (min-width: 768px) {
	span#sms_display_btn_addedit {
		margin-left: 0.6em !important;
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 152.5px !important;
	}

	span#sms_display_btn_addedit a,
	span#sms_display_btn_verify a {
		margin-top: 0;
	}

	#sms_display_btn_addedit .btn.btn-md {
		margin-right: 0;
	}

	/* for edit sms button */
	span#sms_display_btn_addedit .btn-solo {
		position: absolute;
		top: 6px;
		right: -18px;
	}

	/* for verify sms button */
	span#sms_display_btn_verify .btn-solo {
		position: absolute;
		top: 6px;
	}
}

/* Desktop => 992px */
@media screen and (min-width: 992px) {
	.btn.btn-md,
	.btn.btn-lg {
		width: 161px;
	}

	/* button spacing for desktop for payment info section */
	#main_content #paymt_info input[type='submit'].btn {
		width: 170px;
	}
}

/* between iPhoneX landscape mode and iPad portrait mode only */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	#sms_display_btn_addedit .btn.btn-md {
		margin-left: 0.6em;
	}
}

/* HD Screen => 1200px */
@media screen and (min-width: 1200px) {
	.btn.btn-md {
		width: 130px;
	}

	span#sms_display_btn_addedit {
		margin-right: 0em !important;
		margin-left: 1.5em !important;
	}

	#sms_display_btn_addedit .btn.btn-md,
	#sms_display_btn_verify .btn.btn-md {
		width: 126px !important;
	}
}

/* button group */
.btn-grp .btn {
	margin-right: var(--pl1);
}

.btn-grp .btn:last-of-type {
	margin-right: 0;
}

/* button group beside input fields */
.btn-grp.bs-input {
	padding-top: calc(var(--pt2) + 0.5em);
	padding-left: calc(var(--pl1) + 0.5em);
}

/* hide selector */
.btn-grp.bs-input.hide {
	display: none;
}

/* between iPhoneX landscape mode and iPad portrait mode only */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
	.btn-grp.bs-input {
		padding-top: calc(var(--pt2) + 0.5em) !important;
		padding-left: calc(var(--pl1) + 0.5em) !important;
	}

	.btn-grp.bs-input button.btn,
	.btn-grp.bs-input a.btn,
	.btn-grp.bs-input input[type='button'].btn,
	#main_content .btn-grp.bs-input input[type='submit'].btn {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 991.98px) {
	.btn-grp.bs-input {
		padding-top: 0;
		padding-left: 0;
	}

	.btn-grp.bs-input .btn {
		margin-right: calc(var(--pl1) + 0.5em);
	}
}

.btn-grp.bs-input .btn {
	margin-right: var(--pl1);
}

.btn-grp.bs-input .btn:last-of-type {
	margin-right: 0;
}

/* upto iPhoneX landscape mode */
@media screen and (max-width: 991.98px) and (orientation: landscape) {
	fieldset {
		padding-right: 1.2em;
	}

	.btn-grp.bs-input {
		padding-top: 0;
		padding-left: 0 !important;
	}
}

/* only for tablet resolution in portrait mode */
@media screen and (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
	fieldset {
		padding-right: 1.2em;
	}

	.btn-grp.bs-input {
		padding-left: 0 !important;
	}

	.btn.btn-md,
	.btn.btn-lg {
		width: 155px;
	}
}

/* upto iPhone8 Plus landscape mode */
@media screen and (max-width: 767.98px) and (orientation: landscape) {
	fieldset:last-of-type {
		padding-right: 0;
	}
}

/*from HD screen*/
@media screen and (min-width: 1200px) {
	span#sms_display_btn_verify a {
		width: 130px !important;
	}
}

/* IE 10+11 */
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
	/* buttons */
	button.btn.primary,
	a.btn.primary,
	input[type='button'].btn.primary,
	#main_content input[type='submit'].btn.primary {
		background-color: #e3e3e3;
		border: 1px solid #e3e3e3;
		color: #7e7e7e;
	}

	button.btn.primary:hover,
	a.btn.primary:hover,
	input[type='button'].btn.primary:hover,
	#main_content input[type='submit'].btn.primary:hover {
		background-color: transparent;
		border-color: #7e7e7e;
		color: #7e7e7e;
	}

	button.btn.success,
	a.btn.success,
	input[type='button'].btn.success,
	#main_content input[type='submit'].btn.success {
		background-color: #009f19;
		border: 1px solid #009f19;
	}

	button.btn.success:hover,
	a.btn.success:hover,
	input[type='button'].btn.success:hover,
	#main_content input[type='submit'].btn.success:hover {
		background-color: transparent !important;
		color: #009f19;
	}

	button.btn.error,
	a.btn.error,
	input[type='button'].btn.error,
	#main_content input[type='submit'].btn.error {
		background-color: #a00024;
		border: 1px solid #a00024;
	}

	button.btn.error:hover,
	a.btn.error:hover,
	input[type='button'].btn.error:hover,
	#main_content input[type='submit'].btn.error:hover {
		background-color: transparent;
		color: #a00024;
	}

	button.btn.warning,
	a.btn.warning,
	input[type='button'].btn.warning,
	#main_content input[type='submit'].btn.warning {
		background-color: #f79439;
		border: 1px solid #f79439;
	}

	button.btn.warning:hover,
	a.btn.warning:hover,
	input[type='button'].btn.warning:hover,
	#main_content input[type='submit'].btn.warning:hover {
		background-color: transparent;
		color: #f79439 !important;
	}

	/* button group */
	.btn-grp .btn {
		margin-right: 1em;
	}

	/* button group beside input fields */
	.btn-grp.bs-input {
		padding-top: 2.5em;
		padding-left: 0;
	}
}

/* 08. modal for sms notification and edit*/
#sms_display_number {
	font-size: 1.4em;
	font-weight: 600;
	text-align: left;
	padding-right: 0.5em;
	color: #565555;
}

#sms_display_number + #sms_display_verified {
	font-size: 1.4em;
	position: relative;
}

#sms_display_number + #sms_display_verified.not_verified {
	padding-left: 30px;
}

#sms_display_number + #sms_display_verified.not_verified:before {
	content: '';
	float: left;
	margin-right: 3px;
	background: url(/images/icons/general/alert.png);
	height: 15px;
	width: 18px;
	position: absolute;
	top: 0px;
	left: 2px;
}

/* hiding the resize handle for the input panel */
.sms_modal .ui-resizable-se {
	display: none !important;
}

.sms_modal.ui-dialog,
.edit_modal.ui-dialog,
.portfolio_edit_modal.ui-dialog {
	position: fixed !important;
	top: 50% !important;
	left: 47% !important;
	transform: translate(-50%, -50%);
	margin-left: 0;
}

.sms_modal div.ui-dialog-titlebar,
.edit_modal div.ui-dialog-titlebar {
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.46);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.46);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.46);
}

.sms_modal div.ui-dialog-titlebar,
.edit_modal div.ui-dialog-titlebar,
.portfolio_edit_modal .custom-dialog-header {
	border: 0;
	background: none;
	background-color: #007f06;
	color: #fff;
	padding: 20px 15px;
	text-align: center;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.portfolio_edit_modal .custom-dialog-header {
	position: relative;
}

.portfolio_edit_modal div.ui-dialog-titlebar {
	background: none;
	padding: 0;
}

.portfolio_edit_modal div.ui-dialog-titlebar {
	background: none;
	padding: 0 15px;
	border: none;
}

.portfolio_edit_modal .custom-dialog-header {
	margin: -20px -20px 15px -20px;
}

.sms_modal div.ui-dialog-titlebar:after {
	content: 'Please enter the number you would like to use.';
	display: block;
	width: 100%;
	font-size: 11pt;
	font-weight: normal;
	color: #eeefee;
}

.sms_modal div.ui-dialog-titlebar .ui-dialog-title,
.edit_modal div.ui-dialog-titlebar .ui-dialog-title,
.portfolio_edit_modal .custom-dialog-header h2 {
	font-size: 16pt;
	color: #efefef;
	text-align: center;
	width: 100%;
}

.portfolio_edit_modal div.ui-dialog-titlebar .ui-dialog-title {
	display: none;
}

.portfolio_edit_modal .custom-dialog-header p {
	font-size: 1.2em;
	color: #fff;
	margin-top: 8px;
}

.sms_modal div#modal_interface button.btn.success {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 10px;
	background: no-repeat;
	border: 0;
	box-shadow: none;
	text-shadow: none;
	background-color: #007f06;
	padding: 15px;
	font-size: 14pt;
	color: #f0eeef !important;
	font-weight: normal;
	text-transform: uppercase;
	border: 1px solid #007f06;
	transition: none;
}

.sms_modal div#modal_interface button.btn.success:hover,
.sms_modal div#modal_interface button.btn.success:focus {
	background-color: transparent;
	border: 1px solid #007f06;
	color: #007f06 !important;
	transition: all ease 0.3s;
}

.sms_modal .ui-widget-content,
.edit_modal .ui-widget-content,
.portfolio_edit_modal .ui-widget-content {
	border: 1px solid #aaa;
	background: none;
	background-color: #fafafa;
	padding: 15px 20px;
}

.edit_modal #dialog-confirm-pwd input[type='button'].btn.error {
	float: right;
}

.sms_modal #modal_interface {
	background: url(/images/zacks/icons/phone-sms.png) 0 13px no-repeat;
	padding: 10px 0px 10px 0px;
	min-height: 105px;
}

.sms_modal #modal_interface p {
	padding-left: 48px;
}

.sms_modal .phone_number {
	padding-left: 50px;
	background: none;
	position: relative;
}

.sms_modal .phone_number:before {
	content: '';
	height: 16px;
	width: 22px;
	background: url(/images/zacks/icons/flag_us.png) 0 3px no-repeat;
	display: block;
	position: absolute;
	left: 57px;
	top: 13px;
	z-index: 9;
}

.sms_modal .phone_number:after {
	content: '';
	display: block;
	width: 50px;
	height: 36px;
	background: linear-gradient(#fff, #e2e0e0);
	position: absolute;
	left: 52px;
	top: 2px;
	border-right: 2px solid #ccc;
}

.sms_modal .phone_number span {
	position: absolute;
	left: 82px;
	top: 14px;
	z-index: 9;
	display: inline-block;
}

.sms_modal .phone_number span:before {
	content: '';
	position: absolute;
	margin: auto;
	top: 3px;
	left: 17px;
	right: 0;
	width: 8px;
	height: 8px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	border-right: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: linear-gradient(#fff, #e7e6e6);
	z-index: 99;
}

.sms_modal .phone_number input[type='text'] {
	padding: 8px 10px 8px 68px;
	border: 2px solid #ccc;
	box-shadow: none;
	width: 73%;
	min-height: 20px;
}

@-moz-document url-prefix() {
	.sms_modal .phone_number input[type='text'] {
		width: 315px;
	}

	.sms_modal .phone_number input[type='text'] {
		padding: 9px 10px 8px 68px;
	}
}

.sms_modal .phone_number input[type='text']:focus {
	outline: 0 none;
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close,
.edit_modal.ui-dialog .ui-dialog-titlebar-close,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close {
	position: absolute;
	top: -5px;
	right: -8px;
	height: 30px;
	width: 30px;
	border-radius: 50%;
	border: none;
	outline: none;
	background-color: #007f06;
}

.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close {
	z-index: 9;
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon {
	background: none;
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon {
	opacity: 1;
	transition: all linear 0.1s;
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before,
.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after {
	position: absolute;
	left: 14px;
	top: 6px;
	content: ' ';
	height: 18px;
	width: 4px;
	background-color: #fff;
	border-radius: 4px;
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:before {
	transform: rotate(45deg);
}

.sms_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after,
.edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after,
.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close .ui-icon:after {
	transform: rotate(-45deg);
}

.sms_modal #modal_interface p span.error {
	position: absolute;
	left: 50%;
	top: -17px;
	transform: translate(-50%, 0);
	width: 96%;
	font-size: 0.7rem;
	font-weight: normal;
	text-align: center;
	margin-left: 0;
}

.sms_modal.ui-dialog .ui-dialog-content,
.edit_modal.ui-dialog .ui-dialog-content,
.portfolio_edit_modal.ui-dialog .ui-dialog-content {
	overflow: hidden;
	-webkit-box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.46);
	-moz-box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.46);
	box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.46);
}

/*Number verify modal*/
.sms_modal div#modal_interface.number_verify_modal {
	background: none;
	padding: 0;
	min-height: auto;
}

.sms_modal div#modal_interface.number_verify_modal p.phone_number {
	display: block;
	text-align: center;
	padding-left: 0;
	color: #333;
	font-size: 12pt;
}

.sms_modal div#modal_interface.number_verify_modal p.phone_number:after {
	background: none;
	border-right: 0;
}

.sms_modal div#modal_interface.number_verify_modal p.phone_number:before {
	background: none;
}

.sms_modal div#modal_interface.number_verify_modal p.update_msg,
.sms_modal div#modal_interface.number_verify_modal p.remove_number_msg {
	text-align: justify;
	font-size: 1.5em;
}

.sms_modal div#modal_interface.number_verify_modal p.success_msg {
	text-align: center;
	color: #007f06 !important;
	border: 1px solid #007f06;
	background: #eee;
	padding: 4px;
	border-radius: 3px;
	margin-top: 10px;
}

.sms_modal div#modal_interface.number_verify_modal p.update_msg {
	color: #e86e1a !important;
	border: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 4px 0 0 0;
}

.sms_modal div#modal_interface.number_verify_modal p.remove_number_msg {
	color: #a00024 !important;
}

.sms_modal div#modal_interface.number_verify_modal p.warning_msg {
	color: #df7c38;
	width: 60%;
	padding: 8px 0px;
	margin-top: 14px !important;
	float: left;
	font-weight: 600;
	text-align: left;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.warning_msg
	+ #sms_update_frm {
	float: right;
	width: 32%;
	padding: 8px;
	margin-top: 14px;
	font-size: 1.5em;
	border: 2px solid #df7c38;
	background: transparent;
	color: #df7c38 !important;
	padding: 5px;
	text-transform: capitalize;
	border-radius: 3px;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.warning_msg
	+ #sms_update_frm:hover {
	text-decoration: none;
	background: #df7c38;
	color: #fff !important;
	transition: all linear 0.3s;
}

.sms_modal div#modal_interface.number_verify_modal p.code_block {
	border-top: 1px solid #ccc;
	margin-top: 50px !important;
}

.sms_modal div#modal_interface.number_verify_modal p.code_block label {
	padding-bottom: 7px;
	color: #333;
	font-size: 1.2em;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.code_block
	input[type='text'] {
	padding: 10px;
	border: 2px solid #ccc;
	box-shadow: none;
	width: 77%;
	min-height: 20px;
}

.sms_modal div#modal_interface.number_verify_modal p > button#sms_verify_frm {
	margin-top: 0;
	margin-bottom: 0;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.update_msg
	+ p
	> .fancy_button
	+ .fancy_button,
.sms_modal
	div#modal_interface.number_verify_modal
	p.remove_number_msg
	+ p
	> .fancy_button
	+ .fancy_button {
	margin-right: 0;
	margin-top: 2px;
	margin-bottom: 0;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.update_msg
	+ p
	button:first-child,
.sms_modal
	div#modal_interface.number_verify_modal
	p.remove_number_msg
	+ p
	button:first-child {
	background-color: #a00024;
	border: 1px solid #a00024;
	color: #fff !important;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.update_msg
	+ p
	button:first-child:hover,
.sms_modal
	div#modal_interface.number_verify_modal
	p.update_msg
	+ p
	button:first-child:focus,
.sms_modal
	div#modal_interface.number_verify_modal
	p.remove_number_msg
	+ p
	button:first-child:hover,
.sms_modal
	div#modal_interface.number_verify_modal
	p.remove_number_msg
	+ p
	button:first-child:focus {
	color: #a00024 !important;
	border: 1px solid #a00024;
	background-color: transparent;
	transition: all ease 0.3s;
}

/*edit modal*/

.sms_modal div#modal_interface.number_verify_modal p.phone_number.add_number {
	display: block;
	padding-left: 50px;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.phone_number.add_number:after {
	background: linear-gradient(#fff, #e2e0e0);
	border-right: 2px solid #ccc;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.phone_number.add_number:before {
	background: url(/images/zacks/icons/flag_us.png) 0 3px no-repeat;
}

.sms_modal
	div#modal_interface.number_verify_modal
	p.phone_number.add_number
	input[type='text'] {
	margin-bottom: 0;
}

.sms_modal #modal_interface.number_verify_modal p.add_mobile_number:after {
	content: '';
	display: block;
	width: 43px;
	height: 61px;
	background: url(/images/zacks/icons/phone-sms.png) 0 13px no-repeat;
	position: absolute;
	top: -18px;
	left: auto;
}

/*remove modal*/
.edit_modal #dialog-confirm p:first-child {
	margin-bottom: 10px;
}

.edit_modal #dialog-confirm input[type='button'] {
	margin-bottom: 0;
}

.edit_modal #dialog-confirm p:first-child {
	color: #000;
	text-align: center;
	font-size: 1.5em;
}

.edit_modal #dialog-confirm input[type='button']:last-child {
	float: right;
}

/* upto iPad Portrait */
@media screen and (max-width: 768px) {
	.sms_modal.ui-dialog,
	.ui-dialog .ui-widget-content,
	.edit_modal.ui-dialog,
	.ui-dialog .ui-widget-content,
	.portfolio_edit_modal.ui-dialog,
	.ui-dialog .ui-widget-content {
		width: 96%;
		max-width: 750px;
		min-width: 245px;
	}

	.sms_modal.ui-dialog-titlebar,
	.edit_modal.ui-dialog-titlebar,
	.portfolio_edit_modal.ui-dialog-titlebar {
		min-width: 257px;
		margin-left: 0;
	}

	.sms_modal .ui-widget-content,
	.edit_modal .ui-widget-content,
	.portfolio_edit_modal .ui-widget-content {
		padding: 15px 14px;
	}

	.sms_modal div#modal_interface button {
		margin-top: 0;
		margin-right: 0;
	}

	.ui-dialog,
	.ui-dialog .ui-widget-content,
	.ui-dialog-titlebar {
		width: 92.5%;
		max-width: 750px;
		min-width: 257px;
	}

	.sms_modal div.ui-dialog-titlebar:after,
	.edit_modal div.ui-dialog-titlebar:after,
	.portfolio_edit_modal div.ui-dialog-titlebar:after {
		font-size: 9pt;
	}
}

/* custom range*/
@media screen and (max-width: 322px) {
	.sms_modal div.ui-dialog-titlebar,
	.edit_modal div.ui-dialog-titlebar,
	.portfolio_edit_modal div.ui-dialog-titlebar {
		margin-left: -8px;
	}
}

/* upto iPhone5,6,7 portrait mode */
@media screen and (max-width: 374px) {
	.sms_modal .phone_number input[type='text'] {
		width: 49%;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 91%;
	}
}

/* upto iPhone5,6,7 portrait mode */
@media screen and (max-width: 480px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		left: 41% !important;
		margin-left: 18px;
	}

	.sms_modal #modal_interface {
		padding-left: 0;
		padding-right: 0;
	}

	.edit_modal.ui-dialog
		#dialog-confirm
		input[type='button'].btn.btn-lg.success {
		background-color: #009f19;
		border: 1px solid #009f19;
	}

	.edit_modal.ui-dialog button.ui-dialog-titlebar-close .ui-icon:before,
	.edit_modal.ui-dialog button.ui-dialog-titlebar-close .ui-icon:after,
	.portfolio_edit_modal.ui-dialog
		button.ui-dialog-titlebar-close
		.ui-icon:after {
		position: absolute;
		left: 14px;
		top: 6px;
		content: '';
		height: 18px;
		width: 4px;
		background-color: #fff;
		-webkit-border-radius: 4px;
		border-radius: 4px;
	}

	.edit_modal.ui-dialog button.ui-dialog-titlebar-close .ui-icon:after,
	.portfolio_edit_modal.ui-dialog
		button.ui-dialog-titlebar-close
		.ui-icon:after {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
}

/*iPhone5,6,7 porttrait mode */
@media screen and (min-width: 375px) {
	.sms_modal .phone_number input[type='text'] {
		width: 56%;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 92%;
	}
}

/* iPhone5,6,7 landscape  mode */
@media screen and (min-width: 481px) {
	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 94.5%;
	}
}

/* iPhone 6/7/8 landscape mode to iPdad porttrait mode */
@media screen and (max-width: 768px) and (min-width: 481px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		margin-left: 21px;
	}
}

/* Upto iPhone 6/7/8 landscape mode */
@media screen and (max-width: 600px) {
	.ui-dialog-titlebar {
		left: 0px !important;
	}
}

/* iPhone5,6,7 landscape  mode */
@media screen and (min-width: 601px) {
	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 93%;
	}
}

/*iPhone5,6,7 landscape  mode */
@media screen and (min-width: 568px) and (max-width: 666px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		width: 395px !important;
	}

	.sms_modal .phone_number input[type='text'] {
		width: 312px;
	}
}

/*iPhone5,6,7 landscape  mode */
@media screen and (min-width: 667px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		width: 395px !important;
	}

	.sms_modal .phone_number input[type='text'] {
		width: 220px;
	}
}

/*iPhone5,6,7 landscape  mode */
@media screen and (min-width: 568px) and (max-width: 767px),
	(min-width: 769px) and (max-width: 823px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		top: 54% !important;
	}

	.sms_modal div.ui-dialog-titlebar,
	.edit_modal div.ui-dialog-titlebar {
		padding: 6px 15px;
	}

	.sms_modal .ui-widget-content {
		padding: 0px 14px;
	}

	.sms_modal div#modal_interface.number_verify_modal p.success_msg {
		margin: 10px auto;
		padding: 4px;
		font-size: 1.2em;
	}

	.sms_modal div#modal_interface.number_verify_modal p.warning_msg,
	.sms_modal
		div#modal_interface.number_verify_modal
		p.warning_msg
		+ #sms_update_frm {
		margin-top: 0 !important;
	}

	.sms_modal div#modal_interface.number_verify_modal p.code_block {
		margin-top: 30px !important;
	}

	.sms_modal div#modal_interface.number_verify_modal p.code_block label {
		padding-top: 6px;
	}

	.sms_modal div#modal_interface.number_verify_modal p.phone_number {
		font-size: 9pt;
		padding-top: 4px;
	}

	.sms_modal div#modal_interface.number_verify_modal p > button#sms_verify_frm {
		padding: 6px;
		margin-bottom: 8px;
	}

	.sms_modal div#modal_interface.number_verify_modal p.remove_number_msg {
		padding-top: 6px;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.update_msg
		+ p
		> .fancy_button
		+ .fancy_button,
	.sms_modal
		div#modal_interface.number_verify_modal
		p.remove_number_msg
		+ p
		> .fancy_button
		+ .fancy_button {
		margin-bottom: 8px;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		margin-bottom: 6px !important;
	}

	.sms_modal div#modal_interface.number_verify_modal p.update_msg {
		padding-top: 8px;
	}

	.sms_modal div#modal_interface .fancy_button {
		margin-left: 0;
		margin-right: 0;
	}

	/*edit modal*/
	.sms_modal #modal_interface.number_verify_modal p.add_mobile_number:after {
		top: -6px;
	}
}

/* iPad portrait mode */
@media screen and (min-width: 768px) {
	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog {
		left: 50% !important;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 92.5%;
	}
}

/* iPad landscape mode */
@media screen and (min-width: 992px) {
	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 93%;
		margin-bottom: 20px;
	}
}

/* Upto iPdad landscape mode */
@media screen and (max-width: 1023px) {
	.sms_modal .ui-dialog-titlebar,
	.edit_modal .ui-dialog-titlebar,
	.portfolio_edit_modal .ui-dialog-titlebar {
		margin-left: 0;
	}

	.sms_modal div.ui-dialog-titlebar,
	.edit_modal div.ui-dialog-titlebar,
	.portfolio_edit_modal div.ui-dialog-titlebar {
		left: auto !important;
	}

	#main_content {
		margin-top: 120px;
	}
}

/* Desktop view*/
@media screen and (min-width: 1024px) {
	.switch_container.with-text {
		left: 0;
	}

	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog,
	.portfolio_edit_modal.ui-dialog {
		width: 407px !important;
	}

	.sms_modal.ui-dialog,
	.edit_modal.ui-dialog {
		left: 49.8% !important;
	}

	.sms_modal
		div#modal_interface.number_verify_modal
		p.code_block
		input[type='text'] {
		width: 93.5%;
	}

	.paid_label_container {
		margin-left: 0 !important;
	}

	section#cont_fdd_paid_subs {
		width: 100%;
	}

	.sms_modal.ui-dialog .ui-dialog-content {
		overflow: auto !important;
	}
	.sms_modal #modal_interface p {
		padding-left: 0.5em !important;
	}
	.sms_modal .phone_number input[type='text'] {
		float: right;
		width: 233px;
	}
}

/* 09. styles for alert preference */

/*00. global styles*/
.alert_pref_content #subscription_prefs form.aler_pref_form div.header {
	border: 0;
	padding-left: 18px;
	padding-top: 12px;
}

#subscription_prefs label {
	font-size: 11pt;
	position: relative;
}

#cont_fdd_paid_subs .paid_subscription .paid_service_name_col p label {
	padding-left: 25px;
}

#subscription_prefs .paid_service_name_col label span {
	width: 20px;
	height: 20px;
	position: absolute;
	top: -3px;
	margin-right: 4px;
	left: 0;
}

#subscription_prefs span a.edit_days {
	background: url(/images/icons/general/edit.png) no-repeat !important;
	width: 17px;
	height: 17px;
	text-indent: -99999px;
	display: inline-block;
	/*position: relative;
    top: -10px;
    margin-left: 5px;*/
	padding: 2px;
	cursor: pointer;
	margin-left: 5px;
}

#main_content .alert_pref_content input[type='submit'] {
	margin-bottom: 20px;
}

.alert_pref_content form.aler_pref_form {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	margin-top: 0 !important;
}

.alert_pref_content form.aler_pref_form .header {
	margin-bottom: 25px;
}

.alert_pref_content form.aler_pref_form .subscription_inner_wrapper {
	background-color: white;
	border: 1px solid #ebebeb;
	border-radius: 4px;
	margin: 2em 0;
	padding: 0;
	margin: 10px 0;
}

.alert_pref_content form.aler_pref_form #cont_fdd_subscriptions {
	padding-left: 3em;
	padding-right: 3em;
}

.alert_pref_content #subscription_prefs section {
	padding-top: 24px;
	padding-bottom: 24px;
	min-height: 44px;
}

.alert_pref_content form.aler_pref_form h1.preference_header {
	color: #009f19;
	text-shadow: none;
	padding: 1.2em 1.3em 0.5em;
	font-size: 1.9em !important;
	text-transform: capitalize;
	margin: 0 !important;
}

.alert_pref_content section#cont_fdd_followed_category,
.alert_pref_content section#cont_fdd_subscriptions {
	border-bottom: 0;
}

.alert_pref_content section#cont_fdd_followed_category {
	margin-bottom: 0;
	padding-bottom: 10px;
}

.alert_pref_content #cont_fdd_followed_author .checkebox_container p,
.alert_pref_content #cont_fdd_followed_category .checkebox_container p {
	margin-bottom: 0.5em;
	min-height: 24px;
}

.alert_pref_content #cont_fdd_followed_author .checkebox_container p,
.alert_pref_content #cont_fdd_followed_category .checkebox_container p {
	padding-top: 0.4em;
}

.alert_pref_content .alert_update_loader {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(234, 234, 234, 0.9);
	width: 100% !important;
	height: 100%;
	z-index: 202;
	margin-left: 0 !important;
}

.alert_pref_content .alert_update_loader > img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*01. switch styles*/
#subscription_prefs section > div {
	margin-left: 0;
}

.switch_container,
.checkebox_container {
	float: left;
}

.switch_container input {
	height: 0;
	width: 0;
	visibility: hidden;
}

.switch_container label {
	cursor: pointer !important;
	text-indent: -9999px;
	-webkit-appearance: none;
	height: 30px;
	width: 61px !important;
	background-color: #5a5a5a;
	border-radius: 43px;
	position: relative;
	float: left !important;
	margin-right: 15px !important;
}

.switch_container label:after {
	content: '';
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	background-color: #fff;
	position: absolute;
	border-radius: 100%;
	transform: translateX(0);
	transition: 0.3s;
	display: inline-block;
}

.switch_container input:checked + label {
	background-color: #009f19;
}

.switch_container input:checked + label:after {
	left: 95%;
	transform: translateX(-100%);
}

.switch_container span.title {
	font-size: 13.5pt;
	color: #007f06;
	text-transform: capitalize;
	margin-top: 4px;
	display: inline-block;
}

.switch_container input[type='checkbox'][disabled] + label {
	opacity: 0.2;
	cursor: default !important;
}

.switch_container.with-text input + label {
	text-indent: inherit;
}

.switch_container.with-text input + label:before {
	content: 'OFF';
	color: #fff;
	font-size: 10px;
	position: absolute;
	top: 10px;
	right: 9px;
	z-index: 999;
	width: 20px;
	height: 10px;
	white-space: nowrap;
	text-indent: inherit;
	font-weight: bold;
}

.switch_container.with-text input:checked + label:before {
	content: 'ON';
	color: #fff;
	font-size: 10px;
	position: absolute;
	top: 10px;
	right: 27px;
	z-index: 9;
	width: 20px;
	height: 10px;
	white-space: nowrap;
	text-indent: inherit;
	font-weight: bold;
}

.single-order-details .switch_container input {
	position: absolute;
}

/*02. custom checkbox styles*/
.checkbox_model {
	width: 17px;
	height: 18px;
	position: relative;
	display: inline-block;
	vertical-align: top;
}

.checkbox_model > * {
	position: absolute;
}

.Checkbox-visible {
	border: 1px solid #7e7e7e;
	width: 16px;
	height: 16px;
	margin: 2px;
	background: #fff;
	border-radius: 3px;
}

.checkbox_model > input {
	z-index: 9;
	opacity: 0;
	left: 0px;
	top: 0;
	display: block;
	cursor: pointer;
	width: 20px;
	height: 20px;
}

.paid_service_opt_col .checkbox_model > input {
	left: 10px;
}

.checkbox_model > input:checked + .Checkbox-visible {
	background: #0598f7;
	border-color: #ababab;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTQnIGhlaWdodD0nMTQnIHZpZXdCb3g9JzAgMCAxNCAxNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48dGl0bGU+d2hpdGU8L3RpdGxlPjxwYXRoIGQ9J001LjM3OCAxMS4zN0wyIDcuNTlsMS40MzgtMS4yODZMNS4zNzQgOC40N2w1LjE4NS01Ljg0TDEyIDMuOTFsLTYuNjIyIDcuNDYnIGZpbGw9JyNmZmYnLz48L3N2Zz4=);
}

.checkbox_model > input:hover + .Checkbox-visible {
	border-color: #ccc;
}

.alert_pref_content
	.checkebox_container
	span.checkbox_model
	> input[type='checkbox'][disabled] {
	display: none;
}

input[type='checkbox'][disabled] + i.Checkbox-visible {
	opacity: 0;
	cursor: default;
}

input[type='checkbox'][disabled]:checked + i.Checkbox-visible {
	background: none;
	background-image: none;
}

/*checkbox wrapper*/
.checkebox_container label {
	float: none !important;
	width: auto;
	margin-left: 15px;
	padding-bottom: 9px !important;
	color: #5a5a5a !important;
	font-size: 11pt !important;
	display: inline-block !important;
	position: relative;
	top: 2px;
}

/*Exceptional class for Weekly Container label tag*/
.checkebox_container.weekly-selector label {
	margin-left: 0;
	padding-bottom: 0 !important;
}

/* Subhranil Dutta*/

.checkebox_container p {
	margin-top: 0 !important;
	min-height: 17px;
	margin-bottom: 0.5em;
}

#cont_fdd_followed_author .checkebox_container div:last-child p > label,
#cont_fdd_followed_category .checkebox_container div:last-child p > label {
	padding-bottom: 0 !important;
}

.checkebox_container p:last-child {
	margin-bottom: 0px;
}

/*Custom Checkbox for Portfolio Dates*/
#dialog-confirm-day p.portfolio-name {
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	text-transform: uppercase;
	margin: 5px 0;
}

#dialog-confirm-day .checkebox_container.weekly-selector,
#dialog-confirm-day .container.weekly-buttons {
	margin: 0 auto;
	float: none;
}

#dialog-confirm-day .container.weekly-buttons {
	margin-top: 15px;
}

.email_updates_container div > p {
	float: left;
	width: 100%;
}

.email_updates_container span,
.email_updates_container label,
.email_updates_container span a {
	float: left !important;
}

/**/
#dialog-confirm-day .wk_checkbox {
	display: block;
	position: relative;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 20%;
}

/* Hide the browser's default checkbox */
#dialog-confirm-day .wk_checkbox input {
	/*position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;*/
	display: none !important;
}

/* Create a custom checkbox */
/*#dialog-confirm-day .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 46.3px;
  background-color: #fff;
display: inline-block;
margin-right: 1.15em;
position: relative;
border-radius: 4px;
-webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
    border: 1px solid #e07733;
    color: #e07733;
    font-weight: bold;
    text-align: center;
    line-height: 36px;
    font-size: 0.9em;
}
#dialog-confirm-day .wk_checkbox:last-child .checkmark{
    margin-right: 0;
}*/
#dialog-confirm-day input[type='checkbox'] + span {
	cursor: pointer;
	height: 35px;
	width: 90%;
	background-color: #ffffff;
	display: inline-block;
	margin-right: 1.15em;
	position: relative;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid #e07733;
	color: #e07733;
	font-weight: bold;
	text-align: center;
	line-height: 36px;
	font-size: 0.9em;
}

#dialog-confirm-day input[type='checkbox']:checked + span {
	background: #e07733;
	color: #ffffff;
}

#dialog-confirm-day label:last-child input[type='checkbox'] + span {
	width: 100%;
}

/* On mouse-over, add a grey background color */
/* When the checkbox is checked, add a blue background */
/*#dialog-confirm-day .wk_checkbox:hover input ~ .checkmark,
#dialog-confirm-day .wk_checkbox input:checked ~ .checkmark {
  background-color: #e07733;
      color: #fff;
}*/

#dialog-confirm-day .container.weekly-buttons input[type='button'] {
	width: 47%;
}

/* Create the checkmark/indicator (hidden when not checked) */
/*#dialog-confirm-day .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}*/

/* Show the checkmark when checked */
/*#dialog-confirm-day .wk_checkbox input:checked ~ .checkmark:after {
  display: block;
}*/

/* Style the checkmark/indicator */
/*#dialog-confirm-day .wk_checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0;
}*/

/*Firefox CSS styles for checkbox*/
@-moz-document url-prefix() {
	.checkbox_model > input {
		left: 0px;
	}

	.paid_service_opt_col .checkbox_model > input {
		left: 10px;
	}
}

/*IE10 and IE11 CSS styles for checkbox*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.checkbox_model > input {
		left: 0px;
	}

	.paid_service_opt_col .checkbox_model > input {
		left: 10px;
	}
}

/*Ms Edge CSS styles for checkbox*/
@supports (-ms-ime-align: auto) {
	.checkbox_model > input {
		left: 0px;
	}

	.paid_service_opt_col .checkbox_model > input {
		left: 10px;
	}

	#dialog-confirm-day .checkmark {
		width: 46px;
	}
}

/*03. free subscription section*/
.alert_pref_content
	#cont_fdd_free_subs
	> #cont_group_other_services
	> div:first-of-type {
	margin-right: 0;
}

.alert_pref_content #cont_fdd_free_subs .checkebox_container h2 {
	font-size: 13.5pt;
	color: #5a5a5a;
	text-transform: capitalize;
	margin-bottom: 10px;
	margin-left: 0;
}

.alert_pref_content #cont_fdd_free_subs .checkebox_container h2:first-child {
	margin-bottom: 20px;
}

.alert_pref_content .paid_label_container {
	float: left;
}

.alert_pref_content .paid_label_container h4 {
	float: left;
	font-size: 11pt;
	color: #5a5a5a;
	text-transform: capitalize;
	margin-bottom: 10px;
	margin-top: 0;
	text-align: center;
}

.alert_pref_content .paid_service_name_col p:first-child,
.alert_pref_content .paid_service_opt_col p:first-child {
	height: 30px !important;
	line-height: 0;
}

.alert_pref_content .paid_service_name_col p:nth-child(even),
.alert_pref_content .paid_service_opt_col p:nth-child(even) {
	background: none;
}

.alert_pref_content
	#subscription_prefs
	.paid_subscription
	.paid_service_name_col
	label {
	font-size: 12pt !important;
	padding: 0 0 14px 0 !important;
	color: #5a5a5a !important;
}

.alert_pref_content
	.paid_service_opt_col.checkebox_container
	input[type='checkbox'] {
	float: none !important;
}

.alert_pref_content .paid_subscription {
	margin-top: 72px;
}

.alert_pref_content .paid_subscription p > label {
	color: #5a5a5a !important;
}

.alert_pref_content .paid_subscription:before,
.paid_subscription:after {
	content: '';
	clear: both;
	display: block;
	width: 0;
	height: 0;
}

.alert_pref_content .paid_subscription div > p {
	height: 30px !important;
}

/*04. Start email updates section*/
.alert_pref_content .email_updates_container {
	margin-top: 30px;
}

.alert_pref_content .email_updates_container div {
	float: left;
}

.alert_pref_content
	.email_updates_container.single_column_container
	div.col-md-4 {
	width: 100%;
}

.alert_pref_content .email_updates_container div p > label {
	/*word-break: break-all;*/
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
}

.alert_pref_content
	form.aler_pref_form
	input[type='submit'].footer_success_btn {
	margin-top: 20px !important;
}

#subscription_prefs {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/*05. Start footer*/
#subscription_prefs.alert_pref_content footer {
	margin-top: 0px;
	padding: 0;
}

/* 06. unsubscribe page*/
#main_content
	#right_content
	.alert_pref_content
	.unsubscribe_form
	p:first-child {
	margin-bottom: 10px;
	margin-top: 24px;
}

#main_content
	#right_content
	.alert_pref_content
	.unsubscribe_form
	input[type='text'] {
	width: 50%;
	display: block;
	float: none;
}

/*07. Start media query*/
/* upto iPad portrait view */
@media (max-width: 767px) {
	/*not verified msg*/
	#sms_display_number + #sms_display_verified.not_verified {
		display: block;
	}

	.alert_pref_content form.aler_pref_form h1.preference_header {
		padding-left: 1em;
	}

	/*alert preference page*/
	.alert_pref_content #cont_fdd_followed_author .checkebox_container,
	.alert_pref_content #cont_fdd_followed_category .checkebox_container,
	.alert_pref_content #cont_group_other_services .checkebox_container {
		/*padding-left:84px;*/
		padding-left: 10px;
	}

	.alert_pref_content #cont_fdd_followed_author .checkebox_container,
	.alert_pref_content #cont_fdd_followed_category .checkebox_container {
		margin-top: 30px;
	}

	.alert_pref_content
		form.aler_pref_form
		#cont_fdd_subscriptions
		#cont_fdd_free_subs
		.switch_container {
		margin-bottom: 30px;
	}

	.alert_pref_content #subscription_prefs label {
		font-size: 10pt !important;
	}

	.alert_pref_content .aler_pref_form input[type='checkbox'] {
		margin-bottom: 10px;
	}

	.alert_pref_content #cont_fdd_free_subs .checkebox_container h2 {
		font-size: 1.5em;
	}

	.alert_pref_content #cont_fdd_free_subs .checkebox_container h2:first-child {
		margin-bottom: 10px;
	}

	/*Start paid subscription*/
	.alert_pref_content .paid_label_container h4 {
		font-size: 1em;
	}

	.alert_pref_content .paid_subscription {
		margin-top: 10px;
		margin-left: 10px !important;
	}

	.alert_pref_content .paid_subscription_row {
		margin-left: 0 !important;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_sms,
	.alert_pref_content .paid_service_opt_col#cont_group_summary,
	.alert_pref_content .paid_service_opt_col#cont_group_intraday {
		margin-top: -4px;
	}

	/*End paid subscription*/

	.alert_pref_content .paid_subscription p > input[type='checkbox'] {
		margin-right: 0 !important;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_summary {
		margin-left: 2px;
	}

	.alert_pref_content .paid_service_name_col p,
	.paid_service_opt_col p {
		width: 84%;
	}

	.alert_pref_content
		#subscription_prefs
		.paid_subscription
		.paid_service_name_col
		label {
		font-size: 10pt !important;
	}

	.alert_pref_content .email_updates_container {
		margin-left: 10px !important;
	}

	/*unsubscribe form*/
	#main_content
		#right_content
		.alert_pref_content
		.unsubscribe_form
		p:first-child {
		margin-top: 0px;
	}

	#main_content
		#right_content
		.alert_pref_content
		.unsubscribe_form
		input[type='text'] {
		width: 100%;
	}
}

/* iPhone 5 Porttrait */
@media (min-width: 320px) and (max-width: 413px) {
	.alert_pref_content .paid_label_container h4 {
		font-size: 1em;
		margin-right: 0px;
		width: 46px;
	}

	/*Start paid subscription*/
	.alert_pref_content .paid_subscription_row label {
		width: 95px !important;
		margin-right: 10px !important;
	}

	.alert_pref_content .paid_subscription_row span.checkebox_container {
		margin-right: 27px;
	}

	.alert_pref_content
		.paid_subscription_row
		span.checkebox_container:last-child {
		margin-right: 0px;
	}

	.alert_pref_content .paid_label_container {
		position: relative;
		left: 128px;
	}

	.alert_pref_content .paid_subscription_row .subscription_checkbox_col {
		width: 118px;
	}

	/*End paid subscription*/

	.alert_pref_content .paid_service_name_col p,
	.paid_service_opt_col p {
		width: 96%;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_intraday,
	.alert_pref_content .paid_service_opt_col#cont_group_summary {
		margin-right: 24px;
	}

	#dialog-confirm-day .wk_checkbox {
		width: 20%;
	}

	#dialog-confirm-day .checkmark {
		width: 85%;
		margin-right: 4px;
	}

	.portfolio_edit_modal.ui-dialog .ui-dialog-titlebar-close {
		right: -35px;
	}
}

/*only for iPhone 5s portrait mode*/
@media (max-width: 374px) {
	.alert_pref_content .paid_service_name_col.group_selector {
		width: 125px;
	}

	.alert_pref_content .switch_container span.title {
		font-size: 12pt;
	}
}

/*Potrait Mode*/
@media (max-width: 414px) {
	.portfolio_edit_modal div.ui-dialog-titlebar {
		padding: 0;
	}
}

/*375px to 413px devices */
@media (max-width: 413px) and (min-width: 375px) {
	.alert_pref_content .paid_label_container {
		/*left: 120px;*/
		left: 170px;
	}
}

/* iPhone 5 landscape */
@media (min-width: 568px) {
	.switch_container {
		width: 100%;
	}

	.alert_pref_content .email_updates_container div p > label {
		max-width: 70%;
	}
}

/*568px to 666px devices */
@media (max-width: 667px) and (min-width: 568px) {
	.alert_pref_content .email_updates_container div {
		width: 30%;
	}
}

/* iPhone 6,7,8 Plus landscape */
@media (min-width: 667px) {
	.alert_pref_content .email_updates_container div {
		margin-right: 10px;
	}

	.alert_pref_content .email_updates_container div:last-child {
		margin-right: 0px;
	}
}

/* iPhone 6,7,8 Plus porttrait to landscape */
@media (min-width: 414px) and (max-width: 767px) {
	/*Start paid subscription*/
	.alert_pref_content .paid_label_container h4 {
		font-size: 1.1em;
	}

	.alert_pref_content .paid_label_container h4 {
		width: 63px;
	}

	.alert_pref_content .paid_label_container {
		padding-left: 0;
		position: relative;
		left: 170px;
	}

	.alert_pref_content .paid_subscription_row label {
		width: 144px !important;
		margin-right: 10px !important;
	}

	.alert_pref_content .paid_subscription_row .subscription_checkbox_col {
		width: 168px;
	}

	.alert_pref_content .paid_subscription_row span.checkebox_container {
		margin-right: 35px;
	}

	/*End paid subscription*/

	.alert_pref_content .paid_service_name_col.group_selector {
		margin-right: 10px;
	}

	.alert_pref_content .paid_service_name_col p,
	.paid_service_opt_col p {
		width: 100%;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_intraday,
	.alert_pref_content .paid_service_opt_col#cont_group_summary {
		margin-right: 42px;
	}

	#dialog-confirm-day .wk_checkbox {
		width: 20%;
		padding-right: 10px;
	}

	.sms_modal div.ui-dialog-titlebar {
		padding: 10px 15px 5px;
		padding-bottom: 10px;
	}
	.sms_modal div#modal_interface button.btn {
		padding: 5px;
	}
	.sms_modal div#modal_interface.number_verify_modal p.code_block {
		margin-top: 25px !important;
	}
	.sms_modal div#modal_interface.number_verify_modal p.code_block label {
		font-size: 1em;
	}
	.sms_modal #modal_interface p {
		margin-top: 6px;
	}
}

/* Portrait mode of iPad */
@media (min-width: 768px) {
	.switch_container {
		width: 50%;
	}

	.switch_container.with-text {
		width: 76%;
		position: relative;
		top: -13px;
	}

	.switch_container label {
		margin-right: 22px !important;
	}

	.single-order-details .switch_container label {
		margin-right: 0 !important;
	}

	.single-order-details .switch_container {
		width: 88%;
		float: right;
	}

	#cont_fdd_free_subs > #cont_group_other_services {
		float: none;
	}

	.alert_pref_content
		#cont_fdd_free_subs
		> #cont_group_other_services
		> div.checkebox_container {
		float: left;
		margin-left: 84px;
		margin-top: 30px;
	}

	.alert_pref_content .paid_service_name_col.group_selector {
		width: auto;
		max-width: none;
		margin-left: 76px;
		margin-right: 88px;
	}

	.alert_pref_content .paid_label_container h4 {
		/*width: 108px;*/
		width: 98px;
		margin-left: 8px;
	}

	/*Start paid subscription*/
	.alert_pref_content .paid_subscription_row label {
		width: 34% !important;
		margin-right: 16% !important;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_sms,
	.alert_pref_content .paid_service_opt_col#cont_group_summary,
	.alert_pref_content .paid_service_opt_col#cont_group_intraday {
		margin-top: -7px;
	}

	/*End paid subscription*/

	/*Start Email Updates*/
	.alert_pref_content .paid_subscription_row label {
		width: 34% !important;
		margin-right: 16% !important;
	}

	.alert_pref_content .email_updates_container div p > label {
		/*max-width: 56%;*/
		max-width: 53%;
	}

	.alert_pref_content .email_updates_container div p:before,
	.alert_pref_content .email_updates_container div p:after {
		content: '';
		clear: both;
		display: block;
		width: 0;
		height: 0;
	}

	/*End Email Updates*/

	.alert_pref_content .email_updates_container {
		margin-left: 84px !important;
		margin-top: 30px;
	}

	.alert_pref_content .email_updates_container div p > label {
		float: left;
	}

	.alert_pref_content .email_updates_container div {
		margin-right: 0px;
	}
}

/* Portarit mode of iPad */
@media (min-width: 768px) and (max-width: 811px) {
	.alert_pref_content .paid_service_opt_col#cont_group_summary,
	.alert_pref_content .paid_service_opt_col#cont_group_intraday,
	.alert_pref_content .paid_service_opt_col#cont_group_sms {
		width: 12% !important;
		margin-right: 3%;
	}
}

@media (min-width: 812px) and (max-width: 1023px) {
	.alert_pref_content .paid_service_opt_col#cont_group_summary,
	.alert_pref_content .paid_service_opt_col#cont_group_intraday,
	.alert_pref_content .paid_service_opt_col#cont_group_sms {
		width: 13% !important;
		margin-right: 1%;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.alert_pref_content form.aler_pref_form h1.preference_header {
		padding-left: 0.5em;
	}

	.alert_pref_content .paid_subscription {
		margin-top: 10px;
	}

	.alert_pref_content .paid_service_opt_col#cont_group_sms {
		margin-right: 0;
	}

	.alert_pref_content .paid_service_name_col.group_selector {
		width: 38%;
		max-width: none;
		margin-left: 84px;
		margin-right: 1%;
	}

	/*Start paid subscription*/
	.alert_pref_content .paid_subscription_row span.checkebox_container {
		margin-right: 28%;
		width: 23px;
	}
}

@media (max-width: 1023px) {
	.alert_pref_content form.aler_pref_form h1.preference_header {
		padding-bottom: 1.3em;
	}

	/*not verified msg*/
	#sms_display_number + #sms_display_verified.not_verified:before {
		top: 10px;
	}

	.alert_pref_content form.aler_pref_form #cont_fdd_subscriptions {
		padding-left: 1em;
		padding-right: 1em;
	}

	/* Alert Preferences Paid Subscriptions module */
	#cont_fdd_paid_subs .paid_label_container {
		text-align: right;
		margin-left: 0;
		position: inherit;
	}
	#cont_fdd_paid_subs .paid_label_container h4 {
		width: 50px;
		float: none;
		display: inline-block;
	}

	#cont_fdd_paid_subs .paid_subscription {
		width: calc(100% - 10px);
		margin-left: 0;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_name_col {
		width: calc(100% - 115px) !important;
		margin-right: 0;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_name_col p {
		width: 90%;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_name_col p label {
		font-size: 9pt;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_opt_col {
		width: 50px;
		margin-right: 0;
		margin-left: 0;
	}

	.alert_pref_content #subscription_prefs form.aler_pref_form div.header,
	#subscription_prefs footer {
		padding-left: 0px;
		padding-top: 0;
	}

	.alert_pref_content form.aler_pref_form h1.preference_header {
		font-size: 11pt;
	}

	.my_account_content .alert_pref_content > section#subscription_prefs {
		padding-top: 0;
	}

	.my_account_content
		.alert_pref_content
		> section#subscription_prefs
		.aler_pref_form {
		margin-top: 0;
	}

	#main_content .alert_pref_content input[type='submit'] {
		width: 164px;
	}

	.alert_pref_content .paid_service_name_col.group_selector {
		max-width: none;
	}
}

@media (min-width: 414.1px) and (max-width: 1023.9px) {
	#cont_fdd_paid_subs .paid_label_container h4 {
		width: 78px;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_name_col {
		width: calc(100% - 240px) !important;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_opt_col {
		width: 78px !important;
	}
	#cont_fdd_paid_subs .paid_subscription .paid_service_name_col p label {
		font-size: 11pt;
	}
}

/* iPad Landscape to Desktop View */
@media (min-width: 1024px) {
	/*Start paid subscription*/
	.alert_pref_content .paid_subscription_row span.checkebox_container {
		margin-right: 56px;
	}

	/*End paid subscription*/

	.alert_pref_content .paid_service_opt_col#cont_group_sms,
	.alert_pref_content .paid_service_opt_col#cont_group_summary,
	.alert_pref_content .paid_service_opt_col#cont_group_intraday {
		width: 112px;
	}

	.alert_pref_content
		.paid_service_opt_col#cont_group_sms
		p
		> span.checkbox_model,
	.alert_pref_content
		.paid_service_opt_col#cont_group_intraday
		p
		> span.checkbox_model {
		position: relative;
		left: -4px;
	}

	.alert_pref_content .paid_subscription_row {
		margin-left: 76px !important;
	}

	.alert_pref_content .paid_service_name_col.group_selector {
		margin-left: 84px;
		margin-right: 48px;
		width: 234px;
	}

	.alert_pref_content #cont_fdd_subscriptions {
		padding-top: 1px;
		padding-bottom: 10px;
	}

	.alert_pref_content #cont_fdd_paid_subs {
		float: left;
	}

	.alert_pref_content#subscription_prefs section {
		padding-top: 1.3em;
		padding-bottom: 1.3em;
	}

	.alert_pref_content section#cont_fdd_followed_author {
		padding-bottom: 20px;
	}

	.alert_pref_content #cont_fdd_portfolios .switch_container {
		margin-top: 12px;
	}

	.alert_pref_content
		#cont_fdd_free_subs
		> #cont_group_other_services
		> div.checkebox_container {
		width: 100%;
	}

	.alert_pref_content .paid_label_container h4 {
		margin-left: 10px;
	}

	@-moz-document url-prefix() {
		.alert_pref_content .paid_label_container h4 {
			margin-left: 15px;
		}
	}

	/*Firefox CSS styles*/
	@-moz-document url-prefix() {
		.alert_pref_content .paid_service_name_col.group_selector {
			margin-left: 94px;
			margin-right: 30px;
			width: 196px;
		}

		.alert_pref_content .email_updates_container {
			margin-left: 92px !important;
		}

		/* fixed alignment for checkbox input of paid subscription section  */
		.alert_pref_content .paid_subscription .paid_service_opt_col p {
			text-align: right;
		}
	}

	/*IE10 and IE11 CSS style*/
	@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
		.alert_pref_content .email_updates_container {
			margin-left: 80px !important;
		}
	}

	/* IE Edge CSS style */
	@supports (-ms-ime-align: auto) {
		.alert_pref_content .email_updates_container {
			margin-left: 80px !important;
		}
	}
}

@media (min-width: 1200px) {
	#cont_fdd_paid_subs .switch_container label {
		margin-right: 18px;
	}

	/* fixed title alignment in Firefox */
	@-moz-document url-prefix() {
		.switch_container label {
			margin-right: 20px !important;
		}

		/* fixed alignment for checkboxes for both paid and free subscription section */
		.alert_pref_content
			#cont_fdd_free_subs
			> #cont_group_other_services
			> div.checkebox_container {
			margin-left: 95px;
		}
	}
}

/* IE 11+10 hackfix for aligning checkboxes under paid subscription section properly with their labels */
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) and (min-width: 1200px) {
	.paid_subscription .paid_service_opt_col.checkebox_container p {
		box-sizing: border-box !important;
		padding-left: 1em !important;
	}
}

/* your account manager profile card  */
form#rep_info [class*='col-'] {
	float: left;
}

.profile_dp.rounded {
	width: 114px;
	height: 114px;
	overflow: hidden;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	margin-right: 1rem;
}

.profile_dp.rounded img {
	position: relative;
	top: -5px;
	left: 8px;
	transform: scale(1.18);
}

/* attributes for confirm edit billing address and payment info pop-up */
#dialog-confirm-address,
#dialog-confirm-contact {
	width: auto;
	text-align: center;
}

#dialog-confirm-address input[type='button'],
#dialog-confirm-contact input[type='button'] {
	width: 90%;
	margin: 0.5rem 0;
	padding: 0.5rem;
	box-sizing: border-box;
}

.edit_modal .ui-dialog-title {
	width: auto;
	white-space: normal;
	overflow: auto;
	text-overflow: initial;
}

#dialog-confirm-address .ui-button-icon,
#dialog-confirm-address
	.ui-button-icon:hover
	#dialog-confirm-address
	.ui-button-icon:focus,
#dialog-confirm-contact .ui-button-icon,
#dialog-confirm-contact
	.ui-button-icon:hover
	#dialog-confirm-contact
	.ui-button-icon:focus {
	outline: none !important;
}

/* stacked table view => for mobile only */
@media (min-width: 320px) and (max-width: 1023.98px) {
	/* force table to not be like tables anymore */
	table.my_acc_table,
	table.my_acc_table thead,
	table.my_acc_table tbody,
	table.my_acc_table th,
	table.my_acc_table td,
	table.my_acc_table tr {
		display: block;
	}

	/* Hide table headers(but not display: none; for accessiblity) */
	table.my_acc_table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	/* removing the focred visua style */
	#stripe_payment_method,
	#auth_payment_method {
		table.my_acc_table {
			display: table;
		}

		table.my_acc_table thead {
			display: table-header-group;
		}

		table.my_acc_table tbody {
			display: table-row-group;
		}

		table.my_acc_table th,
		table.my_acc_table td {
			display: table-cell;
		}

		table.my_acc_table thead tr,
		table.my_acc_table tbody tr {
			position: relative;
			top: auto;
			left: auto;
			display: table-row-group;
		}

		table.my_acc_table.compact tr td {
			padding-left: 0;
		}
	}

	table.my_acc_table tr {
		margin: 0;
		padding: 1rem 0;
		border-bottom: 1px solid #ccc;
	}

	table.my_acc_table tr:nth-of-type(1) {
		border-top: 1px solid #ccc;
	}

	table.my_acc_table tr td {
		/* Behave  like a "row" */
		border: none;
		position: relative;
	}

	table.my_acc_table.compact tr td {
		margin-top: 0;
		margin-bottom: 0;
		padding: 0.2rem 0;
		padding-left: 120px;
		text-align: left;
		white-space: normal;
	}

	table.my_acc_table td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0;
		left: 6px;
		width: 45%;
		transition: width linear 0.3s;
		padding: 0.2rem 0 0 0;
		padding-right: 10px;
		font-weight: bold;
		color: #df7c38;
		text-align: right;
		white-space: nowrap;
	}

	table.my_acc_table tbody tr:nth-of-type(even),
	table.my_acc_table tbody tr:hover,
	.my_acc_table.active-order tbody tr.even-child {
		background-color: transparent;
	}

	table.my_acc_table.border th,
	table.my_acc_table.border td {
		border: none;
	}

	table.my_acc_table form {
		margin: 0 !important;
	}

	/*** Label the data ***/

	/* for orders table */
	.order_table_wrapper table.my_acc_table td:nth-of-type(1):before {
		content: 'Order ID:';
	}

	.order_table_wrapper table.my_acc_table td:nth-of-type(2):before {
		content: 'Ordered:';
	}

	.order_table_wrapper table.my_acc_table td:nth-of-type(3):before {
		content: 'Expires:';
	}

	.order_table_wrapper table.my_acc_table td:nth-of-type(4):before {
		content: 'Product Name:';
	}

	.order_table_wrapper table.my_acc_table td:nth-of-type(5):before {
		content: 'Price:';
	}

	/* for brokerage report table */
	.order_table_wrapper.brokerage-table
		table.my_acc_table
		td:nth-of-type(1):before {
		content: 'Order ID:';
	}

	.order_table_wrapper.brokerage-table
		table.my_acc_table
		td:nth-of-type(2):before {
		content: 'Ordered:';
	}

	.order_table_wrapper.brokerage-table
		table.my_acc_table
		td:nth-of-type(3):before {
		content: 'Reports:';
	}

	.order_table_wrapper.brokerage-table
		table.my_acc_table
		td:nth-of-type(4):before {
		content: 'Price:';
	}

	.order_table_wrapper.brokerage-table
		table.my_acc_table
		td:nth-of-type(5):before {
		content: 'Download:';
	}

	/* for past orders table */
	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(1):before {
		content: 'Order ID:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(2):before {
		content: 'Ordered:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(3):before {
		content: 'Expired:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(4):before {
		content: 'Status:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(5):before {
		content: 'Product Name:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(6):before {
		content: 'Price:';
	}

	.order_table_wrapper.past-orders-table
		table.my_acc_table
		td:nth-of-type(7):before {
		content: 'Invoice:';
	}

	/* for order detail table */
	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(1):before {
		content: 'Type:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(2):before {
		content: 'Code:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(3):before {
		content: 'Description:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(4):before {
		content: 'Price:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(5):before {
		content: 'Qty:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(6):before {
		content: 'Status:';
	}

	.order_table_wrapper.order-detail-table
		table.my_acc_table
		td:nth-of-type(7):before {
		content: 'Auto Renew:';
		top: 6px;
	}

	.order_table_wrapper.order-detail-table table.my_acc_table td:nth-of-type(7) {
		height: 32px;
	}

	.my_acc_table tbody td.product_cell {
		max-height: inherit;
		min-height: inherit;
		height: auto;
	}

	.my_acc_table tbody td a.report_dw {
		width: auto;
		background: none;
	}

	.my_acc_table tbody td a.report_dw:before {
		content: 'Download';
		position: relative;
		font-size: 0.8rem;
		font-weight: bold;
		color: #009f19;
		text-decoration: underline;
		line-height: normal;
		display: block;
		height: 10px;
		width: 100px;
		text-indent: 0;
	}

	#rep_info .input-rows {
		margin-bottom: 0;
	}
}

/* for portrait mode in any mobile only */
@media (min-width: 320px) and (max-width: 1023.98px) and (orientation: portrait) {
	table.my_acc_table td:before {
		width: 100px;
	}
}

/* for landscape mode in any mobile only */
@media (min-width: 320px) and (max-width: 1023.98px) and (orientation: landscape) {
	table.my_acc_table td:before {
		width: 100px;
	}
}

/* iPad portrait mode only */
@media (min-width: 767.98px) and (max-width: 768px) and (orientation: portrait) {
	table.my_acc_table td:before {
		width: auto;
	}
}

/***
read only form & fieldsets => CCPA page
***/

#main_content.personal-info--content {
	background-image: none;
}

#main_content.personal-info--content #right_content.my_account_content {
	width: 100%;
	max-width: 1005px;
}

/* read only form */
#main_content .read-only--form [class*='col-'] {
	float: left;
}

#main_content .read-only--form,
#main_content .read-only--form label,
#main_content .read-only--form input {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
}

.read-only--form .fieldset-title {
	margin-bottom: 0;
	padding: 0;
	padding-bottom: 0.5rem;
	border: none;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	text-align: left;
	color: #000;
}

.my_acc_content .read-only--form .form-title {
	margin-bottom: 17px;
	padding-bottom: 8px;
	border-bottom: 1px solid #000;
}

.my_acc_content .read-only--form .form-title p {
	font-family: Helvetica, Arial, sans-serif;
	color: #7e7e7e;
}

.my_acc_content .read-only--form .form-title hgroup + div {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	flex-direction: row;
}

/* custom btn beside heading */
.my_acc_content .read-only--form .form-title hgroup + div .btn.btn-icon {
	margin-left: auto;
	width: 64px;
	height: 64px;
	border: none;
	outline: none;
	display: inline-block;
	position: relative;
	cursor: pointer;
	overflow: visible;
}

/* custom btn containing pdf icon */
.my_acc_content .read-only--form .form-title hgroup + div .btn.btn-icon.pdf {
	background-image: url(/images/pdf.png);
	transform: scale(0.6) translate(-20px, 20px);
}

/*.my_acc_content .read-only--form .form-title hgroup + div .btn.btn-icon.pdf:after{
    content: 'Download PDF';
    position: absolute;
    width: auto;
    left: -32px;
    top: 70px;
    font-size: 17px;
    text-align: left;
    color: #000;
    white-space: nowrap;
    text-transform: capitalize;
}*/

.btn.btn-icon.pdf:hover:after,
.btn.btn-icon.pdf:focus:after {
	text-decoration: underline;
}

@media screen and (max-width: 767.98px) {
	.btn.btn-icon.pdf:after {
		display: none;
	}
}

/* only for mobile portrait view */
@media screen and (max-width: 767.98px) and (orientation: portrait) {
	.my_acc_content .read-only--form .form-title hgroup + div {
		width: 100%;
	}
}

.read-only--form legend {
	width: 100%;
	margin: 0;
	margin-bottom: 20px;
	padding: 0;
	padding-bottom: 16px;
	border: 0;
	border-bottom: 1px solid #000;
	font-size: 16px;
	line-height: 18px;
}

.read-only--formset legend {
	width: 90%;
	margin: 0;
	margin-bottom: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid #000;
	font-size: 15px;
}

@media screen and (max-width: 991.98px) {
	.read-only--formset legend {
		margin-top: 0.6rem;
	}
}

/* read only fieldsets */
.read-only--formset {
	padding-bottom: 32px;
}

@media screen and (min-width: 992px) {
	.read-only--formset fieldset {
		float: left;
	}
}

@media screen and (max-width: 767.98px) {
	.read-only--formset {
		padding-bottom: 1rem;
	}
}

.read-only--formset .fieldset-title {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	text-align: left;
	float: left;
	padding-bottom: 0.5rem;
}

#main_content .read-only--form.preview-mode label,
#main_content .read-only--form.preview-mode input {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 400;
	color: #000;
	text-align: left;
	text-transform: capitalize;
	font-size: 15px;
}

#main_content .read-only--form.preview-mode .read-only--formset input#username {
	text-transform: none;
}

#main_content .read-only--form.preview-mode label {
	padding-right: 4px;
	font-weight: 600;
}

#main_content
	.read-only--form.preview-mode
	fieldset.testimonial-image-block
	img.rating-img {
	margin-top: 7px !important;
	width: 143px !important;
	min-width: 143px !important;
	max-width: 143px !important;
	height: 24px !important;
	min-height: 24px !important;
	max-height: 24px !important;
	float: left;
}

@media screen and (min-width: 320px) {
	#main_content .read-only--form.preview-mode label {
		padding-bottom: 0.2rem;
	}
}

@media screen and (min-width: 992px) {
	#main_content .read-only--form.preview-mode label {
		padding-bottom: 0;
	}
}

#main_content .read-only--formset label,
#main_content .read-only--formset input,
#main_content .read-only--formset span {
	width: auto;
	float: left;
}

#main_content .read-only--formset:last-of-type fieldset {
	padding-bottom: 0;
	/* might have to apply a value of .8rem in case of making survey response section visible */
}

/* till before iPad landscape mode */
@media screen and (max-width: 991.98px) and (orientation: portrait) {
	#main_content .read-only--formset label {
		width: 100%;
	}
}

#main_content .read-only--formset input,
#main_content .read-only--formset input:read-only,
#main_content .read-only--formset span {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	position: relative;
	vertical-align: baseline;
	top: 8px;
	margin-left: 17px;
	padding-bottom: 16px !important;
	overflow: visible;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 15px !important;
	font-weight: 400 !important;
}

/* any anchor tag inside content */
#main_content #right_content .read-only--formset a {
	color: #1d5eb5 !important;
	text-decoration: underline !important;
}

/* for input type email => for mobile */
@media screen and (min-width: 320px) {
	#main_content #right_content .read-only--formset input[type='email'] {
		min-width: 200px;
		width: 100%;
	}
}

/* for input type email => only for mobile landscape mode */
@media screen and (max-width: 991.98px) and (orientation: landscape) {
	#main_content #right_content .read-only--formset input[type='email'] {
		margin-left: 0;
	}
}

/* for input type email => from iPad */
@media screen and (min-width: 992px) {
	#main_content #right_content .read-only--formset input[type='email'] {
		width: 400px;
		clear: both;
		text-transform: none;
	}
}

/* till before iPad portrait mode only */
@media screen and (max-width: 991.98px) and (orientation: portrait) {
	#main_content #right_content .read-only--formset input:read-only,
	#main_content #right_content .read-only--formset span {
		margin-left: 0rem;
		width: 100%;
	}
}

@media screen and (min-width: 0) and (max-width: 413.98px) {
	#main_content #right_content .read-only--formset label {
		padding-top: 1.2rem;
		padding-bottom: 0;
	}

	#main_content #right_content .read-only--formset input:read-only,
	#main_content #right_content .read-only--formset span {
		padding-top: 0;
		margin-left: 0;
	}
}

@media screen and (min-width: 320px) {
	#main_content #right_content .read-only--formset ul {
		width: 100%;
		padding-left: 0;
		list-style: none;
		position: relative;
		top: 0;
	}

	#main_content #right_content .read-only--formset ul li {
		width: 100%;
		float: left;
		padding: 0.15rem 0;
	}
}

@media screen and (min-width: 992px) {
	#main_content #right_content .read-only--formset ul {
		width: 100%;
		padding-left: 0;
		list-style: none;
		float: left;
		margin: 0;
		margin-top: 0.2rem;
		margin-bottom: 0.8rem;
	}

	#main_content #right_content .read-only--formset ul li {
		width: 100%;
		float: left;
		padding: 0;
		padding-bottom: 0.2rem;
	}
}

/* survey content */
@media (min-width: 0) {
	#main_content .read-only--formset.survey-content label.col-xl-2,
	#main_content .read-only--formset.testimonial-content label.col-xl-2 {
		width: 16.66667%;
		font-size: 0.8rem;
		line-height: 1.4;
	}

	#main_content
		#right_content
		.read-only--formset.survey-content
		input.col-xl-6 {
		width: 50%;
	}

	#main_content
		#right_content
		.read-only--formset.testimonial-content
		label.col-xl-4 {
		width: 33.33333%;
	}

	#main_content
		#right_content
		.read-only--formset.testimonial-content
		label.col-xl-4 {
		font-size: 15px;
	}

	#main_content #right_content .read-only--formset.testimonial-content input,
	#main_content #right_content .read-only--formset.testimonial-content p,
	#main_content #right_content .read-only--formset.testimonial-content a {
		width: auto;
		font-size: 15px;
	}

	#main_content
		#right_content
		.read-only--formset.survey-content
		.fieldset-title {
		padding-top: 20px;
	}

	#main_content #right_content .read-only--formset.survey-content legend {
		width: 100%;
	}

	#main_content #right_content .read-only--formset.survey-content p {
		width: 100%;
		font-size: 15px;
		padding-top: 2px;
		padding-bottom: 2px;
		float: left;
	}

	#main_content #right_content .read-only--formset.testimonial-content a {
		float: left;
		position: relative;
		padding-top: 10px;
		left: -11px;
	}

	#main_content
		#right_content
		.read-only--formset.testimonial-content
		p.col-xl-6 {
		width: 50%;
		float: left;
		font-size: 15px;
		text-align: justify;
		position: relative;
		padding-top: 9px;
		left: -11px;
	}

	#main_content
		#right_content
		.read-only--formset.testimonial-content
		img.testimonial-image {
		width: 60px;
		height: 60px;
		margin-top: 12px;
	}

	#main_content
		#right_content
		.read-only--formset.testimonial-content
		.separator_line {
		width: 100%;
		border-bottom: 1px solid green;
		padding: 20px 0;
		float: left;
	}
}

/* till mobile modes */
@media (max-width: 767.98px) {
	#main_content
		#right_content
		.read-only--formset.testimonial-content
		p.col-xl-6 {
		width: 100%;
		padding-left: 12px;
	}
}

/***
* updated left nav attributes for mobile
***/

/* for all mobile devices => portrait mode */
@media (max-width: 767.98px) and (orientation: portrait) {
	nav.left_subnav {
		width: 100%;
		float: left;
	}

	#left_rail .left_subnav > ul li ul li,
	#left_rail .left_subnav > ul li ul li:nth-child(2) {
		width: 100%;
	}
}

/* for all mobile devices => landscape mode */
@media (max-width: 767.98px) and (orientation: landscape) {
	nav.left_subnav {
		width: 100%;
		float: left;
	}

	#left_rail .left_subnav > ul li ul li:nth-child(2) {
		width: 25%;
	}
}

/* for iPad portrait mode */
@media (min-width: 768px) and (max-width: 1023.98px) and (orientation: portrait) {
	nav.left_subnav {
		width: 100%;
		float: left;
	}

	#left_rail .left_subnav > ul li ul li:nth-child(2) {
		width: 25%;
	}
}

/* restricting height for the last <td> element for active orders table till before iPad landscape mode */
@media (max-width: 991.98px) {
	table.my_acc_table.compact[aria-label='Active Orders']
		tbody
		tr
		td:last-of-type {
		height: 30px;
	}

	table.my_acc_table.compact[aria-label='Active Orders']
		tbody
		tr
		td:nth-child(6):before {
		content: 'Auto Renew:';
	}

	.my_acc_table_wrapper.past-orders-table table tbody tr td:last-of-type:before,
	table.my_acc_table.compact[aria-label='Active Orders']
		tbody
		tr
		td:last-of-type:before {
		content: 'Invoice:';
		top: 6px;
	}
}

/* custom attributes for past order table to maintain top and bottom padding inside table cell */
@media (min-width: 992px) {
	.my_acc_table_wrapper.order_table_wrapper.past-orders-table
		table.my_acc_table.compact
		thead
		tr
		th,
	.my_acc_table_wrapper.order_table_wrapper.past-orders-table
		table.my_acc_table.compact
		tbody
		tr
		td {
		padding: 1.2em 0.5em 1.2em 0.3em;
	}
}

/* sms modal label tag implementation */
.sms_modal div.ui-dialog-titlebar {
	position: relative;
	z-index: 10;
	padding: 17px 15px;
	padding-bottom: 30px;
}

/* .sms_modal div.ui-dialog-titlebar:after{
    content: '';
} */

.sms_modal #modal_interface {
	position: relative;
}

.sms_modal.ui-dialog .ui-dialog-content {
	overflow: visible;
}

.sms_modal #modal_interface label[for='sms_number_frm'] {
	position: absolute;
	z-index: 11;
	width: 100%;
	top: -50px;
	left: 20px;
	font-weight: normal;
	color: #fff;
}

.sms_modal #modal_interface .disclaimer {
	display: flex;
	width: 100%;
	flex-direction: row;
}

@media (max-width: 767.98px) {
	.sms_modal #modal_interface .disclaimer {
		flex-wrap: wrap;
	}

	.sms_modal #modal_interface .disclaimer p a {
		margin-right: 0.4em;
	}
}

/* forcing text inside label tag to appear into one line for all mobile portrait mode only */
@media (max-width: 991.98px) and (orientation: portrait) {
	.sms_modal #modal_interface label[for='sms_number_frm'] {
		left: 0;
		font-size: 1.2em;
		text-align: center;
		white-space: nowrap;
	}
}

/* positioning label tag for mobile landscape mode only */
@media (max-width: 991.98px) and (orientation: landscape) {
	.sms_modal #modal_interface label[for='sms_number_frm'] {
		top: -40px;
		left: 0;
		text-align: center;
	}
}

.sms_modal #modal_interface p {
	margin-top: 10px;
}

/* auto renew order setting modal */
@media (max-width: 767.98px) {
	#renew_order_alert.ui-dialog-content.ui-widget-content {
		display: flex;
		justify-content: space-evenly;
		flex-direction: column;
		align-items: center;
	}
}

.edit_modal.ui-dialog .ui-dialog-titlebar-close {
	/* hiding text inside close button */
	font-size: 0;
	color: rgba(0, 0, 0, 0);
}

#renew_order_alert p#confrm_msg,
#renew_order_alert p#support_msg {
	text-align: center;
	padding-bottom: 1em;
}

#renew_order_alert p#support_msg {
	padding-top: 1em;
}

#renew_order_alert input[type='button'].btn.success {
	margin-right: 0.8em;
	margin-left: 0.8em;
}

@media (max-width: 767.98px) {
	#renew_order_alert p#confrm_msg br,
    /* hiding line breaks */
    #renew_order_alert p#support_msg br {
		display: none;
	}
}

/* new button styling inside modal */
input[type='button'].btn.inactive {
	background-color: var(--graytxt);
	border: 1px solid transparent;
	color: #fff;
}

input[type='button'].btn.inactive:focus,
input[type='button'].btn.inactive:hover {
	background-color: transparent;
	border: 1px solid var(--graytxt);
	color: var(--graytxt);
}

/* new button styling inside modal */

/* renew order settings info tooltip */
.active-orders-table {
	overflow: visible;
}

.active-orders-table table.my_acc_table thead tr th {
	position: relative;
}

@media (min-width: 1024px) {
	.active-orders-table table.my_acc_table thead tr th,
	.brokerage-table table.my_acc_table thead tr th {
		padding-right: 1em;
	}

	.active-orders-table table.my_acc_table tbody tr td,
	.brokerage-table table.my_acc_table tbody tr td {
		padding-right: 1em;
	}

	.active-orders-table table.my_acc_table thead tr th:last-of-type,
	.brokerage-table table.my_acc_table thead tr th:last-of-type,
	.past-orders-table table.my_acc_table thead tr th:last-of-type {
		padding-right: 0;
	}

	.active-orders-table table.my_acc_table tbody tr td:last-of-type,
	.brokerage-table table.my_acc_table tbody tr td:last-of-type,
	.past-orders-table table.my_acc_table tbody tr td:last-of-type {
		padding-right: 0;
	}

	.active-orders-table table.my_acc_table thead tr th.renew_header {
		width: 90px;
	}
}

@media (min-width: 1200px) {
	.active-orders-table table.my_acc_table thead tr th,
	.brokerage-table table.my_acc_table thead tr th {
		padding-right: 1.1em;
	}

	.active-orders-table table.my_acc_table thead tr th:last-of-type {
		padding-right: 0;
	}
}

.active-orders-table table.my_acc_table thead tr th .tt-trigger-xs,
.active-orders-table table.my_acc_table thead tr th .tt-trigger {
	position: relative;
	float: right;
	display: block;
	width: 5px;
	height: 5px;
}

/* FF hack  */
@-moz-document url-prefix() {
	.active-orders-table table.my_acc_table thead tr th .tt-trigger-xs,
	.active-orders-table table.my_acc_table thead tr th .tt-trigger {
		top: 6px;
	}
}

@media (min-width: 1200px) {
	.active-orders-table table.my_acc_table thead tr th .tt-trigger-xs.show {
		display: block;
	}

	.active-orders-table table.my_acc_table thead tr th .tt-trigger-xs.hide {
		display: none;
	}
}

.active-orders-table
	table.my_acc_table
	thead
	tr
	th
	.tt-trigger-xs
	+ .tooltiptext {
	display: none;
}

/*==== setting focus to update btns ====*/
.aler_pref_form .header .btn.success:focus,
.aler_pref_form .btn.footer_success_btn:focus {
	outline: 2px dotted #000;
	outline-offset: 2px;
}

/*==== setting focus to custom toggle btns and checkboxes ====*/

/* switch btn */
.alert_pref_content .switch_container input {
	opacity: 0;
	visibility: visible;
}

.switch_container input[type='checkbox']:focus + label {
	outline: 2px dotted #000;
	outline-offset: 2px;
}

/* check boxes */
.checkbox_model > input:focus + .Checkbox-visible {
	outline: 2px dotted #000;
	outline-offset: 2px;
}

/* outline for textarea input in its focussed state */
.input-rows textarea:focus {
	outline: 2px dotted #000 !important;
	outline-offset: 1px;
}

/* Tippy Tooltip Anchor*/
.tippy-content div a {
	display: inline;
}

.tippy-box {
	max-width: 280px !important;
	min-width: 280px !important;
	margin-left: 6px;
}

/*** ------ adding edit payment info cell inside active subscription table ------ ***/
.payment-mode .payment-icon,
.payment-mode .edit-btn {
	float: left;
	margin-right: 4px;
}

.payment-mode .payment-icon {
	width: 34px;
	height: 30px;
	position: relative;
	top: -3px;
}

.payment-mode .payment-icon img {
	object-position: center;
	object-fit: scale-down;
	width: 100%;
	height: auto;
}

.payment-mode button.edit-btn {
	font-size: 0;
	cursor: pointer;
	background-color: transparent;
	border: none;
	outline: none;
}

.payment-mode button.edit-btn .edit-btn-icon {
	background: url(/images/zacks/icons/pencil.png);
	background-position: center;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	display: inline-block;
	position: relative;
	top: 5px;
}

/*** ------ edit payment details modal ------ ***/
.edit-payment-mode-modal {
	overflow-x: hidden;
}

.edit-payment-mode-modal .modal_header .modal-title.text-center {
	text-align: center;
}

.edit-payment-mode-modal .modal_header .modal-title.text-lg {
	font-size: 1.3rem !important;
}

.edit-payment-mode-modal table thead th {
	font-size: 1rem;
	text-transform: capitalize;
}

.edit-payment-mode-modal .active-orders-table {
	margin: 0;
	padding: 0;
	overflow-x: auto;
}

.payment-method-data {
	width: 100%;
	padding: 1em 0;
	box-sizing: border-box;
	border-bottom: 1px solid #cacaca;
}

@media (max-width: 991.98px) {
	.payment-method-data {
		border-bottom: none;
	}
}

.payment-method-data:last-of-type {
	border-bottom: none;
}

.payment-method-data h2,
.payment-method-data label {
	padding-top: 0;
	font-size: 1.3rem;
	font-weight: 600;
	text-align: left;
	text-transform: capitalize;
}

.payment-method-data input[type='radio'] {
	width: 20px;
	height: 20px;
	position: relative;
	vertical-align: baseline;
	left: 0;
	top: 3px;
}

.color-choco {
	color: #cc411e;
}

/* flexbox attributes */
.ds-flex {
	display: flex;
	justify-content: flex-start;
	gap: 0.5em;
}

.ds-flex.space-between {
	justify-content: space-between;
}

.ds-flex.start {
	justify-content: flex-start;
}

.btn-lg {
	padding: 0.5em 1em;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.3rem;
	color: white;
}

.form-actions .messages {
	box-sizing: border-box;
	padding: 0.4rem 0;
	text-transform: none;
	gap: 10px;
}

.form-actions .messages p {
	margin: 0 !important;
	max-width: 280px;
	padding: 0;
	color: #646464;
}

.form-actions .messages p:last-child {
	text-align: right;
}

.form-actions .success {
	background-color: #009f19;
}

.form-actions .cancel {
	background-color: #9e0628;
	width: auto;
	height: auto;
}

.form-actions .btn-lg {
	font-weight: 600;
	text-transform: uppercase;
}

/* payment method list items */
.payment-method-lists {
	width: 100%;
	padding: 10px 0 0 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	grid-row-gap: 25px;
	text-align: left;
}

.payment-method-lists li.list-item {
	display: flex;
	gap: 5px;
	justify-content: flex-start;
	flex-direction: row;
	align-items: center;
}

.payment-method-lists li.list-item input[type='radio'] {
	position: relative;
	vertical-align: baseline;
	top: 0;
	margin-right: 5px;
}

.payment-method-lists li.list-item .card-title {
	font-weight: 600;
	text-transform: capitalize;
}

.payment-method-lists li.list-item .card-icon {
	width: 34px;
	height: 30px;
}

.payment-method-lists li.list-item .card-icon img {
	/* better approach while using svg images */
	object-fit: scale-down;
	object-position: 0;
	width: 100%;
	height: auto;
}

.payment-detail-panel {
	width: 100%;
	/* min-height: 80px; */
	/* background-color: #ccc; */
	border-radius: 6px;
	padding: 0.2em;
	/* display: none; */
	/* opacity: 0; */
	transition: all linear 0.3s;
}

.payment-detail-panel.show {
	display: block;
	opacity: 1;
}

/* Styling provided by Tim H on 11/05/25 */
#edit_payment_method {
	background: rgba(238, 239, 238, 0.8);
}

#edit_payment_method.modal_wrapper_v4,
#edit_payment_method.modal_wrapper_v5 {
	z-index: 201;
}

#edit_payment_method .modal_v4 .modal_header {
	background: #0f7e15;
}

#edit_payment_method .modal_v4 .modal_body {
	padding: 20px 35px;
}
#edit_payment_method .modal_v4 .modal_body .active-orders-table {
	padding: 0;
}
#edit_payment_method .modal_v4 .modal_body .close {
	width: auto;
	height: auto;
}
#edit_payment_method .modal_v4 .modal_body .my_acc_table th,
#edit_payment_method .modal_v4 .modal_body .my_acc_table td {
	padding: 0.5em 1em;
}
#edit_payment_method
	.modal_v4
	.modal_body
	.my_acc_table
	tbody
	tr:nth-of-type(even) {
	background: none;
}
#edit_payment_method
	.modal_v4
	.modal_body
	.my_acc_table
	tbody
	tr:nth-of-type(odd) {
	background: #ebebeb;
}
#edit_payment_method .modal_v4 .modal_body .payment-method-data {
	padding: 2em 0;
}
#edit_payment_method .modal_v4 .modal_body .form-actions .messages p {
	margin: 0 0 1em !important;
	max-width: 340px;
}

#edit_payment_method .modal_v4 .modal_body::-webkit-scrollbar {
	width: 30px;
}
#edit_payment_method .modal_v4 .modal_body::-webkit-scrollbar-track {
	background: darkgray;
}
#edit_payment_method .modal_v4 .modal_body::-webkit-scrollbar-thumb {
	background: #cc411e;
}

#method-update {
	display: none;
}

@media screen and (max-width: 1200px) {
	#edit_payment_method .modal_v4 {
		width: 90vw;
	}
}

/* pre-loader => covering full modal block */
.modal_body {
	position: relative;
}

#payment-detail-loader {
	width: 95%;
	height: 66svh;
	position: absolute;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.8);
	opacity: 1;
	visibility: visible;
	transition: all linear 0.3s;
}

#payment-detail-loader.fade-out {
	opacity: 0;
	visibility: hidden;
	transition: all linear 0.3s;
	height: 0px;
}

#payment-detail-loader .loader_height {
	width: 100%;
	text-align: center;
	transition: all linear 0.3s;
}

#payment-detail-loader .success-message,
#payment-detail-loader .failed-message {
	width: 100%;
	box-sizing: border-box;
	padding: 1rem;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	color: #009f19;
	opacity: 0;
	visibility: hidden;
	transition: all linear 0.3s;
}

#payment-detail-loader .success-message p,
#payment-detail-loader .failed-message p {
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
}

#payment-detail-loader .success-message.show,
#payment-detail-loader .failed-message.show {
	opacity: 1;
	visibility: visible;
	transition: all linear 0.3s;
}

/* pre-loader => inline */
#inline-payment-loader {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.7);
	opacity: 1;
	visibility: visible;
	transition: all linear 0.3s;
}
#inline-payment-loader.fade-out {
	opacity: 0;
	visibility: hidden;
	transition: all linear 0.3s;
	height: 0px;
}

#method-update {
	position: absolute;
	z-index: 1000;
	width: 100%;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
}
.success-message {
	color: green;
}

/* preventing scroll */
.no-scroll {
	overflow: hidden;
}

/* handling stripe modal content for mobile devices */
@media (320px < width < 992px) {
	#edit_payment_method {
		&.modal_wrapper_v4,
		&.modal_wrapper_v5 {
			z-index: 99999;
			.modal_v4 {
				height: 90svh;
				overflow: hidden;
				overflow-y: auto;

				.modal_body {
					max-height: none;
					height: 90svh;
					overflow-x: hidden;

					.my_acc_table_wrapper {
						overflow-x: auto;
						min-height: 130px;

						table.my_acc_table {
							display: table;

							thead,
							tbody {
								display: table-header-group;

								tr {
									display: table-row;
									position: relative;
									top: 0;
									left: 0;

									th,
									td {
										display: table-cell;
									}
								}
							}
						}
					}
				}
			}
		}
	}

	.edit-payment-mode-modal .modal_header .modal-title.text-lg {
		padding-top: 0;
		font-size: 1.1rem !important;
	}

	.payment-method-lists {
		overflow: hidden;
		overflow-x: auto;
	}
}

@media (320px < width < 992px) and (orientation: portrait) {
	#edit_payment_method {
		&.modal_wrapper_v4 {
			& .modal_v4 {
				.modal_body {
					display: flex;
					flex-direction: column;
					justify-content: space-evenly;
					padding: 20px 15px;
				}
			}
		}

		&.modal_wrapper_v5 {
			& .modal_v5 {
				.modal_body {
					display: flex;
					flex-direction: column;
					justify-content: space-evenly;
					padding: 20px 15px;
				}
			}
		}
	}

	#edit_payment_method .modal_v4 .modal_body .form-actions .messages p {
		max-width: 125px;
		font-size: 0.8rem;
		text-align: start;
	}

	.payment-detail-panel iframe {
		height: 425px !important;
	}

	.payment-method-data.form-actions {
		.ds-flex.space-between {
			flex-direction: column;
		}

		.messages {
			display: none;
		}
	}
}

@media (320px < width < 992px) and (orientation: landscape) {
	.payment-method-lists {
		li {
			margin: 0;

			.card-icon,
			.card-title,
			.card-title + span {
				margin: 0;
			}
		}
	}
}

@media only screen and (min-width: 14.375rem) {
	.p-GridCell--xs6 {
		width: 100% !important;
	}
}

/* edits made on 05/27/26 */
.custom-select select.h-\[54px\] {
	height: 54px !important;
}

.min-h-\[0\] {
	min-height: auto !important;
}

@media (width < 992px) {
	.flex-sm-wrap {
		flex-wrap: wrap !important;
	}
}

#edit_payment_method .modal_v4 .modal_body label span {
	color: #b31010;
}

/* error message panel */
.error-msg-panel {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 2rem;
	padding: 1rem;
	background-color: #f3f1f1;
	border-radius: 6px;
	border: 1px solid #6e6d6d;

	.error-msg-items {
		margin: 0;
		padding: 0 0.8rem;
		display: flex;
		flex-direction: column;
		gap: 5px;
		justify-content: flex-start;
		align-items: start;

		.error-msg-item {
			margin-left: 0;
			padding-bottom: 0.5rem;
			color: red;
			font-size: 16px;
			font-weight: 500;
			text-align: left;
		}
	}
}

.payment-detail-panel iframe {
	height: 320px !important;
}

/* custom message block set */
.msg.info {
	border: 2px solid #be610a;
}

.msg.info fieldset,
.msg.info p {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.4em;
	font-weight: 400;
}

/*** *** edits made on 06/10/26 *** ***/
/* for mobile , the modal container will come as the top most element */
@media (width < 992px) {
	.modal_wrapper_v4,
	.modal_wrapper_v5 {
		z-index: 30000000;

		.modal_body {
			.my_acc_table {
				thead {
					tr {
						th {
							&.product_cell {
								padding: 0 10px;
								min-width: 120px;
								width: 120px;
							}
						}
					}
				}

				tbody {
					tr {
						td {
							&.product_cell {
								min-width: 120px;
								width: 120px;
								padding: 0 10px;
								text-align: left;
							}
						}
					}
				}
			}
		}
	}

	.payment-method-lists {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: flex-start;
		grid-row-gap: 0;

		li.list-item {
			gap: 0;
			justify-content: space-between;
			border-bottom: 1px solid #c3c3c3;
			margin: 0;
			padding: 8px 0;
			box-sizing: border-box;

			.card-title {
				width: 100px;
			}
		}
	}

	.payment-method-data.form-actions {
		.messages {
			display: block;
		}
	}

	/* removing ending in text for mobile only */
	.hide-msg-mob-only {
		display: none;
	}
}

@media (width < 992px) and (orientation: landscape) {
	.payment-method-lists {
		li.list-item {
			justify-content: space-around;
		}
	}

	#stripe_payment_method .payment-method-data.form-actions {
		.messages {
			display: flex !important;

			p:last-child {
				text-align: left;
			}
		}
	}
}

/* making the button microcopy visible for mobile portrait mode */
@media (width < 992px) and (orientation: portrait) {
	#stripe_payment_method .payment-method-data.form-actions {
		position: relative;

		.ds-flex.space-between {
			gap: 6rem;
		}

		.messages {
			position: absolute;
			top: 60px;
			height: 175px;

			p {
				width: 100%;
				max-width: 100%;
			}

			p:last-child {
				position: absolute;
				bottom: 0;
				text-align: left;
			}
		}
	}
}
