@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700|Roboto:400,500,700&display=swap&subset=cyrillic');
:root {
    --main-color: #000000;
    --height-header: 50px;
    --height-footer: 85px;
}
*, ::after, ::before {
    box-sizing: border-box;
}
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}
body {
    font-family: 'Roboto', sans-serif;
    display: -ms-flexbox;
    display: flex;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: end;
    align-items: flex-end;
    color: var(--main-color);
    font-weight: 400;   
}
button, [role=button] {
    cursor:pointer;
}
body > header {
    min-height: var(--height-header);
    width: 100%;
    background-color: #000000;
}
body > main {
    flex-grow: 1;
    width: 100%;
    padding: 0;
    min-height: calc(100vh - var(--height-header) - var(--height-footer) + .1px);
}
.container {
    display: -ms-flexbox;     
    display: flex;
    width:100%;
    max-width:1270px;
    margin:0 auto;
}
header > .container {
    height: var(--height-header);
    -ms-flex-align: center;    
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color:#FFFFFF;
}
/*
header > .container > a:nth-of-type(2) {
    display:block;
    width:138px;
    height:25px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image:url(img/upr_logo.png);
}
*/
header > .container > address {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
}
header > .container > address > b {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    color: #A6CE39;    
}
header > .container > address > b > svg {
    display:none;
}
header > .container > nav > button {
    display:none;
    background: #333333;
    width:30px;
    height:30px;
    border:0 none;    
}
main > .container {
    -ms-flex-direction: column;
    flex-direction: column;    
}
#gbscalcmaindiv {
    width: 100%;
    min-height: 378px;
    background: #F2F2F2;
    border: 1px solid #000000;
    border-width:2px 0 1px 0;  
    
}
iframe {
    min-height: 378px;
    /*max-width:100%;*/
    width: 650px;
    height: 100%;
    max-height: 750px;
    position: absolute !important;  
}
main h1 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin: 40px 0 32px 0;
}
main.mainpage h1 {
    font-size: 38px;
    line-height: 46px;
}
main h1 > strong {
    font-weight: 700;
}
main nav > ul {
    margin:0 0 37px 0;
    padding:0;
    list-style-type: none;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
main nav > ul > li {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #000000;
    padding:8px 15px 7px 15px;
    background-color: rgba(189,189,189,.25);
    border-bottom: 2px solid transparent;
    cursor:pointer;
    transition: .3s;
}
main nav > ul > li > a {
    text-decoration:none;
    color:#000000;
}
main nav > ul > li.active {
    font-weight: 500;
    border-bottom-color: #458E34;
}
main nav > ul > li:hover {
    border-bottom-color: #458E34;
}
main .calculators {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
main .calculators figure {
    flex:calc(50% - 34px) 0 0;
    width:calc(50% - 34px);
    max-width:550px;
    padding:0;
    margin:0 20px 40px 14px;
    background-color: #BDBDBD;
    box-shadow:0 5px 5px rgba(0,0,0,.25);
}
main .calculators > figure:nth-of-type(even) {
    margin:0 14px 40px 20px;
}
main .calculators figure img {
    display:block;
    max-width:100%;
    height:auto;
    margin:0 auto;
}
main .calculators figure > figcaption > a {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    color:#000000;
    text-decoration: none;
    display:block;
    padding:15px 15px 17px 24px;
    background-color: rgba(255,255,255,.95);
}
main article > figure {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    /*margin: 88px 0 41px 0;*/
    margin: 0px 0 41px 0;
}
.toocell {
    display: -ms-flexbox;
    display: flex;    
}
main article {
    padding: 2rem;;
    padding-top: 0px;
}
/*
main article > figure > p,
main article > figure > figcaption {
    flex:50% 0 0;
    width:50%;
}
*/
main article > figure > p {
    text-align:center;
}
main article > figure > figcaption > h2 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 45px;
    margin-top: 0px;
}
main article > figure > figcaption > p {
    text-align:center;
    padding:0;
    margin:0;
}
main article > figure > figcaption > ul {
    margin:0;
    padding:0;
}
main article > figure > figcaption > ul > li {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 25px;
}
main article > figure > figcaption > ul > li:not(:last-of-type) {
    margin-bottom:15px;
}
main article button {
    margin:0 auto;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    width:330px;
    height: 45px;
    transition:.5s;
    display: block;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    border:0 none;
    background-color: #FFDE17;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}
main article button:hover {
    background-color: #458E34;
}
main .banner {
    width: 1050px;
    height: 200px;
    background-color: #E0E0E0;
    margin: 112px auto 0 auto;
}
footer {
    margin-top:140px;
    background-color:#000000;
    width: 100%;
}
footer > .container {
    height: var(--height-footer);
    -ms-flex-align: center;    
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color:#FFFFFF;
}
footer > p {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    margin:0;
}
@media (max-width: 1050px) {
    main .banner {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .container {
        padding-left:15px;
        padding-right:15px;
    }
    header > .container > a:first-of-type {
        display:none;
    }
    header > .container > address {
        font-size: 12px;
        line-height: 14px;
    }
    header > .container > address > b {
        font-size: 14px;
        line-height: 17px;
        display: block;
    }
}
@media (max-width: 575.98px) {
    header > .container > address {
        display: none;
    }
    main nav > ul {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    main nav > ul > li {
        margin-bottom:10px;
    }
    main article > figure {
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 30px 0;
    }
    main .calculators {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    main .calculators figure {
        flex: 100% 0 0;
        width: 100%;
        margin: 0 0px 20px 0px;
    }
    main .calculators > figure:nth-of-type(even) {
        margin: 0 0px 20px 0px;
    }
    main article > figure > p, 
    main article > figure > figcaption {
        flex: 100% 0 0;
        width: 100%;
    }
    main article > figure > p > img {
        display:block;
        max-width:100%;
        height: auto;
    }
    main article > figure > figcaption > h2 {
        font-size: 24px;
        line-height: normal;
    }
    main article button {
        width: 100%;
    }
    footer {
        margin-top: 30px;
    }
    footer > .container {
        -ms-flex-direction: column;
        flex-direction: column;   
        -ms-flex-line-pack: distribute;
        align-content: space-around;     
    }
    footer > .container > p {
        text-align:center;
        margin:0;
    }
    main article > figure > figcaption > ul > li {
        list-style-position: inside;
    }
}