/*
Theme Name: REF Theme
Theme URI: http://wordpress.org/
Author: Dan B and Razvan P
Author URI: http://wordpress.org/
Description: Theme for Roma Education Fund Wordpress Website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ref-theme
*/

.main-menu__menu-item {
    list-style-type: none;
}
.main-menu__submenu {
    list-style-type: none;
}

.article .controller figure {
  width: calc(100% - 8px);
  max-width: 100%;
  margin-left: 0;
  margin-right: 8px;
  box-shadow: 8px 8px 0 #29323B;
}
@media all and (min-width: 1280px) {
  .article .controller figure {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

figure {
  border-radius: 24px;
  margin-bottom: 40px;
  border: 1px solid #29323B;
  width: calc(100% - 8px);
}
@media all and (min-width: 1280px) {
  figure {
    border-radius: 32px;
    margin-bottom: 48px;
  }
}
figure img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 0 0 1px #29323B;
}
@media all and (min-width: 1280px) {
  figure img {
    border-radius: 32px;
  }
}
figure figcaption {
  font-size: 14px;
  padding: 16px 32px 14px;
  text-wrap: balance;
  line-height: 1.33333333;
}
@media all and (min-width: 1280px) {
  figure figcaption {
    font-size: 16px;
    line-height: 1.6;
    padding: 16px 136px 14px;
    text-wrap: pretty;
  }
}
figure figcaption a {
  color: #D90046;
  box-shadow: 0 1px 0 transparent;
}
@media (hover: hover) {
  figure figcaption a:hover {
    box-shadow: inset 0 -1px 0 #D90046;
  }
}
figure:has(figcaption) img {
  border-radius: 24px 24px 0 0;
}
@media all and (min-width: 1280px) {
  figure:has(figcaption) img {
    border-radius: 32px 32px 0 0;
  }
}





blockquote strong {
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}
blockquote strong::before {
  flex-shrink: 0;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(images/shape-team.svg);
  transform: translateY(3px);
}

.featured__image {
    width:100%;
    height:320px;
    position: relative;
    overflow:hidden;
}
.featured__image img {
    width:100%;
    height:auto;    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
}



ul.pagination span.current {
  background-color: #D90046;
  border: 1px solid #D90046;
  color: #FFF;   
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;    
}


ul.pagination span.dots {
  background-color: transparent;
  font-weight: 400;
  pointer-events: none;    
    
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;   
}
ul.pagination li.mobile-page-selector-next-prev {
    display:block;
}

@media all and (min-width: 1280px) {
    ul.pagination li.mobile-page-selector-next-prev {
        display:none;
    }
}

/*  
.article .controller .cpt-file-container {
  max-width: 100%;
  min-height: 100px;
  margin-left: 0;
  margin-right: 8px;
  box-shadow: 8px 8px 0 #29323B;       
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid #29323B;
  padding: 10px 20px 10px 20px;
  font-weight: bold;
}
*/
/*
.article .controller .cpt-file-icon {
    width: 16px;
    margin: 10px 10px 0px 0px;
    float: left;
    
}
*/

/* REGISTRATION MAGIN LOGIN TAB */
#rm_front_sub_tabs .rmtab-registration, 
#rm_front_sub_tabs .rmtab-payment-details {
    display: none;
}
#rm_front_sub_tabs .rm-user-name {
  font-size: 1.5em;
}
#rm_front_sub_tabs .rm-submission-field-row { display: none; }
#rm_my_details_tab { 
    margin-top: 0px;
}

.book__title {
    width: 100%;
}

.article p.reg_info {
    font-size: 0.8em;
}
.article p.reg_info span {
    color:red;
}

a.admin_dashboard_link {
    color: #29323B;
}