﻿body {
    background-color: #f8f8f8;
    font-family: Source Sans Pro,Helvetica,Arial,sans-serif;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.form-container {
    max-width: 740px;
    min-width: 240px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.form-wrapper .form-group .error {
    border: 1px solid red !important;
}

.form-wrapper {
    padding: 10px;
    min-height: 240px;
}

.form-wrapper .row {
    width: 100%;
}

.form-wrapper .column {
    display: inline-block;
    height: 60px;
    width: 48%;
}

.radio span {
    font-size: 12px;
    font-weight: bold;
    vertical-align: super;
}

.radio input {
    margin-left: 10px;
    margin-right: 10px;
}

.form-wrapper .form-group {
    position: relative;
}

.form-wrapper .form-group label {
    z-index: 1;
    position: absolute;
    color: #b5b5b5;
    top: 7px;
    left: 7px;
}

.form-wrapper .form-group input[type='text'] {
    position: absolute;
    left: 0;
    border: 1px solid #737373;
    width: 100%;
    height: 50px;
    border-radius: 0px;
    padding-top: 20px;
    padding-left: 5px;
}

.form-wrapper .form-group input[type='radio'] {
    height: 20px;
}

.form-wrapper .form-group .radio {
    position: absolute;
    left: 0;
    border: 1px solid #737373;
    width: 100%;
    height: 28px;
    border-radius: 0px;
    padding-top: 20px;
}

.form-wrapper .form-group select {
    position: absolute;
    left: 0;
    border: 1px solid #737373;
    width: 100%;
    height: 50px;
    border-radius: 0px;
    padding-top: 20px;
    padding-left: 5px;
}

.form-wrapper .form-group textarea {
    position: absolute;
    left: 0;
    border: 1px solid #737373;
    width: 100%;
    height: 60px;
    border-radius: 0px;
    padding-top: 30px;
    padding-left: 5px;
}

.form-wrapper .form-group input[type='text']:focus {
    outline: none;
    /*
    background-color: ghostwhite;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    */
}

.form-wrapper .form-group select:focus {
    outline: none;
    /*
    background-color: ghostwhite;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    */
}

.form-wrapper .form-group textarea:focus {
    outline: none;
    /*
    background-color: ghostwhite;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    */
}

.form-wrapper .footer {
    text-align: center;
}

.buttons {
    padding-top: 15px;
    padding-bottom: 20px;
    height: 40px;
    background-color: white;
    display: none;
}

.form-wrapper .footer .button {
    background-color: red;
    width: 150px;
    color: #fff;
    height: 60px;
    line-height: 60px;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 400px) {
    .form-wrapper {
        min-height: 0px;
    }

    .form-wrapper .column {
        width: 100%;
        float: right;
    }
}

.button {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 400;
    padding: .7rem 1.8rem;
    text-align: center;
    border-radius: 3px;
    color: #fff;
    background-color: #017a3d;
    text-decoration: none;
}

@media screen and (max-width: 320px) {
    .button {
        min-width: 80px;
    }
}

.button.left {
    float: left;
    margin-left: 30px;
}

.button.right {
    float: right;
    margin-right: 30px;
}

.button:hover {
    /* background-color: #e7e7e7;
    box-shadow : 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); */
}

.button:focus {
    /* background-color: #e7e7e7;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); */
}

.button:active {
    /*
    background-color: lightgray;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
    font-weight: bold;
    */
}

body {
    font-family: "Roboto",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: white;
    margin: 0;
}

.center {
    margin: auto;
    min-width: 300px;
    width: 100%
}

    .center.HeadWrapper {
        margin-top: 20px;
        background-color: white;
        text-align: center;
        display: none;
    }

.header-step {
    border-top: 4px solid #CFD8DC;
    color: #cfd8dc;
    font-size: 14px;
    padding-top: 10px;
    margin-top: 10px;
    display: inline-block;
    background-color: white;
}

    .header-step.RCA {
        width: 19%;
    }

    .header-step.CASCO {
        width: 22%;
    }

    .header-step.BUNURI,
    .header-step.VIATA {
        width: 30%;
    }


    .header-step.active {
        border-top: 4px solid #EB2127;
        color: #455a64;
        font-weight: bold;
    }

    .header-step.completed {
        border-top: 4px solid green;
        color: #455a64;
        display: inline-block;
    }

@media screen and (max-width: 500px) {
    .header-step {
        display: none;
    }

        .header-step.active {
            display: block;
            width: 100%;
            font-weight: bold;
        }

        .header-step.completed {
            display: none;
        }
}

.text-left {
    text-align: left;
    color: gray;
    margin-left: 0px;
}

.text-center {
    text-align: center;
}

.no-padding-left {
    padding-left: 0;
}

.insurance-type-wrapper {
    text-align: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 530px;
    border: 0px solid black;
}

.insurance-type-buttons {
    min-height: 220px;
}

.insurance-type {
    margin: 5px;
    margin-top: 10px;
    border: 2px solid darkgreen;
    border-radius: 90px 90px;
    width: 115px;
    height: 115px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    padding-top: 0px;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}

.insurance-type:hover {
    border: 2px solid #18522A;
    background-color: #e9eee9;
    outline: none;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.insurance-type-title {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.4em;
    display: none;
}

.insurance-type div {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 130px;
    height: 60px;
    overflow: hidden;
}

.insurance-type-rca {
    background-image: url('../images/rca.png');
}

.insurance-type-casco {
    background-image: url('../images/casco.png');
}

.insurance-type-bunuri {
    background-image: url('../images/bunuri.png');
}

.insurance-type-viata {
    background-image: url('../images/viata.png');
}

.insurance-type-legend {
    padding-left: 15px;
    width: 100%;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 0.7em;
}

.insurance-type-legend-title {
    text-align: left;
    padding-bottom: 7px;
    display: inline-block;
    vertical-align: top;
    width: 12%;
    font-weight: bold;
}

.insurance-type-legend-separator {
    text-align: left;
    padding-bottom: 7px;
    display: inline-block;
    vertical-align: top;
    width: 5px;
    font-weight: bold;
}

.insurance-type-legend-text {
    text-align: left;
    display: inline-block;
    padding-bottom: 5px;
    vertical-align: top;
    width: 85%;
}

@media screen and (max-width: 500px) {

    .insurance-type {
        display: block;
        margin-left: 40px;
        overflow: visible;
        width: 100px;
        height: 100px;
        background-size: 60px 60px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .insurance-type div {
        margin-left: 120px;
        margin-top: 40px;
        width: 240px;
        text-align: left;
        overflow: visible;
    }

    .insurance-type-legend {
        padding-top: 40px;
        width: 300px;
    }

    .insurance-type-legend-title {
        width: 60px;
    }

    .insurance-type-legend-text {
        width: 227px;
    }
}

.spinner {
    position: absolute;
    top: 60px;
    left: 45%;
    height: 30px;
    width: 30px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(17,44,23,.15);
    border-right: 6px solid rgba(17,44,23,.15);
    border-bottom: 6px solid rgba(17,44,23,.15);
    border-top: 6px solid rgba(0,125,85,.8);
    border-radius: 100%;
    display: none;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

select {
    font-family: "Roboto",Helvetica,Arial,sans-serif;
    font-size: 14px;
}

/*To remove button from IE11, thank you Matt */
select::-ms-expand {
    display: none;
}

.selectdiv:after {
    content: '<>';
    font: 17px "Consolas", monospace;
    color: darkgreen;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 11px;
    /*Adjust for position however you want*/
    top: 10px;
    padding: 0 0 2px;
    border-bottom: 1px solid darkgreen;
    /*left line */
    position: absolute;
    pointer-events: none;
}

.selectdiv select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add some styling */
    display: block;
    width: 100%;
    height: 50px;
    float: right;
    padding: 0px 24px;
    line-height: 1.75;
    color: #333;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    -ms-word-break: normal;
    word-break: normal;
}

.imageDocument {
    width: 16px;
    height: 16px;
    vertical-align: bottom;
}

.form-wrapper .columnDocumentImage {
    width: 50px; 
    height: 25px;
    text-align: right;
}

.form-wrapper .columnDocumentText {
    width: 100%;
    height: 25px;
    text-align: left;
    vertical-align: sub;
    display: inline;
}

.form-wrapper .columnDocumentText p {
    display: inline;
    text-align: justify;
    font-size: 12px;
}

.fileUpload {
    width: 0px;
    height: 0px;
}

@media screen and (max-width: 400px) {

    .form-wrapper .columnDocumentImage {
        width: 50px;
        height: 25px;
        text-align: right;
        float: none;
    }

    .form-wrapper .columnDocumentText {
        width: 100%;
        height: 25px;
        text-align: left;
        vertical-align: sub;
        display: inline;
        float: none;
    }
}
    
.imageTrash {
}

.imageSuccess {
}

.imageUpload {
}

.documentRow {
}

.documentRCA {
}

.documentCASCO {
}

.documentBunuri {
}