﻿*, ::after, ::before{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 12pt;
    font-weight: 300;
    line-height: 1.2;
}

h1, h2, h3{
    font-weight: 500;
    border-bottom: 1px solid #dadada;
    margin: 20px 0 10px 0;
    display: inline-block;
}

h1{
    font-size: 2.3em;
}

h2{
    font-size: 1.9em;
}

h3{
    font-size: 1.5em;
}

p{
    line-height: 130%
}

ul{
    list-style: none;
}

    .inline li{
        display: inline-block;
        vertical-align: top;
    }

ul#ue{
    display: block;
    text-align: center;
}

    #ue li{
        display: inline-block;
        width: 22%;
    }

        #ue li img{
            width: 100%;
        }

a.more{
    position: absolute;
    right: 10px;
    color: #d1a629;
    text-decoration: none;
}

    .more:hover{
        color: #2e3192;
    }

span.decorator, span.decorator-center{
    height: 4px;
    width: 70px;
    background: #d1a629;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(209, 166, 41);
    display: block;
    margin: 10px 0 -2px;
}

    span.decorator-center{
        margin: 10px auto -2px;
    }

div#top{
    background-color: #2e3192;
    height: auto;
    padding: 10px 0;
    color: #fff;
}

    #top > div{
        margin: 0 auto;
        padding: 0;
        position: relative;
    }


img#logo{
        max-width:150px;
        height: auto;
        padding: 10px;
        display: inline-block;
    }

img#uniqa {
    max-width: 350px;
    height: auto;
    padding: 0;
    display: inline-block;
    margin-left: 60px;
}


ul#info{
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
}

    #info li{
        padding: 10px;
    }

        #info li i{
            display: inline-block;
            margin-right: 10px;
            vertical-align: top;
            font-size: 1.5em;
        }

        #info li span{
            display: inline-block;
            font-size: 0.9em;
        }

nav{
    background-color: #d1a629;
    padding: 0;
}

    nav > div{
        margin: 0 auto;
        padding: 0;
        position: relative;
    }

ul#menu{
    display:flex;
    justify-content: space-around;
    height: 60px;
    margin: 0 auto;
}

    ul#menu > li{
        padding: 20px 10px;
    }

        ul#menu > li.active {
            border-top: 5px solid #2e3192;
            padding-top: 15px;
        }

        ul#menu > li:hover{
            border-top: 5px solid #2e3192;
            padding-top: 15px;
        }

        ul#menu > li a{
            font-weight: 700;
            color: #000;
            text-decoration: none;
        }

            ul#menu > li a:hover, ul#menu > li a:focus{
                    outline: none;
                    text-decoration: none;
            }

ul#menu ul{
    position: absolute;
    display: none;
    margin: 20px 0 0 -50px;
    padding: 0;
    background: #d1a629;
    z-index: 100;
    list-style: none;
    min-height: 150px;
    min-width: 300px;
    border-top: 5px solid #2e3192;
}

    ul#menu ul > li{
        position: relative;
        display: block;
        padding: 10px;
    }

    ul#menu ul > li a{
        color: inherit;
        text-align: left;
    }

    ul#menu ul > li:hover{
        background: #2e3192;
        color: #ffffff;
    }


div#slider{
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
}

    div#slider bx-viewport{
        height: 100%;
    }

.bx-wrapper .bx-viewport {
    -moz-box-shadow: 0;
     -webkit-box-shadow: 0;
     box-shadow: 0;
     border: none;
     left: 0;

}

div.content{
    margin: 0 auto;
    padding: 0 0 30px 0;
    position: relative;
}

div.content-padding{
    padding-bottom: 30px;
}

    div#contact > div:first-child{
       display: inline-block;
       width: 40%;
       vertical-align: top;
    }

    div#contact > div:nth-child(2){
       display: inline-block;
       width: 60%;
       vertical-align: top;
    }

div.small-content{
    min-height: 450px;
}

form{
    margin: 20px 0;
}

span.text-danger{
    color:#ff0000;
    font-size: 0.9em;
    font-style: italic;
    display: block;
    padding-bottom: 10px;
}

ul#userData{
    list-style-type: none;
}

    ul#userData li{
        display: inline-block;
        width: 30%;
    }

    ul#userData li+li{
        margin-left: 5%;
    }


input, textarea{
    padding: 10px 10px;
    margin-bottom: 10px;
    border: 1px solid #dadada;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 300;
}

