/*

Custom Site CSS
===============

Site name:			Tigme
Site URI:   		https://tigme.com
Site created:		December 2018
Author:				Tigme
Author URI: 		https://tigme.com
Framework:			TIGME TiMe Framework built on Bootstrap 4.0.0
Framework version:	2.0
Framework created:	December 2018

*/

/* ---------------
index
------------------

	1. layout  (body, col-*, etc)
	2. navigation
	3. content structure  (article, figure, table, tooltip etc)
	4. typography  (h1-h4, p, a, ul, ol, hr, buttons etc)
	5. footer
	6. cookie popup styles

*/


/* ----------------------------------------------------------------------------------
1. layout
---------------------------------------------------------------------------------- */

body {
	font-family: 'Zilla Slab', serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #b4b9c1;
	margin: 0 auto;
	width: 100%;
}

@media (max-width: 767px) {

	body {
		font-size: 15px;
	}
	
}

.diagnostic-border {
	border: 2px solid #ff0000;
}

.logo-size {
	width: 170px;
}

a.logo {
	opacity: 0.5;
	transition: 0.3s ease-in-out;
}
a.logo:hover,
a.logo:focus {
	opacity: 1;
}

@media (min-width: 480px) and (max-width: 767px) {

	.logo-size {
		width: 200px;
	}
}

@media (min-width: 320px) and (max-width: 479px) {

	.logo-size {
		width: 150px;
	}
	
	small {
	  font-size: 70%;
	}
}

.bg-page-home {
	background-color: #fff;
}

.bg-page-content {
	background-color: #383f4a;
}

.bg-charcoal {
	background-color: #383f4a;
}

.bg-grey {
	background-color: #6c757d;
}

.padding-top-1em {
	padding-top: 1em;
}

.padding-bottom-1em {
	padding-bottom: 1em;
}

.padding-top-2em {
	padding-top: 2em;
}

.padding-bottom-2em {
	padding-bottom: 2em;
}

.padding-sm-right-2em {
	padding-right: 2em;
}

.padding-sm-left-2em {
	padding-left: 2em;
}

@media (max-width: 767px) {

	.padding-sm-right-2em {
		padding-right: 0;
	}

	.padding-sm-left-2em {
		padding-left: 0;
	}
	
}

blockquote {
	display: block;
	width: 100%;
	padding: 1px 30px 10px 30px;
	color: #383f4a;
	text-align: center;
	background-color: #f9c764;
}
blockquote h2 {
	display: inline-block;
	color: #e44b52;
	border-bottom: solid 3px #e44b52;
	padding-bottom: 7px;
	font-weight: 500;
}



/* ----------------------------------------------------------------------------------
2. navigation
---------------------------------------------------------------------------------- */




/* ----------------------------------------------------------------------------------
3. content structure
---------------------------------------------------------------------------------- */

.container {
	max-width: 900px;
}

.container-home {
	max-width: 480px;
	margin: 0 auto;
}

article {
	margin-top: 2rem;
}

#tigme-dot-com {
	margin-top: 0;
}

.row-height-home {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	height: 85vh;
}

article.padding-bottom-mobile {
	padding-bottom: 14em;
}

