/**
 * @file
 * Subtheme fiber specific CSS.
 */

 /* default HTML styles */
body {
    background-color: unset;
    margin-bottom: -8px;
}

 article {
	font-size : 0.85em;
}
img {
    max-width: 100%;
}

/* brand */
.navbar-brand {
	font-size : 1.8em;
}
.navbar-brand img {
    width: auto;
 /*   height: 38px;
    width: 94px;
 */   vertical-align: text-bottom;
}

@media (min-width: 992px){
    .navbar-brand img {
 /*       height: 48px;
        width: 120px;
*/    }
}

.navbar-brand small,
.navbar-brand small:hover{
    font-size: .6em;
    line-height: 1.2;
    max-width: 190px;
    white-space: normal;
    margin-left: 2rem;
    float : right;
    color: #4b4b49;
}

.nav-link {
    color:  #2e2f7f;
  }
  .nav-link:hover,
  .nav-link:focus {
    color: #20215a;
  }

.site-name-slogan {
    color: #2e2f7f;
    font-size: 2rem;
    font-weight: 600;
}

#navbar-top .nav-link {
    padding-right: .2em;
    padding-left: .2em;
    border-bottom : 2px;
    color : #2e2f7f;
}
#navbar-top .nav-link a:hover{
    text-decoration: none;
    border-bottom : 2px solid #32A8E0;
    color : #20215a;
}

#navbar-top .nav-link:not(:last-child):after{
    content: " | ";
}

#navbar-top .language-link{
    text-decoration : none;
}

.navbar-expand-lg {
    border-top : 4px solid #32A8E0;
    }

/* horizontal main menu  */

.header #navbar-main #CollapsingNavbar {
	justify-content: left !important;
}

.header #navbar-main .nav-link{
    border-bottom : 4px solid transparent;
}

.header #navbar-main  .nav-link.active{
    border-color: #34a9e1;
}

.header #navbar-main .nav-item a {
    color :#ffffff;
	font-size: 1.2em;
}

.header #navbar-main .nav-link:hover{
    border-color: rgba(52,169,225,0.5);
}

.header #navbar-main .dropdown-menu {
    background-color: #2e2f7f;
    margin-top : 9px;
}

.header #navbar-main .dropdown-menu li:hover {
    background-color: #292A81;
}

.navbar-toggler-icon {
    background: unset;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.scrolled-down{
    transform:translateY(-60px);
    transition: all 0.4s ease-in-out;
}

.scrolled-up{
    transform:translateY(60px);
    transition: all 0.4s ease-in-out;
    position: fixed;
    top: -60px;
    width: 100%;
}

@media (max-width:767px) {
    .header #navbar-main .nav-item a {
        background-color: #292A81;
    }
    .navbar-collapse .navigation{
        background-color: #292A81!important;
    }
}

/* Search menu button */
nav #block-fiber-main-menu .nav-item button{
    background-color: unset;
    border: 0px;
    color: #fff;
}

/* Search form */
#block-fiber-searchform {
    position: absolute;
    max-width: 80%;
    z-index: 500;
    min-height: 5em;
  /*  margin-top: 7em; */
    background-color: #20215a;
    display: block;
    box-shadow: 6px 5px 7px 1px rgb(96 96 96 / 33%);
    -webkit-box-shadow: 6px 5px 7px 1px rgb(96 96 96 / 33%);
}

#block-fiber-searchform .content.container-inline {
    float: right;
    margin-top: 0.5em;
}

#block-fiber-searchform input#edit-keys {
    width: 30em;
    margin-right: 1em;
}


/* Search bar  */
#block-searchform {
    z-index: 10;
}

.form-search.form-control{
    margin-right: 9rem;
    margin-left: -1rem;
    border-radius: 0;
}

/* Search button */
.btn-outline-primary,
.btn-outline-primary a {
    background-color: #2e2f7f;
    color: #fff;
    border-color: #292A81;
    border-radius: 0;
    border-bottom : 0px;
}

.btn-outline-primary:hover {
    border-color: #20215a;
    background-color: #20215a;
}

/* content */
.block-page-title-block h1 {
    margin-top:1em;
}

.article h1 {
    font-size: 2.1875em;
    line-height: 1.05714em;
    color: #2e2f7f;
    margin-bottom: 1.5rem;
}

article h2, article h3, article h4, article h5, article h6 {
	color: #2e2f7f;
}

article h2, article h3 {
	margin-top: 1.2em;
}
h2.whitetext {
    color: #fff;
    text-shadow: 1px 1px 2px #1e1e1c, 0 0 1em #1e1e1c;
}

.table tr th {
    background: #2e2f7f;
}

tr {
    background-color: #fff;
    vertical-align: top;
}

table td {
    border : 0.8px solid #2e2f7f ;

}

.main-content [href^="http://"]:after,
.main-content [href^="https://"]:after,
.main-content [target="_blank"]:after,
.main-content .external-link:after {
    content: " " url("data:image/svg+xml; utf8, <svg aria-hidden='true' focusable='false' data-icon='external-link-alt' role='img' xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 512 512'><path fill='rgb(41,42,129)' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'></path></svg>");
}

.table-striped tbody tr:nth-of-type(2n+1){
    background-color: #fff
}

article .accordion-button {
    text-align: left;
}

