@import url("../libs/fonts/roboto/Roboto-Regular.css");
@import url("../libs/fonts/roboto/Roboto-Bold.css");

.tja-mapa{
         background-image: url(https://tja.pt/assets/images/TJA_MAPA_alta.jpg);
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
html,
body {
    margin:0;
    padding:0;
    height:100%;
    font-family: 'Roboto-Regular';
    font-size: 12px;
    color: #333e48;
    min-width: 300px;
}
a, a:hover, a:visited, a:active, a:focus {
    text-decoration: none;
    outline:none;
    color: #333e48;
    cursor: pointer;
}
h1 {
    font-family: 'Roboto-Bold';
    font-size: 25px;
    text-align: center;
    color: #0062a9;
}
h2 {
    text-align: center;
    font-family: 'Roboto-Bold';
    font-size: 35px;
    text-transform: uppercase;
    color: #0062a9;
}
h3 {
    font-family: 'Roboto-Bold';
    font-size: 25px;
    text-align: center;
    color: #0062a9;
}
h4 {
    font-family: 'Roboto-Bold';
    font-size: 20px;
    text-align: center;
    color: #0062a9;
}
h5{
    margin-top: 20px;
    font-family: 'Roboto-Bold';
    font-size: 18px;
}
small{
    font-family: 'Roboto-Regular';
    font-size: 20px;
    font-weight: bold;
}
p{
    font-family: 'Roboto-Regular';
    text-transform: none;
    text-align: left;
    color: #0062a9;
}

.left-content{
    text-align: left;
}
.right-content{
    text-align: right;
}

#wrapper {
    min-height:100%;
    position:relative;
    top: 70px;
}
#header {
    width:100%;
    padding:0;
}
#content {
    padding-top: 0;
    padding-bottom: 250px; /* Height of the footer element */
}
#footer {
    width:100%;
    height:250px;
    position:absolute;
    bottom:0;
    left:0;
}


/* HEADER */

.myheader{
    width: 100%;
    min-width: 300px;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6000;
    display: block;

}

/* FOOTER */

.footer-content{
    height: 100%;
    margin:0 auto;
}
.footer-content > div{
    width: 100%;
    display: block;
    position: relative;
    margin-right: 0px; /*STYLING BOOTSTRAP*/
    margin-left: 0px; /*STYLING BOOTSTRAP*/
}
.footer-content [class*="col-"]{
    padding-right: 0px; /*STYLING BOOTSTRAP*/
    padding-left: 0px; /*STYLING BOOTSTRAP*/
}


.footer-content > div:first-of-type{
    /*border-bottom: 1px solid #333e48;*/
}
.footer-content-top, .footer-content-bottom{
    height: 50%;
}

/* --- NEW FOOTER ----*/

.footer-menu-container{
    /*    max-width: 1000px;*/
    margin: 0 auto;
    padding-top: 15px;
    background: #0062A9;
    text-align: center;
    min-height: 170px;
}

.footer-menu-container .menu-areas-container{
    width: 100%;
    margin: 0 auto;
}


/*.footer-links{
    margin: 0 auto;
    padding-top: 30px;
    background: #0062A9;
    text-align: center;
    height: 170px;
}*/


/*.footer-links .menu-areas-container{
    width: 100%;    
    margin: 0 auto;
}*/

.menu-areas-container .submenu {
    list-style-type: none;
    /*    padding-right: 40px;*/
}

.menu-areas-container .submenu li{   
    text-align: left;    
}
.submenu li>a {
    color: #fff;
}
.submenu li:first-child>a{
    color: #F0D200;
    font-weight: bold;
}

