/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a {
    text-decoration: none;
    color: #058dde;
}

h1 {
    text-transform: uppercase;
    font-size: 1.4em;
    margin: 1.2em 0 .8em;
}

h2 {
    text-transform: uppercase;
    font-size: 1.2em;
    margin: 1em 0 .8em;
}

h3 {
    text-transform: uppercase;
    font-size: 1em;
}

ol,
ul {
    margin: 1.5em 0;
}

li {
    margin: 0.3em 0;
}

ol ol li {
    list-style: lower-alpha;
}

table {
    width: 100%;
}

td {
    padding: 5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: bold;
}

.clear1,
.clear {
    clear: both;
}

.visible-0 {
    display: none !important;
    opacity: 0;
}

.gutter {
    margin-top: 20px;
}

/* ===== Initializr Styles ==================================================
      Author: Sara Garcia - saragm.com
      ========================================================================== */

body {
    font: 16px/26px 'PT Sans', sans-serif;
    color: #333;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* menu01 */

main-menu ul {
    height: 40px;
}

.main-menu-fb a {
    width: 2px;
    margin-top: 14px;
    background-position: center center;
}

.main {
    padding: 9px 0;
}

#main-menu ul li {
    position: relative;
    list-style: none;
    float: left;
    height: 57px;
    display: inline-block;
    /*padding: 0 5%;*/
    padding: 0 2%;
}

#main-menu ul li:first-child {
    padding-right: 3%;
    padding-left: 0px;
}

#main-menu ul li:last-child {
    padding-left: 3%;
    padding-right: 0px;
}

/* Links */

@media only screen and (min-width: 1200) {
    nav li.menu-item-has-children:hover>a:before {
        position: absolute;
        z-index: 100000;
        bottom: 0;
        margin-bottom: -10px;
        left: 50%;
        margin-left: -5px;
        content: '';
        bottom: 0;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #0e488d;
    }
}

#main-menu ul li:first-child a {}

#main-menu ul li:last-child a {}

#main-menu ul li:hover>a,
#main-menu ul li.selected>a {
    /*background: #0e488d;	*/
    color: #ff6445;
    text-decoration: none;
}

/* Sub menu01 */

#main-menu ul ul {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 230px;
    /*z-index:99;*/
    z-index: 999;
    height: auto;
    margin-left: -120px;
    opacity: 0;
    background: #047ac0;
    /*overflow: hidden;*/
    -webkit-transition: all 0.3s easein;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    display: block;
}

#main-menu ul ul li:hover ul {
    z-index: 999;
}

#main-menu ul li li {
    float: none;
    background: #047ac0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    display: block;
    padding: 0 5px;
}

#main-menu ul li li:first-child {
    border-top: none;
}

#main-menu ul li:hover>ul {
    opacity: 1;
}

#main-menu ul ul li {
    height: 0;
    overflow: hidden;
    padding: 0;
    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
}

#main-menu ul ul li:hover {
    background: #1360bc;
}

#main-menu ul li:hover>ul li {
    height: 54px;
    overflow: visible;
    padding: 0;
}

#main-menu ul ul li a {
    width: 100%;
    /*padding: 15px;*/
    margin: 0;
    border: none;
}

#main-menu ul ul li:last-child a {
    border: none;
}

/* Sub menu Level 3 */

#main-menu ul ul ul {
    position: absolute;
    top: 0px;
    /*left: 140px;*/
    left: 305px;
    opacity: 0;
    background: #1f2024;
    -webkit-transition: opacity .25s ease .1s;
    -moz-transition: opacity .25s ease .1s;
    -o-transition: opacity .25s ease .1s;
    -ms-transition: opacity .25s ease .1s;
    transition: opacity .25s ease .1s;
}

#main-menu ul ul li:hover>ul ul {
    opacity: 1;
}

#main-menu ul ul ul li {
    height: 0;
    overflow: hidden;
    padding: 0;
    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
}

#main-menu ul ul li:hover>ul ul li {
    height: 36px;
    overflow: visible;
    padding: 0;
}