.col-xs-4 {
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

/* image gallery */
a.thumbnail {
	border: solid 5px rgba(136, 197, 64, 0);
	border-radius: 0;
	padding: 0;
	margin-bottom: 0;
	transition: 0.1s ease-in-out;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
	background-color: rgba(255,255,255,1.00);
	border-color: #d2d6d8;
	-webkit-filter: contrast(150%) grayscale(40%);
	filter: contrast(150%) grayscale(40%);
	border: solid 7px rgba(136, 197, 64, 0);
}

.thumbnail > img {
    width: 100%;
}


.table-stack > tbody > tr > td::before {
	content: attr(title) "\A";
	white-space: pre-wrap;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(51, 56, 71, 0.50);
}

@media (max-width: 767px) {
	/* style to move td's below one another on mobiles */
	.table > thead > tr > th,
	.table > thead > tr > td {
		display: block;
		width: 100%;
		text-align: left;
		text-indent: 0;
		padding: 0.3em;
		border-top: none;
		border-bottom: none;
	}
	.table > tbody > tr > th,
	.table > tbody > tr > td {
		display: block;
		width: 100%;
		text-align: left;
		padding: 0.3em;
	}
	.table > thead > tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
}


/* -------------------------------------------------------------------------------------
4. typography
------------------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	line-height: 1;
	margin: 2rem 0 1rem 0;
	text-transform: uppercase;
}

h1.home-page {
	font-family: 'Nova Mono', monospace;
	display: inline;
	font-size: 15em;
	margin: 0;
	letter-spacing: 0;
}

h1 {
	font-size: 1.9em;
	letter-spacing: 0.1em;
	color: #fff;
	margin-bottom: 2rem;
}

@media (max-width: 767px) {

	h1 {
		font-size: 2em !important;
	}
	
}

h2 {
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	color: #f9c764;
}

h3 {
	font-size: 1.3rem;
	letter-spacing: 0.1em;
	color: #f9c764;
}

a:hover,
a:focus {
	color: #fff !important;
}

a.text {
	color: #939dae;
}
a.text:hover,
a.text:focus {
	color: #fff;
}

/*a.policies {
	color: #f9c764;
}*/
a.policies:hover,
a.policies:focus {
	color: #01c7d9;
}

a.footer-policies {
	color: #f9c764;
}
a.footer-policies:hover,
a.footer-policies:focus {
	color: #01c7d9;
}

a:hover,
a:focus {
  color: #1e3e6e;
  text-decoration: none;
}

.text-white {
	color: #fff;
}

.text-teal {
	color: #01c7d9;
}

.text-red {
	color: #e44b52;
}

.text-yellow {
	color: #f9c764;
}

.w-center {
	color: #383f4a;
	animation: 1s fadeIn;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes fadeIn {
	15% {
		opacity: 0;
	}
	25% {
		opacity: 0.2;
	}
	70% {
		opacity: 0.8;
	}
	100% {
		opacity: 1;
	}
}

.w-center-link {
	font-size: 1.1em;
	line-height: 2;
	color: #1e3e6e;
}
.w-center-link::before {
	content: "";
	position: absolute;
	left: 40%;
	height: 7px;
	width: 30px;
	background-color: #1e3e6e;
    margin: -10px auto 0 auto;
}

.w-move-left {
	color: #383f4a;
	animation: 2s moveLeft;
	animation-fill-mode: forwards;
	position: absolute;
	opacity: 1;
}
.w-move-left:hover,
.w-move-left:focus {
	color: #f9c764;
}
@keyframes moveLeft {
	0% {
		transform: translateX(130px);
		opacity: 0;
	}
	60% {
		opacity: 0.07;
	}
	100% {
		transform: translateX(-105px);
		opacity: 1;
	}
}

.w-move-left-link {
	font-size: 1.1em;
	line-height: 2;
	color: #f9c764;
}
.w-move-left-link::before {
	content: "";
	position: absolute;
	right: 0;
	height: 7px;
	width: 30px;
	background-color: #f9c764;
    margin: -10px auto 0 auto;
}

.w-move-right {
	color: #383f4a;
	animation: 2s moveRight;
	animation-fill-mode: forwards;
	position: absolute;
	opacity: 1;
}
.w-move-right:hover,
.w-move-right:focus {
	color: #01c7d9;
}
@keyframes moveRight {
	0% {
		transform: translateX(-190px);
		opacity: 0;
	}
	60% {
		opacity: 0.07;
	}
	100% {
		transform: translateX(-13px);
		opacity: 1;
	}
}

.w-move-right-link {
	font-size: 1.1em;
	line-height: 2;
	color: #01c7d9;
}
.w-move-right-link::before {
	content: "";
	position: absolute;
	left: 0;
	height: 7px;
	width: 30px;
	background-color: #01c7d9;
    margin: -10px auto 0 auto;
}

@media (min-width: 320px) and (max-width: 479px) {
	
	.container {
		max-width: 320px;
	}
	
	h1 {
		font-size: 10em !important;
		letter-spacing: 0em;
	}
	
	.w-center {
		opacity: 1;
	}
	.w-center-link::before {
		left: 34.5%;
	}
	
	.w-move-left {
		position: relative;
		animation: none !important;
		transform: none !important;
	}
	.w-move-left-link {
		padding-right: 8px;
	}
	.w-move-left-link::before {
		right: 9px;
	}
	
	.w-move-right {
		position: relative;
		animation: none !important;
		transform: none !important;
	}
	.w-move-right-link {
		padding-left: 8px;
	}
	.w-move-right-link::before {
		left: 9px;
	}
}

b {
	font-weight: 600;
}

.link-breadcrumbs {
	display: block;
	width: 100%;
	max-height: 50px;
	font-size: 0.9em;
	line-height: 1.2;
	text-transform: uppercase;
	color: rgba(51, 56, 71, 0.30);
	padding-left: 0.9em;
	padding-top: 2.25em;
	padding-bottom: 0.25em;
	background-color: rgba(165, 138, 110, 0.05);
}
.link-breadcrumbs > a {
	color: rgba(51, 56, 71, 0.40);
	background-color: rgba(165, 138, 110, 0.05);
}
.link-breadcrumbs > a:hover,
.link-breadcrumbs > a:focus {
	border-bottom: dotted 2px rgba(51, 56, 71, 0.20);
}
.link-breadcrumbs-spacer {
	display: block;
	width: 100%;
	height: 50px;
}
	
ul {
	margin-left: -1.8em;
	margin-bottom: 2em;
}

li {
	padding-left: 0.7em;
	margin-bottom: 1em;
}

hr {
  border-top: 1px solid rgba(73, 81, 93, 1.0);
}

.btn-primary {
	font-family: 'Raleway', sans-serif;
	color: #383f4a;
	background-color: #fff;
	border-color: #383f4a;
}

.btn-primary:hover {
	color: #fff;
	background-color: #01c7d9;
	border-color: #01c7d9;
}

.btn-secondary {
	font-family: 'Zilla Slab', serif;
	font-size: 15px;
	letter-spacing: 1px;
	color: #939dae;
	background-color: rgba(255, 255,255, 0);
	border: solid 1px rgba(255, 255,255, 0.2);
	/*border: solid 1px #939dae;*/
}

.btn-secondary:focus,
.btn-secondary:hover {
	color: #fff;
	background-color: #01c7d9;
	border-color: #01c7d9;
}


/* -------------------------------------------------------------------------------------
5. footer
------------------------------------------------------------------------------------- */

footer {
	display: block;
	position: fixed;
	width: 100%;
	bottom: 0;
	padding-top: 2rem;
	background-color: transparent;
}

footer > div.footer-div {
	display: block;
	max-width: 480px;
	background-color: transparent;
	margin: 0 auto;
}

footer > p {
	color: #383f4a;
	font-size: 0.65em !important;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}


/* -------------------------------------------------------------------------------------
6. cookie popup styles
------------------------------------------------------------------------------------- */

.consent {
	display: none;
}

.js .consent {
	display: block;
} /* show bar only if JS enabled */

.consent {
	/*display: block;*/
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center !important;
	background-color: #01c7d9;
	padding: 10px 30px;
	-webkit-animation: fadeBar 1s 1s both;
	animation: fadeBar 1s 1s both;
}

.consent p,
.consent span {
	display: inline;
	font-size: 14px;
	text-align: center !important;
	line-height: 1 !important;
	color: #383f4a;
}

.consent a {
	text-transform: uppercase;
	text-decoration: none;
	color: #383f4a;
	letter-spacing: 0.05em;
	padding: 6px 10px 5px 10px;
	margin-left: 5px;
	border: solid 1px #383f4a;
}
.consent a:hover,
.consent a:focus {
	color: #fff;
	border: solid 1px #fff;
}

.consent button {
	padding: 8px 20px;
	font-weight: bold;
	color: #01c7d9;
	background-color: #383f4a;
	margin-left: 5px;
	border: none;
}

.consent button:hover {
	background: #fff;
	cursor: pointer;
}

@media (max-width: 767px) {

	.consent p {
		margin-bottom: 20px !important;
	}

	.consent span {
		display: block;
		margin-top: 20px;
	}

	.consent span > a {
		font-size: 12px;
	}

	.consent button {
		margin-top: 20px;
		margin-bottom: 20px;
	}
} 

@-webkit-keyframes fadeBar {
	0% { opacity:0; -webkit-transform:translateY(100%) }
	100% { opacity:1; -webkit-transform:none }
	}
@keyframes fadeBar {
	0% { opacity:0; transform:translateY(100%) }
	100% { opacity:1; transform:none }
	}
