@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

/********** Template CSS **********/
:root {
    --primary: #1E539C;
    --secondary: #FFB800;
    --light: #F0F6FF;
    --dark: #262B47;
    --bg-blue-linier: linear-gradient(180deg, #5B88C6 0%, #1E539C 100%);
    --bg-yellow-linier: linear-gradient(182.49deg, #FFCD00 3.6%, #FFB800 90.79%);
  }
  
  body {
    background: rgba(189, 209, 234, 0.19);
		font-size: .9rem;
		font-family: 'Poppins', sans-serif;
  }

	.body-content {
		position: relative;
		min-height: 100vh;
		padding-bottom: 3rem;
	}
  
  
  /*** Gradient Text & BG ***/
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    color: #000;
    margin-bottom: 0;
  }
  
  ul {
    list-style: none;
    padding-left: 0;
  }
  
  label {
  color: #757575;
	font-size: .8rem;
  }

	.form-control {
		font-size: .875rem;
	}

  /* .form-control:disabled, .form-control:read-only {
    background-color: #ffffff;
  } */

	
select {
	background: #FFFFFF	 !important;
}
  
  .rounded-10 {
    border-radius: 10px;
  }
  
  .rounded-20 {
    border-radius: 20px;
  }
  
  .fs-12 {
    font-size: 12px;
  }
  
  .fs-13 {
    font-size: 13px;
  }
  
  .text-dark {
    color: #000 !important;
  }
  
  .text-blue {
    color: #1E436E !important;
  }
  
  .bg-blue-linier {
    background: linear-gradient(189.27deg, #0251AE -18.07%, #FFFFFF 15.43%);
  }
  
  .bg-blue {
    background: linear-gradient(93.58deg, #2056A0 5.16%, #0B356F 94.19%);
    color: #fff;
  }
  
  .bg-green {
  background: #66bb6a;
  }
  
  .w-fit {
  width: fit-content;
  }

	.charCount {
		font-size: 9px;
		position: absolute;
		bottom: -12px;
		right: 2px;
	}

	label > span {
		color: red;
	}

	table.table {
		width: 100% !important;
	}
  
  /*** Button ***/
  .btn {
    transition: .5s;
  }
  
  
  .btn-100 {
    width: 100%;
    color: #fff;
    font-weight: 700;
  }
  
  .back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99;
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(180deg, #5B88C6 0%, #1E539C 100%);
    border-radius: 10px;
    color: var(--light);
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .back-to-top:hover {
    color: #000;
  }

  .hide-menu {
    color: #ddc4c4;
  }

  .validate-error p {
      color: red;
  }



	table.dataTable thead th,
					table.dataTable thead td,
					table.dataTable tfoot th,
					table.dataTable tfoot td {
						white-space: nowrap;
					}
  
/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    background: var(--bg-blue-linier);
}

.navbar .navbar-nav .nav-link {
		margin-right: 5px;
		padding: 10px 10px;
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: .3s;
    border-radius: 5px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--bg-yellow-linier);
}

.navbar .navbar-nav .nav-link:focus {
  color: var(--light);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bg-blue-linier);
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    color: var(--light);
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover,
.navbar .nav-item .dropdown-menu .dropdown-item.active {
    color: var(--primary);
    background: var(--bg-yellow-linier);
}


.navbar .nav-profil .nav-link {
    padding: 10px 20px;
    color: var(--light);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: .3s;
}

.navbar .nav-profil .nav-link:hover,
.navbar .nav-profil .nav-link.active {
    color: var(--primary);
    background: var(--bg-yellow-linier);
    border-radius: 10px;
}

.navbar .navbar-brand img {
	max-height: 40px;
}



@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0 10px 10px;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

		.navbar-light .navbar-toggler-icon {
			filter: brightness(0) invert(1);
		}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
				right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/* Home */
.home .nav-tabs .nav-link {
	font-size: calc(.7rem + .3vw);
	border: 0;
	color: var(--dark);
	background: transparent;
	border-radius: 0;
	/* border-bottom: 4px transparent; */
	position: relative;
	transition: .3s ease-out;
	padding: .3rem .4rem;
}

.home .nav-tabs .nav-link.active {
	color: var(--light);
	background: var(--bg-blue-linier);
	border-radius: 10px;
	overflow: hidden;
}

.home .nav-tabs .nav-link::before {
	content: "";
	background: transparent;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 4px;
	transform: translateX(-50%);
	transition: .3s ease-in-out;
}

.home .nav-tabs .nav-link.active::before {
	background: var(--secondary);
	width: 100%;
}





/* Mempelai */
.card-section .card {
  -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
  border: none;
}

.card-section .card .card-title {
  color: var(--primary);
  font-size: 1.5rem;
}

.card-section .form-box .upload-area-bg {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 16px 0;
  background: #f9f9fc;
  border-radius: 6px;
}

.card-section .form-box .upload-area {
  display: block;
  background: #fff;
  border: 2px dashed #c2cdda;
  border-radius: 14px;
  text-align: center;
}

.card-section .form-box .file-upload {
  width: 100%;
  padding: 10px 0px;
  position: absolute;
  left: 0;
  opacity: 0;
  cursor: pointer;
  color: var(--light);
}


.input-area {
  background: #f1f2f6;
  display: block;
  width: 100%;
  padding: 16px;
  margin: 16px 0;
  margin-top: 16px;
  background: #f9f9fc;
  border-radius: 6px;
}


/* Invoice */
.invoice #myInput {
  border: none;
  background: #f9f9fc;
  font-size: 1.25rem;
  width: 170px;
}

.invoice #myInput[type="text"]:focus {
  outline: none;
}

.invoice .copyTooltip {
  position: relative;
  display: inline-block;
}

.invoice .copyTooltip button {
  color: #fff;
  background-color: #757575;
  border: none;
  -webkit-box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
  box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.invoice .copyTooltip .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.invoice .copyTooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.invoice .copyTooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.modal-payment .upload-area-bg {
  display: block;
  width: 100%;
  padding: 0 16px;
  margin: 16px 0;
  background: #f9f9fc;
  border-radius: 6px;
}

.modal-payment .upload-area {
  display: block;
  background: #fff;
  border: 2px dashed #c2cdda;
  border-radius: 14px;
  text-align: center;
}

.modal-payment .file-upload {
  width: 100%;
  padding: 10px 0px;
  position: absolute;
  left: 0;
  opacity: 0;
  cursor: pointer;
  color: var(--light);
}
    

/*** Copy Link Tamu ***/
.tamu .form-box table {
  font-size: 14px;
}

.tamu .form-box .fs-14 {
  font-size: 10px;
  width: 100%;
}

.tamu .btn-copy {
  position: relative;
  display: inline-block;
  width: 100%;
}

.tamu .btn-copy .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tamu .btn-copy .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tamu .btn-copy:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  outline: 0;
}


.tamu #copyLinkUrl {
  opacity: 0;
	position: absolute;
	top: 0;
	right: 0;
}

.tamu #copyKataPengantar {
  display: none;
}

/*** Footer ***/



/* 
.croppie-container .cr-boundary {
  width: 100% !important;
}

.croppie-container .cr-image {
  width: 100% !important;
}

.croppie-container .cr-viewport {
  width: 100% !important;
}

.croppie-container .cr-overlay {
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
} */