/*
Theme Name: Algefer
Author: Reza Algefer
Text Domain: algefer
*/

@font-face {
    font-family: 'AB';
    src: url('aset/font/AB-R.woff');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'AB';
    src: url('aset/font/AB-B.woff');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
    letter-spacing: inherit;
    border-color: inherit;
	text-decoration: none;
    text-shadow: inherit;
    list-style: none;
    outline: none;
    border-radius: none;
    text-align: inherit;
	text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
	font-variant-numeric: inherit;
	-moz-font-feature-settings: inherit;
	-webkit-font-feature-settings: inherit;
    font-feature-settings: inherit;
}

html, body {
    font-family: 'AB';
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 15px;
    line-height: 36px;
    background: #333;
}

b, .b {
	font-weight: bold;
}

.header {
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header:after {
    content: '';
    display: block;
    width: 200%;
    height: 64px;
    position: absolute;
    top: -64px;
    left: -25%;
    box-shadow: 0 0 205px rgba(0,0,0,1);
    z-index: -1;
}

.logo {
    font-size: 0;
    width: 128px;
    height: 64px;
    background-image: url("aset/images/Algefer.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo-b {
    font-size: 0;
    width: 128px;
    height: 64px;
    background-image: url("aset/images/Algefer-b.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

button.menu-ukuran {
	background: none;
    outline: none;
    border: none;
    color: #fff;
    line-height: 14px;
    position: absolute;
    top: 27px;
    left: calc(50vw + 15px);
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

button.menu {
    background: none;
    outline: none;
    border: none;
    font-size: 0;
    width: 20px;
    height: 12px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 28px;
    right: 20px; 
    cursor: pointer;
}

button.menu.off {
    display: none;
}

button.menu-tutup, button.menu-ukuran-tutup {
    background: none;
    outline: none;
    border: none;
    font-size: 0;
    width: 20px;
    height: 12px;
    position: absolute;
    top: 28px;
    right: 20px; 
    cursor: pointer;
    transform: rotate(0deg);
    transition: all .25s ease;
}

button.menu-tutup:before, button.menu-ukuran-tutup:before {
    content: '';
    display: block;
    width: 26px;
    height: 2px; 
    background: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
button.menu-tutup:after, button.menu-ukuran-tutup:after {
    content: '';
    display: block;
    width: 26px;
    height: 2px; 
    background: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

button.produk-tutup {
    background: none;
    outline: none;
    border: none;
    font-size: 0;
    width: 20px;
    height: 12px;
    position: absolute;
    top: 28px;
    right: 20px; 
    cursor: pointer;
    transform: rotate(0deg);
    transition: all .25s ease;
    display: none;
}

button.produk-tutup.on {
    display: block;
}

button.produk-tutup:before {
    content: '';
    display: block;
    width: 26px;
    height: 2px; 
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
button.produk-tutup:after {
    content: '';
    display: block;
    width: 26px;
    height: 2px; 
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

div.menu, div.menu-ukuran {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    background: #fff;
    z-index: 999;
    box-shadow: 0 0 64px rgba(0,0,0,0);
    transition: all .486s cubic-bezier(0.32, 0, 0.67, 0);
	overflow-y: scroll;
	padding-bottom: 60px;
}

div.menu.on, div.menu-ukuran.on {
    transform: translateY(0);
    box-shadow: 0 0 64px rgba(0,0,0,.38);
    transition: all .786s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-part {
    font-size: 33px;
    line-height: 44px;
    color: #333;
    padding: 25px 13px;
    width: 50%;
    float: left;
}

.menu-part ul {
    padding-bottom: 38px;
}

.menu-part-b ul {
    padding-bottom: 35px;
}
.menu-part-b li {
    padding-top: 3px;
}

.menu-part h3 {
    font-size: 12px;
    padding-left: 3px;
    line-height: 26px;
    padding-bottom: 4px;
}

.menu-part-b {
    font-size: 19px;
    line-height: 28px;
    color: #333;
    padding: 25px 15px;
    width: 50%;
    float: left;
}

.menu-part-b h3 {
    font-size: 12px;
    padding-left: 2px;
}

.menu-a li.on {
	font-weight: bold;
}

.product-item {
    display: block;
    width: 50%;
    height: 66.667vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    float: left;
    overflow: hidden;
}

.product-item.off {
    display: none;
}

.product-item:before, .produk-hero:before {
    content: '';
    display: block;
    width: calc(100% + 40px);
    height: 20px;
    position: absolute;
    top: -20px;
    left: -20px;
    box-shadow: 0 0 38px rgba(0,0,0,.38);
    opacity: 1;
    transition: all .38s cubic-bezier(0.25, 1, 0.5, 1) .1s;
}

.product-item:after, .produk-hero:after {
    content: '';
    display: block;
    height: calc(100% + 40px);
    width: 20px;
    position: absolute;
    top: -20px;
    left: -20px;
    box-shadow: 0 0 38px rgba(0,0,0,.38);
    opacity: 1;
    transition: all .52s cubic-bezier(0.25, 1, 0.5, 1) .1s;
}

.produk-quickview.on .produk-hero:before, .produk-quickview.on .produk-hero:after {
    transition: all .59s cubic-bezier(0.5, 0, 0, 1) .1s;
    opacity: 0;
}

.produk-quickview.on {
    overflow-y: scroll;
}

.product-caption {
    font-size: 10px;
    line-height: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 85px 10px 15px;
}

.price {
    display: block;
    position: absolute;
    right: 15px;
    bottom: 10px;
}

main {
    background: #333;
    z-index: 1;
}

.headerbg {
	height: 66.667px;
	position: relative;
}

footer {
    display: block;
    clear: both;
    padding: 20px 15px 40px 15px;
    font-size: 12px;
    position: relative;
}

.footer-links {
    position: absolute;
    top: 20px; right: 20px;
}

.footer-links a {
    margin-left: 13px;
}

.produk-quickview {
    position: fixed;
    width: 50%;
    height: 66.667vw;
    background: #ddd;
    color: #333;
    z-index: -99;
    overflow: hidden;
    box-shadow: 0 5px 62px rgba(0,0,0,0);
    opacity: 0;
    transition: all .52s cubic-bezier(0.25, 1, 0.5, 1) .1s, z-index 0s ease .48s, opacity 0s ease .62s;
} 

.produk-quickview.on {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0!important;
    left: 0!important;
    z-index: 1;
    opacity: 1;
    box-shadow: 0 5px 62px rgba(0,0,0,.94);
    transition: all .59s cubic-bezier(0.5, 0, 0, 1) .1s, z-index 0s ease 0s, opacity 0s ease 0s;
}

.produk-deskripsi {
    padding: 13px 15px;
    font-size: 15px;
    line-height: 20px;
    width: 100vw;
}

.produk-hero {
    width: 100%;
    padding: 66.667% 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.data {
    display: none;
}

.produk-judul, .produk-harga {
	margin-bottom: 15px;
}

.produk-judul {
	width: 240px;
	float: left;
}
.produk-harga {
	width: calc(100% - 240px);
	float: right;
	text-align: right;
	white-space: nowrap;
}

.produk-cta a {
	display: block;
	width: calc(50% - 5px);
	border: 1px solid #333;
	padding: 8px 10px;
	padding-top: 7px;
	margin-top: 5px;
	margin-bottom: 40px;
	margin-left: 0;
	margin-right: 0;
	float: left;
	cursor: pointer;
	position: relative;
}

.produk-cta a:before {
	content: '';
    display: block;
    width: 12px;
    height: 2px;
    background-color: #333;
    position: absolute;
    right: 12px;
    bottom: 16px;
}

.produk-cta a:after {
	    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    position: absolute;
    right: 12px;
    bottom: 13px;
}

.produk-cta-shopee {
	position: relative;
	left: 10px;
}

.produk-isi {
	margin-bottom: 30px;
}

.produk-isi img {
	display: block;
    margin: 15px 0;
    width: calc(((100vw - 30px) * .5) - 5px);
    height: calc((((100vw - 30px) * .5) - 5px) * 1.333);
	float: left;
	margin: 30px 0;
}

.produk-isi p {
	clear: both;
}

.produk-isi p img:nth-of-type(even) {
	position: relative; 
	left: 10px;
}

.produk-deskripsi {
	padding-bottom: 5px;
}

.div {
	clear: both;
}

.produk-gambar-sekunder {
	width: calc(100vw - 30px);
    height: calc((100vw - 30px) * 1.333);
    clear: both;
    position: relative;
	top: -24px;
    margin-bottom: 6px;
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.kalkulator {
	color: #333;
	font-size: 12px;
	width: calc(100vw - 20px);
	margin: auto;
	position: relative;
}

.kalkulator .setengah {
	width: 50%;
	float: left;
	padding: 5px;
	height: 84px;
	position: relative;
}

.kalkulator .satu {
	width: 50%;
	float: left;
	padding: 5px;
	margin-bottom: -27px;
	position: relative;
	height: 168px;
}

.kalkulator input {
	display: block;
    width: 100%;
    border: 1px solid #333;
    border-radius: 0;
    font-size: 25px;
    line-height: 40px;
    padding: 0 7.5px;
    padding-top: 32px;
	height: 100%;
}

.kalkulator .satu input {
	line-height: 72px;
    font-size: 68.5px;
    padding: 0 5px;
    padding-top: 85px;
	height: 100%;
}

.kalkulator input.nois {
	background: #eee;
	border: 1px solid #eee;
}

.kalkulator small:nth-of-type(odd) {
	position: absolute;
	line-height: 12px;
	padding: 10px;
}

.kalkulator small:nth-of-type(even) {
	position: absolute;
    right: 6px;
    top: 47.5px;
    line-height: 12px;
    padding: 10px;
}

.judul-kalkulator {
    padding: 10px 5px;
	padding-top: 27px;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
	position: relative;
	margin-bottom: 5px;
	clear: both;
}
.judul-kalkulator div {
    font-weight: normal;
	width: 50%;
	position: absolute;
	top: 0;
	left: 50%;
	padding: 10px 5px;
	padding-top: 27px;
}

.judul-kalkulator div span {
	display: block; 
	float: right;
	margin-left: 15px;
	cursor: pointer;
}

.judul-kalkulator div span.on {
	font-weight: bold;
}

.tabel-ukuran {
	padding: 5px;
}

.t {
	line-height: 11px;
	font-size: 9px;
	width: 100%;
	border-top: 1px solid #333;
	padding-top: 9px;
	clear: both;
}

.tx, .tx-ll {
	line-height: 21px;
	font-size: 15px;
	width: 100%;
	border-top: 1px solid #333;
	padding-top: 9px;
	clear: both;
}

.tx.on, .tx-ll.on {
	background-color: #eee;
}

.tx.on .t1:nth-child(1), .tx-ll.on .t1:nth-child(1) {
	padding-left: 10px;
}
.tx.on .t2:nth-child(2), .tx-ll.on .t2:nth-child(2) {
	padding-left: 6px;
}

.t1 {
	width: calc(100% / 7);
	float: left;
	padding-right: 5px;
	padding-bottom: 10px;
}
.t2 {
	width: calc((100% / 7) * 2);
	float: left;
	padding-right: 5px;
	padding-bottom: 10px;
}
.clr {
	clear: both;
}

.k-i {
	display: none;
}

.k-i.on {
	display: block; 
}