/*-=Small screens=-*/
@media only screen and (max-width: 450px) {
    .blog-header-inline .breadcrumbs{
        margin-top: 30px;
    }
    .personal-page .person {
        padding: 20px;
        padding-right: 20px;
        padding-top: 160px;
        background-position: top center;
        -webkit-background-size: auto 150px;
             -o-background-size: auto 150px;
                background-size: auto 150px;
    }
}
@media only screen and (max-width: 640px) {
    /* TOP BAR Mobile STYLING */
    .top-bar {
        height: auto;
        background: #0095DA;
        /* change background color if you need */
    }

    .top-bar-section ul li > a {
        font-family: "Open Sans", sans-serif;
        color: white;
        /* change color of text if you need */
        font-size: 13px;
        background: #0095DA;
        /* change background color if you need */
    }

    .top-bar-section ul li:hover > a {
        background: #007ab7 !important;
        /* change background color if you need */
    }

    .top-bar-section ul li.current-menu-item > a:not(.button), .top-bar-section ul li.current-page-ancestor > a:not(.button) {
        background: #009cea !important;
        /* change background color of current menu item if you need */
    }

    .top-bar-section .menu {
        display: none;
    }

    .top-bar-section .dropdown {
        clip: auto;
        height: auto;
        display: none;
        width: 100%;
        position: static !important;
    }

    .top-bar-section .dropdown > li a {
        padding-left: 30px;
    }

    .top-bar-section .dropdown-toggle + a {
        padding-right: 30px;
    }

    .top-bar-section .has-dropdown > a:after {
        display: none;
    }

    .top-bar-section ul li.has-dropdown a.dropdown-toggle {
        display: block;
        position: absolute;
        width: 25px;
        height: 44px;
        right: 0;
        top: 0;
        color: #fff;
        z-index: 100;
        text-align: center;
    }

    .top-bar-section ul li.has-dropdown a.dropdown-toggle i.fa {
        font-size: 13px;
        line-height: 1;
        height: 13px;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    .top-bar.expanded .opnd > .dropdown-toggle i.fa {
        -ms-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .top-bar.expanded .title-area {
        background: #0095DA;
    }

    .top-bar.expanded .toggle-topbar a {
        color: #fff;
    }

    .top-bar.expanded .toggle-topbar a span {
        box-shadow: none !important;
    }

    .top-bar.expanded .toggle-topbar a span:after {
        box-shadow: 0 0 0 1px #fff, 0 7px 0 1px #fff, 0 14px 0 1px #fff;
    }

    .fn-services .fn-services-ico-container {
        margin-top: 25px;
    }

    #searchform {
        max-width: 100%;
    }

    #s {
        max-width: 66%;
        float: right;
    }

    .header {
        height: auto;
    }

    .header .top-bar {
        padding-right: 0;
    }

    .top-bar {
        width: 100%;
    }
    .row.small-collapse>.column, .row.small-collapse>.columns {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .header i {
        font-size: 13px;
        position: static;
        float: right;
        padding: 0 10px;
        margin-top: -10px;
        line-height: 28px;
    }
    .header .top-bar-section .menu i {
        background-color: #1389c1;
        -webkit-border-radius: 6px;
                border-radius: 6px;
        margin: 0 8px;
        margin-top: 9px;
    }
    .fn-project-head {
        height: 70vh;
    }

    .fn-project-head .fn-baloon {
        padding: 20px 30px 40px;
    }

    .fn-project-head .fn-baloon h3 {
        font-size: 33px;
    }

    .fn-project-head .fn-baloon p {
        font-size: 25px;
    }

    .top-bar-section .menu {
        text-align: right;
    }

    .top-bar-section ul li > a {
        padding-right: 15px;
    }

    .fn-normal-page-slider {
        height: 55vh;
    }

    .fn-motto {
        padding-top: 35px;
        padding-bottom: 40px;
    }

    .fn-motto h1 {
        font-size: 28px;
    }

    .fn-motto p {
        font-size: 24px;
    }

    .fn-services {
        padding-top: 25px;
        padding-bottom: 30px;
    }

    .fn-work-areas {
        padding-top: 35px;
    }

    .fn-news-filter ul li {
        margin-bottom: 7px;
    }

    .header .logo {
        top: -45px;
    }

    .fn-header-rss {
        margin-top: 40px;
    }

    #email-subscribers-2 .es_textbox input {
        width: 100%;
    }
    .blog-header-inline .widget {
        margin-left: 0;
        margin-right: 0;
    }
    .fn-sub-site-info .blog-header-inline .breadcrumbs {
        margin-bottom: 15px;
    }
    .blog-header-inline #email-subscribers-2 {
        text-align: right;
        clear: both;
    }

    .fn-cta-container.icon {
        max-width: 100%;
    }

    .fn-cta-container {
        float: none;
        margin-top: 30px;
    }

    .sidebar {
        margin-bottom: 15px;
        background-color: #fff;
    }

    .sidebar .sub-menu {
        overflow-y: scroll;
        height: 110px;
    }

    .sidebar .sub-menu::-webkit-scrollbar {
        width: 6px;
        /* for vertical scrollbars */
        border-radius: 3px;
    }

    .sidebar .sub-menu::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }

    .sidebar .sub-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.5);
        border-radius: 3px;
    }

    .sidebar #menu-side-menu {
        background-color: #dfedf8;
        padding: 15px;
    }

    input[type="radio"] + label {
        height: 60px;
    }
    .fn-content .share-page {
        margin-top: 10px;
        margin-left: 0;
    }
    .fn-socials-news {
        margin-top: 30px;
        float: left;
    }
    .blog-header-inline {
        padding-top: 15px;
    }
    .fn-news-date-filter select {
        font-weight: 700;
        border: 2px solid #008bd0;
        border-radius: 4px;
        color: #008bd0;
        background-color: transparent;
        padding: 7px 20px;
    }
    .fn-news-date-filter select:focus {
        outline: none;
    }
    .gfield .ginput_container.ginput_container_radio,
    .gfield .ginput_container.ginput_container_select {
        width: 100%;
    }
    .shorten_column .ginput_container {
        padding-right: 0;
    }
    .b_content img {
        margin: auto;
        margin-bottom: 60px;
    }
    .gform_footer {
        text-align: center;
    }
    .gform_footer #gform_submit_button_44 {
        right: 0;
        top: 20px;
    }
    .personal-form .gfield .ginput_container {
        width: 100%;
    }
    .personal-form .ginput_recaptcha {
        text-align: center;
    }
    .personal-form .ginput_recaptcha > div {
        display: inline-block;
        margin: auto;
    }
    .personal-form .container {
        padding: 50px 0;
    }
    .fn-normal-page-content.personal-page {
        padding-top: 80px;
    }
    .personal-page .person .description a {
        word-break: break-all;
    }
    /* DONATION XMAS */
    .personal-list p {
        width: 100%;
    }

    .image_select li {
        flex: 0 0 48%;
        margin-bottom: 25px;
    }

    .after_button_first_content {
        padding-top: 0;
        padding-bottom: 5px;
    }
    .new-section-headline a {
        display: block;
        position: static;
    }
    .header .fn-search-btn {
        position: absolute;
        top: 10px;
        right: 0;
        margin-top: 0;
        border-left: 1px solid #fff;
    }
    .header .top-bar .toggle-topbar.menu-icon {
        margin-right: 33px;
    }
    .fn-normal-page-slider {
        min-height: 300px;
    }
    .fn-news.home {
        margin-top: 35px;
    }
    .single-post .breadcrumbs {
        margin-top: 75px;
    }
    .fn-thumbnail {
        height: 350px;
    }
    .date-unstyled {
        margin-top: 30px;
        display: inline-block;
    }
    .date-unstyled + .post_title {
        margin-top: 10px !important;
    }
    .blog-author {
        margin-top: 100px;
    }
    .blog-author__social {
        float: none;
        display: block;
        margin-right: 0;
        margin-top: 20px;
    }
    .blog-author__text,
    .blog-author__photo {
        display: block;
        text-align: center;
        margin: auto;
    }
    .fn-news-filter .cat-filters,
    .blog-year-filter {
        width: 100%;
    }
    .menu-submenu-container {
        position: relative;
        margin-top: 1px;
    }
    .menu-submenu-container:before {
        content: '';
        position: absolute;
        top: 0;
        left: 15px;
        right: 15px;
        height: 1px;
        background-color: #FFF;
    }
    .authors-list .single-blog-author {
        width: 49%;
    }
    .authors-list .single-blog-author.more-authors {
        width: 100%;
        margin-top: 20px;
    }
    .blog-author__title {
        font-size: 30px;
    }
    .blog-author__list .authors-list {
        padding: 15px 5px;
    }
    .blog-author__photo {
        width: 80px;
        height: 80px;
    }
    .authors-list .single-blog-author {
        vertical-align: top;
    }
    .blog-author__social a {
        margin-right: 8px;
    }
    .blog-author__email-sub .es_textbox {
        width: calc(100% - 90px);
    }
    .blog-author__post {
        margin-bottom: 50px;
    }
    .blog-author__title:first-child {
        margin-bottom: 0;
        margin-top: 30px;
    }
    #load-more.fn-btn {
        font-size: 13px !important;
    }
    .featured-image-caption-box {
        display: none;
    }
    .featured-image-caption {
        position: relative;
        display: inline-block;
        line-height: 1.4;
    }
    .blog-author__list {
        margin-bottom: 30px;
    }
    .blog-authors-archive .single-author {
        margin-bottom: 70px;
    }
    .blog-author__title:first-child {
        margin-top: 50px;
        margin-bottom: 40px;
    }
    .fn-content-wrap.blog-author .breadcrumbs {
        margin-bottom: 0;
    }
    .events-content {
        margin-top: 100px;
    }
    .event-single {
        margin-top: 110px;
    }
    .fn-quiz input[type="radio"] + label {
        height: auto;
    }
    .fn-quiz .fn-content h1 {
        font-size: 60px;
    }
}

