
#mainContent {
	display:grid;
	grid-template-columns: minmax(0,320px) auto;
	grid-template-areas: 	"details text";
    gap: 15px;
    margin: 1em 3em;

}

.pageDetails {
    grid-area:details;
    padding-left:30px;
}

h2.pageTitle {
    font-family: zubajda;
    color: #350000;
    margin:10px 0 20px 10px;
    font-size: 2.5em;
    font-weight: normal;
}

.singleCardDisplay {
    margin-top:15px;
}

    .singleCardDisplay img {
        width:90%;
		transform: rotate(-4deg);
		filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.5));

    }

    .activePage {
        color: #350000 !important;
    }

.content {
    
    display:flex;
    flex-direction: column;
    grid-area: text;
}

.secondaryContent {
    display:flex;
    width:100%;

}

.contentText, .formContainer {
    flex: 1; /* tells the container to fill all space down to the next element (grow) */
	width: 100%;
	display: flex;
	flex-direction: column;
	z-index: 50;
	position: relative;

    margin: -15px -15px 0 -15px;
    padding: 30px;
    min-height: 430px;

}

.contentText {
    background-image:url('./../images/parchment5.png');
    background-repeat: repeat;
    border-radius: 20px;
}

    .contentText > h2 {
        font-family: zubajda;
        color: #a88328;
        font-style: normal;
        font-weight: normal;
        font-size:2.5em;
        margin:0;
    }

    .contentText > p {
        font-family:cafeteria;
        font-weight: normal;
        font-size:1.4em;
        color: #250000;
        margin-bottom: 0;
        line-height: 110%;
    }

	.bold {
		font-weight: bold;
	}

	.contentText sup, .formContainer sup {
		font-size:.5em;
	}

    .formContainer > h2 {
        font-family: zubajda;
        color: #350000;
        font-style: normal;
        font-weight: normal;
        font-size:2.5em;
        margin:0;
    }

    .formContainer > p {
        font-family:cafeteria;
        font-weight: normal;
        font-size:1.4em;
        color: #250000;
    }

.parchment-border-right, .parchment-border-left {
    width:30px;
	background-size: 30px auto;
	margin-top: -30px;
    margin-bottom: -15px;
	padding: 0;
	background-repeat: repeat-y;
    position: relative;
}

.parchment-border-top, .parchment-border-bottom {
    position: relative;
    height: 30px;
	background-size: auto 30px;
	flex-shrink: 0;
	background-repeat: repeat-x;
    margin-right:10px;
    margin-left:5px;

}

	.parchment-border-top {
        background-image: url('./../images/parchment-border-4.png');
        
        background-position: 0 100%;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 20px;
        
    }

	.parchment-border-right {
        background-image: url('./../images/parchment-border-3.png');
        background-position: 0 0;
        right:0;
        /*
        border-bottom-right-radius: 10px;
        */
    }
	
	.parchment-border-bottom {
        background-image: url('./../images/parchment-border-1.png');
        background-position: 0 0;
        bottom:15px;
        left:5px;
        
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        
	}

	.parchment-border-left {
        background-image: url('./../images/parchment-border-2.png');
    	background-position: 100% 0;
	    left: 0;
        /*
        border-bottom-left-radius: 10px;
        */
	}


@media screen and (max-width: 799px) {
    .singleCardDisplay {
        display:none;
    }

    #mainContent {
        display:block;
    }

    .pageTitle {
        display:none;
    }

}
