/*
Theme Name: MDEC Corp V5
Theme URI: http://localhost/wordpress/themes/mdec
Author: the MDEC team
Author URI: http://wordpress.org/
Description: MDEC team for wordpress
Version: 5.0
License: GNU General Public License v2 or later
Tags: black, brown, orange, tan, white, yellow, light, 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: mdec

*/


.banner.single-event{
background-image: url(https://mdec.my/wp-content/uploads/newsletter-1.jpg);
background-position: center;
background-size: cover;
height: 60vh;
display: flex;
    justify-content: center;
    align-items: center;
}

.speaker-img-event {
    width: 50px;
    height: 50px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

#tribe-events-pg-template .tribe-events-content .speaker-modal h3 {
    font-size: 20px;
    color: #f00000;
    margin-bottom: 5px;
    line-height: 1.2;
}

.tribe-events-content .speaker-modal p{
  font-size: 14px;
  margin-bottom: 0;
}

.text-center {
    text-align: center;
}
.speaker-modal p.red.mb-20 {
    color: #f00000;
    margin-bottom: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}

.tribe-events-content p, .tribe-events-content {
    font-size: 14px;
}

.tribe-events-content .flex-box {
    border-bottom: 1px solid #000;
}

.subscribe-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    margin-top: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #dc3232;
}

.subscribe-form .wpcf7 form.invalid .wpcf7-response-output, .subscribe-form .wpcf7 form.unaccepted .subscribe-form .wpcf7-response-output {
    border-color: #dc3232;
    position: absolute;
    margin-top: 80px;
    color: #dc3232;
}

a.tribe-events-gcal.register-form, a.tribe-events-gcal, a.tribe-events-ical {
    border: none;
    border-radius: 28px;
    font-size: 16px !important;
    padding: 14px 24px !important;
    text-align: center;
}

.flex-detail-event .detail-item { 
    margin: 0 20px; 
}

.tribe-events-content p{
    margin-bottom: 1em;
    font-size: 16px;
}

a.tribe-events-gcal.register-form{
    background-color: #e62a32;
}

a.tribe-events-gcal, a.tribe-events-ical {
    padding: 10px;
    font-size: 13px;
    background-color: #020069;
}

#tribe-events-pg-template, .tribe-events-pg-template{
max-width: 100%;
}

.tribe-events-single-event-title {
    font-size: 35px;
    text-transform: capitalize;
    text-align: center;
}

#tribe-events-content {
    margin-bottom: 48px;
    padding: 80px 0;
    max-width: 80%;
    margin-left: auto;
    position: relative;
    margin-right: auto;
}

.event-title-h2{
   font-size: 28px;
   text-transform: uppercase;
   color: #020069;
   margin-bottom: 20px;
}

.flex-detail-event {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 15px;
}

.tribe-events-cal-links{
display: flex;
}

.speaker-box {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    padding: 35px;
    min-height: 240px;
    text-align: center;
    display: none;
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; */
}

.speaker-box h2{
color: #020069;
font-size: 28px;
}

.speaker-img {
    display: flex;
    margin: 20px 0 30px;
    align-items: center;
}

.speaker-img img:first-child{
    padding-right: 10px;
}

.speaker-img img:last-child{
    padding-left: 10px;
}

.mt-30{
margin-top: 30px;
}

.detail-item{
    display: flex;
    align-items: center;
}

.detail-item img{
    margin-right: 10px;
    width: 18px;
}

.detail-item h2{
    font-size: 15px;
}

.logo-digital{
    margin-top: 20px;
}

.logo-digital_single{
    width: 100px;
}

.course-logo-digital_single{
    width: 60px;
}

.course-logo_digital{
    margin-top: 15px;
    margin-bottom: 15px;
}

.flex-block .logo-flex{
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}
.text-p {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.7;
}

.p-mb-20{
    margin-bottom: 20px;
}

.m-btn{
    background-color: #f00000;
    color: #fff;
    display: inline-block;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 0 0 15px;
    position: relative;
}

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

.banner.single-course{
    background-color: #A7B8C2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px;
    align-items: center;
}

.single-course .flex-block img{
margin: 0 10px;
}

.single-course .flex-block__s12m6{
padding: 0 20px;
}

.single-course .banner__contents{
position: relative;
padding-top: 0;
}

.banner__subheading{
margin-bottom: 20px;
}