/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/
@media only screen and (min-width: 641px) {
    /* TOP BAR STYLING */
    .top-bar {
        background: #008fd5 !important;
        line-height: 1;
        height: 62px;
    }

    .top-bar-section {
        /* Dropdown Styling*/
    }
    .top-bar-section .menu-topmenu-container,
    .top-bar-section .menu-submenu-container {
        display: inline-block;
    }
    .top-bar-section .menu-submenu-container {
        float: right;
    }
    .top-bar-section .menu-submenu-container ul {
        -webkit-justify-content: flex-end;
                justify-content: flex-end;
    }
    .top-bar-section .menu-submenu-container li:not(.has-form) > a:not(.button),
    .top-bar-section .menu-submenu-container li.has-dropdown > a:not(.button) {
        color: #acedfd;
        font-size: 16px;
        font-family: 'TradeGothicLT-CondEighteen';
        text-transform: uppercase;
        padding: 0 13px;
    }

    .top-bar-section ul {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -ms-flexbox;
        display: flex;
        padding: 0 5px;
        -webkit-justify-content: flex-start;
                justify-content: flex-start;
        /* display: block; */
        background: #008fd5;
    }

    .top-bar-section ul li {
        background: #008fd5;
    }

    .top-bar-section li.seperator-line {
        position: relative;
    }
    .top-bar-section li.seperator-line:after {
        position: absolute;
        width: 1px;
        height: 40px;
        background-color: #FFF;
        content: '';
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
    }

    .top-bar-section li:not(.has-form) > a:not(.button),
    .top-bar-section li.has-dropdown > a:not(.button) {
        /* Regular menu item style */
        color: #fff;
        background: transparent !important;
        font-family: 'TradeGothicLT-CondEighteen';
        padding: 0 15px;
        font-size: 19px;
        letter-spacing: 1px;
        line-height: 62px;
    }

    .top-bar-section li:not(.has-form) > a:not(.button):hover,
    .top-bar-section li.has-dropdown > a:not(.button):hover {
        /* box-shadow: inset 0 2px 0 #fff; */
        background: transparent !important;
        color: #011621;
    }
    .post-type-archive-event .calendar a {
        color: #011621 !important;
    }

    .top-bar-section li:not(.has-form) > a:not(.button):after,
    .top-bar-section li.has-dropdown > a:not(.button):after {
        display: none;
    }

    .top-bar-section li.current-menu-item > a:not(.button),
    .top-bar-section li.current-page-ancestor > a:not(.button) {
        /* Style of Current page and Ancestor page */
        background: transparent !important;
        color: #011621;
    }

    .top-bar-section .dropdrown_menu li {
        background: rgba(12, 143, 205, 0.95) !important;
    }
    .top-bar-section .dropdrown_menu {
        padding-top: 5px;
        left: -5px;
        /*left: 50%;
        transform: translateX(-50%);
        width: 150px !important; */
    }

    .top-bar-section .dropdrown_menu > li:first-child {
        padding-top: 16px;
    }

    .top-bar-section .dropdrown_menu > li:last-child {
        padding-bottom: 16px;
    }

    .top-bar-section ul li:hover:not(.has-form) > a {
        /* Parent link style on dropdown hover */
        background: transparent !important;
        color: #011621;
    }

    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
        /* Regular link in dropdown */
        color: #fff;
        padding: 7px 17px;
        line-height: 1;
        letter-spacing: 1px;
        background: transparent;
        font-size: 15px;
        text-align: left;
        box-shadow: none;
        /* white-space: normal; */
    }

    .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
        /* Dropdown link on hover */
        color: #011621;
        background: transparent;
        box-shadow: none;
    }

    .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li a {
        /* Dropdown in dropdown */
        background: blue;
    }

    .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li:hover a {
        color: white;
        text-decoration: underline;
        background: red;
    }

    /* Align Menu to the right
        .top-bar-section { float:right; } */
    /* Align Menu to the center
        .top-bar-section { float:none; text-align: center; }
        .top-bar-section ul{display: inline-block;} */
    .has-dropdown .dropdown-toggle {
        display: block;
    }

    .has-dropdown .dropdown-toggle i {
        font-size: 10px;
        left: 50%;
        right: auto;
        top: 41px;
        line-height: 1;
        transform: translateX(-50%);
    }

    .has-dropdown .dropdown-toggle i:before {
        content: "\f078";
    }
    .header .row .columns {
        max-height: 62px;
    }
}

