/* OpenSans Fonts */
@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('nl-ferg/font/OpenSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* MinionPro Fonts */
@font-face {
    font-family: 'Minion Pro';
    src: url('nl-ferg/font/MinionPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('nl-ferg/font/MinionPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('nl-ferg/font/MinionPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Minion Pro';
    src: url('nl-ferg/font/MinionProBoldDisplay.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Open Sans';
    font-size: 16px;
    color: #666666;
    font-weight: normal;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

.txtGray {
    color: #666666;
}

.w1 {
    border: 0;
    padding: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading styles */
.heading {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: normal;
    color: #666666 !important;
    padding-top: 0em;
    font-weight: 600;
    padding-bottom: 1em;
}

.modal-body,
.modal-title,
.modal-content {
    color: #666666;
}

div#HeaderNewBlock {
    display: none;
    /* Enable/disable main heading */
}

/* End of heading styles */


/* Footer styles */
.footer {
    font-size: 13px;
    padding-top: 3em;
    line-height: 1.3;
    color: #666666;
}

.footer a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
}

.footer a:hover {
    color: #004a87;
    text-decoration: none;
}

/* End of footer styles */


/* Link styles */
.footer a,
.footer .txtGray a,
.google-recapcha a {
    color: #666666;
    text-decoration: none;
    font-weight: normal;
}

.footer a:hover,
.google-recapcha a:hover {
    text-decoration: underline;
    color: #004a87;
}

.google-recapcha {
    color: #666666;
}

/* End of link styles */


/* Input/select styles */
.tb233 {
    border-radius: 0px !important;
}

.tb230,
.email,
.tb233,
.required,
#tbEmail,
input#txtVariation,
input#txtVolumeTarget,
input#txtStopLoss,
input#txtPriceTarget,
#selectSection input[type=text] {
    -webkit-appearance: auto;
    color: #666666 !important;
    font-family: Montserrat !important;
    font-weight: normal;
    font-size: 16px;
    line-height: 2.5em !important;
    height: 2.5em !important;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #CCCCCC;
    margin: 2px 0;
}

.tb230 {
    height: auto;
}

.email {
    height: auto;
}

/* End of input/select styles */

.btn {
    font-family: inherit;
    font-weight: normal;
    color: #000000;
    text-transform: uppercase;
    margin: 0em;
    padding: 1.0em 1.5em 1.0em 1.5em;
    border: 2px solid #004a87 !important;
    border-radius: 0.0em 0.0em 0.0em 0.0em;
    background: #FFFFFF;
    transition: background 0.5s, color 0.5s, border 0.5s;
    text-decoration: none;
    width: 8em;
}

.btn:hover {
    text-decoration: none;

    background: #004a87;
    color: #FFFFFF;
    border-color: #004a87;
}

/* Button and button container styles */
#btnSubmit2,
#btnSubmit1 {
    font-family: inherit;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0em;
    padding: 1.0em 2.5em 1.0em 1.5em;
    border: 2px solid #004a87 !important;
    border-radius: 0.0em 0.0em 0.0em 0.0em;
    background: #004a87;
    transition: background 0.5s, color 0.5s, border 0.5s;
    text-decoration: none;
    width: 10em;

     background-image: url(nl-ferg/arrow-h.png);
    background-repeat: no-repeat, repeat;
    background-position: calc(-20px + 100%) 50%;
    background-size: 24px;
}

#btnSubmit2:hover,
#btnSubmit1:hover {
    text-decoration: none;
 	background: transparent;
	color: #192b35 !important;
	border-color: transparent !important;

    background-image: url(nl-ferg/arrow.png);
    background-repeat: no-repeat, repeat;
    background-position: calc(-20px + 100%) 50%;
    background-size: 24px;
}

.btn2 {
    height: auto;
}

.modify-email-form {
    position: relative;
    top: 0;
    left: 0;
}

.en-us input#btnSubmit1 {
    position: absolute;
    bottom: 0;
    right: 9px;
}

.btnSubmit2Container {
    margin: 0;
    width: 100%;
    padding: 0;
}

.btnSubmit1Container {
    padding-top: 1em;
    padding-left: 0;
}

input#btnSubmit1 {
    margin: 0 !important;
}

/* End of button and button container styles */


/* Alerts selection and layout styles */
.AlreadySub {
    margin: 0 0 20px;
}

.selectshare-marginLeft {
    width: 0px;
}

.heading+table[role="presentation"] tbody tr {
    display: inline-block !important;
    width: 50%;
    margin-bottom: 1em;
    vertical-align: top;
}

.heading+table[role="presentation"] tbody tr:first-child {
    display: block !important;
}

.heading+table[role="presentation"] tbody tr table tr:first-child {
    display: table-row !important;
}

.heading+table[role="presentation"] tbody tr td {
    display: block !important;

}

.heading+table[role="presentation"] tbody tr td table td {
    display: table-cell !important;
}

