@import url('normalize.css');
@font-face {
    font-family: Aileron-Heavy;
    src: url('../fonts/Aileron-Heavy.otf');
}

@font-face {
    font-family: Aileron-Regular;
    src: url('../fonts/Aileron-Regular.otf');
}

/*
	Theme Name: Ostage.
	Created : December 13 2018
	Version: 1.0

*/

/* ========================================================================== */
/* ========================================================================== */
							/* [Table of contents] */
/* ========================================================================== */
/* ========================================================================== */

/*	

    1. RESET.	
	2. TYPOGRAPHY.
	3. BUTTOMS.
	4. SPACE AND ALIGMENT.
	5. HEADER.
	6. CAROUSEL.
	7. HOME DEFAULT.
	8. HOME AGRICULTURE
	9. HOME ARCHIECTURE
	10. HOME BITCOIN
	11. HOME CONSTRUCTION
	12. HOME ENERGY AND POWER
	13. HOME MINING
	14. HOME WELDING
	15. TEMPLATE PAGES.
	16. FOOTER.
	17. IMAGE GALLERY.
	18. FILTER GALLERY .
	19. YOUTUBE POPUP.
	20. MODAL POPUP.
	21. TESTIMONIALS.
	22. CUSTOMERS.
	23. LOADER.
    24. SCROLLING TOP
	
		
*/ 

/* =====================================
   	1. RESET.
   ===================================== */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body{
    overflow-x: hidden;
}

html {
  font-size: 24px;
  font-weight: 100;
  line-height: 1.5;
}

/* ===================================== 
	2. TYPOGRAPHY. 
   ===================================== */
h1, h2, h3, h4, h5, h6, p, ul,ol{
  margin-top: 0;
  margin-bottom: 1rem;
  color: #595959;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

h1, .h1 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: Aileron-Heavy;
}

h2, .h2 {
  font-size: 1.17rem;
  color: rgb(9, 42, 72);
  font-family: Aileron-Heavy;
  color: #002642;
}

h3, .h3 {
  font-size: 0.92rem;
  font-family: Aileron-Heavy;
  color: #595959;
}

h4, .h4 {
  font-size: 0.84rem;
  font-family: Aileron-Regular;
}

h5, .h5 {
  font-size: 0.75rem;
  font-family: Aileron-Regular;
}

h6, .h6 {
  font-size: 0.60rem;
  color: #595959;
  font-family: Aileron-Regular;
    text-transform: uppercase;
}

