/*
    Document   : general
    Created on : 2014年6月22日
    Author     : marcus
    Description:
        Purpose of the stylesheet follows.
*/

@charset "utf-8";
/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.webroot.css
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

* {
    margin:0;
    padding:0;
}

*:focus {
    outline: 0;
}

/** General Style Info **/
body, input {
    /*background: #003d4c;*/
    color: #767676;
    font-family:helvetica, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑",'lucida grande',verdana,arial,sans-serif;
    font-size:90%;
    margin: 0;
}
a {
    color: #FC0080;
    text-decoration: none;
}
a:hover {
    color:#2F8CCC;
    text-decoration:none;
}
a img {
    border:none;
}
h1, h2, h3, h4 {
    font-weight: normal;
    /*margin-bottom:0.5em;*/
}
h1 {
    /*background:#fff;*/
    /*color: #003d4c;*/
    font-size: 100%;
}
h2 {
    /*background:#fff;*/
    /*color: #e32;*/
    font-family:'Gill Sans','lucida grande', helvetica, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", arial, sans-serif;
    font-size: 190%;
}
h3 {
    /*color: #2c6877;*/
    font-family:'Gill Sans','lucida grande', helvetica, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", arial, sans-serif;
    font-size: 165%;
}
h4 {
    /*color: #993;*/
    font-weight: normal;
}
ul, li {
    /*	margin: 0 12px;*/
}
p {
    margin: 0 0 0 0;
}

.message {
    display:none;
    clear: both;
    color: #fff;
    font-size: 140%;
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: 5px;
    position:fixed;
    top:10px;
    right:10px;
    z-index:100;
}

.success,
.message,
.cake-error,
.cake-debug,
.notice,
p.error,
.error-message {
    background: #ffcc00;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
    background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
    background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
    background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
    background-image: linear-gradient(top, #ffcc00, #E6B800);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 18px;
    padding: 7px 14px;
    color: #404040;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.success,
.message,
.cake-error,
p.error,
.error-message {
    clear: both;
    color: #fff;
    background: #c43c35;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(top, #ee5f5b, #c43c35);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.success, #goodMessage {
    clear: both;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: #3B8230;
    background-repeat: repeat-x;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
    background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
    background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
    background-image: linear-gradient(top, #76BF6B, #3B8230);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
/** Layout **/
html, body{
    height:100%;
}

body{
}

#container {
    text-align: left;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin-bottom:-200px;
}

#header{
    padding:5px 10px;
}

#header_bg{
	 /* IE10 */
	background-image: -ms-linear-gradient(left, #C14150 0%, #E93A85 100%);
	/* Mozilla Firefox */
	background-image: -moz-linear-gradient(left, #C14150 0%, #E93A85 100%);
	/* Opera */
	background-image: -o-linear-gradient(left, #C14150 0%, #E93A85 100%);
	/* Webkit (Safari/Chrome 10) */
	background-image: -webkit-gradient(linear, left, right, color-stop(0, #C14150), color-stop(1, #E93A85));
	/* Webkit (Chrome 11+) */
	background-image: -webkit-linear-gradient(left, #C14150 0%, #E93A85 100%);
	/* Proposed W3C Markup */
	background-image: linear-gradient(left,#C14150 0%, #E93A85 100%);
        background-size: 100% 14px;
        background-repeat: no-repeat;
        height:14px;
}


#header_bg2{
	background-color: #B3B3B3;
        background-size: 100% 5px;
        background-repeat: no-repeat;
        height:5px;
}

#header h1 {
    line-height:20px;
    padding: 0px 30px;
}
#header h1 a {
    font-weight: normal;
    text-decoration: none;
}
#header h1 a:hover {
    text-decoration: underline;
}

.portal #header-wrapper{
    position:relative;
    padding-bottom: 8px;
}

#header-logo{
    padding:30px 0;
    margin:0 auto;
    width:60%;
}

#header-logo a{
    display:block;
    width:130px;
    height:130px;  
    margin:0 auto;
}

#header-logo a img{
    height:130px;
}

#header-toolbar{
    overflow: auto;
    z-index:100;
}

#header-left-toolbar{
    float:left;
}

#header-left-toolbar, #header-right-toolbar{
    width:4em;
}

#header-toolbar img{
    height:50px;
}

#header-right-toolbar{
    height:100%;
    float:right;
    text-align: right;
}

#toolbar_menu{
    text-align: left;
    position: absolute;
    right:0;
}

#header-center-toolbar{
    height:100%;
    text-align:center;
    /*margin:0 auto;*/
    margin: 0 4em;
}

#header-right-toolbar>div{
    display:inline-block;
    height:100%;
    padding:0px 4px;
}

