﻿/* TODO: Is this needed? */
.test:after {
    content: '\2807';
    font-size: 25px;
}

#talkjs-container {
    height: 310px !important;
}

.fa-search {
    font-size: 14px;
}

.delegates-list-item {
    vertical-align: top;
}

html, body {
    overflow-x: hidden;
}

body {
    padding-top: 0 !important;
}

.container-light a {
    color: #2E2E38 !important;
}

.header {
    position: sticky;
    top: 0;
    height: auto;
}

.nav-icons li a:focus {
    outline: none;
}

.nav-icons li ul {
    padding: 0 0 0 1em;
    margin: 0px;
    position: relative;
    z-index: 100000;
    width: 100%;
    left: 0;
    top: 10px;
    padding-left: 0;
}

.header .navbar-responsive {
    top: 70px;
    overflow: scroll;
    overflow-x: hidden;
}

@media (max-width: 1184px) {
    .header {
        min-height: 70px;
    }
}

@media (max-width: 555px) {
    #nav-buttons-row {
        display: block !important;
    }

    .header {
        max-height: 122px;
    }
}

@media only screen and (max-width: 489px) {
    .dropDown {
        margin-top: 0 !important;
    }

    #dropdown-logout {
        padding-left: 6em;
    }
}

@media only screen and (max-width: 445px) {
    #dropdown-logout {
        margin-top: 10px !important;
    }

    .header {
        max-height: 175px;
    }
}

/* TODO: move/merge these into carousel styles */
.body-home #carousel-home {
    margin-bottom: 0 !important;
}

/*#carousel-home .slide {
    background-position: center top;
    background-size: contain !important;
}*/

/*.carousel {
    height: 50%;
    height: calc(100vw * 500 / 1920);*/ /* Width: 1920px, Height: 500px, ratio is ~.26*/
    /*min-height: auto !important;
    max-height: unset !important;
}*/

.body-delegates .delegates-chat-icon {
    background-image: url(/Images/hub/icon-chat-yellow-black.png) !important;
    background-color: transparent !important;
}

.btn-cn-send {
    padding: 5px 30px !important;
}

.fr-img img {
    height: 750px;
    object-fit: cover;
    object-position: 50% 20%;
}

#ctl00_PageContent_Reg1_Details_udcUploadProfilePic_pnlYourPicture {
    display: none;
}

.tab-type-people .col-4-second img {
    min-height: 435px;
    object-fit: cover;
}

.body-forum .img-circle {
    object-fit: cover;
}

.agenda-item-speaker {
    object-fit: cover;
}

.ey-color-exhibitor {
    background: #FFE600 !important;
    color: #2E2E38 !important;
}

.mrg-0-speakers {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mrg-btn-5-s {
    margin-bottom: 5px;
}

.two-column-height {
    height: 654px;
}
    .two-column-height img {
        height: 100% !important;
        object-fit: cover !important;
    }

.image-object-fit {
    height: 100%;
    object-fit: cover;
}

.ex-first-image {
    height: 196px;
    object-fit: cover;
    /*object-position: 50% 20%;*/
}

.body-home h3 {
    font-weight: bold;
}

/*exhibitors*/
.pnl-exhibitors {
    color: #D63386;
    margin-top: 40px;
}

.ex-subtext {
    color: #2E2E38;
    font-size: 25px;
}

.mission-header {
    color: #D63386;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 20px;
}

.mission-p {
    color: #1B2B3D;
    font-size: 17px;
    font-weight: lighter;
}

.background-contact {
    background-color: #D63386;
    height: 400px;
    width: 832px;
    position: absolute;
}

.pos-ab-ex {
    position: initial;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.body-tab3568 .title {
    display: none;
}

.body-tab3568 #mainBanner {
    border-bottom: 15px solid #D63386 !important;
}

.row-ab-ex {
    margin-top: 60px;
    margin-bottom: 60px;
    height: 400px;
}

.pd-left-0 {
    padding-left: 0;
}

.mb-0-row {
    margin-bottom: 0;
}

.img-contact {
    width: 79px;
    height: 79px;
    float: right;
    margin-top: 40px;
    margin-bottom: 40px;
    /*margin: 5px;*/
    border-radius: 50%;
    object-fit: cover;
}

.overlay-exhibitor-ex {
    background: #D63386;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.1;
}

.padding-left-0 {
    padding-left: 0;
}

.padding-right-30 {
    padding-right: 30px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.padding-right-0 {
    padding-right: 0;
}

.position-rel {
    position: relative;
}

.img-comment {
    float: right;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0 !important;
}

.img-comment-row {
    height: 73px;
    margin-bottom: 0;
}

.get-in-touch {
    color: white;
    font-size: 28px;
    font-weight: bold;
    float: right;
}

.details-contact {
    font-weight: lighter;
    font-style: italic;
    float: right;
    margin-bottom: 5px;
    margin-right: 5px;
    opacity: 0.7;
    color: white;
}

.width-row-img {
    width: 33%;
}

/*fontawesome hide old images*/
.delegate-word-break {
    word-break: break-all;
}

.agenda-item-hide-image {
    background-image: none !important;
}

.btn-toggle-forum-vote {
    background-image: none !important;
}

.comment-image {
    background-image: none !important;
    height: auto !important;
}

.submitButton {
    background-image: none !important;
}

.send-message-icon {
    background-image: none !important;
}

.btn-modal-footer-prev::before, .btn-modal-footer-next::after {
    background-image: none;
}

.btn-modal-footer-prev {
    padding-left: 0;
}

.btn-modal-footer-next {
    padding-right: 0;
}

.btn {
    line-height: 1.5;
}

.body-print-venues > .callout-offer-items, .body-print-venues > .callout-offer {
    display: none !important;
}

.body-print-venues > #headerMain, .body-print-venues > .footer-base {
    position: relative;
}

@media only screen and (max-width: 476px) {
    .delegates-list-item {
        width: 100% !important;
    }

        .delegates-list-item > .image > img {
            height: 100% !important;
        }
}

@media print {
    body, html, #wrapper {
        width: 100%;
    }
}