p {
  font-size: 15px;
  font-family: Aileron-Regular;
  color: #000;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* ==================================
   	3. BUTTOMS.
   ==================================*/
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.4rem 1.5rem;
  font-size: 0.70rem;
  line-height: 1.5;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: Aileron-Regular;
  font-weight: 500;
  border: 2px solid #ef3718;
  border-radius: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-custom {
  color: #FFF;
  background-color: #ef3718;
  transition: 0.3s;
  padding: 0.3rem 1.125rem;
  font-size: 0.60rem;    
}

.btn-custom:hover {
  color: #FFF;
  background-color: #251394;
  border-color: #251394;
}

.btn-custom:focus, .btn-custom.focus {
  box-shadow: none;
}

.btn-custom.disabled, .btn-custom:disabled {
  color: #fff;
  background-color: #e9b416;
  border-color: #e9b416;
}

.btn-custom:not(:disabled):not(.disabled):active, .btn-custom:not(:disabled):not(.disabled).active,
.show > .btn-custom.dropdown-toggle {
  color: #fff;
  background-color: #251394;
  border-color: #251394;
}

.btn-custom:not(:disabled):not(.disabled):active:focus, .btn-custom:not(:disabled):not(.disabled).active:focus,
.show > .btn-custom.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-slider {
  color: #FFF;
  background-color: #e9b416;
  border-color: #e9b416;
  transition: 0.3s;
  padding: 0.3rem 1.125rem;
  font-size: 0.60rem;  
  font-family: Aileron-Heavy;
}

.btn-slider:hover {
  color: #FFF;
  background-color: #251394;
  border-color: #251394;  
}

.btn-nav {
  color: #333;
  background-color: #ef3718;
  border-color: #ef3718;
  font-size: 0.50rem;
  padding: 0.15rem 0.65rem;
  line-height: 1.5;
  border-radius: 0px;
}

.btn-nav:hover {
  background-color: #fadd6b;
  border-color: #fadd6b;
}

.btn-small {
  color: #fff;
  background-color: #ef3718;
  border-color: #ef3718;
  font-size: 0.55rem;
  padding: 0.15rem 0.65rem;
  border-radius: 5px;
}

.btn-small:hover {
  color: #FFF;
  background-color: #251394;
  border-color: #251394;
}

.btn-box{
    margin-top: 15px;
}

/* =====================================
   	4. SPACE AND ALIGMENT.
   ===================================== */
.container, .container-fluid{
    margin: 60px auto 60px auto;
}

.inner-color{
   background: #f9f9f9; 
    padding: 60px 0px;
}

.inner-color .container{
   margin: 0px auto 0px auto
}

/* ==================================
   	5. HEADER.
   ==================================*/
.top-header{
    height: 40px;
    background: #ef3718;   
}

.top-header .container{
    margin: 0px auto;
}

.top-header-left{
    float: left;
}

.inner-header-left{
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
}

.inner-header-left p{
    font-size: 13px;
    color: #333;
}

.inner-header-left a:link {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.inner-header-left a:visited {
    text-decoration: none;
    color: #fff;
}

.inner-header-left a:hover {
    text-decoration: none;
    color: #251394;
}

.inner-header-left a:active {
    text-decoration: none;
    color: #333;
}

.top-header-social{
    float: right;
}

.inner-header-social{
    display: inline-block;
    margin-right: 5px;
}

.inner-header-social .fa{
    font-size: 15px;
    color: #fff;
    transition: 0.3s;
}

.inner-header-social .fa:hover{
    color: #251394;
}

header{
    background: #FFF;
    height: 130px;
}

header .container{
    margin: 0px auto;
    padding: 15px 0px;
}

.header-left{
    float: left;
    width: 20%;
    padding: 5px 0px;
}

figure.brand{
    width: 200px;
}

figure.brand img{
    width: 150%;
}

.top-location{
    float: right;
    padding: 10px 0px;
}

.top-location h6{
    font-size: 13px;
    margin-bottom: 2px;
}

.top-location p{
    font-size: 12px;
    margin-bottom: 0px;
}

.email, .clock{
    display: inline-block;
    margin-right: 10px;
    width: 220px;
}

.phone{
    display: inline-block;
    width: 220px;
}

.top-location h6{
    padding-top: 8px;
    text-transform: uppercase;
}

.clock-icon, .mail-icon, .phone-icon{
    width: 50px;
    float: left;
    margin-right: 10px;
}

.clock-icon img{
    width: 100%;
}

.mail-icon img{
    width: 100%;
}

.phone-icon img{
    width: 100%;
}

/* ==========================================================================
   	6. CAROUSEL.
   ========================================================================== */
.carousel{
    height: 700px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.carousel-inner {
    height: 500px;
}

.carousel-caption{
    position: absolute;
    top: 35%;
    bottom: 0;
    text-align: center;
    color: #FFF;
}

.carousel-caption h1{
    color: #FFF;
}

.carousel-caption h6{
    text-transform: uppercase;
    margin: 20px 0px;
    color: #FFF;
}

.carousel,
.carousel-item,
.active {
    height: 100%;
}

.carousel-img-1 {
    background-image:url('../img/images/2.png');
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-img-2 {
    background-image:url('../img/images/index-banner-2.jpg');
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.carousel-img-3 {
    background-image:url('../img/images/chemicalresearch.jpg');
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.carousel-img-1:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.3;
}

.carousel-img-2:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.3;
}

.carousel-img-3:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.3;
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  display: none;
}

.inner-btn{
    display: inline-block;
    margin-right: 10px;
}

/* ==================================
   	7. HOME DEFAULT
   ==================================*/
.home-front h6{
    text-transform: uppercase;
}

.home-front h2{
    margin: 20px 0px;
}

hr.left{
	width: 70px;
    border-top: 3px solid #251394;
    margin: 15px 0px 15px 0px;
}

.span-top{
    margin-top: 20px;
}

.icon-box figure.icon{
    width: 50px;
}

.icon-box figure.icon img{
    width: 100%;
}

.icon-box h3{
    font-size: 0.80rem;
    margin: 15px 0px 5px 0px;
}

.icon-box p{
    margin-bottom: 0px;
}

.bar-counter{
    background: #f2f2f2;
}

.inner-counter{
    padding: 30px 0px;
}

.counter-statistics .counter{
    font-family: Aileron-Heavy;
    font-size: 1.2rem;
}

.counter-statistics h5{
    text-transform: uppercase;
    margin-bottom: 0px;
    text-align: center;
}

.counter-icon{
    width: 50px;
    margin: auto;
}

.counter-icon img{
    width: 100%;
}

.counter{
    text-align: center;
    font-size: 30px;
    color: #666666;
}

.counter-statistics h5{
    text-align: center;
    font-size: 16px;
    color: #808080;
}

.front-play img{
    width: 100%;
}

.video-image img{
    width: 100%;
}

.wide-section-container{
    padding: 0px 15px;
}

.wide-pic, .wide-section{
    padding: 0px;
}

.wide-section{
    padding-top: 60px;
}

.wide-section h6{
    text-transform: uppercase;
}

.first{
    padding-right: 40px;
}

.second{
    padding-left: 40px;
}

.wide-pic img{
    width: 100%;
}

.thumb-prev{
    transition: .5s ease;
    backface-visibility: hidden;
}

.thumb-prev:hover{
    opacity: 0.8;
}

.thumb-prev img{
    width: 100%;
}

.post-preview .caption{
    margin-top: 20px;
}

.post-preview .caption h6{
    font-style: italic;
}

.post-preview .caption span{
    color: #251394;
}

.post-preview .caption h3{
    margin-bottom: 0px;
}

.post-preview .caption p{
    line-height: 1.8;
    margin: 15px 0px 0px 0px;
}

.post-preview  .caption h3 a:link {
    color: #595959;
    text-decoration: none;
    transition: 0.3s;
}

.post-preview  .caption h3 a:visited {
    color: #595959;
    text-decoration: none;
}

.post-preview  .caption h3 a:hover {
    color: #251394;
    text-decoration: none;
}

.post-preview  .caption h3 a:active {
    color: #595959;
    text-decoration: none;
}

/* ==================================
   	8. HOME AGRICULTURE
   ==================================*/
.pulse-button {
  width: 60px;
  height: 60px;
  border: none;
  box-shadow: 0 0 0 0 rgba(30, 148, 48, 0.7);
  border-radius: 50%;
  cursor: pointer;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent url(../img/master/play-button2.png) center center no-repeat;
  background-color: #FFF;
}

.pulse-button:hover 
{
  -webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
}

@-webkit-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}

.organic-pulsing-video .popup-youtube .video-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: none;
}

.about-services .border-icon{
    width: 60px;
    height: 60px;
    border: solid 2px #251394;
    position: relative;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.about-services .border-icon:hover{
    border: solid 1px #251394;
    background: #251394;
}

.about-services figure.icon-center{
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
}

.about-services  h4{
    margin-bottom: 5px;
}

.about-services  p{
    font-size: 13px;
    margin-bottom: 0px;
}

hr.about{
    width: 100%;
    border-top: 1px solid #ddd;
    margin: 40px auto 40px auto;
}

.border-icon .tractor{
    background-image: url("../img/master/tractor.png");
    width: 25px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: 0.3s;
}

.border-icon .tractor:hover{
    background-image: url("../img/master/tractor-white.png");
}

.border-icon:hover .tractor{
    background-image: url("../img/master/tractor-white.png");
}

.border-icon .seeding{
    background-image: url("../img/master/seeding.png");
    width: 25px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: 0.3s;
}

.border-icon .seeding:hover{
    background-image: url("../img/master/seeding-white.png");
}

.border-icon:hover .seeding{
    background-image: url("../img/master/seeding-white.png");
}

.border-icon .animal{
    background-image: url("../img/master/cow-face-front.png");
    width: 25px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: 0.3s;
}

.border-icon .animal:hover{
    background-image: url("../img/master/cow-face-front-white.png");
}

.border-icon:hover .animal{
    background-image: url("../img/master/cow-face-front-white.png");
}

.border-icon .friut{
    background-image: url("../img/master/fruits.png");
    width: 25px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: 0.3s;
}

.border-icon .friut:hover{
    background-image: url("../img/master/fruits-white.png");
}

.border-icon:hover .friut{
    background-image: url("../img/master/fruits-white.png");
}

.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}
            
.grid-panel{
    padding: 0px;
}

.grid figure {
	position: relative;
	overflow: hidden;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
            
.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
}

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
    color: #FFF;
}

