#practice-box {
    position: absolute;
    left: 50%;
    top: 105px;
    transform: translate(-50%);
    border-radius: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
    padding: 5px;
    overflow-y: auto;
    background-color: #ecebeb;
    max-height: 80vh;
    width: 95%;
}

#practice-area {
    width: 95vw;
    background-color: antiquewhite;
    margin: 0 auto;
    margin-top: 100px;
    border-radius: 20px;
    padding-bottom: 30px;
    margin-top: 40px;
}

#langDirection1,
#langDirection2,
#langDirection3 {
    margin-left: 5px;
}

#the_font_style{
    padding-top:10px;
}


#display {
    display: flex;
    flex-direction: column;
}

#practice-title {
    text-align: center;
    font-size: 25px;
    font-family: artifika;
    height: 50px;
    padding-top: 10px;
    margin-bottom: 10px;
}

#pc-location-section {
    /* background-color: pink; */
    height: 35px;
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-self: center;
    margin: 0 auto;
}

/* #dir-rad1{
    position:relative;
    left:0px;
}
#dir-rad2{
display:flex;
justify-content:flex-end;
}

#location {
    width: 100px;
    display:flex;
    justify-content: center;
} */
#location {
    color: purple;
    text-align: center;
}

#start-loc,
#end-loc {
    /* width:30px; */
    font-weight: bold;
}

#radioLangDirection1 {
    font-size: 13px;
}



#partOfSpeech {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 95%;
    height: 30px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: dodgerblue;
    font-weight: bold;
}

#lang-section {
    display: flex;
    flex-direction: column;
    height: 33vh;
}

#foreign-section,
#english-section,
#comments-section {
    /* background-color: lemonchiffon; */
    /* height: 40%; */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 5px 10px 5px 10px;
}

#foreign-section {
    height: 200px;
}

#english-section {
    height: 200px;
}

#comments-section {
    height: 100px;
}


#foreign-section {
    visibility: visible;
}

#english-section,
#comments-section {
    visibility: hidden;
    text-align: center;
}

#foreign_section a,
#english_section a {
    width: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#english-section a {
    color: darkblue;
    /* font-size: 20px; */
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;

}

#foreign-section a {
    color: darkgreen;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

/* #styleForeign {
    color: orange;
} */

.btn-adjust3 {
    font-size: 28px;
    height: 70px;
    width: 120px;
}

/* #pc-location-section{

} */

/* #foreign_section a:hover{
    text-decoration: none;
} */

/* -------------- [ Modal Styling ] ------------------ */
#practice-modal {
    display: none;
}

#practice-modal-content {
    display: flex;
    flex-direction: column;
    width: 330px;
    /* width: 300px;
    height: 300px; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 500px;
    /* width: 95vw; */
    /* max-width: 700px; */
    overflow-x: auto;
}

#practice-modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: brown;
    color: white;
    border-radius: 15px 15px 0 0;
    height: 50px;
    padding-bottom: 10px;
}

#practice-modal-title {
    font-family: artifika;
    padding: 20px;
    font-size: 20px;
}

#practice-modal-close {
    padding-right: 10px;
}

#practice-modal-close button {
    width: 35px;
    height: 35px;
    border-color: gray;
    background-image: -webkit-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -moz-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -ms-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -o-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: linear-gradient(to bottom, WhiteSmoke, #b4b3b3);
    background-color: dodgerblue;
    border-radius: 10px;
    color: white;
    font-size: 20px;
}

#practice-modal-close button:hover {
    /* background: brown; */
    text-decoration: none;
    color: dodgerblue;
}

.smallerButton {
    font-size: 13px;
}

#practice-modal-close {
    font-size: 30px;
}

#practice-modal-body {
    background-color: white;
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}

#practice-modal-footer {
    background-color: brown;
    color: white;
    border-radius: 0 0 15px 15px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

}

#practice-modal-footer button {
    margin-right: 10px;
}

