/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.notification {
    background-color: #333;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
    padding: 10px;
    font-family: "Roboto", Arial, sans-serif;
    margin-top: 15px;
    color: #fff;
    font-weight: 500;
}

.notification.success-message {
    background-color: #54a049;
}

.notification.error-message {
    background-color: #a04949;
}

.notification span {
    display: inline-block;
    vertical-align: middle;
    line-height: 20px;
}

.notification .message-icon {
    padding-right: 5px;
}

.notification .message-icon,
.notification .message-icon svg {
    width: 20px;
    height: 20px;
}

.notification a {
    color: #fff;
}

.notification a:hover {
    color: #fff;
}

.notification.success-message .message-icon svg path {
    fill: #1f5a17;
}

.notification.error-message .message-icon svg path {
    fill: #5a1717;
}

.background-card {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
    padding: 20px;
    font-family: "Roboto", Arial, sans-serif;
    margin-top: 15px;
}

.description {
    font-size: 14px;
    line-height: 22px;
    color: #888;
    font-weight: normal;
    padding-bottom: 15px;
}

.formitem-label {
    font-size: 14px;
    line-height: 22px;
    color: #333;
    font-weight: 500;
    padding: 0 5px;
}

.formitem {
    padding-bottom: 15px;
}

.formitem:last-of-type {
    padding: 0;
}

.formitem .formitem-input input {
    padding: 5px 10px;
    border: 1px solid #E7E7E7;
    border-radius: 5px;
    width: 100%;
}

.formitem .formitem-input textarea {
    padding: 5px 10px;
    border: 1px solid #E7E7E7;
    border-radius: 5px;
    width: 100%;
    min-height: 145px;
}

.miapi-button {
    background-color: #17A8E3;
    color: #fff;
    border: none;
    font: 500 12px "Roboto", sans-serif;
    line-height: 20px;
    padding: 5px 16px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
}

#query-results table {
    width: 100%;
}

.brochure-title {
    display: block!important;
    margin-top: -160px!important;
}

.article-title {
    padding: 30px 0;
}

.medicalbrochure-categories {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.medicalbrochure-categories .medicalbrochure-category {
    width: 25%;
    display: block;
    padding: 0;
    background-size: cover;
    background-position: center;
    margin: 0 0 0;
}

.medicalbrochure-category-text {
    color: #fff;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba {
    background-color: #1e73be;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 12vw;
    overflow: hidden;
    min-width: 20%;
    width: 100%;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba img {
    width: 100%;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba h2 {
    color: #fff;
    font-size: 18px;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    transition: all 0.35s;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    width: 100%;
    margin-left: 0;
    padding: 0;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba:hover h2 {
    margin-top: -45px;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba .et_pb_button {
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    margin-left: 0;
    margin-top: 20px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
}

.medicalbrochure-categories .medicalbrochure-category figure.effect-bubba:hover .et_pb_button {
    margin-top: 0px;
    opacity: 1;
}


/* BROCHURE CUSTOMS */

.brochures.preview {
    margin-bottom: 0!important;
    padding-bottom: 0!important;
}

.brochures.preview .brochure {
    padding-bottom: 60px!important;
    margin-bottom: 0!important;
}

.brochures.preview .brochure .brochure-buttons {
    padding-bottom: 0!important;
}


/* MANIKIN CUSTOMS */

.medicalbrochuremanikin-manikin-container {
    padding-bottom: 60px;
}


/* BROCHURE ARTICLES */

.brochure-articles {
    padding-bottom: 60px;
}

.brochure-articles h2 {
    text-align: center;
    padding-bottom: 30px;
}

.brochure-articles .miapi-cpt-entries {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry {
    width: 25%;
    display: block;
    padding: 0;
    background-size: cover;
    background-position: center;
    margin: 0 0 0;
}

.brochure-articles .miapi-cpt-entry-text {
    color: #fff;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba {
    background-color: #1E78A9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 12vw;
    overflow: hidden;
    min-width: 20%;
    width: 100%;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba img {
    width: 100%;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba h2 {
    color: #fff;
    font-size: 18px;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    transition: all 0.35s;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    width: 100%;
    margin-left: 0;
    padding: 0;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba:hover h2 {
    margin-top: -45px;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba .et_pb_button {
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    margin-left: 0;
    margin-top: 20px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
}

.brochure-articles .miapi-cpt-entries .miapi-cpt-entry figure.effect-bubba:hover .et_pb_button {
    margin-top: 0px;
    opacity: 1;
}


/* RESPONSIVE */

@media screen and (max-width:1280px) {
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba h2 {
        font-size: 16px;
    }
}

@media screen and (max-width:1180px) {
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba h2 {
        font-size: 16px;
    }
    .medicalbrochure-categories .medicalbrochure-category figure figcaption {
        padding: 15px;
    }
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba figcaption::before,
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba figcaption::after {
        top: 15px;
        right: 15px;
        bottom: 15px;
        left: 15px;
    }
}

@media screen and (max-width:1023px) {
    .medicalbrochure-categories .medicalbrochure-category {
        width: 33.333%;
    }
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba {
        margin: 0!important;
        display: block!important;
    }
}

@media screen and (max-width:768px) {
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba h2 {
        font-size: 16px;
    }
    .medicalbrochure-categories .medicalbrochure-category {
        width: 50%;
    }
}

@media screen and (max-width:767px) {
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba h2 {
        font-size: 14px;
    }
    .medicalbrochure-categories .medicalbrochure-category {
        width: 50%;
    }
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba .et_pb_button {
        display: none;
    }
}

@media screen and (max-width:500px) {
    .medicalbrochure-categories .medicalbrochure-category {
        width: 50%;
    }
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba img {
        width: 100%;
    }
    .medicalbrochure-categories .medicalbrochure-category figure.effect-bubba:hover h2 {
        margin-top: 0;
    }
}