/*
Theme Name: Schule
Theme URI: http://cmsmasters.net/schule/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Schule WordPress Theme is amazing. Unlimited design solutions can be created due to a great flexibility of settings and shortcode options. 99+ Custom Shortcodes are added through a Visual content composer with drag'n'drop function. You can set a completely custom layout that stretches to any width, set your content in many columns and assign animation many parts of your content. Schule theme has a Portfolio that can be set to any sort of a grid or a Masonry puzzle with variable paddings for elemens, while Blog can have several different layouts too. Custom Profiles and Projects post types offer an optimal way to present your content, while valid code, SEO-optimized structure and microformats guarantee this content is easily crawled and indexed by search engines. Schule comes with a Custom Mega Menu plugin, premium Revolution and Layer Slider plugins included for free. Multilanguage, RTL-ready, plugin-compatible and professionally-supported theme.
Version: 1.2.6
License:
License URI:
Text Domain: schule
Domain Path: /theme-vars/languages
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/


/*-------------------------------------------------------------------------*/
/* Browser Reset
/*-------------------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: none;
}
html {
  height: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
object,
video,
audio,
embed,
canvas,
iframe,
main,
summary {
  display: block;
}
video,
audio,
progress,
canvas {
  vertical-align: baseline;
}
video {
  background-color: #000000;
}
template,
[hidden],
audio:not([controls]) {
  display: none;
}
audio:not([controls]) {
  height: 0;
}
iframe {
  max-width: 100%;
}
abbr,
address,
progress {
  display: inline-block;
  text-decoration: none;
}
abbr:not([class]),
acronym {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
#middle ul:after,
#bottom ul:after,
#middle ol:after,
#bottom ol:after {
  content: '.';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  overflow: hidden;
}
dl {
  display: block;
  overflow: hidden;
}
dt {
  display: block;
  font-weight: bold;
  overflow: hidden;
}
dd {
  display: block;
  overflow: hidden;
}
q:before,
q:after {
  content: none;
}
del {
  text-decoration: line-through;
}
.pls-container,
.pls-container table,
.cmsmasters_table,
.tribe-mini-calendar,
.tribe-events-calendar,
.shop_table,
.group_table,
.variations,
.shop_attributes {
  border-collapse: collapse;
  border-spacing: 0;
  vertical-align: middle;
}
img {
  display: inline-block;
  color: transparent;
  height: auto;
  font-size: 0;
  vertical-align: middle;
  max-width: 100%;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
  -ms-interpolation-mode: bicubic;
}
img.wp-smiley,
img.emoji {
  font-size: 1em;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
img {
  border: 0;
}
figure {
  background-image: none !important;
}
fieldset {
  margin: 25px 2px 30px;
  padding: 1.5em 1em .5em;
  border-width: 0;
  border-style: solid;
}
fieldset legend {
  padding: 3px 10px;
  margin-top: -25px;
}
input {
  line-height: normal;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
textarea {
  resize: vertical;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
optgroup {
  font-weight: bold;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}
input[type=search] {
  -webkit-appearance: textfield;
}
input[type=submit],
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
select {
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
  pointer-events: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input[type=text]::-ms-clear {
  display: none;
}
p:empty {
  display: none;
}
:focus {
  outline: 0;
}
pre,
code,
kbd,
samp {
  background-color: transparent;
  color: inherit;
  font-family: monospace;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: 1px;
}
pre {
  white-space: pre-wrap;
}
pre a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
code {
  display: inline-block;
}
code a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
svg:not(:root) {
  overflow: hidden;
}
code,
kbd,
pre,
samp {
  font-family: monospace;
  font-size: 1em;
}
sub,
sup,
small {
  font-size: 75%;
}
sub,
sup {
  line-height: 0;
  position: relative;
}
sup {
  vertical-align: super;
}
sub {
  vertical-align: sub;
}
b,
strong {
  font-weight: bold;
}
th,
td,
caption {
  font-weight: normal;
}
dfn {
  font-style: italic;
}
hr {
  height: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
mark {
  color: #000000;
}
.sticky,
.bypostauthor,
.screen-reader-text {
  outline: none;
}

/* <span class="button_lang current_lang">EN</span>
<span class="button_lang">Thai</span> */


