*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.top-nav{
    display: flex;
    justify-content: space-between;
    padding: 30px;
}
.logo{
    display: flex;
    align-items: center;
}
.nav-links{
    display: flex;
    align-items: center;
}
.links{
    margin-right: 20px;
}
.medial-icons li{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #a81d36;
    color: white;
    text-align: center;
    padding: 7px;
    cursor: pointer;
}
.top-nav li{
   display: inline-block;
   list-style: none;
   margin-right: 5px;
}
.first-link{
    border-right: 1px solid gray;
    padding-right: 10px;
}
.middle-nav{
    padding: 20px 20px 45px;
    background: linear-gradient(90deg, #3094a5 0%,#1a5f89 100%);
}
.middle-nav div{
    display: flex;
    align-items: center;
}
.middle-nav img{
    width: 45%;
    border-radius: 20px;
}
.middle-nav div h2{
    color: white;
    margin-left: 40px;
    font-size: 50px;
}
.bottom-nav{
    box-shadow: 0px -5px 5px 0px rgba(0,0,0,0.3);
    top: -50px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    width: calc(100% - 20px);
    margin: 0 auto;
    display: block;
    max-width: 1085px;
    position: relative;
    top: -40px;
    background: #fff;
    padding: 25px 7px;
}
.row1{
    display: flex;
    padding-top: 0;
    max-width: 970px;
    margin: 0 auto;
    align-items: center;
}
.row1 h2{
    display: block;
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    color: #a81d36;
    margin: 0 30px 8px 0;
}
.row1 div{
width: 35%;
margin-right: 15%;
}
.row1 label{
    margin-bottom: 3px;
}
.row1 input{
    background: #f8f8f8;
    width: 100%;
    border-radius: 10px;
    color: #5a5a5a;
    padding: 0 0 0 10px;
    border: 1px solid #d2d2d2;
    height: 40px;
    font-size: 13px;
    font-weight: 700;
    outline-offset: -2px;
}
.menu-buttons{
    text-align: center;
    float: right;
}
.search{
    margin: 0 0 0 4px;
    width: 128px;
    margin: 0 4px;
    border-color: #a81d36;
    color: #fff;
    background: #a81d36;
    
}
.all-jobs{
    border-color: #a81d36;
    color: #a81d36;
}
.search, .all-jobs{
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 40px;
    font-size: 16px;
    text-align: center;
    padding: 0 25px;
    line-height: 36px;
}
.row2{
    z-index: 1;
    text-align: center;
    position: relative;
    margin-top: 25px;
}
.row2 button{
    color: #007899;
    border: 2px solid #007899;
    display: inline-block;
    border-radius: 40px;
    padding: 8px 20px;
    text-decoration: none;
}
/* a {
    color: #a81d36;
    text-decoration: none;
} */
main {
    overflow: visible;
    width: 100%;
    margin: 0 auto;
}
.main-content{
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    overflow: auto;
}
.right-content{
    padding: 45px;
    border-radius: 10px;
    background: #f8f8f8;
    margin: 0 auto 30px;

}
.right-content h1, .right-content h3{
    color: #a81d36;
    line-height: 1;
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 20px;
}
.right-content h3{
    font-size: 26px;
}
.right-content p{
    clear: both;
    margin-bottom: 20px;
    font-family: "Helvetica","Arial",sans-serif;
}
@media screen and (min-width: 50em){
.right-content p {
    line-height: 30px;
}
}
@media screen and (min-width: 800px){
.right-content {
    margin-bottom: 90px;
}
}
@media screen and (min-width: 800px){
.right-content h1 {
    font-size: 48px;
}
}
.heading{
    display: flex;
    align-items: center;
}
.heading img{
    margin: 5px;
    float: left;
    width: 60px;
    height: auto;
    border-radius: 10px;
}
.heading p{
    margin-bottom: 0;
}
.heading a{
    color:#a81d36;
}
.ancc-info{
    display: flex;
}
.ancc-info img{
    margin: 5px;
    /* float: right; */
    width: 120px;
    height: 80px;
}
.team-members{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.team-members div{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}
.team-members img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: block;
}
.team-members p{
    margin-top: 5px;
}
.dates{
    background-color: #8666ac;
    width: 80%;
    border-radius: 1em;
    padding: 1em;
    color: white;
    margin-top: 2em;
    margin-bottom: 2em;
    min-width: 300px;
}
 h2{
    line-height: 1;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 5px;
}
 p{
    margin-bottom: 20px;
}
.dates button{
    font-weight: bold;
    border-radius: 40px;
    font-size: 16px;
    text-align: center;
    padding: 0 25px;
    line-height: 36px;
    margin: 0 4px;
    color: #fff;
    background-color: #a81d36;
    text-transform: uppercase;
    margin-bottom: 1em;
    border-color:#a81d36;
}
.requirements ul{
    margin: 20px 0 30px 20px;
}
main li{
    padding-bottom: 10px;
}
main ol{
    margin: 20px 0 30px 20px;
}
.templates{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.templates div{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.3333%;
}
.templates img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
}
.templates p{
    margin-top: 5px;
}
.question{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.questions h3{
    margin: 0px;
    padding: 20px 6% 20px 20px;
    border-top: solid 1px #efefef;
    position: relative;
    font-size: 19px;
    color: #a81d36;
    line-height: 1;
    font-weight: 700;
}
.fa-angle-down{
    color:#a81d36;
}
.answer{
    padding: 10px 35px;
    background-color: #efefef;
}
.visit{
    color:#a81d36;
}
.hide{
    display: none;
}
/* .programs h2{
    font-size: 28px;
} */
/* .programs p{
    clear: both;
    margin-bottom: 20px;
} */

.pb-side{
    font-family: "Nunito Sans","Arial","Helvetica",sans-serif;
}
#cms-created-page-modules {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    max-width: calc(1140px + 15px*2);
    margin: 0 auto;
}
#cms-created-page-modules>section, #cms-created-page-modules>form, #cms-created-page-modules>article, #cms-created-page-modules>div {
    width: calc(100% - 15px*2);
    word-wrap: break-word;
    margin: 0 auto 30px;
}
@media screen and (min-width: 800px){
#cms-created-page-modules {
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    margin-top: 30px;
}
}
@media screen and (min-width: 800px){
.pb-right .pb-side #cms-created-page-modules>section, .pb-left .pb-side #cms-created-page-modules>section, .pb-right .pb-side #cms-created-page-modules>form, .pb-left .pb-side #cms-created-page-modules>form, .pb-right .pb-side #cms-created-page-modules>article, .pb-left .pb-side #cms-created-page-modules>article, .pb-right .pb-side #cms-created-page-modules>div, .pb-left .pb-side #cms-created-page-modules>div {
    flex: initial;
    margin: 0 0 0.5em 0;
}
}
#cms-created-page-modules>section, #cms-created-page-modules>form, #cms-created-page-modules>article, #cms-created-page-modules>div {
    width: calc(100% - 15px*2);
    word-wrap: break-word;
    margin: 0 auto 30px;
}
.form-instructions{
    margin-bottom: 25px !important;
    margin-top: 30px !important;
}
#cms-created-page-modules .data-form {
    color: #fff;
    background: linear-gradient(90deg, #3094a5 0%,#1a5f89 100%);
}

