body{
//    background-color: #fffaf0;
    background-color: whitesmoke;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

table{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.center{
    text-align: center;
}

.right{
    text-align: right;
}

.left{
    text-align: left;
}

.nav-menu {
    font-size: 20px;
    color: whitesmoke;
    padding-left: 20px;
}

.nav-menu a{
    color: whitesmoke;
    text-decoration: none;
}

.nav-menu a:visited{
    color: whitesmoke;
    text-decoration: none;
}

.border-red{
    border: 1px solid red;
}

.border-yellow{
    border: 1px solid yellow;
}

.lwrapper{
    display: inline-block;
    text-align: left;
    padding-left: 10px;
}

label{
    display: block;
    padding-left: 5px;
    padding-top: 3px;
    font-size: 14px;
}

.text input[type='text'], input[type='password'], input[type='number'], input[type='email']{
    background: #fafafa;
    width:210px;
    border:1px solid #ccc;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    box-sizing:content-box;
    -webkit-box-sizing:content-box;
    font-size: 16px;
    -webkit-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    -moz-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.text select{
    background: #fafafa;
    width:210px;
    border:1px solid #ccc;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    box-sizing:content-box;
    -webkit-box-sizing:content-box;
    font-size: 16px;
    -webkit-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    -moz-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;

}

.button-cool ,
a.button-cool{
    display: inline-block;
    padding: 0.3rem 1.2rem;
    margin: 0 0.1em 0.1em 0;
    border: 0.16em solid rgba(255,255,255,0);
    border-radius: 2em;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', serif;
    font-weight: 300;
    font-size: 1.2rem;
    color:white;
    text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
    text-align: center;
    transition: all .2s;
    cursor: pointer;
}
.button-cool:hover{
    border-color: rgba(0,0,0,1);
}
@media all and (max-width: 30em){
    a.button-cool, .button-cool{
        display: block;
        margin: 0.2em auto;
    }
}

.error {
    color: red;
    background-color: #acf;
}

nav { background: #5d0f0d; }

nav ul {
    font-size: 0;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav ul li a {
    color: #fff;
    display: block;
    font-size: 20px;
    padding: 15px 14px;
    transition: 0.3s linear;
}

nav ul li:hover { background: #126d9b; }

nav ul li ul {
    border-bottom: 5px solid #2ba0db;
    display: none;
    position: absolute;
    width: 175px;
}

nav ul li ul li {
    border-top: 1px solid #444;
    display: block;
}

nav ul li ul li:first-child { border-top: none; }

nav ul li ul li a {
    background: #373737;
    display: block;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
}

nav ul li ul li a:hover { background: #126d9b; }

nav .fa.fa-angle-down { margin-left: 6px; }

.container {
    width: 1000px;
    margin: auto;
}

a { text-decoration: none; }

.padding-5px{
    padding: 5px;
}

.padding-top-10px{
    padding-top: 20px;
}

.header{
    background-color: #5d0f0d;
}

.white{
    color: white;
}

.black{
    color: black;
}

.modal
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    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 */
    padding-top: 60px;
}

.modal-content
{
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
}

/* The Close Button (x) */
.close
{
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus
{
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate
{
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom
{
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom
{
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px)
{
    span.psw
    {
        display: block;
        float: none;
    }
    .cancelbtn
    {
        width: 100%;
    }
}

.imgcontainer
{
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

.admin-main{

}

.admin-main a{
    color: blue;
    text-decoration: none;
}

.admin-main a:visited{
    color: blue;
    text-decoration: none;
}

.admin-main a:hover{
    color: red;
    text-decoration: none;
}

.flex-container{
    flex-direction: row;
    align-items: flex-start;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    width:100vw;
    justify-content: center;
}
.wrap    {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}




div.table {
    display: table;
    font-family: Arial, Helvetica, sans-serif;
    table-layout: fixed;
}

div.tr {
    display: table-row;
}

div.td {
    display: table-cell;
    vertical-align: top;
    padding: 0 5px;
}



#login-main{
    width: 40%;
}

#nav-phone{display: none}
#nav-phone-list{display: none}
.flex-container .main-pic .main-picture{display: none}
.aboutus-index{
    font-size: 18px;
    width: 40%;
    text-align: justify;
    background-color: rgba(0,0,0,.4);
    padding: 0 20px;
    margin-top: 20px;
    color: white;
}

.main-event{
    background-color: rgba(0,0,0,.4);
    color: white;
    margin-top: 20px;
    width: 300px;
}

.main-event-header{
    width: 90%;
    padding: 5px;
    margin: 0 auto;
}

.contact-image-table{
    margin: 20px auto;
}

.contact-image{
    height: 100px;
    margin: 0 auto;
}

.contact-address{
    font-size: 18px;
    width: 40%;
    margin: 0 auto;
}

.contact-form{
    width: 40%;
    margin: 0 auto;
    font-size: 26px;
}

.page-wrap{
    min-height: 100vh;
    position: relative;
}

.footer-menu{
    position: absolute;
    bottom: 0;
    height: 40px;
    background-color: #000000;
    color:white;
    font-size:10px;
    text-align:center;
    width: 100%;
}

.foot-menu a:link{
    color:white;
    text-decoration:none;
}

.footer-menu a:visited{
    color:white;
}

.curriculum-main{
    margin-top: 20px;
}

#cname, #cphone, #cemail{
    width: 300px;
}

#cinterest{
    width: 320px;
    height: 120px;
}

.youth-interns{
    margin-top: 20px;
    font-size: 28px;
}
.re-training{
    margin-top: 20px;
    font-size: 28px;
}
.student-resources{
    margin-top: 20px;
    font-size: 28px;
}
.students-current{
    margin-top: 20px;
    font-size: 28px;
}
.students-new{
    margin-top: 20px;
    font-size: 28px;
}
.faculty-pic{
    margin-top: 20px;
    font-size: 14px;
    width: 20%;
    vertical-align: top;
    text-align: center;
    padding: 5px;
}
.faculty-info{
    margin-top: 20px;
    vertical-align: top;
    font-size: 16px;
    width: 50%;
    text-align: left;
    padding: 5px;
}
.faculty-spacer{
    width: 60%;
    padding-top: 10px;
    color: #5d0f0d;
}
.main-flex{
    justify-content: space-evenly;
}
.page-title{
    width: 100%;
    font-size: 34px;
    text-align: center;
    margin-top: 20px;
}
.page-title-ftca{
    color: #5d0f0d;
}
.nav-name{
    font-size: 28px;
}

*{
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .nav-name{
        font-size: 16px;
        color: white;
    }
    .page-title{
        font-size: 20px;
    }
    #nav-comp{display: none;}
    #nav-phone{display: block;}
    #nav-phone-list{
        display: none;
        width: 40%;
        float: right;
        background: #5d0f0d;
        color: white;
        position: relative;
        z-index: 9999;
        padding: 5px;
    }
    #nav-phone-list ul{
        background: #5d0f0d;
        list-style: none;
        padding: 8px 0;
        padding-bottom: 200px;
        margin: 0 auto;
        font-family: Arial, Helvetica, sans-serif;
        color: white;
        text-align: left;
        padding-left: 10px;
        position: absolute;
        cursor: pointer;
        font-size: 12px;
        width:100%;
        z-index: 1001;
    }

    #nav-phone-list ul a{
        color: white;
        text-align: left;
        width: 90%;
    }

    .aboutus-index{
        order: 1;
        font-size: 14px;
        width: 80%;
        text-align: justify;
    }
    .main-event{
        order: 2;
        width: 90%;
    }
    .main-event-header{
        width: 90%;
        margin: 0 auto;
        padding: 5px;
    }

    #login-main{width: 80%}
    .flex-container .contact-address{
        width: 90%;
    }
    .flex-container .contact-form{
        width: 90%;
        margin-top: 20px;
        font-size: 28px;
    }

    #cname, #cphone, #cemail{
        width: 200px;
    }
    #cinterest{
        width: 220px;
        height: 120px;
    }
    .flex-container .contact-image{
        height: 50px;
        margin: 20px auto;
    }
    .flex-container .curriculum-main{
        width: 90%;
        font-size: 14px;
    }
    .footer-menu{
        bottom: -60px;
    }
    .faculty-pic{
        width: 90%;
    }
    .faculty-info{
        width: 90%;
    }
    .faculty-spacer{
        width: 80%;
    }
    .footer-menu{
        font-size: 10px;
    }
}
