html, body {
    box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }

html {
    height: 100%;
    width: 100%;
}
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: calibri, sans-serif;
    font-size: 1em;
    font-variant: normal;
    letter-spacing: 3px;
    background-color: white;
    color: #AAA;
}

.herenow {
    color: #666;
}

a, a:hover, a:visited, a:active {
    color: #AAA;
}

h1 {
    font-size: 1.2em;
    color: #666;
}

h2 {
    font-size: 0.7em;
    font-weight: bold;
    color: #666;
}

.total {
    /* height: 100%; */
    min-height: 100vh;
    margin: 0 auto;
    /* max-width: 31.25em; */
    min-width: 18.75em;
    /* padding: 1em;
    padding-top: 3em; */
    background-color: white;
    width: 100%;
    overflow: hidden;
}

.banner {
    text-align: center;
    height: 20vh;
    background-image: url('../media/images/logogrey.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.intro {
    text-align: center;
    height: 60vh;
    background-image: url('../media/images/2019/190206_REBENTOS_40.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

}

.message {
    height: 20vh;
    text-align: center;
}

#intro {
    /* background-color: #000; */
    text-align: center;
    height: 60vh;
}

#intro img {
    height: calc(60vh);
    text-align: center;
}

#footer {
    position: fixed;
    bottom: 0px;
    text-align: center;
    width: calc(100vw - 30px);
}

.copyright {
    text-align: center;
    font-size: 10pt;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#menu-intro {
    position: relative;
    color: #AAA;
}

    #menu-intro ul {
        -webkit-padding-start: 0px;
        text-align: center;
        padding: 0;
    }

    #menu-intro li {
        display: inline;
        padding: 5px;
        margin: 5px;
        font-family: calibri;
        font-weight: bold;
        font-variant: small-caps;
        font-size: 1.2em;
        color: #AAA;
    }

    #menu-intro a {
        color: #AAA;
    }

        #menu-intro a:hover {
            color: #FF0;
        }

        #menu-intro a:hover {
            color: #666;
        }

/* gallery */

.gallerylogo {
    text-align: center;
    height: 10vh;
    background-image: url('../media/images/logogrey.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.gallerymenu {
    text-align: center;
    height: 5vh;
}

.gallerymenu li {
    display: inline-block;
    padding: 5px;
    margin: 5px;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 1em;
    color: #AAA;
    /* height: 5vh; */
}

.galleryyearmenu {
    text-align: center;
    height: 5vh;
}

.galleryyearmenu li {
    display: inline-block;
    padding: 5px;
    margin: 5px;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 1em;
    color: #AAA;
    /* height: 5vh; */
}
.gallerytitle {
    text-align: center;
    height: 5vh;
    width: 100%;
    background-color: #eee;
    vertical-align: middle;
}

.gallerytitle h1 {
    color: #999;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallerytitlecenter {
    text-align: center;
    height: 5vh;
    width: 100%;
    background-color: #eee;
    vertical-align: middle;
}
.gallerytitlecenter h1 {
    color: #999;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    position: relative;
    top: 50%;
    /* left: 50px; */
    transform: translate(0%, -50%);
}

.gallerycontent {
    text-align: center;
    height: 70vh;
    overflow-y: hidden;
    overflow-x: scroll;
}

.gallerycontenttiles {
    text-align: center;
    height: 70vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

#galeriacentro {
    display: block;
}

#galeriabarra {
    width: 50000px;
}

#galeriaesquerda {
    width: 0; /*auto;*/
    display: block;
    color: #fff;
    font-size: 12pt;
    float: left;
}

#galeriaesquerda a {
    color: #fff;
}

#galeriaesquerda a:hover {
    color: #999;
}

#galeriadireita {
    display: block;
}

#galeriadireita div div {
    display: inline;
    float: left;
	text-align: center;
	border: 1px solid transparent;
}

#galeriadireita div div:hover{
    border: 1px solid lightgray;
	cursor: pointer;
}

#galeriadireita img {
    max-width: 90%;
    max-height: 90%;
    height: 63vh;
	padding: 2px;
	text-align: center;
}

.galeriaitem {
    display: inline;
    float: left;
	text-align: center;
    margin: 1px;
    cursor: pointer;
}

