:root {
  --blue: #1e90ff;
  --blue_L1: #5a65ae;
  --blue_L2: #AFB5DE;
  --white: #ffffff;
  --white_L2 : #efefef;
  --black: #000000;
  --gray_L0 : #f9ebeb;
  --gray_L0_1 :#f1f0f0;
  --gray_L1 : #dedede;
  --gray_L2 : #adadad;
  --gray_L3 : #76798B;
  --red_soft : #f86262;
  --red_L3 : #bb0202;
  --color_main_theme : #5A65AE;
  --bolder_style: 1px solid var(--gray_L1);
  --bolder_style_v2: 1px solid var(--gray_L2);
  --border_radius_circle: 20px;
  --font_12 :12px;
  --font_16 :16px;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0; 
    font-family: 'jost', 'arial', sans-serif;
    font-size: var(--font_16);
    background-color: #fbfbfb;/*var(--color_main_theme); #0b0a2d*/
}
body{
    display: flex;
    flex-direction: column;
    overflow-y: auto; /*overlay;*/
    overflow-x: hidden;
}
button { 
    font-family: 'jost', 'arial', sans-serif; 
    color:var(--black);
    font-size: 14px;
}
.header {padding: 0; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);}
/*h1,p{ color: #202020; }*/
/*var(--color_main_theme) สีหลัก พื้นหลัง
  #AFB5DE เมื่อ hover mourse
  #76798B เส้นล่างของ text post*/
.pcvi_mar_bo{margin-bottom: 1em;}
/*------------------------------------------navigator 1------------------------------------*/
.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    outline-width: 5px;
    background-color: var(--white); /*#000133 Stratos #70708F*/ 
}
/*div.po .topnavhid {display: none;}*/

#logo > *{ font-size: 22px; } /*#228b22*/
.col_men{color: var(--color_main_theme);}

/*.t2 {margin-top: 0.5vw;}*/ 
/*.topnav div{float: left; }*/
.po {position: fixed; width: 100%; top: 0; z-index: 2;} /*z-index: 1; ระบุลำดับ*/
/*.as {float: right;}*/ 
.fonttnav {font-weight: bolder; font-size: 16px; color: var(--color_main_theme);}


/*ul.topnav li a:hover:not(.active) { color: #AFB5DE; border-radius: 50px; }*/

/*.topnav .active {background-color: #4CAF50;}*/

/*.right {float: right;}*/

.te-deco{ 
    /*display: block;*/
    color: var(--color_main_theme);    /*#AFB5DE #526755*/
    text-align: center;
    padding: 5px 15px 5px 15px;
    text-decoration: none; }

.box_more_opt{
    display: grid;
    justify-items: center;
}

.op_more_opt{
    margin: 0em 1em;
}
.op_more_opt_photo_page {
    margin: 0.5em 0em;
}

.dropdown_content{
    border: var(--bolder_style);
    position: absolute;
    width: max-content;
    border-radius: 2px;
    background-color: var(--white);
    z-index: 1;
    display: none;
    margin-top: 2.5em;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.2);
}

.butt_pad{
    padding: 0.5rem 1rem;
}

.dropdown_content button:hover{/*color: #AFB5DE;*/ background: var(--gray_L0_1);} /*เพิ่งลบ a หน้า hover ไป .dropdown-content div:hover*/
/*.dropdown{
    display: grid;
    justify-items: center;}
.dropbtn{
    margin: 0em 1em;

}
.dropdown-content {
    border: var(--bolder_style);
    position: absolute;
    border-radius: 2px;
    background-color: var(--white);
    z-index: 1;
    display: none;
    margin-top: 2.5em;
    padding: 0.5em;
}
/*เพิ่งลบ a ไป
.dropdown-content a, .dropdown-content button{
  color: #01042b; /*#400000 #01042b #212D4D
  display: block;
  
}

.dropdown-content button:hover{color: #AFB5DE;} /*เพิ่งลบ a หน้า hover ไป .dropdown-content div:hover*/*/

