
.defaultBtn{
     background-color: #65478D;
     border-radius: 0px;
}
.defaultLink {
	 color: #65478D;
   text-decoration: underline;
}
/*Modify for button*/
@media (max-width: 750px) {
	  /*Modify the position of BenQ cookie popup dialog*/
   .defaultBtn{
     width: 100%;
	 /*from css*/

	  /* font-family: inherit;
	  font-size: inherit;
	  line-height: inherit; */

   }
   .defaultLink {
	  width: 100%;
	  /*/*Modify by Sophia YH Hung 2018/6/19 remove padding */
	  /*padding: 25%;*/
   }

  	.modal-content {
  		height: 100%;
  	}
}
#cookie-agree-modal.modal-slide-up~ .fullscreen{
  display: block;
}
.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  opacity: 0.5;
  background: gray;
  z-index:30;
  display: none;
  /* Just to visualize the extent */

}
/*Modify the position of BenQ cookie popup dialog*/
 .modal-dialog-new {
  position: relative;
  pointer-events: none;
  background-color: #492582;
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (0.5rem * 2));
}
/*dialogue size*/
.modal-content-new {
  margin: 0rem;/**/
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #492582;
  background-clip: padding-box;
  border-radius: 0;
  outline: 0;
  max-width: 1200px;
  margin:auto;
}

.modal-body-new {
  width: 100%;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 30px 2rem;
}
/*Modify for button */
.modal-footer-new {
 /*for left align*/
 /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
   -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;*/
  width: 100%;
  padding: 0px 2rem 37px;

}

/* .modal-footer-new > :not(:first-child) {
  margin-left: .25rem;
} */

.modal-footer-new > :not(:last-child) {
  margin-right: 30px;
}
@media(max-width:750px){
 .modal-footer-new {
    text-align:center;/*Modify by Sophia YH Hung 2018/6/19*/
    padding: 0px 40px 45px 40px;

  }
  .modal-body-new {
     padding: 45px 40px 30px 40px;
  }
}

@media (min-width: 576px) {
  .modal-dialog-new {
    /* max-width: 500px; */
  }
  .modal-dialog-new-centered {
    min-height: calc(100% - (1.75rem * 2));
  }
  .modal-body-new {
   /* padding: 2rem;*/
  }
}
.p-new {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 17px;
  line-height: 24px;
}

.h5-new {
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 29px;
  color: inherit;
  font-size: 24px ;/*2rem*/
  font-family: "Poppins";
}
.body-new {
  opacity: 1;
  position: absolute;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 15px; /*1.5rem;*/
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  width:100%;
  z-index: 1000;
  
}
.btn-new {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  padding: 24px 30px; 
}
/*Modify for button 2018/4/25 */
.btn-secondary {
  color: #fff;
  /*border-color:#6c757d; remove the border color*/
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-secondary:focus, .btn-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-secondary.disabled, .btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #545b62;
  border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-new {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 16px;
  padding: 7px 26px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  color:#492582;
  background-color: #fff;
}

.cookiesettinglink {
  font-size: 14px;
  line-height: 20px;
  color:#fff;
}

.modal-slide-up {
  animation: modal-slide-up 1s forwards;
}


/**
 2018/06/22 by Leia
 main color: #492582
 
 2018/12/19 by Ann
  
**/
#cookie-setting-dialog {
    min-width:100%;
  }