figure.effect-ming p {
	padding: 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
    color: #FFF;
    font-size: 16px;
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming:hover img {
	opacity: 0.4;
}

/* ==================================
   	15. TEMPLATE PAGES.
   ==================================*/
.sections{
    background-image: url("../img/images/sections-bg.jpg");
    height: 400px; 
    margin-top: -55px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.sections:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.2;
}

.sections .container{
    margin: 0px auto;
}

.pages-title{
    position: absolute;
    bottom: 20px;
}

.pages-title h1{
    font-size: 1.2rem;
    color: #FFF;
}

.pages-title p{
    color: #FFF;
}

.section-title{
    text-align: center;
    margin-bottom: 30px;
}

.section-title h3{
    text-transform: uppercase;
}

hr.center{
    width: 80px;
    border-top: 3px solid #251394;
    margin: 15px auto;
}

/* ========= ABOUT US. ========== */
.about-img img{
    width: 100%;
}

.signature{
    width: 180px;
}

.signature img{
    width: 100%;
}

.team-avatar{
    transition: .5s ease;
    backface-visibility: hidden;
}

.team-box:hover .team-avatar{
  opacity: 0.8;
}

.team-avatar img{
    width: 100%;
}

.team-caption{
    padding: 20px 10px;
    text-align: center;
    background: #FFF;
    border-bottom: solid 3px #e9b416; 
    box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -moz-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -webkit-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -o-box-shadow: 0 0 10px rgba(204,204,204,0.6);
}

.team-caption h3{
    font-size: 0.80rem;
    margin-bottom: 5px;
}

.team-caption p{
    text-transform: uppercase;
    margin-bottom: 5px;
}

.company-pic img{
    width: 100%;
}

.values-box{
    box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -moz-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -webkit-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -o-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    padding: 40px 20px 50px 20px;
    background: #FFF;
    text-align: center;
}

.values-icon{
    width: 60px;
    margin: auto;
}

.values-icon img{
    width: 100%;
}

.values-box h3{
    font-size: 0.75rem;
    margin: 10px 0px;
}

.values-box p{
    margin-bottom: 0px;
}

/* ========= SOLUTIONS. ========== */
aside.services .list-group-item {
    font-family: Aileron-Regular;
    font-size: 15px;
}

.inner-service-block{
    margin-bottom: 30px;
}

aside.services .list-group-item .badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: none
}

