@import url(bulete_menu.css);

.fr {
  float:right;
}

.fl {
  float: left;
}

.ico-bul1{
  padding-left: 25px;
  background: url(../../images/ico/ico-bul1.png) 0px 0px no-repeat;
  padding-bottom: 3px;
  text-align: left;
  border-bottom: dotted 1px #b4b4b1;
  margin-bottom: 5px;
}

.block-title-6 .bg-primary {
  border-radius: 5px 5px 0 0 !important;
}

.border-primary {
  border-color: var(--bs-blue)  !important;
}

.second-header {
  .cname ,.ctype {
    color:#fff;
  }

  .cname {
    border-bottom:1px #fff solid;
  }

  .col-lg-12 {
    display:flex;
    align-items: center;
    /*justify-content: center;*/
  }
}


/* สีพื้นหลังหัวเว็บ */
.header {
  background-color: #0a58ca;
}

/* สีพื้นหลังเมนูด้านบน */
#showbacktop {
  background-color: var(--bs-blue);
}


.carousel-item img {
  height: 570px;
  object-fit: cover;
  width: 100%;
}


/*------------------------------------
	Widget banner
------------------------------------*/
.banner-four li {
  width: 100%;
  text-align: left;
  justify-content: center;
  align-items: center;
}


.banner-four li a {
  display: block;
  font-size: 18px;
  line-height: 34px;
  border-radius:5px 5px;
  padding:10px 10px;
}

.banner-four li a:hover {
  opacity: 0.9;
}

.banner-four li a:focus {
  opacity: 0.9;
}

.banner-four li a::before {
  float: left;
  margin-left: 0.8rem;
  vertical-align: inherit;
  border-top: inherit;
  border-right: inherit;
  border-bottom: 0;
  border-left: inherit;
  width: 34px;
  height: 34px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0;
  margin-right: 5px;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  /*background-size: 1rem;*/
  content: "";
}

.banner-four .bl1 a::before {
  background-image: url("../../images/ico/bl1.png");
}
.banner-four .bl2 a::before {
  background-image: url("../../images/ico/bl2.png");
}
.banner-four .bl3 a::before {
  background-image: url("../../images/ico/bl3.png");
}
.banner-four .bl4 a::before {
  background-image: url("../../images/ico/bl4.png");
}
.banner-four .bl5 a::before {
  background-image: url("../../images/ico/bl5.png");
}
.banner-four .bl6 a::before {
  background-image: url("../../images/ico/bl6.png");
}
.banner-four .bl7 a::before {
  background-image: url("../../images/ico/bl7.png");
}
.banner-four .bl8 a::before {
  background-image: url("../../images/ico/bl8.png");
}
.banner-four .bl9 a::before {
  background-image: url("../../images/ico/bl9.png");
}
.banner-four .bl10 a::before {
  background-image: url("../../images/ico/bl10.png");
}

.bg-bl1, .btn-bl1 {
  background-color: #006BFF !important;
  color: var(--bs-white);
}

.bg-bl2, .btn-bl2 {
  background-color: #0f6741 !important;
  color: var(--bs-white);
}

.bg-bl3, .btn-bl3 {
  background-color: #78300f !important;
  color: var(--bs-white);
}

.bg-bl4, .btn-bl4 {
  background-color: #7E60BF !important;
  color: var(--bs-white);
}

.bg-bl5, .btn-bl5 {
  background-color: #3A6D8C !important;
  color: var(--bs-white);
}

.bg-bl6, .btn-bl6 {
  background-color: #a99b07 !important;
  color: var(--bs-white);
}

.bg-bl7, .btn-bl7 {
  background-color: #604CC3 !important;
  color: var(--bs-white);
}

.bg-bl8, .btn-bl8 {
  background-color: #FF6600 !important;
  color: var(--bs-white);
}

.bg-bl9, .btn-bl9 {
  background-color: #067c10 !important;
  color: var(--bs-white);
}

.bg-bl10, .btn-bl10 {
  background-color: #0a0594 !important;
  color: var(--bs-white);
}