.credits{
    font-family: 'Roboto-Regular';
    background-color: #005897;
    font-size: 8pt;
    color: #c4c5c7;
    /*    width: 250px;*/
    margin: 0 auto;
    padding: 35px;
    height: 80px;
}
/*.social {
    margin: 0 auto;
    padding-top: 24px;
    background: #0062A9;
    text-align: center;
    height: 170px;
}*/
.social .social-container{
    margin-right: 0px; /*STYLING BOOTSTRAP*/
    margin-left: 0px; /*STYLING BOOTSTRAP*/
}
.social .social-container > div{
    padding: 10px;
}
.organization{   
    background-color: #005897;
    margin: 0 auto;
    padding: 30px;
    height: 80px;
}
.organization img{
    margin: 0 auto;
}
.tja-icon span{
    background: transparent url('../images/app/footer_logo_tja.png');
    height: 25px;
    width: 140px;
    display: inline-block;
}

.credits-org, #footer .credits .credits-org span, 
#footer .credits .credits-org span a, #footer .credits .credits-org span a:active,
#footer .credits .credits-org span a:focus, #footer .credits .credits-org span a:visited {
    float: left;
    color:#fff;
    font-family: 'Roboto-Bold';
    text-transform: uppercase;
}

.incon-icon{
    float: right;
    margin-right: 60px;
    cursor: pointer;
}
.incon-icon span{
    background: transparent url('../images/app/footer_incograf.png');
    height: 8px;
    width: 70px;
    display: inline-block;
}
.company-icon{
    float: right;
}
.company-icon span{
    background: transparent url('../images/app/footer_logo_tja.png');
    height: 25px;
    width: 140px;
    display: inline-block;
}


/* BOOTSTRAP TEMP */
.navbar-default {
    border-color: transparent;
    background-color: transparent;
    background-image: none;

}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

/* === GO BACK / GO UP === */

.my-go-prev, .my-go-up {
    background: transparent;
    position: fixed;
    z-index: 1020;
    cursor: pointer;
    display: none;
}
.my-go-prev {
    left: 35px;
    bottom: 20px;
} 
.my-go-up {
    right: 85px;
    bottom: 111px;
}
.my-go-bg {
    /*    background: #e30015;*/
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
    height: 60px;
    width: 60px;
    z-index: 1048;
}
.my-go-up .my-go-bg {
    background-image: url('../images/app/scroll_top.png');
}
.my-go-prev .my-go-bg {
    background-image: url('../images/app/scroll_back.png');
}

.my-go-prev, .my-go-bg, .my-go-prev > span {
    height: 60px;
    width: 60px;
}
.my-go-bg, .my-go-prev > span, .my-go-up > span {
    position: absolute;
    top: 0;
    left: 0;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}
.my-go-prev > span, .my-go-up > span {
    display: block;
    text-align: center;
    z-index: 1049;
}
.my-go-prev > span > .glyphicon,
.my-go-up > span > .glyphicon {
    position: relative;
    top: 11px;
    font-size: 18px;
    color: #fff;
}
.my-go-up > span > .glyphicon {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);  
    margin-left: 11px;
}

/* === RGPD & COOKIES === */
#footer .credits .credits-org span {
    display: block;
    margin-left: 20px;
}
#footer .credits .credits-org span:not(:first-of-type) * {
    text-transform: none!important;
}


@media screen and (max-width: 991px) {   
    #wrapper {
        top: 70px;
    }
    .myheader{      
        height: 70px;       
    }
    #footer{
        height: 255px;
        /*        height: 460px;*/
    }
    .left-content, .right-content{
        text-align: center;
    }
    .footer-content, .footer-menu-container{
        width: auto;
        height: auto;
    }
    .footer-menu-container div{
        padding-bottom: 10px;
        /*        padding-right: 40px;*/
    }
    .rapid-links{
        padding-right: 40px;
    }

    .menu-areas-container .submenu li{   
        text-align: center;    
    }

    /*    .footer-links div{
            padding-bottom: 10px;
        }
        .footer-links .menu-areas-container .submenu li{   
            text-align: center;    
        }
        .organization {
            padding: 0;
            height: auto;
        }
        .organization img{
            margin: 0 auto;
            padding: 30px;
        }*/


    .credits{
        height: auto;
        width: 100%;
    }

    .credits .credits-org {    
        float: none;
        text-align: center;
        padding-bottom: 20px;
        padding: 0;
        margin: 15px 0;
        width: 100%;
    }
    .credits .incon-icon,
    .credits .company-icon{    
        float: none;
        text-align: center;
    }
    .credits .incon-icon {
        margin-top: 20px;
        margin-right: 0px;
    }
    .my-go-up {
        bottom: 70px;
    }
    
    .credits .credits-org span {
        width: 100%;
        text-align: center;
        margin: 5px auto;
    }
    .credits .credits-org span * {
        width: 100%;
        text-align: center;
    }
    .credits .credits-org span:last-of-type {
        margin-bottom: 45px;
    }
    #footer .credits .credits-org span {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {

}

