::-webkit-scrollbar, -moz-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track, -moz-scrollbar-track { -webkit-box-shadow: inset 2 2 6px rgba(0,0,0,0.3); 
    border-radius: 1px; background-color: rgb(242, 242, 242); }
::-webkit-scrollbar-thumb, -moz-scrollbar-thumb { background-color: #5260a6;}

.validation-summary-errors li {
    color:red; list-style-type: none; font-family: arial,sans-serif;font-size: 10pt;
}
input[type="submit"] {cursor:pointer;}

body {   
    font-size: 10pt;
    margin: 0 0 0 0;
    padding: 0;
    color: #911D1D;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Nunito Sans', sans-serif;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
}

img, span {
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

em {
    font-style: normal;
}

pre {
    font-family: 'Nunito Sans', sans-serif;
}


ul.menu {
    color: white;
    width: 418px;
    position: fixed;
    right: 8vw;
    top: 40px;
    z-index: 20;
}

.menu li {
    float: left;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 4px;
    color: #000;
    margin: 0 0 0 43px;
    font-weight: 300;
}

.menu li:hover {
    color: #911D1D;
}

#main {
    width: 80vw;
    float: left;
    position: relative;
    height: 70vh;
    margin: 16vh 10vw 0;
}


#logo {
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    height: 7.5vh;
    top: 3.5vh;
}

.hero-grid {
    position: relative;
    float: left;
    overflow: hidden;
    background: #911D1D;
    cursor: pointer;
    margin: 0 30px 30px 0;
    width: calc(50% - 30px);
    height: calc(50% - 30px);
}

.hero-grid-image {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.2;
}

.hero-grid-content {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.hero-grid-content::before,
.hero-grid-content::after {
    pointer-events: none;
}

.hero-grid-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.hero-grid-title {
    letter-spacing: 0px;
    font-weight: 100;
    margin: 0;
    padding: 0.25em 0;
    line-height: 1;
}

.hero-grid-title span {
    font-weight: 800;
}

.hero-tag {
    display: inline-block;
    font-size: .5em;
    padding: .5em;
    background: #fff;
    color: #000;
}

.hero-grid h2,
.hero-grid p {
    margin: 0;
}

.hero-grid a {
    float: left;
    margin: 0 6px 0 0;
    z-index: 5;
}

#rbe a {
    float: none;
    margin: initial;
}

#rbe {
    margin: 0 0 10px 0;
}

#acad {
    background: #d49f00;
}

.hero-grid.small .hero-grid-title.effect-target {
    margin-bottom: 30px;
}


.hero-grid.small {
    height: calc(25% - 20px);
}

.hero-grid.small p.hero-tag.effect-target.effect-text {
    display: none;
}

.hero-grid a:hover .effect-text {
    background-color: #911D1D;
    color: #fff;
}

.hero-grid p {
    letter-spacing: 1px;
    font-size: 10pt;
        line-height: 15pt;
    height: 17px;
    overflow: hidden;
}

.effect-image {
    max-width: none;
    width: -webkit-calc(100% + 50px);
    width: calc(100% + 50px);
    opacity: 0.2;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px, 0, 0);
    transform: translate3d(-40px, 0, 0);
}

.effect-target {
    -webkit-transform: translate3d(0, 40px, 0);
    transform: translate3d(0, 40px, 0);
}

.effect-target {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

.effect-text {
    color: #911D1D;
    opacity: 0;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
    transition: opacity 0.2s, transform 0.35s;
}

.effect-move:hover .effect-image,
.effect-move:hover .effect-text {
    opacity: 1;
}

.effect-move:hover .effect-target,
.effect-move:hover .effect-image {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.effect-move:hover .effect-text {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
    -webkit-transition-duration: 0.35s;
    transition-duration: 0.35s;
}

#rbe {
    background: #009fe3;
}

#contactos {
    position: fixed;
    bottom: 65px;
    margin: auto;
    left: 0;
    right: 0;
}

#contactos > div {
    position: absolute;
    height: 140px;
    width: 100%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.text {    
    letter-spacing: 0;
    font-size: 11pt;
    line-height: 18pt;
    height: auto;
    font-weight: 300;
}

.text em {
    font-weight: 600;
}







@media screen and (max-width: 1024px) {
    .hero-grid {
        height: 60vw !important;
        width: 100% !important;
    }
    .effect-text {
        opacity: 1 !important;
    }
    .hero-grid-content {
        bottom: 2em !important;
        width: calc(100% - 4em) !important;
    }
    #main {
        height: 100% !important;
    }
    #contactos {
        position: relative !important;
        float: left !important;
        clear: both !important;
        width: 100% !important;
        height: 130px !important;
        margin-top: 60px;
    }

}

@media screen and (max-height: 768px) {
    .hero-grid {
        height: 60vw !important;
        width: 100% !important;
    }
    .effect-text {
        opacity: 1 !important;
    }
    .hero-grid-content {
        bottom: 2em !important;
        width: calc(100% - 4em) !important;
    }
    #main {
        height: 100% !important;
    }
    #contactos {
        position: relative !important;
        float: left !important;
        clear: both !important;
        width: 100% !important;
        height: 130px !important;
        }
    }
}








