/*NavBar*/

.main-nav {
    list-style-type: none;
    display: none;
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}

.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    font-size: 24px;
}

.active {
    display: block;
}

@media screen and (max-width: 800px) {
    .navbar-toggle {
        display: block;
    }
}

@media screen and (min-width: 800px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
    }
    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }
    .main-nav li {
        margin: 0;
    }
    .nav-links {
        margin-left: 40px;
    }
    .logo {
        margin-top: 0;
    }
    .navbar-toggle {
        display: none;
    }
    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
}


/*END*/

.bg {
    /* The image used */
    background-image: linear-gradient(to bottom right, rgba(255, 0, 0, 0), rgba(46, 43, 43, 0.726)), url("../Images/Background.png");
    /* Full height */
    height: 100vh;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-programa {
    /* The image used */
    background-image: linear-gradient(to bottom right, rgba(185, 185, 185, 0.7), rgba(104, 101, 101, 0.7)), url("../Images/UTAD.jpg");
    /* Full height */
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    overflow-x: hidden;
}

footer {
    margin-bottom: -100px;
    color: white;
    width: 100%;
}

.inicial-img {
    max-width: 300px;
    max-height: 300px;
    width: 350px;
    height: 350px;
}

@media only screen and (max-width: 900px) {
    .inicial-img {
        max-width: 250px;
        max-height: 250px;
        width: 250px;
        height: 250px;
    }
}

.select {
    background-color: transparent;
    color: white;
}

.select:hover {
    background-color: white;
    color: black;
}

.boxO {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.boxO:hover {
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-color: rgb(104, 164, 250);
}

.programa {
    background-color: rgb(104, 164, 250);
    border: rgba(46, 43, 43, 0.726);
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
}

@media only screen and (max-device-width:480px) {
    /* show the popup */
    div#popup {
        display: flex;
    }
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }
    .popup {
        width: 70%;
    }
}