/*ทำให้กดตรงไหนของปุ่มก็ได้*/
button > * {
  pointer-events: none;
  /*display: flex;
  align-items: center;*/
}

/*a {cursor: pointer;}*/

a > * {
  pointer-events: none;
}

svg {
    display: flex;
    align-items: center;
}

#Logout:hover{color: #AFB5DE;}

.nw_notify_dot_style{
    width: 5px;
    height: 5px;
    border-radius: 5px;
    margin: 15px 15px;
    background: var(--color_main_theme);
}
.notify_box_style{
    padding: 0.5em; 
    border-radius: 0.5em; 
    text-decoration: none;
}
.cont_notify_box{
    padding: 0px 5px;
    border-radius: 10px;
    background: var(--red_soft);
    }
.notify_mas:hover{background: #B1E3FF;} /*#E3E5E9*/

.noti_num_style{
    position: absolute; 
    display: inline-block;
    margin-left: 34px;
    margin-top: -10px;
}
.col_wh{color: var(--white)} /*white*/
.col_gre{color: #1ecb09} /*lightgreen*/
.col_gre_0_1_bg{background: var(--gray_L0_1) !important;}
#AlertMess::-webkit-scrollbar {
  width: 10px;
}

#AlertMess::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

#AlertMess::-webkit-scrollbar-thumb {
  background: #c3c6c7;
  border-radius: 10px;
}
/*----------------------------------------------------------------------------------------------*/

/* Float cancel and delete buttons and add an equal width */
.cancelbtn, .deletebtn {
  float: left;
  width: 50%;
}

/* Add a color to the cancel button */
.cancelbtn {
  background-color: #ccc;
  color: black;
}

/* Add a color to the delete button */
.deletebtn {
  background-color: #f44336;
}

/* Add padding and center-align text to the container */
.container {
  padding: 20px 40px;
  /*text-align: center;*/
}
.delbutt{
    border-radius: 5px;
    background: var(--color_main_theme);
  }
    

/* The Modal (background) */
.model {
    display: flex; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: overlay;
    overflow-x: hidden;
    align-items: flex-start;
    justify-content: center;
    background-color: hsl(0deg 0% 0% / 25%);
  
}

/* Modal Content/Box */
.model-content {
    background-color: #fefefe;
    border: var(--bolder_style);
    border-radius: 2px;
    /*width: 38.5%;  Could be more or less, depending on screen size */
    width: 31em;
    margin: 0em 0em 0em 1em;;
}

.butt_okacl{
    width: auto;
    margin: 0.5em;
    display: flex;
    justify-content: center;
}
/* The Modal Close Button (x) */
.close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
}

.close:hover, .close:focus {color: #f44336; cursor: pointer;}

/* Clear floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
/*-------------------------------------Profile picture-----------------------------------------*/
.flexp {display: flex; justify-content: center; align-items: center; text-align: center;}
.avatar{
    margin: 35px 0px 25px 0px;
    width: 12em;
    height: 12em;
    border-radius: 50%;
    border:var(--white) 5px solid;
    object-fit: cover;
    object-position: top left;
    background: var(--white);
}
.avatar-mini {
    margin: 0px 4px;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    border:var(--white) 2px solid;
    object-fit: cover;
    object-position: top;
}
.avatar_mini_2 {
    margin: 0px 4px;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    border:var(--white) 2px solid;
    object-fit: cover;
    object-position: top;
}
.circle_butt{
    height: 30px;
    width: 30px;
    border-radius: 20px;
}
#uppro { 
    margin: 0.5em;
    display: none;
    position: absolute;
    justify-content: flex-end;
    z-index: 1;
  }
