* { box-sizing: border-box; }



.form-control {
    font-size: .8rem;
    border-radius: 0;
    border: none;
}


.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}


/*--------------------------------------------------------------
## Site header
--------------------------------------------------------------*/


#masthead .site-branding {
  height: auto;
  display: flex;
  justify-content: space-between;
  margin: 1.25em 0 0.8125em;
}

@media only screen and (max-width: 480px) {
  #masthead .site-branding {
    flex-direction: column;
  }
}

.search-form {
  border: none;
  
}

#s {
  border: none;
  font-size: 12px;
  line-height: inherit;
  width: 80%;

}

#searchform {
  border: 1px solid #555;
  padding: 0 0 0 .5em;
  line-height: 12px;
  max-width: 216px;
}


#searchform .btn-sm {
	font-size: 12px;
	background-color: transparent;
	border: none;
	border-radius: unset;
  padding: 0.6em .5em 0.4em;
}


#masthead .site-branding img.custom-logo {
	max-width: 280px;
}



.utility-links .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: right;
}

.utility-links .nav ul li {
  	margin: 0 3px;
}

.utility-links .nav ul li a, 
.utility-links .nav ul li a:visited {
    font-family: "Trebuchet MS";
    font-weight: bold;
    font-size: .625em;
    letter-spacing: 0.06em;
    text-align: center;
    color: #55595d;
    text-transform: uppercase;
    padding: 2px 10px;
    text-decoration: none;
}

.utility-links .nav ul li:last-child a {
  background-color: #00b140;
  color: #ffffff;
  text-decoration: none;

}


/*--------------------------------------------------------------
## Altai portal
--------------------------------------------------------------*/

app > .container-fluid, app > .container-fluid > .body-content.col-sm-12 { padding: 0 !important; }

/*--------------------------------------------------------------
## Success Story Archive
--------------------------------------------------------------*/
/* Success Story Archive */
@media screen and (max-width: 480px) {
	.post-type-archive-success-story .p2-tb {
		padding-bottom: 0px;
	}
	.post-type-archive-success-story .p2-tb p {
		font-size: 16px;
	}
	.post-type-archive-success-story .p2-tb img {
		float: none;
		margin: 0px auto 20px;
		display: block;
	}
}


#primary #main .page.post-48217 .entry-content {
  display: flex;
}

.entry-content-col {
  display: flex;
  flex-direction: column;
}

.entry-content-col-left {
  max-width: 50%;
  padding-right: 40px;
}

.entry-content-col-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.entry-content-col-left p {
  font-size: 14px;
  line-height: 1.6;
}

.entry-content-col-left h1:first-child {
  font-size: 22px;
}

.entry-content-col h2 {
  font-size: 20px;
  margin-bottom: 0;
}

.entry-content-col h2 + p {
  margin-top: 0;
}

.entry-content-col p:empty {
  display: none;
}

.entry-content-col-left img:last-of-type {
  max-width: 80%;
  margin: 20px auto;
}

/* Right Side Header */

.road-map-header {
  margin: 0;
  color: white;
  text-align: center;
  background: #0e2754;
  line-height: 1.2;
  padding: 20px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  font-size: 28px;
}

.road-map-sub-headers {
  display: flex;
  margin-bottom: 2px;
  margin-top: 2px;
}

.road-map-sub-headers h2 {
  width: 50%;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  padding: 5px;
}

.road-map-sub-header-right {
  background-color: #0057b8;
  border-left: 1px solid white;
}

.road-map-sub-header-left {
  background-color: #00b140;
  border-right: 1px solid white;
}

.road-map-grey-bar-text {
  text-transform: uppercase;
  color: white;
  background: #999;
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
  padding: 10px;
  margin: 0;
  border-left: 20px solid #e0f2e3;
  border-right: 20px solid #ebf0f7;
  width: 100%;
}

[class^="bubbles"] h4 {
  margin: 0 0 20px;
}

[class^="bubbles"] h4 a {
  background: white;
  display: block;
  color: black;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  padding: 10px;

  border: 3px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}

[class^="bubbles"] h4 a:hover {
  text-decoration: none;
}

.bubbles-left h4 a {
  border-color: #00b140;
}

.bubbles-right h4 a {
  border-color: #0057b8;
}

.road-map-blocks {
  display: flex;
  flex-wrap: wrap;
}

.road-map-left-col,
.road-map-right-col {
  padding: 10px 20px;
  width: 50%;
}

.road-map-left-col {
  background-color: #e0f2e3;
  border-right: 1px solid white;
}

.road-map-right-col {
  background-color: #ebf0f7;
  border-left: 1px solid white;
}

.road-map-grey-bar-text + .road-map-left-col {
  padding-top: 20px;
  padding-bottom: 0;
}

