/*==============================================================================
PUBLIC PAGE
Special page layout for all public pages, used by login, recovery, etc..
==============================================================================*/

/*------------------------------------------------------------------
FONT
------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/*------------------------------------------------------------------
HTML TAGS
------------------------------------------------------------------*/

html {
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif, FontAwesome;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #d9d9d9;
}

/* No strange buttons in iIOS */
input {
    -webkit-appearance: none;
}

/*------------------------------------------------------------------
layout
------------------------------------------------------------------*/

/* Page styling with background image */
.page {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    /*min-height: 820px;*/
    display: flex;
    align-items: center;
    padding-left: 20%;
    border-left: none;
    border-right: none;
    background-color: white;
    font-size: 17px;
    margin: auto;
}

.page > .background {
    position: fixed;
    background-image: url(../images/login_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right 23% top;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/*------------------------------------------------------------------
login
------------------------------------------------------------------*/

/* Login Eye */
.page #password-eye {
    float: right;
    margin-left: -25px;
    margin-top: 17px;
    position: absolute;
    z-index: 2;
    cursor: pointer;
    color: #9f9ec7;
}

/*------------------------------------------------------------------
DEFAULT INPUT STYLING
------------------------------------------------------------------*/

label {
    color: #1a238c;
    font-size: 13px;
}

input[type="text"],
input[type="password"],
.input-text,
select,
textarea {
    background: #fff;
    border: 2px solid #858ac2;
    height: 54px;

    line-height: 40px;
    font-size: 17px;
    width: 100%;
    padding-left: 10px;
    -webkit-box-shadow: inset 0 0 3px 3px rgba(118,115,183,0.2);
    -moz-box-shadow: inset 0 0 3px 3px rgba(118,115,183,0.2);
    box-shadow: inset 0 0 3px 3px rgba(118,115,183,0.2);
    color: black;
    margin-bottom: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.input-text.has-error,
textarea.has-error {
    background: #fff url(../images/xcontrols/xform_failed.png) no-repeat right center;
    background-size: 32px;
    border-color: red !important;
    -webkit-box-shadow: inset 0 0 3px 3px rgba(255,0,0,0.2);
    -moz-box-shadow: inset 0 0 3px 3px rgba(255,0,0,0.2);
    box-shadow: inset 0 0 3px 3px rgba(255,0,0,0.2);
}

.input-text.has-success,
textarea.has-success {
    background: #fff url(../images/xcontrols/xform_passed.png) no-repeat right center;
    background-size: 32px;
}

/* No arrow on dropdown in IE */
select::-ms-expand {
    display: none;
}

/* No background color on selected option in IE */
select:focus::-ms-value {
    background-color: transparent;
    color: #1a438c;
}

/* No clear button on input and select in IE */
input::-ms-clear,
select::-ms-clear {
    display: none;
}

/*------------------------------------------------------------------
error
------------------------------------------------------------------*/

.page.error #content .message {
    font-family: "VAG-Rounded-Bold", sans-serif;
    color: #322a61;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0 35px 35px 35px;
    font-size: 1.5rem;
}

/* White header bar */
.page .header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vw;
    max-height: 160px;
    min-height: 50px;
    background-color: white;
    z-index: 2;
    padding-left: 20%;
    display: flex;
    align-items: center;
}

.page .header > a {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Logo */
.page .logo {
    /*width: 340px;*/
    height: 80%;
    max-height: 100px;
    margin-left: -100px;
    /*background-image: url(../images/header_logo.png);*/
    /*background-size: contain;*/
    /*background-repeat: no-repeat;*/
    /*background-position: left center;*/
}

/* Circle image container */
.page .circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 1200px;
    height: 80%;
    /*border: 1px solid blue;*/
    z-index: 3;
    pointer-events:none;
}

