@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

a:focus {
	outline: none !important;
}

body {
    background: transparent;
    background-image: url('../images/cloud_bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", Arial, serif !important;
}

h1, h2, h3, p {
    font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", Arial, serif !important;
}

.user-login-form{
    padding-top: 100px;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
}

.no-padding-main-content #section-header .container {
    /* height: 800px;
    background-image: url("/themes/enar_sub/assets/images/index_banner.jpg"); */
}

ul.menu{
  margin-left: 0px !important;
}

#section-header {
    background: transparent;
    border: none;
    height: 112px;
}
#section-header .section-inner {
    background-color: rgba(245, 245, 247, 0);
}
#section-header.affix .section-inner {
    background-color: rgba(245, 245, 247, 0.72);
    transition: all 0.5s cubic-bezier(0.2,1,0.2,1);
}

#section-header #block-sitebranding img {
    width: 350px;
    -webkit-transition: width .35s ease-in-out;
    transition: width .35s ease-in-out;
}

#section-header.affix #block-sitebranding img {
    width: 240px;
    -webkit-transition: width .35s ease-in-out;
    transition: width .35s ease-in-out;
}

/* Menu bar : Start */
.sticky-wrapper {
    position: absolute;
}

.sticky-wrapper .inv-sticky.affix-top {
    position: fixed !important;
    width: 100%;
}

#block-enar-sub-main-menu {
    margin-top: 55px;
    transition: all 0.5s cubic-bezier(0.2,1,0.2,1);
}
#section-header.affix #block-enar-sub-main-menu {
    margin-top: 32px;
    transition: all 0.5s cubic-bezier(0.2,1,0.2,1);
}
#block-enar-sub-main-menu>ul {
    text-align: right;
}

#block-enar-sub-main-menu>ul>li {
    vertical-align: top;
    text-align: center;
    display: inline-block;
}

#block-enar-sub-main-menu>ul>li:not(:first-child) {
    margin-left: 20px;
}

#block-enar-sub-main-menu>ul>li a:hover {
    background: #2B78EC;
}

#block-enar-sub-main-menu>ul>li a.menu_onlineshop:hover {
    background: #FD30B3;
}

#block-enar-sub-main-menu>ul>li>a {
    padding: 13px 30px;
    background: #1758BA;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #FFFFFF;

    /* Inside Auto Layout */
    flex: none;
    order: 0;
    align-self: center;
    margin: 10px 0px;
}
@media only screen and (max-width: 1200px) {
  #block-enar-sub-main-menu>ul>li>a {
      padding: 13px 20px;
  }
}

#block-enar-sub-main-menu>ul>li a.menu_onlineshop {
    background: #D20F8C;
}

#block-enar-sub-main-menu>ul>li.menu-item--active-trail>a,
#block-enar-sub-main-menu>ul>li>a.is-active {
    color: #1758BA;
    background: #FFFFFF;
}

#block-enar-sub-main-menu>ul>li>ul {
    display: none;
    position: absolute;
    margin-left: 0px;
    padding-top: 15px;
}

#block-enar-sub-main-menu>ul>li.menu-item--expanded:hover>ul {
    display: block;
}

#block-enar-sub-main-menu>ul>li ul li {
    padding: 0px;
}

#block-enar-sub-main-menu>ul>li.menu-item--expanded>ul li a {
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
    padding: 9px 17px;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
    color: #1758BA;
    display: block;
}

#block-enar-sub-main-menu>ul>li.menu-item--expanded>ul li a:hover {
    background: #1758BA;
    color: #fff;
}

#block-enar-sub-main-menu>ul>li.menu-item--expanded>ul li:first-child a {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block-enar-sub-main-menu>ul>li.menu-item--expanded>ul li:last-child a {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#block-enar-sub-main-menu>ul>li a.menu_facebook {
    margin-top: -6px;
}

#block-enar-sub-main-menu>ul>li a.menu_facebook {
    width: 41px;
    height: 41px;
    background-color: #3b5998;
    font-size: 0px;
    padding: 23.5px;
    background-image: url("/themes/enar_sub/assets/images/facebook.svg");
    background-position: center;
    background-size: 40px 40px;
}

#block-enar-sub-main-menu>ul>li a.menu_youtube {
    margin-top: -6px;
}

#block-enar-sub-main-menu>ul>li a.menu_youtube {
    width: 41px;
    height: 41px;
    background-color: #FF0000;
    font-size: 0px;
    padding: 23.5px;
    background-image: url("/themes/enar_sub/assets/images/youtube.svg");
    background-position: center;
    background-size: 40px 40px;
}