/* #english_section a{
    font-size: 15px;
}

#comments-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 95%;
    height: 50px;
} */

/* #english-section {
    height: 40%;
    width: 95%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    color: darkblue;
    text-align: left;
    padding: 10px;
}

#english-section a {
    width: 100%;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    color: darkblue;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

#navigation-section {
    /* background-color: lightgreen; */
    height: 100px;
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

#btnPrevious,
#btnNext,
#btnReveal {
    transform: scale(1.3);
}


/* Start of options section */

#option-section {
    /* background-color: lightslategrey; */
    height: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 95%;
    margin: 0 auto;
}

.buttons {
    width: 40px;
    height: 40px;
}

#option-section .buttons {
    /* width: 100%;
    height: 100%; */
    border-color: gray;
    background-image: -webkit-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -moz-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -ms-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -o-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: linear-gradient(to bottom, WhiteSmoke, #b4b3b3);
    background-color: dodgerblue;
    border-radius: 10px;
    color: white;
}

#option-section .buttons:hover {
    /* background: brown; */
    text-decoration: none;
    color: dodgerblue;
}

.fa-long-arrow-alt-left,
.fa-save,
.fa-align-justify,
.fa-minus,
.fa-plus,
.fa-random,
.fa-cog {
    font-size: 18px;
}


#exit-auto-mode {
    display: flex;
    justify-content: center;
    display: none;
}

.btnStyle1 {
    border-radius: 10px;
    font-family: Arial;
    font-size: 16px;
    padding: 6px 10px 6px 10px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

/********************************************* [ CSS for Modals ] ****************************************************/

.practice-modals {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1500;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    overflow-x: auto;
    overflow-y: auto;
}

#myPracticeModal {
    display: none;
}

#practice-modal-footer {
    display: flex;
    justify-content: space-around;
}

#practice-modal-close button {
    width: 35px;
    height: 35px;
    border-color: gray;
    background-image: -webkit-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -moz-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -ms-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -o-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: linear-gradient(to bottom, WhiteSmoke, #b4b3b3);
    background-color: dodgerblue;
    border-radius: 10px;
    color: white;
    font-size: 20px;
}

.modal-button-green {
    border-radius: 8px;
    font-size: 14px;
    padding: 3px 5px 3px 5px;
    margin: 0px 10px;
}

#practice-modal-close button:hover {
    text-decoration: none;
    color: dodgerblue;
}

.modal-word-list {
    display: flex;
    flex-direction: row;
}

.modal-foreign-view-list {
    width: 200px;
    text-align: left;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 25px;

}

.modal-english-view-list {
    direction: ltr;
    width: 200px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: darkblue;
    text-align: left;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wordlist-line_bkg_1 {
    background-color: #f2f1ee;
}

.wordlist-line_bkg_2 {
    background-color: white;
}


/* Start of modal for setup options */

#setupOptions {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(46, 46, 56, 1);
    border-radius: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
    width: 281px;
    /*height: 31rem;*/
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

#setupTitle {
    font-size: 30px;
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

#setupSelections {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    color: white;
    margin-bottom: 40px;
}

#setupNavigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.setup-button-style {
    width: 200px;
    margin: 10px 0 0 13px;
}

#setupSave {
    flex: 1;
    text-align: center;
}

#setupAutoOptions {
    flex: 1;
    text-align: left;
    padding-left: 20px;
    transform: scale(.7, .7);
}

#setupCancel {
    flex: 1;
    text-align: center;
    /* padding-right: 20px; */
    /*transform: scale(.7, .7);*/
}

#btnFilters {
    display: none;
}

#filter-section {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    padding-left: 30px;
}

.filters {
    line-height: 20px;
    padding-bottom: 20px;
}

.filter-box {
    transform: scale(1.5, 1.5);
}

.saved-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.modal-foreign-list {
    width: 140px;
    margin-left: 10px;
    padding-bottom: 4px;
}