.form {
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 10px 4px;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.box {
    background: transparent;
    color: white;
}

.box:hover {
    background: transparent;
}

.icon-bar {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.icon-bar a {
    display: block;
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.icon-bar a:hover {
    background-color: #000;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.front,
.back {
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: absolute;
    transition: transform .6s linear;
}

.front img {
    height: 100%;
}

.front {
    transform: perspective(600px) rotateY(0deg);
}

.back {
    background: #f1f1f1;
    transform: perspective(600px) rotateY(180deg);
}

.back-content {
    color: #2c3e50;
    text-align: center;
    width: 100%;
}

.sm {
    margin: 20px 0;
}

.sm a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    color: #2c3e50;
    font-size: 18px;
    transition: 0.4s;
    border-radius: 50%
}

.sm a:hover {
    background: #2c3e50;
    color: white;
}

.card:hover>.front {
    transform: perspective(600px) rotateY(-180deg);
}

.card:hover>.back {
    transform: perspective(600px) rotateY(0deg);
}


/* Oradores*/

.orador-image {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.orador-image:hover+.orador-image {
    box-shadow: 0 16px 24px 0 rgba(104, 164, 250, 0.2), 0 6px 20px 0 rgba(104, 164, 250, 0.19);
}

.orador-name {
    margin-top: 10px;
}


/* Equipa-> elementos */

.equipa-image {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.equipa-image:hover {
    box-shadow: 0 16px 24px 0 rgba(104, 164, 250, 0.2), 0 6px 20px 0 rgba(104, 164, 250, 0.19);
}

.equipa-name {
    margin-top: -35px;
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    background-color: rgb(104, 164, 250);
    padding: 10px;
    color: #FFFFFF;
}


/* The Modal (background) */

.modal {
    /*display: none; /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/* Packs */

.pack-list {
    height: 200px;
}


/*admin*/

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
}

#sidebar.active {
    margin-left: -250px;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}


/*Programa*/

.programa-box-t {
    width: 3px;
    margin-left: -3px;
}

.programa-box-b {
    margin-bottom: -15px;
}

.pack-kit {
    max-height: 340px;
    height: 340px;
}

.img-oradores {
    height: 200px;
    width: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.img-oradores-pop {
    height: 250px;
    width: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.img-oradores:hover {
    background-image: linear-gradient(to bottom right, rgba(236, 236, 236, 0.897), rgba(255, 255, 255, 0.87));
    background-size: cover;
    background-position: center;
    border: 2px solid rgb(104, 164, 250);
}

.pointer {
    cursor: pointer;
}

.orador-header {
    margin: -20px;
}

.img-aloj {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.img-dest {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.card-dest {
    height: 320px;
}

.card-text-dest {
    height: 250px;
}

.pag-text {
    font-size: 20px;
}

.bg-banner {
    /* The image used */
    background-image: linear-gradient(to bottom right, rgba(236, 236, 236, 0.897), rgba(255, 255, 255, 0.87)), url("../Images/Background.png");
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sec {
    min-height: 350px;
}

.sec-img {
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 250px;
}

.img-merch {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.img-merch-buy {
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Show 4th slide on md if col-md-4*/
    .carousel-inner .active.col-md-4.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    /* Show 3rd slide on sm if col-sm-6*/
    .carousel-inner .active.col-sm-6.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -25%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}

@media (min-width: 576px) {
    .carousel-item {
        margin-right: 0;
    }
    /* show 2 items */
    .carousel-inner .active+.carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .active.carousel-item-left+.carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left+.carousel-item,
    .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* farthest right hidden item must be also positioned for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* right or prev direction */
    .active.carousel-item-right+.carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right+.carousel-item,
    .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}


/* MD */

@media (min-width: 768px) {
    /* show 3rd of 3 item slide */
    .carousel-inner .active+.carousel-item+.carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item+.carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction */
    .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}


/* LG */

@media (min-width: 991px) {
    /* show 4th item */
    .carousel-inner .active+.carousel-item+.carousel-item+.carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)+.carousel-item+.carousel-item+.carousel-item {
        transition: none;
    }
    /* Show 5th slide on lg if col-lg-3 */
    .carousel-inner .active.col-lg-3.carousel-item+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: absolute;
        top: 0;
        right: -25%;
        /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction //t - previous slide direction last item animation fix */
    .carousel-item-prev.carousel-item-right+.carousel-item+.carousel-item+.carousel-item+.carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

.img-workshop {
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: cover;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.726);
}

@media (min-width: 991px) {
    .work-card-5 {
        margin-left: 50px;
    }
}

@media (min-width: 991px) {
    .div-img {
        margin-left: -65px;
        margin-top: -45px;
    }
}

@media (max-width: 991px) {
    .div-img {
        display: none;
        margin-left: 20px;
    }
}

.test {
    min-height: 72vh;
}

.img-merch {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.bg-inscricao {
    /* The image used */
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.644), rgba(46, 43, 43, 0.726)), url("../Images/Lago.jpg");
    /* Full height */
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-title {
    color: rgb(26, 115, 240);
}

.bg-pack-list-blue {
    background-color: rgb(26, 166, 191);
}

.bg-pack-list-pink {
    background-color: rgb(212, 0, 85);
}

.bg-pack-list-orange {
    background-color: rgb(235, 105, 11);
}

.bg-pack-list-grey {
    background-color: rgb(65, 67, 69);
}

.button-work {
    position: absolute;
    bottom: 0;
    margin-left: -40px;
    ;
}

.bg-info-prog {
    background-color: rgba(81, 161, 179, 0.51);
}

.border-membro {
    border: 3px solid rgb(104, 164, 250);
}

.col-orador {
    margin-top: -48px;
    margin-bottom: -48px;
}

.close-btn {
    display: block;
}

.close-btn-mobile {
    display: none;
}

@media only screen and (max-width: 600px) {
    .close-btn {
        display: none;
    }
    .close-btn-mobile {
        display: block;
    }
}

.icon-p {
    display: block;
}

@media screen and (max-width: 600px) {
    .icon-p {
        display: none;
    }
}

.workshop-btn {
    position: inherit;
    right: 0;
    bottom: 0;
}

.aloj-btn {
    position: inherit;
    right: 0;
    bottom: 0;
}

.bg-orador {
    background-image: url('../Images/fundo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-poster {
    background-image: url('../Images/fundo.png');
    background-position: right;
    background-size: contain;
}

.text-orador {
    color: #e4e7ea;
}

@media only screen and (max-width: 600px) {
    .footer {
        text-align: center;
    }
}