@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */

/**********header********/

/*navbar default overrides - bootstrap*/
.navbar-default {
    background-color:#fff;
    border-color: transparent;
    border: none;
}

/*overrides*/
.navbar.container {
    /* 
margin-left: calc(51% - 50vw);
    margin-right: calc(50% - 50vw);
 */
    width: 100%;
    max-width: 100% !important;
    padding: 0 50px;
    padding: 0 2vw;
    position: relative;
    background: #fff;
    border: none;
    margin-bottom: 0;
    border-radius: 0;
}
header.navbar-default.container {
    /* border-bottom: 2px solid #eee; */
    box-shadow: 0 0px 20px rgba(0,0,0,.1);
    position: relative;
	z-index: 500;
}
.nav > li > a:hover, .nav > li > a:focus{
	background: none;
}
.breadcrumb {
    margin-left: calc(51% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding: 20px 50px;
    background: none;
    clear: both; 
}
.region-header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.secondary-menu {
    order: 2;
    background: #f1f1f1;
}
body:not(.page-node-type-landing) .region-header nav ~ .region-content {
    margin-top: 40px;
}

/*navigation*/
.navbar-collapse {
    z-index: 300;
}
.navbar-toggle {
    top: 20px;
}
@media screen and (min-width:768px) {
    .navbar.container {
        display: flex;
        position: relative;
        top: auto;
    }
    .navbar-collapse.collapse {
        margin-left: auto !important;
        position: relative;
        z-index: 300;
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
    .region-navigation-collapsible {
        display: flex;
        width: 100%;
        margin-top: 60px;
        align-items: center;
        justify-content: flex-end;
    }
    .main-menu {
        margin-right: auto;
    }
}

.navbar-header {
    margin: 0 auto;
    z-index: 300;
    position: relative;
}


@media screen and (min-width:768px) {
    .navbar-nav > li {
        margin: 0 12px;
    }
    .navbar-right {
        display: flex;
        align-items: center;
    }
    .region-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.navbar-default .navbar-nav > li > a {
    color: #000;
    font-size:1.125rem;
    font-weight: 500;
/*    for hover*/
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    padding: 0 0 5px;
}
.navbar-default .navbar-nav > li > a:before {
/*    for hover*/
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #183991;
    height: 1px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.navbar-default .navbar-nav > li > a:hover:before, 
.navbar-default .navbar-nav > li > a:focus:before,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a:before, 
.navbar-default .navbar-nav > .active > a:hover:before, 
.navbar-default .navbar-nav > .active > a:focus:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
    left: 0;
    right: 0;
    color:#183991;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
    background:none;
}

@media screen and (max-width:768px) {
    header .nav > li {
        position: relative;
        display: block;
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
}
.logo img {
    max-height: 125px;
    max-width: 160px;
}
.navbar-header {
    position: unset;
}
.navbar-text {
    position: absolute;
    width: 100%;
    left: 200px;
    padding-left: 15px;
    top: 20px;
    font-style: italic;
    color: #183991;
}
@media screen and (max-width:767px){
	.logo img {
		max-height: 72px;
	}
	.navbar-text {
		width: auto;
		left: 110px;
		right: 65px;
		top: 10px;
		max-width: 270px;
		line-height: 1.2;
	}
	#block-searchform,
	.navbar-default .navbar-nav > li > a::before{
    	display: none;
    }
    .navbar-default .navbar-nav > li > a {
		padding: 15px 22px;
		width: 100%;
	}
	header .nav > li{
		margin-bottom: 0;
		padding-bottom: 0;
	}
	.navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}
	#block-mainnavigation li a {
		padding: 8px 30px;
	}
	.secondary-menu {
		padding: 10px 0;
	}
}
@media screen and (max-width:440px){
	.navbar-text {
		font-size: 11px;
	}
}

/*SEARCH OVERLAY*/
.search-trigger {
    display: none;
}
@media screen and (min-width: 768px) {
    .search-trigger {
        margin-top: 17px;
        display: block;
    }
    .search-trigger a {
        font-size: 0;
    }
    .search-trigger a:before {
        content: '\f002';
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s;
        display: block;
        font-size:1.125rem;
    }
    /*search trigger*/
    .search-trigger a {
        text-align: center;
        border-radius: 100%;
        color: #fff;
        display: block;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    }
    .search-trigger a:hover{
    	color: #2d80db;
    }
    .search-trigger a svg {
        margin-right: 5px;
    }

    header #block-searchform {
      align-items: center;
      background: #fff;
      height: 0;
      display: flex;
      justify-content: left;
      opacity: 0;
      position: fixed;
      transition: all 0.5s;
      width: 100%;
      will-change: transform, opacity;
      z-index: -1;
        box-shadow: 0 1px 0 0 rgba(139,141,157,.05), 0 5px 18px 0 rgba(65,71,108,.22);
    }
    header #block-searchform form,
    header #block-searchform form--inline .form-item
    {
        width: 100%;
    }
    header #block-searchform:target {
      height: 123px !important;
      opacity: 1;
      width: 100vw !important;
      z-index: 999;
        top: 5px;
        left: 0;
    }
    header #block-searchform:target .close-btn {
      display: block;
        font-size: 0;
    }
    header #block-searchform:target .close-btn:before {
        content: "\e014";
        position: relative;
        top: 10px;
        color:#277cde;
        right: 10px;
        font-size: 20px;
        display: inline-block;
        font-family: "Glyphicons Halflings";
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
    }
    #searchbox {
      background: transparent;
      border: solid #fff;
      border-width: 0 0 1px 0;
      color: #fff;
      flex: 1 0 auto;
      font-size: 2rem;
      height: 2rem;
      max-width: 50%;
      outline: 0;
      padding: 2rem 1rem;
    }
    .close-btn {
      display: none;
      color: #fff;
      font-size: 2rem;
      position: absolute;
      top: 0.5rem;
      right: 2rem;
      z-index: 100;
    }
    header #block-searchform.fade {
      height: 100vh;
      width: 100vw;
      transition: opacity 0.5s;
    }

    header #block-searchform label {
        display: none;
    }
    header #block-searchform .form--inline {
        border-radius: none;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        background:none;
        border:none;
        display: flex;
        justify-content: left;
        align-items: center;
    }
    header #block-searchform input {
        min-width: 300px;
        width: 100%;
        color: #000;
        text-indent: 30px;
    }
    header #block-searchform input,
    header #block-searchform .btn {
        background:none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    header #block-searchform .btn {
        font-size: 0;
        min-width: 20px;
        width: auto;
        margin-right: 30px;
    }
    header #block-searchform .btn span {
        font-size: 14px;
    }
    header #block-searchform .form--inline:before {
            content: "\e003";
            position: relative;
            top: 1px;
            color:666;
            display: inline-block;
            font-family: 'Glyphicons Halflings';
            font-style: normal;
            font-weight: 400;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
    }
    li.expanded.dropdown:hover .dropdown-menu {
		display: block;
	}
	.navbar-default .navbar-nav > .active > a, 
	.navbar-default .navbar-nav > .active > a:hover, 
	.navbar-default .navbar-nav > .active > a:focus{
		background-color: transparent;
	}
}
header #block-searchform form {
    visibility: hidden;
}
header #block-searchform:target form {
    visibility: visible;
}