﻿


/* For Mobile Site*/
@media all and (max-width: 767px)
{

.desktopPart
{
    display:none;
}
.mobilePart
{
    display:block;
}
    
    .headerPic {
        width: 100%;
        height:auto;

    }
    .journalBox {
        display: block;
    }
	div.addr-corner
	{
		margin: 25px;
		padding: 10px;
		min-height: 250px;
		background-position-x: -1000px;
		background-position-y: -1000px;
	}

	.container .main
	{
		padding: 0px;
	}

	body
	{
		margin: 0px;
		padding: 0px;
		font-size:14px;
		line-height:20px;
	}

	.slicknav_menu
	{
		display: block;
		z-index: 999;
		position: absolute;
		margin-left: 10px;
		/*margin-top: 117px;*/
	}


	.inner
	{
		/*background-color: #010A47;*/
		background-repeat: no-repeat;
		background-position: left top;
		height: 100%;
	}

		.inner .container
		{
			margin: 0px;
			padding: 0px;
			width: 100%;
			height: 100%;
			height:auto \9;
		}

	.wrapper .left
	{
		/*display: none;*/
	}

	.wrapper .right :before
	{
		clear: both;
	}

	.wrapper .right
	{
		clear: both;
	}




	.wrapper .right
	{
		border-left: 3px solid #2599ce;
		background: #FFF;
		border-right: 3px solid #2599ce;
		/*
		min-width: 300px\9;
		position: absolute\9;
		top: 10px \9;
		left: 10px \9;
		display: inline \9;
        */
	}

	.gss-logo
	{
		background-image: url(../images/gss-logo-mobile.png);
		background-repeat: no-repeat;
		background-position: center center;
		margin: 0px;
		padding: 10px;
		height: 90px;
		width: auto;
	}

	.gss-logo-corner
	{
		background-image: url(../images/blue-logo-bg2.png);
		background-repeat: repeat-x;
		background-position: center bottom;
		
		background: #d6e178;
        background: -moz-linear-gradient(to bottom, #186689 50%,#2599ce 100%);
        background: -webkit-linear-gradient(to bottom, #186689 50%,#2599ce 100%);
        background: linear-gradient(to bottom, #186689 50%,#2599ce 100%);
	}

    .gss-logo-mobile {
        background-image: url(../images/index-logo-m.png);
		background-repeat: no-repeat;
		background-position:5% 50%;
		margin: 0px;
		padding: 10px 10px 10px 100px;

		height: 90px;
		width: auto;
        text-align:center;
        vertical-align:text-bottom;
     
        font-weight:bold;

    }

        .gss-logo-mobile .commentBox {
            
            margin-bottom:auto;
        }
		
		  .gss-logo-mobile .commentBoxP {
            margin-top:auto;
            margin-bottom:auto;
        }

	.mobilemenu
	{
		display: block;
		/*! background-image: url(../images/left-menu-bg3-blue.png);*/
		background-repeat: repeat-y;
		background-position: center bottom;
	}


		.mobilemenu .language
		{
			position: absolute;
			padding-left: 70px;
			display: block;
		}

			.mobilemenu .language ul
			{
				margin: 0px 0px 0px 0px;
				padding: 0px;
				list-style-type: none;
				text-align: center;
			}

				.mobilemenu .language ul li
				{
					display: inline;
				}

					.mobilemenu .language ul li a
					{
						font-size: 16px;
						text-decoration: none;
						font-weight: bolder;
						padding: 10px;
						height: 50px;
						width: 50px;
						border: 1px ridge #FFF;
						text-align: center;
					}

						

	.blueberry
	{
		display: none;
	}


	.mobileout
	{
		display: none;
	}


	.news .item .cc, .news .item .images
	{
		display: block;
		vertical-align: top;
	}
	/*     post comments...............*/
	.query-form input,
	.query-form textarea
	{
		padding: 5px;
		margin: 5px 0;
		/*! background-color: #c6ddff; */
		background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px );

		font-family: "Verdana","微軟正黑體";
	}

	.query-form label
	{
		display: inline-block;
		width: 90%;
		text-align: left;
		float: left;
		vertical-align: middle;
		padding: 10px;
	}

	.news, #statistic
	{
		margin: 10px;
		padding: 5px;
		width: auto;
	}

	.contactus
	{
		margin: 5px 0;
		padding: 5px;
		width: auto;
	}

	.query-form .ddltype label
	{
		float: none;
		width: 80px;
	}

	div.correct2
	{
		
		margin-right: 10px;
		padding-right: 10px;
		text-align: right;
		width: 95%;
	}

		div.correct2 a
		{
			line-height: 20px;
			font-size: 16px;
			text-decoration: none;
		}

	.correct2 a:hover,
	.correct2 a:focus
	{
		color: #fff;
	}

	.wrapper .welcome, .content-txt
	{
		margin-left: 5px \9;
		width: auto \9;
		margin: 10px;
		padding: 5px;
		width: auto;
		border-radius: 6px;
	}

	.news h2, #statistic h2
	{
		transform: skew(-15deg);
	}

	.news .item.big .images
	{
		padding: 0px;
	}

	div.item1, div.item2
	{
		padding: 5px 5px 5px 20px;
	}



	.news .item .img
	{
		display: block;
		width: 100%;
	}

	.news .item
	{
		display: block;
	}

		.news .item .pic
		{
			width: 100%;
			height: auto;
		}

	.news h2, #statistic h2
	{
		font-size: 25px;
	}

	.name
	{
		display: block;
	}

	.desktopLink
	{
		display: block;
	}

	.mobileLink
	{
		display: none;
	}


	.txt-setting
	{
		
	}

	.clockimg
	{
		display: block;
		position: absolute;
	}

	.slicknav_nav a.yellow.clock, .slicknav_nav a.yellow.heart2
	{
		color: #ffd800;
	}


		.slicknav_nav a.yellow.clock:hover, .slicknav_nav a.yellow.heart2:hover
		{
			color: #ffd800;
		}

	.iframeclass
	{
		width: 100%;
	}

	.heartbanner
	{
		background-position: center center;
	}
	
	table.many{
		width:100%;
	}
	
	table.single td ,table.many td{
    font-size: 14px;
    line-height: 20px;
    padding: 5px;
	}
	
	.news .item1 .BigDiv table ul li {
    font-size: 16px;
    line-height: 20px;
}

	table.single{
		width:100%;
	}
	
	.meetingimg{
		
		width:100%;
	}
	
	.arrow2{
		
		margin:0px;
	}
}
/* End For Mobile Site */


@media all and (min-width: 320px) and (max-width: 385px) {
    .section-intro .book li.last {
    display: none;
    }

    .logo-area h1 {
        background-size: contain;
    }


    .logo-area.homepage h1 {
        background: url(Images/m/esfsm-logo-m.png) no-repeat 0px 168px;
        background-size: contain;
    }
    .Tbtender th
        {
         padding-left:0px;
         padding-right:0px;
         
        }
		
}


@media screen and (max-width: 40em) {
	/* #menu is the original menu */
	.js #navigation .zone-navigation{
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
}

/* For Mobile Site*/

@media all and (max-width: 767px) {

    #container {
        width: 100%;
        height: 100%;
    }
    /*language & search bar*/
    .lang-nav {
        background: url(Images/m/top-bar-bg.png) repeat-x top center #14283A;
        
        height: 52px;
        width: auto;
        padding:10px 0 0 0;
    }

    .lang a {
        height: 52px;
        width: 52px;
        float: right;
        padding: 0px;
        display: inline-block;
        margin: 0;
    }

    #lang-por a {
    background: url(Images/m/pt-bg.png) no-repeat;
    background-size: 52px 52px;
    text-indent: -9999px;
    }

    #lang-por a:hover {
        background: url(Images/m/pt-bg-h.png) no-repeat;
         background-size: 52px 52px;
    }

    #lang-chi a {
         background: url(Images/m/zh-bg.png) no-repeat;
         background-size: 52px 52px;
         text-indent: -9999px;
    }

    #lang-chi a:hover {
        background: url(Images/m/zh-bg-h.png) no-repeat;
         background-size: 52px 52px;
    }

    #lang-mail {
     
        float: left;
       
  
    }
    .lang-nav .search-form button[type="submit"] {
        display: none;
    }

    .lang-nav .search-form input[type=text] {
        background: url(Images/m/zoom-icon.png) no-repeat #030E10 right center;
        background-size: contain;
        border: 2px solid #036;
        box-shadow: 2px 2px 3px #000;
        height: 24px;
        border-radius: 30px;
        padding: 5px 15px 2px;
        width:40%;
        max-width: 205px;
        margin: 0 5px 0 40px;
        z-index: 1001;
        position: absolute;
        
    }

     

   
    .lang-nav fieldset {
    background: none;
    }

    #lang-mail .mail .widget-html-widget a{
        display: none;
    }


    #navigation {
      
        z-index: 1000;
        border-right: none;
      
    }
   


    #navigation .mlist:before {
      
    content: "\f0c9";
    font-family: FontAwesome;
    color: #81A9FF;
    font-size: 24px;
    height: 47px;
    display: block;
     position: absolute;
    
    top: -35px;
    left: 242px;
     -webkit-transition: left 0.3s ease, -webkit-box-shadow 0.3s ease 0.2s;
        transition: left 0.3s ease, box-shadow 0.3s ease 0.2s;
   
    
    }

    #navigation .mlist.active:before {
    color: #BFE4F0;
    left: 12px;
    }


   #navigation{
        left: -230px;
        top: 47px;
        width: 240px;
        position: absolute;
        
        -webkit-transition: left 0.3s ease, -webkit-box-shadow 0.3s ease 0.2s;
        transition: left 0.3s ease, box-shadow 0.3s ease 0.2s;
      
    }

    #navigation.actived {
        left: 0;
    }

