/* 
LOAD
*/
body[data-load='false'] header {animation: loading 2000ms ease-in-out infinite alternate-reverse;}
body[data-load='false']:not([data-template='home']) header {transform: translateY(calc(50vh - 100% + 2rem));}
body[data-load='false'] #header-pages {opacity: 0;}
body[data-load='false'] main {opacity: 0;}
body[data-load='false'] footer {opacity: 0;}

@keyframes loading {
    0% {opacity: .1;}
    100% {opacity: .25;}
}

/* 
COLOR
*/
.c-white {color: white;}
.c-alpha {color: rgba(255, 255, 255, .25);}


/* 
ELEMENTS
*/
.ratio-9_16 {aspect-ratio: 9/16;}
.ratio-2_3 {aspect-ratio: 2/3;}
.ratio-4_5 {aspect-ratio: 4/5;}
.ratio-1_1 {aspect-ratio: 1/1;}
.ratio-5_4 {aspect-ratio: 5/4;}
.ratio-3_2 {aspect-ratio: 3/2;}
.ratio-16_9 {aspect-ratio: 16/9;}

.media-cover {width: 100%; height: 100%; object-fit: cover;}
.media-contain {width: 100%; height: 100%; object-fit: contain;}




/* 
MEASURMENTS
*/
.pad {padding: 1rem;}
.pad-s {padding: .75rem;}
.pad-h {padding: 0 1rem;}
.pad-v {padding: 1rem 0;}
.pad-page {padding: var(--mar_m-top) .7rem 1rem ;}

.mar-t {margin-top: 1rem;}
.mar-b {margin-bottom: 1rem;}

@media only screen and (min-width: 768px) {
    .pad-page {padding: var(--mar_d-top) 1rem 1rem;}
}




/* 
DISPLAY
*/
.block {display: block !important;}
.inline {display: inline !important;}

.flex {display: flex !important;}
.f-wrap {flex-wrap: wrap;}
.f-nowrap {flex-wrap: nowrap;}
.f-column {flex-direction: column;}

.j-center {justify-content: center;}
.j-end {justify-content: end;}
.j-between {justify-content: space-between;}
.j-around {justify-content: space-around;}
.j-evenly {justify-content: space-evenly;}

.a-start {align-items: start;}
.a-center {align-items: center;}
.a-end {align-items: end;}




/* 
POSITION
*/
.p-fixed {position: fixed;}
.p-sticky {position: sticky;}
.p-relative {position: relative;}
.p-absolute {position: absolute;}

.p-all {top: 0; right: 0; bottom: 0; left: 0;}




/* 
STATUS
*/
.hide {display: none !important;}

.hide-scrollbar::-webkit-scrollbar {display: none;}
.hide-scrollbar {-ms-overflow-style: none; scrollbar-width: none;}

.v-hide {visibility: hidden;}
.stop {overflow: hidden;}


@media only screen and (min-width: 768px) {}
@media only screen and (min-width: 1096px) {}
@media only screen and (min-width: 2048px) {}
@media (hover: hover) {}