/*
Theme Name: Seed Spring
Theme URI: https://spring.jabont.com/
Author: Jabont
Author URI: https://jabont.com
Description: Starter Theme
Version: 2.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spring
Tags: featured-images, custom-menu
*/

/*
===========================================

This theme use SCSS, please check

1. css/scss/_variables.scss - for some colors & styles.
2. css/scss/mobile.scss - will be compiled to css/mobile.css and used for mobile version.
3. css/scss/desktop.scss - will be compiled to css/desktop.css and used for desktop version.
4. If you set $GLOBALS['s_style_css'] in functions.php to 'enable', you can add CSS to this file to override all CSS.
    
=========================================== 
*/
/*Jayss Edit*/
:root{
	--colophon-bg:#000;
	--footbar-bg:var(--ci3);
}
@media (min-width: 992px){
	.cont,.cont-pd{
		max-width: 990px;
		padding-left: 30px; 
		padding-right: 30px;
	}
}
@media (min-width: 1170px){
	.cont,.cont-pd{
		max-width: 1170px;
		padding-left: 30px; 
		padding-right: 30px;
	}
}

@media (min-width: 992px){
	.site-header a:hover {
		color: var(--link-hover);
	}
}
.site-branding img {
	transition: max-height .2s;
}
img.emoji {
	font-size: 1em;
}
p{
	line-height: 1.7;
}
.p-mg{
	margin-bottom: 1rem;
}
div#content {
	background-color: var(--bg-color);
}
#footbar,body{
	background-color:  var(--footbar-bg);
}
#footbar{
	color: #fff;
}
.site-footer{
	background-color: #ffd13e/*var(--colophon-bg)*/;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content p,
.entry-content ol,
.entry-content ul{
	margin-bottom: 1rem;
}

.ffont .elementor-widget-heading .elementor-heading-title {
	font-family: var(--pmr-font);
}
.tfont{
	font-family: var(txt-font);
}
.site-nav-m{
	top: 65px !important;
}
.site-nav-m.active .menu>li {
	width: 100%;
}
.site-nav-m .menu>li:nth-child(1) {
	margin-top: .75em;
}
.network-menu-bar{
	border: 2px solid var(--ci3);
}
.network-box{
	box-shadow: 1px 1px 5px grey;
	border-radius: 10px;
}
.network-box-img{
	border-radius: 10px 10px 0px 0px;
}

/*ใช้ใน page-alumni-network.php กำหนด style ของปุ่มเลือกหัวข้อ*/
#block-group{
	background-color: #b60523;
	color: white;
}
#block-asso, #block-network{
	background-color: white;
	color: #b60523;
}

/*ใช้ใน site-home.php กำหนด style ของปุ่มกดในข่าวกับกิจกรรม*/
.fab{
	transition: 0.3s;
}
.fab:hover{
	color: var(--ci2);
}
.s-container{
	min-height: 100px !important;
}
/*-- Mobile Version --*/
@media (max-width: 768px) {
	header#masthead .s-container {
		min-height: 65px !important;
	}
}
.swpm-registration-submit-section{
	padding-bottom: 30px;
}
.cont-left{
	max-width: 1200px;
	min-width: 320px;
	display: block;
	position: relative;
	overflow: hidden;
	overflow: visible;
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
	left: 0;
	padding: 0;
}
.log-menu{
	color: var(--ci2);
	text-align: center;
}
.log-border{
	border-left: 1px solid var(--ci2);
	width: 1px;
	height: 30px;
}


.site-title a{
	color: #fff;
}

#menu-bar{
	font-family: var(--pmr-font);
	font-weight: bold;
}

.site-toggle b, .site-toggle b:after, .site-toggle b:before{
	background-color: #fff;
}

.site-toggle {
	right: 16px;
	left: unset;
}

/*-- Mobile Version --*/
@media (max-width: 991px) {
	.site-branding{
		width: 100%;
	}
	.site-title {
		font-size: 1rem;
	}
	.site-branding img {
		height: 40px;
		margin-right: 5px;
		margin-left: 8px;
	}
	#menu-bar{
		display: none;
	}
	.cont-left{
		display: none;
	}
}

.site-nav-m.active {
	background: #222;
}

/*login form*/
.swpm-remember-me{
	display: flex;
	flex-direction: row;
}
.swpm-remember-checkbox{
	padding-top: 4px;
	margin-right: 5px;
}
.swpm-forgot-pass-link{
	margin-bottom: 20px;
}
.swpm-join-us-link{
	margin-bottom: 20px;
	display: none;
}
.swpm-registration-membership-level-row{
	display: none;
}
.swpm-validate-form table{
	border-collapse: separate;
	border-spacing: 15px 20px;
}
.swpm-pw-reset-submit-button{
	margin-bottom: 40px;
}

/*Search Form on Menu Bar*/
.cont-search{
	display: flex;
	flex-direction: row;
	height: 40px;
}
.custom_search_form input{
	border-radius: 10px 0px 0px 10px;
	font-size: 17px;
	border: none;
	width: 350px;
	height: 100%;
}

.custom_search_form button {
	border-radius: 0px 10px 10px 0px;
	height: 100%;
	float: right;
	background: #ffabba;
	font-size: 17px;
	border: none;
	cursor: pointer;
	transition: 0.5s;
}

.custom_search_form button:hover {
	background: var(--ci2);
}
body{
	font-family: var(--pmr-font);
}
.site-footer, .site-info{
	position:static
}