input[type=submit]{
    width: 200px;
    background-color: #d1a629;
    color: #000000;
    display:block;
    margin: 0 auto 15px auto;
    font-weight: bold;
}

    input[type=submit]:hover{
        color: #fff;
        background-color: #2e3192;
        cursor: pointer;
    }

textarea{
    width: 99%;
    height: 250px;
}

div.vcard{
    margin-top: 20px;
}

div.contactIcon > i{
    display: inline-block;
    vertical-align: middle;
    width: 10%;
    margin-top: 20px;
}

div.contactIcon > div{
    display: inline-block;
    vertical-align: middle;
    width: 80%;
    margin-top: 20px;
}

div.registration-numbers{
    margin: 50px 0;
}

footer{
    color: #ffffff;
    background-color: #2e3192;
}

footer h3{
    display: block;
    color: #fff;
}

footer > div:first-child{
    min-height: 300px;
}

footer > div {
    display: flex;
    justify-content: space-between;
}

    footer > div > div {
        width: 30%;
    }

footer > div > div > ul > li{
    width: 30%;
    padding: 15px;
    vertical-align: top;
}

    footer > div > div > ul > li img {
        display: block;
        padding: 10px 0;
    }


footer > div:last-child{
    background-color: rgba(0,0,0,0.2);
    padding: 15px 0;
}
    footer > div:last-child p{
        text-align: center;
        font-size: 1em;
        height: 100%;
        width: 100%;
    }

ul#quickLinks{
    list-style-type: none;
}
    ul#quickLinks li{
        display: inline-block;
        width: 45%;
        padding: 2px;
        line-height: 200%;
        color: #fff;
    }

    ul#quickLinks li a{
        color: #fff;
        text-decoration: none;
    }

    ul#quickLinks li a:hover{
        color: #d1a629;
    }

.fa-small{
    font-size: 0.75em;
    line-height: .75em;
    vertical-align: -15%;
    margin-right: 10px;
}

div#news{
    color: #000;
    width: 100%;
    padding: 20px 0 50px 0;
    display: flex;

}

div.news-item{
    border: 1px solid #dadada;
    max-width: 370px;
    height: auto;
    padding: 10px;
    justify-content: flex-start;
    position: relative;
}

    div.news-item + div {
        margin-left: 20px;
    }

    div.news-item > a > img{

        width: 100%;
        min-width: 350px;
        height: auto;
    }

    div.news-item > a{
        text-decoration: none;
        color: inherit;
        border: none;
    }

    div.news-item > a > p.date{
        font-size: 0.8em;
        color: #000;
        font-style: italic;
        padding: 5px 0;
    }

    div.news-item > a > p.subject{
        font-weight: bold;
        font-size: 1.2em;
        padding: 5px 0;
    }

div#invest{
    width: 100%;
    padding-bottom: 20px;
}

    div#invest h1{
        color: #000;
        margin-left: auto;
        margin-right: auto;
    }

    ul.visualisation{
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 20px;
    }

        ul.visualisation li {
            margin: 5px 0;
            width: 270px;
            height: 200px;
            position: relative;
            overflow: hidden;
        }

        ul.visualisation li div.overlay{
        background-color: rgba(0,0,0, 0.7);
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        display: none;
    }

        ul.visualisation li div.overlay i{
            display: block;
            margin: 70px auto;
            color: rgba(255, 255, 255, 0.7);
        }

        ul.visualisation > li > div {
            /*max-width: 380px;*/
            position: relative;
            width: 100%;
            height: 100%;
        }

            ul.visualisation > li > div  > img{
                /*max-width: 380px;*/
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                top: 0;
                left: 0;
            }

div#commercial-premises{
    position: relative;
    padding-bottom: 50px;
}

    div#commercial-premises > div{
        padding:10px 0;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 50px;
    }

    div#commercial-premises > div > div > p > span{
        font-weight: bold;
    }

    div#commercial-premises > div > div > ul{
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

        div#commercial-premises > div > div > ul li{
            width: 380px;
            height: 285px;
            margin: 0 10px;
            position: relative;
            overflow: hidden;
        }


    li.premises div:first-child{
        position: relative;
        height: 100%;
    }

    li.premises div:first-child img{
        height: 100%;
        width: auto;

    }

        p.label{
            width: 100%;
            background-color: rgba(46,49,146, 0.8);
            color: #ffffff;
            text-align: center;
            padding: 20px;
            position:absolute;
            bottom: 0;
        }

    li.premises div.overlay{
        background-color: rgba(0,0,0, 0.7);
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        display: none;
    }

        li.premises div.overlay i{
            display: block;
            margin: 100px auto;
            color: rgba(255, 255, 255, 0.7);
        }