#main-menu ul ul ul li a {
    width: 150px;
    /*padding: 4px;*/
    padding: 15px 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid #353539;
}

#main-menu ul ul ul li:last-child a {
    border: none;
}

/* ==============
       MOBILE: Header
      ============== */

#slider-loading img {
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 9;
    display: none;
}

.bx-wrapper ul {
    margin: 0;
    padding: 0;
}

.bx-wrapper img {
    width: 130%;
    margin-left: -15%;
    height: auto;
}

.slider-container {
    background: #0e488d;
    position: relative;
    z-index:9;
}

.secondary-page .slider-container {
    width: 100%;
    overflow: hidden;
}

.secondary-page .slider-container img {
    width: 140%;
    margin-left: -20%;
    height: auto;
}

.slider-container li {
    margin: 0 !important;
}

.bxslider {
    display: none;
}

.bx-viewport {
    background: #0e488d;
    z-index: 100;
}

.slider-container .title {
    background: url(/images/next-foundation-logo.png) no-repeat;
    background-size: 200px;
    width: 200px;
    height: 108px;
    display: block;
    position: absolute;
    margin: -54px 0 0 -100px;
    top: 50%;
    left: 50%;
    z-index: 1000000;
    text-indent: -9999px;
}

/*
   .secondary-page .slider-container .title {
       background-size:150px;
       width:150px;
       height:75px;
       margin:-37px 0  0 -75px;
   }
   */

/* ==============
       MOBILE: Footer
      ============== */

.footer-container {
    background: #d7d7d7;
    text-align: center;
}

.footer-container span {
    background: url(/images/logo-colour-footer-2.png) no-repeat;
    background-size: 280px;
    width: 280px;
    height: 50px;
    display: block;
    margin: 0 auto;
}

.footer-container p {
    font-size: 0.8em;
    color: #333;
    margin-bottom: 0;
}

/* ====================
       MOBILE: Navigation
      ==================== */

.navigation-container {
    width: 80%;
    position: relative;
    display: block;
    min-height: 48px;
    float: right;
}

.navigation-container.fixed {
    position: fixed;
    top: 0;
    z-index: 10000000;
}

#mobile-menu {
    background: #0e488d;
    width: 100%;
    position: absolute;
    z-index: 100;
    display: block;
    padding: 10px 0 12px 0;
    cursor: pointer;
}

#mobile-menu span {
    position: absolute;
    left: 0;
    font-size: 1em;
    margin-top: 4px;
    margin-left: 10px;
    top: 8px;
    width: 1.5em;
    height: 0.17em;
    background: #bbbbbb;
    box-shadow: 0 0.4em 0 0 #bbbbbb, 0 0.8em 0 0 #bbbbbb;
}

#mobile-menu h2 {
    color: #bbbbbb;
    display: block;
    font-weight: normal;
    font-size: 1.2em;
    margin: 0 0 0 45px;
    padding: 0;
}

header nav {
    position: relative;
    /*temporary hide overflow*/
    /*overflow:hidden;*/
}

#main-menu {
    padding: 0;
    width: 100%;
    position: absolute;
    z-index: 10;
    height: auto;
    top: -300px;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

#main-menu.active {
    top: 42px;
}

nav {
    height: 0px;
}

nav ul {
    background: #0e488d;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

#main-menu li>a {
    background: #047ac0;
    display: block;
    text-transform: uppercase;
    margin-bottom: 1px;
    padding: 5px 0;
    text-align: center;
    font-size: 0.9em;
    color: white;
    position: relative;
    min-width: 30px;
}

nav li.current_page_item a {
    color: white;
}

/* Subnavigation */

.submenu-container,
#main-menu>ul>li>ul {
    display: none;
}

.sub-menu,
#main-menu>ul>li>ul {
    background: #C4C4C4;
    z-index: 10;
}

#main-menu li ul a {
    background: #fff;
    color: #bbbbbb;
}

#main-menu li a:hover {
    background: #1d8b0e;
    color: white;
}

.mean-nav .mean-expand:hover {
    background-color: transparent;
}

/* ==============
       MOBILE: Main
      ============== */

