/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Reston Tech Wiz
 Author URI:     https://www.restontechwiz.com/
 Template:       Divi
 Version:        1.0.0
*/

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

.single-course h1:before {
    display: none !important;
}

.btn.btn-side-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.course-item-invoice .course-item-data li span {
    margin-bottom: 0;
}

.course-item.course-item-sm.course-item-invoice {
    padding: 15px 0;
}

.course-item-invoice .view-invoice {
    text-decoration: underline;
    font-family: 'Adelle Bold';
    font-size: 21px;
    color: #003c71;
}

.course-item-invoice .view-invoice span {
    text-decoration: underline;
    display: inline-block;
    margin-left: 15px;
}

.course-item-invoice .view-invoice i {
    color: #47b6c9;
    margin-top: 0 !important;
}

.mids-drop-wrap {
    display: none;
    padding: 50px 0;
}

.mids-drop-wrap.active {
    display: block;
}

.form-group label.label-p {
    font-family: 'Adelle';
    font-size: 18px;
    margin-bottom: 0;
}

.mids-checkbox.required {
    padding: 10px;
    border: 2px solid #d90429;
}

.form-group .mids-checkbox.required label.label-p {
    color: #47b6c9;
}

.testimonial-slide-box {
    height: 100%;
    min-height: 500px;
    padding: 10%;
}

.featured-slide .featured-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

#videosection {
    max-height: 600px;
    height: 600px;
}

#videobackground .et_pb_code_inner {
    position: absolute;
    max-height: 600px;
    height: 600px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#videobackground .et_pb_code_inner .nk-awb {
    height: 100%;
}

#videofront {
    position: absolute;
    top: 50%;
    /** This should be the same height as your header **/
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
}

@media (max-width: 768px) {
    #post-929 h5 {
        font-size: 21px !important;
    }
}

/** This should be fix the spacing for h2 titles **/
.single-course h2 {
    padding-bottom: 15px !important;
}

@media (max-width: 1400px) {
}

.single #secondary {
    display: none;
}

.widget-area .mc4wp-response {
    font-family: 'Open Sans', Arial, sans-serif;
    margin-top: 25px;
}

.widget-area .mc4wp-response .mc4wp-alert {
    padding: 20px 15px;
}

.widget-area .mc4wp-response:empty {
    display: none;
}

.widget-area .mc4wp-form-fields button[type='submit'] {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 15px 25px;
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Adelle Bold', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    color: white;
}

.widget-area .mc4wp-form-fields button[type='submit']:before {
    display: none !important;
}

.widget-area .mc4wp-form-fields button[type='submit']:after {
    content: url(assets/img/sent-mail.svg);
    position: relative;
    top: 5px;
    width: 25px;
    margin-left: 20px;
    color: #fff;
}

.widget-area input[type='text'],
.widget-area input[type='email'] {
    width: 100%;
    height: auto !important;
    padding: 15px 25px !important;
    text-indent: 0 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

/* Blog sidebar */
@media (min-width: 1024px) {
    .single #left-area {
        width: 64%;
    }

    .single #secondary {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        width: 30%;
        max-width: 300px;
    }

    .single #main-content #content-area {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .single #secondary .widgettitle {
        color: #052e5c;
        margin-bottom: 10px;
    }

    .single #secondary .widgettitle:after {
        content: 'Join other maritime industry leaders who get the latest maritime news and resources to their inbox.';
        display: block;
        font-size: 15px;
        font-family: 'Open Sans', Arial, sans-serif;
        line-height: 1.4em;
        font-weight: 400;
        color: gray;
        margin-top: 10px;
    }

    .single #secondary input {
        padding: 10px;
        height: 50px;
        border: solid 1px #e2e2e2;
    }

    /* .single #secondary .mc4wp-form-fields button[type="submit"] {
		height: 50px;
		width: 50px !important;
	} */

    .single #secondary > div {
        margin-bottom: 20px;
        border: solid 1px #efefef;
        width: 100%;
        padding: 20px;
    }

    .single #secondary > div:first-child {
        margin-bottom: 40px;
    }

    .single #secondary > div:last-child {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .single #secondary > div:last-child:before {
        content: 'Share this article';
        display: block;
        width: 100%;
        font-family: 'Adelle Bold';
        font-size: 22px;
        color: #052e5c;
        margin-bottom: 10px;
    }

    .single #secondary > div > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .single #secondary > div > div a {
        background-color: #d90429;
        display: block;
        width: 36px;
        height: 36px;
        margin-right: 10px;
        border-radius: 50px;
    }

    .single #secondary > div > div a:hover svg {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    .single #secondary > div > div a div {
        padding: 4px;
    }

    .single #secondary > div > div a div svg {
        fill: white;
        -webkit-transition: ease-in-out 0.2s;
        -o-transition: ease-in-out 0.2s;
        transition: ease-in-out 0.2s;
    }

    .mc4wp-response .mc4wp-alert {
        background-color: #e05b00;
        font-size: 14px;
        line-height: 1.4em;
    }
}

/* Course Form */

.course-form {
    font-size: 16px;
    background-color: #052e5c;
    padding: 70px 150px 70px 150px;
}

.course-form h3 {
    color: #fff;
}

.course-form label {
    color: #fff;
    width: 49%;
    display: inline-block !important;
    margin-bottom: 1%;
}

@media (max-width: 767px) {
    .course-form {
        width: 100%;
        padding: 50px 50px 50px 50px;
    }

    .course-form wpcf7-form-control wpcf7-submit {
        width: 100%;
    }
}

.wpcf7 .wpcf7-form label,
#contact-p label {
    width: 100% !important;
}
.wpcf7 .wpcf7-form label:not(:nth-child(2n)),
#contact-p label:not(:nth-child(2n)) {
    margin-right: 0 !important;
}
