html {
    height:100%;
    box-sizing: border-box;
}

body {
    height:100%;
    margin: 0;  
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
    color: #fff;
    background-image: url(../startas/bg-final.jpeg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

h1, h2, h3, p, img  {
    margin:0 auto;
    padding:0;
}

h1, h2, h3 { 
    font-weight: 200;
    line-height: 40px;
    text-align: center;
}

a {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

img {    
    display: block;
    max-width: 100%; 
    border-radius: 8px;
}

.box, .box-4 {
    display: grid;
}

.box {
    grid-template-rows: auto 1fr auto;
    min-height: 100%;
}

.box-4 {
    grid-template-columns: auto auto;
    grid-gap: 40px;
    justify-content: center;
}

.box-4 div > div {
    max-width:360px;
    margin: 0 auto;
    position: relative;
}

.box-4 div > div > div {  
    position:absolute;
    bottom:4px;
    right:4px;
    background: rgba(255,255,255,0.9);
    padding: 4px;
    border-radius: 4px;
    width:100px;
    text-align: center;
}

.box-4 div > div > div > img {  
    width: 100%;
    height: auto;
    border-radius: 0;
}

.box-4 div > div .tv3 img {
    width: 50px;
}

.box-4 div > div .lr {
    background: rgba(0,0,0,0.7);
}


.box-4 img {
    width:280px;
    height: 180px;
    object-fit: cover;
    object-position: 0% 0%;
}

.box-4 h2 {
    margin: -10px 0 10px 0;
    text-align:left;
}

.box-4 a {
    color:#fff; 
    border:solid 1px #666;
    padding:0 8px 0 8px;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: 100;
}

.box-4 a:after {
    content: '\003E';
    padding-left: 5px;
    font-size: 13px;
    font-weight: 100;
}

.header {
    background: rgba(255,255,255, 0.1);
    padding: 27px;
}

.nav {
    max-width: 980px;
    margin:0 auto;
}

.nav ul { 
    list-style-type: none;
    padding: 0;
    margin: 0;
}
  
.nav li {
    float: left;
}
  
.nav li a {
    color: #4e0000;
    margin: 0 27px 0 0;  
}
  
.nav li a:hover {
    color: #6a0101;
}

.lang {
    float:right;
}

.lang li a {
    margin: 0 10px 0 0;
}

.lang li:last-child a {
    margin: 0;
}

.lang img {
    width:23px;
    height:23px;
    margin-top: 6px;
    border-radius: 50%;
}

.logo {   
    position: relative;
    width:100%;
    height:88px;
    border-top: solid 7px #fff;
    border-bottom: solid 7px #fff;
    background-color: #4e0000;
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.8);  
}

.logo img {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    top:-27px;
}

.logo div {
    max-width:800px;
    margin:0 auto;
    padding:0 30px 0 30px;
}

.logo a, .box-3 a {
    color: #fff;
}

.logo a:last-child {
    float:right;
}

.logo div a:after {
    content:'\003E';
    padding-left: 5px;
    font-size: 13px;
    font-weight: 100;
}

.content {
    padding: 40px 20px;
}

.wrap {
    max-width: 846px;
    margin:0 auto;
    padding: 40px 60px;
    background: rgba(78, 0, 0, .8);
    border: solid 7px #fff;
    border-radius: 16px;
}

.wrap > * {
    margin-bottom: 40px;
}

.footer {
    background: rgba(255,255,255, 0.5);
    padding: 5px;
    text-align: center;
    color:#333;
}

.footer span{
    color:#4e0000;
}

@media (max-width: 767px) {

    .box-4 {
        grid-template-columns: auto;
    } 

    .box-4 img {
        width:360px;
        height: 260px;
    }

    .logo span {
        display:none;
    }
    .menu {
        position:absolute;
        background-color: #4e0000;
        width:100%;
        top:0;
        left:0;
        z-index: 2;
        border-top: solid 30px #4e0000;
        border-bottom: solid 30px #4e0000;
        display:none;
    }
      
    .menu li {
        float: none;
        text-align: center;
    }

    .menu li a {
        color: #fff;
        margin: 5px 0 5px 0;  
    }

    .logo div a:before {
            content: '';
            display: block;
            background: url(../startas/medus-icon-trans-opt.png) no-repeat center;
            width: 35px;
            height: 38px;
            margin: auto;
            margin-top: -15px;
    }

    .logo div a:last-child:before {
        background: url(../startas/riesutas-icon-tran.png) no-repeat center;
    }

    .logo div a:after {
        content:'';
    }

    .go {
        display:block;
    }

    .nav span {
        display: inline-block;
    }

    .nav span:before {
        content: '\002630';
        color:#4e0000;
        font-size: 42px;
        font-weight: 600;
    }

    .close span:before {
        content: '\2715';
        color:#fff;
        font-size: 29px;
        font-weight: 100;
        position: absolute;
        z-index: 2;
        top:20px;
        right:20px;
    }
}