fieldset.title {
    font-weight: normal;
    color: #CCC;
    font-size: 1.2em;
    text-transform: uppercase;
    /*line-height: 0.5;*/
    margin: 20px 0 0px;
}

fieldset.title {
    border-bottom: none;
    border-left: none;
    border-right: none;
    display: block;
}

fieldset.title legend:before {
    content: '>>  ';
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

footer {
    background: #07468f;
    padding: 20px 0;
}

footer .container {
    width: 922px;
    margin: 0px auto;
}

.FTR-logo {
    float: left;
    margin-right: 62px;
}

.FTR-logo img {
    width: 100px;
}

.FTR-address {
    float: left;
    width: 200px;
    margin-right: 25px;
    /*margin-top:22px;	*/
}

.FTR-copyright {
    float: left;
    width: 145px;
    /*margin-top:22px;	*/
}

.FTR-socialIcons {
    float: right;
    margin-top: 22px;
}

footer p {
    font-family: 'pt_sansbold', sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 14px;
}

footer p a {
    font-family: 'pt_sansbold', sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 14px;
    text-decoration: none;
}

.FTR-copyright a:hover {
    text-decoration: underline;
}

.FTR-socialIcons span {
    margin-left: 15px;
}

.FTR-socialIcons span,
.FTR-socialIcons span a {
    width: 30px;
    height: 30px;
    display: inline-block;
    -webkit-transition: all 0s ease-in-out;
    -moz-transition: all 0s ease-in-out;
    -o-transition: all 0s ease-in-out;
    -ms-transition: all 0s ease-in-out;
    transition: all 0s ease-in-out;
}

.FTR-socialIcons .icon-facebook a {
    background: url(/images/icon-facebook.png) bottom;
}

.FTR-socialIcons .icon-linkedin a {
    background: url(/images/icon-linkedin.png) bottom;
}

.FTR-socialIcons .icon-instagram a {
    background: url(/images/icon-instagram.png) bottom;
}

.FTR-socialIcons .icon-vimeo a {
    background: url(/images/icon-vimeo.png) bottom;
}

.FTR-socialIcons span:hover a {
    background-position: top;
}

/*  NEWS PAGE  */

#NewsGallery ul {
    padding: 0;
}

#gallery .sub-page-content {
    margin: 20px 0;
}

#gallery-container {
    margin: 0;
    padding: 0;
    z-index: 10 !important;
}

.gallery-item {
    list-style: none;
    position: relative;
    /*width:30%;*/
    z-index: 10 !important;
    margin-bottom: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.gallery-item .caption {
    background: rgba(14, 72, 141, 0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    opacity: 0;
    overflow: hidden;
    top: 0;
    display: block;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item:hover .caption {
    opacity: 1;
}

.gallery-item .caption p {
    display: block;
    padding: 10px 0;
    margin: 40px 20px 20px 20px;
    font-weight: normal;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 -10px 0 rgba(255, 255, 255, 0.3);
}

#lightbox {
    position: fixed;
    /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000000;
    background: rgba(255, 255, 255, 0.6) repeat;
    text-align: center;
}

.lightbox-container {
    max-width: 940px;
    margin: 10% auto 0;
}

/*
   #lightbox img {
       box-shadow:0 0 25px #111;
       -webkit-box-shadow:0 0 25px #111;
       -moz-box-shadow:0 0 25px #111;
       width:100%;
       height:auto;
   }*/

#lightbox span {
    text-align: left;
    color: #0e488d;
    font-size: 16px;
}

.article-date {
    font-style: italic;
    color: #999;
}

/*********    Annie's Gallery   *********/

#hoverNav {
    display: none;
    opacity: 0;
}

#lightbox {
    background: none;
}

#imageData #imageDetails {
    width: 80%;
}

#gallery .photogalleryItem img {
    width: 31%;
    margin: 0 3.3% 3.3% 0;
    float: left;
}

#gallery .photogalleryItem:nth-child(3n+3) img {
    margin-right: 0;
}

#gallery .photogalleryItem:nth-child(3n+4) img {
    clear: both;
}

