html {
  scroll-behavior: smooth;
}

body {
	background-color: #FEFEFE;
	font-family:  'IBM Plex Sans', sans-serif;
    font-weight: 400;
    line-height: 1.4;
}
a, a:visited {
	color: #056DFF;
	text-decoration: none;
}

a:hover, a:focus, a:active {
	color: #cc0000;
}

/* Removing The Dotted Outline */

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* #region [ rgba(0,35,139,0.2)]  */ 

.anchor_item:before {
	content: "";
	display: block;
	padding-top: 0; /* header height + empty space */
	margin-top: 0; /* header height to degrees padding’s space */
}


.logo {
margin: 0 0.2rem 0 0;
}

.header-wrap {
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
padding: 1.2rem 0;
color: #4C4C4C;
}

.header-wrap-logo {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}

.header-wrap-logo h1{
	margin: 0;
}

.header-wrap-titles {
margin-left: 0.4rem;
padding-right:0.2rem;
}

.header-wrap-titles h1 {
font-size: 1.6rem;
margin: 0;
}

.header-wrap-titles h2 {
display: none;
}

.header-wrap-contact {
display: none;
}
.site-header { 
margin:0;
padding: 0;
width: 100%; 
color: #000e4c;	
}

#primary-text {	
position: absolute;
top:0;
width: 100%;
margin: 0;
padding: 1.2rem;
background-color: rgba(50, 148, 214, 0.856);
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
z-index: 9999;
}  

.top-navigation {	
	display: none;
}

#top-link {
display: none;
}

#top-link-mobile {
display: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.hamburger {
position: relative;
min-width: 132px;
text-align: center;
display: inline-block; 
padding-top: 0.88rem;
}
  
.dropdown-content {  
display: none;   
position: absolute; 
min-width: 100%;
background-color: rgba(255, 255, 255, 0.938);  
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);  
z-index: 99999;
right: 4px;
}
  
.dropdown-content a {
color: #3D3D3D;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: center;
}
  
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #e7e7e7}
  
.hamburger:hover .dropdown-content {
display: block;
}


/* #endregion*/

/* #region [ rgba(6,10,19,0.7)]  */ 

/* ---------------- Landing Header ---------------*/
.landing-container {
text-align:center;

}
.landing-header {
margin: 0;
width: 100%;
height: 560px;  
text-align: center; 
color: rgb(24, 24, 24);  
position: relative;
}
.header-text-wrap {
height: 560px;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;   
}

.landing-header h1 {
margin: 0.8rem 0.4rem;
padding: 0 2.6rem;
font-size: 1.4rem;
letter-spacing: 1px;
line-height: 1.6;
font-weight: bold;
color: white;  
text-transform: uppercase;
letter-spacing: 2px;
}

.landing-header h2 {
margin: 0.5rem 0.5rem;
font-size: 1.2rem; 
padding: 0;  
letter-spacing: 0px;
line-height: 1.6;
font-weight: normal;
color: white;  
}
.landing-header h3 {
margin: 0.5rem 0.5rem;
font-size: 1.2rem; 
padding: 0;  
letter-spacing: 1px;
line-height: 1.6;
font-weight: bold;
}
/* ---------------- Flickity --------------------*/

.carousel {
	background: #EEE;	
}

.carousel-cell, .carousel-cell-two, .carousel-cell-three {
  width: 100%;
  height: 560px; 
  align-items: center; 
  margin-right: 10px;
  background: #8C8; 
}

.carousel-cell {
background: transparent url(img/carousel2mob.jpg) no-repeat scroll top center; 
}

.carousel-cell-two {
background: transparent url(img/carousel1mob.jpg) no-repeat scroll top center; 
}

.carousel-cell-three {
background: transparent url(img/carousel3mob.jpg) no-repeat scroll top center; 
}


/*! Flickity - */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}
/* ---------------- Main Landing ---------------*/

.main-landing {
width:100%;
padding: 0;
}

.main-landing-container {
margin: 1.5rem 0.6rem;
max-width: 100%;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
}

.main-landing h1 {  
  font-size: 2.2rem;
  line-height: 1.6;
  font-weight: normal;
  text-align: center;
  margin: 1.5rem 0;  
}

.main-landing h2, .gallery-header {  
  margin: 1rem 0 0.6rem 0;  
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4; 
  text-align: center;  
  color: #3F3F3F;
}

.main-landing h3 { 
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: normal;
  text-align: center;
  margin: 0.9rem 0.6rem;
}


.main-landing h4 {
  margin: 0 0 0.6rem 0;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  text-align: center;  
}

.main-landing-container p {
  margin: 0 0.25rem 2rem 0.6rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a1a;
  text-align: left;
}