/* start authentication style */
.header_top_donation_but_wrap {
	display: flex;
	align-items: center;
	gap: 16px;
}

.header_top_user_dropdown {
    position: relative;
    display: inline-block;
    color: rgba(247,247,247,0.75);
}

.header_top_user_dropdown .avatar-toggle, .header_top_user_dropdown > div{
	height: 100%;
	display: flex;
	align-items: center;
  gap: 8px;
}

.header_top_user_dropdown .avatar-toggle > img {
	border-radius: 50%;
	width: 30px;
	height: 30px;
	object-fit: cover;
} 

.header_top_user_dropdown .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background: #2E3C4B;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 999;
}


.header_top_user_dropdown .dropdown-menu li::before,
.header_top_user_dropdown .dropdown-menu li::marker {
    content: none !important;
    display: none !important;
}

.header_top_user_dropdown .dropdown-menu li {
    margin: 0;
    padding: 0;
	list-style: none;

}

.header_top_user_dropdown .dropdown-menu li a {
    display: flex;
    gap: 8px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
	  padding: 8px 8px;
    align-items: center;
}

.header_top_user_dropdown .dropdown-menu li a > img{
  	/* border-radius: 50%; */
	  width: 20px;
	  height: 13.75px;
  	object-fit: cover;
}

.header_top_user_dropdown .dropdown-menu li a:hover {
    color: #ffffff;
/* 	font-weight: bold; */
}

.header_top_user_dropdown:hover .dropdown-menu {
/*     display: block; */
}

.header_top_user_dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header_top_user_dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cmsmasters_header_search_form.cmsmasters_show {
	background-color: rgba(0, 0, 0, 0.6) !important;
}

.header_top_donation_but_wrap .cart-link {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    text-decoration: none;
    color: inherit;
}

.header_top_donation_but_wrap .cart-icon {
    font-size: 20px;
}

.header_top_donation_but_wrap .cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
    line-height: 1;
}

.header_top_donation_but_wrap::after {
	display: none !important;
}

.header_top_donation_but_wrap .header_top_donation_but {
  padding: 0 12px 0 0 !important;
  font-size: 20px;
}
/* end authentication style */


/* start caf post style */
.manage-layout1 {
    position: relative;
}

.manage-layout1 .post-tags-wrap {
	position: absolute;
	width: 100%;
	height: 200px;
}

.manage-layout1 .post-tags {
    position: absolute;
    bottom: 10px;
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    z-index: 2;
    box-sizing: border-box;
	max-width: 80%;
}


.manage-layout1 .post-tags .tag {
    color: #fff;
    font-size: 14px;
}

.caf-post-title h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* end caf post style */

/* start caf pagination style */
.caf-pagination > li:before {
	background-color: unset;
	margin: 0;
}
/* end caf pagination style */

/* start custom caf post style */
.caf-meta-content .comment {
	display: none;
}

.caf-meta-content .date {
	width: 100%;
	max-width: unset;
	flex: unset;
}

.caf-post-layout1 a.caf-read-more {
	background-color: #ffffff !important;
	color: #5E0000 !important;
	padding: 0!important;
	font-size: 16px !important;
}

.caf-post-layout1 a.caf-read-more:hover {
	color: #5E0000 !important;
	font-weight: bold;
}