.postn1{position: relative;}
.postn2{position: absolute;}
.shadow{box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);}
.fontnawa {font-size: 1.2em; font-weight: bold; color: #212D4D; padding: 1px 10px 1px 10px;}
.bgfonawa {background-color: var(--white); border-radius: 2px;}
/*.avatar:hover, .avatar-mini:hover {box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);}*/

.picture_wrapper img {
    width:  auto;
    height: 100%;
    /*max-width: 100%;
    max-height: 100%;*/
}

/*----------------------------------------- cover picture---------------------------------------------------*/
.imagco{
    margin-top: 50px;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}
.imagco:hover {box-shadow: inset 0 0 16px rgba(0,0,0,0.2);}

.revert{ /*mix-blend-mode: difference;*/ color: var(--white); }

#upcov{
    margin: 0.5em;
    display: none;
    position: absolute;
    z-index: 1;
}
.butt_sub_can{
    border-radius: 5px;
    padding: 5px 10px;
    border:#ACB2D6 1px solid;
    cursor: pointer;
    background: var(--white);
    
}
.btn_up_cov {
    cursor: pointer;
    position: relative;
    /*color: #212D4D;*/
    background: transparent; 
    /*border: 1px solid;*/
    /*padding: 2px 10px;*/
    /*border-radius: 5px;*/
}
/*.btn_up_cov:hover {box-shadow: inset 0 0 16px rgba(0,0,0,0.2);}*/

.st_cover_pr_p {
    margin: 0.5em 0em;
    margin-bottom: 0.5em;
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: var(--white) 0.2em solid;
    object-fit: cover;
}
.st_cover_fn{
    background: white;
    border-radius: 2px;
    padding: 0vw 0.6vw;
    font-size: small;
}
.st_cover{
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: center;

  }
/*------------------------------------------Photo page-------*/
.gallery{ 
    /*border-radius: 2px;*/
    width: calc(9em - 1vw);;
    height: calc(9em - 1vw);;
    object-fit: cover;
    object-position: top;
    /*margin: 0.5em 1em;*/
    /*cursor: pointer;*/ 
}
.faded_color{color: transparent;}
.full_imag{max-width: 100vw; max-height: calc(90vh - 44px);}
.gallery:hover { opacity: 0.8; }
.cont{display: none; flex-wrap: wrap;}
.showf {display:flex;}
.butt_sub{
    border: none;
    cursor: pointer;
    user-select: none;
    background-color: #AFB5DE;
    color: var(--white);
    font-size: 14px;
    width: auto;
    height: auto; /*2em*/
    padding: 5px 15px;
    border-radius: 2px;
}
.butt_sub:hover { background: var(--color_main_theme); color: white;}
.butt_normal{
    border: var(--bolder_style);
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    color: #3c4043;
    font-size: 1em;
    width: auto;
    height: auto;
    padding: 5px 10px;
    border-radius: 2px;
}
.butt_normal:hover { background: var(--gray_L0_1);}
/*------------------------------------------Navigater2 indep-------*/
.rlt3 {margin: 10px 15px 10px 15px;}
/*------------------------------------------Navigater2------------------------------------------------------*/

.rlt {display: flex; justify-content: center;}
.nav2 { 
  	list-style-type: none;
  	margin: 0;
  	padding: 0;
  	outline-width: 5px;
  	overflow: hidden;
  	background-color: white;
}

.rlt2 {
    display: flex;
    align-items: center;
	font-size: 14px;
  	/*color: var(--color_main_theme); #212D4D black var(--color_main_theme) blue #2f3979*/
  	text-align: center;
  	/*margin: 5px 10px 5px 0px;*/
    border: none;
  	padding: 0px 5px 0px 5px;
    background-color: transparent;
  }
 
.rlt1 { margin: 0px 5px 0px 0px;}
.icon {width: 22px; height: 22px;} 
.icon2 {width: 20px; height: 20px;}
.icon_r{width: 15px; height: 15px;}

.menu2{ 
    padding: 0vmin 3.5vmin; 
    border-right: var(--bolder_style) !important;
}

