/*
* 
Theme Name:     GMI
Description:    GMI custom Divi Child Theme
Author:         Tessa Bradford | Formosa Web Services
Author URI:     https://formosawebservices.com/
Template:       Divi
Version:        1.0.7
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* General Styling */

.underlined:after {
    background-color: #EB9441;
    height: 5px;
    margin: 8px 0 15px;
    width: 100%;
    max-width: 260px;
    content: '';
    display: block;
}

.wpml-ls-legacy-dropdown-click ul {
    padding: 0;
}

.object-fit img {
    object-fit: cover;
}

.checkmarkList ul li, .mentorshipModelBlurbs .et_pb_blurb_description ul, .refugeecamplocations ul {
    padding-left: 30px;
    list-style:none;
    margin-bottom: 10px;
}

.checkmarkList ul li::before, .mentorshipModelBlurbs .et_pb_blurb_description ul li::before, .refugeecamplocations ul li::before {
    content: '\4e';
    display: inline-block;
    margin-right: 7px;
    margin-left: -30px;
    padding-right: 5px;
    font-family:'ETmodules';
    font-size: 16px;
    font-weight: 600;
    color: #4A90C5;
    vertical-align: middle;
}

#sidebar .widget_recent_entries ul li, #sidebar .widget_categories ul li {
    margin-left: 15px;
}

#sidebar .widget_categories ul li a {
    padding-left: 5px;
}

#sidebar .widget_recent_entries ul li::before, #sidebar .widget_categories ul li::before {
    content: '\35';
    margin-left: -20px;
    font-family: 'ETmodules';
    color: #4A90C5;
    vertical-align: middle;
    font-weight: 800;
}

body .gform_wrapper ul.gform_fields li.gfield {
    margin-top: 0;
}

.gform_wrapper form .gform_footer {
    margin-top: 0;
    padding-top: 0;
}

.gform_wrapper .gform_fields textarea, .gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield select, .gform_wrapper .gform_fields input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    border: solid 1px #7B90A1;
    box-shadow: none;
    color: #666;
    float: left;
    font-size: 14px;
    height: 50px;
    letter-spacing: .3px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 2px;
    background-color: #fff;
}

.gform_wrapper .gform_footer input.button,#wp-submit {
    border-radius: 2px;
    font-size: 14px;
    padding: 10px 20px!important;
    color: #fff;
    background-color: #4a90c5;
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: uppercase;
    transition: all .3s;
}

.gform_wrapper .gform_footer input.button:hover, #wp-submit:hover {
    background-color: #015989;
}

.et-social-linkedin a.icon:before {content: '\e09d'}

.et-social-youtube a.icon:before {content: '\e0a3'}

/* Donation Form */

#donation-form {
    border-radius: 10px;
    padding: 4%;
    background-color:#fff;
    height: auto;
    width: 100%;
}

#donation-form h3 {
    margin-top: 20px;
}

#donation-form .section {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

#donation-form .field {
    border: none;
    height: auto;
    padding-left: 20px;
    width: 100%;
}

#donation-form .field.text, #donation-form .btn-group, #donation-form .captcha, #donation-form .checkbox label, #donation-form .radio label {
    padding-left: 20px; 
}

#donation-form .field.radio, #donation-form .field.checkbox {
    padding: 0;
    width:100%
}

.donation-form .text {
    left: auto;
    position: relative;
    top: auto;
    transform: none;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    color: #666;
    line-height: 26px;
    letter-spacing: .3px;
    font-size: 16px;  
    font-weight: 400;
}

.donation-form .field.other-option, .donation-form .field.other-amount, .donation-form .field.cardExpirationMonth, .donation-form .field.cardExpirationYear {
    display: inherit;
}

.donation-form .field input, .donation-form .field select, .donation-form .field textarea, .donation-form #card-element {
    max-width:none !important;
    width: 96% ;
}

.donation-form .checkbox+.checkbox, .donation-form .radio+.radio {
    margin-top: inherit;
}

.donation-form .label {
    width: auto;
    display: inline-block;
    float: none;
    font-family: 'Open Sans', sans-serif;
    color: #666;
    line-height: 26px;
    letter-spacing: .3px;
    font-size: 16px;
    font-weight: 400;
    padding:0;
    margin:0;
    white-space: inherit;
}

.donation-form .field.radio .label, .donation-form .field.checkbox .label  {
    padding: 6px;
    margin-left: 10px;
}

.donation-form input[type=checkbox], .donation-form input[type=radio] {
    margin: 12px 0 0;
}

.donation-form input[type=text] {
    width:96% !important;
    max-width:none !important;
    font-size: 20px;
    font-weight: 400;
    color: #3f3f3f;
}

.donation-form .btn-group .btn {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1em;
    padding: 10px 20px;
    font-weight: 600;
    margin-top: 15px;
    background-color: #4a90c5;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.donation-form .btn-group  .btn:hover {
    background-color: #015989;
}

.entry-content > .mp_wrapper {
    background: rgba(42,48,119,0.2);
    padding: 2% 5%;
}

.mepr-unauthorized-message,
.mepr-login-form-wrap {
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
}

.sessionbuttons .et_pb_button {
    width: 100%;
}

/* bbPress Forums */
.bbpress.et_right_sidebar #left-area {
    padding-right: 0;
    width: 100%;
}

.bbpress.et_right_sidebar #sidebar,
.bbpress #main-content .container:before {
    display: none;
}

/* MemberPress Account Page */

#mepr-account-nav .mepr-payments {
    display:none;
}


/* Responsive */

@media (min-width: 981px) {
    .sessionbuttons .et_pb_column {
        width: 44.5%;;
    }
    .sessionbuttons .et_pb_column:last-child {
        width: 50%;
    }
}

@media all and (max-width: 980px) {
  .swap_col_order {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
  }

  .first-on-mobile {
    -webkit-order: 1;
    order: 1;
  }

  .second-on-mobile {
    -webkit-order: 2;
    order: 2;
  }

  .swap_col_order:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
  }

  .single-mpcs-lesson.mpcs-classroom  .wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
        width: calc(50% - var(--wp--style--block-gap, .5em)*0.75);
  }
  .entry-content > .mp_wrapper {
    padding-top: 200px;
  }
  .page-id-1345 .entry-content > .mp_wrapper {
    padding-top: 4%;
  }
 
}


@media ( max-width: 767px ) {
    .single-mpcs-lesson.mpcs-classroom  .wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
        width: 100%;
    }
}
