﻿:root {
	--main-color1: #0303b7; /* mc */
	/* --main-color1: #520000; mo */
	/* --main-color1: #19932c; mz */
}

html{
	font-size:16px;
}
@media (max-device-width:480px){
	html {
		font-size:16px;
	}
}
@font-face {
    font-family: myFirstFont;
    src: url(fonts/DroidKufi-Regular.ttf);
    font-weight:normal;
}
body {
	font-family: "myFirstFont", "Segoe UI" , "Arial", "Helvetica";
	padding: 0px;
	margin: 0px;
	font-size: inherit;
	background-color:#e9e9e9;
}
table{
	margin:0;
}
a{
	font-size:inherit;
	text-decoration: none;
	color:black;
}
input{
	font-size: inherit;
    width: 300px;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    font-size: inherit;
    border-style: groove;
}
input:focus{
    border-width: 3px;
    border-style: ridge;
    border-color: #0303b7;
}
inputEntry {
    width: 300px;
    border: 1px solid #ccc;
}
input.passwordEntry {
    width: 300px;
    border: 1px solid #ccc;
}
select{
    width: 300px;
    font-size:inherit;
    border-radius: 5px;
	font-size: inherit;
	border-style: groove;
}
select:focus{
    border-width: 5px;
    border-style: ridge;
    border-color: #3c64f7;
    padding: 5px 10px 5px 10px;
	border-color: #0303b7;
}
textarea{
	width: 300px;
    font-size: inherit;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
}
textarea:focus{
    border-width: 5px;
    border-style: ridge;
    border-color: #0303b7;
}
input[type="radio" i] {
	width:auto;
}
input[type="file" i] {
	width:auto;
}
table {
	margin: auto;
	border-spacing: 3px;
	font-size: inherit;
}
th {
	border-width: 2px;
	border-style: solid;
	border-color: #0000FF;
	background-color: #00FFFF;
	font-weight: bold;
	text-align: center;
}
tr {
	margin: 4px;
	padding: 7px;
}
h1{
	font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: var(--main-color1);
    padding: 5px;
    margin: 10px 0px 5px 0px;
    border-radius: 2px;
    overflow: hidden;
}
h2{
	font-size: 1.2em;
    font-weight: bold;
	color: #0303b7;
    padding: 5px;
    margin: 10px 0px 5px 0px;
    border-radius: 2px;
    line-height:1.3em;
    overflow:hidden;
    font-size: 16px;
}
h2 a{
	text-decoration:none;
}

h3{
	font-size: 1em;
    font-weight: bold;
    text-align: right;
	color: #0303b7;
    padding: 2px;
    margin: 5px 0px 3px 0px;
    border-radius: 3px;
	
}
h3 a{
	text-decoration:none;
}
.deletebutton {
	border-radius: 5px;
    margin: 2px 9px 2px 9px;
    background-color: #f8f8ff;
    color: #E91E63;
    font-weight: bold;
    width: auto;
    border-color: red;
}
.deletebutton:focus{
    border-width: 5px;
    border-style: ridge;
    border-color: #E91E63;
}
.remark {
	background-color: #ffffd9;
    padding: 10px;
    text-align: center;
    box-shadow: 1px 1px 2px 1px #e9e9e9;
}


.explaintext {
	font-size:  inherit;
}

.card {
	padding: 3px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
	border-radius: 5px; 
	margin:20px 0px;
	background-color: #ffffff;
}

.description{	
	background-color: white;
    /* box-shadow: 3px 3px 2px #9E9E9E; */
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 2px 0px black;
}

.col-1{
	display:inline-block ;
	width: calc( 100% - 25px );
 	vertical-align:top ;
	text-align: center ;
	margin: 0px;
	padding:10px 10px 10px 10px;
}
@media (max-device-width:480px){
	.col-1{
		width:100%;
		margin: 0px;
		padding:0px;
	}
}

.col-3{
	display:inline-block ;
	width:30%;
 	vertical-align:top ;
	text-align: center ;
	margin: 10px;	
	overflow: hidden;
}
@media (max-device-width:768px){
	.col-3{
		width:calc( 45% - 20px);
		min-width:calc( 45% - 20px);
		
	}
}
@media (max-device-width:480px){
	.col-3{
		width:calc( 100% - 20px);
	}
}

.panel_tab{
	padding: 20px;
    text-decoration: none;
	/*min-margin: 30px;*/	
	background-color: #ffffff;
	max-width:1090px;
	margin:auto;
	border-radius: 10px;
	box-shadow: 0 1px 6px rgba(32,33,36,0.28);
	border-bottom: 1px hidden #fff;
    border-left: 1px solid rgba(32,33,36,0.28);
    border-right: 1px solid rgba(32,33,36,0.28);
    border-top: 1px solid rgba(32,33,36,0.28);
}
@media (max-device-width:480px){
.panel_tab{
	margin:10px;
	padding: 0px;
}
}

.bannerbar{
	position: sticky; 
	top: 0px;  
	left:0px;
	width:100%; 
	height:80px; 	
	box-shadow: 0px 0px 4px #807d7d; 
	/*padding:5px;*/
	z-index:1000;
	background-color:white;
}
@media (max-device-width:480px){
	.bannerbar{
		
	}
}