.breaking-box {
  background-color: blue ;
  border-radius: 5px;
  padding: 10px 10px;

  table {
    width:100%;
  }

 

  .bg-news {
    position: absolute;
    background-image: url("../../images/ico/ico_news.png");
    background-repeat: no-repeat;
    color:yellow;
    padding-left: 60px;
    padding-top: 18px;
    top: -10px;
    font-size: 18px;
  }
}


.blog-box .blog-box-head,
.page-header .title {
    background:#feef29;
}

.blog-box-body ul li {
  padding: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
  transition: all 0.3s ease 0s;
  margin-bottom: 0px !important;

  a {
    text-decoration: none !important;
    outline: none;
    color: #fff;
  }
}

/*เมนูด้านข้าง */
.blog-list-style a {
  padding-top: 2px;
  padding-bottom: 5px;
}

.blog-box .blog-box-head {
  margin: 0;
  border-radius: 10px 10px 0 0;
}

.blog-box .blog-box-head .title {
  color: #002596;
  font-size: 20px;
  display: table;
  margin: auto;
  padding: 5px 10px;
}

.blog-box .blog-box-body {
  /* สีพื้นหลังและสีตัวหนังสือในกรอบด้านข้าง */
  font-weight: 300;
  padding: 10px;
  background-color: #002596;
  border-radius: 0 0 10px 10px;
  color: #ffffff;
}

.blog-box .blog-box-body .item .item-content .title {
  color: #fff;
}

.blog-box .blog-box-body .item .item-content .item-description {
  color: #fff;
}

.blog-box .blog-box-body .item .thumbnail .caption .title {
  color: #feef29;
}

.blog-box .blog-box-body .item .thumbnail .caption .item-add-cart .btn-default {
  border: 0 !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}


.bg-qa {
  background:#f6f6f6 url(../../images/e-bg.jpg) top center no-repeat;
}


/* รูปพื้นหลัง Footer */
.bg-footer {
  /*background-image: url('../../slide4.jpg') !important;*/
}

.login-page {
  width: 250px;
  margin: auto;
  .title {
    text-align: center;
    background-color: #006BFF;
    color:#fff;
    font-size: 18px;
    padding:10px 10px;
    justify-content: center;
    border-radius: 5px 5px 0 0;
  }
}


