/*COPYRIGHT © 2025 AUTHOR-E BV. ALL RIGHTS RESERVED */
/*COPYRIGHT © 2023 AUTHOR-E BV. ALL RIGHTS RESERVED */

/* for mobile phones */
@media screen and (max-width:500px)
{
    table
    {
        width: 100% !important;
    }
    #Header
    {
        display: block;
        padding: 3px 0px;
    }

    #HeaderLogoMain
    {
        background-image: url(../Images/mainlogo.svg);
        background-repeat: no-repeat;
        background-size: contain;
        height: 60px;
        width: 100%;
        background-position: left center;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
    }

    #HeaderLogoSub {
        /* background-image: url(../Images/crab.svg);
        background-repeat: no-repeat;
        background-size: contain; */
        height: 60px;
        width: 15%;
        /* background-position: top right; */
        /* margin-top: 10px; */
        /* margin-bottom: 10px; */
        position: absolute;
        right: 10px;
        top: 0px;
        -webkit-mask-image: url(../Images/crab.svg);
        background-color: white;
        -webkit-mask-position: top right;
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
    }

    #navLanguage {
        /* margin-top: 15px; */
        
        background-image: url(../Images/ENG.png);
        background-repeat: no-repeat;
        background-position: center center;
        /* float: Right; */
        width: 35px;
        height: 27px;
        background-size: contain;
        cursor: pointer;
        
    }

    .socialMediaContainer
    {
        position: absolute;
        top: 84px;
        right: 5px;
        margin-right: 0px;
    }

    .dropdown {
        display: inline-block;
        padding: 5px 0px;
    }

    #Content {
        height: calc(90vh - 99px);
        overflow-y: auto !important;
    }

    .Left50-50Ratio 
    {
        width: calc(100% - 20px);
        min-height: 1%;
    }
    .Right50-50Ratio {
        width: calc(100% - 30px);
        min-height: 1%;
    }
    .Right50-50Ratio > .SectionContent {
        width: fit-content;
    }

    /* FOR THE HORIZONTAL NEWS  */
    .threeColumnNews {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 15px;
        padding: 0;
    }

    .verticalNewsContainer {
        width: 90%;
        margin: 10px 15px;
        max-width: none;
    }

    /* for the carousel text */

    #carouselText {
        color: white;
        line-height: 1em;
        font-size: 2.8em;
        padding: 0 1em;
        text-shadow: #000000 1px 0 50px;
    }

    #carouselButton {
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 1px;
   
    }

  
}

/*for tablets*/
@media screen and (max-width:799px){

    td.detailCardsContainer {
        padding-right: 0px !important;
    }
   

    #navContainer {
        background-color: #EDF9FB;
        height: 30px;
    }
    #Navigation2 > .InnerTabset {
        /* display: flex; */
        /* flex-direction: column; */
        /* position: relative; */
        background-color: #EDF9FB;
        display: flex;
        flex-direction: column;
        /* margin-left: auto; */
        position: absolute;
        margin-top:29px;
        padding: 0px 20px 20px 10px;
        z-index: 100;
    }
    #hamburgerMenu
    {
        width: 30px;
        height: 30px;
        z-index: 1100;
        background-image: url(../Images/menu.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        cursor: pointer;
        margin-left: 20px;
       
    }

    .dropdownArrow {
        width: 20px;
        height: 6.5px;
        background-image: url(../Images/PointerDown.png);
        background-repeat: no-repeat;
        background-size: contain;
        display: inline-block;
    }

    /* .dropdownArrowLevel2
    {
        width: 20px;
        height: 6.5px;
        background-color: red;
    } */

    .dropdownMenu {
        display: none;
        flex-direction: column;
        min-width: 160px;
        z-index: 1;
        position: static;
        box-shadow: none;
    }

    #Navigation2 {
        display: none;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .dropdown {
        display: inline-block;
        padding: 5px 0px;
    }
    
    .Left50-50Ratio 
    {
        width: calc(100% - 20px);
        min-height: 1%;
    }
    .Right50-50Ratio 
    {
        width: calc(100% - 30px);
        min-height: 1%;
    }
    /* .Right50-50Ratio > .SectionContent {
        width: fit-content;
    } */

    .backgroundLightGreen 
    {
        margin: 0;
        margin-right: 30px;
        margin-left: 30px;
        width: calc(100% - 60px);
    }

    .ThreeColumnLayout> .SectionContent
    {
        display: block;
        width: 100% !important;
    }
    .LeftThreeColumn > .SectionContent
    {
        margin: auto !important;
    }
    .MiddleThreeColumn> .SectionContent
    {
        margin: auto !important;
    }
    .RightThreeColumn> .SectionContent
    {
        margin: auto !important;
    }
    .LeftThreeColumn {
        margin-left: 0px;
    }


        
  
}

/*for laptops*/
@media screen and (min-width:800px) and (max-width:1024px){
    #Navigation2 {
        display: block !important;
    }
    .dropdown:hover .dropdownMenu {display: flex;}
	.dropdownArrow {
        width: 20px;
        height: 6.5px;
        background-image: url(../Images/PointerDown.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        display: inline-block;
        margin-left: -15px;
    }


    /* .dropdownArrowLevel2
    {
        width: 20px;
        height: 6.5px;
        background-color: red;
    } */

    .socialMediaContainer
    {
        margin-right: 10px;
    }
   
}

