

p, span, a{
    font-size: 16px;
}

h2, h1 {
    font-size: 24px;
}

.Wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#kundeInfoParagraf, #vilkarOgBetingelser, #BekreftelseKontrakt {
    display: flex;
    flex-direction: column;
    /* align-content: center; */
    align-items: flex-start;
}

.columnBlockLayout {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0px 20px;
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
}


.crmEntityFormView #EntityFormView{
    display: flex;
    width: auto;
    height: auto;
    /*padding: 25px;*/
    flex-direction: row;
    align-items: center;
    background: #FFF;
    /*box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);*/
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    border: none;
}



input.form-control {
    background-color: #F1F1F1 !important;
    color: #000000;
    border-bottom-color: #016581;
    border-bottom-width: medium;
}

.launchentitylookup,.btn.btn-default.clearlookupfield {
    border: 1px solid #949494 !important;
    background-color: #F1F1F1 !important;
    border-bottom-color: #016581 !important;
    border-bottom-width: medium !important;
    align-self: normal;
    height: 40px;
    
}

.launchentitylookup {
    margin-left: 1px;
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
}


.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.text-start {
    text-align:center;
}

.crmEntityFormView .actions {
    border-top: none;
    margin: 20px 0;
    padding: 19px 0 0 0;
}

element.style {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    word-break: break-word;
    margin: none;
    padding: 16px;
    width: calc(100% + 0px);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.col-lg-12 .columnBlockLayout {
    margin: none;
}

input[type=checkbox], input[type=radio] {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    line-height: normal;
}

#InsertButton, #NextButton {
    width: 20%;
    height: 40px;
    background-color: #016581;
    color: #FFF;
    border-radius: .375rem;
    margin-left: 28px;
}

#PreviousButton {
    width: 20%;
    height: 40px;
    background-color: #0987a9;
    color: #FFF;
    border-radius: .375rem;
}

.crmEntityFormView, .entitylist, .modal-content, .popover-content {
    border: none; 
}



@media (width <= 700px) {

    #InsertButton, #NextButton {
        width: auto;
        height: 20%;
        background-color: #016581;
        color: #FFF;
        border-radius: .375rem;
    }

        #PreviousButton {
        width: auto;
        height: 20%;
        background-color: #0987a9;
        color: #FFF;
        border-radius: .375rem;
        margin-right: 14px;
        margin-left: -10px;
    }

    .crmEntityFormView #EntityFormView {
        display: flex;
        width: auto;
        height: auto;
        /*padding: 25px;*/ 
        flex-direction: row;
        align-items: center;
        background: #FFF;
        /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
        /*justify-content: flex-start;*/
        margin-bottom: 16px;
        border: none;
        align-content: center;
    }
}