.login-form input {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 10px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
}
.login-form button {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #4CAF50;
  width: 100%;
  border: 0;
  padding: 10px;
  color: hsl(0, 0%, 100%);
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.login-form button:hover,.login-form button:active,.login-form button:focus {
  background: #43A047;
}



.sub-15-1{
	position:relative;
	z-index:1;
	margin-top:-35px;
	background: url(https://www.apw.ac.th/images/sub-15-1/subbg.png) top center no-repeat;
	}
.sub-15-1 .pic-content{
	text-align:center;
	margin-top:130px;
	font-weight: bold;
    font: 27px/50px 'thaisanslite', Arial, sans-serif;
    color: #000;
	}	
.sub-15-1 .text-content{
	min-height:300px;
	margin:20px 0;
	}	
		

  .content-bg {
    padding:10px 10px;
    border-radius: 0px 0px 10px 10px;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, #fff, rgb(79, 114, 252) 35%, #fff 100%);
  }

  .box-boss {
    text-align: center;
    margin-bottom: 10px;
    img {
      max-width: 250px;
      /*padding:15px 15px;
      border-radius: 50% !important*/
    }
    h5 {
      margin-top: -10px;
      position: relative;
    }
  }

  .box-banner {
    text-align: center !important;
    padding: 0px 0px !important;
    margin: 0px 0px !important;
    img {
      padding-bottom: 5px;
    }
    ul {
      list-style: none;
      padding: 0;
      margin-bottom: 0px !important;
    }
    li {
      padding-bottom: 5px !important;
    }
    
  }  
  
  .box-banner-link {
    text-align: center !important;
    padding: 0px 0px !important;
    margin: 0px 0px !important;
    img {
      padding-bottom: 5px;
      border-radius: 10px 10px;
    }
  }

  .slide-center {
    margin-bottom: 10px;
    img {
      border-radius: 5px !important;
    }
  }

  .box-intro {
    padding: 10px 10px;
    margin: 10px 10px;
  }

  .frmLogin {
    .btn {
      height: 30px !important;
      width: 80px !important;
      padding: 5px 5px !important;
    }
  }

  footer .logo {
    align-items: center;
    justify-content: center;
    text-align: center;
    img {
      width:100px;
    }
  }

  .banner_web {
    margin-bottom: 5px;
  }

  
.cookie-container {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.7);
  color: #f5f6fa;
  box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
  transition: 400ms;
  text-align:center;
  font-family: "Noto Sans Thai", sans-serif;
}

.cookie-container.active {
  bottom: 0;
}

.cookie-btn {
  background: #037ae1;
  border: 0;
  color: #f5f6fa;
  padding: 10px 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Noto Sans Thai", sans-serif;
}

.cookie-link{
  background: #037ae1;
  border: 0;
  color: #f5f6fa;
  padding: 10px 10px;
  font-size: 14px;
  border-radius: 8px;
  font-family: "Noto Sans Thai", sans-serif;
}


/* ++++++++++ ปฏิทินกิจกรรม ++++++++++++++*/
.font_cal {
	FONT-FAMILY: "Noto Sans Thai", sans-serif;
	font-size: 12px;
/*	font-weight : bold;*/
	color : #363636;
	height:17px;
}

.font_cal_b {
	FONT-FAMILY: "Noto Sans Thai", sans-serif; 
	font-size: 12px;
	color : #363636;
	width:14.2%; height:17px;
  font-weight : bold;
}

.font_b {
	FONT-FAMILY: "Noto Sans Thai", sans-serif;
	font-size: 12px;
	font-weight : bold;
	height:17px;
}	

.bg_Cal{
	FONT-FAMILY: "Noto Sans Thai", sans-serif;
	font-size: 12px;	
	height:17px;
}

.box-calendar {
  border-radius: 10px 10px;
  tr {
    height: 30px;
  }
}

/* ++++++++++++++++++  ศิษย์เก่า ++++++++++++++++*/
.profile-card {
    border-bottom: 1px dotted #28a745; /* เส้นแบ่ง */
    padding: 10px 0;
    img {
      border-radius: 10px;
    }
  }
  .profile-card:last-child {
  border-bottom: none;
  }
  .profile-image {
  max-width: 150px;
  max-height: 180px;
  object-fit: cover;
  }
  .profile-details {
  font-size: 1rem;
  padding-left: 50px;
  line-height: 12px;


  }

  .box-person,.box-news {
    margin-top: 50px;
    img {
      border-radius: 10px 10px;
      margin-bottom: 10px;
    }
  }

  .txt-link {
    font-weight: 400 !important;
  }



.datanew ul {
    list-style-type: none;
	  padding: 10px 5px 10px 5px;
}
  
.datanew li {
  list-style: none;
	border-bottom: dotted 1px #b4b4b1;
	margin-bottom: 5px;

  span {
    color:red;
  }
}

  
.ico_news {
  padding-left: 25px;
  background: url('../../../_files_share/ico/ico_menu1.png') 0px 0px no-repeat;
  padding-bottom: 3px;
  text-align: left;
}

.ico_news a {
text-decoration: none;
font-size: 14px;
color: var(--txtColor1);
line-height: 25px;
}

.ico_news a:hover {
color: var(--txtColor4);
text-decoration: none;

}

.ico_news span {
text-decoration: none;
font-size: 12px;
color: var(--txtColor9);
padding-left: 10px;
}


/*--------- เว็บบอร์ด -----------*/
.ico_topic {
  padding-left: 25px;
  background: url('../images/ico/i_topic.gif') 0px 5px no-repeat;
  padding-bottom: 3px;
  text-align: left;
}

.ico_topic a {
text-decoration: none;
font-size: 14px;
color: var(--txtColor1);
line-height: 25px;
}

.ico_topic a:hover {
color: var(--txtColor4);
text-decoration: none;

}

.ico_topic span {
text-decoration: none;
font-size: 12px;
color: var(--txtColor9);
padding-left: 10px;
}


.box-gallery img {
  border-radius: 10px 10px !important;
}

.tbl-wboard {
  .t-center td {
    text-align: center;
    border-bottom: solid 1px rgb(235, 234, 234);
  }
}

/*-------------------------------------------
  -- Buttons Intro
-------------------------------------------*/

.btn {
  margin-top: 20px !important;
  border-radius: 6.25rem;
  border-width: .125rem;
  box-shadow: .125rem .1875rem .9375rem rgba(0, 0, 0, .15);
  font-weight: 600;
  font-size: .9375rem;
  padding: .5rem 1.25rem;
  position: relative;
  outline: none !important;
}

.btn-primary {
  background-color: #f26d7d;
  border-color: #f26d7d;
  color: #fff;
}


.btn-lg {
  padding: .75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  font-size: .8125rem;
  padding: .375rem 1rem;
}

.btn-xs {
  font-size: .75rem;
  font-weight: 600;
  padding: .125rem .6875rem;
  text-transform: uppercase;
}

/*-------------------------------------------
  -- Login E-Document
-------------------------------------------*/
.login-card {
  background-color: #2c2c3e;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px;
}
.login-card h3 {
  margin-bottom: 20px;
  font-weight: bold;
}
.btn-primary {
  background-color: #6c5ce7;
  border: none;
}
.btn-primary:hover {
  background-color: #5a4bcf;
}


/*-------------------------------------------
  -- Download Document
-------------------------------------------*/
.document-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.document-list {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  
}
.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
}
.document-item:last-child {
  border-bottom: none;
}
.pdf-icon {
  color: #d9534f;
  margin-right: 1rem;
}
.download-link {
  font-weight: bold;
  text-decoration: none;
}
.download-link:hover {
  text-decoration: underline;
}