.modal-english-list {
    width: 145px;
    color: darkblue;
    font-size: 15px;
}


.clsInflectionWord {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: darkgreen;
}

/*------------------------ [ Modal for Auto Mode ] -----------------------------*/
.input-group-text {
    font-size: 13px;
}

#autoSetupOptions {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(46, 46, 56, 1);
    border-radius: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* color: white; */
    padding-left: 20px;
    padding-right: 20px;
    width: 300px;
}

#option-description {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    line-height: 30px;
}

.auto-option-selection {
    /* width: 300px; */
    margin: 0 auto;
}

#option-title {
    text-align: center;
    color: coral;
    font-size: 25px;
    padding-bottom: 15px;
    font-weight: bold;
}

.opt-time-text {
    width: 33px;
    text-align: center;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}


#autoSetupOptions .radio-checkmark {
    /*this moves the radio button up and down */
    top: 6px;
}

#auto-title {
    margin-top: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

#exit-auto-mode {
    display: flex;
    justify-content: center;
    display: none;
    padding: 10px 0 10px 0;
}

#selected-auto-option {
    text-align: center;
    color: aqua;
    font-size: 20px;
    margin-top: 7px;
    margin-bottom: 20px;
}

.acc-heading-spacer {
    padding-top: 5px;
}

#auto-options input[type="text"] {
    width: 40px;
    font-size: 12px;
    font-weight: bold;
    color: #225499;
    text-align: center;
}

.autoText {
    color: #50009F;
    font-size: 16px;
    font-weight: bold;
}

.spacer {
    padding-top: 10px;
}

.opt-label {
    display: flex;
    /*justify-content:center;*/
    align-items: center;
    padding-left: 30%;
}

#selectedAutoOption {
    color: yellow;
}

#auto-navbar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}


/* Modal for displaying inflections */
#my-modal {
    display: none;
}

#my-modal-content {
    display: flex;
    flex-direction: column;
    width: 360px;
    /* width: 300px;
    height: 300px; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 600px;
    /* width: 95vw; */
    /* max-width: 700px; */
    overflow-x: auto;
}

#my-modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: brown;
    color: white;
    border-radius: 15px 15px 0 0;
    height: 50px;
    padding-bottom: 10px;
}

#my-modal-title {
    font-family: artifika;
    padding: 20px;
    font-size: 20px;
}

#my-modal-close {
    padding-right: 10px;
}

#my-modal-close button {
    width: 35px;
    height: 35px;
    border-color: gray;
    background-image: -webkit-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -moz-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -ms-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: -o-linear-gradient(top, WhiteSmoke, #b4b3b3);
    background-image: linear-gradient(to bottom, WhiteSmoke, #b4b3b3);
    background-color: dodgerblue;
    border-radius: 10px;
    color: white;
    font-size: 20px;
}

#my-modal-close button:hover {
    /* background: brown; */
    text-decoration: none;
    color: dodgerblue;
}

#my-modal-close {
    font-size: 30px;
}

#my-modal-body {
    background-color: white;
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}

#my-modal-footer {
    background-color: brown;
    color: white;
    border-radius: 0 0 15px 15px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

}

#my-modal-footer button {
    margin-right: 10px;
}























/*Tablet in portrait mode*/
@media screen and (min-device-width: 600px) and (orientation:portrait) {
    #practice-area {
        width: 575px;
    }

    .buttons {
        width: 50px;
        height: 50px;
    }

    #practice-title {
        font-size: 30px;
        height: 34px;
        margin-bottom: 20px;
        padding-top: 6px;
    }

    #pc-location-section {
        font-size: 20px;
        width: 500px;
    }

    #autoSetupOptions {
        width: 400px;
    }
}