/*div svg{ margin: 5px 5px 0px 0px; }*/
.rlt2:hover:not(.active) {color:#AFB5DE;}
button.active {text-decoration: underline;}

div.dopnav2 span a:hover { color: inherit;}

.rlt4 { width: 1rem; height: auto; padding: 0px 5px; }
/*.rlt4:hover{ background-color: #AFB5DE; color: var(--white); border-radius: 5px; padding: 0px 5px;} used butt*/

.rlt5{padding: 0.2em;}/*emoji butt*/
.rlt5:hover{background-color: #AFB5DE; border-radius: 1em; color: var(--white);}


.text_d_n{text-decoration: none;}
.lin_ava{text-decoration: none;}
.lin_ava:hover{color: var(--color_main_theme);}
.bd_t{border-top: var(--bolder_style);}
.bd_b{border-bottom: var(--bolder_style);}
/*--------------------------------------------------------------------------------------------*/
.font{
	font-family:'jost', "sans-serif", arial, new roman;
	font-size: 16px;
}
.l {float: left;}

.r {float: right;}
.flexend {display: flex; justify-content: flex-end;}
.flexstart {display: flex; justify-content: flex-start;}
.footer a, .footer{
    font-size: 14px;
    text-align: right;
    /*position: fixed;*/
    margin: 1em 2em;  
    text-decoration: none;
    /*flex-shrink: 0;*/
    color: #888888;
  }


.text_box{
    margin: 5px 10px;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-family: 'jost';
}
/*#text-area[contenteditable="false"]:empty::before {
    content: attr(placeholder);
}*/
#text-area[contenteditable="true"]:empty:before {
    content: attr(placeholder);
    color: darkgray;
}
#text-area:hover {
    cursor: text;
}