article .accordion-button.collapsed {
    border-bottom-width: 1px;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

article .accordion-item .accordion-collapse {
    border-bottom-width: 1px;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.field--name-field-target-public{
    margin-top : 3em;
    margin-bottom : 3em;
}

.field__item.badge-info {
    color:#53aaa7;
    border : 1px solid #53aaa7;
    padding : 0px 8px;
}
article .field__label {
     float: left;
}

article .field--name-field-target-public{
    font-size: 0.85em;
}

.field__item.badge.badge-info a {
    color : #1e1e1c;
    font-weight: 200;
    font-size: small;
}

.content .show {
    margin-bottom : 1em;
}

/* sidebar second */
#sidebar_second h2 {
    font-size: 1.125em;
    font-weight: bold;
    color: #2e2f7f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

#sidebar_second li{
    padding-left : 0.6em;
    padding-right: 0.6em;
    border-top : 1px solid #d6d4d1;
    width: 100%;
}

#sidebar_second ul li.active {
    border-left: 0.2em solid #34a9e1;
    padding-left: 0.4em;
}


@media (min-width: 992px) {
    #main-wrapper {
        margin-top: 3.75em;
    }
}

/* Sidebar second - menu level 2 and 3 */
.no-dropdown-menu {
    margin-left: -1em;
}

.no-dropdown-menu li.dropdown-item.active,
.no-dropdown-menu li:active{
    background: unset;
}

#sidebar_second li.active > a,
#sidebar_second .dropdown-item.active {
    background-color: #f9f9f9;
    padding-left : 0.5em;
    margin-left : -0.4em;
}


/* home page */
.col-1, .col-2, .col-3 {
    max-width: unset;
    padding : 1em;
}

#main-wrapper.background-home {
    background-position: top center!important;
    background-repeat: no-repeat!important;
    background-size : 100%!important;
    background-color: #e5e0e6;
}

#block-views-block-block-home-page-block-1{
    margin-top : 14em;
}

@media (max-width:767px) {
    #block-views-block-block-home-page-block-1{
        margin-top : 4em;
    }
}

.row-home-page.views-row{
    height: 300px;
    border : 3px solid #292A81;
    margin-bottom : 2em;
    padding  : 1em;
    overflow: hidden;
    border-image: linear-gradient(45deg, #32A8E0 , #292A81) 1;
}

.row-home-page h2{
    font-size: 1.2em;
    font-weight : 600;
    color : #292A81;
    margin-top : 1em;
    margin-bottom : 1em;
}

.row-home-page .views-field-field-body{
    font-size: 0.9em;
}

.row-home-page .views-field-field-body a{
    font-weight: 400;
    color : #1E1E1C;
}

.col-home-page {
    width: 33.333333%;
}

.home-button {
    background-color: #077db5;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 0.5em;
}

.home-button a{
    text-align: center;
    color :#ffffff!important;
    text-decoration: none;
    background-color: unset;
}

.home-button:hover{
    color : #ffffff;
    background-color : #2469b0;
}

.row-home-page-blue.views-row{
      height: 10.5em;
      border : 3px solid #292A81;
      margin-bottom : 2em;
      padding  : 1em;
      overflow: hidden;
      background-color : #292A81;
      color : #ffffff;
      text-align: center;
}

.row-home-page-blue.views-row .field-content {
    height: 6em;
}

.row-home-page-blue.views-row p {
    max-height: 5em;
    overflow: hidden;
}

@media (max-width: 992px) {
/*    .col-home-page {
        width: 50%;
    }
    .row-home-page-blue.views-row {
        height : unset;
    }
}

@media (max-width: 768px) {
*/
    #block-views-block-block-home-page-block-1{
        margin-top : 4em;
    }

    .col-1, .col-2, .col-3 {
        padding-top : 0em;
        padding-bottom: 0em;
    }
    .row-home-page-blue.views-row{
        margin : 0.3em;
    }

    .views-view-grid .views-col {
        float: none;
    }

    .col-home-page {
        width: 100%;
    }
}

/* Footer */
.site-footer__top .region {
     width: 50%;
}
.site-footer .block{
    margin-top : 0px;
}

.site-footer{
    padding: 0px;
    border : 0px;
    border-top: 4px solid #34a9e1;
    margin : 0px;
}

.site-footer .block{
    border : 0px;
}

.site-footer__top p {
     font-size: small;
    line-height: normal;
}

.site-footer ,
.site-footer a,
.site-footer .content,
.site-footer .content a{
    color: #fff;
}

.site-footer a:hover,
.site-footer .content a:hover{
    color: #c0c0c0;
}

#block-fiber-footerbranding {
    margin-bottom: 0px;
    padding: 0px;
}

.site-footer__bottom {
    margin-top: 0px;
    border-top: 1px solid #555;
}

.site-footer__bottom .navbar-nav{
    flex-direction : row;
    justify-content: center;
}

.site-footer__bottom .navbar-nav li {
    margin-right:1em;
}

.region-footer-first .field--name-field-logo{
    float: left;
}

.region-footer-first .field--name-body{
    padding-top : 1.5em;
}

#block-fiber-footerbranding .field--type-image img,
#block-fiber-footerbranding .field--name-field-user-picture img {
    margin: 0;
    padding : 0px;
}

.socialtext{
    display: none;
}

.region-footer-second .fab{
    margin-left : 1em;
}

.region-footer-second br {
    display: none;
}

#block-bipt-fiber-account-menu {
    font-size: .8rem;
}

/* custom controls */
.custom-control-input:checked ~ .custom-control-label::before{
    border-color :#292A81;
    background-color:  #2e2f7f ;
}

/* Home Page specific */
.path-frontpage #page, #main-wrapper,
.path-frontpage .region-primary-menu .menu-item a.is-active,
.path-frontpage  .region-primary-menu .menu-item--active-trail a {
  margin-top: 0;
}

.path-frontpage .node__content {
/*  margin-top: -70px; */
  margin-bottom: -50px;
}

.path-frontpage .row-home-page.views-row {
  background-color: #fff;
}
/* Editor's specific */

.nav-pills .nav-link.active{
    background-color: #292A81;
}

#homepage article {
    font-size: 0.85em;
    max-height: 20em;
}