@media screen and (min-width: 800px){
#cms-created-page-modules .social-media, #cms-created-page-modules #social-share, #cms-created-page-modules .profile-module, #cms-created-page-modules #map-module, #cms-created-page-modules .event-module, #cms-created-page-modules .job-list, #cms-created-page-modules .data-form, .pb-primary #cms-created-page-content {
    padding: 45px;
}
}
#cms-created-page-modules .profile-module, #cms-created-page-modules #map-module, #cms-created-page-modules .event-module, #cms-created-page-modules .job-list, #cms-created-page-modules .data-form, .pb-primary #cms-created-page-content {
    border-radius: 10px;
}
.data-form {
    position: relative;
    z-index: 1;
}

#cms-created-page-modules .media-module span, #cms-created-page-modules .social-media h2, #cms-created-page-modules .social-share h3, #cms-created-page-modules #map-module p b, #cms-created-page-modules .event-module .event-name, #cms-created-page-modules .job-list h3, #cms-created-page-modules .data-form .form-display-heading {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 20px;
}

@media screen and (min-width: 50em){
#content p {
    line-height: 30px;
}
}
#content p {
    font-family: "Helvetica","Arial",sans-serif;
}
.data-form p {
    margin: 10px 0;
}
.data-form .form-field {
    margin: 0 0 1.5em;
}
#cms-created-page-modules .data-form label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
#cms-created-page-modules .data-form input:not([type="submit"]):not([type="file"]), #cms-created-page-modules .data-form select, #cms-created-page-modules .data-form textarea {
    background: #f8f8f8;
    width: 100%;
    border-radius: 10px;
    color: #5a5a5a;
    padding: 0 0 0 10px;
    border: 1px solid #d2d2d2;
    height: 40px;
    font-size: 13px;
    font-weight: 700;
}
.data-form input[type="file"] {
    padding: 3px 0;
}
.data-form fieldset {
    border: 0;
    padding: 0;
}
.data-form .instruction-text {
    font-size: .92em;
}
[hidden] {
    display: none;
}
button, input, optgroup, select, textarea {
    font: inherit;
    margin: 0;
}
 .keyword-add {
    border-color: #fff;
    color: #fff;
    float: right;
    margin: 10px auto 0;
}
#cms-created-page-modules .job-list>a, #cms-created-page-modules .data-form .submit input[type='submit'], #cms-created-page-modules .data-form .submit button, #cms-created-page-modules .keyword-add {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 40px;
    font-size: 16px;
    text-align: center;
    background-color: transparent;
    padding: 0 25px;
    line-height: 36px;
    border: 2px solid #fff;
}
button, html [type="button"], [type="reset"], [type="submit"] {
    cursor: pointer;
}
button, input {
    overflow: visible;
}
.data-form .gdpr-eu-tmp-notice {
    margin: 0 auto 25px;
}
#cms-created-page-modules .data-form a {
    color: #fff;
}
.data-form .gdpr-eu-tmp-notice a {
    text-decoration: underline;
}
a {
    background-color: transparent;
}
#cms-created-page-modules .data-form .submit input[type='submit'], #cms-created-page-modules .data-form .submit button {
    border-color: #fff;
    color: #fff;
    max-width: 160px;
}
#cms-created-page-modules .job-list>a, #cms-created-page-modules .data-form .submit input[type='submit'], #cms-created-page-modules .data-form .submit button, #cms-created-page-modules .data-form[data-form-type="Job Alert"] .keyword-add {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 40px;
    font-size: 16px;
    text-align: center;
    background-color: transparent;
    padding: 0 25px;
    line-height: 36px;
}
.data-form input[type='submit'] {
    width: 100%;
    display: block;
}
.submit-btn:hover, button:hover{
    background-color: lightgray !important;
    color: black !important;
    border-color: lightgray !important;
}
.error-first, .error-last, .error-email{
    color: red;
}
@media screen and (min-width: 50em){
.footer {
    font-size: 16px;
    padding: 45px 0;
}
}
.footer{
    text-align: center;
    width: calc(100% - 15px*2);
    margin: 0 auto;
    display: block;
    max-width: 1140px;
}
.footer p{
    color: #555;
    margin-top: 15px;
}
.footer ul{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}
.footer li{
    border-right: 1px solid gray;
    margin: 7px;
    padding-right: 10px;
}
.footer li:last-child{
    border-right: none;
    padding-right: 0;
}
.footer li a{
    color: black;
    text-decoration: none;
}
.footer li a:hover{
    text-decoration: underline;
}
@media screen and (min-width: 1250px){
     .main-content{
        display: grid;
        grid-template-areas: "left right";
     }
     .left-content{
        grid-area: left;
        margin-top: -30px;
        width: 350px;
        margin-right: 60px;
     }
     .right-content{
        grid-area: right;
     }
}