/*
Theme Name: Edm Display One
Theme URI: 
Author: HC
Description: Theme to display edm content
Version: 1.0.0
Text Domain: edm-text
Domain Path: /languages
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.top-container{
    margin-top: 10px;
    .toolbarwrapper{
        padding: 10px;
        .p-megamenu{
            background-color: #f8f9fa;
            border: 1px solid #c8ced3;
            border-radius: 1rem;
            min-height: 60px;

            .home-button{
                .logo-img{
                    width:80px;
                    height:auto;
                    &:hover{
                        transform: scale(1.1);
                        transition: transform 0.2s ease-in-out;
                    }
                }
            }

            .all-prayers-button{
                margin:0px 5px;
                .p-button{
                    color:white;
                    font-weight: bold;
                    font-size: 1rem;
                }
            }

            .top-bar-button{
                margin:0px 5px;
                background-color: goldenrod;
                color:white;
                border:white;
                border-radius:5px;
                font-size:1.25rem;
                font-weight:bold;
                cursor: pointer;
                &:hover{
                    background-color:gold;
                    box-shadow:none;
                }
            }

            @media screen and (max-width: 450px){
                display:flex;
                flex-direction:column;
                
                .p-megamenu-end, .p-megamenu-start{
                    display:flex;
                    flex-direction:column;
                    align-items:center;
                    width:100%;
                }
                .p-megamenu-end{
                    flex-direction:column;
                    align-items:center;
                    width:100%;
                }

                .top-bar-button{
                    width:100%;
                    margin:6px 0px;
                    padding:3%;
                    font-size:1.25rem;
                    font-weight:bold;
                }

                .home-button{
                    /*width:100%;*/
                    margin:1% 0px;
                    .p-button{                    
                        color:white;
                        width:100%;
                        font-size:1.25rem;
                        font-weight:bold;
                    }
                }

                .all-prayers-button{
                    width:100%;
                    margin:1% 0px;
                    .p-button{                    
                        color:white;
                        width:100%;
                        font-size:1.25rem;
                        font-weight:bold;
                    }
                }
            }
        }
    }
}

#app-root{
    display:none;

    .lang-selector-wrapper{
        display:block;
        text-align: center;
        padding: 0.5%;
        background-color: #f4f4f4;
        color: #333;
        border-radius:0px 5px;
        margin-top: -3%;

        .lang-selector-button{
            display:inline-block;
            width:50%;
            cursor:pointer;
            background-color: white;
            border: 1px solid #cfcdcd;
            border-radius: 0px 0px 15px 15px;
            padding:1.5%;
            box-shadow: -2px 13px 10px -8px rgba(77, 77, 77, 0.75);
            .content-wrapper{
                padding-top:3%;
                display:flex;
                flex-direction:row;
                justify-content: center;
                align-items: center;
                .lang-selector-icon{
                    width:8%;
                    margin-right:2%;
                    img{
                        width:100%;
                    }
                }

                .lang-selector-title{
                    font-size: 1rem;
                    font-weight: bold;
                    margin: 2% 10px;
                }

                .faith-icon{
                    width: 8%;
                    margin-left:2%;
                    img{
                        width:100%;
                    }
                }
                
            }
            
            @media screen and (min-width:1200px) and (orientation:landscape){
                width:36%;
                padding:1%;
                .content-wrapper{
                    padding-top:3%;
                    .lang-selector-icon{
                        width:8%;
                        margin-top:5px;
                    }
                    .lang-selector-title{
                        font-size: 1.75rem;
                        margin: 1% 5px;
                    }
                }
            }

            @media screen and (max-width: 450px){
                width:60%;
                margin-top:-5px;
            }
        }

        .lang-selector-button:hover{
            color:gold;
            background-color: #f3f3f3;
            border-color:gold;
            box-shadow:0px 0px 5px 1px gold;
        }
    
    }
}

.main-container{
    margin-top:10px;
    padding:10px;
}

.button-raised {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease-in-out;
}

.button-raised:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.standard-button{
    background-color:rgb(218, 185, 0) !important;
    color:white !important;
    border:none !important;
    padding:10px 20px !important;
    border-radius:5px !important;
    cursor:pointer !important;
    font-size: 1rem !important;
    &:hover{
        background-color:rgb(201, 171, 2) !important;
    }
}

