#modalScreen {
    //display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000;
    //opacity: 0.3;
    background-color: rgba(0, 0, 0, 0.6);
}

.modalForm {
    position: fixed;
    top: 30%;
    left: 40%;
    width: 20%;
    z-index: 1001;
    padding: 20px;
    border-radius: 6px;
    background-color: rgba(255,255,255,1);
    font-size: 1.2rem;    
}

.modalForm span, input {
    display: block;
    width: 100%;
    font-size: inherit;
}

.modalForm span {
    margin-top: 1rem;
}

.modalForm input {
    line-height: 2.5rem;
    border: 2px solid silver;
    border-radius: 4px;
    margin-top: 0.3rem;
    padding: 0 0.5rem;
}

.lButtonContainer {
    text-align: center;
}

.modalForm button {
    //border: 1px solid rgb(32, 132, 214);
    border-radius: 4px;
    margin: 1.4rem 0 0.5rem;
    padding: 0.5rem;
    background-color: rgb(32, 132, 214);
    color: white;
    font-size: inherit;
}

.modalForm .errMsg {
    display: none;
    font-size: 14px;
    color: rgb(204, 0, 0);
    margin-top: 3px;
}

.closeCross {
    float: right;
    background: url(Img/wind_close.png) no-repeat center left #eee;
    width: 12px;
    height: 12px;    
}

.closeCross:hover {
    background-position: center right;
    cursor: pointer;
}

#confirmBlock {
    position: fixed;
    width: 30%;
    top: 30%;
    left: 35%;
    z-index: 1001;
    padding: 20px 20px 25px;
    border-radius: 6px;
    background-color: rgba(255,255,255,1);
    font-size: 24px; 
    text-align: center;   
}

#confirmBlock > button {
    height: 11%;
    width: 11%;
    border-radius: 5px;
    padding: 2%;
}

#confirmBlock > button > img {
    height: 100%;
    width: 100%;
}

#confirmBlock > span:nth-of-type(2) {
    font-size: 1.3rem;
}

.hiddenForm {
    display: none;
}

.visibleForm {
    display: block;
}

#lHeader {
    position: fixed;
    width: 100%;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1), 0 1px 0 0 rgba(0,0,0,.03);   
}

#lHeadStrip {
    background-color: #FFDE00/*#FFDC01*/;
}

#lHeadStripInnerContainer {
    //width: 80%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0.5% 0.5% 0.2%;
    line-height: 0;
    text-align: justify;
}

#lHeadStripInnerContainer:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;
}

#lHeadStripInnerContainer > div {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
}

#lHeadStripInnerContainer span {
    display: block;
    color: #810000 /* #D61921 #C31525*/ ;
    text-align: center;
}

#lLogoContainer {
    width: 25%;
}

#lLogoContainer > img {
    display: block;
    width: 100%;
}

#lPhonesContainer {
    text-align: center;
}

#lPhonesContainer > span:first-child {
    font-size: 1.6rem;
    //font-weight: bold;
}

#lButtonContainer {
    width: 10%;
    text-align: center;
}

#lButtonContainer > button {
    width: 100%;
    background-color: #D61921;
    border-radius: 4px;
    border: 1px solid #D61921;
    color: white;
    font-size: 1.16rem;
    padding: 3% 0;
    cursor: pointer; 
}
/*
#l-geoposition-container > span:first-child:before {
    content: url(Img/geoposition.png);
    height: 1rem;
    width: 1rem;    
}
*/

#l-geoposition-container {
    width: 25%;    
}

#l-geoposition-container span {
    font-size: 1.2rem;    
}

#l-geoposition-container select {
    width: 100%;
    font-size: 1.2rem;
    padding: 0 0.4rem;
    background-color: inherit /*#FFDE00*/;
    color: #810000;
    border: 1px solid;
    border-radius: 4px; 
}

#l-geoposition-container > div:first-child {
    text-align: center;    
}

#l-geoposition-container > div:first-child img {
    width: 0.9rem;        
}

#l-geoposition-container > div:first-child span {
    display: inline;    
    vertical-align: top;
    margin-left: 0.5rem;    
}

/*
#l-geoposition-container > span {
    display: inline;    
}
*/
#lMenu {
    background-color: white;    
    //border-bottom: 1px solid Gray;
   // box-shadow: 0 2px 4px 0 rgba(0,0,0,.1), 0 1px 0 0 rgba(0,0,0,.03);
}

#lMenu > ul {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem 5rem 0.7rem; 
    text-align: justify;
    line-height: 0;
}

#lMenu ul:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;

}

#lMenu > ul > li {
    display: inline-block;
    list-style: none;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: bold;
    color: #810000;
    cursor: pointer;
    line-height: normal;
}

