/* ==========================================================
   NIELIT INDICO - MOBILE EVENT PAGE RESPONSIVE FIX
   ========================================================== */

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

    /* ------------------------------------------------------
       GLOBAL
       ------------------------------------------------------ */

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       MAIN INDICO EVENT CONTAINER
       ------------------------------------------------------ */

    .conf {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .confheader {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .confTitleBox {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       EVENT HEADER
       ------------------------------------------------------ */

    .confTitleBox h1,
    .confTitleBox .title,
    .confTitleBox .event-title {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }


    /* ------------------------------------------------------
       EVENT PAGE BODY
       ------------------------------------------------------ */

    .confBody {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    /* ------------------------------------------------------
       EVENT CONTENT
       ------------------------------------------------------ */

    .confBody > *,
    .confBody .content,
    .confBody .event-content {
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       LEFT EVENT MENU
       ------------------------------------------------------ */

    .confLeftMenu,
    .event-menu,
    .event-sidebar,
    .conference-menu {
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       RIGHT / MAIN CONTENT
       ------------------------------------------------------ */

    .confBodyBox,
    .event-content,
    .conference-content,
    .confContent {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       FLEX / FLOAT ELEMENTS
       ------------------------------------------------------ */

    .confBody .row,
    .confBody .columns,
    .confBody .flex,
    .confBody .grid {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .confBody .row > *,
    .confBody .columns > *,
    .confBody .flex > *,
    .confBody .grid > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }


    /* ------------------------------------------------------
       EVENT INFO BOXES
       ------------------------------------------------------ */

    .event-info,
    .event-details,
    .event-info-box,
    .info-box,
    .i-box {
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       REGISTRATION AREA
       ------------------------------------------------------ */

    .registration-info,
    .registration-box,
    .registration-info-box,
    .registration-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* ------------------------------------------------------
       BUTTONS
       ------------------------------------------------------ */

    .conf button,
    .conf .button,
    .conf input[type="submit"],
    .conf input[type="button"] {
        max-width: 100% !important;
    }


    /* ------------------------------------------------------
       IMAGES
       ------------------------------------------------------ */

    .conf img {
        max-width: 100% !important;
        height: auto !important;
    }


    /* ------------------------------------------------------
       SEARCH
       ------------------------------------------------------ */

    .conf input[type="text"],
    .conf input[type="search"],
    .conf input[type="email"] {
        max-width: 100% !important;
    }


    /* ------------------------------------------------------
       TABLES
       ------------------------------------------------------ */

    .conf table {
        max-width: 100% !important;
    }


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

    #footer,
    .footer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

}


/* ==========================================================
   PHONE - 480PX AND BELOW
   ========================================================== */

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

    /* Force the event body to become vertical */

    .confBody {
        display: block !important;
        width: 100% !important;
    }

    .confBody > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* Stack common layout columns */

    .confBody .row,
    .confBody .columns,
    .confBody .flex {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }


    .confBody .row > *,
    .confBody .columns > *,
    .confBody .flex > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* Event menu */

    .confLeftMenu,
    .event-menu,
    .event-sidebar,
    .conference-menu {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* Main content */

    .confBodyBox,
    .confContent,
    .conference-content,
    .event-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* Prevent long strings from breaking layout */

    .conf a,
    .conf span,
    .conf p,
    .conf div {
        overflow-wrap: anywhere;
        word-break: normal;
    }

 }

/* ==========================================================
   MOBILE FIX - INDICO CONFERENCE DETAILS
   ========================================================== */

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

    /* Main event details container */
    #main-content.conferenceDetails {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Parent containers */
    .conference-page,
    .conference-page .page-content,
    .conference-page .conferenceDetails,
    .col2 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Prevent children from forcing the 910px width */
    #main-content.conferenceDetails > * {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

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

    #main-content.conferenceDetails {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

}
/* ==========================================================
   NIELIT INDICO - MOBILE EVENT PAGE
   Override desktop event layout below 768px
   ========================================================== */

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

    /* ------------------------------------------------------
       Main event wrapper
       ------------------------------------------------------ */

    #confSectionsBox {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 10px !important;

        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }


    /* ------------------------------------------------------
       Remove desktop 2-column grid
       ------------------------------------------------------ */

    .confBodyBox.clearfix,
    .confBodyBox {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        grid-column: auto !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }


    /* ------------------------------------------------------
       Main content
       ------------------------------------------------------ */

    .confBodyBox > .mainContent,
    .mainContent {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }


    /* ------------------------------------------------------
       col2
       ------------------------------------------------------ */

    .mainContent > .col2,
    .col2 {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }


    /* ------------------------------------------------------
       Conference page
       ------------------------------------------------------ */

    .col2 .conference-page,
    .conference-page,
    .conference-page .page-content {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }


    /* ------------------------------------------------------
       THE MAIN BOX FROM YOUR DEVTOOLS
       #main-content.conferenceDetails
       ------------------------------------------------------ */

    #main-content.conferenceDetails,
    .conferenceDetails {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        overflow-x: hidden !important;
        overflow-y: visible !important;
    }


    /* ------------------------------------------------------
       Info cards
       ------------------------------------------------------ */

    .conferenceDetails .infogrid,
    .infogrid {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns: 1fr !important;

        gap: 10px !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       Individual info cards
       ------------------------------------------------------ */

    .conferenceDetails .infoline,
    .infoline {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       Sidebar
       ------------------------------------------------------ */

    .conf_leftMenu {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-column: auto !important;

        margin: 0 0 10px 0 !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       Registration section
       ------------------------------------------------------ */

    #main-content .registration-info,
    #main-content .registration-box,
    #main-content .registration,
    #main-content .regform {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       Prevent children from creating horizontal overflow
       ------------------------------------------------------ */

    #main-content img,
    #main-content iframe,
    #main-content video,
    #main-content table {
        max-width: 100% !important;
    }

}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

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

    #confSectionsBox {
        padding: 8px !important;
    }

    .conf_leftMenu {
        margin-bottom: 8px !important;
    }

    .conferenceDetails .infogrid,
    .infogrid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .conferenceDetails .infoline,
    .infoline {
        width: 100% !important;
        padding: 12px !important;
    }

}
/* ==========================================================
   MOBILE - KEEP ALL EVENT CONTENT INSIDE WHITE CONTAINER
   ========================================================== */

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

    /* Main white event container */
    #confSectionsBox,
    .confBodyBox,
    .mainContent,
    .col2,
    .conference-page,
    .page-content,
    #main-content,
    #main-content.conferenceDetails {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow-x: hidden !important;
    }


    /* ------------------------------------------------------
       DESCRIPTION / EDITOR OUTPUT
       This is the 910px element shown in DevTools
       ------------------------------------------------------ */

    #main-content .description,
    #main-content .description.editor-output,
    #main-content .description.js-mathjax,
    #main-content .js-mathjax.editor-output,
    #main-content .description.js-mathjax.editor-output {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        overflow-x: hidden !important;

        overflow-wrap: anywhere !important;
        word-wrap: break-word !important;
    }


    /* ------------------------------------------------------
       ALL DIRECT CHILDREN OF MAIN CONTENT
       ------------------------------------------------------ */

    #main-content > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       INFO GRID
       ------------------------------------------------------ */

    #main-content .infogrid {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        grid-template-columns: 1fr !important;

        gap: 10px !important;

        box-sizing: border-box !important;
    }


    #main-content .infoline {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       ACTION / REGISTRATION BOX
       ------------------------------------------------------ */

    #main-content .action-box,
    #main-content .action-box.highlight {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow-x: hidden !important;
    }


    /* ------------------------------------------------------
       BUTTONS
       ------------------------------------------------------ */

    #main-content button,
    #main-content .button,
    #main-content input[type="button"],
    #main-content input[type="submit"] {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       LINKS / LONG TEXT
       ------------------------------------------------------ */

    #main-content a,
    #main-content p,
    #main-content span,
    #main-content div {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }


    /* ------------------------------------------------------
       MEDIA
       ------------------------------------------------------ */

    #main-content img,
    #main-content iframe,
    #main-content video,
    #main-content canvas {
        max-width: 100% !important;
        height: auto !important;
    }


    /* ------------------------------------------------------
       TABLES
       ------------------------------------------------------ */

    #main-content table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

}