/*Tablet in landscape mode*/
@media screen and (min-device-width: 760px) and (orientation:landscape) {
    #practice-area {
        width: 575px;
    }

    .buttons {
        width: 50px;
        height: 50px;
    }

    #practice-title {
        font-size: 30px;
        height: 34px;
        margin-bottom: 20px;
        padding-top: 6px;
    }

    #pc-location-section {
        font-size: 20px;
        width: 500px;
    }

    #autoSetupOptions {
        width: 400px;
    }
}


/* Large screens */

@media screen and (min-device-width: 1200px) {
    #practice-area {
        width: 800px;
    }

    .buttons {
        width: 50px;
        height: 50px;
    }

    #pc-location-section {
        font-size: 20px;
        width: 700px;
        height: 35px;
    }

    .btn-adjust3 {
        font-size: 28px;
        height: 70px;
        width: 120px;
    }

    #autoSetupOptions {
        width: 400px;
    }

    /* #main-box {
        width: 700px;
    }
    #lessons {
        width: 85%;
    }

    #foreign-section a {
        font-size: 40px;
        line-height: 45px;
    }

    #stored-lesson {
        margin: .5rem 0 3rem 0;
    }
    #foreign-section a {
        font-size: 50px;
        line-height: 55px;
        color:darkgreen;
    }
    #notes-section {
        font-size: 17px;
    }
    #english-section a {
        font-size: 25px;
    }
    .fa-long-arrow-alt-left,
    .fa-save,
    .fa-align-justify,
    .fa-minus,
    .fa-plus,
    .fa-random,
    .fa-cog {
        font-size: 40px;
    }
    #option-section {
        height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 80%;
        margin: 0 auto;
        margin-top: 30px;
    }
    #dir-foreign-eng label,
    #dir-foreign-arb label {
        font-size: 20px;
    } */
    /* #display {
        display: flex;
        flex-direction: column;
    }
    
    #title {
        text-align: center;
        font-size: 25px;
        font-family: artifika;
        height: 50px;
    }
    
    #location-section {
        height: 50px;
        width: 600px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin: 0 auto;
    }
    
    #lang-section {
        display: flex;
        flex-direction: column;
    }
    
    #foreign-section {
        height: 190px;
        width: 600px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 5px 10px 5px 10px;
    }
    
    #foreign-section a {
        text-decoration: none;
        color: brown;
        font-family: scheherazade;
        font-size: 55px;
        line-height: 55px;
        direction: rtl;
        text-align: right;
    }
    
    #notes-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 600px;
        height: 50px;
        font-size: 12px;
        font-style: italic;
        font-family: Arial, Helvetica, sans-serif;
    }
    
    #english-section {

        height: 100px;
        width: 600px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 25px;
        color: darkblue;
    }
    
    #english-section a {
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 25px;
        color: darkblue;
    }
    
    #navigation-section {
        height: 100px;
        width: 600px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin: 0 auto;
    }
    
    #btnPrevious,
    #btnNext,
    #btnReveal {
        transform: scale(1.3);
    }
    
    
    
    #option-section {
        height: 70px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 600px;
        margin: 0 auto;
    }
    
    #option-section .btn {
        width: 100%;
        height: 100%;
        border-color: gray;
        background-image: -webkit-linear-gradient(top, WhiteSmoke, #b4b3b3);
        background-image: -moz-linear-gradient(top, WhiteSmoke, #b4b3b3);
        background-image: -ms-linear-gradient(top, WhiteSmoke, #b4b3b3);
        background-image: -o-linear-gradient(top, WhiteSmoke, #b4b3b3);
        background-image: linear-gradient(to bottom, WhiteSmoke, #b4b3b3);
        background-color: dodgerblue;
        border-radius: 10px;
        color: white;
    }
    
    #option-section .btn:hover {
        text-decoration: none;
        color: dodgerblue;
    }
    
    .fa-long-arrow-alt-left,
    .fa-save,
    .fa-align-justify,
    .fa-minus,
    .fa-plus,
    .fa-random,
    .fa-cog {
        font-size: 35px;
    } */
}