/* The circle image itself */
.page .circle .inner {
    width: 35%;
    height: 100%;
    /*border: 1px solid purple;*/
    float: right;
    pointer-events:none;
    background-image: url(../images/login_circle.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}

/* Panel in the center */
.page .panel {
    position: absolute;
    display: inline-block;
    width: 500px;
    top: 20%;
    height: auto;
    min-height: 200px;
    text-align: left;
    line-height: 18px;
    max-width: calc(100vw - 80px);
    background-color: white;
    margin-left: -100px;
    border-radius: 5px;
    padding: 15px 30px 15px 30px;
    z-index: 10;
}

/* Title */
.page .panel h1 {
    color: black;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 600;
}

/* Text */
.page .panel p {
    font-family: Montserrat, sans-serif;
    /*font-size: 14px;*/
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Link in text */
.page .panel p a:not(.button) {
    color: #002e5f;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    text-decoration: underline;
}

/* Margin for xform */
.page .panel .xform {
    margin-bottom: 10px;
}

/* Responsive behaviour login panel */
@media only screen and (max-width: 700px) {
    /*.page {*/
    /*    padding: 0;*/
    /*    justify-content: center;*/
    /*}*/
    .page .panel {
        max-width: none;
        width: 90%;
        margin-left: 5%;
        left: 0;
    }
    .page .header {
        padding: 0;
    }
    .page .header .logo {
        margin-left: 40px;
    }
}

/* Label in front of input control */
.page label {
    font-family: Montserrat, sans-serif;
    color: black;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Input control */
.page  input {
    height: 35px;
    line-height: 35px;
    border: 1px solid #6d6d6d;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Button */
.page .button {
    text-transform: none;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #2e2b6b;
    background-color: #f1f3f6;
    border: 0;
    border-bottom: 2px solid #ccd9ea;
    display: inline-block;
    width: auto;
    height: 35px;
    line-height: 35px;
    padding: 0 20px 0 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 20px 20px 10px 0;
}

/* Disabled button */
.page .button.disabled {
    cursor: default;
    background-color: #f2f2f2;
    color: #fff;
    border-color: #6d6d6d;
}

/* Button hover */
.page .button:not(.disabled):hover {
    color: #f1f3f6;
    background-color:  #e95c0c;
    border-color:  #c14014;
}

/* Link */
.page a {
    display: inline-block;
    color: black;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

/* Link hover */
.page a:hover {
    color: #e25314;
}

/* Error message */
.page .error {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    margin: 2em 0;
    color: #820406;
    line-height: 18px;
    white-space: pre-wrap;
    background-color: #fef0f0;
    border: 2px solid #e3bfc0;
    padding: 10px;
    font-family: Montserrat, sans-serif;
    border-radius: 10px;
}

/* Error message title */
.page b {
    font-size: 15px;
    font-family: Montserrat, sans-serif;
    color: #820406;
}

/*------------------------------------------------------------------
XForm
------------------------------------------------------------------*/

/* XForm */
.page .xform {
    padding: 0;
}

/* Button */
.page .xform .xbutton_enabled,
.page .xform .xbutton_disabled {
    text-transform: none;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #2e2b6b;
    background-color: #f1f3f6;
    border: 0;
    border-bottom: 2px solid #ccd9ea;
    display: inline-block;
    width: auto;
    height: 35px;
    line-height: 35px;
    padding: 0 20px 0 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 20px 20px 10px 0;
}

/* Button disabled */
.page .xform .xbutton_disabled {
    cursor: default;
    background-color: #f2f2f2;
    color: #fff;
    border-color: #6d6d6d;
}

/* Button hover */
.page .xform .xbutton_enabled:hover {
    color: #f1f3f6;
    background-color:  #e95c0c;
    border-color:  #c14014;
}

/* Control outer */
.page .xform .xformcontrol {
    padding-top: 20px;
}

/* Label */
.page .xform .xformlabel,
.page .xform .xformlabel_selected {
    color: black;
    left: 0;
    opacity: 1.0;
}

/* Input + Select */
.page .xform input,
.page .xform select {
    height: 35px;
    line-height: 35px;
    border: 1px solid #6d6d6d;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    padding-top: 0;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
}

.page .xform select {
    padding-left: 8px;
}

/* Field status */
.page .xform .required,
.page .xform .passed,
.page .xform .failed {
    top: 30px;
}

/* Validation display */
.page .xform .status {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    width: 100%;


}

/* Hide arrow */
.page .xform .status .arrow {
    display: none;
}

/* Checkbox height */
.page .xform .XFormControlCheckbox {
    height: 50px;
}

/* Checkbox label + checkmark */
.page .xform .XFormControlCheckbox .xformlabel {
    background-image: url(../images/xcontrols/xform_checkbox2_n.png);
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    font-weight: normal;
    padding-top: 15px;
    padding-left: 45px;
}

/* Passed checkmark */
.page .xform .XFormControlCheckbox .passed {
    background-image: url(../images/xcontrols/xform_checkbox2_y.png);
    left: 0;
    top: 8px;
}

/* Link */
.page .xform .XFormControlCheckbox .xformlabel a {
    color: #002e5f;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    text-decoration: underline;
}

/* Optin coach */
.page .xform .XFormControlCheckbox #xformlabel_optin2 {
    padding-top: 10px;
}

/* ========================================================== */
/* page no-access needs some finetuning                       */
/* ========================================================== */
.page.noaccess ul li {
    padding: 5px;
    line-height: 1.5;
}