.main_slide .container {
  margin-top: 40px;
  position: inherit !important;
}
.main_slide .container .row {
  margin: 0;
  position: relative;
  width: 100%;
}
.main_slide .container .row > img {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.main_slide .container .row .page_nav {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
}
.main_slide .container .row .page_nav a {
  display: inline-block;
  width: 26px;
  height: 26px;
  cursor: pointer;
  margin-right: 16px;
  border: none;
}
.main_slide .container .row .page_nav .page_nav_home {
  background-image:url(https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/home_icon.png);
  background-size:100% 100%;
}
.main_slide .container .row .page_nav .page_nav_left {
  background-image:url(https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/left_icon.png);
  background-size:100% 100%;
}
.main_slide .container .row .page_nav .page_nav_right {
  background-image:url(https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/right_icon.png);
  background-size:100% 100%;
}
.main_slide .container .row .page_nav a:hover {
 
}
.main_slide .container .row .page_nav a img {
  width: 26px;
  vertical-align: middle;
  height: auto;
}
/*
.main_slide .container .row .page_nav img {
  width: 24px;
  height: auto;
}
*/
.main_slide .container .row .page_nav span {
    font-size: 18px;
    font-weight: 600;
    margin-left: 10px;
}
.main_slide .container .row .main_nav {
  position: absolute;
  top: 46%;
  left: 10%;
  transform: translate(0, 0);
    cursor: pointer;
}
.main_slide .container .row .main_nav img {
  max-height: 40px;
  cursor: pointer;
}
.main_slide .container .row .main_nav span {
 
}
 
/*** animation class */
.main_slide .container .row .main_nav_animated {
  animation: mymove 1s infinite;
  -webkit-animation: mymove 1s infinite;
}
 
.main_slide .container .row .main_nav:hover {
  animation: mymove 1s infinite;
  -webkit-animation: mymove 1s infinite;
}
@keyframes mymove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 5px);
  }
}
.main_slide .container .row .main_nav.no_home {
    animation: mymove 1s infinite;
    -webkit-animation: mymove 1s infinite;
}
.config .container .row .main_nav.no_home {
    animation: none !important;
    -webkit-animation: none;
}
.config .row > .btn_save {
    position: absolute;
    right: 56px;
    top: 14px;
    background: #465466;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    color: #fff;
}
.config .row .main_nav img {
    cursor: grab;
}
.config .row .main_nav:hover {
    animation: none !important;
    -webkit-animation: none;
}
.config .row .main_nav>span {
      display:block !important;
    position: absolute;
    top: 133%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    cursor: pointer;
}
.ui-widget-overlay {
    opacity: 0.5 !important;
    background: #000 !important;
    z-index:10000;
}
.main_slide #dialog-modal,.main_slide #dialog-modal-delete,.main_slide #dialog-modal-show {
    display:none;
}
.ui-dialog {
    box-shadow: 0 8px 16px;
    border-radius: 10px !important;
    background-color: #fff;
    position: relative;
    padding: 10px 0 20px 0 !important;
    outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
    border: none !important;
    border-bottom: solid 1px #ccc !important;
      background-color:#fff !important;
      padding: 8px 20px;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title{
      font-size:18px;
}
.ui-dialog .ui-dialog-titlebar-close {
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    outline: 0;
}
#dialog-modal-show p {
    width: 100%;
}
#dialog-modal-show p iframe {
    width: 100%;
    height: 450px;
}
.ui-dialog .ui-dialog-buttonpane {
    border:none !important;
    background-color:#fff !important;
}
#dialog-modal input {
    font-size: 16px;
    width: 100%;
}
#dialog-modal select {
    font-size: 16px;
    margin: 2px 10px 0 0px;
    padding: 4px;
    width: 150px;
}
#dialog-modal .modal_url_choice {
 
}
#dialog-modal .modal_input {
     width:230px;
}
#dialog-modal input:focus {
   outline:none;
}
#dialog-modal {
   margin-top: 10px;
   padding: 15px;
 
}
#dialog-modal>div>label {
   display:block;
}
#dialog-modal div:nth-child(2) {
   margin-top:15px;
   margin-bottom:15px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
   float:none;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button {
   width: 100%;
   background: #ed4236;
   font-size: 16px;
   padding: 8px 0;
   border-radius: 5px;
   color: #fff;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button:focus {
   border:none;
   outline:none;
}
#dialog-modal-delete >p {
   margin:1em 0;
}
.quickedit-field.field--name-field-settings.field--type-string-long.field--label-above {
   display:none;
}
.ui-icon{
    left: 50%;
    transform: translate(-50%);
}
.ui-style{
    width: 100%;
}
.text-ui-style{
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.text-ui-style li{
    position: relative;
    display: inline-block;
    width: 17%;
    height: 55px;
}
.text-ui-style li img{
    max-width: 100%;
}
.style-input{
    position: absolute;
    left: -9px;
    top: -5px;
}
.text-ui-style .iradio_square-red{
    position: absolute;
    left: -9px;
    top: -24px;
        background-color: white;
    border-radius: 50%;
}
 
.jitter .iradio_square-red{
    float:none;
    margin-left: 98px;
    margin-right: 10px;
}
#msg {
    color: white;
    width: auto;
    max-width: 112px;
    /* height: 30px; */
    line-height: 30px;
    position: relative;
    border-radius: 5px;
    text-align: center;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    padding: 10px 10px;
    background-color:white;
}
.msgtext{
    display: block;
    /* white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden; */
    max-width: 112px;
        line-height: 20px !important;
}
#msg:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translate(-50%);
    transform: rotate(45deg) translate(-50%);
    width: 10px;
    height: 10px;
    background: white;
}
 