/* min-width 641px */
@media only screen and (min-width: 641px) and (max-width: 1024px) {

    #home-slider .slider-caption {
        max-width: 80%;
    }
    #email-subscribers-2 .es_textbox input {
        /*width: auto;*/
        margin: 0 auto;
    }

    .header .logo {
        left: 5px;
        max-width: 70px;
    }

    .header .top-bar {
        padding-left: 65px;
    }
    .confirmation__content h1 {
        font-size: 100px;
    }
    .confirmation__content h2 {
        font-size: 50px;
    }
    .gfield .ginput_container.ginput_container_radio,
    .gfield .ginput_container.ginput_container_select {
        width: 100%;
    }
    .shorten_column .ginput_container {
        padding-right: 0;
    }
    .personal-form .gfield .ginput_container {
        width: 100%;
    }

    .fn-content .breadcrumbs {
        margin-top: 65px;
    }
    .fn-thumbnail {
        height: 580px;
    }
    .top-bar-section ul#menu-topmenu {
        padding: 0 4px;
    }
    .blog-author {
        margin-top: 100px;
    }
    .blog-author--single .blog-author__post {
        margin-bottom: 50px;
    }
    .blog-author__list {
        margin-bottom: 35px;
    }
    .blog-author__social,
    .blog-author__sub-block {
        width: 49%;
        display: inline-block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .blog-author__social h4 {
        display: block;
        margin-bottom: 17px;
    }
    .blog-author__title {
        font-size: 36px;
    }
    .blog-author__photo {
        width: 85px;
        height: 85px;
    }
    .authors-list .single-blog-author {
        vertical-align: top;
    }
    .authors-list .single-blog-author.more-authors {
        vertical-align: bottom;
    }
    .blog-author__list .authors-list p {
        margin-bottom: 0;
    }
    .blog-author__list .authors-list {
        padding-bottom: 22px;
    }
    .event-single {
        margin-top: 0;
        padding: 55px 0;
    }
    .events-content {
        margin-top: 50px;
    }

    /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
}