#block-enar-sub-main-menu>ul>li a.menu_hotline {
    width: 200px;
    height: 41px;
    background-color: #3b5998;
    font-size: 0px;
    padding: 23.5px;
    background-image: url("/themes/enar_sub/assets/images/call_cloud.svg");
    background-position: center;
    background-size: 40px 200px;
}

#block-enar-sub-main-menu>ul>li:nth-last-child(2) {
    margin-top: 0px;
}

#block-enar-sub-main-menu>ul>li:last-child {
    margin-top: -6px;
}

/* Menu bar : End */

/* Page banner */
.page_homepage_banner {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    min-height: 90vh;
}

.page_header_banner {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;
    min-height: 60vh !important;
    margin-bottom: 50px;
    max-height: 580px;
}

.page_header_banner p {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
    margin-top: 12%;
    text-align: left;
}

#section-main-content {
    padding-top: 0px;
    padding-bottom: 150px;
}

/* For T an C */
body.page-node-167 #section-main-content {
    padding-top: 180px;
}


.drp_tnc p,
.drp_tnc li {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    color: #0F4699;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.drp_tnc p strong {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    color: #0F4699;
}

/* Global */
h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    line-height: 72px;
    color: #D2108D;
    text-align: center;
}

h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 42px;
    line-height: 61px;
    color: #0F4699;
    text-align: center;
}

h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 42px;
    line-height: 61px;
    text-align: center;
    color: #D2108D;
    margin-bottom: 20px;
    margin-top: 40px;
}


.builder-row h3 img {
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: -2px;
}

.builder-row h3:before,
.builder-row h3:after {
    background-image: url("/themes/enar_sub/assets/images/title_dot_icon.svg");
    background-position-y: center;
    background-repeat: repeat-x;
    max-width: 300px;
    content: " ";
    display: inline-block;
    width: 300px;
    height: 60px;
    position: absolute;
    background-size: 9% 20%;
}

.builder-row h3:before {
    margin-left: -300px;
}

p {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #1758BA;
}

/* For cloud icon */
.drp_call_cloud {
    display: none;
    position: fixed;
    right: 0px;
    top: 70%;
    animation: fadeIn 1s;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    padding-left: 0px;
    padding-right: 0px;
}



/* For Product page */
.drp_product_video {
    background-image: url(/themes/enar_sub/assets/images/video_bg2.svg);
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    background-size: contain;
}
.drp_product_video p::after{
    content: " ";
    background-image: url(/themes/enar_sub/assets/images/video_graphic.png);
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 160px;
    height: 160px;
    background-size: 100%;
    position: absolute;
    margin-top: 360px;
    /* position: absolute;
    top: 930px;
    left: 1200px; */
}

.drp_product_video p {
    margin-bottom: 0px;
}

.drp_product_video iframe {
    border-radius: 10px;
    border: 5px solid #00a6a5;
}