#header-right-toolbar .gray-btn {
    height: 24px;
    font-size: 14px;
    padding: 2px 7px;
}

#lang-selection ul{
    list-style-type: none;
}

#body{
    /*margin:5px 20px;*/
    font-size:150%;
    background-color: #ffffff;
}

#body .wrapper{
    padding:0;
    margin:0 auto;
    width:100%;
}

.page_nav{
    overflow: auto;
}
.page_nav li::before{
    content: ">>";
}
.page_nav li{
    list-style-type: none;
    float:left;
    font-size:80%;
}

#footer{
    background-color: #ccc;
    text-align:center;
    height:200px;
}

#footer, .push{
    padding:5px 10px;
    height:200px;
}

.wrapper{
    width:85%;
    min-width:520px;
    max-width:800px;
    margin:0 auto;
    position:relative;
}

.desc_title{
    font-size:100%;
}

.desc_content{
    font-size:85%;
    padding:5px;
}

.icon-pdf-small{
    background: url(../img/tad/pdf.png) center center no-repeat;
    background-size: 35px 35px;
    width:35px;
    height:35px;
    display:inline-block;
}

.icon-pdf-large{
    background: url(../img/tad/pdf.png) center center no-repeat;
    width:35px;
    height:35px;
    display:inline-block;
}

.film_res, .film{
   text-align:center;
}

.film{
    margin:0 auto;
}

.film_title{
    font-size:110%;
    overflow:auto;
    max-height:2.2em;
    padding:0px 10px;
}

.film_desc_head{
    border-bottom:1px solid #ccc;
}

.film_res a.icon-pdf-small{
    width:35px;
    height:35px;
    background-position: center center;
}

.desc_content{
    max-height:12.5em;
    padding:0px 10px;
    overflow:auto;
}

.film .iframe_aspect_ratio{
    position:relative;
    width:100%;
    height:0;
    padding-bottom:60%;
}

.film iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}


#login_box{
    text-align:center;
}

#login_box h3, #login_box h4{
    padding:5%;
}

#login_box h4{
    padding-bottom: 2%;
}

#login_box h3{
    font-size:150%;
}

#login_box .graphic{
    background-repeat: no-repeat;
    background-position: center center; 
    height:409px;
}

#login_box .graphic a{
    display: block;
    width:100%;
    height:100%;
}

#login_form{
    border:1px solid #777;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin:40px auto;
    padding:50px;
    width:70%;
}
#login_form div.input{
    margin:15px;
    font-size: 90%;
}

#login_form input[type=submit]{
    background-color: #C14150;
    background-image: -ms-linear-gradient(left, #C14150 0%, #E93A85 100%);
    background-image: -moz-linear-gradient(left, #C14150 0%, #E93A85 100%);
    background-image: -o-linear-gradient(left, #C14150 0%, #E93A85 100%);
    background-image: -webkit-gradient(linear, left, right, color-stop(0, #C14150), color-stop(1, #E93A85));
    background-image: -webkit-linear-gradient(left, #C14150 0%, #E93A85 100%);
    background-image: linear-gradient(left,#C14150 0%, #E93A85 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: 2px solid #C14150;
    padding: 0.1em 1.5em;
    color: #fff;
    font-size: 1em;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

#login_form input[type=submit]:hover{
    background-image: none;
}

#login_form input[type=text],  #login_form input[type=password]{
    width: 65%;
    display: inline-block;
    padding:0.2em;
}
#login_form label {
    width: 30%;
    min-width: 120px;
    display: inline-block;
    white-space: nowrap;
}

.graphic_forbidden{
    background-image:url(tad/forbidden.jpg);
}

.graphic_scan{
    background-image:url(tad/scan.jpg);
}

@media screen and (max-width:1024px) and (max-height:768px) and (orientation:landscape) {
    .film iframe{
        width: 100%;
        height: 100%;     
        position: absolute;
        top:0;
        left:0;
        background-color: #000;
    }
    
    .film .iframe_aspect_ratio{
        position: initial;
    }
    
    .film_date, .film_res, .film_title, #footer, #header, .twig_film_desc, .push{
        display:none;
    }
}

.footer_products a{ display: inline-block; padding:35px 3%; }

.share_and_subscribe{padding:30px; border-top:1px solid #ccc; width:75%; margin:0 auto;}
.share_and_subscribe a{ display: inline-block; padding: 0 8%; }

#container.scan_code {margin-bottom:-200px}

@media screen and (orientation:portrait){
    #footer, .push{
        height:200px;
    }
    
    #container{
        margin-bottom:-30px;
    }
    
    .wrapper{
        width:100%;
        max-width:100%;
    }
    
}