kokjan/frontend/themes/mub/assets/theme.css

921 lines
20 KiB
CSS
Executable File

@import url('https://fonts.googleapis.com/css?family=Bai+Jamjuree|Kanit|KoHo|K2D|Maitree|Sarabun&display=swap');
html,
body {
overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
/*padding-top: 200px;*/
font-family: Noto Sans Thai !important;
font-weight: 300;
font-size: 15px;
}
/*body {
background: #FD7A17 url('../img/page.png') fixed;
background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background: -webkit-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -webkit-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background: -moz-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -moz-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background: -o-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -o-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background: -ms-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -ms-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
-svg-background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
background-attachment: fixed, fixed, fixed !important;
position: relative;
width: 100%;
min-height: 100%;
}
*/
.floating-menu {
z-index: 999;
padding-top: 10px;
padding-bottom: 10px;
left: 0;
position: fixed;
display: inline-block;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%)
}
.main-menu {
margin: 0;
padding-left: 0;
list-style: none;
/*font-size: small;
font-family: 'K2D';*/
}
.main-menu li a {
display: block;
padding: 10px;
color: #fff;
position: relative;
-webkit-transition: none;
-o-transition: none;
transition: none
}
.main-menu li a:hover {
background: rgba(244, 244, 244, .3)
}
.menu-bg {
/*background-image: -webkit-linear-gradient(top, #1C5E91 0, #167699 100%);
background-image: -o-linear-gradient(top, #1C5E91 0, #167699 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#1C5E91), to(#167699));
background-image: linear-gradient(to bottom, #1C5E91 0, #167699 100%);
background-repeat: repeat-x;*/
background-color: #A7D562;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
top: 0;
left: 0;
-webkit-transition: .1s;
-o-transition: .1s;
transition: .1s
}
.ripple {
position: relative;
overflow: hidden;
transform: translate3d(0, 0, 0)
}
.ripple:after {
content: "";
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
background-repeat: no-repeat;
background-position: 50%;
transform: scale(10, 10);
opacity: 0;
transition: transform .5s, opacity 1s
}
.ripple:active:after {
transform: scale(0, 0);
opacity: .2;
transition: 0s
}
footer {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-logofooter{
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.footer a {
color: white;
}
.footer-bottom {
/*font-size: smaller;
background-color: #303030 !important;*/
}
.help-block {
color: indianred;
}
.header-bg {
background-image: linear-gradient(to bottom, rgba(253, 122, 23, 1) 10%, rgba(253, 122, 23, 0.0) 100%);
}
/*
* Custom styles
*/
.navbar-brand {
font-size: 24px;
font-family: 'K2D';
}
.navbar a {
font-weight: bold;
font-size: 16px;
color: white;
}
.navbar a:visited {
color: white;
}
.navbar a:hover {
color: gold;
}
.navbar.fixed-top.fixed-theme {
/*box-shadow: 0 0 5px rgba(0, 0, 0, .8);*/
background: #FD7A17; /* fallback for old browsers */
/*background: -webkit-linear-gradient(to right, #ED8F03, #FFB75E); /* Chrome 10-25, Safari 5.1-6 */
/*background: linear-gradient(to right, #ED8F03, #FFB75E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
border-bottom: 4px solid #021b79;
}
.navbar-brand.fixed-theme {
font-size: 18px;
}
.navbar-container.fixed-theme {
padding: 0;
}
.navbar-brand.fixed-theme,
.navbar-container.fixed-theme,
.navbar.fixed-top.fixed-theme,
.navbar-brand,
.navbar-container {
transition: 0.8s;
-webkit-transition: 0.8s;
}
.navbar .dropdown-menu {
border: 0px;
/*background-color: #eee0b6 !important;*/
background-color: #009ecc;
margin-top: 4px;
/*background-image: url("../img/bg_pattern.jpg");
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 10%, rgba(0, 150, 36, 0.8) 100%), url("../img/bg_pattern.jpg");
*/
}
.dropdown-menu a, .dropdown-menu a:visited {
color: white;
}
.dropdown-menu a:hover {
color: #00739f;
}
.navbar .dropdown {
position: static
}
.navbar .dropdown-menu {
width: 100%;
left: 0;
right: 0;
border-radius: 0rem;
}
.navbar-toggler {
border-color: rgb(98, 56, 49);
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(9,55,244, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.fixed-theme a, .fixed-theme a:visited {
color: white;
}
.fixed-theme a:hover {
color: #fcf8e3;
}
.abs-center-x {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.section {
padding-top: 30px;
padding-bottom: 30px;
}
.section-slide {
min-height: 100vh;
}
.section-top {
color: #d39547;
padding-top: 120px;
/*background-color: #eee3cc !important;*/
padding-bottom: 20px;
/*background-color: #FCF6BA;
background-image: url("../img/bg_pattern.jpg");
background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(0, 150, 36, 0.6) 100%), url("../img/bg_pattern.jpg");
*/
}
.section-scroll {
/*padding-top: 10px;*/
/*background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
background-color: #d39547;
vertical-align: middle;
color: white;
border: 4px solid #d39547;
border-left: none;
border-right: none;
margin-right: 2.5%;
}
.section-scroll a, .section-scroll a:hover, .section-scroll a:visited {
color: white;
}
.section-carousel {
color: white;
/*background-image: url("img/bg_new.png");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
margin-top: -39px;*/
}
.section-activity {
/*background-color: #f7f7f7;*/
}
.section-dla {
z-index: 1;
background-color: #0158a7;
position: relative;
}
.section-dla::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
background-image: url(img/bg_dla.png);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
.section-title {
color: #ffffff;
background-size: 1089px 118px;
font-weight: bold;
position: relative;
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
height: 128px;
margin-bottom: 20px;
}
.section-title::after{
background-image: url("img/title/title_02.png");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.section-title:before {
position: absolute;
top: -18px;
}
/*.section-title:after {
position: absolute;
bottom: -20px;
content: url("../img/bg_section_title_bottom.png");
}*/
/*
.section-title:before,
.section-title:after {
content: '';
border-top: 2px solid #9b9b9b;
margin: 0 20px 0 0;
flex: 1 0 20px;
}
.section-title:after {
margin: 0 0 0 20px;
}*/
.section-news {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-news a, .section-news a:hover, .section-news a:visited {
color: #ffffff;
}
.section-news .nav-pills .nav-link.active, .section-news .nav-pills .show > .nav-link {
color: #ffffff;
background-color: #d39547;
}
.section-news .card-body a {
color: #2476bf;
}
.section-activity {
/*z-index: 1;
background-color: #5aa6da;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;
position: relative;*/
}
/*.section-activity::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
/*background-image: url("img/bg_activity.png");*/
/* background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}*/
.section-activity a{
color: #fff0f0;
}
.section-egp {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-egp a, .section-egp a:hover, .section-egp a:visited {
color: white;
}
.section-egp .nav-pills .nav-link.active, .section-egp .nav-pills .show > .nav-link {
color: #ffffff;
background-color: #d39547;
}
.section-tour {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-tour::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
background-image: url("img/bg_nature.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
.section-product {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-tour .card-title {
padding: 10px;
background-color: rgba(108, 117, 125, 0.77);
}
.section-tour a {
color: white;
}
.section-banner {
/*background-image: linear-gradient(to bottom, #3d7e40 0%, #ffffff 100%) url("")*/;
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-work {
/*background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);*/
background-color: #92a0a7;
}
.section-service {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-service::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
background-image: url("img/bg_eservice.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
.section-ebook{
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-service a, .section-service a:hover, .section-service a:visited {
color: white;
}
.section-service .nav-pills .nav-link.active, .section-service .nav-pills .show > .nav-link {
color: #5aa6da;
background-color: #ffffff;
}
.main-content {
padding-top: 20px;
padding-bottom: 20px;
}
.section-main-content {
z-index: 1;
/*background-color: #243b7f;*/
position: relative;
}
.section-main-content::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
background-image: url("./img/id01.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
.breadcrumb {
background: #5959591a !important;
justify-content: center !important;
}
.section-ita{
/*background: linear-gradient(to right, #255e45, #3d9970);*/
/*background: #11998e;
background: -webkit-linear-gradient(to right, #11998e, #38ef7d);
background: linear-gradient(to right, #255e45, #3d9970);*/
/*background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;
/*background-position: center;*/
/*padding: 250px;*/
/*padding-bottom: 30px;*/
}
.section-ita a{
color: #159ae8 ;
}
.ita-icon a{
color: white;
}
.breadcrumb-section {
background: #136cab; /* fallback for old browsers */
background: -webkit-linear-gradient(to top, #ffffff, #136cab); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to top, #ffffff, #136cab); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
width: 100%;
clear: both;
padding: 35px 0px;
margin: 0px 0px 20px;
}
.breadcrumb-section h1 {
color: #fefeff;
font-size: 30px;
font-weight: bold;
text-transform: capitalize;
text-align: center !important;
margin-bottom: 25px;
line-height: normal;
}
/*.breadcrumb a, .breadcrumb a:hover, .breadcrumb a:visited {
color: white !important;
}
.breadcrumb-item.active {
color: white !important;
}
.breadcrumb-item::before {
color: white !important;
}*/
.card {
border: none;
}
/*#animated-bg {
animation: animateBg forwards 5s ease-in;
}
@keyframes animateBg{
from { background-size: 100%; }
to { background-size: 140%; }
}*/
.post-summary {
font-size: small;
}
.content-image {
margin-bottom: 10px;
justify-content: center;
align-items: center;
text-align: center;
display: flex;
}
.collapse-header {
font-size: 18px;
font-weight: bold;
}
.box {
border: 6px solid;
padding: 10px;
}
.box-green {
color: green;
}
.box-orange {
color: orange;
}
.box-red {
color: orangered;
}
.box-yellow {
color: yellowgreen;
}
.fc table {
color: white;
}
.fc_eservice {
color: black;
}
.th {
background: #FFFFFF;
}
.breadcrumb-item + .breadcrumb-item::before {
color: #ffffff;
}
.page-link {
color: #0c78c4 !important;
}
.page-item.active .page-link {
color: #fff !important;
background-color: #0c78c4 !important;
border-color: #0c78c4 !important;
}
.section-link-banner {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
/*--------------------------------------------*/
.section-bgimg {
z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
.section-pgimg {
background-image: url("./img/title/title.png");
background-repeat: no-repeat;
background-size: 100% 100%;
position: relative;
text-align: center;
}
.section-pgimg-eser1 {
background-image: url("./img/title/title bar.png");
/*background-repeat: no-repeat;
background-size: 100% 100%;
position: relative;
text-align: center;*/
background-repeat: no-repeat;
background-position: center;
background-size: 300px;
font-weight: bold;
position: relative;
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
height: 128px;
margin-bottom: 20px;
}
.section-pgimg-eser2 {
background-image: url("./img/title/title bar.png");
/*background-repeat: no-repeat;
background-size: 100% 100%;
position: relative;*/
background-repeat: no-repeat;
background-position: center;
background-size: 300px;
font-weight: bold;
position: relative;
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
height: 128px;
margin-bottom: 20px;
}
.section-pgimg-ebook1 {
background-image: url("./img/title/title bar.png");
/*background-repeat: no-repeat;
background-size: 100% 100%;
position: relative;*/
background-repeat: no-repeat;
background-position: center;
background-size: 530px;
font-weight: bold;
position: relative;
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
height: 178px;
margin-bottom: 20px;
}
.section-footer-bg{
position: relative;
z-index: -1;
opacity: 1;
content: '';
left: -2.5%;
top: 0%;
right: 2.5%;
bottom: 0%;
/*background-color: rgba(0, 0, 0, 0.80);*/
background-image: url(./img/footer/footer_01.png);
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
}
.info-list li .icon{
color: black;
}
.card-border {
border-style: inset;
border-width: 10px;
border-color: #A7D562;
}
.text-center.text-color {
text-shadow: 2px 2px 5px #A7D562;
color: #A7D562;
}
.section-link-banner {
/*z-index: 1;
position: relative;
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;*/
}
.section-link-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .1;
z-index: -1;
/*background-image: url("img/bg_ita.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;*/
}
.section-search{
/*background: #11998e;
background: -webkit-linear-gradient(to right, #11998e, #38ef7d);
background: linear-gradient(to right, #255e45, #3d9970);*/
background-image: url("img/bg/bg_01.png");
background-repeat: no-repeat;
background-size: cover;
/*background-position: center;*/
/*padding: -150px;*/
padding-bottom: 30px;
}
.section-search a{
color: #ffffff;
}
.section-search h1{
color: #000000;
}
.section-ita h3 {
font-size: 24px;
margin-bottom: 15px;
}
.section-ita h5 {
font-size: 18px;
margin-bottom: 20px;
}
.section-news h5{
position:relative;
font-size:20px;
font-weight:500;
line-height:1.3em;
}
.pagination{
margin-top: 20px;
}
.section-news btn btn-secondary{
margin-top: 20px;
}
.img-activity img {
width: 370px;
height: auto;
}
.img-activity {
width: 370px;
height: 260px;
overflow: hidden;
text-align: center;
}
.main-menu .navigation > li.current > a, .main-menu .navigation > li:hover > a {
color: #0137d0;
}
.emty{
color: #faebd7;
}
.fc-header-toolbar h2 {
position: relative;
font-size: 30px;
font-weight: 600;
line-height: 1.1em;
}
.fc-icon, .fc-toolbar .fc-center{
color: aliceblue;
}
.tab-content > .active{
color: #6c757d;
}
.empty{
color: aliceblue;
}