#cookie-setting-dialog .cookie_settings_wrap{
  font-size:14px;
  width: 100%;
  padding: 0 10px;
  margin-top: 40px;
}
#cookie-setting-dialog a{
  color: #fff;
  text-decoration: underline;
}
#cookie-setting-dialog p{
  margin-bottom: 0;
}
#cookie-setting-dialog .h5-new{
  margin-top: 0;
}
#cookie-setting-dialog .cookie_row{
  overflow: hidden;
  margin-bottom: 40px;
}
#cookie-setting-dialog .cookie_row .left{
  float: left;
  width: 15.2%;
  margin-top: 5px;
}
#cookie-setting-dialog .cookie_row .right{
  float: right;
  width: 84.8%;
}
#cookie-setting-dialog .row01 .icon_checked{
  width: 23px;
  margin: 0 auto;
}
#cookie-setting-dialog .row01 .icon_checked::before{
  content: "\e96f";
  font-family: icomoon!important;
  color: #65478a;
  margin-right: 3px;
}
@media screen and (max-width: 1400px){
  #cookie-setting-dialog .cookie_row .right{
    width: 80%;
  }
  #cookie-setting-dialog .cookie_row .left{
    width: 20%;
  }
  #cookie-setting-dialog .onoffswitch_wrap{
    width: 100%;
  }
}
@media screen and (max-width: 750px){
  #cookie-setting-dialog .cookie_settings_wrap{
    padding-right: 24px;
    padding-left: 18px;
    margin-top: 20px;
  }
  #cookie-setting-dialog .cookie_row{
    margin-bottom: 20px;
  }
  #cookie-setting-dialog .cookie_row .left{
    width: 34%;
  }
  #cookie-setting-dialog .cookie_row .right{
    width: 66%;
  }
  #cookie-setting-dialog .modal-footer-new .defaultLink{
    display: block;
    margin-bottom: 6px;
  }
  #cookie-setting-dialog .modal-footer-new button{
    margin: 0 auto 22px auto;
  }
  #cookie-setting-dialog .modal-footer-new {
    text-align: center;
  }
}
@media (max-width: 600px){
  #cookie-setting-dialog {
      /* width: 280px;
      max-width:280px; */
    }
  #cookie-setting-dialog .cookie_settings_wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/*switch*/
#cookie-setting-dialog .onoffswitch_wrap{
  position: relative;
  width: 84%;
  margin: 0 auto;
}
#cookie-setting-dialog .onoffswitch {
  position: relative;
  display: inline-block;
  width: 50%;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select: none;
}
#cookie-setting-dialog .onoffswitch_wrap span{
  font-size: 18px;
  font-family: "Roboto";
  vertical-align: super;
  margin-left: 3px;
}
#cookie-setting-dialog .onoffswitch-checkbox {
  display: none;
}
#cookie-setting-dialog .onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  height: 24px;
  padding: 0;
  line-height: 24px;
  border: 2px solid #492582;
  border-radius: 0px;
  background-color: #DDDDDD;
  transition: background-color 0.3s ease-in;
  margin-bottom: 0px;
}
#cookie-setting-dialog .onoffswitch_wrap .off .onoffswitch-label,
#cookie-setting-dialog .onoffswitch_wrap .off .onoffswitch-label:before{
    border: 2px solid #DDDDDD;
}
#cookie-setting-dialog .onoffswitch-label:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0px;
  background: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 38px;
  border: 2px solid #492582;
  border-radius: 0px;
  transition: all 0.3s ease-in 0s;
}
#cookie-setting-dialog .onoffswitch-checkbox:checked + .onoffswitch-label {
  background-color: #492582;
}
#cookie-setting-dialog .onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
   border-color: #492582;
}
#cookie-setting-dialog .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  right: 0px;
}
/*tick icon*/
#cookie-setting-dialog .checkmark{
  width: 30px;
  margin: 0 auto;
}
#cookie-setting-dialog .checkmark::after{
  content: '';
  display: block;
  width:12px;
  height: 24px;
  border: solid #492582;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media screen and (max-width: 1024px){
  #cookie-setting-dialog .onoffswitch_wrap span{
    font-size: 12px;
    /* line-height: 14px;
    position: relative;
    top:-3px;
    padding-left: 4px; */
  }
  #cookie-setting-dialog .onoffswitch-label{
    height: 16px;
  }
  #cookie-setting-dialog .onoffswitch-label:before {
    width: 18px;
    height: 16px;
    right: 31px;
  }
  #cookie-setting-dialog .checkmark::after{
    width: 8px;
    height: 16px;
  }
}
/*arabic web*/
.ar-sa #cookie-setting-dialog{
    text-align: right;
}
.ar-sa #cookie-setting-dialog .cookie_row .left{
    float: right;
}
.ar-sa #cookie-setting-dialog .cookie_row .right {
    float: left;
}
.ar-sa #cookie-setting-dialog .onoffswitch_wrap span {
    margin-right: 3px;
}
.ar-sa .modal-footer-new{
 display: flow-root;
}
.ar-sa #cookie-setting-dialog .modal-footer-new button {
    float: right;
    margin: 0 0.25em;
}
.ar-sa #cookie-setting-dialog .modal-footer-new a {
    float: right;
    margin: 0 0.25em;
}