.font1{ font-size: 14px; text-decoration: none; color: #888888;} /*footer*/
.text_d {text-decoration: none; color: #212D4D;}
.font20{font-size: 20px;}
.font18{font-size: 18px;}
.font16{font-size: 16px;}
.font14{font-size: 14px;}
.fontD{font-size: 12px;}
.font11{font-size: 11px;}
.font10{font-size: 10px;}
.color1{color: #2e3038;}
.color2{color: var(--gray_L3);}
.color3{color: var(--blue_L1);}
.heavy{font-weight: bold;}
.font_w_n{font-weight: normal;}

.red_text{color: red;}

.text_d div:hover {color: var(--color_main_theme);}
.mag1 {margin: 0.2em 1em;}
.mar_au{margin: auto;}
/*-------------------------------------------Post form-------------------------------------*/
.avatar_mini_c {
    margin: 0px 4px;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    border:var(--white) 2px solid;
    object-fit: cover;
    object-position: top;
}
.wsn{white-space: nowrap; }
.toe{text-overflow: ellipsis;}
.ovf_wr_an{overflow-wrap: anywhere;}
.line_br_an{line-break: anywhere;}
.ovfh{overflow: hidden;}
.w1{width: 12em;} /*old 35*/
.w2{width: 12em} /*80 78%*/
.w1_1{width: 15em} /*page people*/
.wbbw {word-break: break-word;}
.ww_bw{word-wrap: break-word;}

hr {border: 0; border-top:1px solid #d0d9e0; margin: 0;}
pre {
    margin: 5px 10px;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-family: 'jost';
}

.butpos{padding: 0px 5px 10px 5px; transform: translateY(-20%); height: 50%;}
.mar_top{margin-top: 0.5em;}
.mar_bott{margin-bottom: 5px;}

.input, .textarea {
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 16px;
    padding: 0px 10px;
}

.textarea {
    display: block;
    width: 100%;
    overflow: hidden;
    resize: none;
    min-height: 30px;
    padding: 0px 10px;
    line-height: 30px;
    box-sizing: border-box;
    /*margin: 0px 5px;*/
}

input:focus, textarea:focus{
    outline: 0;
}
.textarea[contenteditable]:empty::before {
  content: "Placeholder still possible";
  color: gray;
}

.butt {
    border: none;
    cursor: pointer; /*ทำเมาส์เป็นรูปมือเมื่อ hover*/
    background-color: transparent; /*ทำให้ใส*/
    user-select: none;
    outline: none;
}
.but-r{margin-right: 5px;}

/*.pst-normal{
  display: inline-block;
    padding: 0px 1em;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    }*/

.pst {
    padding: 0px 1em;
    border-radius: 2px;
}


.pst.disabled,.pst[disabled],fieldset[disabled] .pst {
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    opacity: .60;
}

.pst-primary {
    color: #fff;
    background-color: var(--color_main_theme);
    border-color: #357ebd;
}

.pst-primary:hover,.pst-primary:focus,.pst-primary:active,.pst-primary.active,.open>.dropdown-toggle.pst-primary {
    color: #fff;
    background-color: #3071a9;
    border-color: #AFB5DE;
}


.btn_upload {
    cursor: pointer;
    color: var(--color_main_theme);
    /*display: inline-block;
    overflow: hidden;
    position: relative;
  
    background-color: var(--color_main_theme);
    border: none;
    padding: 5px 10px;
    border-radius: 2px;*/
}

/*.btn_upload:hover, .btn_upload:focus {
    background-color: #AFB5DE;
}*/
/*---------------ปุ่มเพิ่มรูป--------------------------*/
.file-field {
    position: relative
}

.file-field .file-path-wrapper {
    height: 2.5rem;
    padding-left: 10px;
    overflow: hidden
}

.file-field input.file-path {
    width: 100%;
    height: 36px
}

.file-field .btn {
    float: left
}

.file-field span {
    cursor: pointer
}

.file-field input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    filter: alpha(opacity=0);
    opacity: 0
}

.file-field input[type="file"]::-webkit-file-upload-button {
    display: none
}
/*-----------------------picture----------------------------*/
.shopic{width: 100%; height:auto; }
.shopic2{width: 10rem; height:10rem; object-fit:cover; }
#uplo {
    display: none;
    /*display: flex;*/
    align-items: flex-start;
    margin-bottom: 20px !important;
}
.it {
  width: 100%; /*-webkit-fill-available*//*not working on firefox*/
}

.btn-rmv1 {
    display: none;
}

.rmv {
    cursor: pointer;
    color: #fff;
    border-radius: 10px;
    border: none;
    display: inline-block;
    background: #FF0000;
    margin: -5px -10px;
    font-size: 0.6em;
}

.rmv:hover {
    background: #FF6060;
}
/*----------------------emoji---------------------------------*/
.feeling{
    margin-left: 2em;
    position: absolute;
    background: var(--white); /*#042e52 #8d9afb*/
    padding: 0.1em;
    border: var(--bolder_style);
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgb(0 0 0 / 20%);
}
/*.emoji {
    font-size: 1vw;
    vertical-align: middle;
    line-height: 2;
}
#smile{
    width: 120px;
    height: 140px;
    background: url(../img/emoji/sprited_w.gif) 0 0;
}

#fighting{
    width: 120px;
    height: 140px;
    background: url(../img/emoji/sprited_w.gif) -150 0;
}

#congrat{
    width: 46px;
    height: 44px;
    background: url(../img/emoji/sprited_w.gif) 0 0;
}

#Wow{
    width: 46px;
    height: 44px;
    background: url(../img/emoji/sprited_w.gif) 0 0;
}

#angry{
    width: 46px;
    height: 44px;
    background: url(../img/emoji/sprited_w.gif) 0 0;
}
*/



/*--------------------------------------About form----------------------------------------------------------*/
/*::placeholder {
  padding-left: 10px;
}*/
.po_f{position: fixed;}
.po_r{position: relative;}
.po_static{position: static;}
.dispnone {display: none; }
.dispflex {display: flex;}
.dispgrid {display: grid;}
.dispblock {display: block;}
.dispc {display: contents;}
.dispilgrid {display: inline-grid;}
.dispiltable{display: inline-table;}
.jus_con_st {justify-content: start;}
.jus_con_e {justify-content: end;}
.jus_con_spa { justify-content: space-around; }
.jus_con_spb {justify-content: space-between;}
.jus_con_cen {justify-content: center;}
.jus_con_spe {justify-content: space-evenly;}
.jus_con_l {justify-content: left;}
.jus_con_r {justify-content: right;}
.jus_ite_c{justify-items: center;}
.ali_c {align-items: center;}
.ali_fe {align-items: flex-end;}
.ali_bl {align-items: baseline;}
.ali_s_s {align-self: start;}
.ali_s_e {align-self: end;}
.ali_s_c {align-self: center;}
.ali_s_st{align-self: stretch;}
.ali_s_fs {align-self: flex-start;}
.ali_s_fe {align-self: flex-end;}
.ali_c_c {align-content: center;}
.te_al_lef{text-align: left;}
.te_al_rig{text-align: right;}
.te_al_st{text-align: start;}
.te_al_en{text-align: end;}
.te_al_ce{text-align: center;}
.flex_flow_w{flex-flow: wrap;}
.jus-con-end {justify-content: flex-end;}
.jus-con-start {justify-content: flex-start;}
.flex-colum-cnter { display: flex; flex-direction: column; align-items: center; justify-content: center;}
.flex-jus-cen {display: flex; justify-content: center;}
.flex-post {display: flex; flex-direction: column; align-items: center;}
.g{display: flex; justify-content: space-between;}
.text_deco_un_l{text-decoration: underline;}
.content_mar{margin: 0 0 auto 0;}
.flex_wr_wrap{flex-wrap: wrap;}
.grid_a_f_c{grid-auto-flow: column;}
.top_0{top: 0;}
.bottom_0{bottom: 0;}
.left_0{left: 0;}
.right_0{right: 0;}
.z_i_1{z-index: 1;}
.z_i_2{z-index: 2;}
.z_i_3{z-index: 3;}
.z_i_4{z-index: 4;}

.gray_B1{color: var(--gray_L2);}

.mar_btt_1{margin-bottom: 10px}

.butt_st{
    border: var(--bolder_style);
    border-radius: 2px;
    margin: 0.2em;
}
.s_rela{
    display: inline-block;
    border: var(--bolder_style);
    margin: 0.2em;
    border-radius: 2px;
    padding: 1px 6px;
    font-size: var(--font_12);
    cursor: default;
}
button.active1, span.active1 {
    border: 1px solid var(--color_main_theme);
    color: var(--color_main_theme);
}
button.active2 {
    border: 1px solid #021d4e;
    background-color: #021d4e;
    color: var(--white);
}
.ab_f_c_f{color: #606060;} /*#8f8f8f*/
.warning {color: red;}
#content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bform {
    margin: 0px 0px 20px 0px;
    border: var(--bolder_style);
    border-radius: 2px;
    width: 35em;
    height: auto;
    background-color: var(--white);
    color: #212D4D;
    
}
.lower_bar{background: #617290; border-radius: 0px 0px 2px 2px;}
.subbform {padding: 0.5em;}
.fabout {
    margin: 5px 0px;
    padding: 10px 10px 10px 10px;
    font-size: 16px; 
    font-weight: bold; 
    text-align: left;   
}

.fabout-fs{font-size: 20px; font-weight: bold; }
.fabout-t{padding: 10px 0px 0px 0px; margin: 10px 0px 0px 0px;}
.fabout-m{ padding: 1em 0em 0em 0em;}
.fabout-bor{
    border: 1px solid #ACB2D6;
    border-radius: 2px;
}
.padd{padding: 0px;}
.hov:hover {color: #AFB5DE; border-radius: 5px; }
.sele{
    height: 1.8rem;
    border: 1px solid rgb(172, 178, 214);
    border-radius: 2px;
}
.input_text{
    height: 24px;
    border: hidden;
    border-radius: 2px;
    width: 100%;
}
.eo input{
    width: 95%;
    padding: 10px;
    margin: 5px 0px 22px 0px;
    display: inline-block;
    border: 1px solid #ACB2D6;
    border-radius: 2px;
}

.ep select{
    width: 20%;
    padding: 5px;
    margin: 14px 0px 10px 0px;
    display: inline-block;
    border: 1px solid #ACB2D6;
    border-radius: 2px;
}


.fabout2 { list-style-type: none; font-weight: normal;}

.fabout3 { padding: 10px 10px 10px 10px;}

/*.ceatebtn {
    background-color: var(--color_main_theme);
    color: white;
    padding: 8px 10px;
    margin: 8px 0px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 8%;
    opacity: 0.9;
}*/
.on{color: var(--color_main_theme)}
.off{color: #a9a9a9}
.done_sh {display: none;}
.show {display:grid;} /*ลำดับมีความสำคัญ ถ้าว่างไว้ก่อนคลาสที่มีdisplay none มันจะไม่ทำงานเมื่อใช้ toggle*/ 
.show_2 {display:block;}

.loading{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(255,255,255,0.8) url("../img/loader.gif") center no-repeat;
}
/*--------------------------------------button----------------------------------------------------------*/
    .color_lightgray {color: var(--gray_L2);}
    .butt_circle { 
        opacity: 0%;
        border: none;
        cursor: pointer;
        color: var(--gray_L2);
        background-color: transparent;
        user-select: none;
        outline: none; 
        padding: 5px;
    }
    .show_butt_circle:hover .butt_circle {opacity: 100%; }
    .butt_circle:hover {border-radius: 20px; color: var(--white); background-color: var(--gray_L2); }
/*--------------------------------------button----------------------------------------------------------*/
/*--------------------------------------Messenger----------------------------------------------------------*/

    .avatar_mini_chat{
        
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border:var(--white) 2px solid;
        object-fit: cover;
        object-position: top;
    }
    .but_m{/*margin: 10px 0px;*/ padding: 10px; border-radius: 5px; width: 100%;} /*for only message box*/
    .but_m:hover { background: var(--gray_L0_1);}
    .sty_message_user{background: #005aff;  color:var(--white); }/*#9694ff #78a7ff*/
    .sty_message_people{background: var(--gray_L1);  color:var(--black); }/*#9694ff #aabee3*/
    .message{
        line-break: anywhere;
        max-width:50%; 
        border-radius: 15px; 
        padding:5px 15px;
    }
    .ico_message{color: var(--color_main_theme);}
    .color_text_mess{ background-color: var(--white_L2);}
    .br_circle{ border-radius: var(--border_radius_circle); }
/*--------------------------------------Messenger----------------------------------------------------------*/

/*--------------------------------------Search----------------------------------------------------------*/
.pad {padding: 0.5em 1em;}
.pad:hover{background: #B1E3FF;}

.search-form {
    /*max-width: 15em;
    margin: 0 auto;
    overflow: hidden;*/
    --searchButtonWidth: 45px; /*ปรับขนาดปุ่ม search ตรงนี้*/
    /*position: relative;*/
}

.search-input {
    /*border: 0;*/
    /*margin: 0;*/
    /*padding: 0.5rem calc(var(--searchButtonWidth) + 0.5rem) 0.5rem 0.5rem;*/
    padding: 0.5rem;
    border: 1px solid #d6d7dc; 
    border-radius: 2px 0px 0px 2px;
    /*width: 100%;*/
    /*background: #AFB5DE;*/
    /*-webkit-appearance: none;*/
    font-size: 13px;

}
.search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.search-input:focus {
    outline: 0;
    background: white;
}
/*.search-input:not(:placeholder-shown) ~ .search-button {
    transform: translateX(calc(-2 * var(--searchButtonWidth)));
}*/

.search-input:focus::-webkit-search-cancel-button {
    cursor: pointer;
    opacity: 0.5;
    pointer-events: all;
}
.search-button {
    border-top: 1px solid #d6d7dc;
    border-right: 1px solid #d6d7dc;
    border-bottom: 1px solid #d6d7dc;
    padding: 0.2rem 0.8rem;
    border-radius: 0px 2px 2px 0px;
    /*position: absolute; 
    top: 0;
    left: 100%;*/
    /*width: var(--searchButtonWidth);*/
    background: #f3f3f3;
    /*transition: 0.2s;
    color: var(--white);
    font-size: 13px;*/
    /*height: 100%;*/
}
/*.search-button:focus {
    color: var(--white);
    outline: 0;
    background: #AFB5DE;
}*/

.search_f {
    max-width: 15em;
    margin: 0 6em;
    --searchButtonWidth: 45px; /*ปรับขนาดปุ่ม search ตรงนี้*/
    position: relative;
}
.drop_box{
    position: absolute;
    background: var(--white);
    padding: 1em 0em;
    width: 11.5em;
    border-radius: 0px 0px 2px 2px;
    border-left: 1px solid #d6d7dc;
    border-right: 1px solid #d6d7dc;
    border-bottom: 1px solid #d6d7dc;
}
/*--------------------------------------Comment---------------------------------------------------------*/
.form_comm, .butt_comm{ border: 1px #d0d9e0 solid; }
.form_comm { 
    border-radius: 5px;
    width: 400px;
    height: 20px; 
  }

.butt_comm{
    
    background: var(--white);
    height: 23px;
}

/*--------------------------------------Indep Room---------------------------------------------------------*/
.flexp_indb {display: flex; justify-content: center; align-items: center; text-align: center;}
.avatar_indp { 
    margin: 15px 0px 40px 0px;
    width: 14vw;
    height: 14vw;
    border-radius: 5%;
    border:var(--white) 6px solid;
    background-size: cover;
 }
.fontnawa_indp{ font-size: 1.2vw; font-weight: bold; color: #212D4D; padding: 0px 10px 0px 10px;  }
.bgfonawa_indp{ background-color: var(--white); border-radius: 0.5vw; opacity: 0.5; }
.avatar_indp:hover {box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);}

/*--------------------------------------Index---------------------------------------------------------*/
.b_log {
    width: 100%;
    padding: 10px;
    border: 1px solid #ACB2D6;
    border-radius: 2px;
}
.foralert_javac{
    width: 25em;
    height: min-content;
    padding: 20px;
    border-radius: 2px;
    background-color: var(--white);
    color: var(--black);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.midd_screen {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
}
.regis {
    margin-top: 10em;
    width: 18em;
    height: min-content;
    padding: 20px;
    border-radius: 2px;
    background-color: var(--white);
    color: var(--black);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.logi, .ca{background-color: #1f2969; border: none; color: white; cursor: pointer;padding: 0.9em; border-radius: 2px; width: 100%;}
.sign_u {background-color: #99a4ef; border: none; cursor: pointer; color: white; padding: 0.9em; border-radius: 2px; width: 100%;}
/*--------------------------------------Index---------------------------------------------------------*/
 /*------------------------------------------Navigater2 indep-------*/
.rlt3 {margin: 5px 15px 5px 15px;}
/*-----------------------------------------people page------------------------------------------------------*/
.peopl{display: flex; justify-content: space-between;}
/*--------------------------------------reponsive----------------------------------------------------------*/
@media screen and (min-width: 2560px) {

}

@media screen and (max-width: 1440px) {
    .st_cover{height: 140px;}
}

@media screen and (max-width: 1024px) {
  /*.bform, .model-content{width: 60%;}*/
  .st_cover{height: 200px;}
}

@media screen and (max-width: 880px) {

  /*.bform, .model-content{width: 70%;}*/
  
}

@media screen and (max-width: 700px) {

    #cl span, #fr span, #fa span, #sp span, #co span, #ac span  { display: none; }
    .st_cover{border-radius: 0px; height: 360px;}
    .rlt1 { margin: 0; }
  
}

@media screen and (max-width: 500px) {
    .foralert_javac{width: fit-content;}
    
    /*.midd_screen {top: 50%; transform: translate(-50%, -50%);}*/
    .regis{margin-top: 8em;}
    .bform, .model-content {width: 100%; border-radius:0px; border-left: none; border-right: none;}
    .peopl{justify-content: center;} 
}

@media screen and (max-width: 400px) {
    .btn_up_cov{ width: min-content; }
    /*.gallery{ margin: 0.2em;}*/
}