td.selectshare-marginLeft+td table[role="presentation"] tbody tr,
.heading+table[role="presentation"] tbody tr td tr {
    display: table-row !important;
}

/* End of alerts selection styles */


/* Registration form & modify subscription form layout and styles */
div#Registration .AlreadySub {
    margin-top: 0px;
}

div#Registration .AlreadySub,
div#NewSubscriberBlock .AlreadySub {
    margin: 20px auto 20px auto;
}

.title-field-name,
.field-control {
    padding: 0.25em 0;
}

div#Registration,
div#NewSubscriberBlock {
    padding: 10px;
    background: #f5f5f5;
    border: 0px solid #CCCCCC;
    margin-top: 30px;
}

div[style="clear: both;"] div,
.modify-email-form {
    margin: 0px auto 0px auto;
}

table#gvSubscriberFields tbody tr {
    display: inline-block;
    width: 50%;
    float: none;
    vertical-align: top;
}

table#gvSubscriberFields tbody tr:first-child {
    display: block;
    width: 50%;
}

table#gvSubscriberFields tbody tr td {
    display: block !important;
}

.title-field-name {
    width: 40%;
    float: none;
    display: inline-block;
    vertical-align: top;
    color: #666666;
}

.field-control {
    width: 100%;
    float: none;
    display: inline-block;
    white-space: nowrap;
    vertical-align: top;
}

.field-control.field-control-submit {
    width: 100%;
}

.title-field-name.title-field-name-submit {
    display: none;
}

td.shareType label,
.title-field-name,
label#lbEmailAddressModify {
    font-weight: 600;
    color: #666666;
}

.btnSubmit2Container {
    margin-top: 0.5em;
}

.divModifyMail {
    padding-bottom: 2.75em !important;
}

.modify-email-label {
    width: 100%;
    float: none;
    margin-bottom: 0.75em;
}

/* End of registration form & modify subscription from layout and styles */


/* Start media queries and main CSS overwrite */
@media (max-width:860px) {
    .heading+table[role="presentation"] tbody tr {
        display: block !important;
        width: 100%;
        margin-bottom: 1em;

    }

    table#gvSubscriberFields tbody tr {
        width: 50%;
    }

    table#gvSubscriberFields tbody tr:first-child {
        display: block;
        width: 100%;
    }
}

@media (max-width:660px) {
    table#gvSubscriberFields tbody tr {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .btnSubmit2Container {
        padding: 0px !important;
        width: 99% !important;
        text-align: right;
    }

    .modify-email-label {
        width: 40% !important;
        margin-bottom: 0.75em;
    }

    .title-field-name {
        width: 100% !important;
        float: none;
    }

    .field-control.field-control-submit {
        width: 100% !important;
    }
}

@media (max-width:550px) {

    .title-field-name,
    .field-control,
    .modify-email-label {
        width: 100% !important;
    }
}

@media (max-width: 568px) {
    .field-control {
        width: 100% !important;
        float: none !important;
    }

    .field-control.field-control-submit {
        width: 100% !important;
    }

    .divModifyMail {
        width: 100% !important;
    }
}

/* End of media queries and main CSS overwrite */

.ar-ae .btnSubmit2Container {

    text-align: left;
}

.ar-ae #tbEmail {
    float: right;
}

.ar-ae input#btnSubmit1 {
    position: absolute;
    bottom: 0;
    left: 8px;
}

.ar-ae .divModifyMail {
    float: right;
}

.ar-ae .AlreadySub,
.ar-ae td.shareTypeDescription,
td.disclaimer a {
    font-weight: 300;
}

.tb233 {
    height: auto;
}


/* #selectSection input[type=text] {
    padding: 6px 3px;
} */

.modify-email-label {
    color: #666666;
}

.ar-ae .footer tbody tr td {
    text-align: left !important;
}

.ar-ae .pad122 {
    padding-left: 0px;
}

.ar-ae .footer,
.ar-ae .disclaimer,
.ar-ae .cookies-box {
    direction: rtl !important;
    text-align: left;
    font-weight: 300 !important;
}

div#selectSection table tr td input {
    position: relative;
    top: 3px;
    font-family: "Frutiger", GE SS;
}

input,
select#gvSubscriberFields_dynamicEditControl8_4 {
    font-family: "Frutiger", GE SS;
    color: #666666;
}

#selectSection input[type=text] {
    min-width: 190px;
    padding: 6px 3px;
}

@media screen and (max-width: 768px) {
    .modal-dialog {
        width: 510px;
        margin: 30px auto;
    }

    .field-control {
        width: 98% !important;
        float: left;
    }

    .tb230,
    .email,
    .tb233,
    .required {
        width: 100% !important;
    }
}

@media screen and (max-width: 600px) {
    .modal-dialog {
        width: 90%;
        margin: 5px auto;
    }

    div#sharePriceModal {
        padding: 0 !important;
    }
}

@media (max-width:469px) {
    .btnSubmit1Container {
        padding-top: 5em;
    }
}