ul.persons, ul.persons-vertical{
    text-align: center;
}

    ul.persons li, ul.persons-vertical li{
        border: 1px solid #dadada;
        min-width: 300px;
        height: auto;
        vertical-align: top;
        margin: 10px;
        display: inline-block;
    }

    ul.persons li p, ul.persons-vertical li p{
        font-weight: bold;
    }

    ul.persons li p span, ul.persons-vertical li p span{
        font-weight: normal;
        display: block;
        font-style: italic;
    }

    ul.persons-vertical li{
        border: none;
        display: block;
    }



ul.regulations{
    text-align: center;
}

    ul.regulations li{
        border: 1px solid #dadada;
        max-width: 250px;
        height: auto;
        vertical-align: top;
        margin: 10px;
        padding: 10px;
        display: inline-block;
    }

    ul.regulations li a{
        display: block;
        color: #000;
    }

div.history p{
    text-indent: 25pt;
    margin: 20px 0 20px 0;
}

div.history ol{
    list-style: none;
    column-count: 3;
    width: 80%;
    text-align: center;
    margin: 0 auto;
}

    div.history ul li{
        display: block;
        text-align: left;
    }

    div.history ul li ul{
        column-count: 3;
        margin: 20px 0 20px 100px;
        display: block;
        text-align: left;
    }

    div.history ul.history-persons{
        margin-left: 100px;
        list-style: square outside none;
    }

table{
    width: 100%;
    text-align: center;
    margin: 20px 0;
}
    table tr{
        padding: 5px 0;
        border-bottom: 1px solid #dadada
    }

        table tr:hover{
            background-color: #dadada;
        }
    table tr td{
        padding: 5px 10px;
    }

ol{
    padding-left: 30px;
}
p.warning{
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
}

div#visualisations{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

    div#visualisations > img{
        width: 270px;
        margin: 5px 0;
        height: auto;
    }

ul.prefix{
    margin: 10px 0;
}
ul.prefix li{
    display: list-item;
    padding-left: 20px;
    position: relative;
    margin-top: 10px;
}

    ul.prefix li::before{
        content: '\f046';
        font-family: 'FontAwesome';
        position: absolute;
        top: 0;
        left: 0;
    }

div.message{
    color: #fff;
    background-color: #2edb2e;
    font-size: 1.2em;
    font-weight: bold;
    padding: 15px;
    display: block;
}

    div.message > div{
        border: 1px solid #fff;
        text-align: center;
        padding: 30px;
    }

div#statement{
    padding: 10px;
    color: #2e3192;
    font-size: 2em;
    border: 1px solid #2e3192;
}

    div#statement p{
        display: block;
        padding: 30px;
        text-align: center;
        border: 1px solid #2e3192;
    }

img.image-content{
    display: block;
    margin: 20px auto;
}

.form-container{
    width: 80%;
    margin: 0 auto;
}

    .form-container form input{
        outline: none;
    }

    .form-container form > div div input[type="text"], .form-container form > div div input[type="password"]{
        width: 100%;
    }

    .form-container form > div div input[type="text"]:focus, .form-container form > div div input[type="password"]:focus{
        background-color: #fff;
        border: 2px solid #d1a629;
    }

    .form-container form > div{
        padding: 10px 0;
    }

    .form-container form > div > div{
        padding: 5px 0 0 0;
    }


.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.field-validation-valid {
    display: none;
}

.field-validation-error {
    color: #ff0000;
    font-style: italic;
}

a#loginLink-btn{
    width: 200px;
    background-color: #d1a629;
    color: #fff;
    display:block;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dadada;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    margin-top: 50px;
}

    a#loginLink-btn:hover{
        border-color: #d1a629;
        background-color: #2e3192;
        color: #ffffff;
    }


ul#termoGallery{
    list-style: none;
    text-align: center;
    padding: 20px 0;
}

    #termoGallery li{
        display: inline-block;
        vertical-align: top;
        overflow: hidden;
        margin: 10px;
    }

    #termoGallery li img{
        max-height: 400px;
        width: auto;

    }

