@use '../utils' as u;
@use '../utils' as *;

/*----------------------------------------*/
/*   Typography scss
/*----------------------------------------*/
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: var(--td-ff-body);
	font-size: 16px;
	font-weight: normal;
	line-height: 1.5;
	color: var(--td-text-primary);
}

/*----------------------------------------*/
/*  rock page bg
/*----------------------------------------*/
.rock-page-bg {
	background-image: url(../images/bg/body-bg.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
/*----------------------------------------*/
/*  rock auth bg
/*----------------------------------------*/
.rock-auth-bg {
	background-image: url(../images/bg/auth-bg.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
/*----------------------------------------*/
/*  rock-dashboard bg
/*----------------------------------------*/
.rock-dashboard-bg {
    background-image: url(../images/bg/dashboard-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100vh;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: $black;
	margin-top: 0px;
	line-height: 1.125;
	margin-bottom: 0;
	font-weight: 700;
	word-break: break-word;
}

h1,
.h1 {
	line-height: 1.125;
	font-weight: 700;
	font-size: clamp(u.rem(28), u.rem(16) + 2vw, u.rem(70));
	@media #{$xl} {
		font-size: 50px;
	}
	@media #{$lg} {
		font-size: 50px;
	}
	@media #{$md} {
		font-size: 38px;
	}
	@media #{$sm} {
		font-size: 38px;
	}
	@media #{$xs} {
		font-size: 40px;
	}
	@media #{$xs} {
		font-size: 32px;
	}
}

h2,
.h2 {
	font-size: clamp(u.rem(22), u.rem(14) + 1.5vw, u.rem(40));
    line-height: 1.3;
    font-weight: 700;
	@media #{$xxl} {
		font-size: 44px;
	}
	@media #{$lg} {
		font-size: 36px;
	}
	@media #{$md} {
		font-size: 36px;
	}
	@media #{$sm} {
		font-size: 32px;
	}
	@media #{$xs} {
		font-size: 28px;
	}
	@media #{$xxs} {
		font-size: 24px;
	}
}

h3,
.h3 {
	line-height: 1.25;
	font-weight: 700;
	@media #{$sm} {
		font-size: 28px;
	}
	@media #{$xs} {
		font-size: 24px;
	}
}

h4,
.h4 {
	line-height: 1.33;
	font-weight: 700;
	@media #{$sm,$xs} {
		font-size: 22px;
	}
}

h5,
.h5 {
	line-height: 1.4;
	font-weight: 700;
	@media #{$xs} {
		font-size: 20px;
	}
}

h6,
.h6 {
	line-height: 1.44;
	font-weight: 700;
	@media #{$xs} {
		font-size: 18px;
	}
}

ul {
	margin: 0px;
	padding: 0px;
}

p {
	color: var(--td-text-primary);
	font-size: u.rem(16);
	&.b1 {
		font-size: 12px;
		line-height: 1.4;
	}
	
	&.b2 {
		font-size: 14px;
		line-height: 1.5;
	}
	
	&.b3 {
		font-size: 20px;
		line-height: 1.625;
	}
	
	&.b4 {
		font-size: 22px;
		line-height: 1.754;
	}
	&:last-child {
		margin-bottom: 0px;
	}
}

a {
	text-decoration: none;
}

a,
.btn,
button,
span,
sub,
sup,
p,
select,
textarea,
img,
svg,
.transition-3,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
}

a:focus,
.button:focus {
	text-decoration: none;
	outline: none;
}

a:focus,
a:hover {
	text-decoration: none;
	color: inherit;
}

a,
button {
	color: inherit;
	outline: none;
	border: none;
	background: transparent;
}
.o-x-clip {
	overflow-x: clip;
}
img {
	max-width: 100%;
	object-fit: cover;
}

button:hover {
	cursor: pointer;
}

button:focus {
	outline: 0;
}

.uppercase {
	text-transform: uppercase;
}

.capitalize {
	text-transform: capitalize;
}

hr:not([size]) {
	margin: 0;
	border-color: #ddd;
	opacity: 1;
	border-width: 1px;
}
*::-moz-selection {
	background: var(--td-black);
	color: var(--td-white);;
	text-shadow: none;
}

::-moz-selection {
	background: var(--td-black);
	color: var(--td-white);;
	text-shadow: none;
}

::selection {
	background: var(--td-black);
	color: var(--td-white);;
	text-shadow: none;
}

*::-moz-placeholder {
	opacity: 1;
	font-size: 14px;
}

*::placeholder {
	opacity: 1;
	font-size: 14px;
	font-weight: 400;
}

/*---------------------------------
  1.2 Common Classes
---------------------------------*/
.w-img {
	& img{
		width: 100%;
	}
}
.m-img {
	& img{
		max-width: 100%;
	}
}
.fix {
    overflow:hidden
}
.clear {
  clear: both;
}
.f-left {
	float: left
}
.f-right {
	float: right
}
.z-index-1 {
	z-index: 1;
}
.z-index-11 {
	z-index: 11;
}
.p-relative {
	position: relative;
}
.p-absolute{
	position: absolute;
}
.position-absolute{
	position: absolute;
}
.include-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hr-1 {
	border-top: 1px solid rgb(232, 232, 232);
}
.x-clip {
	overflow-x: clip;
}
.o-visible {
	overflow: visible;
}
.valign {
	@include flexbox();
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
}