/*for desktop*/
@media screen and (min-width:1025px){
    #Navigation2 {
        display: block !important;
    }
    .dropdown:hover .dropdownMenu {display: flex;}
	.dropdownArrow {
        width: 20px;
        height: 6.5px;
        background-image: url(../Images/PointerDown.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        display: inline-block;
        margin-left: -15px;
    }

    /* .dropdownArrowLevel2
    {
        width: 20px;
        height: 6.5px;
        background-color: red;
    } */
    
}


@media screen and (min-width:800px) and (max-width:1062px)
{
    /* .SectionContent {
        padding: 0px 30px;
        width: fit-content;
    } */
}

/* for tablet only */
@media screen and (min-width:499px) and (max-width:799px)
{
    #Content {
        height: calc(90vh - 90px);
        overflow-y: auto !important;
    }

    #navLanguage {
        margin-top: 0px;
    }

    #Header
    {
        display: block;
        padding: 3px 0px;
    }

    #HeaderLogoMain
    {
        background-image: url(../Images/mainlogo.svg);
        background-repeat: no-repeat;
        background-size: contain;
        height: 100px;
        width: 100%;
        background-position: left center;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
    }

    #HeaderLogoSub {
        /* background-image: url(../Images/crab.svg);
        background-repeat: no-repeat;
        background-size: contain; */
        height: 100px;
        width: 15%;
        /* background-position: top right; */
        /* margin-top: 10px; */
        /* margin-bottom: 10px; */
        position: absolute;
        right: 10px;
        top: 0px;

        -webkit-mask-image: url(../Images/crab.svg);
        background-color: white;
        -webkit-mask-position: top right;
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
    }

    #navLanguage {
        /* margin-top: 15px; */
        /* margin-right: 12px; */
        background-image: url(../Images/ENG.png);
        background-repeat: no-repeat;
        background-position: center center;
        /* float: Right; */
        width: 35px;
        height: 27px;
        background-size: contain;
        cursor: pointer;
        /* position: absolute;
        top: 120px;
        right: 5px; */
    }

    .socialMediaContainer
    {
        position: absolute;
        top: 125px;
        right: 20px;
        margin-right: 0;
    }

    /* #SearchContainer {
        margin-right: 30px !important;
    } */

     /* FOR THE HORIZONTAL NEWS  */
     .threeColumnNews {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 15px;
        padding: 0;
    }

    .verticalNewsContainer {
        width: 55%;
        margin: 10px 15px;
        max-width: none;
    }
}


@media screen and (min-width:800px) and (max-width:1158px)
{
    /* FOR THE HORIZONTAL NEWS  */
    

    .verticalNewsContainer {
        width: 50%;
        margin: 10px 15px;
    }
}



@media screen and (max-width:451px) {
    .cardListItemsContainer {
        flex: 0 1 99% !important;
        margin: 1% 0px;
    }
    .cardListItems {
        height: 100px;
    }
}

@media screen and (max-width:799px)
{
    .CardListMenu > .SectionContent
    {
        width: 90%;
    }

    .addMarginLeftRight > .SectionContent {
        width: 90%;
    }
    .cardListItemsContainer {
        flex: 0 1 49%;
        margin: 1% 0px;
    }

    .backgroundLightGreen {
        width: 90%;
        margin: auto!important;
    }
    .fullImage >.SectionContent
    {
        margin: 0!important;
        width: 90%;
        margin: auto !important;
    }

    .fullImage img {
        width: 100%!important;
        margin: auto!important;

    }
    
}

@media screen and (min-width:800px) and (max-width:1233px)
{
    .CardListMenu > .SectionContent
    {
        width: 75%;
    }
    .addMarginLeftRight > .SectionContent {
        width: 75%;
    }
    .fullImage >.SectionContent
    {
        margin: 0!important;
        width: 80%;
        margin: auto !important;
    }

    .fullImage img {
        width: calc(100% - 6%) !important;
        margin: auto 3.2%;
    }
    .cardListItemsContainer {
        flex: 0 1 49%;
    }

    .backgroundLightGreen {
        width: 75%;
    }
    .titleCenter {
        width: calc(100% - 6%) !important;
    }
    .newsContainer {
        width: calc(100% - 8.5%);
    }
    .threeColumnNews {
        width: calc(100% - 3%);
    }
}

@media screen and (min-width:800px) and (max-width:1000px)
{
    .threeColumnNews {
        /* flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 15px;
        padding: 0; */
    }

    .verticalNewsCardsDate {
        padding: 0 10px 20px 0px !important;
        height: 75px;
    }
    .cropCardsSpeakers
    {
        min-height: 70px;
        max-height: 70px;
    }
    
}

@media screen and (min-width:800px) and (max-width:1100px)
{
    #HeaderLogoMain {
        background-image: url(../Images/mainlogo.svg);
        background-repeat: no-repeat;
        background-size: contain;
        height: 110px;
        width: 57%;
        background-position: left center;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 15px;
    }
}

@media screen and (max-width:843px)
{
    .newsContainer > .newsCards > tbody > tr
    {
        display: flex;
        flex-direction: column;
        width: 200%;
    }
    .newsContainer > .newsCards > tbody > tr > .imageCardsContainer
    {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }
    .newsContainer > .newsCards > tbody > tr > .detailCardsContainer
    {
        width: 100% !important;
    }

    .imageCardsContainer img {
        object-fit: contain;
        width: 95% !important;
        height: fit-content !important;
        /* max-height: 300px !important; */
        min-width: 10%!important;
        /* max-width: 300px!important; */
    }
}