/**!
 * Samraworld ELC 2022
 * @file IndexPagePanels.css
 * @desc  This CSS is for the main index.php page to format the initial display content.
 * @version v3 2022-01-14 - added this header info.
 * @version v5 2025-07-13 - tweaked to get the home page in the desired state.
 * @author Charles A. Samra <charles@samraworld.net>
 * @see {@link teachers.samraworld.net }
 */
/************************************************************************************************************************************/	

.sw_postersize_LG {
	display: inherit;
}

.sw_postersize_SM {
	display: none;
}

.sw_container {
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: #f1f2f0 !important;
	min-height: calc(78vh - 70px);
}

.divider {
	background-color: inherit;	
	width: 100%;
	height: auto;
	overflow: auto;
	color: white;
}

.theme_div {
	text-align: center !important;
	margin-top: 5px;	
}

h3 {
	margin-left: 10px;	
}

img.nice {
    max-width: 100%;
    max-height: 100%;
}

img.nice2 {
	float: none !important;
	width: 50%;
	height: auto;	
}

.img-container {
	float: left;
	width: 100%;
    text-align: center;
    display: block;
}

.lesson_links {
	margin: 5px; 
	padding-bottom: 3px;
	font-size: medium;
}

.visible_1 {
	display: block;
}

.visible_2 {
	display: none;
}

/* *******************ANNOUNCEMENT PANELS******************* */

/* holds a panel list */


.welcome_panel {
	margin-left: 20px;
	margin-right: 20px;
	background-color: #069439;
	color: white;
	padding: 10px;
	text-align: center;
}

h5 {
	font-size: medium !important;	
}

.profile_panel {
	margin-top: 30px;
	margin-bottom: 30px;
	vertical-align: middle;
}

.tablepanel {
	float: left;
	display: block;
}

.tablediv_full {
	float: left;
    border: 1px solid #eb7c7c;
    display:inline-block;   
   	background-color: #ebeeee;
   	overflow-y: auto;
   	font-size: medium;
   	margin-top: 5px;
   	margin-left: 5px;
   	margin-right: 5px;
}

.tablediv_full table {
	margin: 0 auto;
}

table.mini_main {
	text-align: left;
	background-color: #0e6630;
	color: #ffffff;
	vertical-align: top;
	width: 100%;
}

table.mini_panel {
	table-layout: auto;
	width: 100%;
	padding-left: 100px;
	color: black;
    word-wrap: break-word; 
/*    word-break: break-all;*/
	margin: 0 auto;
}

tr.th_mini_col {
	background-color: #0e6630;
	color: #ffffff;
	vertical-align: top;
	width: 100%;
	font-size: small;	
	padding: 5px;
}

td.mini_col {
	font-weight: normal;
	padding: 5px;
	text-align: left;
	font-size: medium;
}

td.adm_mini_col {
	font-weight: normal;
	padding-right: 25px;
	padding-left: 25px;
	text-align: center;
	font-size: medium;
}

p {
	white-space: pre-line;
}

/* The global p { white-space: pre-line } above preserves source-HTML
   newlines, which is what the home page welcome blurbs need. But it
   leaks into the footer, where the multi-line markup of the welcome
   <p> creates visible leading/trailing whitespace. Force footer
   paragraphs back to normal whitespace handling. */
.site-footer p {
	white-space: normal;
}

.sysdown_panel {
	vertical-align:middle;
	text-align:center;
	height:600px;
	border: 5px solid blue;
	background-image: -webkit-linear-gradient(rgba(0,0,0,0.49) 0%, #ffffff 100%), url('../images/img-0770-1c-864x863.jpg');
    background-repeat: no-repeat;
/*	background-position: center center;*/
	background-position: center top;
	background-size:cover;
	color: silver;
}

/* RESPONSIVE TABLET */

@media screen and (max-width: 900px) {
    
#loginpanel {
	display: none;
}

.lesson_links {
	font-size: small;
}

h3 {
	font-size: medium;	
}

img.nice2 {
	width: 400px;
	height: auto;	
}

.announcementpanel {
	float: left; 
	vertical-align: top;

	padding-bottom: 10px;
	word-break: break-word;
}

.announcement_background {
    width: 40%;
    padding-right: 10px;
	margin-right: 5px;
	margin-top: 10px;
	margin-left: 10px;
}

.announcement_background2 {
    padding-right: 0;
	margin-top: 50px;
	margin-left: 0;
	margin-right: 0;
	width: 350px;
}

.profile_background {
    width: 40%;
    padding-right: 10px;
	margin-right: 5px;
	margin-top: 10px;
	margin-left: 10px;
}

.profile_background2 {
    padding-right: 0;
	margin-right: 0;
	margin-top: 70px;
	margin-left: 0;
	width: 350px;
}

.profile_panel {
	vertical-align: top;
	width: 100%;
	padding-bottom: 0;
	word-break: break-word;
	margin-right: 0;
	margin-left: 0;
	margin-top: 10px;
	margin-bottom: 0;
}

/* holds a panel list */
.nextstepspanel {
	float: left; 
	vertical-align: top;
    width: 40%;
	padding-bottom: 10px;
	word-break: break-word;

}

.nextsteps_background {
    width: 40%;
    padding-right: 10px;
	margin-right: 5px;
	margin-top: 10px;
	margin-left: 10px;
}

.nextsteps_background2 {
    padding-right: 0;
	margin-right: 0;
	margin-top: 100px;
	margin-bottom: 0;
	margin-left: 0;
	width: 350px;
}

}

