/***** Pardot Form pages (Demo requests, Trial downloads, Document downloads) *****/

h1 {
    color: #004878;
    font-size: 2.25em;
}
h2 {
    color: #004878;
    font-size: 2em;
}

/*** Main Content ***/

.content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-top: 90px;
    margin: 0 auto 60px;
}

/* Preview */
#preview {
    width: 47.5%;
}
#preview img {
	display: block;
    width: 280px;
	height: auto;
    margin: 2.5rem 0;
}
#preview img.demo {
    border: none;
    width: 80%;
    margin: 0 0 40px;
}
#preview img.doc-thumbnail {
    border: 1px solid #004878;
}
#preview h4 {
    color: #505050;
    font-size: 1em;
}
#preview p {
    margin-top: 10px;
    margin-bottom: 1rem;
}

/* Form */
#form-wrapper {
    box-sizing: border-box;
    background-color: #D9F2FF;
    background-image: url(/Production/media/Image-Library/General/loading.gif);
    background-repeat: no-repeat;
    background-size: 70px 70px;
    background-position: 50% 20%;
	width: 47.5%;
}


/*** Something ***/

#navigation-frame {
    position: relative;
    overflow: hidden;
    height: 330px;
}
#footer-frame {
    position: relative;
    overflow: hidden;
    height: 473px;
}
.nav-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
}


/*** Responsive***/

@media (max-width: 1450px) {
    #preview, #signup-content {
        width: 48%;
    }
}
@media (max-width: 1199px) {
    #footer-frame {
        height: 453px;
    }
}
@media (max-width: 980px) {
    #navigation-frame {
        height: 300px;
    }
    #footer-frame {
        height: 448px;
    }
    h1 {
        text-align: center;
        font-size: 2em;
        margin-bottom: 24px;
    }
    #main .content {
        flex-direction: column;
    }
    #preview, #form-wrapper {
        width: auto;
    }
    #preview .document-desc {
        width: 48%;
    }
	#preview img {
        margin: 24px auto 0;
	}
    #preview img.demo {
        margin: 0 auto 40px;
    }
    #form-wrapper {
        margin-top: 40px;
    }
    #main .leadform {
        margin-top: 24px;
    }
}
@media (max-width: 800px) {
    #footer-frame {
        height: 518px;
    }
}
@media (max-width: 767px) {
    .content {
        padding-top: 40px;
    }
    h2 {
        text-align: center;
    }
    #navigation-frame {
        height: 271px;
    }
    #preview .document-desc {
        width: 66%;
        margin-right: 24px;
    }
    #preview p {
        text-align: center;
    }
    #preview img {
        width: 50%;
	}
    #signup-content p.form-blurb {
        margin-bottom: 24px;
    }
}