aside.services .list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 10px;
  background-color: #f2f2f2;
  border: none;
  border-left: solid 3px #251394;
  border-radius: 0px;
  transition: 0.5s;
}

aside.services .list-group-item:hover {
  background-color: #251394;
}

aside.services .list-group-item:hover a:link{
  color: #FFF;
}

aside.services .list-group-item a:link {
    text-decoration: none;
    color: #14213D;
}

aside.services .list-group-item a:visited {
    text-decoration: none;
    color: #14213D;
}

aside.services .list-group-item a:hover {
    text-decoration: none;
    color: #FFF;
}

aside.services .list-group-item a:active {
    text-decoration: none;
    color: #14213D;
}

aside.services .list-group-item:hover a{
  color: #FFF;
}

aside.services .list-group-item:hover .fa{
  color: #FFF;
}

.service-pic img{
    width: 100%;
}

.bottom-box{
    margin-top: 40px;
}

.accordion-container{
    background: #f2f2f2;
    margin-top: 30px;
}

.accordion-head i{
    float: right;
    font-size: 16px;
    color: #e9b416;  
}

.accordion-head > .collapsed > i:before{
    content: "\f067";
    color: #e9b416;
}

.card{
    border-radius: 0px;
    border: none;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #f9f9f9;
  border-bottom: none;
  border-radius: 0px;
}

.accordion-head h3{
    margin-bottom: 0px;
    font-size: 0.65rem;
}

.accordion-content{
    background: #f9f9f9;
    padding: 0px 30px 30px 30px;
}

.accordion-content p{
    margin-bottom: 0px;
    color: #808080;
}

hr.accordion{
    width: 93%;
    border-top: 1px solid #e6e6e6;
    margin: 0px auto;
}

/* ========= BLOGS. ========== */
.posts-list{
    position: relative;
    margin-bottom: 40px;
}

.post-preview-image{
    position: relative;
}

.post-preview-image img{
    width: 100%;
}

.date-label{
    width: auto;
    height: auto;
    background: #e9b416;
    position: absolute;
    color: #FFF;
    padding: 10px 20px;
    bottom: 30px;
}

.date-label h6{
    margin-bottom: 0px;
    color: #FFF;
}

.fig-caption h3{
    margin: 20px 0px 10px 0px;
    color: #14213D;
}

.post-preview-details{
    margin-bottom: 5px;
}

.post-preview-details p{
    color: #333;
    margin: 10px 0px;
}

.inner-sidebar{
    margin-bottom: 30px;
    clear: both;
}