/* RESPONSIVE PHONE */

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

.visible_1 {
	display: none;
}

.visible_2 {
	display: block;
}

.sw_postersize_LG {
	display: none;
}

.sw_postersize_SM {
	display: inherit;
}

.lesson_links {
	font-size: small;
}

#wordrevolve {
	display: none;
}

#loginpanel {
	display: none;
}

#mini_hdr_pubcur { display: none; }

#mini_hdr_course { display: none; }

#mini_hdr_flashdrills { display: none; }
#mini_flashdrills { display: none; }

  table, thead, tbody, th, td, tr {
    /*display: block;*/
  }
  thead tr {
    display: none;
  }

  td {
    border: none;
    border-bottom: 3px solid #eee;
    position: relative;
    padding-left: 2px !important;
    margin-left: 150px;
   	text-align: left !important;
   	background-color: #f3f3f3;
  }
  td:before {
    position: absolute;
    top: 5px;
    left: 16px;
    width: 200px;
    padding-right: 40px;
    white-space: nowrap;
    margin-left: -150px;
    font-weight: bold; 
  }

  td:nth-of-type(1):lang(EN):before { content: "Start Date"; }
  td:nth-of-type(2):lang(EN):before { content: "Course Name"; }
  td:nth-of-type(3):lang(EN):before { content: "Teacher Name"; }
  td:nth-of-type(4):lang(EN):before { content: "Appropriate For"; }
  td:nth-of-type(5):lang(EN):before { content: "Theme"; }
  td:nth-of-type(6):lang(EN):before { content: "Sessions";}
  td:nth-of-type(7):lang(EN):before { content: "Total Cost";}

  td:nth-of-type(1):lang(JP):before { content: "開始日"; }
  td:nth-of-type(2):lang(JP):before { content: "コース名"; }
  td:nth-of-type(3):lang(JP):before { content: "先生の名前"; }
  td:nth-of-type(4):lang(JP):before { content: "にふさわしい"; }
  td:nth-of-type(5):lang(JP):before { content: "一般的なテーマ"; }
  td:nth-of-type(6):lang(JP):before { content: "セッション";}
  td:nth-of-type(7):lang(JP):before { content: "総費用";}

.th_mini_col {
	display: none;
}

.tablediv_full {
	display: block;
	overflow: hidden;
	margin-left: 10px;
	margin-right: 10px;
}

.pocketpanel {
    margin:0;
    width:90%;
    margin-top: 2px;
}

.welcome_div {
	margin: 2%;
	padding: 1%;
}

.welcome_panel {
	margin-left: 2px;
	margin-right: 2px;
	padding: 5px;
}

.container-fluid {
	margin-bottom: 10px;
	margin-top: 10px;
}

.announcementpanel {
	float: left; 
	vertical-align: top;
    width: 100%;
	padding-bottom: 10px;
	margin-right: 0;
	margin-left: 0;
	margin-top: 0;
	font-size: medium;
}

.announcement_background {
    width: 100%;
    padding-right: 10px;
	margin-top: 10px;
	margin-left: 0;
	margin-right: 0;
}

.profile_background {
    width: 100%;
    padding-right: 0;
	margin-right: 0;
	margin-left: 0;
	margin-top: 10px;
	height: auto;
}

.profile_panel {
	vertical-align: top;
    width: 100%;
	padding-bottom: 0;
	padding-top: 0;
	margin-right: 0;
	margin-left: 0;
	font-size: medium;
}

/* holds a panel list */
.nextstepspanel {
	float: left; 
	vertical-align: top;
    width: 100%;
	padding-bottom: 10px;
	margin-right: 2px;
	margin-left: 2px;
	font-size: medium;
}

.nextsteps_background {
    width: 100%;
    padding-right: 0;
	margin-right: 0;
	margin-top: 10px;
	margin-left: 0;
}

.pnice {
	margin-right: 4px;
	margin-left: 4px;
}

img.nice2 {
	width: 300px;
	height: auto;	
	align-content: center;
	text-align: center;
}

#profile_line {
	display: block;
}

#nextstep_line{
	display: block;
}

.font-weight-light {
	font-weight: bold !important;	
}

h1 {
	font-size: x-large !important;
}

h5 {
	font-size: small !important;	
}

h3 {
	font-size: medium !important;	
}
}