.document-item span {
  padding-left: 40px;
  font-size: 13px;
  color: gray;
  position: absolute;
  margin-top: -8px;
}



/*-------------------------------------------
  -- Webboard
-------------------------------------------*/

.box-webboard {
  .title-head {
    border-bottom: dotted 1px #a4a2a2;
  }
}

.tbl-wboard {
  td {
    padding: 5px 5px !important;
  }
}


.cookie-container {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.7);
  color: #f5f6fa;
  box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
  transition: 400ms;
  text-align:center;
  font-family: Athiti;
  padding-top: 20px !important;
  p {
    color: #fff !important;
  }
}

.cookie-container.active {
  bottom: 0;
}

.cookie-btn {
  background: #037ae1;
  border: 0;
  color: #f5f6fa;
  padding: 10px 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: Athiti;
}

.cookie-link{
  background: #037ae1;
  border: 0;
  color: #f5f6fa;
  padding: 10px 10px;
  font-size: 14px;
  border-radius: 8px;
  font-family: Athiti;  
}

.language {
  img {
    cursor: pointer;
  }
  ul {
    width:130px !important;
  }
  ul>li {
    width:130px !important;
  }
}

/*++++++++  Chat Live 2024-06-01 +++++++++*/
.live-chat-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-chat-buttons {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.chat-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
  position: relative;
}

.chat-button.messenger {
  background-color: #0084ff;
}

.chat-button.phone {
  background-color: #34b7f1;
cursor: pointer;
}

.chat-button.phone .phone-number {
  display: none;
  position: absolute;
  left: -160px;
  background-color: #34b7f1;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
}

.chat-button:hover {
  opacity: 0.8;
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff5e3a;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  opacity: 0.8;
}
/*++++++++  END  Chat Live +++++++++*/


@media (max-width: 768px) {
  .custom-row {
      display: flex;
      flex-direction: column;
  }
  .col1 { order: 2; } 
  .col2 { order: 1; }
  .col3 { order: 3; }
}