﻿@font-face {
    font-family: 'FuturaMd';
    src: url('/custom_fonts/FuturaMd.eot'); /* IE9 Compat Modes */
    src: url('/custom_fonts/FuturaMd.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/custom_fonts/FuturaMd.woff2') format('woff2'), /* Super Modern Browsers */
    url('/custom_fonts/FuturaMd.woff') format('woff'), /* Pretty Modern Browsers */
    url('/custom_fonts/FuturaMd.ttf') format('truetype') /* Safari, Android, iOS */
}

@font-face {
    font-family: 'FuturaMdBold';
    src: url('/custom_fonts/FuturaMdBold.eot'); /* IE9 Compat Modes */
    src: url('/custom_fonts/FuturaMdBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/custom_fonts/FuturaMdBold.woff2') format('woff2'), /* Super Modern Browsers */
    url('/custom_fonts/FuturaMdBold.woff') format('woff'), /* Pretty Modern Browsers */
    url('/custom_fonts/FuturaMdBold.ttf') format('truetype') /* Safari, Android, iOS */
}

#slider {
    opacity: 1;
    transition: opacity .5s;
}

    #slider.fadeOut {
        opacity: 0;
    }

/* Center image */
.imgcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.PAFPanel {
}

.rpSlide {
    padding:20px;
}

.PAFContainer {
    display: block;
    margin: 0 auto;
    max-width: 800px;
    padding: 0px;
    justify-content: space-between;
    border: 1px solid #000;
}

.PAFFieldContainer {
    width: 94%;
    max-width:800px;
    padding: 5px;
    justify-content: space-between;
}

.flex-child:first-child {
    margin-right: 0px;
} 


.PAFLabel {
    float: left;
    padding: 0px;
    width: 120px;
}

.PAFInput {
    float: left;
    padding: 0px;
    width: 104%;
    margin-bottom: 10px;
}

h2.PAFLabel {
    color: #767676;
    font-family: FuturaMd;
    font-size: 14px;
    text-align: left;
    line-height: 20%;
}

h5.PAFDisclaimer {
    color: #5d7b94;
    font-family: FuturaMd;
    font-size: 15px;
    font-weight: lighter;
    text-align: left;
    line-height: 120%;
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* remove extra space below image */
}

/* Input box */
input.rounded {
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 2px 2px 3px #333;
    -webkit-box-shadow: 2px 2px 3px #333;
    box-shadow: 2px 2px 3px #333;
    font-size: 16px;
    padding: 4px 7px;
    outline: 0;
    width: 98%;
    -webkit-appearance: none;
}


/* Modal window */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    font-family: FuturaMd;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    max-width: 400px;
    width: 80%;
}

.close {
    color: #ff0000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.WelcomeButton {
    float: right;
    max-width:100%;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #2196F3;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btnWelcomeButton {
    width: 464px;
    height: 96px;
}

.clearfix::after { /* clearfix class to expand the element back to its normal height */
    content: '';
    display: block;
    clear: both;
}

@media (max-width: 401px) {
    #paf_header {
        content: url('/custom_images/topics/paf_header_400_2.png');
    }
    .PAFContainer {
        flex-direction: column;
        align-items: center;
    }

    .WelcomeButton {
        max-width: 100%;
        margin-right: 35px;
        border: 1px solid #000;
    }

    .PAFInput {
        float: left;
        padding: 0px;
        width: 98%;
        margin-bottom: 10px;
    }
}

@media (max-width: 321px) {
    #paf_header {
        content: url('/custom_images/topics/paf_header_400_2.png');
    }

    .PAFContainer {
        flex-direction: column;
        align-items: center;
    }

    .WelcomeButton {
        max-width: 80%;
        margin-right: 37px;
    }

    .PAFInput {
        float: left;
        padding: 0px;
        width: 98%;
        margin-bottom: 10px;
    }
}