#outerImageContainer {
    max-width: 100%;
}

#lightbox img {
    max-width: 100%;
}

#nextBLink,
#prevBLink {
    display: none;
    opacity: 0;
}

#nextLink:hover,
#nextLink:visited:hover,
#nextBLink:hover,
#nextBLink:visited:hover,
#nextBLink {
    background-image: url(/images/nextlabel.gif) !important;
}

#prevLink:hover,
#prevLink:visited:hover,
#prevBLink:hover,
#prevBLink:visited:hover,
#prevBLink {
    background-image: url(/images/prevlabel.gif) !important;
}

#lightbox span {
    text-align: left;
    color: #0e488d;
    font-size: 12px;
}

/*********    end Annie's Gallery   *********/

/*  CONTACT US PAGE  */

#contact-us section header {
    width: 100%;
    margin: 20px 0;
    display: block;
}

#contact-us img {
    width: 100%;
    height: auto;
}

#contact-us img {
    width: 100%;
    height: auto;
}

#contact-us .parent-page-content span,
#contact-us strong,
#contact-us a {
    float: left;
}

#contact-us .parent-page-content span,
#contact-us a {
    margin-left: 20px;
}

#contact-us .maps a {
    margin-left: 0 !important;
    margin: 20px 0;
}

a.pdf-icon,
a.word-icon,
a.image-icon {
    background: url(/images/icon-form.png) no-repeat left top;
    background-size: 25px;
    height: 50px;
    display: block;
    padding-left: 35px;
    padding-top: 4px;
    margin-left: 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

a.word-icon {
    background: url(/images/icon-word-form.png) no-repeat left top;
    background-size: 25px;
}

a.image-icon {
    background: url(/images/icon-image.png) no-repeat left top;
    background-size: 25px;
}

a.pdf-icon:hover,
a.word-icon:hover,
a.image-icon:hover {
    margin-left: 15px;
}

.back-news span {
    margin-right: 10px;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #058dde;
}

a.back-news {
    text-transform: uppercase;
    font-size: 1.2em;
    margin-left: 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

a.back-news:hover {
    margin-left: 15px;
}

article h2 {
    color: #058dde;
}

/*
   ========================
   Blog list layout
   ========================
   */

.post-body img {
    max-width: 100%;
    max-height: 610px;
    display: block;
}

.post-body .icon img {
    display: inline-block;
}

#NewsList {
    padding: 76px 0 68px 0;
}

.HomeNewsList li {
    width: 230px;
    float: left;
    /*	margin:0 45px 58px 0;*/
    margin: 0 30px 58px 0;
    position: relative;
    list-style: none;
}

.HomeNewsList .post-body li {
    width: auto;
    float: none;
    margin: 0 0 4px 0;
    list-style: disc;
}

.bxslider_news .HomeNewsList li:nth-child(3n+3) {
    margin-right: 0;
}

.bxslider_news .HomeNewsList li:nth-child(3n+4) {
    clear: both;
}

.HomeNewsList li h3 a {
    font-family: 'PT Sans';
    font-weight: 700;
    font-size: 21px;
    color: #413b3e;
    line-height: 22px;
    margin-top: 16px;
    display: block;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    background: none;
    letter-spacing: normal;
}

.HomeNewsList li h3 a:hover {
    color: #ff6445;
    background: none;
}

.HomeNewsList li p {
    font-family: 'PT Sans', sans-serif;
    font-size: 19px;
    color: #a4a4a4;
    line-height: 27px;
}

.HomeNewsList li p span {
    font-family: 'PT Sans', sans-serif;
    font-size: 19px;
    color: #a4a4a4 !important;
    line-height: 27px;
}

.HomeNewsList li p img {
    display: none;
    opacity: 0;
}

.HomeNewsList li a {
    font-family: 'PT Sans';
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    display: block;
    line-height: 33px;
    margin-top: 19px;
    background: #07468f;
    text-decoration: none;
    letter-spacing: 1px;
}

.HomeNewsList li a:hover {
    background: #ff6445;
}

.HomeNewsList li .NewsImg a {
    background: none !important;
    margin-top: 0;
}

.HomeNewsList li .NewsImg {
    position: relative;
    overflow: hidden;
}

.HomeNewsList li .NewsImg img {
    /* width: 100%; */
    height: 266px;
}

.HomeNewsList li .NewsImg:hover {}

.HomeNewsList li .NewsImgFrame {
    margin-top: -34px;
    position: relative;
}

.HomeNewsList li .NewsDate {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #07468f;
    padding: 8px 10px 8px 10px;
}

.HomeNewsList li .NewsDate span {
    color: #fff;
    font-family: 'PT Sans';
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    text-align: center;
}

.HomeNewsList li .NewsDate span.n-dt {
    font-size: 24px;
}

.HomeNewsList li .NewsDate span.n-mnth {
    font-size: 17px;
}

.HomeNewsList li .NewsImg:hover .TransBg-news {
    opacity: 1;
}

.HomeNewsList li .TransBg-news {
    background: url(/images/BG-trans-orng.png);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.NewsImg .NewsImgFrame {
    position: absolute;
    bottom: 0;
    left: 0;
}

.MoreNewsBtn {
    /*float:right;*/
}

.MoreNewsBtn a {
    background: #a4a4a4;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    font-family: 'PT Sans';
    font-weight: 700;
    padding: 6px 0px 5px 0px;
    display: inline-block;
    width: 231px;
    text-align: center;
    float: right;
    letter-spacing: 1px;
}

.MoreNewsBtn a:hover {
    background: #ff6445;
}

/*
   ========================
   NEXchange
   ========================
   */

/*
   ===========
   NEXchange Global
   ===========
   */

.nf-page-header {
    background-image: url('/images/grey-line.gif');
    background-repeat: repeat-x;
    background-position: left center;
    text-align: center;
    margin: 15px 0 15px 0;
    text-transform: uppercase;
}

.nf-page-header .nf-page-header-inner {
    background-color: #ffffff;
    padding: 5px 15px 5px 15px;
    display: inline-block;
    color: #cccccc;
    font-size: 1.2em;
}

#nexchange-title-header {
    margin-bottom: 15px;
    text-transform: none;
}

.nexchange-user-info {
    text-align: center;
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px dotted #cccccc;
    border-top: 1px dotted #cccccc;
}

.nexchange-user-info a {
    text-decoration: none;
}

.nexchange-user-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nexchange-user-list li {
    display: inline-block;
    margin: 5px 15px 5px 15px;
}

.nexchange-user-list li.the-name {
    display: block;
    text-align: center;
    margin: 5px 15px 5px 15px;
}

label {
    font-weight: normal;
}

.input-group {
    width: 100%;
}

/*
   ===========
   NEXchange Main Page
   ===========
   */

h1.nexchange-title {
    text-transform: none;
}

.search-criteria-outer-wrapper {
    background-image: url('/images/nexchange-search-box.jpg');
    background-repeat: repeat;
    border-radius: 6px;
    color: #ffffff;
    padding: 0;
    box-shadow: 0 0 10px #B1B1B1;
    margin-top: 15px;
    margin-bottom: 15px;
}

.search-criteria-wrapper {
    background-image: url('/images/nexchange-search-box-gradient.png');
    background-repeat: repeat-x;
    background-position: left bottom;
    background-color: transparent;
    padding: 15px;
    border-radius: 6px;
}

.nexchange .search-criteria-inner-wrapper {
    background-image: url('/images/nexchange-logo.png');
    background-position: top right;
    background-repeat: no-repeat;
}

.nexchange-search-heading {
    display: block;
    font-size: 1.05em;
    line-height: 1em;
}

.nexchange-search-subheading {
    display: block;
    font-size: 0.75em;
    line-height: 1.5em;
    margin-top: 5px;
    margin-bottom: 15px;
}

.search-criteria-inner-wrapper button {
    width: 100%;
    display: block;
}

.nexchange-not-logged-in {
    font-size: 0.9em;
    margin: 10px 0 10px 0;
}

/*
   ===========
   NEXchange EOI Display (View/Search Pages)
   ===========
   */

.eoi-wrapper {
    border-width: 0 0 1px 0;
    border-color: #cdcdcd;
    border-style: solid;
    padding: 15px 0 30px 0;
    margin-bottom: 15px;
}

.eoi-wrapper:last-child {
    border-width: 0;
}

.eoi {}

.eoi .eoi-title {
    font-size: 1.2em;
    font-weight: bold;
}

.eoi .eoi-organisation {
    font-style: italic;
    color: #949494;
}

.eoi-sub-info-content-wrapper {
    border-top: 1px dotted #cccccc;
}

.eoi-sub-info {
    padding: 5px 15px 5px 15px;
    border-bottom: 1px dotted #cccccc;
    font-size: 0.8em;
}

.eoi-sub-info:last-child {
    border-bottom: none;
}

.eoi-sub-info .eoi-sub-info-heading {
    font-weight: bold;
    padding-right: 0.8em;
}

.eoi-sub-info .eoi-sub-info-content {
    font-style: italic;
    color: #333333;
}

.eoi .eoi-year,
.eoi .eoi-sector,
.eoi .eoi-region,
.eoi .eoi-funding,
.eoi .eoi-category,
.eoi .eoi-pdf {
    color: #949494;
}

.eoi .eoi-description {
    font-size: 0.8em;
    margin-bottom: 15px;
    margin-top: 10px;
}

.pdf-list a {
    text-decoration: none;
}

/*
   ===========
   NEXchange View Page
   ===========
   */

h2.year-header {
    color: #949494;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #cccccc;
    border-top: 1px dotted #cccccc;
    padding-top: 10px;
    padding-bottom: 10px;
}

.eoi .eoi-delete {
    padding-top: 15px;
}

.eoi-submit-new {
    text-align: center;
    padding: 15px 0 15px 0;
}

.no-eois-submitted {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

ul.pdf-list {
    list-style: none;
    padding: 5px 0 0 0;
    margin: 0;
}

ul.pdf-list li {
    margin: 0;
    padding: 0 0 5px 0;
}

#delete-confirm {
    top: 25%;
    text-align: center;
}

#delete-confirm .modal-footer {
    text-align: center;
}

