/*
Theme Name: NELC 2020
Theme URI: https://www.nelincs.gov.uk
Author: Sam Ryder
Description: NELC 2020
Version: 1.0
*/


/***********************************/
/***********************************/
/* Globals */
/***********************************/
/***********************************/

body {
  /* font-family: 'Open Sans', sans-serif; */
  /* font-family: 'Lato', sans-serif; */
  background-color: #fff;
  color: #000;
}

#skiptocontent a {
	position: absolute;
	top: -50px;
	left: 0px;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
	-webkit-transition: top .5s ease-out;
  transition: top .5s ease-out;
  z-index: 9999 !important;
}

#skiptocontent a:focus {
	position: absolute;
	left: 0px;
	top: 0px;
	-webkit-transition: top .1s ease-in;
  transition: top .1s ease-in;
}

.bg-black {
  background-color: #000;
}
.bg-black-alt {
  background-color: #222;
}

.bg-blue {
  background-color: #0a3f8e;
}

.bg-blue-alt {
  background-color: #0c4aa6;
}

.table-padding th, .table-padding td {padding: 0.25em;}

/* remove animation for bootstrap collapse */
.collapsing {
  -webkit-transition: .01s;
  transition: .01s;
  display: .01s;
}

/***********************************/
/***********************************/
/* Button Defaults */
/***********************************/
/***********************************/

hr {
  background-color: #ddd;
}
input {
  border-color: #ddd !important;
}
.btn, input, select {
  border-radius: 0 !important;
}

p {
  line-height: normal;
}


.kt-btn-inner-text {
  /* font-family: 'Open Sans', sans-serif !important; */
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";

}

/***********************************/
/***********************************/
/* accessibility */
/***********************************/
/***********************************/

.hide-external-link-icon .fa-external-link {
  display: none !important;
}


.strong-link {
  font-weight: 500 !important;
}

.acc-link-white {
  color: #fff !important;
}
.acc-link-black {
  color: #000 !important;
}
.acc-link-blue {
  color: #006cde !important;
}
.acc-link-no-underline {
  text-decoration: none !important;
}
.acc-link-underline {
  text-decoration: underline !important;
}



.page-content a,
.single-post-content a {
  color: #006cde;
}

.page-content a,
.single-post-content a,
.footer-content a,
.acc-link:hover {
  text-decoration: underline;
}

.btn-blue {
  border-radius: 0 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #0a3f8e !important;
  outline: none !important;
}
.btn-blue:hover {
  border-radius: 0 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #0c4aa6 !important;
  outline: none !important;
}
.btn-blue-alt {
  border-radius: 0 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #0c4aa6 !important;
  outline: none !important;
}
.btn-blue-alt:hover {
  border-radius: 0 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #1057c2 !important;
  outline: none !important;
}


.page-content a:focus,
.single-post-content a:focus,
.footer-content a:focus,
.acc-link:focus,
.acc-link:active,
.btn:focus,
.acc-button,
.btn:active {
  border-radius: 0 !important;
  background-image: none !important;
  color: #000 !important;
  text-decoration: none !important;
  background-color: #FFC107 !important;
  /* border-color: #FFC107 !important; */
  box-shadow: inset 0 -3px 0 0 #000;
  outline: none !important;
}

input:focus,
select:focus {
  outline: 4px solid #FFC107 !important;
}

/*
.acc-link:focus img {
  filter: invert(1);
} */

.small > a.text-light:focus{
  color: #000000 !important;
}


#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll:focus{
  outline: 3px solid #188600;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll:hover{
  outline: 3px solid #188600;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:focus{
  outline: 3px solid #000000;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover{
  outline: 3px solid #000000;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:focus{
  outline: 3px solid #000000;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover{
  outline: 3px solid #000000;
}

/***********************************/
/***********************************/
/* navbar */
/***********************************/
/***********************************/
/*
.header-links a {
  font-weight: 400;
  font-size: .9em;
} */

.main-nav-brand {
  font-weight: 600;
  color: #fff;
  font-size: 1.5em;
  text-decoration: none !important;
}
.main-nav-brand:hover {
  text-decoration: none;
  color: #eee;
}


.breadcrumbs {
  font-size: .9em;
}
.breadcrumbs a {
  text-decoration: underline;
}
.breadcrumbs .sep {
  padding: 0 7px;
}


#mega-menu-navbutton:active {
  background-color: #fff !important;
}






/* 2022 changes */
#navGroup .navGroupButtons > button {
  font-weight: 600;
}
#navGroup .navGroupButtons > button,
#navGroup .navGroupButtons > button.btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#navGroup .navGroupButtons > button[aria-expanded="true"] {
  /* background-color: #f8f9fa !important; */
  background-color: #222 !important;
  /* color: #006cde !important; */
  color: #fff !important;
  box-shadow: none;
}
#navGroup .navGroupButtons > button[aria-expanded="true"]:hover {
  /* box-shadow: inset 0 -3px 0 0 #006cde; */
  box-shadow: inset 0 -3px 0 0 #fff;
}