.landing-frame {
	margin: 0.6rem 0.8rem;
	padding: 0 1rem;
  width: 100%;
  background-color: #F9F9F9;
	box-shadow: 0 0 12px 1px rgba(82, 82, 82, 0.4); 	 
}

.landing-frame img {
	margin: 2rem 0 0 0;
}

.landing-frame h3::after {
	background-image: url(img/line.png);
	content: "";
	display: block;
	position: relative;
	top: 18px;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 12px;
	width: 86px;
	height: 7px;
}
.landing-frame p {	 
	padding: 24px 0 0 0;
	text-align: center;
}

.landing-center { 
  display: block;
  margin: 1rem auto 0.2rem auto;
}


/* ---------------- Middle Landing ---------------*/

.four-frames-grid {
	display: grid; 
	grid-template-columns: 1fr;
	grid-auto-rows: auto;	
	grid-gap: 8px;	
	text-align: left;
	padding: 0.6rem 0.4rem;
	align-items:center;
	justify-content: center;
}

.four-frames-grid div  {
	justify-self: center;
}

.single-frame {
margin: 0.4rem 0;	
padding: 0;	
max-width: 600px;
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: start;
}

.single-frame img {
padding: 0.6rem 0.8rem 0 0;
margin: 0;
}
.single-frame h3 {
	font-size: 1.2rem;
	line-height: 1.8;
	font-weight: bold;
	text-align: left;
	margin: 0.9rem 0.6rem;
	letter-spacing: 0.72px;
}

.single-frame p {
	padding: 0 0.4rem;
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: normal;
	text-align: left;
	}

.team-grid {
	display: inline-grid; 
	grid-template-columns: 1fr;
	grid-auto-rows: auto;	
	grid-gap: 8px;	
	text-align: left;
	padding: 0.6rem 0.4rem;
	justify-content: center;
	align-items:center;
	
}

.single-frame-team {
	margin: 0.6rem 0;
	padding: 0;	
	max-width: 260px;
	display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
}

.single-frame-team h3 {
	font-size: 1.1rem;
	line-height: 1.6;
	font-weight: bold;
	text-align: left;
	margin: 0 0 0.4rem 0;
	padding: 0.4rem 0.6rem;
	letter-spacing: 0.72px;
	background-color: #2794DD;
	width: 100%;	
	max-width: 260px;
	color: white;
}

.single-frame-team p {
	margin: 0.1rem 0;
	padding: 0.4rem 0.8rem;
	font-size: 0.80rem;
	line-height: 1.65;
	font-weight: bold;
	text-align: left;
	text-transform: uppercase;
	background-color: #333333;
	color: white;
	width: 100%;	
	max-width: 260px;
	}

/* ----------------Result-grid ---------------*/
.result-grid {	
	display: inline-grid; 
	grid-template-columns: minmax(200px, 340px);
	grid-gap: 1px;
	border: 1px solid white;
	background-color: white;	
	align-items:center;
	justify-content: center;
}

.table-cell {
	background-color: #2794DD;
	padding: 15px;
	text-align: center;
}

.table-cell {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center; 	
	padding: 3rem 2.4rem;
	min-height: 200px;
	background-color: #2794DD;
	text-align: left;
}

.table-cell img {
margin-right: 36px;
}

.table-cell p {
font-size: 1.2rem;
color: white;
letter-spacing: 0.72px;
line-height: 1.8;
}


/* ----------------Call Button ---------------*/
.call-button {
display: none;
}	

.white-wrap {
background-color: #FEFEFE;
width: 100%;
margin:0;
padding: 2rem 0 4rem 0;
}

.space {
padding: 2rem 0 4rem 0;
width: 100%;
background-color: #D8D8D8;
}

.blue-wrap {
	padding: 4rem 0.4rem;
	width: 100%;
	background-color: #2794DD;
	display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
	}

.top-footer {
	border-top: 2px solid #CD2122;
	background-color: #37383A;
	padding: 2rem 0 4rem 0;
width: 100%;
color:#f9f9f9;;
}

.top-footer h2 {
color:#f9f9f9;
text-transform: capitalize;
}

.top-footer h3::after {
	content: "";
	background-color: #8B8B8B;
	top: 18px;
	bottom: 0;
	left: 0;	
	display: block;
	position: relative;
	width: 220px;
	height: 1px;
	margin:0 auto;
}
.top-footer p {
line-height: 1.8;
padding: 1.8rem 0.6rem 0 0.6rem;
}

.contacts-blocks {
	display: flex; 
flex-flow: column nowrap;  
justify-content: space-around;  
align-items: flex-start; 
}

.contacts-blocks > div {
width: 100%;
margin: 0.1rem 0.4rem;
}

.contacts-blocks a {
margin: 0.6rem 0.4rem;
padding: 0.6rem 0;
}