/*
   ===========
   NEXchange Add Page
   ===========
   */

.add-form-wrapper {
    margin-bottom: 30px;
}

.add-form-wrapper .input-group {
    padding-bottom: 15px;
}

.add-form-wrapper .input-group:last-of-type {
    padding-bottom: 0;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.alert {
    text-align: center;
    padding: 5px 20px 5px 20px;
}

.error-box {
    color: #e7190a;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {}

.ie9 input.file-upload-text,
.lt-ie9 input.file-upload-text {
    background-color: #e9e9e9 !Important;
}

input.file-upload-text {
    background-color: #ffffff !Important;
}

.text-max-length {
    color: #949494;
    font-style: italic;
    font-size: 0.8em;
    display: block;
    line-height: 1em;
    padding: 3px 0 8px 0;
}

.control-label-no-margin {
    margin-bottom: 0;
}

#submit-spinner-wrapper {
    display: none;
}

nav #main-menu div>ul>li:hover>a:before {
    position: absolute;
    z-index: 100000;
    bottom: 0;
    margin-bottom: -10px;
    left: 50%;
    margin-left: -5px;
    content: '';
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0e488d;
}

nav #main-menu div>ul>li:hover:nth-child(4)>a:before {
    display: none;
}

nav #main-menu div>ul>li:hover:nth-child(6)>a:before {
    display: none;
}