.banner_icon{
	font-size:14px;
    /*display: inline-block;*/
    float: right;
    position: relative;
    color: white;
    /*font-size: 1em;*/
    font-weight: 900;
    padding: 10px 5px 10px 5px;
    vertical-align:top;
    background-color:var(--main-color1);
    /*border-radius: 0 0 5px 5px;*/
    border-right: 1px solid rgba(255,255,255,0.4);
     margin-bottom:3px;
}
.banner_icon a{
	color: white; 
	text-decoration:none ;
}
.banner_icon img{
	height :35px; 
	padding:0; 
	border-style: none;
	border-radius: 20px;
}

@media (max-device-width:480px){
	.banner_icon{
		width:150px;
		text-align:right;
	}
}

.q_typesearch{
	/*background-color: #ffffff;*/
    font-size: small;
    border-radius: 2px;
    margin: 0px 3px 0px 3px;
    padding:1px;
    color: #0303b7;
    box-shadow: 0 0 1px 0px #0303b7;
	text-align:right;
	padding-right: 5px;
	overflow: hidden;
    white-space: nowrap;
}
.frame-con{
	text-align:center;
}

.div_youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* The height of the item will now be 56% of the width. */
}

/* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */
.div_youtube iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}


.explaintext{
		
}
.explaintext a{
	 text-decoration:underline;
}

.imgcover{
	width: calc( 100% - 3px);
    object-fit: cover;
    height: 225px;
    object-position: top;
    margin-top: 2px;
    border-radius: 5px 5px 0px 0px;}
.isubject{
	 color:blue;
	 text-decoration:underline;
	 display:inline-block;
	 width:200px;
     vertical-align: top;
     box-shadow: 0 0 1px black;
     padding:2px 10px;
     margin:2px;
     overflow:hidden;
     white-space: nowrap;
}

.menutog{
	/* display:inline-block;*/
	 /* background-color:white;*/
}
@media (max-device-width:480px){
	.menutog{
	 display:none;
	 width:180px;
	 position:absolute;
	 top:55px;
	 left:10px;
	 padding:5px;

	}
}
.menu3bar{
	 display:none;
	 position:absolute;
	 top:5px;
	 left:10px;
	 padding:5px;
}
@media (max-device-width:480px){
	.menu3bar{
		 display:inline-block;
		 
		 width:auto;
	}
}

.header-widget {
    /*width: 165px;*/
    width:auto;
    height: auto;
    vertical-align: middle;
    /*margin: 0px 0px 0px 10px;*/
    margin: 0px 5px 0px 5px;
    padding:0px 10px 10px 10px;    
    float: right;
    position: relative;
    overflow: hidden;
    /*display:inline-block;*/
    border-left: 1px solid rgba(32,33,36,0.28);
    border-right: 1px solid rgba(32,33,36,0.28);
    border-bottom: 1px solid rgba(32,33,36,0.28);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
	border-radius: 0px 0px 10px 10px;
}

.posts-title {
    max-width: max-content;
    min-width: 140px;
    margin: 0 20px;
    display: block;
    border-radius: 8px 8px 0 0;
    padding-top: 5px;
    border-left: 1px solid rgba(32,33,36,0.28);
    border-right: 1px solid rgba(32,33,36,0.28);
    border-top: 1px solid rgba(32,33,36,0.28);
    position: relative;
    overflow: hidden;
    background: #fff;
	text-align:right;
}

.htap{
	
	padding: 5px;
    text-decoration: none;
	/*min-margin: 30px;*/	
	background-color: #ffffff;
	max-width:1090px;
	margin:auto; 
	margin-bottom: -7px;
	text-align : right; 
	background-color:#e9e9e9;
}
@media (max-device-width:480px){
.htap{
	margin-bottom: -17px;
}
}

.banner_icon_footer{
	font-size:14px;
    float: right;
    position: relative;
    color: white;
    font-weight: 900;
    padding: 10px 5px 10px 5px;
    vertical-align:top;
    background-color:var(--main-color1);
    border-radius: 0 0 5px 5px;
    border-right: 1px solid rgba(255,255,255,0.1);
    margin:2px;
}
.banner_icon_footer a{
	color: white; 
	text-decoration:none ;
}

.tagdiv{
	box-shadow: 0 0 1px 1px #b2b3b2;
    display: inline-block;
    margin: 5px;
    padding: 2px 10px;
    background-color: #f8f8ff;
    border-radius: 5px;
	
}

.taglabel {
    margin-top: -13px;
    /*font-family: tahoma;*/
    font-size: 12px;
    position: absolute;
    margin-right: 20px;
    margin-left: 20px;
    max-width: 250px;
    line-height: 1.9em;
}

.taglabel a {
    color: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
    padding: 5px 10px;
	background: var(--main-color1);
    border-radius: 3px;  
}

.ratiokeep{
	border-radius: 5px 5px 0 0;
    width: 100%;
    padding-bottom: 75%;
    position: relative;
}
.ratiokeep img{	
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
}

.ratiokeep h1{
	margin:0px; 
	font-size:.8em;
}
.ratio25{
    padding-bottom: 25%;
}
.ratio75{
    padding-bottom: 75%;
}
.ratio100{
    padding-bottom: 100%;
}
.ratio141{
    padding-bottom: 141%;
}