.inner-sidebar h5{
    margin-bottom: 20px;
    text-transform: uppercase;    
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.40rem 0rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.media-post{
    height: 95px;
}

.media-thumb{
    width: 80px;
    float: left;
    margin-right: 10px;
}

.media-thumb img{
    width: 100%;
}

.media-caption h5{
    margin-bottom: 5px;
    text-transform: none;
    font-size: 16px;
    line-height: 1.3;
}

.media-caption h5 a:link {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.media-caption h5 a:visited {
    text-decoration: none;
    color: #333;
}

.media-caption h5 a:hover {
    text-decoration: none;
    color: #808080;
}

.media-caption h5 a:active {
    text-decoration: none;
    color: #333;
}

.media-caption p{
    font-size: 13px;
}

.post-img img{
    width: 100%;
}

.span-posts{
    margin-bottom: 30px;
}

.span-posts .caption{
    margin-top: 20px;
}

.span-posts .caption h3{
    font-weight: 600;
}

.span-posts .caption p{
    margin-top: 15px;
}

.inner-list{
    display: inline-block;
    margin-right: 15px;
}

.list-group-item a:link {
    text-decoration: none;
    color: #808080;
    transition: 0.3s;
}

.list-group-item a:visited {
    text-decoration: none;
    color: #808080;
}

.list-group-item a:hover {
    text-decoration: none;
    color: #333;
}

.list-group-item a:active {
    text-decoration: none;
    color: #808080;
}

.tags-lists .btn{
    margin: 3px;
}

.pagination-box{
    position: relative;
    height: 47px;
    margin-top: 30px;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.33rem 0.45rem;
  margin: 0px 5px 0px 5px;
  line-height: 1.25;
  color: #FFF;
  background-color: #251394;
  border: 1px solid #251394;
  border-radius: 5%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.70rem;
  transition: 0.3s;
}

.page-link:hover {
  z-index: 2;
  color: #FFF;
  text-decoration: none;
  background-color: #002642;
  border-color: #002642;
}

.post-caption-image{
    position: relative;
}

.post-caption-image img{
    width: 100%;
}

.post-text p{
    margin: 15px 0px;
    line-height: 1.8;
}

.comments{
    margin-top: 40px;
}

/* ========= CAREERS. ========== */
.careers-pic img{
    width: 100%;
}

.careers-parallax{ 
    background-image: url("../img/images/img11.jpg");
    height: 100%; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 50px 0px 30px 0px;
}

.careers-parallax:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #14213D, #14213D);
  opacity: 0.8;
}

.benefits{
    padding: 30px 0px;
}

.benefit-icon{
    width: 60px;
    margin:auto;
}

.benefit-icon img{
    width: 100%;
}

.benefits h3{
    text-align: center;
    color: #251394;
    margin: 15px 0px 10px 0px;
}

.benefits p{
    text-align: center;
    color: #FFF;
}

.position-icon{
    width: 70px;
}

.position-icon img{
    width: 60%;
}

.position-box{
    padding: 20px 0px;
}

.position-box h4{
    margin: 10px 0px;
}

.position-box p{
    font-size: 13px;
}

.position-box a:link {
    text-decoration: none;
    color: #251394;
    transition: 0.3s;
}

.position-box a:visited {
    text-decoration: none;
    color: #251394
}

.position-box a:hover {
    text-decoration: none;
    color: #002642;
}

.position-box a:active {
    text-decoration: none;
    color: #251394;
}

/* ========= ERROR PAGE. ========== */
.error-page{
    background-image: url("../img/images/img11.jpg");
    height: 800px; 
    margin-top: -55px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.error-page:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.6;
}

.error-page .container{
    margin: 0px auto;
}

.error-page .middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFF;
}

.error-page .middle h1{
    color: #FFF;
}

.error-page .middle h4{
    color: #251394;
}

.error-page .middle p {
    color: #FFF;
}

/* ========= PRICING. ========== */
.pricing-table{
   box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -moz-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -webkit-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    -o-box-shadow: 0 0 10px rgba(204,204,204,0.6);
    text-align: center;
    margin-top: 50px;  
}

.pricing-header{
    background-color: #251394;
    padding: 20px;
}

.princing-circle{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #e9b416;
    margin: auto;
    margin-top: -70px;
    position: relative;
}

.price-amount{
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 40px;
    text-align: center;
    line-height: 1.2;
}

.price-amount{
    font-family: Aileron-Heavy;
    color: #fff;
}

.price-amount p{
    color: #FFF;
    font-size: 13px;
}

.header-info{
    text-align: center;
    line-height: 1;
    margin-top: 20px;
}

.header-info h3{
    color: #FFF;
}

.header-info p{
    color: #FFF;
}

.pricing-body{
    padding: 30px 20px 20px 20px;
}

/* ========= SOLUTIONS. ========== */
.solution-img{
    transition: .5s ease;
    backface-visibility: hidden;
}

.solution-img:hover{
  opacity: 0.8;
}

.solution-img img{
    width: 100%;
}

.solution-box .caption{
    margin-top: 20px;
}

.solution-box .caption h3{
    margin-bottom: 10px;
    font-size: 0.80rem;
}

.solution-box .caption p{
    margin-bottom: 0px;
    font-size: 14px;
}

.solution-box .caption h3 a:link {
    color: #595959;
    text-decoration: none;
    transition: 0.3s;
}

.solution-box .caption h3 a:visited {
    color: #595959;
    text-decoration: none;
}

.solution-box .caption h3 a:hover {
    color: #251394;
    text-decoration: none;
}

.solution-box .caption h3 a:active {
    color: #595959;
    text-decoration: none;
}

.desktop-view{
    margin-top: 40px;
}

/* ========= CONTACT. ========== */
.contact-info p{
    line-height: 2;
}

.inner-address p{
    margin-bottom: 10px;
    color: #808080;
    line-height: 2;
}