.logged_in_0 {
    display: none;
}

/* ==========================================================================
      Form CSS
      ========================================================================== */

label input[type="radio"] {
    margin-right: 7px;
}

#new_organisation_wrapper,
#other_organisation_type_wrapper {
    display: none;
}

.environment_category,
.education_category {
    display: none;
}

.environment_category.active,
.education_category.active {
    display: block;
}

.radio-group .environment_category.active,
.radio-group .education_category.active {
    display: inline-block;
}

.file-upload-text {
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    margin: 0;
    padding: 3px 7px 3px 7px;
    height: 34px;
}

.EOI-form-section {
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 30px;
}

.EOI-form-section .form-group {
    margin: 10px 30px;
    margin-bottom: 30px;
}

.EOI-form-section>* {
    margin-left: 30px;
}

/* ==========================================================================
      end Form CSS
      ========================================================================== */

#our-people img {
    border-radius: 50%;
    /*border: 4px #0e488d solid; */
}

/* ==========================================================================
      News Gallery
      ========================================================================== */

#NewsGallery {
    margin: 10px 0 0 0;
}

#NewsGallery li {
    /*width:222px;
       height:224px;*/
    width: 184px;
    height: 186px;
    float: left;
    margin-right: 11px;
    margin-bottom: 11px;
    overflow: hidden;
    list-style: none;
    margin-top: 0;
}

