@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700');

@media only screen and (min-width: 700px) 
{
	body, button
	{
		font-size: 19px;
	}
}
.exam_text
{
	white-space: pre-wrap;
}
body
{
	margin: 0px;
	font-family: 'Source Sans Pro', sans-serif;
}
h1
{
	font-size: 24px;
}
a
{
	color: #1e7b85;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}
form
{
	margin: 0px;
}
input[type=button], 
input[type=submit]
{
	cursor: pointer;
}
input
{
	background-color: honeydew;
}
label
{
	font-weight: bold;
}
#margined
{
	width: 75%;
	max-width: 1000px;
	margin: 0px auto;
}
@media(max-width:400px) 
{
	#margined
	{
		width: 90%;
	}
}
.centered
{
	text-align: center;
}
.error_message{
	color: #b31e30;
	font-size: 14px;
}
.confirmation_message{
	color: green;
	font-size: 14px;
}
.hidden{
	display: none;
}
.flex_container{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.flex_half
{
	flex: 50%
}
.flex_equal
{
	-webkit-flex: 1 1 auto; /* Safari 6.1+ */
	-ms-flex: 1 1 auto; /* IE 10 */
	flex: 1 1 auto;
}
img
{
	max-width: 100%
}

#parent_of_exam_preview_sections, 
#parent_of_related_results_sections
{
	text-align: center;
	margin-top: 100px;
}
h1.exam_links_header
{
	text-align: center;
	margin-top: 80px;
	color: black;
}
@media(min-width:1200px) 
{
	.link_to_another_exam
	{
		display: inline-block; 
	}
}
.three_exam_links{
	display: inline-block;
}
.link_to_another_exam{
	max-width: 300px;
	box-sizing: border-box; 
	margin: 20px;
	vertical-align: top;
}
.link_to_another_exam a{
	text-decoration: none;
}
.link_to_another_exam div{
	font-size: 2px;
}
.clear{
	clear: both;
}

.preview_image
{
	max-width: 300px;
	width: 100%;
	border: 1px solid lightgray;
	height: 200px;
	object-fit: cover;
}
#payment_confirmation_page #margined
{
	text-align: center;
	margin-top: 80px;
	margin-bottom: 200px;
}

/* Search results page */
#search_metadata{
	margin: 60px 0px 10px 0px;
}
#search_term_as_title{
	font-size: 22px;
	font-weight: 700;
	padding-right: 5px;
	color: #000514;
}
#number_of_results{
	color: #57617a;
	font-size: 14px;
	font-weight: 400;
}
#search_results a, body#page_that_lists_all_exams #output a{
	display: inline-block;
	margin-top: 10px;
}

.panel
{
	max-height: 0px;
	overflow: hidden;
	//transition: max-height 0.2s ease;
}
.end_of_section
{
	height: 1.5em;
}


.form-container
{
    width: 300px;
    margin: 0 auto;
    text-align: center;
}
.form
{
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}
.form-group
{
    margin-bottom: 15px;
}
.form-group label
{
    display: block;
    text-align: left;
}
.form-group input
{
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-group button,
input[type=submit],
button
{
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.start-button
{
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}
.form-group button:hover,
.form-group input[type=submit]:hover,
button
{
        background-color: #0056b3;
}
#error-message
{
        color: red;
}
#success-message
{
        color: green;
}
.shake
{
        animation: shake 0.5s;
}
@keyframes shake
{
        0%   {transform: translateX(0)}
        25%  {transform: translateX(10px)}
        50%  {transform: translateX(-10px)}
        75%  {transform: translateX(10px)}
        100% {transform: translateX(0)}
}

.success_box
{
        border: 1px solid darkgreen;
}
.error_box
{
        border: 1px solid darkred;
}
.success_box, 
.error_box
{
        margin: 50px 0px;
        padding: 5px 20px;
        align-items: center;
        border-radius: 4px;
}
.success_box_title
{
        color: darkgreen;
}
.error_box_title
{
        color: darkred;
}
.success_box_title, 
.error_box_title
{
        display: flex;
        align-items: center;
        justify-content: left;
}