.titlebutton {
    display: inline-block;
    float: right;
    padding: 0px 5px;
    font-size: 10px;
    position: relative;
    top: 50%;
    transform: translateY(-50%); 
}

.titleselect {
    display: none;
    float: none;
    padding: 0px 5px;
    font-size: 20px;
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%); 
}

select {
    background: transparent;
    cursor: pointer;
}

option {
    background: transparent;
}

.hidden { display: none;}
.hidden { left: -50000px; }

.oneImage {
    height: 63vh;
    cursor: pointer;
}

#content {
    position: relative;
    display: block;
    padding: 10px;
    margin: 10px;
    text-align: center;
    height: 98%;
    overflow-y: auto;
}

#verticalcenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.noleftpadding {
    padding-left: 0px;
}

.titleyear {
    display: none;
}

@media (max-width:744px) {
    .titleyear {
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 50px;
        transform: translate(0, -50%);
    }
    #footer {
        position: fixed;
        bottom: 0px;
        text-align: center;
        width: calc(100vw - 60px);
    }
    
    .oneImage {
        height: 77vh;
        cursor: pointer;
    }
    .total {
        /* height: 100%; */
        min-height: 100vh;
        margin: 0 auto;
        max-width: 31.25em;
        min-width: 18.75em;
        padding: 1em;
        /* padding-top: 3em; */
        background-color: white;
        /* width: 100%; */
        overflow: hidden;
    }
    .form-control {
        background-color: transparent;
        height: 25px;
    }
    .banner {
        text-align: center;
        height: 10vh;
        background-image: url('../media/images/logogrey.png');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .titleselect {
        display: inline-block;
        float: none;
        padding: 0px 5px;
        font-size: 20px;
        position: absolute;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
    }

    select {
        background: transparent;
        cursor: pointer;
    }

    #galeriadireita img {
        max-width: 90%;
        max-height: 90%;
        height: 74vh;
        padding: 2px;
        text-align: center;
    }

    .gallerymenu {
        text-align: center;
        height: auto;
        display: none;
    }
    .gallerymenu li {
        display: inline-block;
        padding: 0px;
        margin: 5px;
        font-weight: bold;
        font-variant: small-caps;
        font-size: 1em;
        color: #AAA;
    }
    .galleryyearmenu {
        text-align: center;
        height: auto;
        display: none;
    }
    .galleryyearmenu li {
        display: inline-block;
        padding: 0px;
        margin: 5px;
        font-weight: bold;
        font-variant: small-caps;
        font-size: 1em;
        color: #AAA;
    }
    .gallerytitle {
        text-align: center;
        height: 5vh;
        width: 100%;
        background-color: #eee;
        vertical-align: middle;
    }
    .gallerytitle h1 {
        color: #999;
        font-size: 1.2em;
        font-weight: bold;
        display: inline-block;
        position: relative;
        float: left;
        top: 50%;
        /* left: 50px; */
        transform: translate(-50%, -50%);
    }
    .gallerytitlecenter {
        text-align: center;
        height: 5vh;
        width: 100%;
        background-color: #eee;
        vertical-align: middle;
    }
    .gallerytitlecenter h1 {
        color: #999;
        font-size: 1.2em;
        font-weight: bold;
        display: inline-block;
        position: relative;
        top: 50%;
        /* left: 50px; */
        transform: translate(0%, -50%);
    }
    .titlebutton {
        display: inline-block;
        float: right;
        padding: 0px 5px;
        font-size: 10pt;
        letter-spacing: 2px;
        margin-top: 0px;
    }
    .gallerycontent {
        text-align: center;
        height: 80vh;
        overflow-y: hidden;
        overflow-x: auto;
    }
    .gallerylogo {
        text-align: center;
        height: 6vh;
        background-image: url('../media/images/logogrey.png');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    ul {
        margin-top: 0;
        margin-bottom: 0;
    }
    #menu-intro li {
        display: inline;
        padding: 0px;
        margin: 0px;
        font-family: calibri;
        font-weight: bold;
        font-variant: small-caps;
        font-size: 1em;
        color: #AAA;
    }
}