body {
    background: rgb(230 232 237);
    font-family: "Calibri", sans-serif;
    font-size: 21px;
}

.imgmain {
    width: 30%;
    margin: 13% auto 0 auto;
    text-align: center;
    display: block;
    max-width: 200px;
}

#fmfms {
    display: grid;
    width: 70%;
    margin: 4% auto 0 auto;
}

.infrm1 {
    width: calc(100% - 8px);
    margin-bottom: 7.5%;
    border: solid 2px rgb(158 170 178);
    border-radius: 8px;
    padding: 7px;
    /*font-size: 21px !important;*/
    background-color: white !important;
    background: white !important;
    height: 24px;
}

input:focus,
textarea:focus {
    outline: 1px solid rgb(21 94 171);
    border: solid 2px rgb(21 94 171) !important;
}

.infrm2 {
    background: #9d9d9d;
    border: none;
    border-radius: 8px;
    padding: 5px;
    color: white;
    width: 63%;
    margin: 0 auto 40px auto;
    font-size: 21px;
}

.infrm3 {
    width: 100%;
    margin-bottom: 19%;
}

.inchb {
    width: 16px;
    height: 16px;
}

.infrm4 {
    position: relative;
    width: 100%;
}

.password {
    position: relative;
}

.password-control {
    position: absolute;
    cursor: pointer;
    right: 1px;
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url(/img/e_show_g.png) 0 0 no-repeat;
    top: 5px;
    background-position: center;
    background-size: contain;
}

.password-control.viewb {
    background: url(/img/e_show_b.png) 0 0 no-repeat;
    top: 5px;
    background-position: center;
    background-size: contain;
}

.password-control.view {
    background: url(/img/e_noshow_g.png) 0 0 no-repeat;
    background-position: center;
    background-size: contain;
}

.password-control.view.viewb {
    background: url(/img/e_noshow_b.png) 0 0 no-repeat;
    background-position: center;
    background-size: contain;
}

#infoans {
    text-align: center;
    margin: 17% auto 0px auto;
    color: red;
    height: 82px;
    align-items: end;
    display: grid;
    width: 70%;
}

#maindiv {
    max-width: 600px;
    margin: 0px auto;
    display: grid;
}

#maindiv2,
#maindiv3 {
    max-width: 600px;
    margin: 10px auto 0px auto;
    display: none;
}

#sel_ty {
    width: 100%;
    border-radius: 8px;
    padding: 5px;
    border: solid 2px rgb(158 170 178);
    appearance: none;
    font-size: 21px;
    background: white;
}

#saddr,
.addrd2 {
    color: rgb(21 94 171);
    margin: 8px 0px 26px 0;
    font-size: 15px;
}

.elpic {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#addpic,
#addpic2,
#addpic3,
#addpic4,
#addpic5 {
    margin: 0 -6px;
}

#butotp,
#butotp2,
#butclose {
    margin: 34px auto 40px auto;
    background: #9d9d9d;
    border: none;
    border-radius: 8px;
    padding: 5px 8px;
    color: white;
    width: 44%;
    font-size: 21px;
}

#butotp3 {
    margin: 20px auto 20px auto;
    background: #9d9d9d;
    border: none;
    border-radius: 8px;
    padding: 5px 8px;
    color: white;
    width: 44%;
    font-size: 21px;
}

.spin1 {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00000085;
}

textarea::placeholder {
    color: #b7b7b7;
    font-size: 16px;
}

#areaopi {
    resize: none;
    margin-top: 8px;
    border-radius: 8px;
    padding: 5px;
    font-size: 21px;
    border: solid 2px rgb(158 170 178);
}

#areaopi2,
#areaopi3 {
    resize: none;
    margin-top: 8px;
    border-radius: 8px;
    padding: 5px;
    font-size: 21px;
    border: solid 2px rgb(158 170 178);
    width: 100%;
    box-sizing: border-box;
}

.divimg,
.divimg2 {
    width: calc(100% / 3 - 12px);
    float: left;
    height: 140px;
    margin: 6px;
    box-sizing: border-box;
    position: relative;
    border: solid 1px rgb(158 170 178);
    border-radius: 10px;
}

#firstimg2:before {
    content: "";
    padding-top: 100%;
    float: left;
}

#delpic,
#delpic2 {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
}