a svg:hover #social { 
  fill: #2794DD;
}

a svg #social { 
  transition: 200ms;
  transition-timing-function: ease-in-out;
  -webkit-transition: 200ms;
  -webkit-transition-timing-function: ease-in-out;
}

/* ---------------- Showcase ---------------*/
.showcase {
	background: white;	
	margin-top: 1.6rem;
}

.showcase-cell {
	width: 100%;	
  min-height: 410px;
  margin-right: 10px;
  background: #8C8;
	display: flex;
  flex-flow: row nowrap;
  justify-content: center;
	align-items: flex-start;
	margin: 0 0.4rem;
}
.showcase-cell-module {
	background-color: #F3F3F3;
	max-width: 570px;
	text-align: left;
	}

.showcase-cell-module p {
	padding: 0.2rem 1rem;
	line-height: 1.8;
	}


/* #endregion*/


/* ---------------- Gallery ---------------*/

.gallery-container {
  text-align: center;
}

.gallery-container h2{
margin: 1.2rem 2.8rem;
font-size: 1.6rem;
font-weight: bold;
line-height: 1.8;
text-align: center;
color: #3F3F3F;
}

.gallery-wrap {   
  max-width: 1080px;
  padding: 0 1rem;  
  margin: 0 auto; 
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

.gallery {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;  
}

.gallery a img {  
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  
}

.gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}


/* #region [ rgba(0,35,139,0.2)]  */ 

/* ---------------- Footer ---------------*/
.site-footer {    
    margin:0;
    padding: 1.6rem 0;  
    text-align: center;	
    font-size: 1.1rem;
    background-color: #2B2B2B;
}

.site-footer p {
color: #EFEFEF;
}

.site-footer a {
color: #EFEFEF;
}

.site-footer a:hover {
	color: #FFD505;
}

#year {
display: inline;
margin: 0 0.4rem;
}

.footer-p {

	display: inline;
}
/* #endregion*/

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* #region [ rgba(54,35,139,0.1)]  */ 

@media screen and (min-width: 480px) {  		  
.primary-text p {
margin: 0; 
padding: 0;
font-size: 1.2rem;   
letter-spacing: 0.6px;
display: block;
}	

.team-grid {
	grid-template-columns: 1fr 1fr;
}

.team-grid div:nth-child(1), .team-grid div:nth-child(3)  {
	justify-self: end;
}

.team-grid div:nth-child(2), .team-grid div:nth-child(4)  {
	justify-self: start;
}

}

@media screen and (min-width: 500px) {  
.result-grid {
grid-template-columns: minmax(200px, 230px) minmax(200px, 230px);			
}

.carousel-cell {
background: transparent url(img/carousel2.jpg) no-repeat scroll top center; 
}
    
.carousel-cell-two {
background: transparent url(img/carousel1.jpg) no-repeat scroll top center; 
}    
.carousel-cell-three {
background: transparent url(img/carousel3.jpg) no-repeat scroll top center; 
}

.primary-text p {		
display: inline-block;
}	
}
/* #endregion*/

/* #region [ rgba(0,35,139,0.2)]  */ 

@media screen and (min-width: 600px) {  		

.landing-header h1 {
margin: 1.1rem 0.6rem;
padding: 0.5rem 1rem; 
font-size: 1.8rem;    
}

.landing-header h2 {
margin: 1.05rem 0.5rem;
font-size: 1.4rem;
font-weight: normal;
}

.landing-header h3 {
margin: 1.05rem 0.5rem;
font-size: 1.4rem;
font-weight: bold;
}

.landing-header p {
  margin: 0 0 0.8rem 0;              
  font-size: 1.5rem;     
  font-weight: normal;
  line-height: 1.6;        
  padding: 0; 
}
.main-landing h2 {  
	margin: 1rem 0;  
	font-size: 1.4rem;		
	line-height: 1.8; 
	padding: 0 0.4rem;		
}	

.single-frame-team, .single-frame {
margin: 0.4rem 0.4rem;	
padding: 0;		
max-width:400px;
}

.four-frames-grid {	
grid-template-columns: 1fr 1fr;
padding: 0.6rem 0.8rem;
}

.result-grid {
grid-template-columns: minmax(200px, 280px) minmax(200px, 280px);			
}

.showcase-cell {
	width: 40%;	
  min-height: 410px;
  margin-right: 10px;
  background: #8C8;
	display: flex;
  flex-flow: row nowrap;
  justify-content: center;
	align-items: flex-start;
	margin: 0 1rem;
}
.showcase div:nth-child(2n+2)  {
	margin-right: 6.4rem;
}
}

/* #endregion*/