.faith-lang-modal{
    color:black !important;
    background-color: white !important;
    border: 1px solid #cfcdcd;
    
    .top-prompt-wrapper{
        text-align: center;
        .modal-logo{
            width: 10%;
            margin: 10px;
        }
        .modal-top-prompt{
            text-align: center;
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 30px;
        }
    }
    
    .lang-selector-wrapper{
        display:block;
        padding: 3%;
        background-color: #f4f4f4;
        color: #333;
        border-radius:5px;

        .lang-selector{
            margin-bottom: 10px;
            cursor:pointer;
            width:100%;
            cursor:pointer;
            background-color: white;
            border: 1px solid #cfcdcd;
            border-radius:5px;
            padding:3%;
            .lang-selector-inner{
                text-align:center;
                .lang-selector-icon{
                    width:100%;
                    text-align:center;
                    img{
                        width:20%;
                    }
                }
                .lang-selector-title{
                    font-size: 1.5rem;
                    font-weight: bold;
                    margin-bottom: 10px;
                }
            }
        }

        .lang-selector:hover{
            background-color: #ebebeb;
            padding:4%;
            border-color:gold;
            .lang-selector-title{
                font-size:2rem;
                color:rgb(248, 188, 34)
            }
        }
    }
}

.prayer-search-modal{
    color:black !important;
    background-color: white !important;
    border: 1px solid #cfcdcd;
    .top-prompt{
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 30px;
    }
    .search-options{
        display:flex;
        flex-direction:row;
        justify-content:space-evenly;
        .option-wrapper{
            padding:2%;
            margin:1%;
            text-align: center;
            width:50%;
            cursor:pointer;
            background-color: white;
            border: 1px solid #cfcdcd;
            border-radius:5px;
            font-size:1rem;

            .p-radiobutton-box{
                border: 1px solid #cfcdcd;
                background-color: white;
                .p-radiobutton-icon{
                    background-color: goldenrod;
                }
            }

            label{
                margin:0px 5px;
            }
            
        }
    }

    .search-interfaces{
        margin-top:1%;
        padding:1%;
        min-height:300px;
        display:flex;
        justify-content: center;
    
        .search-interface{
            width:100%;
            input{
                padding:5px;
                width:100%;
                cursor:pointer;
                background-color: white;
                color:black;
                border: 1px solid #cfcdcd;
                border-radius:5px;
                font-size:1rem;
                min-height:50px;
            }
            
            .interface-search-button{
                width: 100%;
                margin-top:1%;
                background-color: goldenrod;
                color:white;
                border:none;
                border-radius:5px;
                padding:10px 20px;
                cursor:pointer;
                font-size: 1rem;
                &:hover{
                    background-color:gold;
                }
            }

            .search-results-wrapper{
                margin-top:1%;
                padding:1%;
                border: 1px solid #cfcdcd;
                border-radius:5px;
                min-height:300px;
                overflow-y: auto;
                .search-result{
                    display:flex;
                    justify-content: space-between;
                    width:100%;
                    padding:1%;
                    margin-bottom:2%;
                    cursor:pointer;
                    border-radius: 5px;
                    border:1px solid #d5d5d5;
                    background-color: #ececec;

                    &:hover{
                        background-color: #dddddd;
                    }
                    .result-sub-container{
                        width:50%;
                        text-align:center;
                        img{
                            width:100%;
                        }

                        .prayer-number{
                            color:goldenrod;
                        }

                        .prayer-tag{
                            color:goldenrod;
                        }
                        
                        .prayer-title{
                            font-weight:bold;
                            padding:2%;
                        }
                    }
                    
                    @media screen and (max-width: 450px){
                        flex-direction: column;
                        .result-sub-container{
                            width:100%;
                        }
                        
                    }
                }
            }
        }
    }
}

.sign-in-modal{
    color:black !important;
    background-color: white !important;
    border: 1px solid #cfcdcd;
    padding:3%;
    .top-prompt{
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 30px;
    }
    .registration-prompt{
        text-align: center;
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 30px;
    }
    .top-button-container{
        display:flex;
        flex-direction:row;
        justify-content:space-evenly;
        .top-button{
            padding:1%;
            width:47%;
            cursor:pointer;
            border-radius:5px;
            font-size:1rem;
            &:hover{
                font-size:1.5rem;
            }
        }

        .login-in-button{
            color:white;
        }
        .register-button{
            color:white;

        }
    }
}

.member-options-modal{
    color:black !important;
    background-color: white !important;
    border: 1px solid #cfcdcd;
    padding:3%;
    .top-prompt{
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .top-button-container{
        display:flex;
        flex-direction:row;
        justify-content:space-evenly;
        .top-button{
            padding:1%;
            width:47%;
            cursor:pointer;
            border-radius:5px;
            font-size:1.5rem;
            &:hover{
                font-size:2rem;
            }
        }
        @media screen and (max-width: 450px){
            flex-direction:column;
            .top-button{
                width:100%;
                height:50px;
                margin:10px 0px;
            }
            
        }
    }

}