/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


@import url("google-kanit.css");

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    font-family: 'Kanit', sans-serif;
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 20px !important;
}



/* Custom Style*/
.bg-img {
    /* The image used */
    background-image: url("https://www.exim.go.th/EximInter/media/EximDefault/images/banner.png");
    min-height: 200px;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* Needed to position the navbar */
    position: relative;
    width: -webkit-fill-available;
}


/* The navbar */
.topnav {
    overflow: hidden;
    background-color: #333;
}

    /* Navbar links */
    .topnav a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }




.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

/*form*/
.form-control {
    border: none;
    border-bottom: 1px solid darkgray;
    border-radius: 0;
}

.grid-modal {
    display: grid;
    grid-template-columns: 35.5% 35.5%;
    justify-content: center;
    column-gap: 5%;
}

.grid-modal-child {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: end;
}

@media (max-width: 50rem) {
    .grid-modal {
        display: flex;
        flex-direction: column;
    }

    .grid-modal-child {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.grid-con-paren {
    display: grid;
    grid-template-columns: 45.5% 45.5%;
    justify-content: center;
    column-gap: 5%;
}

.grid-con-child {
    display: grid;
    /*grid-template-columns: 40% 60%;*/
    grid-template-columns: 41% 60%;
    align-items: end;
    justify-items: start;
}

@media (max-width: 50rem) {
    .grid-con-paren {
        display: flex;
        flex-direction: column;
    }

    .grid-con-child, .grid-con-child4 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.grid-con-child1 {
    display: grid;
    grid-template-columns: 80% 20%;
    align-items: end;
    justify-items: start;
}

.grid-con-paren2 {
    display: grid;
    grid-template-columns: 96% 0%;
    justify-content: center;
}

.grid-con-child2 {
    display: grid;
    grid-template-columns: 20% 80%;
    align-items: end;
    justify-items: start;
}

@media (max-width: 50rem) {
    .grid-con-child1, .grid-con-child2 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
}


.grid-con-paren4 {
    display: grid;
    grid-template-columns: 44% 22% 30%;
    justify-content: center;
}

.grid-con-child4 {
    display: grid;
    /*grid-template-columns: 20% 80%;*/
    align-items: end;
    justify-items: start;
}

.grid-con-child5 {
    display: grid;
    align-items: end;
    justify-items: start;
    justify-content: center;
}

.grid-con-paren6 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
    padding-left: 20px;
}

.grid-con-paren7 {
    display: grid;
    grid-template-columns: 20% 20% 20%;
    justify-content: center;
}

@media (max-width: 50rem) {
    .grid-con-paren7 {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 50rem) {
    .radios {
        display: flex;
        justify-content: center;
    }
}

.formOther {
    border: none;
    border-bottom: 1px solid darkgray;
    border-radius: 0;
}

.btn-card-header {
    display: flex;
    justify-content: space-between;
}

.grid-con-paren-chk {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: start;
    padding-left: 18px;
}

.label-chk {
    margin-right: 7.5rem;
}

.grid-con-child-chk {
    display: grid;
    grid-template-columns: 5% 62%;
    align-items: center;
    margin-left: -5rem;
    column-gap: 3%;
    justify-items: start;
}

@media (max-width: 50rem) {
    .grid-con-child-chk {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
}


.bg-exim {
    background: transparent linear-gradient(93deg, #034EA2 0%, #ED1C24 100%) 0% 0% no-repeat padding-box;
    height: 3rem;
}

.bg-submit {
    background: transparent linear-gradient(93deg, #034EA2 0%, #ED1C24 100%) 0% 0% no-repeat padding-box;
    padding: 12px 35px;
}
.bg-submit2 {
    background: transparent linear-gradient(93deg, #034EA2 0%, #ED1C24 100%) 0% 0% no-repeat padding-box;
   
}
.bg-but {
    min-width: 170px;
    padding: 12px 35px;
}

.bg-form-color {
    background: whitesmoke;
}

.d-flex1 {
    display: flex;
    justify-content: space-evenly;
}

.margin-paragraph {
    text-indent :5em;
}

.form-tab {
    padding-left: 3rem;
}

.img-width-success {
    max-width: 10%;
    margin-top: 2%;
}

.card-complete {
    border: 3px solid;
    border-image: linear-gradient(93deg, #034EA2 0%, #ED1C24 100%) 1;
}
.text-complete {
    color: #125198;
}

.footer-color {
    background: #3281D1;
}
.logo-block{
    position: relative;
    height: 100px;
}
.logoTCG {
    
    max-width: 7rem;
    position: absolute;
    margin-top: -30px;
    border: none;
}
.logoEXIM {
    
    max-width: 7.5rem;
    position: absolute;
    margin-left: -105px;
    margin-top: 11px;
    border: none;
}

