/*████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████              GENERAL             ████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████*/
    /* Makes the way the boxes are sized more intuitive */
    * {box-sizing:border-box}

    /* Insert Sofia Sans Font */
    @font-face {
        font-family: 'Sofia Sans';
        src: url('../autoindex/swag%20aviation%20-%20files/general//fonts/Sofia_Sans_Condensed/SofiaSansCondensed-VariableFont_wght.ttf') format('truetype');
    }


/*████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████            BODY & MAIN           ████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████*/
    body {
        overflow-y: scroll;

        font-weight: bold;
    
        background-image: url(../autoindex/swag%20aviation%20-%20files/general/background/Lynx-medium.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    
        text-align: center;
        justify-content: center;
    
        font-family:'Sofia Sans', Times New Roman;
    }

    .Main{
        position: absolute;
        top: 0px;
        left: 250px;

        margin: 15px;
        border-radius: 25px;

        height: auto;
        
        /* I do not know why, I do not know how but for some reason without this .main does not span the whole page if the screen width is high enough */
        /* width = 100% - 2 * margin .main */
        width: 100%;
        max-width: calc(100% - 250px - 2 * 20px);
        
        padding: 15px;

        background-color: #D6C5C9a4;
    }

    .MainFlex{
        display: flex;
        flex-direction: row;
    }
  

/*████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████         LEFT SIDE CONTENT        ████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████*/
    .LeftHidden{
        flex: 100%;
        max-width: 100%;
        height: auto;
    }

    .LeftVisible{
    border-radius: 25px;
    margin-left: 1%;
    margin-right: 1%;
    height: auto;
    width: 98%;
    padding: 1.5%;
    background-color: #ebd9dd44;
    }

    .LeftTop{
        height: auto;
        width: 100%;
        max-width: 100%;
        border-style: solid;
        border-radius: 25px;
        padding: 25px;
        margin-bottom: 10px;
        background-color: #E2C4D8c2;
        font-size: 175%;
        text-align: center;
    }






.right{
    flex: 81.5%;
    max-width: 81.5%;
    margin-left: 1%;
    height: 100%; 
    background-color: #ebd9dd44;
    padding: 10px;
    border-radius: 35px;
    }

    .rightcontent,
    .rightcontent_top,
    .rightcontent_issues,
    .lognotice,
    .lognotice_notes,
    .lognotice_parttrainer{
        height: auto;
        width: 100%;
        max-width: 100%;
        border-style: solid;
        border-radius: 25px;
        padding: 25px;
        margin-bottom: 10px;
        background-color: #e2c4c4c2;
        font-size: 90%;
        text-align: left;
    }

    .rightcontent_top{
        font-size: 250%;
        text-align: center;
    }

    .rightcontent_issues{
        background-color: rgba(255, 255, 255, 0.63);
    }

    .lognotice,
    .lognotice_notes,
    .lognotice_parttrainer{
        margin: 10px;
        background-color: rgba(255, 255, 255, 0.63);
        font-size: 65%;
    }

    .lognotice_notes{
        width: 35%;
        max-width: 35%;
        float: right;
        text-align: center;
    }

    img.notes{
        max-width: 100%;
    }

    .modulechecklist{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

        border-style: solid;
        border-radius: 25px;
        padding: 25px;
        margin-bottom: 10px;
        background-color: #e3d5d55d;
    }
    .modulechecklist_span{
        flex: 100%;
        width: 100%;
    }
    .modulechecklist_item{
        flex: 50%;
        width: 50%;
        margin-bottom: 10px;
    }

    .collapsiblelog {
        font-family:'Sofia Sans', Times New Roman; 
        font-size: 100%;
        color: white;
        text-align: center;
        margin: 5px;
        border-radius: 25px;
      
        background-color: #000000;
        cursor: pointer;
        padding: 18px;
        width: 98%;
        border: none;
        text-align: left;
        }
      
        .collapsiblelog:after {
          content: '\2228';
          color: white;
          float: right;
          margin-left: 5px;
        }
      
        .activelog:after {
          content: "\2227";
        }
      
        .contentlog {
          font-family:'Sofia Sans', Times New Roman;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.2s ease-out;
          background-color: #ff003300;
        }
    
        img.fcss{
            border-radius: 25px;
            width: 50%;
        }


        object.database,
        object.addmissingindices,
        object.iframeresize,
        object.transcodeh264txt,
        object.transcodeh264json,
        object.filetreescript_1,
        object.filetreescript_2,
        object.filetreescript_3,
        object.nginxconf,
        object.db_q_identification{
            border-radius: 10px;
            width: 100%;
        }

        object.database{
            height: 750px;
        }
        object.addmissingindices{
            height: 120px;
        }
        object.iframeresize{
            height: 260px;
        }

        object.transcodeh264txt,
        object.transcodeh264json{
            height: 260px;
            width: 49.5%;
        }

        object.filetreescript_1,
        object.filetreescript_2,
        object.filetreescript_3{
            height: 300px;
        }

        object.ninehundredpxpages{
            height: 260px;
            width: 49.5%;
        }

        object.ninehundredpxhome{
            height: 260px;
            width: 49.5%;
        }

        object.nginxconf{
            height: 200px;
        }

        object.db_q_identification{
            height: 750px;
        }

        
        code{
            background-color: #121212;
            color: white;
            border-radius: 10px;
            padding: 3px;
            font-weight: 200;
            font-size: 85%;
}



iframe.bottominfo{
    border-radius: 25px;
    border-style: none;
    margin-top: 1%;
    width: 100%;
    height: auto;   
    padding: 5px; 
    background-color: rgba(255, 255, 255, 0.63);
}



/* > 1080P */
@media (min-width: 2200px){
    .Main{
        font-size: 115%;
    }

    .menu {
        font-size: 115%;
    }
}


/* < 1080P */
@media (max-width: 1200px){
    .left{
        flex: 25%;
        max-width: 25%;
    }
 
    .right{
        flex: 74%;
        max-width: 74%;
    }

    img.fcss{
        width: 75%;
    }
}


@media (max-width: 900px){
    .main{
        margin: 10px;
        width: calc(100% - 2 * 10px);

        padding: 10px;
        
        top: 55px;
    }
}


@media (max-width: 768px){
    .Main{
        font-size: 75%;
    }

    .main{
        margin: 5px;
        width: calc(100% - 2 * 5px);

        padding: 5px;
        
        top: 55px;
        }

        .mainflex{
            display: flex;
            flex-direction: column;
    }
    
    .left{
        display: none;
    }

    .right{
        flex: 100%;
        max-width: 100%;
    }

    .rightcontent_notice{
        display: block;
    }
    
    .lognotice{
        margin: 3px;
    }

    .lognotice_notes{
        display: none;
    }

    img.fcss{
        width: 100%;
    }
}