#lMenu > ul > li:hover {
    color: red;
}

#lMenu > ul > li > a {
    text-decoration: none;
    color: inherit;
}

#lBody {
    background-color: white;
    max-width: 1024px;
    margin: 0 auto;
    padding: 7.5rem 0 0.1rem;
}

.blocks {
    padding: 1.3rem 2rem;
    margin: 1.5rem;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    background-color: WhiteSmoke;
    box-shadow: 1px 1px 5px rgba(0,0,0,.175);
}

span.blocks-header {
    display: block;
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 2rem;
    //color: #333;
}

span.blocks-text {
    display: block;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #333;
    text-align: justify;
}

span.blocks-text-functions-description {
    display: block;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #333;
    text-align: left;
}

span.lighted-text {
    color: #810000;
    font-weight: bold;
}

.lButtonBlockContainer {
    text-align: center;
    padding-top: 1rem;
}

.lButtonBlockContainer > button {
    width: 30%;
    background-color: #79bbff;
    border-radius: 2px;
    //border: 1px solid #FFDE00;
    color: white;
    font-size: 1.16rem;
    font-weight: 600;
    padding: 0.4rem 0;
    cursor: pointer; 
}

.lButtonBlockContainer > button:hover {
    background-color: rgb(32, 132, 214);
}

.lButtonBlockContainer.Half {
    display: inline-block;
    width: 49.5%;
}

.lButtonBlockContainer.Half > button {
    width: 50%;
}


#first-block > span:first-of-type {
    display: block;
    font-size: 3.5rem;
    text-align: center;
        
}

#first-block > span:nth-of-type(2) {
    display: block;
    font-size: 3rem;
    text-align: center;
        
}

#first-block > span:nth-of-type(3) {
    display: block;
    font-size: 3rem;
    text-align: center;
        
}

#opportunities-block div.robo {
    display: inline-block;
}

#opportunities-block div.op-table {
    margin-top: 1rem;
}

#opportunities-block div.op-table-cell {
    display: inline-block;
    width: 49%;
    padding: 1rem 0;
}

#opportunities-block div.op-table-cell > div:nth-of-type(1) {
    display: inline-block;
    width: 8%;
}

#opportunities-block div.op-table-cell > div:nth-of-type(1) > img {
    width: 100%;
}

#opportunities-block div.op-table-cell > div:nth-of-type(2) {
    display: inline-block;
    width: 92%;
    font-size: 1.5rem;
    color: #333;
    vertical-align: top;
    padding: 0 0 0 0.5rem;
}

.video-container > iframe {
    border-radius: 4px;
}

#footer-block {
    background-color: #111;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
}

@media (max-width:1400px) {

#callBackForm {
    width: 22%;
    left:  39%;
}

#confirmBlock {
    width: 32%;
    left:  34%;
}
    
}

@media (max-width:1300px) {

#callBackForm {
    width: 24%;
    left:  38%;
}

#confirmBlock {
    width: 34%;
    left:  33%;
}

}

@media (max-width:1200px) {

#callBackForm {
    width: 26%;
    left:  37%;
}

#confirmBlock {
    width: 36%;
    left:  32%;
}

}

@media (max-width:1100px) {

#callBackForm {
    width: 28%;
    left:  36%;
}

#confirmBlock {
    width: 38%;
    left:  31%;
}

}

@media (max-width:1000px) {

#callBackForm {
    width: 30%;
    left:  35%;
}

#confirmBlock {
    width: 40%;
    left:  30%;
}

}

@media (max-width:900px) {

#callBackForm {
    width: 32%;
    left:  34%;
}

#confirmBlock {
    width: 42%;
    left:  29%;
}

}

@media (max-width:800px) {

#callBackForm {
    width: 34%;
    left:  33%;
}

#confirmBlock {
    width: 44%;
    left:  28%;
}

}

@media (max-width:700px) {

#callBackForm {
    width: 36%;
    left:  32%;
}

#confirmBlock {
    width: 46%;
    left:  27%;
}

}

@media (max-width:600px) {

#callBackForm {
    width: 38%;
    left:  31%;
}

#confirmBlock {
    width: 48%;
    left:  26%;
}

}



@media (max-width:1024px) {

  html {  
      font-size: 1.5vw;
  }
  /*
  #lButtonContainer {
    display: none;
  }
  */
}



/* Accreditation additions for SDK ISS MOEX page. */
#first-block > span.sdk-product-title {
    display: block;
    font-size: 3rem;
    line-height: 1.18;
    text-align: center;
    font-weight: 700;
}

#first-block > span.sdk-product-subtitle {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
    color: #333;
}