/*-=Large screens=-*/
@media only screen and (min-width: 1025px) {
    .personal-page .person {
        margin-right: 60px;
    }
    /* min-width 1025px, large screens */
}

@media only screen and (min-width: 1025px) and (max-width: 1230px) {
    #home-slider .slider-controls,
    #home-slider .slider-caption {
        padding: 0 15px;
    }
    .header .logo {
        max-width: 100px;
    }
    .top-bar-section .menu-submenu-container li:not(.has-form) > a:not(.button),
    .top-bar-section .menu-submenu-container li.has-dropdown > a:not(.button),
    .top-bar-section li:not(.has-form) > a:not(.button),
    .top-bar-section li.has-dropdown > a:not(.button) {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 640px) {
    .not-found-page img {
        display: block;
        float: none;
        margin: 0 0 15px 0;
    }
    .confirmation__content h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
    .confirmation__content h2 {
        font-size: 30px;
    }
    .confirmation__banner__inner {
        height: 320px;
    }
}
@media only screen and (max-width: 1024px) {
    .event-map .acf-map {
        width: 100%;
        height: 300px;
    }
    .fn-events-filter {
        padding: 40px 0;
    }
    .fn-header-blog-name {
        font-size: 15px;
    }
    #email-subscribers-2 .es_textbox {
        padding-bottom: 0;
        display: block;
    }
    .blog-header-inline .widget, .blog-header-inline .breadcrumbs {
        vertical-align: bottom;
        margin-bottom: 0;
    }
    .blog .fn-header-rss .fn-socials .fn-social-item {
        margin-bottom: 0;
    }
    .confirmation__banner__inner {
        height: 420px;
    }
    .personal-list p {
        width: 50%;
    }
    /* h1, h2, h3, h4, h5, h6 {
        word-break: break-all;
    } */
}

