body { background: rgb(255, 246, 231); }
* { 
    margin: 0; 
    padding: 0; 
    font-family: 'Roboto Slab', serif; 
}

/* 'width:' + ( 100 / numOfImagesPerRow ) + '%; */
/* padding-bottom:' + ( ( 100 / numOfImagesPerRow ) * ( imageAspectHeight / imageAspectWidth ) ) + '%;
margin-bottom:' + imageMarginBottom + 'px;'); */

.dd-vc { 
    /* vc = vertical center */
    position: relative; 
    top: 50%; transform: 
    translateY(-50%); 
}
.dd-transition { 
    transition: all 0.3s ease; 
}
.dd-shadow { 
    /* https://css3gen.com/wp-content/cache/all/box-shadow//index.html */
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.3); 
}

.dd-shadow-top {
    box-shadow: 0 -5px 5px -5px #333;
}

.dd-shadow-right {
    box-shadow: 5px 0 5px -5px #333;
}

.dd-shadow-bottom {
    box-shadow: 0 5px 5px -5px #333;
}

.dd-shadow-left {
    box-shadow: -5px 0 5px -5px #333;
}

.dd-shadow-all {
    box-shadow: 0 0 5px #333;
}




.dd-slot { 
    /* display: flex;
    align-items: center;
    justify-content: center; */
    float: left; 
    outline: 2px dashed rgba(54, 86, 132, 0.75); 
    outline-offset: -15px; 
    position: relative; 
    /* pointer-events: none;  */
    /* width: 200px; */
    height: 80px;
    margin-bottom: 10px;
    font-size: 12px;
    text-align: center;
    /* display: inline-block; */
    /* width:fit-content; */
}

.dd-slot-num { 
    text-align: center; 
    color: rgba(90, 41, 41, 0.5); 
    font-size: 20px; 
    position: absolute; 
    /* width: 100%;  */
    width:fit-content;
    /* display: inline-block; */
    pointer-events: none;
}
.dd-pocket{
    text-align: center; 
    color: rgba(90, 41, 41, 0.5); 
    font-size: 12px; 
    position: absolute; 
    /* width: 100%;  */
    width:fit-content;
    /* display: inline-block; */
}

.dd-item { 
    position: absolute; 
    left: 0; 
    top: 0; 
    box-sizing: border-box; 
    padding: 10px; 
    cursor: pointer; 

/* background:white; */
}

.pointer-on{
    pointer-events: auto;
}
.pointer-off{
    pointer-events: none;
}

.dd-item.dd-disabled { 
    /* hides content of a slot - showing empty slot*/
    pointer-events: none; 
    opacity: 0; }
.dd-item.dd-selected { 
    z-index: 20;}
.dd-item-inner { 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
    width: 100%; 
    height: 100%; 
    position: relative; 
    pointer-events: none;
/* z-index: 900; */
}
.dd-item-panel { 
    width: 100%; 
    height: 35px; 
    background: #fff; 
    position: absolute; 
    /* left: 10%;  */
    bottom: -15px; 
    z-index: 5; 
}
.dd-item-title { 
    font-size: 20px; 
    color: #365684; 
    text-align: center; 
    line-height: 35px;
    z-index: 4;}

    @media(min-width: 768px) 
    and (orientation: portrait)     {
    
        .q_ipad{
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 50px auto 50px;               
            grid-template-areas: 
            "header"
            "tablica"
            "footerQuiz";
            height: 100vh;
            width:100vw;
            max-width: 768px;
            /* width: 100vw; */
            padding: 0px;
            margin: 0px;
        }
        .header{
            grid-area: header;
        }
        .footer{
            grid-area: footerQuiz;
        }
        .tablica{
            display: flex;
            align-items: center;
            width:100vw;
            height: calc(100vh - 110px);
            background: red;
        }
      
        .wr_sentence{
            grid-area: tablica;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                /* align-self: center; */
                justify-content: flex-start;
                /* align-content: flex-start; */
                align-content: center;
                
                background: white;
                /* position: relative;  */
                height: 100%;
                width: 100%;
                background: yellow;
                padding-left: 50px;
                height: max-content;
                pointer-events: none;
        }
}

@media (min-width: 1024px) 
    {
        .q_ipad{
            display: grid;
            grid-template-columns: 5fr 1fr;
            grid-template-rows: 50px auto 50px;               
            grid-template-areas: 
            "header header"
            "tablica tablica"
            "footerQuiz footerQuiz";
            height: 100vh;
            max-width: 1024px;
            /* width: 100vw; */
            padding: 0px;
            margin: 0px;
        }
        .header{
            grid-area: header;
        }
        .footer{
            grid-area: footerQuiz;
        }
        .tablica{
            display: flex;
            align-items: center;
            width:100vw;
        }
      
        .wr_sentence{
            grid-area: tablica;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                /* align-self: center; */
                justify-content: flex-start;
                /* align-content: flex-start; */
                align-content: center;
                
                background: white;
                /* position: relative;  */
                height: 100%;
                width: 100%;
                background: yellow;
                padding-left: 50px;
                height: max-content;
        }
        
    }