﻿body {
    min-width: 280px;
}

body, html, form {
    padding: 0;
    margin: 0;
}

.bodyD {
    background-color: white;
    font-family: Arial;
}

.bodyM {
    background-color: white;
    font-family: Arial;
}

@media(min-width: 600px) {

    .bodyD {
        background-color: #fefbec;
        font-family: Arial;
    }


    .frameHolder {
        width: 328px;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .frame {
        text-align: left;
        padding: 0px 15px 15px 15px;
        border-radius: 8px;
        border: 1px solid #282b4a;
        background-color: white;
    }
}

.frameHolder {
    margin-top: 40px;
    text-align: center;
    padding-bottom: 50px;
}

.frameHolderM {
    margin-top: 20px;
    text-align: center;
    padding-bottom: 30px;
}


.frame {
    text-align: left;
    padding: 15px;
    padding-bottom: 0px;
    background-color: white;
    margin-bottom: 15px;
}

.frameM {
    text-align: left;
    padding: 0px 15px 15px 15px;
    background-color: white;
}

.field {
    padding: 15px;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: all 0.5s ease;
    box-sizing: border-box;
    height:50px;
}

    .field:hover {
        border-color: #0e2d6e;
    }

.field-container {
    margin-bottom: 20px;
    position: relative;
    height: 50px;
}

.fieldLabel {
    position: absolute;
    top: -5px;
    left: 10px;
    font: bold 10px arial;
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
    z-index: 3;
}

@-moz-document url-prefix() {
    .fieldLabel {
        top: -7px;
    }
}


.fieldError {
    position: absolute;
    display: table;
    max-width: calc(100% - 20px);
    height: 24px;
    left: 10px;
    margin-right: 10px;
    top: 38px;
    font: bold 10px arial;
    /*background-color: white;*/
}

.fieldErrorText {
    display: table-cell;
    vertical-align:middle;
}

@-moz-document url-prefix() {
    .fieldError {
        top: 37px;
    }
}

.amount-container {
    width: 100%;
    /*border: 1px solid #cccccc;*/
    transition: all 0.5s ease;
    display: inline-block;
    box-sizing: border-box;
    text-align: right;
    /*height: 44px;*/
}

.amount-container-slider{
    padding-left: 10px;
    padding-right: 10px;
    height: 30px;
}

.field-amount:hover {
    border-color: #0e2d6e;
}

.field-amount {
    border: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    float: left;
    height:50px;
}

.amount-label {
    position: absolute;
    right: 24px;
    padding-top: 16px;
    padding-bottom: 15px;
    z-index: 3;
    font: bold 15px arial;
}

.commitButton {
    background-color: #0e2d6e;
    margin-bottom: 15px;
    width: 100%;
    height: 40px;
    color: white;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: background-color 0.5s ease;
}

    .commitButton:hover {
        background-color: #2a55b0;
        box-shadow: 0 0 0 1px #0e2d6e;
    }

.mynavbar {
    width: 100%;
    background: #0e2d6e url("../Content/Images/karta.png") right no-repeat;
}

@media(max-width: 360px) {
    .mynavbar {
        width: 100%;
        background: #0e2d6e;
    }
}


.topHeader {
    color: white;
    font-size: x-large;
    height: 99px;
    padding-left: 15px;
    display: table-cell;
    vertical-align: middle;
}

@media(max-height: 760px) {
    .topHeader {
        height: 60px;
    }

    .mynavbar {
        background-size: auto 60px;
    }

    .frameHolder {
        margin-top: 20px;
    }
}

.companyContainer {
    font-size: small;
    background-color: none;
    margin-top: 15px;
}

.company {
    font-size: small;
    background-color: none;
    color: #bfbdb1;
    display: inline-block;
}

    .company span {
        /*border : 1px solid red;*/
        height: 16px;
        display: table-cell;
        vertical-align: middle;
    }

    .company img {
        /*border: 1px solid blue;*/
        margin-left: 8px;
    }

.captchaContainer {
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

    .captchaContainer div {
        margin-top: 15px;
    }

    .captchaContainer > .field-container{
        margin-bottom: 14px;
    }

.captchaLabel {
    position: absolute;
    top: -10px;
    left: 94px;
    -width: 100px;
    -height: 10px;
    background: white;
    color: #232f4d;
    text-align: center;
    padding: 0px 5px 0px 5px;
}

#captchaImgId {
    margin: 2px;
    float: left;
}

#refresh {
    background-color: #fec801;
    margin: 2px;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    /*float: left;*/
    transition: background-color 0.5s ease;
    display: inline-block;
}

    #refresh img {
        margin-left: 5px;
        margin-top: 5px;
        transition: all 0.5s ease;
    }

    #refresh:hover {
        box-shadow: 0 0 0 2px #cccccc;
        background-color: #0e2d6e;
    }

        #refresh:hover img {
            transform: rotate(180deg);
        }

.checkboxField {
    /*margin: 15px 0 20px 15px;*/
    margin-bottom: 15px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.checkboxContainer {
    /*width: 90%;
    margin-left: 5%;*/
    font-size: small;
}

.checkboxError {
    position: absolute;
    left: 10px;
    bottom: 0px;
    font: bold 10px arial;
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
}

#recurringFieldId{
    border:none;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    margin:0px;
}

.recurring-container {
    font-size: small;
    height: auto;
    max-height: 51px;
    overflow: hidden;
    padding-bottom: 0px;
}

.online-authorization-container {
    font-size: small;
    height: auto;
    max-height: 51px;
    overflow: hidden;
    padding-bottom: 0px;
}

.recurring-container field{
    font-size: small;

}

.recurring-containerData field{

}

.agreeLabel {
}

.checkbox {
    vertical-align: bottom;
    display: inline-block;
}

    .checkbox:hover {
    }

.resultImageContainer {
    padding: 80px 50px 80px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.resultText {
    margin-top: 20px;
}

.success {
    font-size: medium;
    color: #22804a;
}

.error {
    font-size: medium;
    color: #e76a6b;
}

.info {
    font-size: small;
    color: #a8a8a8;
}

.infoSP {
    text-align: justify;
    color: #6d6d6d;
    padding-right: 15px;
    padding-left: 15px;
}

.field-validation-error {
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    display:block;
    color: #b94a48;
}

.field-validation-error span{
}

.mandatory-field {
    position: absolute;
    left: -2000px;
    top: -1000px;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    box-sizing: border-box;
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    box-sizing: border-box;
    border: 1px none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="checkbox"]{
    margin: 1px;
}

input[type=number] {
    -moz-appearance:textfield;
}