@media only screen and (max-width: 640px) {
    .personal-list p {
        width: 100%;
    }
}

/*-=Custom screens=-*/
@media only screen and (max-width: 770px) {
    .main_text_field .charleft {
        right: 20px !important;
    }
}
@media only screen and (max-width: 750px) {
    .fn-cta-btn {
        font-size: 10px !important;
    }

    .fn-btn {
        font-size: 10px !important;
    }
    .fn-services-item .fn-btn {
        font-size: 18px !important;
        padding: 5px 23px;
    }
    .fn-header-blog-name {
        font-size: 14px;
    }
}

@media only screen and (max-width: 500px) {
    .image_select li {
        flex: 0 0 80%;
    }
}

@media only screen and (max-height: 450px) {
    .fn-project-head {
        height: 110vh;
    }
}

@media only screen and (min-width: 641px) and (max-width: 940px) {
    .top-bar-section li:not(.has-form) > a:not(.button),
    .top-bar-section li.has-dropdown > a:not(.button) {
        padding: 0 10px;
        font-size: 16px;
    }
    .top-bar-section .menu-submenu-container li:not(.has-form) > a:not(.button),
    .top-bar-section .menu-submenu-container li.has-dropdown > a:not(.button) {
        font-size: 14px;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
        font-size: 11px;
    }
    .top-bar-section .dropdrown_menu {
        width: 110px !important;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
        white-space: normal;
    }
    .fn-content .share-page {
        margin-top: 10px;
        margin-left: 0;
    }
}
@media only screen and (min-width: 641px) and (max-width: 760px) {
    .header i {
        font-size: 18px;
    }
    .header .top-bar {
        padding-right: 30px;
    }
    .header .logo {
        max-width: 60px;
    }
    .header .top-bar {
        padding-left: 55px;
    }
    .top-bar-section li:not(.has-form) > a:not(.button),
    .top-bar-section li.has-dropdown > a:not(.button) {
        padding: 0 6px;
        font-size: 15px;
    }
    .top-bar-section .menu-submenu-container li:not(.has-form) > a:not(.button),
    .top-bar-section .menu-submenu-container li.has-dropdown > a:not(.button) {
        font-size: 12px;
        padding: 0 5px;
    }
}