#NewsGallery li img {
    height: 100%;
}

#NewsGallery .MoreNewsBtn {
    margin-top: 30px;
}

a.MobLogo img {
    width: 48px;
    position: relative;
    top: 10px;
    left: 10px;
}

/* ==========================================================================
      end News Gallery
      ========================================================================== */

.webform-results #casenumber {
    display: none;
    opacity: 0;
}

.webform-results #title {
    display: none;
    opacity: 0;
}

.register-login-wrapper button {
    width: 30%;
    float: left;
    margin: 15px;
}

/* ==========================================================================
      Custom
      ========================================================================== */

.container {
    width: 922px;
    margin: 0px auto;
}

/*
   div {
       margin: 0px;
       padding: 0px;
   }
   */

/* ======= WIDGETS ========= */

footer.widget {
    margin-bottom: 20px;
}

/* ===== INSTAGRAM PHOTO STREAM ====== */

.photo-stream-widget {
    *zoom: 1;
}

.photo-stream-widget:before,
.photo-stream-widget:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget:after {
    clear: both;
}

.photo-stream-widget:before,
.photo-stream-widget:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget:after {
    clear: both;
}

.photo-stream-widget .flickr_badge {
    *zoom: 1;
    margin-left: -10px;
    margin-top: -5px;
}

.photo-stream-widget .flickr_badge:before,
.photo-stream-widget .flickr_badge:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget .flickr_badge:after {
    clear: both;
}

.photo-stream-widget .flickr_badge:before,
.photo-stream-widget .flickr_badge:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget .flickr_badge:after {
    clear: both;
}

.photo-stream-widget .flickr_badge .flickr_badge_image {
    width: 66px;
    height: 66px;
    float: left;
    margin: 10px 0 0 10px;
}

.photo-stream-widget .flickr_badge .flickr_badge_image a {
    position: relative;
    /*display: block;*/
}

.photo-stream-widget .flickr_badge .flickr_badge_image a:before {
    content: "";
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 100%;
    height: 100%;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.photo-stream-widget .flickr_badge .flickr_badge_image a:hover:before {
    opacity: 0.3;
    filter: alpha(opacity=30);
    background: #b6970b;
}

/* ===== INSTAGRAM PHOTO STREAM ====== */

.photo-stream-widget {
    *zoom: 1;
}

.photo-stream-widget:before,
.photo-stream-widget:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget:after {
    clear: both;
}

.photo-stream-widget:before,
.photo-stream-widget:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget:after {
    clear: both;
}

.photo-stream-widget .flickr_badge {
    *zoom: 1;
    margin-left: -10px;
    margin-top: -5px;
}

.photo-stream-widget .flickr_badge:before,
.photo-stream-widget .flickr_badge:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget .flickr_badge:after {
    clear: both;
}

.photo-stream-widget .flickr_badge:before,
.photo-stream-widget .flickr_badge:after {
    display: table;
    content: "";
    line-height: 0;
}

.photo-stream-widget .flickr_badge:after {
    clear: both;
}

.photo-stream-widget .flickr_badge .flickr_badge_image {
    /*width: 66px;*/
    width: 14.6667%;
    /*height: 66px;*/
    height: 150px;
    display: inline-block;
    padding: 10px 0 0 10px;
    box-sizing: border-box;
    width: 16.6667%;
    margin: 0;
}

.photo-stream-widget .flickr_badge .flickr_badge_image:nth-of-type(1) {
    padding-left: 0;
}

#instafeed .flickr_badge_image img {
    max-width: 100%;
    max-height: 100%;
}