.inner-address .fa{
    color: #251394;
}

.customize{
    border: none;
    -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: none;
       -o-transition: none;
          transition: none;
    border-radius: 0px;
    background: #fff1cc;
    height: 60px;
    padding: 6px 12px;
    font-size: 14px;
	border: solid 1px #fff1cc;
    font-family: Aileron-Regular;
    color: #000;
}

.customize:focus {
  border-color: #e0ebeb;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.customize::-moz-placeholder {
  color: #333;
  opacity: 1;
}
.customize:-ms-input-placeholder {
  color: #333;
}
.customize::-webkit-input-placeholder {
  color: #333;
}

.customize::-ms-expand {
  background-color: none;
  border: 0;
}

.with-errors{
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    color: red;
}

.alert-success {
  color: #FFF;
  background-color: #251394;
  border-color: #251394;
  font-family: Aileron-Regular;
  font-size: 15px;
  line-height: 1.5;
}

.close {
  float: right;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: none;
  opacity: 1;
}

.map-iframe{
    width: 100%;
    height: 400px;
    border: none;
    border:none; box-shadow: 0 15px 30px 0 rgba(0,0,0,0.11),
                    0 5px 15px 0 rgba(0,0,0,0.08);
}

/* ==========================================================================
   	16. FOOTER.
   ========================================================================== */
footer{
    background: #002642;
    height: 100%;
    padding: 4px 0px 15px 0px;
}

figure.footer-logo{
    width: 200px;
    margin-bottom: 20px;
}

figure.footer-logo img{
    width: 100%;
}

.footer-col h5{
    color: #FFF;
    margin-bottom: 30px;
}

.footer-col p{
    color: #FFF;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col .list-group-item {
    position: relative;
    display: block;
    padding: 0.40rem 0rem;
    margin-bottom: -1px;
    background-color: transparent;
    border: 1px solid rgba(242, 242, 242);
    font-size: 13px;
    font-family: Aileron-Regular; 
    color: #FFF;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.footer-col .list-group-item a:link {
    text-decoration: none;
    color: #FFF;
    transition: 0.3s;
}

.footer-col .list-group-item a:visited {
    text-decoration: none;
    color: #FFF;
}

.footer-col .list-group-item a:hover {
    text-decoration: none;
    color: #251394;
}

.footer-col .list-group-item a:active {
    text-decoration: none;
    color: #FFF;
}

.bottom-location-icon{
    width: 35px;
    float: left;
    margin-right: 10px;
}

.bottom-location-icon img{
    width: 100%;
}

.location-box{
    padding: 10px 0px;
}

.location-box h6{
    color: #FFF;
    margin-bottom: 2px;
    font-size: 13px;
}

.location-box p{
    color: #FFF;
    font-size: 13px;
}

.newsletter-box {
	margin: 15px 0px 15px 0px;
}

.newsletter-box form {
  	display: flex;
  	align-items: center;
}

.newsletter-box .input {
  	width: 70%;
  	height: 38px;
  	background: #FDFCFB;
  	border: none;
  	font-family: inherit;
  	color: #737373;
  	letter-spacing: 1px;
  	text-indent: 5%;
  	font-size: 12px;
	font-family: Aileron-Regular; 
}

.newsletter-box .button {
  	width: 30%;
  	height: 38px;
  	background-color: #251394;
  	border: none;
  	border-radius: 0 5px 5px 0;
  	font-family: inherit;
  	font-weight: 500;
  	color: inherit;
  	letter-spacing: 1px;
  	cursor: pointer;
  	color: #FFF;
  	font-size: 12px;
	font-family: Aileron-Regular; 
}

p.cursive{
	font-style: italic;
    font-size: 13px;
}

hr.footer{
	border-top: 1px solid rgba(242, 242, 242);
    margin: 30px auto 30px auto;
}

.copytight{
    float: left; 
}

.copytight p{
    color: #FFF;
    font-size: 13px;
}
.social-items{
    display: inline-block;
    margin: 0px 2px;
}

.social-items:hover .fa{
    color: #fff;
}

.social-items .fa{
    color: #002642;
	font-size: 18px;
	transition: 0.3s;
}

.social-items .fa:hover{
    color: #fff;
}

.icon-fa{
    display:inline-block;
    font-size: 20px;
    line-height: 32px;
    background: #FFF;
    color: #FFF;
    width: 35px;
    height: 35px;
    text-align: center;
    vertical-align: bottom;
    border-radius: 5px;
    float: left;
	border: solid 1px #002642;
	transition: 0.3s;
}

.icon-fa:hover{
    background: #251394;
	border: solid 1px #251394;
}

.right-footer{
    float: right;
}

.right-footer p{
    font-size: 13px;
}