@media screen and (max-width: 480px) {

}

@media screen and (max-width: 385px) {

}



/* === DESTAK === */

#destak-container, .destak-bg, .destak-content {
    background-color: transparent;
    width: 100%;
    min-width: 300px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}
#destak-container {
    position: fixed;
    top: -100%;
    z-index: 100000;
    overflow: hidden;
}

#destak-container {
    -webkit-transition: top 1s ease;
    -moz-transition: top 1s ease;
    -o-transition: top 1s ease;
    transition: top 1s ease;
    background: rgba(240,240,240,0.8);
}

#destak-container .close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
        z-index: 100001;
    height: 30px;
    width: 30px;
    cursor: pointer;
    opacity: 1;
}

#destak-container .close .fa-times {
    font-size: 35px;
    color: #0062A9;
}

.destak-bg {
    z-index: 10001;
}
.destak-content {
    background: transparent;
    z-index: 10002;
}
.destak-content > section.destak-main-content {
    background: transparent;
    width: 100%;
    /*max-width: 300px;*/
    height: 100%;
    /*max-height: 300px;*/
    display: block;
    position: relative;
    top: 0;
    left: 0;
    /*transform: translate3d(-50%, -50%, 0);*/
    margin: 0;
    padding: 0;
}
.destak-main-content > header, 
.destak-main-content > footer {
    display: none;
}
section.destak-main-content > article {
    width: 100%;
    height: 100%;
    padding: 20px;
}
section.destak-main-content > article .image {
    /*background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;*/
    width: 100%;
    height: 100%;
    position: relative;
    top: 30px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
}

.dskt section.destak-main-content > article .image  {
/*    width: 700px;
    height: 1000px;*/
    max-width: 1000px;
    max-height: 700px;
    cursor: pointer;
}
.tblt section.destak-main-content > article .image {
/*    width: 1024px;
    height: 768px;*/
    max-width: 768px;
    max-height: 1024px;
}
.phn section.destak-main-content > article .image  {
/*    width: 1024px;
    height: 577px;*/
    max-width: 577px;
    max-height: 1024px;
}

@media screen and (min-width: 1024px) {
    section.destak-main-content > article .image {
        /*background-image: url('../images/app/mosbuild.jpg');*/
        /*max-height: 800px;
        max-width: 800px;*/
    }
}

/* dskt */
@media screen and (min-width: 1024px) and (max-height: 700px) {
    section.destak-main-content > article .image {
        height: calc(100vh - 30px);
        min-height: 300px;
        width: auto;
        top: 0;
    }
}

/*
@media screen and (max-width: 992px) {
    section.destak-main-content > article .image {
        background-image: url('../images/app/mosbuild_small.jpg');
        max-height: 824px;
        max-width: 568px;
    }
}*/

@media screen /*and (min-width: 768px)*/ and (max-width: 1024px) and (max-height: 1024px) {
    section.destak-main-content > article .image {
        height: calc(100vh - 30px);
        min-height: 300px;
        width: auto;
        top: 0;
    }
}

/*@media screen and (max-width: 768px) {
    section.destak-main-content > article .image {
        background-image: url('../images/app/mosbuild_smalest.jpg');
        max-height: 518px;
        max-width: 270px;
    }
}*/

@media screen and (max-width: 495px) {
    section.destak-main-content > article .image {
        width: 100%;
        height: auto;
    }
}

/*@media screen and (max-height: 495px) {
    section.destak-main-content > article {
        padding: 7px;
    }
}*/



