.medkeyView {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    background-color: #f5f8f9;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.medkeyView input[type="checkbox"],
.medkeyView input[type="radio"] {
    display: inline;
    width: auto;
}

.medkeyView label {
    display: inline-block;
}

.medkeyView .medkeyError,
.medkeyView .medkeySuccess {
    display: block;
    padding: 3px;
    border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 3px;
}

.medkeyView .medkeyError {
    background-color: #f2dede;
    border: solid #ebccd1 1px;
    color: #a94442;
}

.medkeyView .medkeySuccess {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.medkeyView button,
.medkeyView input,
.medkeyView label,
.medkeyView a {
    font-size: 13px;
}

.medkeyView input[type="checkbox"]+label {
    display: inline-block;
}

.medkeyForm > input[type="checkbox"] {
    margin-left: 25px;
}

.medkeyView .medkeyForm input[type="checkbox"]+label {
    vertical-align: middle;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-left: 10px;
}

.medkeyView a,
.medkeyView legend,
.medkeyView h1,
.medkeyView h2,
.medkeyView h3,
.medkeyView h4,
.medkeyView h5,
.medkeyView h6 {
    color: #2c67b4;
    background-color: transparent;
}

.medkeyView .titleContainer {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.medkeyView h5.title,
.medkeyView h1.title {
    text-align: center;
    display: block;
    padding: 0px;
    margin: 0px;
}

.medkeyView h5.title {
    margin-top: 0px;
    color: #666;
    margin-bottom: 50px;
    text-align: left;
}


.medkeyView .right {
    text-align: right;
    float: right;
}

.medkeyView .center {
    text-align: center;
}

.medkeyView .block {
    display: block;
}

.medkeyView .block.center {
    margin-left: auto;
    margin-right: auto;
}

.medkeyView .signed,
.medkeyView .infoSigned {
    font-size: 0.9em;
    color: #444;
    padding: 15px;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-left: 60px;
    background-color: #fff;
    background-image:url('../images/warning.png');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 40px 40px;
    line-height: 1.3;
    border: solid #dedede 1px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.medkeyView .logged-in-medkey-as .medkeyUsername {
    color: #2c67b4;
    font-weight: bold;
}

.medkeyView .logged-in-medkey-as button,
.medkeyView .medkeyForm a {
    color: #2c67b4;
}

.medkeyView .medkeyForm a.inline {
    display: inline;
    margin: 0px;
    padding: 0px;
}

.medkeyView .medkeyForm a.underline {
    text-decoration: underline;
}

.medkeyView .medkeyForm a.underline:hover {
    text-decoration: none;
}

.medkeyView .logged-in-medkey-as button,
.medkeyView .logged-in-medkey-as a:not(.inline) {
    border: solid #2c67b4 1px;
    padding: 4px !important;
    display: inline-block;
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
    max-width: 100%;
    background-color: #fff;
}

.medkeyView .logged-in-medkey-as button:hover,
.medkeyView .logged-in-medkey-as a:not(.inline):hover {
    color: #fff;
    background-color: #2c67b4;
}

.medkeyView .signed {
    background-image:none;
    padding-left: 15px;
}

.medkeyView .signed a {
    font-size: 0.9em;
}

.medkeyView p.infoSigned.critical {
    color: #b44337;
    font-weight: bold;
}

.medkeyView .medkeyHelp {
    margin-top: 5px;
    clear: right;
}

.medkeyForm {
    overflow: hidden;
    padding-bottom: 30px;
}

.medkeyForm label {
    margin-top: 20px;
    margin-bottom: 5px;
    color: #333;
}

.medkeyForm .selfvmmediauseragreement_content {
    overflow-x: auto;
    padding: 5px;
    font-size: 0.8em;
    background-color: #fafaef;
}

.medkeyForm .vmmember {
    padding: 10px;
    border-radius: 3px;
    background-color: #e7edf1;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);   
    margin-left: 5px;
    width: 100%;
}

.medkeyForm .vmmember #ms_cashier_member_data_is_member input[type="checkbox"] {
    transform: scale(1);
}

.medkeyForm h4 {
    font-size: 1.2em;
}

.medkeyView[data-language="pl"] .medkeyForm {
    background-image:url("../images/locale/pl/LOGO.png");    
}

.medkeyView[data-language="en"] .medkeyForm {
    background-image:url("../images/locale/en/LOGO.png");    
}

.medkeyForm {
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #f2f2f2;
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    min-height: 200px;
    border: solid #848587 1px;
    border-radius: 3px;
    background-position: 20px 20px;
    background-repeat: no-repeat;
    background-size: 200px auto;
    -webkit-box-shadow: 1px 0px 17px 0px rgba(0,0,0,0.22);
    -moz-box-shadow: 1px 0px 17px 0px rgba(0,0,0,0.22);
    box-shadow: 1px 0px 17px 0px rgba(0,0,0,0.22);
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.medkeyForm.noLogo {
    background-image: none;
    padding: 5px;
}

.medkeyForm.login {
    max-width: 360px;
    background-position: center 20px;
}

.medkeyView .medkeyForm input[type="submit"] {
    margin-top: 5px;
}

.medkeyForm input[type="text"],
.medkeyForm input[type="password"], 
.medkeyForm input[type="submit"],
.medkeyForm select,
.medkeyForm input[type="button"] {
    width: 100%;
    border: solid #848587 1px;
    border-radius: 6px;
    padding: 10px;
}

.medkeyForm input[type="checkbox"]#medkey_userHasAccount + label + .medkeyLoginForm {
    display:none;
}
.medkeyForm input[type="checkbox"]#medkey_userHasAccount:checked + label + .medkeyLoginForm {
    display: block;
}

input[type="checkbox"] ~ div.medkeyCreateForm {
    display: block;
}


.medkeyForm select option {
    padding: 10px;
}

.medkeyForm select {
    width: 100%;
    padding: initial;
}

.medkeyForm input[type="text"],
.medkeyForm input[type="checkbox"], 
.medkeyForm input[type="password"], 
.medkeyForm select,
.medkeyForm input[type="submit"] {
    margin-bottom: 10px;    
}


.medkeyForm input[type="submit"],
.medkeyForm input[type="button"] {
    display: block;
    width: 100%;
    max-width: 100%;
    background-color: #2c67b4;
    color: #fff;
    margin: 0px;
}

.medkeyForm input[type="button"] {
    width: auto;
    margin-top: 20px;
}

.medkeyForm input[type="button"].msCashierFormDatatypeMemberData_copy_address_button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

p.infoSigned {
    font-size: 0.9em;
    color: #444;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 90px;
    background-color: #fff;
    background-image:url('../images/warning.png');
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 40px 40px;
    line-height: 1.3;
    border: solid #dedede 1px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

p.infoSigned.critical {
    color: #b44337;
    font-weight: bold;
}

.form-inline {
    text-align: center;
}

* a.MedKeyLoginButton,
* .MedKeyLoginButton,
.MedKeyLoginButton {
    background: #fff;
    background: -ms-linear-gradient(top,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    background: linear-gradient(to bottom,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    padding: 10px;
    padding-left: 70px;
    box-sizing: border-box;
    color: #666;
    margin-top:  15px;
    margin-bottom: 15px;
    min-width: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    display: inline-block;
    font-family: verdana, helvetica, sans-serif;
    font-size:14px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
    text-align: center;
    line-height: 150%;
    text-decoration: none;
    position: relative;
    text-align: center;
}

.MedKeyLoginButton > div {
    display: inline-block;
    float: left;
    text-align: center;
    width: 100%;
}

.MedKeyLoginButton > div.logo-key {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 57px;
    height: 100%;
    background-image: url("../images/locale/en/LOGO.png");
    background-position: 5px 15px;
    background-repeat: no-repeat;
    background-size: auto 55%;
}

.MedKeyLoginButton span {
    color:#666
}

.medkeyView .signed {
    
}