.documents {
    margin-right: -40px;
    margin-left: -40px;

    .document {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 40px;
        margin-bottom: 50px;
        padding-right: 40px;
        padding-left: 40px;

        &.left {
            margin: 0 auto 50px 0;
        }
        &.center {
            margin: auto auto 50px;
        }
        &.right {
            margin: 0 0 50px auto;
        }

        .document-container {
            background: #FFFFFF;
            box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
            flex-grow: 1;

            .document-video {
                iframe {
                    width: 100%;
                    height: 350px;
                    padding: 40px 40px 0;
                }
            }

            .document-image {
                padding: 40px 40px 0;
                width: auto;
                height: 100%;
                max-height: 350px;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            .document-thumbnail {
                width: 100%;
                height: auto;
                max-height: 206px;
                overflow: hidden;
                background: linear-gradient(180deg, rgba(74, 79, 84, 0.11) 0%, rgba(110, 111, 114, 0.81) 100%);

                img {
                    width: 100%;
                }
            }

            .document-info {
                width: 100%;
                padding: 40px;
                flex-grow: 1;

                .document-title {
                    font-size: 28px;
                    font-weight: 400;
                    margin-bottom: 5px;
                }

                .document-subtitle {
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 5px;
                }

                .document-author {
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 5px;
                }

                .document-summary {
                    font-size: 18px;
                    font-weight: 400;
                    margin-bottom: 5px;
                }

                .document-journal {
                    font-size: 18px;
                    font-weight: 700;
                    margin-bottom: 5px;
                }

                .document-date {
                    font-size: 18px;
                    font-weight: 400;
                    margin-bottom: 5px;
                }

                .document-ctas {
                    display: flex;

                    &.row {
                        margin: auto;
                    }
                    
                    &.left {
                        justify-content: left;
                    }

                    &.center {
                        justify-content: center;
                    }

                    &.right {
                        justify-content: right;
                    }

                    .document-cta {
                        font-size: 20px;
                        font-weight: 700;
                        text-align: center;
                        text-transform: uppercase;
                        border-radius: 30px;
                        padding: 8px 33px;
                        margin-top: 17px;
                        margin-right: 13px;
                        width: 200px;
                        min-width: 200px;
                        max-width: 200px;

                        background: var(--primary-color);
                        background-image: var(--background-gradient-primary);
                        background-size: 300% 100%;
                        border: 0;
                        border-radius: 3rem;
                        color: #fff;
                        cursor: pointer;
                        display: inline-block;
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 1;
                        padding: 0.75rem 2rem;
                        text-align: center;
                        text-decoration: none;
                        text-transform: uppercase;
                        transition: all 0.15s ease-in;
                        box-shadow: 3px 0 5px rgba(var(--color-neutral-black), .2);

                        &.blue {
                            background: var(--color-brand-blue-dark);
                        }

                        &:hover {
                            cursor: pointer;
                            background-position: 100% 0;
                            /*box-shadow: 3px 0 5px rgba(0 0 0 / 20%);*/
                            color: #fff;
                            text-decoration: none;
                            transition: all .4s ease-in-out;
                            box-shadow: 3px 0 5px rgba(var(--color-neutral-black), .2);

                            &.blue {
                                background: #164558;
                            }
                        }
                    }

                    .document-cta.border {
                        font-size: 14px;
                        font-weight: 700;
                        text-align: center;
                        text-transform: uppercase;
                        text-decoration: none;
                        background: #fff;
                        border: 2px solid var(--border-document-cta);
                        border-radius: 30px;
                        padding: 10px 33px 8px;
                        margin-top: 17px;
                        margin-right: 13px;
                        width: 200px;
                        min-width: 200px;
                        max-width: 200px;

                        a,
                        a[href$=".pdf"][target="_blank"],
                        a[target="_blank"] {
                            color: var(--primary-color);
                            text-decoration: none;

                            &:hover {
                                cursor: pointer;
                                color: #fe8f3f;
                            }
                        }

                        &:hover {
                            cursor: pointer;
                            box-shadow: 3px 0 5px rgba(var(--color-neutral-black), .2);
                            color: #fe8f3f;
                            border: 2px solid #fe8f3f;
                        }
                    }

                    a[href$=".pdf"][target="_blank"],
                    a[target="_blank"] {
                        color: #fff;
                        text-decoration: none;
                        background-image: none;
                        padding-right: 0;
                    }
                }
            }
            
        }

        .border-bottom {
            height: 10px;
            width: 100%;
            position: relative;
            background: #F4F4F4;

            &.color-orange {
                background: var(--background-gradient-color-orange);
            }

            &.color-gray {
                background: #F4F4F4;
            }

            &.color-blue {
                background: var(--color-brand-blue-dark);
            }
        }
    }
}

.document-container {
    display: flex;
	@media screen and (max-width: 700px) {
		flex-direction: column;
	}
}