.fixcol{
	min-width:50px;
	width:auto;
	max-width:95px;
	text-align:center;	
}
    #navigation ul li a, #navigation .indexBtn a {
        width: 210px;
        background-color: #1BB0CE;
        background-image: none;
        border-bottom: 1px solid #189EB9;
        border-top: 1px solid #4BBFE8;
          font-size: 20px;
          padding-left: 10px;
    }

    #navigation ul li a:after{
    
        content: "\f0da";
        font-family: FontAwesome;
        color: #FFF;
        font-size: 18px;
        height: 24px;
        margin-left: 7px;
       
    }
    #navigation .indexBtn a { 
    
   
    }

  #navigation .index a {
    background-image: none;
    background-color: #14283A;
    border-bottom: 1px solid #13668E;
    border-top: 1px solid #189EB9;
   
    }



    .slogan {
        display: none;
    }

    .logo-area {
        background: url(Images/m/innerpage-logo.png) right center no-repeat #FFF;
        background-size: auto 150px;
        height: 80px;
    }
    .logo-area h1 {
        background: url(Images/m/esfsm-logo-m-i.png) no-repeat center center;
        background-size:360px 59px;
        width: 100%;
        height: 80px;
        margin: 0;
    }
    

    .logo-area.homepage {
        position: absolute;
        z-index: 999;
        background: none;
        width: 100%;
        height: auto;
        margin: 0;
    }
    .logo-area.homepage h1 {
        background: url(Images/m/esfsm-logo-m.png) no-repeat 12px 168px;
        background-size: 316px 73px;
        width: 100%;
        height: 240px;
        margin: 0;
    }

  .content.commonArea img {
    width: 100%;
    height: auto;
    }
    .intro-section {
     
        float: none;
        height: auto;
        width: 100%;
        min-height: 100px;
        border-left: 0px solid #000102;
        border-right: 0px solid #000102;
        }

    .infor-section {
        float: none;
        height: auto;
        width: 100%;
        min-height: 100px;
        border-left: 0px solid #000102;
    
    }
    .slideshow {
   
    height: 65px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 0px solid #7CA4C9;
    background: url(Images/m/slide-layer.png) repeat-x;
    }

    

    .slideshow .widget-slider {
     display: none;
    }


    .slideshow_container {
        width: 100%;
        height: 265px;
    }
    .slider {
        width: 100%;
    }
    .slider img {
        width: 100%;
       
    }

    .section-intro .home {
       
    }


    /*inner page*/

    .section-intro .news .title {
        height: auto;
    }
    #content {
        background-image: none;
    }
    .content-section {
    width: 100%;
  
    float: none;
    height: auto;
    border-left: 0px solid #000102;
    }

    .content-section .structure {
    margin-left: 0;
    }


    .structure img {
        width: 100%;
        height: auto;
    }

    .structure img.close {
        width: 16px;
        height: 16px;
    }

   #structure , #structure area{
        display: none;
    }

    .s_Intro {
        width: 85%;
    }

    .imglist, .numList li img {
        width: 280px;
        display: block;
        float: none;
        margin: 10px 0;
    }

    ol.numList, ol.alphaList {
    margin: 0;
    padding: 0;
    }

    .topSubNav {
    background: url(Images/section-location.png) repeat-x bottom #10333F;
    }

    /*publication*/

    .content-section .location .content .journal li {
    width: 125px;
    margin: 5px 15px;
    font-size:18px;
    }

    /*service commit*/
    .quickNav {
    display: block;
    float: none;
    height: auto;
    width: 100%;
    }


    /*table*/