#instafeed {
    text-align: center;
    margin-bottom: 15px;
}

.photo-stream-widget .flickr_badge .flickr_badge_image a {
    position: relative;
}

.photo-stream-widget .flickr_badge .flickr_badge_image a:before {
    content: "";
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 100%;
    height: 100%;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.photo-stream-widget .flickr_badge .flickr_badge_image a:hover:before {
    opacity: 0.3;
    filter: alpha(opacity=30);
    background: #b6970b;
}

@media only screen and (min-width:768px) and (max-width:1024px) {
    #instafeed .flickr_badge_image img {
        width: 100%;
        height: 100%;
    }
    .photo-stream-widget .flickr_badge .flickr_badge_image {
        height: 130px;
    }
}

@media only screen and (min-width:480px) and (max-width:767px) {
    #instafeed .flickr_badge_image img {
        width: 100%;
        height: 100%;
    }
    .photo-stream-widget .flickr_badge .flickr_badge_image {
        height: 110px;
    }
}

@media only screen and (max-width:479px) {
    #instafeed .flickr_badge_image img {
        width: 100%;
        height: 100%;
    }
    .photo-stream-widget .flickr_badge .flickr_badge_image {
        height: 73px;
    }
}

/* =============== custom css for news filter ===============*/

.portfolio-buttons {
    display: flex;
    align-items: center;
}

.portfolio-buttons a {
    padding: 15px;
    color: white;
    background: #0e488d;
    font-size: 16px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.portfolio-buttons a.active {
    background: #ff6445;
}

.portfolio-buttons a:hover {
    text-decoration: none;
    background: #ff6445;
    color: white;
}

.portfolio-wrapper {
    margin-top: 25px;
}

.portfolio-main-wrapper {
    /*display:none;*/
}

/*   custom search */

.search-link-icon {
    float: right;
    position: relative
}

.search-link-icon a {
    color: white;
    font-size: 16px;
    padding: 25px 14px;
    display: block;
}

.custom-search-box {
    display: none;
    min-width: 450px;
    position: absolute;
    top: 100%;
    background: white;
    right: 0;
    padding: 25px;
}

.custom-search-box form {
    display: flex;
    align-items: center;
}

.custom-search-box form input {
    flex: 1;
    padding: 10px 0;
    border: 1px solid #dadada;
    text-indent: 15px;
}

.custom-search-box form button {
    cursor: pointer;
    padding: 10px 25px;
    border: 1px solid #07468f;
    background: #07468f;
    color: white;
    text-transform: uppercase;
}

/*=============new==============*/

.search-link-icon-inner {
    float: left;
    margin-left: 15px;
}

.search-link-icon-inner a {
    padding: 20px 14px
}

.search-link-icon-inner .custom-search-box {
    z-index: 999;
}

.menu-new {
    float: left;
    width: 67% !important;
}

.menu-new ul li {
    padding: 0 3% !important;
    height:67px !important;
}

.portfolio-wrapper-new .portfolio {
    display: none;
}

/*.HomeNewsList li.test1:nth-child(3n+3) {
       margin-right: 0 !important;
   }
   
   .HomeNewsList li.test1:nth-child(3n+4) {
       clear: both !important;
   }*/

.portfolio-wrapper-new #catblogoutput {
    display: flex;
    flex-wrap: wrap;
    /*    margin-left:-45px;*/
}

.portfolio-wrapper-new .HomeNewsList li {
    width: 275px !important;
    margin: 0 0 58px 0 !important;
    padding-left: 45px;
}

.portfolio-wrapper-new .post-inner {
    position: relative;
}

.stick {
    background: #07468f;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
}

.inner-container {
    width: 922px;
    margin: 0px auto;
}

.logo {
    float: left;
    padding: 9px 0px;
}
    