.modal-d-back {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    background: #33333366;
    height: 100%;
}

.modal-d-cont {
    border: #1d2649 3px solid;
    background: #fafafa;
    min-height: 300px;
    width: 1000px;
    padding: 20px 0;
    height: 30%;
    align-items: center;
    display: flex;
}

.modal-d-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.modal-d-logo{
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
}
.modal-d-logo>img {
    height: 260px;
}

.modal-d-msg{
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-items: flex-start;
}
.modal-d-footer {
    text-align: center;
}

.modal-d-title {
    font-size: 50px;
    font-weight: inherit;
}

.modal-d-sub {
    font-weight: inherit;
}

.modal-d-button {
    border: none;
    background: #1d2649;
    min-width: 150px;
    height: 40px;
    color: #fafafa;
    cursor: pointer;
}

.simple-t {
    text-align: center;
    font-size: 1.5em;
}

.simple-m {
    grid-column: 1/3;
    text-align: center;
}

.panel-client {
    padding: 30px 70px;
}

.panel-client>div {

    box-shadow: 0px 3px 3px #33333344;
}

.panel-client-header {
    display: grid;
    display: flex;
    grid-template-columns: 5% 89%;
    align-items: center;
    font-size: 40px;
    font-weight: bolder;
    background: #edf1fc;
}

.header-icon {
    width: 75px;
    height: 70px;
    background: #4977EA;
    display: grid;
    align-items: center;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.header-icon>img {
    width: 50px;
    height: 50px;
    margin: auto;
}

.panel-client-content {
    background: #e7e8ec;
}

#contact-data {
    display: flex;
    font-size: 20px;
    grid-template-columns: 1fr 0.1fr;
    padding-bottom: 20px;
    flex-flow: column;
    width: 100%;
    height: 100%;
}
#contact-data > .detail-segment > div{
    padding-left: 2vh;
}
#contact-data > #client-info{
    border: none;
    padding-top: 0;
}
#contact-data > #client-info span{
    width:33%;
}
/*
#contact-data > .detail-segment div{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}
#contact-data > .row div > span:last-child{
    width: calc(100%/ 1.5);
}
*/
#contact-data > .detail-segment:first-child{
}
#contact-data > .detail-segment:last-child > div{
    display: flex;
    flex-flow: row wrap;
}
#contact-data > .detail-segment:last-child > div > div{
    width: 50%;
}
#contact-data > .detail-segment:last-child > div > div > span{
    display: flex;
    flex-flow: row wrap;
    padding-bottom: 1vh;
    float: left;
}
#contact-data > .detail-segment:last-child > div > div > span:nth-child(odd){
    width: 30%;
}
#contact-data > .detail-segment:last-child > div > div > span:nth-child(even){
    width: 70%;
}
.panel-data {
    display: grid;
    grid-template-columns: 0.3fr 1fr 0.3fr 1fr;
    row-gap: 50px;
    align-items: center;
}

.tel {
    display: grid;
    grid-template-columns: 0.5fr .8fr;
    align-items: center;
}

.int {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    align-items: center;
}

#edit-button,#save-button {/*
    display: flex;
    font-size: 15px;
    width: 90px;
    align-items: center;
    margin-left: auto;*/
    position: absolute;
    width: 5%;
    right: 5%;
}

.edit-button>img {
    max-width: 25px;
    margin-left: auto;
}

.edit-button:hover {
    background-color: #4977EA;
}
.personal-data{
    display: flex;
}
.personal-data > span{
    width: 33%;
}
.cuit-n-lcont {
    display: grid;
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-template-columns: 1fr 1fr 1fr;
}

.cuit-n-lcont>div {
    justify-self: start;
}

#logo-client {
    height: 90px;
    width: auto;
}


@media (min-height: 900px) {
    .modal-d-back {
    }
}
@media (min-width:1300px) and (max-width:1429px){
    .modal-d-back{
        height: 100%;
    }
    .panel-client-header{
        grid-template-columns: 8% 89%;
    }
    .panel-client{
        padding: 10px 10px;
    }
}
@media (min-width:1430px) and (max-width:1849px) {
    #p_header {
        font-size: 30px;
    }

    .panel-client-content {
        grid-template-columns: 80% 20%;
    }
    
    .panel-client-content>div {
        padding: 20px;
        padding-bottom: 40px;
    }
    
    .panel-client {
        max-width: 88vw;
    }
    
    .panel-client-header {
        grid-template-columns: 8% 83%;
    }
    
    .modal-d-back {
        height: 100%;
        max-width: inherit;
        width: 100%;
    }
    
    #tray, #tray #message-cont {
        padding: 0;
    }
}

@media (min-width:1850px) {
    .modal-d-back {
        width: 100%;
    }
    
    .panel-client-content {
        grid-template-columns: 80% 20%;
        grid-template-rows: 100% 0%;
    }
    
    .panel-client-content>div {
        padding: 20px;
    }
    
    .client-card {
        font-size: 15px;
        max-width: 400px;
    }
    
    .panel-client {
        max-width: 90vw;
        display: grid;
    }
    
    #tray,
    #tray #message-cont {
        padding: 0;
    }
}