/*
Theme Name: Mathematics.cy Theme
Author: Linos 
Theme URI: http://mathematics.cy
Author URI: http://mathematics.cy
Tags: Wordpress Themes, WP Themes, Custom Themes, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: istudymaths
Version: 1.0
License: Copyrighted Mathematics.cy 2026
*/

/*pdf Embeder*/
div.pdfemb-viewer {
    overflow: hidden;
    line-height: 1;
    margin: 0px;
    padding: 0px;
    border: 0px solid rgba(255, 255, 255, 0)!important;
    position: relative;
    text-align: left;
    direction: ltr;
    background-color: white!important;
	/**	height: calc(100vh - 17rem)!important;
	 **/
}
div.pdfemb-toolbar {
    padding: 0px;
    margin: 0px;
    border: none;
    z-index: 10;
    position: absolute;
		background-color: #808390!important;
		width: 100%;
    border-radius: 6px;
}
.pdfemb-pagescontainer {
	background-color: white!important;
}

.grab-to-pan-grab {
     cursor: default!important;
}

.pdfemb-zoomin {
display:none;
}
.pdfemb-zoomout {
display:none;
}
.pdfemb-next {
display:none;
}
.pdfemb-prev {
display:none;
}
.pdfemb-pagescontainer{
	height: 100%!important;
}
div.pdfemb-toolbar div {
    margin: 6px 6px 6px 12px!important;
}
.pdfemb-fs{
	float: right!important;
	margin: 4px 12px 4px 12px!important;
}

/*Video player*/
.plyr--pip-supported [data-plyr=pip] {
    display: none;
}
.plyr__menu {
    display: none;
    position: relative;
}
.plyr__poster {
    background-color: #fff;
}
.plyr--video {
    background: #fff;
}
.plyr__video-wrapper {
    background: #fff;
}


/*Avatar of PMP*/
@media (max-width: 768px) {
  .pmpro_heading-with-avatar .letter-avatar {
    display: none !important;
  }
}

/*Lock icon of PMP*/
@media screen and (max-width: 1025px) {
  svg.feather.feather-lock {
    display: none !important;
  }
}

/*PMP Styling*/
.pmpro {
    .pmpro_section_title {
        font-weight: 400;
        margin: 0;
        padding: 0;
    }
}
.pmpro {
    .pmpro_font-x-large {
        font-size: 24px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 767px) {
    .pmpro_table tbody tr th, .pmpro_table tbody tr td, .pmpro_table tfoot tr td {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.pmpro {
    .pmpro_section {
        margin: calc(var(--pmpro--base--spacing--large) * 1) 0;
    }
}

.pmpro {
    .pmpro_font-large {
        font-size: 20px;
        line-height: 1.5;
    }
}

.pmpro {
    .pmpro_heading-with-avatar {
        align-items: center;
        display: flex;
        font-weight: 500;
        gap: var(--pmpro--base--spacing--small);
    }
}

.pmpro {
    .pmpro_card_title {
        color: var(--pmpro--color--contrast);
        font-weight: 500;
        margin: 0;
        padding: var(--pmpro--base--spacing--large) var(--pmpro--base--spacing--large) 0;
    }
}

.pmpro {
    .pmpro_form_heading {
        font-weight: 500;
        margin: var(--pmpro--base--spacing--large) 0 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
/* Κεντράρισμα του wrapper */
.pmpro_form_submit {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
}
/* Κουμπί PayPal */
#pmpro_btn-submit-paypalexpress {
    display: inline-flex !important;
    margin: 0 auto !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
}
/* Κεντράρισμα του checkbox και του κειμένου */
.pmpro_form_field-checkbox.pmpro_form_field-required {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    text-align: center;
}
/* Κεντράρισμα εσωτερικού label */
.pmpro_form_label.pmpro_clickable[for="tos"] {
    display: block !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-top: 0.25rem;
}

}


.plyr--full-ui.plyr--video .plyr__control--overlaid {
    display: none;
}

.plyr--video .plyr__controls
{
    background: var(--plyr-video-controls-background, linear-gradient(transparent, rgba(0,0,0,0.2)));
}

.plyr--full-ui {
    margin-bottom: 15px;
}

mjx-tool {
    display: none !important;
}

mjx-container[tabindex] {
    pointer-events: none !important;
}

.app-email {
    block-size: calc(100vh - 8rem) !important;
}

@media (max-width: 767.98px) {
 .app-email {
    block-size: calc(100vh - 20rem) !important;
}
   
 }

 @media (max-width: 640px) {
  .uqf-wrap .uqf-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}