@media (max-width:772px){
    #msg{
        /* height:20px;
        max-width: 40px; */
 
    }
    .msgtext{
        line-height:16px !important;
    }
    #msg:before{
        /* top:18px; */
    }
    #msg:after{
        /* top:17px; */
    }
 
}
 
#msg.blue{
    background-color:#21a5dc;
    }
#msg.blue:after {
    background: #21a5dc ;
    }
#msg.orange{
    background-color:#e5531a;
    }
#msg.orange:after {
    background: #e5531a;
    }
 
#msg.bhight{
    background-color:#17428c;
    }
#msg.bhight:after {
    background: #17428c ;
    }
 
#msg.bbk{
    background-color:#21a5dc ;
    box-shadow: -4px 4px #008eba;
}
#msg.bbk:after {
    background: #21a5dc ;
    box-shadow: 1px 4px #008eba;
}
 
#msg.obk{
    background-color: #e5531a;
    box-shadow: -4px 4px #bf3104;
}
#msg.obk:after {
    background: #e5531a ;
    box-shadow: 1px 4px #bf3104;
}
 
#msg.bhbk{
    background-color: #17428c ;
    box-shadow: -4px 4px #0b3470;
}
#msg.bhbk:after {
    background: #17428c ;
    box-shadow: 1px 4px #0b3470;
}
 
#msg.red{
    background-color: rgb(206,20,49);
}
#msg.red:after {
    background: rgb(206,20,49);
}
 
#msg.rbk{
    background-color: rgb(206,20,49);
    box-shadow: -4px 4px #aa0727;
}
#msg.rbk:after {
    background: rgb(206,20,49) ;
    box-shadow: 1px 4px #aa0727;
}
 
#msg.green{
    background-color: rgb(103,185,176) ;
}
#msg.green:after {
    background:  rgb(103,185,176);
}
 
 
#msg.gbk{
    background-color: rgb(103,185,176) ;
    box-shadow: -4px 4px #20a58e;
}
#msg.gbk:after {
    background: rgb(103,185,176) ;
    box-shadow: 1px 4px #20a58e;
}
 
.FullScreen,#quanpin,#exitquanpin,.ExitScreen{
    position: absolute;
    right: 18px;
    top: 18px;
    width: 18px;
}
.ExitScreen,#exitquanpin{
    display:none;
}
.row-esc {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%);
    width: 20%;
    height: 42px;
    background-color: rgba(0,0,0,.6);
    color: white;
    text-align: center;
    border-radius: 7px;
    line-height: 42px;
    font-size: 17px;
    opacity:0;
    transition: all 1s cubic-bezier(.87,.37,0,.82);
}
#img_blue{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/blue.svg")
}
#img_orange{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/orange.svg")
}
#img_bhight{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/bhight.svg")
}
#img_bbk{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/bbk.svg")
}
 
#img_obk{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/obk.svg")
}
 
#img_bhbk{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/bhbk.svg")
}
#img_red{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/red.svg")
}
#img_rbk{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/rbk.svg")
}
#img_green{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/green.svg")
}
#img_gbk{
background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/gbk.svg")
}
 
#img_blue,#img_orange,#img_bhight,#img_bbk,#img_obk,#img_bhbk,#quanpin,#exitquanpin,#img_red,#img_rbk,#img_green,#img_gbk{
    background-repeat: no-repeat;
}
#quanpin{
     background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/quanpin.png")
}
#exitquanpin{
    background-image:url("https://www.saint-gobain.com.cn/modules/custom/sgb_guide/assets/images/exitquanpin.png")
}
 
 
 
.main_slide .row .phone-body-box{
    display: none;
  }
  .phone-body-box{
    height: 100%;
    width: 100vw;
    display: none;
    z-index: 8000;
    position: fixed;
    left: 0;
    top: 0;
  }
  .phone-body-box-all{
    height: 100vh;
    width: 100vw;
    display: block;
    z-index: 8000;
    position: fixed;
    left: 0;
    top: 0;
  }
  @media(min-width:772px){
    .phone-body-box-all{
      display: none!important;
    }
  }
  @media screen and (orientation: landscape) and (max-width: 772px) {
    .phone-body-box-all{
      display: none!important;
    }
  }
  .phone-body {
    background: black;
    height: 100%;
    width: 100vw;
    z-index: 800;
  }
 
  .phone-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
 
  .phone {
    height: 50px;
    width: 90px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
    /* display: none; */
  }
 
  .message {
    color: white;
    font-size: 1em;
    margin-top: 40px;
    /* display: none; */
  }
 
  @keyframes rotate {
    0% {
      transform: rotate(0deg)
    }
    50% {
      transform: rotate(-90deg)
    }
    100% {
      transform: rotate(-90deg)
    }
  }
 
  @media only screen and (max-device-width: 812px) and (orientation: landscape) {
    .phone, .message {
      display: block;
    }
  }
  @media screen and (orientation: landscape) {
 .main_slide .wrapper .phone-body-box{
    display: none!important;
  }
  }
  @media screen and (orientation: portrait) and (max-width: 772px) {
    .main_slide .wrapper .phone-body-box{
      display: block!important;
    }
  }
  .dialog-modal-show-box{
    display: flex;
    align-items: center;
    
  }
  #dialog-modal-show .img-box{
    width: 40%;
  }
  #dialog-modal-show .img-box img{
    width:100% ;
  }
  #dialog-modal-show .desc{
    width: 60%;
  }
  #dialog-modal-show .desc p{
    overflow-y: auto;
    padding: 25px;
    width: 100%;
    max-height: 400px;
  }
  @media (max-width:992px) {
    .ui-dialog{
      width: 90%!important;
      margin: auto;
    }
  } 
  