#danger {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    /*filter: blur(8px);
    -webkit-filter: blur(8px);*/
    background-color: rgba(255, 255, 255, 0.5);
}

    #danger > div {
        background-color: darkred;
        color: white;
    }

#danger-message {
    padding: 50px;
    border: solid 2px white;
    position: relative;
}

    #danger-close {
        cursor: pointer;
        width: 30px;
        height: 30px;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    #danger-message h2 {
        letter-spacing: 3px;
        text-align: center;
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 50px;
    }

    #danger-message ul{
        list-style: square;
        margin-left: 50px;
    }

    #danger-message p.damage{
        text-align: center;
        font-size: 130%;
        font-weight: bold;
        margin-top: 50px;
    }


#occasion {
    position: fixed;

    z-index: 10000;
    max-width: 500px;

    background-color: rgba(255, 255, 255, 0.5);
}

    #occasion > div {
        background-color: #d1a629;
        color: #2e3192;
    }

#occasion-message {
    padding: 50px;
    border: solid 2px #2e3192;
    position: relative;
}

    #occasion-message h2 {
        letter-spacing: 3px;
        text-align: center;
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 50px;
    }



@media only screen and (min-width: 1366px){
    div.content, div#top > div, nav > div{
        width: 1170px;
    }

    div#news ul li{
        margin: 10px;
        min-width: 300px;
        min-height: 300px;
    }

    #termoGallery li {
        max-width: 500px;
        max-height: 400px;
    }

    #danger > div {
        width: 50%;
        margin: 100px auto;
        padding: 30px;
    }

    #danger-message p {
        line-height: 180%;
        margin-bottom: 20px;
    }

    #occasion {
        top: 200px;
        left: 200px;
        max-width: 500px;
        height: 300px;
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1365px){
    div.content, div#top > div, nav > div{
        width: 1050px;
    }

    div#news ul li{
        margin: 10px;
        min-width: 300px;
        min-height: 300px;
    }

    #termoGallery li {
        max-width: 500px;
        max-height: 400px;
    }

    #danger > div {
        width: 50%;
        margin: 50px auto;
        padding: 30px;
    }

    #occasion {
        top: 200px;
        left: 200px;
        max-width: 500px;
        height: 300px;
    }

}

@media only screen and (min-width: 1024px) and (max-width: 1199px){
    div.content, div#top > div, nav > div{
        width: 960px;
    }

    div#news ul li{
        margin: 10px;
        min-width: 200px;
        min-height: 200px;
    }

    #termoGallery li {
        max-width: 500px;
        max-height: 400px;
    }

    #danger > div {
        width: 65%;
        margin: 50px auto;
        padding: 30px;
    }

    #occasion {
        top: 200px;
        left: 200px;
        max-width: 500px;
        height: 300px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px){
    div.content, div#top > div, nav > div{
        width: 750px;
    }

    div#news ul li{
        margin: 10px;
        min-width: 150px;
        min-height: 150px;
    }

    footer > div > div:nth-child(2){
        display: none;
    }

    footer > div > div{
        width: 45%;
    }

    footer > div > div:first-child > img{
        width: 100%;
    }

    #termoGallery li {
        max-width: 500px;
        max-height: 400px;
    }

    #danger > div {
        width: 80%;
        margin: 100px auto 0 auto;
        padding: 10px;
    }

    #occasion {
        top: 200px;
        left: 100px;
        max-width: 500px;
        height: 300px;
    }
}

@media only screen and (max-width: 767px){
    div.content, div#top > div, nav > div{
        width: 100%;
    }

    div#news ul li{
        margin: 10px;
        min-width: 100px;
        min-height: 100px;
    }

    footer > div > div:nth-child(2){
        display: none;
    }

    footer > div > div{
        width: 45%;
    }

    footer > div > div:first-child > img{
        width: 100%;
    }

    ul#info{
        display: none;
    }

    ul#menu{
        font-size: 0.8em;
    }

    #termoGallery li {
        max-width: 500px;
        max-height: 400px;
    }

    #danger > div {
        width: 100%;
        margin: 0 auto;
        padding: 10px;
    }

    #danger-message p {
        line-height: 120%;
        margin-bottom: 10px;
    }

    #occasion {
        top: 200px;
        left: 0;
        width: 100%;
        height: 300px;
    }
}

#video > video{
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.poster{
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster img{
    max-width: 600px;
    width: 100%;
}