html {
    background-color: #164283db;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

header{
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16.5px;
    padding-right: 16.5px;
    background: var(--Primary, #164283);
}

@media (max-width: 480px) {
    header{
        padding-left: 0;
        padding-right: 0;
    }
}

header, .navbar {
    display: flex;
    justify-content: space-between;
    background: var(--Primary, #164283);
}

/* global */
body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    font-size: 14px;
    background-color: #FEFFFF;
}

.collapse {
    /* transition: height 0.3s ease; */
    overflow: hidden;
    transition: none;
}

.container, .container-worksheets{
    width: 100%;
    max-width: 836px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-worksheets{
    margin-left: auto;
    margin-right: auto;
}

.container-worksheets img{
    border-radius: 4px;
}

.container.no-padding{
    padding-left: unset;
    padding-right: unset;
}

@media (max-width: 780px) {
    main .container{
        min-height: 70vh;
    }

    main #why-use .container,
    main #popular-uses .container{
        min-height: 30vh;
    }
}

/* button */
.btn-primary{
    border: 1px solid var(--Primary, #164283);
    background: var(--Primary, #164283);
    color: var(--base-white, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.btn-primary:hover{
    background: var(--PrimaryHover, #194b95);
}

.btn-success{
    border: 1px solid var(--gits-color-green-600, #247747);
    background: var(--gits-color-green-600, #247747);
    color: var(--base-white, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.btn-success:hover{
    background-color: #1fac5b;
    border: 1px solid #1fac5b;
    color: #fff;
}

.btn-warning{
    border: 1px solid var(--Secondary, #FA6C51);
    background: var(--Secondary, #FA6C51);
    box-shadow: unset;
}

.btn-warning:hover{
    background-color: #ff775e;
    border: 1px solid #ff775e;
}

.btn-outline-dark{
    color: #343a40 !important;
    border: 1px solid var(--gray-300, #D0D5DD);
}

.btn-outline-dark:hover{
    background-color: #eee !important;
    border: 1px solid var(--gray-300, #D0D5DD);
}

.btn-light{
    color: var(--gray-400, #98A2B3);
    font-weight: 500;
}

.btn-add{
    color: var(--base-white, #FFF);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    padding: 12px 0 !important;
    border-radius: 25px;
}

.btn-check:active+.btn-outline-primary,
.btn-check:checked+.btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active{
    border: 1px solid var(--Primary, #164283);
    background: var(--Primary, #164283);
    color: var(--base-white, #FFF);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #888;
    border-color: #888;
}

.bg-soft-primary {
  background: var(--blue-light-50, #F0F9FF) !important;
  color: var(--blue-light-700, #026AA2) !important;
}

.bg-soft-danger{
    background: var(--pink-50, #FDF2FA) !important;
    color: var(--pink-700, #C11574) !important;
}

.bg-soft-success{
    background: var(--success-50, #ECFDF3) !important;
    color: var(--success-700, #027A48) !important;
}

.bg-soft-blue{
    border-radius: 8px;
    border: 1px solid var(--primary-50, #D8EEFD);
    background: var(--primary-50, #D8EEFD);
}

/* text */
.text-success{
    color: var(--gits-color-green-600, #1D9C53) !important;
}

.text-secondary{
    color: var(--Secondary, #FA6C51) !important;
}

/* general */
.text-primary{
    color: var(--Primary, #164283) !important;
}

a.text-primary:hover{
    color: var(--PrimaryHover, #194b95);
    text-decoration: underline !important;
}

.copy-right{
    color: var(--gray-600, #475467);
    /* font-family: "Montserrat", Helvetica; */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #667085 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #667085 !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #667085 !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #667085 !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #667085 !important;
}

::placeholder { /* Most modern browsers support this now. */
   color:    #667085 !important;
}

.hide{
    display: none;
}

.hide-overflow{
    overflow: hidden;
}

.relative{
    position: relative;
}

/* font */
.f16px{
    font-size: 16px !important;
}

.f14px{
    font-size: 14px !important;
}

.f12px{
    font-size: 12px !important;
}

.f10px{
    font-size: 10.5px !important;
}

.poppins{
    /* font-family: "Montserrat", Helvetica; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card{
    background-color: #16428308;
}

.card:has(.card-header){
    border-radius: 8px;
    box-shadow: unset;
}

.card .card-header {
    padding: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--Primary-Text, #0D155B);
    align-content: space-between;
    background: var(--gits-color-blue-50, #D8EEFD);
}

.card .card-reader div{
    flex: auto;
}
.card .card-header a{
    font-size: 10.5px;
}

.card .card-body .title{
    color: var(--Primary-Text, #0D155B);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 112.5%;
}

.text-page .worksheet{
    background-color: var(--Primary, #164283);
}

.text-page .worksheet h1.title{
    color: #fff;
}

/* list */
ul li a, main .text-page a{
    color: #164283;
}

/* how to add grid */
.how-to-add-grid h2.title,
#why-use h2.title, #popular-uses h2.title,
#faq h2.title
{
    font-size: 20px;
    font-weight: 800;
    line-height: 1.125;
    min-height: 24px;
    margin: 0;
    color: var(--Primary, #164283);
    margin-bottom: 1rem;
}

.how-to-add-grid p.text-primary {
    min-height: 40px;
    margin: 0;
}

section.how-to-add-grid {
    min-height: 300px;
}

@media (min-width: 768px) {
    .how-to-add-grid .col-md-4 {
        min-height: 220px;
    }
}

/* why use, popular use & faq*/
#why-use{
    background:#fff;
}

#why-use img.icon{
    display: inline-block;
    width: 50px !important;
    border-radius: 50%;
    height: 50px !important;
    border-width: thin;
    border-color: #164283;
    border-style: dotted;

}

#popular-uses{
    background:#eee;
}

#popular-uses .card{
    text-align: center;
}

#popular-uses .card > img{
    display: inline-block;
    width: 100px !important;
    border-radius: 50%;
    height: 100px !important;
    border-width: thin;
    border-color: #164283;
    border-style: dotted;
}

#faq{
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #eee;
}

#faq .question, #who-should-use .title{
    font-weight: 700;
    color: var(--Primary, #164283);
}

/* rotate */
.rotate-center {
	-webkit-animation: rotate-center 0.8s linear infinite ;
	        animation: rotate-center 0.8s linear infinite ;
}

@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* end of global */

/* main */
main section h1.title{
    color: var(--Primary-Text, #0D155B);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 112.5%;
}

@media only screen and (max-width: 768px) {
    main section h1.title{
        font-size: 20px;
    }
}

@media only screen and (max-width: 512px) {
    main section h1.title{
        font-size: 19px;
    }
}

section #loader{
    position: absolute;
    left: 50%;
    top: 50%;
    color: #0D155B;
}

section #canvas-container{
    position: relative;
    min-height: 400px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

section #canvas-container.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

section #up-down a{
    font-size: 16px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    section #canvas-container {
        overflow-y: scroll;
    }

    section #loader{
        top: 55%;
    }

    section #up-down a{
        font-size: 14px;
    }
}

main section h2.title{
    color: var(--Primary-Text, #0D155B);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 112.5%;
}

main section h3{
    color: var(--Primary-Text, #0D155B);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

@media only screen and (max-width: 768px) {
    main section h2.title{
        font-size: 18px;
    }

    main section h3{
        font-size: 16px;
    }
}

main section.gridded-image{
    min-height: 420px;
}

main section.gridded-image .box{
    border-radius: 12px;
    background: linear-gradient(154deg, #0D155B 48.59%, #ff2a2af9 130.37%);
    padding: 18px;
}

main section.gridded-image .box h2{
    color: var(--base-white, #FFF);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 112.5%;
}

main section.gridded-image .box h6{
    color: var(--base-white, #FFF);
    font-weight: 100;
    font-size: 10px;
    line-height: 12px;
}

main section.gridded-image .box h6 a{
    color: var(--base-white, #FFF);
    font-weight: 500;
}

main section.gridded-image .box h4 span{
    color: var(--Secondary, #FA6C51);
}

main section.gridded-image .box .d-flex a{
    margin-bottom: 1px;
}

main section.gridded-image .box .our-references{
    display: flex;
    flex-flow: row;
    width: 100%;
    overflow-x: auto;
    box-sizing: content-box;
}

main section.gridded-image .box .our-references a{
    margin: 4px 18px 4px 0;
    flex: 1 1 auto;
    width: 130px;
    min-width: 130px;
    background-color: #fff;
    border-radius: 15px;
}

#loader-wrapper {
  position: absolute;
  width: 115px;
  height: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#loader-wrapper #loader-text{
    position: relative;
    top: -4px;
}

#loader-wrapper #loader{
    position: relative;
    top:4px;
    left: auto;
    right: auto;
}

/* uplod yours */
.your-masterpiece ol{
    padding-left: 16px;
}
.your-masterpiece a.btn{
    width: 312px !important;
}

@media (max-width: 512px) {
    .your-masterpiece a.btn{
        width: 100% !important;
    }
}

/* gallery */
.gallery{
    min-height:58vh;
}

/* no data */
main #btn-offcanvas{
    position: absolute;
    top:-1000px;
    left:0;
}
main section.our-references .img-no-data{
    width: 100%;
    max-width: 104px;
    height: auto;
}

main section.our-references h5{
    color: var(--gray-900, #101828);
    text-align: center;
    /* font-family: "Montserrat", Helvetica; */
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 0px;
}

main section.our-references h6{
    color: var(--gray-600, #475467);
    text-align: center;
    /* font-family: Poppins; */
    font-size: 10.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
}

main section.join p{
    color: var(--Primary-Text, #0D155B);
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

main section.download{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #164283db;
}

main section.download div.card{
    background-color: #164283;
    border:none;
}

@media (max-width: 767px) {
    main section.download div.card{
        margin-bottom: 20px;
    }
}

main section.download div.card .img{
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    /* max-height: 232.842px;
    min-height: 232.842px;
    height: 100%; */
    /* width: 100%; */
    background-size: cover;
    background-position: center;
}

main section.download div.card .download-icon{
    position: absolute;
    top: 30%;
    left: 64%;
    text-align: center;
}

main section.download div.card .download-icon > span{
    font-size: 14px;
    display: block;
    color: #164283;
}

main section.download div.card .download-icon img.lozad{
    width: 36px;
    height: 36px;
    border: thin dotted #164283;
    border-radius: 10px;
}

@media (max-width: 620px) {
    main section.download div.card .img{
        max-height: unset !important;
        min-height: unset !important;
        width: 100%;
    }
}

main section.download div.card a{
    color: white;
    text-decoration: none;
    width: 40px;
    font-size: 20px;
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: 36px;
    font-weight: bold;
}

main section.download div.card h3{
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-top: 8px;
    text-decoration:none;
    padding-left: 12px;
    padding-right: 12px;
}

main section.download div.card p{
    color: var(--Primary-Text, #0D155B);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    align-self: stretch;
    margin-bottom: 8px;
}

main section.download div.card .tag{
    margin-left:12px;
    margin-right: 12px;
    margin-bottom: 12px;
}

/* footer */
footer{
    background-color: #164283;
    color: #fff;
    /* padding-bottom: 18vh; */
}

footer h4{
    color: var(--Primary-Text, #0D155B);
    font-size: 15.5px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

footer p, footer ul{
    padding-left: 0 !important;
    margin-top: 8px !important;
}

footer ul li{
    list-style: none;
    display: inline-block;
}

@media (max-width: 991px) {
    footer ul li{
        list-style: none;
        margin-bottom: 6px;
    }
}

footer p, footer ul li a,
footer div.d-flex{
    color: #fff;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
}

footer p, footer ul li a:hover{
    color: #ddd;
}

footer p, footer ul li a{
    font-size: 14px;
}

@media (max-width: 720px) {
    footer p, footer ul{
        text-align: center;
        margin-bottom: 1px;
    }

    footer p, footer ul li a{
        font-size: 11px;
    }
}

footer div.d-flex div{
    margin-left: 12px;
    margin-bottom: 12px;
}

footer .bottom{
    border-top: 1px solid #2d538b;
}

footer .bottom .copy-right{
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
}

@media (max-width: 767px) {
    footer h4{
        margin-top: .8rem;
    }

    footer h4:first-of-type{
        margin-top: 0.5rem;
    }
}

/* overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 100, 0.1);
    opacity: 1 !important;
}

.overlay .card{
    margin-top: 30%;
    background-color: #fff;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;

}

.overlay .card #photo-preview{
    border-radius: 5px;
}

.overlay .card .error-info{
    color: red;
    font-size: 10px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .overlay .card{
        margin-top: 70%;
    }
}

/* product */
.product{
    display: flex;
    flex-wrap: wrap;
}

.product-icon{
    width: 8vw;
    height: 8vw;
    margin-left: 16px;
    margin-top: 16px;
}

.product .item{
    margin: 4px;
    flex: 0 1 calc(25% - 8px);
    margin-bottom: 16px;
}

@media (max-width: 520px) {
    .product .item{
        margin: 2px;
        flex: 0 1 calc(50% - 4px);
        margin-bottom: 1rem;
    }
}

@media (max-width: 290px) {
    .product .item{
        margin: 2px;
        flex: 0 1 calc(100% - 4px);
    }
}

.product a{
    background-color: white;
    display: block;
    text-align: center;
    border-radius: 6px;
}

.product .item .img{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    max-height: 200px;
    min-height: 200px;
    height: 100%;
    width: auto;
    background-image: url("../images/lazy-indicator.svg");
    background-size: cover;
    background-position: center;
}

/* color options */
.color-options, .amount-options{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    cursor: pointer;
    padding-top: 12px;
}

.color-options .color-option-item,
.amount-options .amount-option-item{
    flex-basis: 20%;
    text-align: center;
}

.color-options .color-option-item .color,
.amount-options .amount-option-item .amount{
    border-radius: 25px;
    background-color: #EEE;
    color: #EEE;
    width: 28px;
    height: 28px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.color-options .color-option-item .color{
    padding-top: 3px;
    border-color: white;
    border-style: dashed;
    border-width: thin;
}

.color-options .color-option-item .color.active{
    border: 2px solid #FFFFFF;
}

.amount-options .amount-option-item .amount{
    padding-top: 10px;
}

.color-options .color-option-item .color-1{
    background-color: #0b1728ff;
    color: #0b1728ff;
}

.color-options .color-option-item .color-2{
    background-color: #214478ff;
    color: #214478ff;
}

.color-options .color-option-item .color-3{
    background-color: #3771c8ff;
    color: #3771c8ff;
}

.color-options .color-option-item .color-4{
    background-color: #87aadeff;
    color: #87aadeff;
}

.color-options .color-option-item .color-5{
    background-color: #d7e3f4ff;
    color: #d7e3f4ff;
}

.amount-options .amount-option-item .amount{
    background-color: #214478ff;
    color: #fff;
    line-height: 6px;
    font-size: 12px;
    border-color: white;
    border-style: dashed;
    border-width: thin;
}

.amount-options .amount-option-item .amount.active{
    border: 2px solid #FFFFFF;
    line-height: 0px;
    padding-top: 12px;
}

.color-options .color-option-item .color img{
    display: none;
    width: 18px;
}

.color-options .color-option-item .color.active img{
    display: inline-block;
}

.grid-options .grid-option-item span:first-child{
    margin-right: 8px;
}

.grid-options .grid-option-item span:last-child{
    margin-left: 8px;
}

@media (max-width: 780px) {
    .grid-options .grid-option-item span:first-child{
        margin-right: 4px;
    }

    .grid-options .grid-option-item span:last-child{
        margin-left: 4px;
    }
}

#photo-upload-loader,
#artwork-upload-loader{
    position: absolute;
    top: 12px;
    left: 50%;
}

#photo-upload-loader{
    top: 6px;
    padding: 2px 16px;
    border-radius: 25px;
    background-color: #164283;
    color: #fff;
    left: 40%;
}

#download-loader{
    position: absolute;
    top: 2px;
    left: 6px;
}

#btn-download{
    position: absolute;
    left: -100px;
}