.section-block.course-bg{
    background-color: #64AFB5;
    background-image: url(https://mdec.my/wp-content/uploads/assets/images/pages/digital-economy-initiatives/for-the-people/digital-skills-training-directory/mid-banner.jpg);
    background-size: cover;
    background-position: right;
}

.contact-digi-form .wpcf7-form-control.wpcf7-acceptance {
    width: 100%;
    border: none;
    border-radius: 30px;
    min-height: 50px;
    margin-bottom: 20px;
    box-shadow: none;
    outline: 0;
    padding-left: 0px;
}
.contact-digi-form .wpcf7-form-control.wpcf7-select {
    background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right #fff;
    -webkit-appearance: none;
    background-position-x: 97%;
}


.wpcf7-checkbox .wpcf7-list-item{
  width: 50%;
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
  float: left;
  padding-left: 15px;
}

.wpcf7-acceptance .wpcf7-list-item{
  margin-left: 0;
  padding-left: 15px;
}

.font-bold{
  font-weight: 700;
}

.contact-digi-form .wpcf7-form-control.wpcf7-checkbox {
    width: 100%;
    border: none;
    border-radius: 0;
    min-height: 50px;
    margin-bottom: 20px;
    box-shadow: none;
    outline: 0;
    padding-left: 0;
}
.flex-box-form{
display: flex;
width: 100%;
}

.form-mtm{
font-size: 30px;
color: #dc1f2b;
}
.justify-center-form{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.contact-digi-form .wpcf7-form-control{
    width: 100%;
    border: 1px solid #000;
    border-radius: 30px;
    min-height: 50px;
    margin-bottom: 20px;
    box-shadow: none;
    outline: 0;
    padding-left: 15px;
}

.contact-digi-form .wpcf7-submit{
background-color: #e62a32;
    color: #fff;
    border: 1px solid #e62a32;
    transition: .3s;
    width: 18%;
    border-radius: 10px;
    margin: 0 auto;
    padding-left: 0;
}

.contact-digi-form .wpcf7-submit:hover,
.contact-digi-form .wpcf7-submit:active,
.contact-digi-form .wpcf7-submit:focus{
background-color: #fff;
color: #e62a32;
border: 1px solid #e62a32;
}

.mb-20 {
    margin-bottom: 20px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mt-15 {
    margin-top: 15px;
}
.text-center {
    text-align: center;
}

.row.single-events-post:first-child .column-agenda{
    min-height: 52px;
}

.row.single-events-post{
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.column-time {
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
    width: 15%;
}

.column-agenda {
    width: 55%;
    padding: 15px;
    border-right: 1px solid;
    border-left: 1px solid;
    min-height: 100px;
}

.column-speaker-head{
    width: 30%;
    padding: 15px;
    text-align: center;
}

.column-speaker{
    width: 30%;
    display: flex;
    padding: 15px;
    justify-content: center;
    text-align: center;
}

.column-speaker figure{
    margin: 5px;
    text-align: center;
}

.flex-b{
    flex-basis: 66.66%;
}

.flex-c{
    flex-basis: 33.33%;
}

.flex-28563 .flex-b{
    flex-basis: 100%;
}

.flex-28563 .flex-c{
    flex-basis: 0%;
}

#tribe-events-pg-template .tribe-events-content ol li, #tribe-events-pg-template .tribe-events-content ul li, .tribe-events-after-html ol li, .tribe-events-after-html ul li, .tribe-events-before-html ol li, .tribe-events-before-html ul li {
    line-height: 1.35;
    margin: 0 0 10px;
}

.column-agenda { 
    font-size: 16px;
}

.column-agenda, .column-agenda p, .column-agenda ol li {
    line-height: 1.5 !important;
}

@media screen and (max-width: 480px){

.column-agenda, .column-agenda p, .column-agenda ol li, .column-agenda b {
    line-height: 1.5 !important;
    font-size: 15px !important;
}

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

.row.single-events-post:first-child{
  display: none;
}

.row.single-events-post {
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #e62a32;
}

.column-speaker {
    width: 100%;
}

.column-speaker figure {
    margin: 10px;
}

.column-speaker figure .speaker-img-event {
    width: 60px;
    height: 60px;
}

.column-agenda {
    font-size: 16px;
    line-height: 1.3;
    width: 100%;
    border: none;
    min-height: 20px;
}

.column-agenda b{
    font-size: 16px;
}

.column-time {
    margin-bottom: 0px;
    width: 100%;
    padding: 10px 0px 10px;
    font-size: 16px;
    font-weight: 700;
    padding-left: 15px;
    background: #e62a32;
    color: #fff;
}

.tribe-events-content p{
    margin-bottom: 1em;
    font-size: 16px;
}

.tribe-events-cal-links {
    flex-direction:column;
}

a.tribe-events-gcal.register-form{
    width: 100%;
}

a.tribe-events-gcal, a.tribe-events-ical {
    padding: 11px;
    width: 100%;
    font-size: 13px;
    margin-top: 15px;
}

.contact-digi-form .wpcf7-submit {
    width: 50%;
    border-radius: 30px;
}

.contact-digi-form .wpcf7-form-control {
    min-height: 40px;
}

.wpcf7-checkbox .wpcf7-list-item {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    float: left;
}

.second-content{
    margin-top: 30px;
}

.second-content .wrapper{
   padding: 0;
}

.speaker-box h2 {
    font-size: 26px;
}

#tribe-events-pg-template {
    padding: 0;
}

.tribe-events-single-event-title {
    font-size: 23px;
    text-transform: capitalize;
}

.flex-detail-event {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    flex-direction: column;
    padding: 15px 0 0;
}

.detail-item {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    align-items: center;
}

.detail-item h2 {
    font-size: 16px;
}

.mt-30 {
    margin-top: 0px;
}

.banner.single-event {
    background-position: left center;
}

.flex-detail-event h2{
   margin-bottom: 0px;
}

#tribe-events-content {
    margin-bottom: 0;
    padding: 50px 20px;
    max-width: 100%;
}

.slider-logo{
    padding-bottom: 50px;
}

.section-block.course-bg{
    background-color: #64AFB5;
    background-image: none;
}

.slider-logo .swiper-pagination-bullet{
width: 10px;
    height: 10px;
}

.slider-logo .swiper-pagination-bullet-active{
background: #f00000;
}

.slider-logo .mobile-center{
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-center{
    text-align: center;
}

.banner__badges-icons.logo--single > li {
    width: 40%;
    text-align: center;
}

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

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

.flex-block .logo-flex{
flex-direction: column;
    text-align: center;
        justify-content: center;
}

.banner__badges-icons {
padding-top: 35px !important;
    padding-bottom: 35px;
}

.banner__badges {
    top: 0 !important;
}

.tribe-events-content p, .tribe-events-content, #tribe-events-pg-template .tribe-events-content ol li {
    font-size: 15px;
}

}