.right-footer a:link {
    text-decoration: none;
    color: #FFF;
    transition: 0.3s;
}

.right-footer a:visited {
    text-decoration: none;
    color: #FFF;
}

.right-footer a:hover {
    text-decoration: none;
    color: #251394;
}

.right-footer a:active {
    text-decoration: none;
    color: #FFF;
}

/* ==========================================================================
   	17. IMAGE GALLERY.
   ========================================================================== */
.magnific-img {
    width: 100%;
    height: 100%;
}

.magnific-img img {
    width: 100%;
    height: 100%;
    border-radius: 0px;
}

a.image-popup-vertical-fit {
    cursor: -webkit-zoom-in;
    z-index: 0;
    position: relative;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}
.mfp-arrow-left:before {
    border-right: none !important;
}
.mfp-arrow-right:before {
    border-left: none !important;
}
button.mfp-arrow, .mfp-counter {
    opacity: 0 !important;
    transition: opacity 200ms ease-in, opacity 2000ms ease-out;
}
.mfp-container:hover button.mfp-arrow, .mfp-container:hover .mfp-counter{
	opacity: 1 !important;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.9; 
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; 
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.magnific-img .image-popup-vertical-fit img a:link {
    text-decoration: none;
    border: solid 2px #000;
}

.magnific-img .image-popup-vertical-fit img a:visited {
    text-decoration: none;
    border: solid 2px #000;
}

.magnific-img .image-popup-vertical-fit img a:hover {
    text-decoration: none;
    border: solid 2px #000;
}

.magnific-img .image-popup-vertical-fit img a:active {
    text-decoration: none;
    color: #000;
    border: solid 2px #000;
}


.mfp-figure button.mfp-close {
    cursor: pointer;
}
.popup-gallery a {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}
.mfp-figure figure {
    cursor: -webkit-zoom-out;
    cursor: -moz-zoom-out;
    cursor: zoom-out;
}

/* ==========================================================================
   	18. FILTER GALLERY .
   ========================================================================== */

.nav-pills > li. active > a, .nav-pills > li. active > a:focus, .nav-pills >li .active > a:hover {
    color: #333;
    text-align: center;
}

.center-pills {
    display: flex;
    justify-content: center;
}

.nav-pills a {
    border: solid 2px #9BC53D;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-pills a {
    color: #333;
    margin-right: 10px;
    font-family: Aileron-Regular;
    font-size: 15px;  
    transition: 0.3s;
    border: solid 2px #251394;
    padding: 8px 20px;
    border-radius: 5px;
}

.nav >li > a:focus, .nav> li > a:hover {
    background: #251394;
    color: #FFF;
}

.portfolio-filter{
    margin-bottom: 30px;
}

.portfolio-item {
    margin: 0px;
    padding: 5px;
}

.portfolio-item img {
    width: 100%;
}

.portfolio-item:hover img {
    -webkit-filter: grayscale(50%);
    filter: grayscale(40%);
}

figure {
    margin: 0;
}

/* ==========================================================================
   	19. YOUTUBE POPUP.
   ========================================================================== */
.popup-youtube .video-image {
    position: relative;
    display: inline-block;
}

.popup-youtube .video-image img{
    width: 100%
}

.popup-youtube .video-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent url(../img/master/play-button.png) center center no-repeat;
}