#exdi {
    position: absolute;
    top: 20px;
    max-width: 600px;
    width: calc(100% - 16px);
    box-sizing: border-box;
    margin: auto;
    left: 0;
    right: 0;
}

#picexit {
    width: 28px;
    height: 28px;
    float: right;
    margin-right: 14px;
    cursor: pointer;
}

#firstimg {
    border: none;
}

.sprse {
    position: absolute;
    background: white;
    right: 3px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 22px;
    width: 37px;
    box-shadow: -4px 0 5px 0px #ffffff;
}

.finans {
    color: rgb(21 94 171);
    margin: 30px;
    font-size: 30px;
}

.spinner {
    width: 100px;
    height: 100px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#fetcherror {
    color: red;
    text-align: center;
}

.spinner2 {
    margin-top: -2%;
    width: 100px;
    height: 100px;
}

.spinner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 16px dotted #8AC1E2;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    left: -16px;
}

#selcamtel {
    position: fixed;
    background: #00000085;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#selcamtel1 {
    background: white;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 210px;
    height: 118px;
    margin: auto;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 8px #ffffff;
}

#selcamtel1 button {
    background: rgb(21 94 171);
    border: none;
    color: white;
    font-size: 21px;
    border-radius: 8px;
    margin: 16px 0 0 0;
    padding: 5px 8px;
    width: 170px;
    height: 34px;
    cursor: pointer;
    box-shadow: 0 0 5px rgb(21 94 171);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.inpseld {
    position: absolute;
    right: 9px;
    top: 0px;
    bottom: 0;
    height: 28px;
    width: 28px;
    background: white;
    margin: auto;
}

.posrel {
    position: relative;
    margin-top: 4%;
}

.custom-select {
    position: relative;
}

.select-selected {
    background-color: white;
    border: solid 2px rgb(158 170 178);
    padding: 5px;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    height: 26px;
    overflow: hidden;
}

.select-selected2 {
    white-space: nowrap;
    position: absolute;
    width: calc(100% - 34px);
    overflow: hidden;
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    margin-top: 1px;
}

.select-item {
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 26px;
    overflow: hidden;
}

.select-item:hover {
    background-color: #f0f0f0;
}

.select-hide {
    display: none;
}

#lmenu {
    width: 28px;
    height: 28px;
    float: left;
    margin-left: 14px;
    cursor: pointer;
}

.listdiv1 {
    background: white;
    border: solid 2px rgb(21 94 171);
    border-radius: 8px;
    padding: 5px;
    font-size: 16px;
    height: 40vh;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(21 94 171) transparent;
}

.list_dotl {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    vertical-align: middle;
    margin: 1px 0px 0px 3px;
}

.listtable1 {
    border-collapse: collapse;
    width: 100%;
}

.list_line2,
.list_line2_m {
    cursor: pointer;
}

.list_line2 td,
.list_line2_m td {
    padding: 2px;
}

#list_text,
#list_text_m {
    margin-top: 10px;
}

.named2 {
    color: rgb(21 94 171);
    margin: 10px 0px 0px 0;
    font-size: 24px;
}

.main2,
.main_m2 {
    display: grid;
    box-sizing: border-box;
}

.listx {
    position: absolute;
    top: -10px;
    left: 7px;
    font-size: 14px;
    background: rgb(230 232 237);
    padding: 0px 8px;
}

.listx1 {
    border: solid 1px rgb(158 170 178);
    border-radius: 8px;
    padding: 4px 10px;
    position: relative;
}

.listx3 {
    margin-top: 14px;
}

.ltxf3 {
    display: flex;
    margin: auto;
    width: 94%;
    align-items: center;
}

.ltxf31 {
    display: flex;
}

.fbm_mi {
    font-size: small;
    color: rgb(21 94 171);
}

.fbm_mi1 {
    margin: -5px 0px 10px 0px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modal-content.expanded {
    transform: translate(-50%, -50%) scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close-modal:hover {
    color: #bbb;
}

.attr_foto {
    position: absolute;
    bottom: 2px;
    left: 8px;
    color: white;
    font-size: 10px;
    background: #80808094;
    border-radius: 4px;
    padding: 1px 4px;
    /*width: min-content;*/
}

@media screen and (min-width: 600px) {
    .imgmain {
        margin: 70px auto 0 auto;
    }
}