/* Special media for buttons */
@media (max-width: 350px) {
	.btn-1 {padding: 10px 18px;}
    .btn-2 {padding: 10px 18px;}
    .btn-3 {padding: 9px 17px;}
}

/* Font sizes */

@media (max-width: 767px) {
	.title-h {
		font-size: 1.75rem;
	}
	.title-q {
		font-size: 1.825rem;
	}

	.headline--header-title {
		font-size: 2.8rem;
	}
}

/* Special nav fix for small devices */
@media (max-width: 400px) {
	.navbar-brand {
		max-width: 230px;
	}
}
/* Medium devices (Tablets, 768px and up) */
@media (max-width: 767px) {
	h1 {font-size: 33px; line-height: 33px;}
	h2 {font-size: 29px; line-height: 29px;}
	h3 {font-size: 25px; line-height: 26px;}
	h4 {font-size: 22px; line-height: 24px;}
	h5 {font-size: 18px; line-height: 20px;}
	h6 {font-size: 14px; line-height: 17px;}

	.navbar {
		padding: 15px 0;
	}
	.navbar-collapse {
		background-color: #fff; margin-top: 10px;
	}
	.navbar .navbar-nav .nav-link {
		color: #333;
		text-align: center;
	}

	.navbar-brand {
    margin-left: 1rem;
	}

	.title-p {
		margin: 20px 10px;
	}

	.header-area .welcome-text p,
	.page-text p {
		margin: 0 10px;
	}

	.header-area .welcome-text h1 {
		font-size: 40px;
		line-height: 40px;
	}

	.header-area {
		background-attachment: initial;
	}

	.play-full-header-video {
		margin-top: 1.25rem;
		width: 1rem;
	}

	.header-arrow {
		width: 1.2rem;
		bottom: 5px;
	}

	/*----------------------------------------------------
						TYPE AREA BACKGROUND IMAGE
	----------------------------------------------------*/
	.type-area {
		background-image: none; /* unused source asset returned 404 */
		background-attachment: fixed;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		height: 100%;
	  color:#fff;
	}

	.type-area p{
	  color:#fff;
	}

	.type-area .overlay-bg-70 {
		height: 100vh;
	}

	.type-area .welcome-text p {
		margin: 0 22%;
	}

	.type-area .welcome-text h1 {
		font-size: 50px;
		line-height: 50px;
	}


	.video-area {
		background-attachment: initial;
	}

	.numbers-area {
		background-attachment: initial;
	}

	.testimonials-area .single-review p {
		line-height: 1.5em;
		margin: 0 10%;
	}

	.services-area .border-bottom {
		display: none;
	}
	.services-area .border-left {
		border-left: none !important;
		border-top: 1px dotted grey;
	}

	.what{
		margin-bottom: 70px;
	}

	.check{
		/*border-bottom:1px solid black;*/
	}

	.flow_steps{
		display:flex;
	}

	.flow_icon{
		order:1;
	}

	.flow_copy{
		order:2;
	}

	.flow_screenshot{
		order:3;
	}

	.subline{
	  font-size:0.5em;
	}

	.section-border{
		border:0px;
	}

	.section-padding{
		border:0px;
	}
}

@media (max-width: 991px) {
	.square {
		height: 50vw;
		width: 50vw;
		line-height: 60vw;
	}

	/* Checkerboard */

	.square {
		flex-basis: 50%;
	}
	.square .flip-card__front,
	.square .flip-card__back {
		background-color: #C3A860;
		background: linear-gradient(315deg, #6a4a20 0%, rgba(195,168,96,1) 100%);
		color: #FFF;
	}

	.square:nth-child(4n) .flip-card__front,
	.square:nth-child(4n) .flip-card__back,
	.square:nth-child(4n+1) .flip-card__front,
	.square:nth-child(4n+1) .flip-card__back {
		background: #000;
		color: #C3A860;
	}

	.square h2{
		font-size: 19.2vw; /* = 200px @ 1920px */
	}

	.square h2.fact {
		font-size: 5vw;
	}

	.square h2.small{
	  font-size:0.7em;
	}

}

/* Small devices (Landscape phones, 576px and up) */
@media (max-width: 575px) {
	.title-h {
		font-size: 1.5rem;
	}
	.title-q {
		font-size: 1.625rem;
	}

	.title-o {
		font-size: 2.2rem;
	}

	.headline--header-title {
		font-size: 2rem;
	}
	.square h2 {
		font-size: 37vw;
	}
	.square h2.fact {
		font-size: 9vw;
	}

	.square {
		flex-basis: 100%;
		padding-bottom: 100%;
	}
	.square:nth-child(2n+1) .flip-card__front,
	.square:nth-child(2n+1) .flip-card__back {
		background-color: #C3A860;
		background: linear-gradient(315deg, #6a4a20 0%, rgba(195,168,96,1) 100%);
		color: #FFF;
	}

	.square:nth-child(2n) .flip-card__front,
	.square:nth-child(2n) .flip-card__back {
		background: #000;
		color: #C3A860;
	}
}


/* Large devices (Desktops, 992px and up) */
@media (max-width: 991px) {
	.header-area.text-left .welcome-text p {
		margin: 0 25% 20px 0;
	}
}

/* Extra large devices (Large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.navbar .container {
		max-width: 100%;
		margin: 0 30px;
	}
}


/* About Page Team Image */

@media (max-width: 768px) {
	.image__square--mobile {
		height: 0;
		padding-bottom: 100%;
		position: relative;
	}
	.image__square--mobile > img {
		position: absolute;
		height: 100%;
		width: 100%;
		object-fit: cover;
	}
}
