/* Sarabun-Light */
@font-face {
    font-family: 'Sarabun-Light';
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/sarabun/Sarabun-Light.eot); /* IE9 Compat Modes */
    src: local('Sarabun-Light'), local('Sarabun Light'),
    url(/fonts/sarabun/Sarabun-Light.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
    url(/fonts/sarabun/Sarabun-Light.svg#Sarabun) format('svg'), /* Legacy iOS */
    url(/fonts/sarabun/Sarabun-Light.ttf) format('truetype'), /* Safari, Android, iOS */
    url(/fonts/sarabun/Sarabun-Light.woff) format('woff'), /* Modern Browsers */
    url(/fonts/sarabun/Sarabun-Light.woff2) format('woff2'); /* Super Modern Browsers */
}

/* Sarabun-SemiBold */
@font-face {
    font-family: 'Sarabun-SemiBold';
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/sarabun/Sarabun-SemiBold.eot); /* IE9 Compat Modes */
    src: local('Sarabun-SemiBold'), local('Sarabun SemiBold'),
    url(/fonts/sarabun/Sarabun-SemiBold.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
    url(/fonts/sarabun/Sarabun-SemiBold.svg#Sarabun) format('svg'), /* Legacy iOS */
    url(/fonts/sarabun/Sarabun-SemiBold.ttf) format('truetype'), /* Safari, Android, iOS */
    url(/fonts/sarabun/Sarabun-SemiBold.woff) format('woff'), /* Modern Browsers */
    url(/fonts/sarabun/Sarabun-SemiBold.woff2) format('woff2'); /* Super Modern Browsers */
}

/* Sarabun-Bold */
@font-face {
    font-family: 'Sarabun-Bold';
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/sarabun/Sarabun-Bold.eot); /* IE9 Compat Modes */
    src: local('Sarabun-Bold'), local('Sarabun Bold'),
    url(/fonts/sarabun/Sarabun-Bold.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
    url(/fonts/sarabun/Sarabun-Bold.svg#Sarabun) format('svg'), /* Legacy iOS */
    url(/fonts/sarabun/Sarabun-Bold.ttf) format('truetype'), /* Safari, Android, iOS */
    url(/fonts/sarabun/Sarabun-Bold.woff) format('woff'), /* Modern Browsers */
    url(/fonts/sarabun/Sarabun-Bold.woff2) format('woff2'); /* Super Modern Browsers */
}

/* Font styling */
body {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    color: black;
    overflow-x: hidden;
}

h1 {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: black;
}

h2 {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: black;
}

h3 {
    font-family: 'Sarabun-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #F7901E;
    letter-spacing: 3px;
}

h4 {
    font-family: 'Sarabun-Bold', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: black;
}

p {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: black;
}

.p-header {
    font-family: 'Sarabun-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: black;
}

.to-black {
    color: black;
}

.to-white {
    color: white;
}

.to-gray {
    color: #b2b2b2;
}

/* Brand colors */
.main-blue-color {
    color: #1D394C;
}

.main-blue-background {
    background-color: #1D394C;
}

.light-blue-background {
    background-color: #E7F2FF;
}

.hover-blue-background {
    background-color: #1D394C;
}

/* Button styling */
.btn {
    font-family: 'Sarabun-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 18px;
    border-radius: 32px;
    color: #E06718;
    padding: .375rem 1.75rem;
    letter-spacing: -.5px;
    line-height: 2 !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    z-index: -1;
    width: 200%;
    height: 210%;
    position: absolute;
    left: -50%;
    transform-origin: left bottom;
    transform: translateY(0) rotate(15deg);
    will-change: transform;
    transition-property: transform;
    transition-duration: .5s;
    transition-timing-function: ease-out;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid #E06718;
    transition: color .5s ease-out;
}

.btn-primary::before {
    background-color: #E06718;
    bottom: -73px;
}

.btn-primary:hover::before {
    transform: translateY(-100px) rotate(15deg);
    transition-duration: .5s;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
.btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover,
.open > .dropdown-toggle.btn-primary, .btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: white;
    border-color: #E06718;
    color: white;
}

.btn-primary-white {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-primary-white::before {
    background-color: white;
    bottom: -80px;
}

.btn-primary-white:hover::before {
    transform: translateY(-90px) rotate(15deg);
    transition-duration: .5s;
}

.btn-primary-white:hover, .btn-primary-white:focus, .btn-primary-white:active, .btn-primary-white.active,
.btn-primary-white.focus, .btn-primary-white:active, .btn-primary-white:focus, .btn-primary-white:hover,
.open > .dropdown-toggle.btn-primary-white, .btn-primary-white:not([disabled]):not(.disabled).active, .btn-primary-white:not([disabled]):not(.disabled):active,
.show > .btn-primary-white.dropdown-toggle {
    background-color: #0284B4;
    border-color: white;
    color: #161b40;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-primary {
    color: #0284B4;
    background-color: transparent;
    border-color: #0284B4;
}

.btn-outline-primary::before {
    background-color: #0284B4;
    bottom: -85px;
}

.btn-outline-primary:hover::before {
    transform: translateY(-90px) rotate(15deg);
    transition-duration: .5s;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active,
.btn-outline-primary.focus, .btn-outline-primary:active, .btn-outline-primary:focus, .btn-outline-primary:hover,
.open > .dropdown-toggle.btn-outline-primary, .btn-outline-primary:not([disabled]):not(.disabled).active, .btn-outline-primary:not([disabled]):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    color: white;
    background-color: transparent;
    border-color: #0284B4;
}

.btn-secondary {
    font-family: 'Sarabun-SemiBold', sans-serif;
    color: #E06718;
    background-color: transparent;
    border-bottom: 1px solid #E06718;
    padding-bottom: 4px;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary.active,
.btn-secondary.focus, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover,
.open > .dropdown-toggle.btn-secondary, .btn-secondary:not([disabled]):not(.disabled).active, .btn-secondary:not([disabled]):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    background-color: transparent;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: #E06718;
}

.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    border-color: #E06718;
}

.btn-secondary-white {
    font-family: 'Sarabun-SemiBold', sans-serif;
    color: white;
    background-color: transparent;
    border-bottom: 1px solid white;
    padding-bottom: 4px;
}

.btn-secondary-white:hover, .btn-secondary-white:focus, .btn-secondary-white:active, .btn-secondary-white.active,
.btn-secondary-white.focus, .btn-secondary-white:active, .btn-secondary-white:focus, .btn-secondary-white:hover,
.open > .dropdown-toggle.btn-secondary-white, .btn-secondary-white:not([disabled]):not(.disabled).active, .btn-secondary-white:not([disabled]):not(.disabled):active,
.show > .btn-secondary-white.dropdown-toggle {
    background-color: transparent;
    color: #161b40;
    border-bottom: 1px solid #161b40;
    text-decoration: none;
}

.btn-contact {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    background-color: #0284b4;
    border: 1px solid #0284b4;
    color: white;
    font-size: 16px;
}

.btn-contact:hover, .btn-contact:focus, .btn-contact:active, .btn-contact.active,
.btn-contact.focus, .btn-contact:active, .btn-contact:focus, .btn-contact:hover,
.open > .dropdown-toggle.btn-contact, .btn-contact:not([disabled]):not(.disabled).active, .btn-contact:not([disabled]):not(.disabled):active,
.show > .btn-contact.dropdown-toggle {
    background-color: #161b40;
    border-color: #161b40;
}

.btn-contact-white:hover, .btn-contact-white:focus, .btn-contact-white:active, .btn-contact-white.active,
.btn-contact-white.focus, .btn-secondary-white:active, .btn-secondary-white:focus, .btn-secondary-white:hover,
.open > .dropdown-toggle.btn-secondary-white, .btn-secondary-white:not([disabled]):not(.disabled).active, .btn-secondary-white:not([disabled]):not(.disabled):active,
.show > .btn-secondary-white.dropdown-toggle {
    background-color: transparent;
    color: #161b40;
    border-bottom: 1px solid #161b40;
    text-decoration: none;
}

.btn-secondary:hover {
    color: #E06718;
    border-color: transparent;
    text-decoration: none;
    border-bottom: 1px solid #E06718;
    padding-bottom: 4px;
}

.btn-secondary:active {
    color: #E06718;
    border-color: transparent;
    text-decoration: none;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus, .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

/* Form-control styling */
.form-control {
    font-family: 'Sarabun-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: black;
    border: none;
    border-radius: 27px;
    padding: 1em 1.8em;
    margin-bottom: 1rem;
}

.form-control:focus {
    border: 1px solid #0284B4;
    color: black;
    box-shadow: unset;
}

.form-control-color-override:focus {
    color: black;
}

.contact-form-block input, .contact-form-block textarea {
    width: 90% !important;
}

input[type='text'], input[type='password'], input[type='number'], textarea, .dropdown-background {
    background-color: #fff !important;
    border: 1px solid transparent !important;
}

input[type='text']::-webkit-input-placeholder, input[type='password']::-webkit-input-placeholder, input[type='number']::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: black !important;
    letter-spacing: 3px;
}

input[type='text']::-moz-placeholder, input[type='password']::-moz-placeholder, input[type='number']::-moz-placeholder, textarea::-moz-placeholder {
    color: black !important;
    letter-spacing: 3px;
}

input[type='text']:-ms-input-placeholder, input[type='password']:-ms-input-placeholder, input[type='number']:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: black !important;
    letter-spacing: 3px;
}

input[type='text']:-moz-placeholder, input[type='password']:-moz-placeholder, input[type='number']:-moz-placeholder, textarea:-moz-placeholder {
    color: black !important;
    letter-spacing: 3px;
}

input[type='text']::placeholder, input[type='password']::placeholder, input[type='number']::placeholder, textarea::placeholder {
    color: black !important;
    letter-spacing: 3px;
}

.error-border input {
    border-color: red !important;
}

/* Helper classes */
.main-col {
    max-width: 1440px;
    overflow: hidden;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.d-no-flex {
    display: unset;
}

.global-margin-top {
    margin-top: 100px;
}

/* General Styling */
.navbar {
    position: fixed;
    background: white;
    width: inherit;
    max-width: inherit;
    z-index: 4 !important;
}

.nav-item a {
    color: black;
    font-size: 18px;
}

.nav-item a:hover {
    color: #0284B4;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 1.4rem;
    padding-left: 1.4rem;
}

.nav-active {
    color: #F7901E !important;
    font-family: Sarabun-Bold, sans-serif;
    font-weight: 700;
}

.nav-active::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #F7901E;
    border-radius: 50%;
    margin-top: -15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.protonise-logo-main {
    width: 210px;
    height: auto;
}

body {
    height: 100%;
    min-height: 100vh;
}

.badge {
    padding: 1em 1.8em;
    font-weight: 300;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 32px;
}

.badge-info {
    color: black;
    background-color: #E7F2FF;
    font-size: 18px;
}

.badge-info[href]:hover, .badge-info[href]:focus {
    color: #fff;
    text-decoration: none;
    background-color: #117a8b;
}

.text-block {
    padding-top: 8vw;
}

.text-block-padding-left {
    padding-right: 50px;
}

.text-block-padding-right {
    padding-left: 50px;
}

.mobile-nav:hover {
    cursor: pointer;
}

.bm-burger-button {
    width: 40px;
    height: 40px;
    position: relative;
}

.bm-cross-button {
    width: 40px !important;
    height: 40px !important;
    right: 25px !important;
    top: 25px !important;
}

.bm-menu-wrap {
    top: 0;
}

.mobile-menu {
    background: #161B40;
}

.mobile-menu-item-list {
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.mobile-menu-item-list a:hover {
    text-decoration: none;
}

.menu-item {
    font-family: 'Sarabun-Light', sans-serif;
    font-weight: 300;
    font-size: 34px;
    color: white;
    line-height: 44px;
}

.menu-item-margin {
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 3;
}

.mobile-menu-logo {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 180px;
    height: auto;
}

.mobile-menu-circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid #0284B4;
    position: absolute;
    top: -120px;
    right: -120px;
}

/* Mobile classes */
@media (max-width: 991.98px) {
    ul {
        padding-inline-start: 0;
    }

    .btn {
        font-size: 16px !important;
        letter-spacing: 0 !important;
    }

    .btn-secondary-white {
        font-size: 16px !important;
    }

    .text-block-padding-left {
        padding-left: 25px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        position: fixed;
        background: white;
        width: 100% !important;
        z-index: 2 !important;
    }

    .protonise-logo-main {
        width: 180px;
    }

    h1 {
        font-size: 30px !important;
        line-height: 40px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 13px !important;
        letter-spacing: 2px !important;
    }

    h4 {
        font-size: 20px !important;
    }

    p {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .text-block {
        padding-top: 0;
    }

    .text-block-padding-left {
        padding-right: 0;
    }

    .text-block-padding-right {
        padding-left: 0;
    }

    .text-block-padding-left {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .badge {
        white-space: unset;
    }
}