#navGroup .navGroupButtons > button[aria-expanded=true] .fa-angle-down,
#navGroup .navGroupButtons > button[aria-expanded=true] .fa-search {
  display: none;
}
#navGroup .navGroupButtons > button[aria-expanded=false] .fa-angle-up,
#navGroup .navGroupButtons > button[aria-expanded=false] .fa-times {
  display: none;
}
.hero-2022 {
  background-image: url('inc/assets/img/grass.jpg');
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
}
.hero-2022:before {
  position: absolute;
  content:" ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:0;
  background: rgba(0, 0, 0, 0);
  /* background: linear-gradient(to right, rgba(	102, 126, 234, .3), rgba(118, 75, 162, .3)); */
  /* background-color: rgb(12, 74, 166); */
}

/***********************************/
/***********************************/
/* home item */
/***********************************/
/***********************************/


::-webkit-input-placeholder,
:-ms-input-placeholder,
:placeholder {
  color: #000 !important;
}

/* .search-form input { */
  /* padding: 23px 18px; */
/* } */

.news-home a {
  color: #000;
}

/* .home-content {
  font-weight: 600;
  font-size: 1.1em;
} */

#maincontent a {
  font-weight: 700;
}
#maincontent a .fa-external-link {
  margin-left: 3px;
}


.hero {
  padding-top: 90px;
  background-image: url('inc/assets/img/grass.jpg');
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
}
.hero:before {
  position: absolute;
  content:" ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:0;
  background: rgba( 255, 255, 255, 0);
  /* background: linear-gradient(to right, rgba(	102, 126, 234, .3), rgba(118, 75, 162, .3)); */
  /* background-color: #0c4aa6; */
}


/* .hero input,
.hero h2 {
  background-color: rgba( 255, 255, 255, .9) !important;
} */


/***********************************/
/***********************************/
/* news */
/***********************************/
/***********************************/

.paginate-links > .page-numbers {
  display: inline-block;
  padding: 4px 12px;
  background-color: #ECEFF1;
  color: #000;
  font-weight: 600;
}
.page-numbers:hover,
.page-numbers:focus {
  border-radius: 0 !important;
  background-image: none !important;
  color: #000 !important;
  text-decoration: none !important;
  background-color: #FFC107 !important;
  border-color: #FFC107 !important;
  outline: 3px solid #FFC107 !important;
}
.paginate-links .current:hover,
.paginate-links .current:focus {
  background-color: #007bff !important;
  outline: 0 !important;
  color: #fff !important;
}
.paginate-links .current {
  background-color: #007bff;
  color: #fff;
}


/***********************************/
/***********************************/
/* media queries */
/***********************************/
/***********************************/

/* mobile */
@media (max-width: 992px) {
  .page-content .wp-block-columns {
    display: block !important;
  }
  .wp-block-column:not(:first-child) {
    margin-left: 0 !important;
  }
}

/* tablet + */
@media (min-width: 993px) {
  .page-content .wp-block-columns {
    display: flex !important;
  }
}


@media print {
  .kt-accordion-panel.kt-accordion-panel-hidden {
    overflow: unset !important;
    display: unset !important;
    max-height: unset !important;
  }
}

/***********************************/
/***********************************/
/* Social Sharing */
/***********************************/
/***********************************/


#social-sharing a {
	width: 40px;
	height: 40px;
  display: inline-block;
	text-align: center;
	font-size: 20px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 5px;
	transition: opacity 0.15s linear;
	opacity: 1;
  top: 5px;
}
#social-sharing a:hover {
	opacity: .75;
}
#social-sharing svg {
  margin-top: 9px !important;
}
.facebook {
 	background: #3b5998;
}
.twitter {
	background: #55acee;
}
.googleplus {
	background: #dd4b39;
}
.linkedin {
	background: #0077b5;
}

/***********************************/
/***********************************/
/* Footer */
/***********************************/
/***********************************/

.footer-header a {
  color: #fff;
}
.footer-header a:active {
  color: #000 !important;
}

footer {
  border-top: 6px solid #343a40;
}
footer a {
  color: #444;
  text-decoration: underline;
  font-weight: 500;
}
footer a:hover {
  color: #000;
  text-decoration: underline;
}

#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 15px;
  z-index: 10;
  padding: 7px 18px;
  text-align: center;
  line-height: 30px;
  background: #363C42;
  /* background: rgba(54, 60, 66, .4); */
  color: #fff;
  cursor: pointer;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  opacity: 0;
  visibility: hidden;
}
#back-to-top:hover {
  color: #000;
  background: #FFC107;
/* background: rgba(54, 60, 66, .9); */
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 567px) {
  #back-to-top {
    bottom: 15px;
    right: 15px;
  }
}