.road-map-grey-bar-text + .road-map-left-col + .road-map-right-col {
  padding-top: 20px;
  padding-bottom: 0;
}


/* Resources */

.entry-content-resources {
  border: 2px solid #0e2754;
  margin: 10px 0;
}

.entry-content-resources h2 {
  background: #0e2754;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.resources-list {
  list-style: none;
  padding: 0;
  display: flex;
  width: 100%;
  margin: 0;
}

.resources-list a {
  color: #0e2754;
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 5px 5px 10px;
}

.resources-list a img {
  display: block;
  margin: 0 auto 5px;
  max-width: 50px;
}

.entry-content-fint-print {
  font-size: 14px;
  color: #666;
}


/* Popup */

.popup {
  position: fixed;
  display: block;
  margin: 0 auto;
  width: 640px;
  max-width: 50%;
  top: 10vh;
  background: white;
  left: 25%;
  border: 5px solid black;
  padding: 20px;
  z-index: 3;
  transform: translate3d(0,0,0);
}

.popup-left {
  border-color: #00b140;
}

.popup-left hr {
  background-color: #00b140;
  height: 3px;
}

.popup-left h4 {
  color: #00b140;
}

.popup-left h4 {
  color: #00b140;
}

.popup-right {
  border-color: #0057b8;
}

.popup-right hr {
  background-color: #0057b8;
  height: 3px;
}

.popup-right h4 {
  color: #0057b8;
}

.popup-right h4 {
  color: #0057b8;
}

.popup h2 {
  margin: 0 0 20px;
  font-size: 30px;
  color: black;
  padding-right: 40px;
}

[class^="bubbles"] .popup h4 {
  margin: 0;
  text-transform: uppercase;
  font-size: 18px;
}

[class^="bubbles"] .popup {
  font-size: 16px;
  perspective: 1000px;
  transition: 0.6s;
  transform-style: preserve-3d;
  transform: rotateX(-90deg);
}

[class^="bubbles"] .popup ul {
  margin: 10px 0;
  padding-left: 20px;
}

.bubble-text-format {
  text-align: center;
  margin: 20px 0 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.bubble-text-format > img {
  max-height: 30px;
}

.popup-left .bubble-text-format {
  color: #00b140;
}

.popup-right .bubble-text-format {
  color: #0057b8;
}

.popup.visible {
  opacity: 1;
  pointer-events: all;
  transform: rotateX(0);
}

[class^="bubbles"] a.close-popup {
  background: #999;
  border: 0;
  border-radius: 0;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  padding: 0;

  -webkit-animation-fill-mode: both;
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: opacity;
  -moz-animation-name: opacity;
  -o-animation-name: opacity;
  animation-name: opacity;
}

[class^="bubbles"] a.close-popup:hover {
  transition: background-color .25s;
  background-color: #222;
}

[class^="bubbles"] a.close-popup span:first-child,
[class^="bubbles"] a.close-popup span:last-child {
  background: white;
  width: 2px;
  height: 100%;
  display: block;
  position: absolute;
  top: 0px;
  rotate: 45deg;
  left: 14px;
  right: 0px;
  bottom: 0;
}

[class^="bubbles"] a.close-popup span:last-child {
  rotate: -45deg;
}

.bubbles-left .bubble-text {
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  z-index: 2;
}

.bubbles-left .bubble-text a:hover {
  color: white;
  background-color: #00b140;
}

.bubbles-right .bubble-text a:hover {
  color: white;
  background-color: #0057b8;
}

.bubbles-right .bubble-text {
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
  z-index: 2;
}

body.popup-open:after {
  content: "";
  position: fixed;
  background: rgba(0,0,0,.3);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

@media screen and (max-width: 980px) {
  #primary #main .page.post-48217 .entry-content {
    flex-wrap: wrap;
  }
  .entry-content-col-left {
    width: 100%;
    max-width: unset;
    padding-right: 0;
  }
}

@media screen and (max-width: 480px) {
  [class^="bubbles"] h4 a {
    font-size: 14px;
  }

  .popup h2 {
    line-height: 1.2;
    font-size: 20px;
  }

  .popup {
    max-width: 90%;
    left: 5%;
    max-height: 95vh;
    top: 2.5vh;
    overflow: scroll;
  }
}

.popup {
    opacity: 0;
    -webkit-animation-fill-mode: both;
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    pointer-events: none;
}

@keyframes opacity {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
[class^="bubbles"] h4 a:after {
  content: "Learn More";
  position: absolute;
  text-align: center;
  width: 100%;
  display: block;
  color: white;
  bottom: 3px;
  font-size: 11px;
  text-transform: uppercase;
  left: 0;
  font-weight: 500;
}

[class^="bubbles"] h4 a {
  border-bottom-width: 20px;
}