.popup-youtube .video-image img a:link {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:visited {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:hover {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:active {
    text-decoration: none;
    color: #FFF;
}

/* ==========================================================================
   	20. MODAL POPUP.
   ========================================================================== */
.modal-box{
    text-align: center;
}

.modal-box p{
    margin: 15px 0px 15px 0px;
}

.modal-sm .modal-content{
    background: #FFF;
    border: 1px solid #ddd;
   border: 1px solid rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    padding: 10px 20px 10px 20px;
}

.close{
    color: #000;
}

@media (min-width: 992px) {
  .modal-md {
    width: 600px;
  }
}

/* ==========================================================================
   	21. TESTIMONIALS.
   ========================================================================== */

.testimonials-parallax{ 
    background-image: url("../img/images/img11.jpg");
    height: 450px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.testimonials-parallax:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom right, #000, #000);
  opacity: 0.4;
}

.main-gallery{
    margin-bottom: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 50%; 
}

.gallery-cell {
  width: 100%;
}

.testimonial-section{
    min-height: 200px;
}

.avatar {
  width: 100px;
  height: 100px;
  margin: auto;
}

.avatar img{
  width: 100%;
  border-radius: 50%;
}

p.quote{
    text-align: center;
    font-size: 15px;
    color: #FFF;
    font-weight: normal;
    margin: 10px 0px 40px 0px;
    padding: 0px 50px;
    line-height: 1.6;
    font-style: italic;
}

h3.autor{
    text-align: center;
    margin: 15px 0px;
    color: #ef3718;
}

h6.testimonial-title{
    text-align: center;
    color: #FFF;
}

.flickity-enabled{
    position: relative;
}

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

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

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

.flickity-enabled.is-draggable{
    -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-prev-next-button{
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0%;
    background: #fff;
    background: hsla(0,0%,100%,.75);
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.flickity-prev-next-button:hover{
    background: #fff;
}

.flickity-prev-next-button:focus{
    outline: 0;
    box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active{
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.flickity-prev-next-button.previous{
    left: 10px;
}

.flickity-prev-next-button.next{
    right: 10px;
}

.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:disabled{
    filter: alpha(opacity=30);
    opacity: 0.3;
    cursor: auto;
}

.flickity-prev-next-button svg{
    position:absolute;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}

.flickity-prev-next-button .arrow{
    fill: #333;
}

.flickity-prev-next-button.no-svg{
    color: #333;
    font-size: 26px;
}

.flickity-page-dots{
    position: absolute;
    width: 100%;
    bottom: -5px;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1;
}

.flickity-rtl .flickity-page-dots{
    direction:rtl;
}

.flickity-page-dots .dot{
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 8px;
    background: #fff; 
    border-radius: 50%;
    filter: alpha(opacity=25);
    opacity: 0.8;
    cursor: pointer;
}

.flickity-page-dots .dot.is-selected{
    filter:alpha(opacity=100);
    opacity:1;
    width: 20px;
    height: 10px;
    border-radius: 5px;
    background: #ef3718;
}

/* ==========================================================================
   	22. CUSTOMERS.
   ========================================================================== */

.slick-dots {
  text-align: center;
  padding: 0;
}
.slick-dots li {
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
    display: none;

}
.slick-dots li.slick-active button {
  background-color: #999;
}
.slick-dots li button {
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  background-color: #fff;
  border: solid 1px #999;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.slick-dots li :hover {
  background-color: #999;
}

.responsive{
    clear: both;
}

.responsive div img{
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 800px) {
  .next, .prev {
    display: none !important;
  }
}

.span-item img{
    width: 100%;
}

/* ==========================================================================
   	23. LOADER.
   ========================================================================== */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1031;
  background-color: #F2F2F2;
}

@-webkit-keyframes enter {
  0% {
    opacity: 0;
    top: -10px;
  }
  5% {
    opacity: 1;
    top: 0px;
  }
  50.9% {
    opacity: 1;
    top: 0px;
  }
  55.9% {
    opacity: 0;
    top: 10px;
  }
}
@keyframes enter {
  0% {
    opacity: 0;
    top: -10px;
  }
  5% {
    opacity: 1;
    top: 0px;
  }
  50.9% {
    opacity: 1;
    top: 0px;
  }
  55.9% {
    opacity: 0;
    top: 10px;
  }
}
@-moz-keyframes enter {
  0% {
    opacity: 0;
    top: -10px;
  }
  5% {
    opacity: 1;
    top: 0px;
  }
  50.9% {
    opacity: 1;
    top: 0px;
  }
  55.9% {
    opacity: 0;
    top: 10px;
  }
}

* {
  margin: 0;
}

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -27.5px;
  margin-top: -27.5px;
}

.square {
  background: #251394;
  width: 15px;
  height: 15px;
  float: left;
  top: -10px;
  margin-right: 5px;
  margin-top: 5px;
  position: relative;
  opacity: 0;
  -webkit-animation: enter 6s infinite;
  animation: enter 6s infinite;
}

.enter {
  top: 0px;
  opacity: 1;
}

.square:nth-child(1) {
  -webkit-animation-delay: 1.8s;
  -moz-animation-delay: 1.8s;
  animation-delay: 1.8s;
}

.square:nth-child(2) {
  -webkit-animation-delay: 2.1s;
  -moz-animation-delay: 2.1s;
  animation-delay: 2.1s;
}

.square:nth-child(3) {
  -webkit-animation-delay: 2.4s;
  -moz-animation-delay: 2.4s;
  animation-delay: 2.4s;
  background: #251394;
}

.square:nth-child(4) {
  -webkit-animation-delay: 0.9s;
  -moz-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

.square:nth-child(5) {
  -webkit-animation-delay: 1.2s;
  -moz-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

.square:nth-child(6) {
  -webkit-animation-delay: 1.5s;
  -moz-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.square:nth-child(8) {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.square:nth-child(9) {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.clear {
  clear: both;
}

.last {
  margin-right: 0;
}

/* ==========================================================================
   	24. SCROLLING TOP.
   ========================================================================== */
@media only screen and (min-width: 1024px) {
  main p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(255, 64, 76, 1) url(../img/master/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  border-radius: 5px;  
  background-color: #251394;    
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #251394;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  } 
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}



