/*
Theme Name: medicus-abpm Quiz Friendly
Theme URI: 
Author: 
Author URI: 
Description: The American Board of Preventive Medicine Theme
Requires at least: 6.0
Tested up to: 6.6.2
Requires PHP: 8.1.23
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medicus-abpm
Tags: 
*/



/*resets*/

.margin-right-sm {
    margin-right: 15px !important;
}

.margin-bottom-md {
    margin-bottom: 20px !important;
}

.margin-top-sm {
    margin-top: 5px !important;
}

.margin-top-m {
    margin-top: 10px !important;
}

.rounded-corners {
    border-radius: 8px;
}

.img-rounded-corners img {
    border-radius: 8px;
}

.shadow-two {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

/* bullets */

ul.wp-block-list li {
    list-style-type: none;
    background: url(https://theabpm.org/wp-content/uploads/2024/09/arrow_circle_right_30dp_A81874_FILL0_wght400_GRAD0_opsz24.svg) no-repeat left top;
    padding: 0 0 12px 30px;
}

ul.wp-block-list li{
    background-position: left 6px;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* btns */

.main-btn a:hover {
background-color: #16B4A6 !important;

}

.main-portal-btn a {
    background-color:#A81874 !important;
    border: none;
    Color: #ffffff;
    /* padding: 1rem 3rem; */
    text-align: center;
    text-decoration: none;
    font-size: 1.25rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 0;
}

.main-portal-btn a:hover {
    background-color:#16B4A6 !important;
}

.round-sqr-btn a {
    width: 22.93rem !important;
    background-color:#033850 !important;
    border: none;
    Color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
}

.round-sqr-btn a:hover {
    width: 22.93rem !important;
    background-color:#A81874 !important;
    border: none;
    Color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
}

.sm-btn a {
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    padding: 7px 18px;
}

.sm-btn a:hover {
    color: FFFFFF !important;
    background-color: #16B4A6 !important;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    padding: 7px 18px;
}

.sm-btn-invt a {
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    padding: 7px 18px;
}

.sm-btn-invt a:hover {
   background-color: #A81874  !important;
   border: 1px solid #A81874;
   color: #ffffff !important;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    padding: 7px 18px;
}

.md-btn a {
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 15px 28px;
}

.md-btn a:hover {
    color: FFFFFF !important;
    background-color: #16B4A6 !important;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 15px 28px;
}

.md-btn-invt a {
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 15px 28px;
}

.md-btn-invt a:hover {
   background-color: #A81874  !important;
   border: 1px solid #A81874;
   color: #ffffff !important;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 15px 28px;
}

/* links */

footer li a:hover {
    text-decoration: underline !important;
}



hr {
    border: none;
    border-bottom: 1px solid #BABABA !important ;
}


hr.magenta {
    border: none;
    border-bottom: 5px solid #A81874 !important; 
    width: 4.3rem;
    margin-left: 0 !important;
    margin-bottom: -10px;
}

hr.magenta-mar {
    border: none;
    display: block;
    border-bottom: 5px solid #A81874 !important; 
    width: 4.3rem;
    margin-left: 0 !important;
    margin-bottom: 10px;
}

hr.magenta-mar-contact {
    border: none;
    position: relative;
    border-bottom: 5px solid #A81874 !important; 
    width: 4.3rem;
    margin-left: 100px !important;
    margin-bottom: 10px;
}

hr.white-color {
    border: none;
    border-bottom: 5px solid #FFFFFF !important; 
    width: 4.3rem;
    margin-left: 0 !important;
    margin-bottom: -10px;
}

hr.maintext {
    border: none;
    border-bottom: 5px solid #101820 !important; 
    width: 4.3rem;
    margin-left: 0 !important;
    /* margin-bottom: -10px; */
}


/* Link Styles */

.open a {
    font-family: "Open Sans", sans-serif !important;
    font-weight: bold !important;
}

.mg-top {
    margin-top: auto;
}

/* Navigation Menus */

.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
    border: 1px solid #f5f5f5 !important;
    border-radius: 0.5rem;
    padding: .625rem;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.12);
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu li:hover {
    background: #f5f5f5;
}


/* Home page CSS */

.home-blog-post-list ul li {
    margin-right: 20px !important;
    margin-bottom: 30px !important;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.home-blog-post-list .wp-block-post-title a {
    color: #101820 !important;
    font-weight: bold;
}

.home-blog-post-list .home-blog-read-more {
    margin-top: auto;
}




/* Help bar */

.u-userLauncherColor:not([disabled]) {
    background-color: red !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}


/* Search Modal */

.search-modal-layout {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(3, 56, 80, 0.9);
}

.modal-content {
    margin: 20% auto;
    width: 60%;
    text-align: center;
}

.modal-input {
    width: 60% !important;
    padding: .5rem 1rem .5rem 1rem !important;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1.25em;
  }

.modal-button {
    background-color: #A81874;
    color: white;
    padding: 1rem 1rem 1rem 1rem !important;
    margin: 8px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
  }

  .modal-button:hover {
    background-color: #00E1B7;
  }

.close-modal-btn {
    color: #ccc;
    float: right;
    font-size: 30px;
}

.close-modal-btn:hover, .close-modal-btn:focus {
 color: #0D1526;
 text-decoration: none;
 cursor: pointer;
}

#search-modal-button a {
    padding: 0;
    margin-bottom: 6px;
    font-size: 1rem;
    color: grey;
    background-color: #ffffff;
}


/* CSS Animations */

@property --num {
    syntax: '14';
    initial-value: 0;
    inherits: false;
  }
  
  .number-animation-1 {
    transition: --num 1s;
    counter-reset: num var(--num);
  }
  .number-animation-1:hover {
    --num: 10000;
  }
  .number-animation-1::after {
    content: counter(num);
  }




  /* Navigation dropdown menu */
.Mobile-menuing {
    display: none !important;
}

.Mobile-menuing.active {
    background-color: #033850;
    color: #ffffff;
    display: block !important;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling:touch;
    position: fixed;
    Transition: .3s ease;
    top: 0;
    z-index: 1000;
}

.mobile-menu-container {
    display: none !important;
}
/* .mobile-menu-container-items {
    display: none !important;
} */

.mobile-menu-icon-myst {
  width: 35px;
  height: 5px;
  background-color: #0D1526 !important;
  margin: 6px 0;
}

.menu-close {
    font-family: 'Open-sans', sans-serif;
    font-size:xx-large;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding-right: 60px !important;
}

.mobile-footer-navigation {
    display: none !important;
}

.Mobile-Menuing {
    display: none;
}

.Mobile-Menuing.active {
    background-color: #000;
    display: block;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling:touch;
    position: fixed;
    Transition: .3s ease;
    top: 0;
}

.mobile-logo {
    display: none !important;
}



/* Media Queries */


@media (max-width: 1024px) {
    .desktop-menuing {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-container {
        display: block !important;
        position: relative;
        padding: 30px;
    }

}

@media (max-width: 1024px) {
    p {
        padding-right: 20px;
        padding-left: 20px;
        }
        
        h1,h2,h3,h4,h5,h6 {
        padding-right: 20px;
        padding-left: 20px;
        
        }
        
        a {
        margin-right: 20px;
        margin-left: 20px;
        }
        
        table {
        margin-right: 20px;
        margin-left: 20px;
        }

        .mobile-padding {
            padding-left: 20px;
            padding-right: 20px;
          }

        .mobile-margin {
            margin-right: 20px !important;
            margin-left: 20px !important; 
        }

        .mobile-menu-items li {
            padding: 15px 5px 10px 2px !important;
        }

        .mobile-menu-container-items {
            display: block !important;
            /* flex-direction: column !important; */
            position: relative;
            padding: 30px 30px 30px 0 !important;
        }

        .mobile-logo {
            display: block !important;
        }
        .padding-bottom-m {
        padding-bottom: 10px;
	}
  
}

@media (max-width:600px){
    
    .desktop-footer-nav {
      display: none !important;
    
    }
    
    .mobile-footer-navigation{
    
      display: block !important;
       padding-bottom: 15px;
       }
    
    
    
    .desktop-footer-company{
      display: flex;
      flex-flow: column;
    }
    .desktop-menuing {
        display: none !important;
    }
 
    
    }
