header{
    width: 100%;
    -webkit-box-shadow: 0 4px 4px 0 rgba(15, 66, 96, 0.05);
       -moz-box-shadow: 0 4px 4px 0 rgba(15, 66, 96, 0.05);
            box-shadow: 0 4px 4px 0 rgba(15, 66, 96, 0.05);
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
                -ms-grid-row-align: center;
            align-items: center;
    padding: 1rem 2rem 1rem 1rem;
    position: fixed;
    top:0;
    right: 0;
    left: 0;
    z-index: 99999;
    background-color: #ffffff;
}
header a{
    margin-bottom: 0;
}
header nav a, header nav span, header nav i {
    margin: 0 0 0 2rem;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 2rem;
    cursor: pointer;
    padding-bottom: .3rem;
    border-bottom: 1px solid transparent;
    font-style: normal;
    color: #0F4260;
}
header nav a:first-child:hover, header nav a:nth-child(2):hover, header nav i:hover{
    border-bottom: 1px solid #0F4260;
}
header nav a:first-child{
    text-transform: lowercase;
}
header nav svg{
    vertical-align: middle;
    height: 2rem;
    fill: none;
    cursor: pointer;
}
header nav span{
    border-left: 1px solid rgba(15, 66, 96, 0.3);;
    padding-left: 2rem;
}
header nav span svg{
    margin-left: .5rem;
}
header nav span:hover svg{
    -webkit-transform: rotate(90deg);
       -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
         -o-transform: rotate(90deg);
            transform: rotate(90deg);
}
header nav span.opened #opencatalog path{
    fill: transparent;
}
header nav span.opened #closecatalog path{
    fill: #0F4260;
}
main{
    min-height: 60svh;
}
footer{
    background-color: #0F4260;
}
footer nav{
    padding: 5rem 2rem 3.5rem 2rem;
    width: 100%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
footer nav a, footer nav h4{
    color: #ffffff;
}
footer nav h4{
    margin-bottom: 2rem;
}
footer nav a{
    margin-bottom: 1.2rem;
}
footer nav a span{
    padding-bottom: .3rem;
    border-bottom: 1px solid transparent;
}
footer nav a:hover span{
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}
footer nav h4.cont{
    margin-top: 4rem;
}
footer nav .twocol{
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
footer nav .twocol a{
    width: 50%;
    padding-right: 5rem;
}
footer nav a:hover, footer nav a.active{
    color: #269ADE;
}
footer nav .col{
    -webkit-flex-flow: column;
        -ms-flex-flow: column;
            flex-flow: column;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}
footer nav .col:nth-child(1){
    width: 57%;
}
footer nav .col:nth-child(2){
    width: 27%;
    padding-right: 2rem;
}
footer nav .col:nth-child(3){
    width: 16%;
}
footer .bottom{
    width: 100%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: rgb(0, 35, 57);
    padding: 1rem;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}
footer .bottom a{
    padding: .3rem 0;
    border-bottom: 1px solid transparent;
}
footer .bottom a:hover{
    border-bottom: 1px solid #ffffff;
}
footer .bottom a small, footer .bottom a{
    color: #ffffff;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-bottom: 0;
}
#message_error{
    background-image: url('/static/theme/img/error.webp');
}
#message{
    background-image: url('/static/theme/img/thanks.webp');
}
#message_error, #message {
    width: 100%;
    height: 100svh;
    background-position: center;
    background-repeat: no-repeat;
    -moz-background-size: cover;
      -o-background-size: cover;
         background-size: cover;
    -webkit-box-align: end;
    -webkit-align-items: end;
       -moz-box-align: end;
        -ms-flex-align: end;
                -ms-grid-row-align: end;
            align-items: end;
    padding: 5rem 2rem;
    text-align: left;
}
#message_error div, #message div{
    width: 37vw;
}
#message_error h1, #message_error h5, #message h1, #message h5{
    color: #ffffff;
}
#loader{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    background: #ffffff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-content: center;
        -ms-flex-line-pack: center;
            align-content: center;
}
#loader img {
    max-width: 15rem;
}
.modal{
    background-color:rgba(141, 169, 196, 0.85);
    position:fixed;
    z-index:9999999;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display: none;
    -webkit-animation-duration:.8s;
    -moz-animation-duration:.8s;
    -o-animation-duration:.8s;
    animation-duration:.8s;
    -webkit-animation-timing-function:ease-in;
    -moz-animation-timing-function:ease-in;
    -o-animation-timing-function:ease-in;
    animation-timing-function:ease-in
}
.modal .container{
    height:100%;
    -webkit-box-align:center;
    -webkit-align-items:center;
    -moz-box-align:center;
    -ms-flex-align:center;
    -ms-grid-row-align:center;
    align-items:center;
    -webkit-box-pack:center;
    -webkit-justify-content:center;
    -moz-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center
}
.modal span{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:0
}
.modal .container .block{
    z-index:1;
    position:relative;
    width: 100%;
    max-width:75rem;
    aspect-ratio:16/9;
    background-color:#ffffff;
    -webkit-box-shadow: 0 0 24px 0 rgba(141, 169, 196, 0.3);
       -moz-box-shadow: 0 0 24px 0 rgba(141, 169, 196, 0.3);
            box-shadow: 0 0 24px 0 rgba(141, 169, 196, 0.3);
            align-items: start;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    overflow: hidden;
}
.modal .block svg.close{
    fill-rule:evenodd;
    clip-rule:evenodd;
    stroke-linejoin:round;
    stroke-miterlimit:1.41421;
    width:1.7rem;
    height:1.7rem;
    position:absolute;
    right:1rem;
    top:1rem;
    -webkit-animation-name:fadeIn;
    -moz-animation-name:fadeIn;
    -o-animation-name:fadeIn;
    animation-name:fadeIn;
    -webkit-animation-duration:1.5s;
    -moz-animation-duration:1.5s;
    -o-animation-duration:1.5s;
    animation-duration:1.5s;
    cursor:pointer;
    -webkit-animation-timing-function:ease-in;
    -moz-animation-timing-function:ease-in;
    -o-animation-timing-function:ease-in;
    animation-timing-function:ease-in;
    z-index:1
}
.modal .block svg.close path{
    fill:#0F4260;
    fill-rule:nonzero
}
.modal .block svg.close:hover path{
    fill:#269ADE;
    fill-rule:nonzero
}
.modal .texts {
    width: 100%;
    height: calc(100% - 6rem);
    overflow-y: auto;
    margin-top: 4rem;
    padding: 0 2rem;
}
@media screen and (max-width: 1000px){
    .modal .container .block{
        max-width: 80svw;
    }
    .modal .container .block {
        aspect-ratio: auto;
        max-height: 95vh;
        height: 100%;
    }
}
@media screen and (max-width: 800px){
    header{
        padding: 1rem;
    }
    header a{
        max-width: 50%;
    }
    header nav a {
        margin: 0 0 0 1rem;
    }
}
@media screen and (max-width: 600px){
    footer .bottom{
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }
}