﻿* {
    box-sizing: border-box;
}

body {
    font-family: karbon;
}
input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    max-width:350px;
}

    input[type=text].readonly, select.readonly, textarea.readonly {
        border: 1px solid darkgray !important;
        background: lightgray !important;
        max-width: 350px;
    }


label {
    font: 400 15.3333px Arial;
    padding: 12px 12px 12px 0;
    display: inline-block;
}

#BtnPay {
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin-right: 5%;
}

#BtnPay:hover {
    background-color: #45a049;
}

.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.col-25 {
    float: left;
    width: 20%;
    margin-top: 6px;
    margin-left:5%;
}

.col-75 {
    float: left;
    width: 70%;
    margin-top: 6px;
    margin-right:5%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
    .col-25, .col-75 {
        width: 100%;
        margin-top: 0;
        margin-left: 0%;
        margin-right: 0%;
    }

    #BtnPay {
        width: 100%;
        margin-top: 10px;
        margin-right: 0%;
    }

}

.header {
    background-color: #ffffff;
}

.footer {
    background-color: #2b3c67;
}

.centerMsgCarbon {
    font-family: karbon;
    font-size: 25px;
    color: #727176;
    text-align: center;
}

body {
    margin: 0px !important;
}

img.centered {
    padding-top: 25px;
    padding-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

input.req {
    background-color: #eaf2f8;
    border: 1px solid #a9bdfd !important;
}

input.req.err {
    background-color: #ffdcdc;
    border: 1px solid #ff9393 !important;
}

.centeredMsgDiv {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #f2f2f2;
}

.tbResponse {
    font-family: karbon;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-final {
    background-color: #2b3c67;
    color: #fff;
    width: 50px;
}

    .btn-final:hover {
        opacity: 0.6;
    }



/*LOGIN PAGE*/

.login {
    width: 400px;
    margin: 16px auto;
    font-size: 16px;
}

    /* Reset top and bottom margins from certain elements */
    .login-header,
    .login p {
        margin-top: 0;
        margin-bottom: 0;
    }

/* The triangle form is achieved by a CSS hack */
.login-triangle {
    width: 0;
    margin-right: auto;
    margin-left: auto;
    border: 12px solid transparent;
    border-bottom-color: #2b3c67;
}

.login-header {
    background: #2b3c67;
    padding: 20px;
    font-family: Verdana;
    font-size: 1.4em;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.login-container {
    font-family:Verdana;
    background: #ebebeb;
    padding: 12px;
}

/* Every row inside .login-container is defined with p tags */
.login p {
    padding: 12px;
}

.login input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    padding: 16px;
    outline: 0;
    font-family: inherit;
    font-size: 0.95em;
}

    .login input[type="text"],
    .login input[type="password"] {
        background: #fff;
        border-color: #bbb;
        color: #555;
    }

        /* Text fields' focus effect */
        .login input[type="text"]:focus,
        .login input[type="password"]:focus {
            border-color: #888;
        }

    .login input[type="button"] {
        background: #2b3c67;
        border-color: transparent;
        color: #fff;
        cursor: pointer;
    }

        .login input[type="button"]:hover {
            background: #17c;
        }

        /* Buttons' focus effect */
        .login input[type="button"]:focus {
            border-color: #05a;
        }

/*ERRORE*/

.error-msg {
    display: none;
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
    font-family: 'Edwardian Script ITC';
}

.error-msg {
    font-family: Verdana;
    color: #D8000C;
    background-color: #FFBABA;
}

.errico {
    font-family: Verdana;
    height: 20px;
    margin-right: 10px;
    margin-top: -2px;
}

.title-grid {
    font-family: Verdana;
    font-size: 25px;
    color: #2b3c67;
    text-align:center;
    background: #eee;
    margin-bottom: 2%;
    margin-left: 5%;
    margin-right: 5%;
}

.grid-hr {
    margin-top: -1%;
    margin-bottom: -0.5%;
}