﻿.container, .header-container {
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
}

@media(min-width: 768px) {

    #cellex-3d {
        height: 550px;
    }

    .small-toggle {
        width: 50%;
    }

    .explainer-slider .slide {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

}
@media(min-width: 992px){
    #cellex-3d{
        height: 650px;
    }
}

@media(max-width: 550px){
    .document-category-list .col-auto{
		width: 100%;
	}
	.document-category-list .col-auto .btn-category{
		width: 100%;
		margin-top: 12px;
        background-size: 36px;
	}

    .small-hero {
        height: auto;
    }

    .carousel-content {
        min-height: 300px;
    }
    .location-btns {
        flex-wrap: wrap;
    }
    .location-btns div{
        margin-bottom: .5rem;
        min-width: 100%;
    }
    .location-btns div a{
        width: 100%
    }
    .location-accept-btn {
        margin-bottom: 1.5rem !important;
        margin-top: 0px !important;
    }
    .popup-inner {
        margin: 0 !important;
        width: calc(100vw - 30px);
    }
    #popup-3148 {
        align-items: flex-start;
        padding-top: 10%;
    }
    .textBlockCont a.external{
        word-wrap:break-word;
    }

    .overwrite-nav {
        display: flex;
        flex-direction: column;
    }
    .overwrite-nav > p{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .us .overwrite-nav > p{
        display: block;
        flex-direction: column;
        align-items: center;
    }
    .patients header#standard-header .header-top{
        justify-content: center;
    }
    .overwrite-nav p, .overwrite-nav a {
	    font-size: 12px;
        line-height: 22px;
    }

    #safetyNoticeTop h5 {
        font-size: 14px;
    }
    .institute-blocks .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .institute-block{
        height: 200px;
        overflow: hidden;
    }
}

@media(max-width: 1300px){
    .container, .header-top .header-container {
        padding-right: 10px;
        padding-left: 10px;
    }
    .header-container {
        padding-left: 10px;
    }
    .registerCallout-cont {
        padding-left: 1rem;
    }
}

@media(max-width: 767px) {

    .accordion-body .accordion-dyn-cont {
        flex-direction: column-reverse !important;
    }
    .accordion-body .accordion-dyn-cont .accordion-dyn{
        max-width: 100% !important;
        margin-bottom: 1rem;
    }

    .tni-block-image.order-last {
        order: -1 !important;
    }
    .tni-block-cont.order-first {
        order: 6 !important;
    }

    .brilliant-speaker-login-bx {
        min-width: 300px;
        margin-bottom: 1rem;
    }
    .brilliant-speaker-login-cont {
        flex-direction: column;
        align-items: center;
    }
    #contactusform .label-text {
        text-align: left;
    }

    .related-content.background-purple-white {
        background: var(--purple);
    }
    .related-content.background-purple-white h4{
        color: #fff;
    }
    .related-content .related-item {
        margin-bottom: 25px; 
    }

    .related-content .related-item:first-of-type h4, .related-content .related-item .cta-simple {
        color: #fff;
    }
    .related-content .related-item .cta-simple:after {
        background-image: url("../../assets/img/simple-arrow-right-white.svg");
    }

    header#standard-header {
        max-width: 100%;
    }

    .search-page{
        overflow: hidden;
    }
    .safety-notice{
        max-height: 50vh;
    }
    .safety-notice.expand {
        max-height: 86vh;
    }
    #safetyNotice {
        overflow-y: scroll;
        overflow-x: hidden;
    }

    #safetyNoticeTop {
        position: sticky;
        top: 0;
        z-index: 9;
    }

    #safetyNoticeMiddle {
        max-height: unset;
    }

        #safetyNoticeMiddle p, #safetyNoticeMiddle li, #safetyNoticeFull p, #safetyNoticeFull li {
            font-size: 10px;
            line-height: 13px;
        }

    #safetyNoticeMiddle li{
        display: none;
    }
    #safetyNoticeMiddle li:first-of-type{
        display: list-item;
    }
    .expand #safetyNoticeMiddle li {
        display: list-item;
    }

    #safetyNotice p {
        padding-bottom: .5rem;
    }

    #safetyNoticeFull {
        overflow-y: visible;
    }

    .patients #standard-header .search {
        display: none;
    }
    .header-disclaimer p {
        padding: 0 4%;
        font-size: 11px;
        line-height: 14px;
    }

    .simple-car {
        flex-direction: column;
    }

    .simple-car-img {
        width: 100%;
    }
    .simple-car-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    #carousel-slider .carousel-control-next, #carousel-slider .carousel-control-prev {
        bottom: 50%;
    }


    .carousel-item .row {
        flex-direction: column-reverse;
    }

    .carousel-content {
        margin: 10% 0;
    }

    .carousel-indicators {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: .5rem;
        right: 0;
        left: 0;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-next, .carousel-control-prev {
        top: unset;
        bottom: 20%;
    }

    .carousel-right-image {
        max-height: 300px;
    }

    .hero-content-container {
        width: 100%;
        max-width: 1300px;
        margin: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .small-hero-content-container {
        position: unset;
        width: 100%;
        max-width: 1300px;
        margin: auto;
        transform: translate(0, 0);
        padding-top: 8%;
        padding-bottom: 8%;
    }
    .gradient-img-container{
        display: none;
    }

    .video-fancy h2 {
        max-width: 100%;
    }

    .text-circle-horz .circle-image{
        max-width: 120px;
        max-height: 120px
    }

    .image-overflow {
        position: unset;
        width: 50%;
        margin: auto;
        display: none;
    }

    .simple-cta-btn {
        align-items: flex-end;
        justify-content: flex-start;
    }
    .product-cta-back{
        background-image: unset !important;
    }
    .product-cta{
        padding-top: 0px;
    }
}

/*@media(max-width: 900px) {
    .carousel-item .row {
        flex-direction: column-reverse;
    }

    .carousel-content {
        margin: 10% 0;
    }

    .carousel-indicators {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: .5rem;
        right: 0;
        left: 0;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-next, .carousel-control-prev {
        top: unset;
        bottom: 20%;
    }

    .carousel-right-image {
        max-height: 300px;
    }

    .hero-content-container {
        width: 100%;
        max-width: 1300px;
        margin: auto;
    }

    .hero-content {
        max-width: 100%;
    }
}*/

@media(max-width: 989px){
    .congresses-img img {
        max-height: 400px;
        width: auto;
    }

}

@media(max-width: 410px) {
    .upcoming-congresses .swiper-button-prev, .upcoming-congresses .swiper-button-next {
        top: calc(100%);
    }
    .upcoming-congresses .swiper-button-prev{
        left: calc(48% - 40px);
        right: unset;
    }
    .upcoming-congresses .swiper-button-next {
        right: calc(48% - 40px);
        left: unset;
    }
}

@media(max-width: 1200px){
    .registerCallout-cont{
        width: 100% !important;
    }
}