/* Force table to not be like tables anymore */
		table, thead, tbody { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		tr { border: 1px solid #ccc; }
		
		td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
            width: auto;
		}
		
		td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}

    table tbody td:first-child {
  
    color: #036;
    }

       .Tbtender th
        {
         padding-left:0px;
         padding-right:0px;
         
        }
    .rd30 label
    {
    width:auto;}

		.rd30  label,	.rd30  input
        {
            vertical-align:middle;
           display:inline-block;
           float:none;
        }
    label.autoW 
    {
    width:auto;}
    .rd30
    {
    width:auto;}
}


@media all and (max-width: 900px)
{
    .query-form > label,
    .query-form .colorBox > label
    {
        width:100%;
        padding:0px;
        margin-top:10px;
    }   
    
    .query-form input[type=checkbox]+label,
    .query-form input[type=radio]+label
    {
        margin-top:0px;
    } 
    
    .query-form > input[type=text],
    .query-form > input[type=number],
    .query-form > textarea,
    .query-form > table.rd30,
    .query-form .colorBox > input[type=text],
    .query-form .colorBox > input[type=number],
    .query-form .colorBox > textarea,
    .query-form .colorBox > table.rd30
    {
        width:100%;
        width:97% \9;
        padding:10px 1% \9;
    } 
    
    .query-form > .input-field,
    .query-form .colorBox > .input-field,
    .reserve-result .input-field
    {
        width:100%;
        width:97% \9;
    }
    
    .query-form table.rd30 tr
    {
        border: none;
    }
    
    .query-form .no-linebreaking > *:first-child
    {
        width:auto;
        display:inline-block;
    } 
    .query-form .no-linebreaking > *:nth-child(2)
    {
        width:auto;
        display:inline-block;
    }
    
    form 
    {
        padding-top: 0;
        padding-bottom: 0; 
        margin-top: 0;
        margin-bottom: 0; 
    }
    
    .reserve-result
    {
        padding:10px;   
    }
}

@media all and (max-width: 900px) and (-ms-high-contrast: none) /* IE10,11 */
{
    .query-form > input[type=text],
    .query-form > input[type=number],
    .query-form > textarea,
    .query-form > table.rd30,
    .query-form .colorBox > input[type=text],
    .query-form .colorBox > input[type=number],
    .query-form .colorBox > textarea,
    .query-form .colorBox > table.rd30
    {
        width:100%;
        padding:10px;
    } 
    
    .query-form > .input-field,
    .query-form .colorBox > .input-field,
    .reserve-result .input-field
    {
        width:100%;
    }
    
}

@media all and (max-width: 380px)
{
    .mobilemenu .txt-setting .btn-home
    {
        display: none;  
    }
    
    .container
    {
        min-width: 300px;   
    }
}