/* portrait */
@media only screen 

and (orientation: portrait) {
    #tab {
        justify-content: center;
    }


    .modal-header{
        display:none;
    }

    .close {
        width:50px;
        height:50px;
        border-radius:5px;
        right:5px;
        top:5px;
    }

    .modal-content {
    
        transform: rotate(-90deg);
        transform-origin: left top;
        width: 95vh;
        height: 95vw;
        overflow-x: hidden;
        position: absolute;
        top: 97.5%;
        left: 10px;
        overflow:initial;


    }
    .modal-header-responsive {
        transform: scale(0.9);
        zoom:0.9;
        top:-20px;
        background-color: #057d3e;
        color: #fff;
        border-left: 3px solid #e9dd32;
        height: auto;
        position: absolute;
        width: calc(90% - 5vw);
        display: flex !important;
        right: 50px;
        flex-direction: column;
        justify-content: flex-start;
        -webkit-animation-name: fadeIn;
        -webkit-animation-duration: 0.4s;
        animation-name: fadeIn;
        animation-duration: 0.4s;
       }


}

/* Desktops and laptops ----------- */
@media only screen  and (max-width : 1260px) {
    #tab {
        justify-content: center;
    }


    .modal-header{
        display:none;
    }

    .close {
        width:50px;
        height:50px;
        border-radius:5px;
        right:5px;
        top:5px;
    }
    .moremenu {
        display: block;
        background-color: #4CAF50;
        border: none;
        color: white;
        text-align: center;
        right: 5px;
        top: 60px;
        border-radius: 5px;
        font-size: 14px;
        overflow: hidden;
        position: absolute;
        height: 50px;
        width: 50px;
        font-weight: 600;
    }
    
    .moremenu:hover, .moremenu:focus {
        cursor: pointer;
        background-color: #e9dd32;
        color:black;
        transition: linear 1s;
    }

    #reponsivebtn {
        display: flex;
        width: 60px;
        height: 116px;
        background: rgba(53, 67, 78, 0.15);
        position: absolute;
        border-radius: 3px;
        top: 5px;
        right: 5px;
    }
    
}

/*Small phones */
@media only screen  and (max-height : 450px) {
   .modal-header-responsive {
    transform: scale(0.9);
    zoom:0.9;
    top:-20px;
    background-color: #057d3e;
    color: #fff;
    border-left: 3px solid #e9dd32;
    height: auto;
    position: absolute;
    width: calc(90% - 5vw);
    display: flex !important;
    right: 50px;
    flex-direction: column;
    justify-content: flex-start;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
   }
   .dropdown-content {
    display: none;
 position:relative;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
}

/*Small phones */
@media only screen  and (max-height : 320px), (max-width : 320px) {
    .modal-header-responsive {
     transform: scale(0.8);
     zoom:0.8;
     top:-40px;
     background-color: #057d3e;
     color: #fff;
     border-left: 3px solid #e9dd32;
     height: auto;
     position: absolute;
     width: calc(90% - 5vw);
     display: flex !important;
     right: 50px;
     flex-direction: column;
     justify-content: flex-start;
     -webkit-animation-name: fadeIn;
     -webkit-animation-duration: 0.4s;
     animation-name: fadeIn;
     animation-duration: 0.4s;
    }
  
    .dropdown-content {
        display: none;
      position:relative;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
      }
 }