/* Bootstrap v5 upgrades - might need to merge or add e.g. .fade.in becomes .fade.in, .fade.show
    Or we need to update utilities to add in there instead
    https://getbootstrap.com/docs/4.6/migration/
*/
.fade.show {
    opacity: 1;
}
/* Modal background
// This one can be merged with _modals > .in class*/
.modal-backdrop.show {
    opacity: 0.5; /*$modal-backdrop-opacity*/
}

.collapse.in {
    display: block;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.modal-backdrop.in {
    opacity: 0.5;
}

tr.collapse.in {
    display: table-row;
}

tbody.collapse.in {
    display: table-row-group;
}

.carousel {
    position: relative;
}

.carousel.pointer-event {
    touch-action: pan-y;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion:reduce) {
    .carousel-item {
        transition: none;
    }
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

.active.carousel-item-end,
.carousel-item-next:not(.carousel-item-start) {
    transform: translateX(100%);
}

.active.carousel-item-start,
.carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-100%);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end,
.carousel-fade .carousel-item.active {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-end,
.carousel-fade .active.carousel-item-start {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion:reduce) {
    .carousel-fade .active.carousel-item-end,
    .carousel-fade .active.carousel-item-start {
        transition: none;
    }
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion:reduce) {
    .carousel-control-next,
    .carousel-control-prev {
        transition: none;
    }
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion:reduce) {
    .carousel-indicators [data-bs-target] {
        transition: none;
    }
}

.carousel-indicators .active {
    opacity: 1;
}

/*.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}*/

.carousel-dark .carousel-control-next-icon,
.carousel-dark .carousel-control-prev-icon {
    filter: invert(1) grayscale(100)
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #000;
}

/*.carousel-dark .carousel-caption {
    color: #000;
}*/

.d-block {
    display: block !important;
}
.w-100 {
    width: 100% !important;
}

/* Custom sub menus */
.dropdown-menu-parent {
    position: relative;
}
.dropdown-menu-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 7em;
    padding: 0;
    background-color: #2E2E38;
    background-clip: padding-box;
}
.open .dropdown-menu-submenu {
    display: block;
}

.dropdown-menu-submenu li {
    display: block;
}
.dropdown-menu-submenu li .nav-link {
    border-left: 1px solid transparent;
    border-bottom: 1px solid #FFFFFF54;
    text-align: left;
}
.dropdown-menu-submenu li:last-child .nav-link {
    border-bottom-color: transparent;
}
.dropdown-menu-submenu li .nav-link-selected,
.dropdown-menu-submenu .nav-link:hover {
    border-left: 1px solid #ffe600;
}

.user-logout,
.user-logout:hover {
    width: auto;
}

@media (max-width: 450px) {
    .body-registration #icons .right {
        float: none !important;
        margin-bottom: 10px;
    }
    .body-registration #icons .divider {
        display: none;
    }
}