body .manage-layout1 .caf-content-read-more {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.manage-layout1 > a {
	display: block;
	max-height: 200px;
	overflow: hidden;
}

.caf-featured-img-box {
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease; 
}

.caf-post-layout1:hover .caf-featured-img-box {
    transform: scale(1.1);
}

/* end custom caf post style */


/* post style */
.cmsmasters_open_post .cmsmasters_post_cont_info.entry-meta {
	background-color: unset !important;
}

.cmsmasters_open_post .cmsmasters_post_author a span.fn {
	color: #969696;
}

.fullwidth .cmsmasters_post_default.format-image.has-post-thumbnail .cmsmasters_block_wrap, .fullwidth .cmsmasters_post_default.format-standard.has-post-thumbnail .cmsmasters_block_wrap {
  padding-top: 0 !important;
}
/* end post style */

/* bottom style */
.bottom_inner > aside {
	margin-top: 0 !important;
  width: auto !important;
  max-width: 22.4%;
} 
/* end bottom style */

/* faculty member */
body.faculty-member-page .headline .headline_inner {
  display: none !important;
}
/* end faculty member */

/* my blog style */
.cmsmasters_post_content.entry-content p {
    display: -webkit-box;        /* ใช้ Webkit box model */
    -webkit-line-clamp: 3;       /* จำกัดจำนวนบรรทัดที่จะแสดง (3 บรรทัด) */
    -webkit-box-orient: vertical; /* แนวนอนตั้ง */
    overflow: hidden;            /* ซ่อนเนื้อหาที่เกิน */
    text-overflow: ellipsis;     /* แสดง ... เมื่อข้อความยาวเกิน */
}
/* end my blog style */

/* Menu (Responsive) */
.header_mid .header_mid_inner .logo_wrap {
  width: 200px !important;
}

.header_mid_inner .logo img.logo_retina {
  width: auto !important;
}

@media only screen and (max-width: 768px) {
  #header .header_mid .header_mid_inner {
    padding: 0 !important;
    /* height: 96px !important; */
  }

  #header .header_mid .logo_wrap .logo img {
    position: static;
    width: auto !important;
    height: auto !important;
  }

  #header .header_mid .logo_wrap .logo img.logo_retina {
    max-width: 50px;
  }

  #header .header_mid .logo_wrap {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 81px !important;

  }


  #header .header_mid .resp_mid_nav_wrap {
    display: block !important;
    float: right !important;
  }

  .header_mid .header_mid_inner > div, .header_bot .header_bot_inner > div, .header_mid .header_mid_inner .cmsmasters_header_cart_link { 

  }

  #header .header_mid .logo_wrap {
    float: left !important;
    margin: 0 15px !important;
  }

  .header_mid .resp_mid_nav_wrap {
    height: 81px !important;
    margin: 0 15px !important;
  }

  .header_mid .resp_mid_nav_wrap .resp_mid_nav {
    top: 33.33%;
  }
}
/* end Menu (Responsive) */


/* rev slide */
.slide-rev-title {
/*   display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis; */
}

/* sr7-grp[id$="-15"],
sr7-grp[id$="-10"],
sr7-grp[id$="-49"],
sr7-grp[id$="-50"], */
.rev-custom-container sr7-grp {
    max-width: 980px !important;
	width: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
	padding: 0 20px !important;
}

@media only screen and (min-width: 1440px) {
/* 	sr7-grp[id$="-15"],
	sr7-grp[id$="-10"],
	sr7-grp[id$="-49"],
	sr7-grp[id$="-50"], */
	.rev-custom-container sr7-grp {
    	max-width: 1200px !important;
	}
}
/* end rev slide */


/* research group in research */
/* research group in research */
.research-group-wrapper {
    margin-top: 40px;
}

.research-group-title {
    margin-bottom: 16px;
}

.research-group-members {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.research-member {
    display: flex;
    align-items: center;
    gap: 14px;
}

.research-member-avatar {
    width: 100px;
    height: auto;
    object-fit: cover;
}

.research-member-name > a {
    font-size: 22px;
    font-weight: 500;
}

/* end research group */

/* footer */
.sidebar_layout_14141414 aside:first-child {
	margin: unset;
	margin-right: auto;
}

.sidebar_layout_14141414 aside:last-child {
	margin: unset;
	margin-left: auto;
}

@media only screen and (max-width: 1024px) {
	.sidebar_layout_14141414 aside {
		margin-right: auto;
		margin-left: unset;
		margin: unset;
	}
	
	.sidebar_layout_14141414 aside {
		max-width: 100% !important;
	}
	
	
	.sidebar_layout_14141414 aside .widgettitle, .sidebar_layout_14141414 aside .textwidget{
		text-align: center;
	}
}
/* end footer */