/* ==========================================================
   VERY SMALL PHONES
   ========================================================== */

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

    #confSectionsBox {
        padding: 8px !important;
    }

    #main-content {
        padding: 0 !important;
    }

    #main-content .infogrid {
        grid-template-columns: 1fr !important;
    }

    #main-content .infoline {
        padding: 10px !important;
    }

}
/* ==========================================================
   MOBILE - REGISTRATION ACTION BOX
   Keep highlighted registration box inside white container
   ========================================================== */

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

    /* Main highlighted registration box */
    #main-content .action-box.highlight,
    #main-content .action-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    /* Section inside action box */
    #main-content .action-box.highlight .section,
    #main-content .action-box .section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    /* Text area */
    #main-content .action-box .text {
        min-width: 0 !important;
        max-width: 100% !important;

        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }


    /* Toolbar on the right */
    #main-content .action-box .toolbar {
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /* Registration button */
    #main-content .action-box button,
    #main-content .action-box .button {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

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

    #main-content .action-box.highlight,
    #main-content .action-box {
        width: 100% !important;
        max-width: 100% !important;

        margin: 8px 0 !important;
        padding: 8px !important;

        box-sizing: border-box !important;
    }

    #main-content .action-box .section {
        display: flex !important;
        flex-wrap: wrap !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #main-content .action-box .text {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #main-content .action-box .toolbar {
        width: 100% !important;
        max-width: 100% !important;

        margin-top: 6px !important;

        display: flex !important;
        flex-wrap: wrap !important;
    }
}