/* Store list: start */
.drp_store .inv-container {
    padding-top: 160px;
    background-image: url(/sites/default/files/sub_banner_0.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}

.drp_store .form--inline .form-item {
    margin-right: 1.5em;
}

.drp_store .views-exposed-form {
    padding-top: 21vw;
}

.drp_store .view-header {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.drp_store .view-header img {
    float: left;
    padding-top: 50px;
}

.drp_store .views-table {
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.drp_store .views-table th {
    background: #0EAC9E;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    color: #FFFFFF;
    padding: 10px 10px;
    text-align: left;
    min-width: 90px;
}

.drp_store .views-table tr:nth-child(even) {
    background: #F2FAFF;
}

.drp_store .views-table tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.4);
}


.drp_store .views-table td {
    padding: 10px 10px;
    text-align: left;
    white-space: wrap;
}

.drp_store .views-table td {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 23px;
    color: #0F4699;
    /* white-space: nowrap; */
}

.drp_store .form--inline {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.content-width{
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  /*  padding: 0 !important; */
}

.content-width-75 img{
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.drp_store .form-item label {
    width: 25%;
    float: left;
    display: inline-block;
    white-space: wrap;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 40px;
    color: #0F4699;
}

.drp_store .form-item select {
    width: 70%;
  	margin-right: 5%;
    position: relative;
    float: right;
    display: inline-block;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
}

.drp_store .form--inline .form-item{
    width: 31%;
}

/* .drp_store .form-item:nth-child(2),
.drp_store .form-item:nth-child(3) {
    width: 18%;
}

.drp_store .form-item:nth-child(2) label,
.drp_store .form-item:nth-child(3) label {
    width: 45%;
}

.drp_store .form-item:nth-child(2) select,
.drp_store .form-item:nth-child(3) select {
    width: 45%;
}

.drp_store .form-item:nth-child(1),
.drp_store .form-item:nth-child(4),
.drp_store .form-item:nth-child(5) {
    width: 12.5%;
}

.drp_store .form-item:nth-child(1) label,
.drp_store .form-item:nth-child(4) label,
.drp_store .form-item:nth-child(5) label {
    width: 35%;
}

.drp_store .form-item:nth-child(1) select,
.drp_store .form-item:nth-child(4) select,
.drp_store .form-item:nth-child(5) select {
    width: 65%;
} */

.drp_store #edit-submit-store-list {
    background: #1758BA;
    border-radius: 4px;
    font-style: normal;
    font-weight: normal;
    font-size: 0px;
    line-height: 23px;
    color: #FFFFFF;
    padding: 9px 30px;
    border: none;
    min-width: 92px;
    margin-top: 15px;
}

.drp_store .form--inline .form-actions {
    clear: none;
}

.drp_store .drp_call_cloud {
    display: none;
}

.drp_store .view-filters {
    padding: 0px 20px;
}
.drp_store .view-content {
    padding: 30px 20px;
}

.view-footer {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    color: #1758BA;
    margin-top: 50px;
}
@media only screen and (max-width: 1200px) {
  .view-footer {
      padding-left: 20px;
      padding-right: 20px;
  }
}

/* Store list: End */

/* Footer */
#section-footer {
    /* background-color: #fff; */
    background: transparent;
    padding-top:0px;
    padding-bottom:0px;
    background-image: url('../images/footer_bg.svg');
    background-repeat: no-repeat;
    background-size:100%;
    background-position: top center;
    padding-top:130px;
}
@media only screen and (max-width: 1200px) {
  #section-footer{
    background-size:120%;
  }
}
@media only screen and (max-width: 1100px) {
  #section-footer{
    background-size:cover;
  }
}
#block-drpfooter {
  margin-bottom: 20px;
}
#section-footer:after {
    display: none;
}

#section-footer p,
#section-footer a {
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    margin-bottom: 0px;
  margin-top:10px;
}

#section-footer a {
    /*  background: url("/themes/enar_sub/assets/images/tnc_icon.svg");
    background-repeat: no-repeat;
    padding-left: 14px;
    background-position-y: center;*/
}

#section-footer p:hover,
#section-footer a:hover {
    /*  color: #2B78EC; */
}

#section-bottom {
    display: none !important;
}
@media only screen and (min-width: 991px) and (max-width: 1300px) {
    .drp_store .inv-container{
        background-size: auto 45vh;
    }
    .page_header_banner{
        min-height: 45vh;
    }
    .page_header_banner img,
    .drp_store .view-header img {
        height: 7vh;
        padding-top: 0px;
    }
    .page_header_banner img{
        top: 18vh;
        position: absolute;
    }
    .drp_store .view-header img{

    }
}

@media only screen and (min-width: 1400px){
  .page_header_banner{
  	background-size: cover;
    background-position: bottom;
    min-height: 65vh !important;
  }
  .page-node-171 .page_header_banner{
    min-height: 80vh !important;
  }
}

@media only screen and (min-width: 480px) and (max-width: 991px) {
    .drp_store .views-exposed-form {
        padding-top: 38vw;
    }
    .page_header_banner{
        min-height: 100vh;

    }
    .drp_store .view-header {
        width: 80vw;
    }
    .drp_store .inv-container{
        background-size: auto 45vh;
    }
    .page_header_banner{
        min-height: 45vh;
    }
    .page_header_banner img,
    .drp_store .view-header img {
        height: 6vh;
        padding-top: 0px;
    }

    .page_header_banner img{
        top: 160px;
        position: absolute;
    }
    .drp_store .view-header img{
        left: 0px;
        position: absolute;
    }


    .drp_store .form-item {
        width: 46% !important;
        margin-left: 10px;
        margin-right: 10px !important;
    }

    .drp_store .form-item label {
        width: 90px !important;
    }

    .drp_store .form-item select {
        width: calc(100% - 100px) !important;
        margin-right: 0px;
    }
  	.drp_store #edit-submit-store-list{
  		margin-left: 10px;
  	}
}

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

  .inv-animate.inv-animated iframe,
  .builder-row iframe{
    width: 100vw;
    max-width: 177.78vh;
    height: 56.25vw;
    max-height: 100vh;
    padding-left:20px;
    padding-right:20px;
  }
    .drp_call_cloud {
        display: none;
    }

    .drp_m_call_cloud {
        position: absolute;
        display: none;
        bottom: 0px;
        width: 100%;
        max-width: 240px;
        -webkit-transition: opacity 3s ease-in-out;
        -moz-transition: opacity 3s ease-in-out;
        -ms-transition: opacity 3s ease-in-out;
        -o-transition: opacity 3s ease-in-out;
        opacity: 1;
    }
    .drp_product_video iframe{
        width: 100%;
    }
    .drp_product_video p::after{
        display: none;
    }
}

