/* Add a black background color to the top navigation */
.topnav {
background-color: #333;
min-height: 52px;
position: fixed;
top: 0;
margin-right: auto;
margin-left: auto;
width: 100%;
z-index: 1000;
}

.topnav_wrapper{ 
background-color: #333;
margin-right: auto;
margin-left: auto;
max-width: 600px;
min-height: 52px;
}

/* Style the links inside the navigation bar */
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

/* Add an active class to highlight the current page */
.nav_active {
background-color: #5326b7;
color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
position: relative;
float: left;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
background-color: #555;
color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
background-color: #ddd;
color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
}
.topnav a.icon {
    float: right;
    display: block;
}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {position: fixed;}
.topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
}
.topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
}
}


/* Testimonials */
/* Slideshow container */
.testimonial-container {
    position: relative;
    background: #f1f1f1f1;
    margin:0;
}

/* Slides */
.testimonial-mySlides {
    display: none;
    padding: 80px;
    text-align: center;
}

/* Testimonial Images */
.testimonial-image {
    max-height: 200px;
    height: auto;
    width: auto;
    margin: 15px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Next & previous buttons */
.testimonial-prev, .testimonial-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "prev button" to the left */
.testimonial-prev {
    position: absolute;
    left: 0;
    border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.testimonial-next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.testimonial-prev:hover, .testimonial-next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
}

/* The dot/bullet/indicator container */
.testimonial-dot-container {
    text-align: center;
    padding: 20px;
    background: #ddd;
}

/* The dots/bullets/indicators */
.testimonial-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.testimonial-active, .testimonial-dot:hover {
    background-color: #717171;
}

/* Add an italic font style to all quotes */
q {font-style: italic;}

/* Add a blue color to the author */
.testimonial-author {color: cornflowerblue;}



/* Other custom styles */

.wrapper{ 
    padding: 20px; 
    margin-right: auto;
    margin-left: auto;
    max-width: 600px;
}

.wrapper-nopadding{  
    margin-right: auto;
    margin-left: auto;
    max-width: 600px;
}

.nopadding{
    padding: 0px;
}

.title-row{
    background-color: #dddddd;
    padding-top: 10px;
    padding-bottom: 10px;
}

.title-col{
    padding-left: 10px;
    padding-right: 10px;
}

.srow1{
    background-color: #eeeeee;
}

.srow2{
    background-color: #dddddd;
}

td {
    padding-right: 10px;
}

td[rowspan] {
    vertical-align: top;
    text-align: left;
}



/* Code for labeled checkbox used in credit pages */
.label-checkbox {
    cursor: pointer;
}
    
.label-checkbox input {
position: absolute;
top: 0;
left: 0;
visibility: hidden;
pointer-events: none;
}

.label-checkbox span {
padding: 0px 0px;
border: 1px solid #ccc;
display: inline-block;
color: #202020;
border-radius: 5px;
margin: 0px;
background: #f5f5f5;
user-select: none;
}

.label-checkbox-blue input:checked + span {
background: #0000ff;
color: #ffffff;
}

.label-checkbox-green input:checked + span {
background: #00bb00;
color: #ffffff;
}


/* CSS for AJAX "Please Wait" messagebox */
/* https://stackoverflow.com/questions/1964839/how-can-i-create-a-please-wait-loading-animation-using-jquery */

/* Start by setting display:none to make this hidden.
Then we position it in relation to the viewport window
with position:fixed. Width, height, top and left speak
for themselves. Background we set to 80% white with
our animation centered, and no-repeating */
.modal {
    display:    none;
    position:   fixed;
    z-index:    10000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background-color: rgba( 255, 255, 255, .8 );
    background-image: url('assets/images/FhHRx.gif');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* When the body has the loading class, we turn
the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
modal element will be visible */
body.loading .modal {
    display: block;
}