.relative__{position: relative;z-index: 1;}
.clear__:after{content:'';display:block !important;float:none;clear:both;}

.desktop__ , .desktop_tablet__{display: block !important;}
.desktop__inline_block , .desktop_tablet__inline_block{display: inline-block !important;}
.desktop__table , .desktop_tablet__table{display: table !important;}
.tablet__ , .mobile__ , .tablet_mobile__ {display: none !important;}
.tablet__inline_block , .mobile__inline_block , .tablet_mobile__inline_block{display: none !important;}
.tablet__table , .mobile__table , .tablet_mobile__table{display: none !important;}


/* mobile menu**/
.menu_mobile{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    background: #ad8f13;
    z-index: 999;
    box-sizing: border-box;
    padding: 70px 0px 0px;
    display: none;
}
.menu_mobile div {
    position: relative;
}


.menu_mobile a {
    display: block;
    color: white;
    height: 55px;
    text-align: center;
    font-size: 1.5em;
    line-height: 2.5;
}

.menu_mobile a.active {
    color: #784e28;
}

*.before , *.after{
    position: relative;
}
*.before:before  , *.after:after ,
*.before_inline:before  , *.after_inline:after
{
    content:'';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
}

*.before_inline:before  , *.after_inline:after{
    display: inline-block;
    position: static;
}

.mobile_header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #681017;
    z-index: 9;
    box-sizing: border-box;
    padding-top: 95px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom:20px;
    display: none;
}
.mobile_header .mobile_header_content{
    width: calc(100% + 40px);
    margin-left: -20px;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}


@media all  and (max-width: 1220px){
    .padding__{padding-left: 20px !important;padding-right: 20px !important;box-sizing: border-box;}
    .desktop__ , .desktop__inline_block , .desktop__table{display: none !important;}
    .tablet__  ,  .tablet_mobile__{display: block !important;}
    .tablet__table , .tablet_mobile__table{display:table !important;}
    .tablet__inline_block, .tablet__inline_block,.tablet_mobile__inline_block{display: inline-block !important;}
    .container{
        width:768px;
    }
}

@media all and (max-width: 767px){
    .desktop_tablet__ , .desktop_tablet__inline_block , .tablet__ , .tablet__inline_block  ,.desktop_tablet__table , .tablet__table{display: none !important;}
    .mobile__ {display: block !important;}
    .mobile__inline_block{display: inline-block !important;}
    .mobile__table{display:table !important;}
    .container{
        width:100%;
    }
}

.simulation_select_box{
    width:100%;
    position:relative;
    cursor:pointer;
}


.simulation_select{
    width: 100%;
    box-sizing: border-box;
    padding: 5px 40px 5px 19px;
    position: relative;
    font-size: 14px;
    color: #373737;
    letter-spacing: 0.4px;
    height:35px;
    background-color:white;
    border:2px solid transparent;
}
.simulation_select.error{
      border:2px solid rgb(162, 36, 46);
}
.simulation_select:after{
    content: '';
    display: block;
    width: 20px;
    height: 13px;
    position: absolute;
    right: 18px;
    top: 9px;
    background-image: url(../img/11/pulldown-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.simulation_select_box.show .simulation_select:after{
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -ms-transform:rotate(180deg);
    transform:rotate(180deg);
}

.simulation_select__list{
    border-top:1px solid rgb(197,197,197);
    position:absolute;
    width:100%;
    left:0;
    top:34px;
    z-index:1;
    background-color:#f7f7f7;
    max-height:254px;
    overflow-x:hidden;
    overflow-y:scroll;
    display:none;
}
.simulation_select_box.show .simulation_select__list{
    display:block;
}

.simulation_select__list a{
    display: block;
    padding: 9px 20px;
    height: 34px;
    box-sizing: border-box;
    color: #373737;
    letter-spacing: 0.34px;
    font-size:14px;
}

.simulation_select__list a.active , 
.simulation_select__list a:hover{
    background-color:#a2242e;
    color:white;
}


/**模拟 radio***/
/**
 *
 *<div class="simulation_radio select">
            網上 
   <input type="radio" name="learing_mode" value="1">
   </div>
 * 
 */
.simulation_radio{
    font-size: 16px;
    padding-left: 30px;
    position: relative;
    letter-spacing: 0.3px;
    display: inline-block;
}

.simulation_radio:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: #e8e8e8;
    position: absolute;
    left: 1px;
    top: 4px;
    border-radius: 50%;
}

.simulation_radio:after {
    content: '';
    display: none;
    width: 10px;
    height: 10px;
    background-color: #dc6724;
    position: absolute;
    left: 4px;
    top: 7px;
    border-radius: 50%;
}

.simulation_radio.select:after {
    display: block;
}

.simulation_radio input
{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    left: 0;
    top: 0;
}