@media only screen and (min-width: 480px) {

    .img_66 p,
    .img_66 p {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }

    .img_66 img {
        width: 67%;
        max-width: 600px;
    }

    .img_50 img {
        width: 50%;
        max-width: 450px;
    }

    .mobile {
        display: none !important;
    }

    #section-footer #block-drpfooter img{
        max-height: 30px;
    }

    #section-footer #block-footervinda img{
        max-width: 90px;
    }
}

@media only screen and (max-width: 480px) {
    /*.page-node-169 .page_header_banner.mobile{
        background-image: url(/themes/enar_sub/assets/images/mobile/subpage_banner_p01@2x.jpg) !important;
    }
    .page-node-168 .page_header_banner.mobile{
        background-image: url(/themes/enar_sub/assets/images/mobile/subpage_banner_p02@2x.jpg) !important;
    }
  */

  .inv-animate.inv-animated iframe,
  .builder-row iframe{
  	max-width:100%;
    padding-top:20px;
    padding-left:0px;
    padding-right:0px;
  }

  .content-width-75 img {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }


.drp_product_item img {
  /*  width: 45% */
}
    .page_header_banner img,
    .drp_store .view-header img {
        display: none;
    }

    .desktop {
        display: none !important;
    }

    h1 {
        font-size: 32px;
        line-height: 46px;
        margin: 0px;
    }

    h2 {
        font-weight: 500;
        font-size: 26px;
        line-height: 38px;
        margin: 0px;
    }

    h3 {
        font-size: 32px;
        line-height: 46px;
        padding: 0px 20px;
        margin-top: 10px;
    }

    h3:before,
    h3:after {
        background-size: 6% 14% !important;
        height: 46px !important;
    }

    p {
        font-size: 18px;
        line-height: 26px;
        padding: 0px 20px;
    }

    /* For menu */


    .successfully-saved.hide-opacity {
        opacity: 0;
    }

    .drp_facebook {
        background-color: #C3DEF0;
    }

    .drp_facebook a {
        width: 50px;
        height: 50px;
        border-radius: 30px;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
    }

    .drp_facebook a img {
        height: 24px;
    }

    /* For index page */
    .page_homepage_banner {
        background-image: url(/themes/enar_sub/assets/images/mobile/index_banner_m2x.jpg) !important;
        min-height: 110vh;
        background-position-y: top;
        background-size: cover;
    }

    .page-node-171 .page_header_banner {
        background-size: auto 100%;
        min-height: 650px !important;
        margin-bottom: 0px;
        background-position-y: bottom;
        background-size: 100vw;
    }

    /* For product page */
    .page_header_banner {
        background-size: auto 100%;
        min-height: 50vh !important;
        margin-bottom: 50px;
        background-position-y: top;

    }

    .page_header_banner p {
        text-align: center;
        margin-top: 20% !important;
    }

    .drp_product_video {
        background-size: 95% auto;
        padding: 30px 25px;
        margin-bottom: 0px;
    }

    .drp_product_video p {
        padding: 0px;
    }

    .drp_product_video iframe {
        width: 100%;
        height: calc(100vw * 0.5125);
    }


    /* For Store list */
    .drp_store .inv-container {
        background-image: url(/themes/enar_sub/assets/images/mobile/subpage_banner_storelist@2x.jpg);
        background-size: 100% auto;
        padding-top: 70px;
        background-position-y: top;
    }

    .drp_store .views-exposed-form {
        padding-top: 250px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .drp_store .form-item {
        width: 100% !important;
    }

    .drp_store .form-item label {
        width: 100% !important;
        float: none !important;
        font-size: 18px;
        line-height: 26px;
    }

    .drp_store .form-item select {
        width: 100% !important;
        float: none !important;
    }

    .drp_store .view-content {
        overflow: scroll;
        padding: 30px 20px;
    }

    .drp_store #edit-submit-store-list {
        width: 100%;
    }


    .drp_call_cloud {
        display: none;
    }

    #section-main-content {
        padding-top: 0px;
        padding-bottom: 100px;
    }

    #section-footer{
        padding-top: 150px;
        padding-bottom: 20px;
    }

    #section-footer p {
        padding: 0px;
    }

}
