/*
section {
    max-width: 1440px;
}
*/

#mg_slides {
    position: relative;
    height: 500px;

    z-index: -1;
}

.slider {
    text-align: center;
    height: 500px;
    padding-top: 180px;
    text-align: center;

    height: 100%;
    position: absolute;
    width: 100%;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    -webkit-appearance: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.slider h1 {
    color: #fff;
    font-family: "Ubuntu-Medium";
    /*font-size: 32px;*/
    line-height: 1.3em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.divisions section {
    max-width: 1440px;
}

.divisions {
    font-family: "Ubuntu-Light";
    font-size: 14px;
    text-align: center;
    padding: 40px 0;
    border-bottom: 6px solid #e0e0e0;
}

.divisions a {
    text-decoration: none;
    color: #000;
}

.divisions p {
    color: #656565;
    max-width: 220px;
    margin: 0 auto;
	line-height: 1.4em;
}

.divisions .rborder,
.divisions .rborder2,
.divisions .rborder3 {
    border-right:1px solid #e0e0e0;
}

.divisions h2 {
    font-size: 15px;
}

.solutions {
    padding: 45px 0 20px 0;
	background-color: #fff;
    /*background: -webkit-linear-gradient(#f9f9f9, #fff);
    background: -o-linear-gradient(#f9f9f9, #fff);
    background: -moz-linear-gradient(#f9f9f9, #fff);
    background: linear-gradient(#f9f9f9, #fff);*/
}

.centertext {
    text-align: center;
}

.solutions .solbox {
    width: 1020px;
}

.solutions .fx6 {
    width: 135px;
    height: 380px;
    padding: 0 15px;
    float: left;
}

.solutions .fx6 p {
    font-family: "Ubuntu";
    font-size: 12px;
    text-align: left;
	line-height:1.4em;
}

.companies {
    padding: 45px 0;
    border-bottom: 1px solid #e0e0e0;

    background-color: #f9f9f9;
    /*background: -webkit-linear-gradient(#f9f9f9, #fff);
    background: -o-linear-gradient(#f9f9f9, #fff);
    background: -moz-linear-gradient(#f9f9f9, #fff);
    background: linear-gradient(#f9f9f9, #fff);*/
}

.companies img {
    padding: 40px;
}

.certificates img {
    padding: 10px 30px;
}

.certificates {
    border-bottom: 1px solid #e0e0e0;
    border-top: 6px solid #e0e0e0;
    padding: 45px 0;
}


.customers {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 45px 0;
    background-color: #f9f9f9;
}

.customers .sort {
    margin: 20px 0;
}

.customers .centertext a {
    font-size: 12px;
    color: #656565;
    font-family: 'Ubuntu-Light';
    padding: 0 10px;
    text-decoration:none;
}

.customers .sort a:hover, .customers .sort a.active {
    color: #00aeef;
    text-decoration:none;
}


.centertext {
    text-align: center;
}

.logobox {
    background: #fbfbfb;
    background: -webkit-linear-gradient(#fff, #fbfbfb);
    background: -o-linear-gradient(#fff, #fbfbfb);
    background: -moz-linear-gradient(#fff, #fbfbfb);
    background: linear-gradient(#fff, #fbfbfb);
    width: 120px;
    height: 120px;
    float: left;
    margin: 10px;
}

.logobox img {
    width: 100%
}

/*.customers_slide {
    border: 1px solid #CCC;
}*/

.cus_sl_frame {
    /*border: 1px solid #CCC;*/
    position: relative;
    height: 280px;
    overflow: hidden;
}

.cus_slider {
    position: absolute;
    height: 280px;
    width: 2680px;
}

.customers_slide .mg_gallery_left {
    float: left;
    background-image:url(../../img/arrowleft.png);
}

.customers_slide .mg_gallery_right {
    float: right;
    background-image:url(../../img/arrowright.png);
}

a.mg_gallery_left, a.mg_gallery_right {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-position: center left;
    background-repeat: no-repeat;
    width: 100px;
    height: 280px;
    display: block;
    cursor: pointer;
}

a.mg_gallery_left:hover, a.mg_gallery_right:hover {
    background-position: center right;
}

/* media queries */
@media all and (max-width: 1020px) {
    .solutions .solbox {
        width: 525px;
    }
}

@media all and (max-width: 959px) {
    .divisions .fl6 { height: 260px; }
    .divisions .rborder3 { border: none; }
}

@media all and (max-width: 639px) {
    .divisions .rborder2 { border: none; }
    .divisions .rborder3 { border-right:1px solid #e0e0e0; }

    a.mg_gallery_left, a.mg_gallery_right {
        background-size: 100px 50px;
        width: 50px;
        height: 280px;
    }
}

@media all and (max-width: 520px) {
    .solutions .solbox {
        width: 330px;
        padding: 0;
    }
}

@media all and (max-width: 479px) {
    .divisions .rborder { border: none; }
}

@media all and (max-width: 340px) {
    .solutions .solbox {
        width: auto;
        padding: 0 5px;
    }

    .solutions .fx6 {
        padding: 0 10px;
    }
	.slider h1 {
		font-size: 26px;
}

}

@media all and (max-height: 799px) {
    #mg_slides {
        height: 360px;
    }

    .slider {
        height: 360px;
        padding-top: 120px;
    }
}

/* pop-up image */
.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.popup-overlay.active{
  opacity: 1;
  visibility: visible;
}

.popup-image-box{
  position: relative;
  max-width: 800px;
  width: min(800px, 92vw);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.popup-image{
  display: block;
  width: 100%;
  height: auto;
}

.popup-close-btn{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
  z-index: 2;
}