@media screen and (min-width: 650px) {  
	.main-landing-container {
		margin: 1.5rem auto;		
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
		align-items: center;
	}
	
	.landing-frame {
		margin: 0.4rem 0.4rem;
		max-width: 300px;
	}
}

@media screen and (min-width: 720px) {  
	.hamburger {
		display: none; 
		}	

.top-navigation {
	margin: 0 auto;
	color: white;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;	
	width: 600px;	
	}
	
	.top-navigation ul {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	}
	
	.top-navigation ul li {
	margin: 0 0.4rem;
	}  
	
	.top-navigation ul li a {
		font-family: 'IBM Plex Sans', sans-serif;
		position: relative;
		color:white;
		margin: 0;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 0.95rem;
		letter-spacing: 1.4px;
		}  

		.top-navigation ul li a:before {
			content: "";
			position: absolute;
			width: 100%;
			height: 3px;
			bottom: 0;
			left: 0;
			top: 36px;
			background-color: #fff;
			visibility: hidden;
			-webkit-transform: scaleX(0);
			transform: scaleX(0);
			-webkit-transition: all 0.3s ease-in-out 0s;
			transition: all 0.3s ease-in-out 0s;
		}

		.top-navigation ul li a:hover:before {
			visibility: visible;
			-webkit-transform: scaleX(1);
			transform: scaleX(1);
		}

		.landing-frame {
			margin: 0.8rem 0.8rem;			
		}
		.result-grid {
			grid-template-columns: minmax(200px, 320px) minmax(200px, 320px);			
			}
	}

	@media screen and (min-width: 750px) {  

.header-wrap {
justify-content: space-between;
}

	.header-wrap-titles {
		margin-left: 1rem;
		}
			
			.header-wrap-titles h1 {
			font-size: 1.8rem;
			margin: 0.4rem 0;
			}
			
			.header-wrap-titles h2 {
				display: block;
			font-size: 1.2rem;
			margin: 0.4rem 0;
			font-weight: normal;
			}

			.header-wrap-contact {
				display: block;		
			}
			
			.header-wrap-contact p {
			margin: 0.8rem 0 0.6rem 0;
			font-size: 0.8rem;
			}	
			
			.header-wrap-contact p {
			margin: 0.8rem 0 0.6rem 0;
			font-size: 0.9rem;
			}	

.call-button {
	border: 1.5px solid #4C4C4C;
	max-width: 160px;
	margin-right: 1rem;
	display: block;
	}
	
	.call-button a {
		color:#4C4C4C;
		width:100%;	
		height:100%;
		font-size: 0.75rem;
		text-transform: uppercase;	
		line-height: 1.4;
		padding: 0.6rem;
		display: block;
		text-align: center;
		margin: 0;
	}
	
	.call-button:hover{
		background-color:#4C4C4C;
		}
	
	.call-button a:hover{
			color:white;		
	}

	.team-grid {
		margin: 0 auto;
		grid-template-columns: 1fr 1fr 1fr;
		max-width: 1180px;			
	}

	.team-grid div:nth-child(1), .team-grid div:nth-child(3)  {
		justify-self: center;
	}
	
	.team-grid div:nth-child(2), .team-grid div:nth-child(4)  {
		justify-self: center;
	}

	.contacts-blocks {
		flex-flow: row nowrap;  
		justify-content: space-around;  
		align-items: flex-start; 
		}

		.contacts-blocks > div {
			width: 100%;
			margin: 0.1rem 0.4rem;		
			min-height: 100px;
			}

			.contacts-blocks > div:nth-child(2) {
			border-left: 1px solid #8B8B8B;
			border-right: 1px solid #8B8B8B;
			}	
}

@media screen and (min-width: 900px) {  
.landing-header h1 {
	font-size: 2rem;    
	}

	.result-grid {			
		grid-template-columns: minmax(200px, 290px) minmax(200px, 290px) minmax(200px, 290px) minmax(200px, 290px);		
		}
		.team-grid {
			grid-template-columns: 1fr 1fr 1fr 1fr;
		}
}

@media screen and (min-width: 1081px) {  
.four-frames-grid {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: auto;	
	grid-gap: 6px;	
	text-align: center;
	padding: 0.6rem 0.8rem;
  align-items: stretch;
}
.single-frame {
	margin: 0.4rem 4px;	
	}

.four-frames-grid div:nth-child(1), .four-frames-grid div:nth-child(3)  {
		justify-self: center;
	}
	
.four-frames-grid div:nth-child(2), .four-frames-grid div:nth-child(4)  {
		justify-self: center;
	}
	.landing-frame {
		margin: 0.4rem 0.8rem;	
} 
}

@media screen and (min-width: 1181px) {  
	.landing-frame {
		margin: 0.4rem 1rem;
		max-width: 370px;
		} 
}