.sdk-registry-badge {
    margin: 1.4rem auto 1.2rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    background-color: #FFDE00;
    color: #810000;
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.sdk-legal-block .blocks-text,
.sdk-license-block .blocks-text {
    text-align: center;
}

.sdk-feature-list {
    margin: 1rem 0 0;
    padding-left: 2rem;
    font-size: 1.5rem;
    line-height: 1.45;
    color: #333;
}

.sdk-feature-list li {
    margin: 0.55rem 0;
}

.sdk-license-block a {
    color: #810000;
    font-weight: 700;
}

@media (max-width: 760px) {
    #first-block > span.sdk-product-title {
        font-size: 2.35rem;
    }

    #first-block > span.sdk-product-subtitle {
        font-size: 1.55rem;
    }

    .sdk-registry-badge {
        font-size: 1.25rem;
    }

    .sdk-feature-list {
        font-size: 1.35rem;
        padding-left: 1.4rem;
    }
}


/* Neutral registry badge style like l-uslugi. */
.sdk-registry-badge {
    background-color: WhiteSmoke;
    color: #333;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: none;
    font-weight: 600;
}

.sdk-registry-badge strong,
.sdk-registry-badge span {
    color: #333;
}




/* Registry badge with emblem from l-uslugi. */
.sdk-registry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 760px;
    text-align: left;
}

.sdk-registry-badge__emblem {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.sdk-registry-badge span {
    display: inline-block;
}

@media (max-width: 760px) {
    .sdk-registry-badge {
        display: flex;
        gap: 0.6rem;
        text-align: left;
    }

    .sdk-registry-badge__emblem {
        width: 34px;
        height: 34px;
    }
}

/* Registry badge full-width layout and normal intro text. */
#first-block > span.sdk-product-intro-text {
    display: block;
    margin-top: 1rem;
    font-size: 1.5rem;
    line-height: 1.45;
    font-weight: 400;
    text-align: justify;
    text-transform: none;
    letter-spacing: normal;
    color: #333;
}

.sdk-registry-badge {
    width: calc(100% - 4rem);
    max-width: none;
    margin: 1.4rem 2rem 1.2rem;
    box-sizing: border-box;
    justify-content: center;
}

@media (max-width: 760px) {
    #first-block > span.sdk-product-intro-text {
        font-size: 16px;
        line-height: 1.5;
    }

    .sdk-registry-badge {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Robokassa widget spacing and neutral legal/license highlights. */
.robo {
    margin: 1rem 0;
    text-align: center;
}

.robo > span.blocks-text {
    margin-top: 0;
    margin-bottom: 1rem;
}

.robo-widget {
    margin: 1rem 0;
    text-align: center;
}

.robo + span.blocks-text {
    margin-top: 1rem;
}

.sdk-legal-block .lighted-text,
.sdk-license-block .lighted-text {
    color: #333;
    font-weight: 400;
}

span.blocks-text a,
.sdk-license-block a,
.robo a {
    color: #810000;
    font-weight: 700;
    text-decoration: underline;
}


/* Invoice request button and modal form. */
.robo-payment-row {
    --payment-control-width: 300px;
    display: grid;
    grid-template-columns: minmax(0, var(--payment-control-width)) minmax(0, var(--payment-control-width));
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 1.2rem auto;
}

.robo-payment-row .robo-widget {
    display: block;
    width: var(--payment-control-width) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.robo-payment-row .robo-widget iframe {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 86px !important;
    min-height: 86px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.invoice-request-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--payment-control-width) !important;
    max-width: 100% !important;
    height: 73px;
    min-height: 73px;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 4px;
    background-color: rgb(32, 132, 214);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.invoice-request-button:hover,
.invoice-request-button:focus {
    background-color: #1f6fb4;
}

.invoiceRequestForm {
    width: min(420px, calc(100vw - 32px));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.invoiceRequestForm input[name="organizationName"] {
    line-height: 1.6rem;
    min-height: 2.5rem;
}

@media (max-width: 1024px) {
    .invoiceRequestForm {
        width: min(420px, calc(100vw - 32px));
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 760px) {
    .robo-payment-row {
        --payment-control-width: min(300px, calc(100vw - 32px));
        grid-template-columns: minmax(0, var(--payment-control-width));
        gap: 0.85rem;
    }

    .robo-payment-row .robo-widget,
    .robo-payment-row .invoice-request-button {
        width: var(--payment-control-width) !important;
        max-width: var(--payment-control-width) !important;
    }

    .robo-payment-row .robo-widget iframe {
        height: 86px !important;
        min-height: 86px !important;
        max-height: none !important;
    }

    .invoice-request-button {
        height: 46px;
        min-height: 46px;
        font-size: 18px;
        padding: 0 1rem;
    }

    .invoiceRequestForm {
        width: calc(100% - 2rem) !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
}
