/**
 *  Deploy Full Width Slider Skin
 */

.slider-holder {
  min-height: 345px;
  position: relative;
}

.slider-holder .avt_masterslider_el {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.deploy-fullwidth .ms-scroll-parallax-cont {
  z-index: 108;
}

.deploy-fullwidth .ms-slide .ms-slide-vpbtn,
.deploy-fullwidth .ms-video-btn {
  width: 50px;
  height: 51px;
  background: url(images/light-skin-1.png) no-repeat -14px -150px;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
}

.deploy-fullwidth .ms-slide .ms-slide-vcbtn {
  width: 30px;
  height: 30px;
  background: url(images/light-skin-1.png) no-repeat -24px -28px;
  top: 18px;
  right: 30px;
}

/* controls */

.deploy-fullwidth .ms-inner-controls-cont {
  position: initial;
}

.deploy-fullwidth .ms-nav-next,
.deploy-fullwidth .ms-nav-prev {
  /*display:none;*/
  width: 20px;
  background: none;
  height: 40px;
  cursor: pointer;
  left: 20px;
  position: absolute;
  z-index: 10;
  /*bottom: 15px;*/
  bottom: 0;
  top: 0;
  margin: auto;
}
.deploy-fullwidth .ms-nav-next:before,
.deploy-fullwidth .ms-nav-prev:before {
  content: "";
  font-family: "2b1c-icons";
  font-size: 34px;
  font-size: 2rem;
  float: right;
  text-indent: 0;
  color: #fff;
  line-height: 1.35;
}
.deploy-fullwidth .ms-nav-next:before {
  content: "\e90e";
}
.deploy-fullwidth .ms-nav-prev:before {
  content: "\e90f";
}

.deploy-fullwidth .ms-nav-next {
  right: 5px;
  left: auto;
  background-position: -89px -103px;
}

.deploy-fullwidth .ms-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  margin: 0 8px !important;
  border-radius: 50%;
  position: relative;
  float: none;
  display: inline-block;
}

.deploy-fullwidth .ms-bullet:hover {
  /*opacity:.5;*/
  background: #89b94c;
}
.deploy-fullwidth .ms-bullet-selected {
  /*background: #89b94c;*/
}
.deploy-fullwidth .ms-bullet-selected:after {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  position: absolute;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  transition: all 0.2s;
}
.deploy-fullwidth .ms-bullet-selected:hover {
  opacity: 1;
  background: #fff;
}

.deploy-fullwidth .ms-tooltip {
  position: absolute;
  z-index: 110;
  cursor: auto;
}

.deploy-fullwidth .ms-tooltip-top .ms-tooltip-arrow,
.deploy-fullwidth .ms-tooltip-bottom .ms-tooltip-arrow {
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
  position: absolute;
  left: 50%;
  margin-left: -10px;
}

.deploy-fullwidth .ms-tooltip-top .ms-tooltip-arrow {
  border-top: solid 10px;
  border-top-color: silver;
  border-top-color: rgba(240, 240, 240, 0.88);
  bottom: -10px;
}

.deploy-fullwidth .ms-tooltip-bottom .ms-tooltip-arrow {
  border-bottom: solid 10px;
  border-bottom-color: silver;
  border-bottom-color: rgba(240, 240, 240, 0.88);
  top: -10px;
}

.deploy-fullwidth .ms-tooltip-right .ms-tooltip-arrow,
.deploy-fullwidth .ms-tooltip-left .ms-tooltip-arrow {
  border-top: solid 10px transparent;
  border-bottom: solid 10px transparent;
  position: absolute;
  top: 50%;
  margin-top: -10px;
}

.deploy-fullwidth .ms-tooltip-right .ms-tooltip-arrow {
  border-right: solid 10px;
  border-right-color: silver;
  border-right-color: rgba(240, 240, 240, 0.88);
  left: -10px;
}

.deploy-fullwidth .ms-tooltip-left .ms-tooltip-arrow {
  border-left: solid 10px;
  border-left-color: silver;
  border-left-color: rgba(240, 240, 240, 0.88);
  right: -10px;
}

.deploy-fullwidth .ms-tooltip-point {
  cursor: pointer;
}
.deploy-fullwidth .ms-tooltip-point .ms-point-center {
  width: 12px;
  height: 12px;
  border-radius: 15px;
  border: solid 2px #bbb;
  background: white;
  margin: -8px 0 0 -8px;
  position: absolute;
  z-index: 5;
}

.deploy-fullwidth .ms-tooltip-point .ms-point-border {
  width: 22px;
  height: 22px;
  background: black;
  background: rgba(0, 0, 0, 0.36);
  margin: -11px 0 0 -11px;
  position: absolute;
  border-radius: 15px;

  animation: point-anim 1.5s infinite;
  -moz-animation: point-anim 1.5s infinite;
  -webkit-animation: point-anim 1.5s infinite;
  -o-animation: point-anim 1.5s infinite;
}

.deploy-fullwidth .ms-tooltip {
  max-width: 200px;
}

.deploy-fullwidth .ms-tooltip-cont {
  padding: 10px;
  background: silver;
  background: rgba(240, 240, 240, 0.88);
  text-shadow: 0 1px 0px white;
  margin-left: -1px;
}
.deploy-fullwidth .ms-slide-info.ms-dir-h {
  position: absolute !important;
  left: 0;
  top: 17%;
  margin: 0 auto;
  max-height: 80%;
  padding: 0;
  right: 0;
  width: 940px;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  z-index: 4;
}
.deploy-fullwidth .ms-slide-info.ms-dir-h h2 {
  color: #fff !important;
  display: inline-block;
  float: left;
  clear: both;
  padding: 7px 0;
  letter-spacing: -0.025em;
  line-height: 100% !important;
  font-size: 30px !important;
  margin-bottom: 1px !important;
}
.deploy-fullwidth .ms-slide-info.ms-dir-h p {
  color: #fff;
  clear: both;
  padding: 15px 0;
  margin-bottom: 1px !important;
}

.deploy-fullwidth .ms-slide-info.ms-dir-h .ms-info a {
  clear: both;
  float: left;
  text-decoration: none !important;
}

.deploy-fullwidth .ms-bullets.ms-dir-h {
  z-index: 9999;
  right: 0;
  left: 0;
  width: auto !important;
  margin: 0 auto;
  text-align: center;
}

.ms-bullets.ms-dir-h .ms-bullets-count {
  right: auto;
}

/* ==========================================================================
   Layers in Pro Version
   ========================================================================== */

.ms-slide-layers {
  z-index: 2;
}
.deploy-fullwidth .ms-layer {
  width: 100% !important;
  max-width: 55%;
  height: auto !important;
  box-sizing: border-box;
}
.deploy-fullwidth .ms-layer h2 {
  font-size: 48px !important;
  color: #fff !important;
  padding-bottom: 15px;
}
.deploy-fullwidth .ms-layer h2:after {
  content: "";
  width: 25%;
  height: 3px;
  border-bottom: 3px solid;
  position: relative;
  display: block;
  top: 15px;
}
.deploy-fullwidth .ms-layer p {
  font-size: 1.117647rem !important;
  color: #fff !important;
  margin-bottom: 20px;
  line-height: normal;
}
.deploy-fullwidth .ms-layer a {
  text-align: center;
  padding: 12px 50px !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}
.deploy-fullwidth .ms-layer a:hover {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #fff !important;
}
.deploy-fullwidth .ms-layer a span {
  background: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
}

#main-slide {
  max-width: 80%;
  transform: translateY(40px);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (min-width: 1230px) {
  .deploy-fullwidth .ms-layer {
    max-width: 55%;
  }
}

@media (min-width: 768px) {
  #main-slide a:first-of-type {
    margin-right: 25px;
  }
}

@media (max-width: 1023px) {
  /*.ms-slide-layers:before {
	    background: rgba(0,0,0,0.4);
	    content: "";
	    position: absolute;
	    width: 100%;
	    height: 100%;
	    top: 0;
	}*/

  .deploy-fullwidth .ms-nav-next,
  .deploy-fullwidth .ms-nav-prev {
    display: block;
    top: auto;
    bottom: 15px;
  }
  .deploy-fullwidth .ms-bullets.ms-dir-h {
    display: none;
  }
}

@media (max-width: 940px) {
  .deploy-fullwidth .ms-slide-info.ms-dir-h {
    width: 90% !important;
    top: 40px;
    padding-left: 0 !important;
  }
  .deploy-fullwidth .ms-layer {
    padding-left: 10px !important;
  }
  .deploy-fullwidth .ms-layer h2 {
    font-size: 38px !important;
  }
  #main-slide p {
    font-size: 19px !important;
  }
}
@media (max-width: 940px) {
  /*.ms-parent-id-6 .deploy-fullwidth .ms-layer p {max-width:48vw;}*/
}

@media (min-width: 641px) and (max-width: 767px) {
  #main-slide {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .deploy-fullwidth .ms-layer {
    max-width: 100%;
    box-sizing: border-box;
    top: auto !important;
    padding: 10px 20px 15px !important;
    /*background: rgba(0,0,0,0.4);*/
    /*background-image: linear-gradient(to top, #222, transparent);*/
    bottom: 0;
    text-align: center;
  }
  .deploy-fullwidth .ms-layer h2 {
    font-size: 1.6rem !important;
    padding-bottom: 0;
    margin-bottom: 10px;
  }
  .deploy-fullwidth .ms-layer h2:after {
    display: none;
  }
  .deploy-fullwidth .ms-layer h2 br {
    display: none;
  }
  #main-slide h2 br {
    display: block;
  }
  .deploy-fullwidth .ms-layer p {
    display: none;
    font-size: 1rem !important;
    margin-bottom: 10px;
  }
  .deploy-fullwidth .ms-layer a {
    display: inline-block !important;
    margin: 0 5px;
  }
  .deploy-fullwidth .ms-layer a,
  .deploy-fullwidth .ms-layer a:hover {
    padding: 0 !important;
    border: 0 !important;
    text-decoration: underline !important;
    background-color: transparent !important;
  }

  #main-slide {
    max-width: 100%;
    background-image: none;
  }

  .static-slider #main-slide {
    top: 50% !important;
    transform: translateY(calc(-50% + 40px));
    bottom: auto;
  }

  .about-slider .ms-view,
  .about-slider .ms-slide,
  .about-slider .ms-slide-bgcont img {
    height: 500px !important;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .deploy-fullwidth .ms-slide-info.ms-dir-h {
    display: block !important;
    width: 100%;
    padding: 0;
  }

  .deploy-fullwidth .ms-slide-info.ms-dir-h h2 {
    font-size: 1.4rem !important;
    padding: 6px 0 !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h p {
    padding: 10px 0 !important;
    font-size: 1rem !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h .ms-info a {
    font-size: 1rem !important;
    padding: 10px 15px !important;
  }
}

@media (max-width: 641px) {
  .deploy-fullwidth .ms-layer {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .deploy-fullwidth .ms-bullets.ms-dir-h {
    display: none;
  }
}
@media (max-width: 640px) {
  .slider-holder .imgholder img {
    height: 345px;
  }
  .ms-view,
  .ms-slide,
  .ms-slide-bgcont img {
    height: 345px !important;
    max-width: none;
  }
}

@media (max-width: 440px) {
  .deploy-fullwidth .ms-slide-info.ms-dir-h {
    top: 10px;
  }
  /*.deploy-fullwidth .ms-layer p {display:none;}*/
}
@media (max-width: 480px) {
  #main-slide p br {
    display: none;
  }
}

@media (max-width: 460px) {
  .deploy-fullwidth .ms-slide-info.ms-dir-h {
    display: block !important;
    width: 100%;
    padding: 0;
  }

  .deploy-fullwidth .ms-slide-info.ms-dir-h h2 {
    font-size: 1.2rem !important;
    padding: 3px 0 !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h p {
    padding: 10px 0 !important;
    font-size: 0.9rem !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h .ms-info a {
    font-size: 0.9rem !important;
    padding: 10px 15px !important;
  }
  .deploy-fullwidth .ms-layer:nth-child(2) {
    display: none !important;
  }
}

@media (max-width: 340px) {
  .deploy-fullwidth .ms-slide-info.ms-dir-h {
    left: 10px;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h h2 {
    font-size: 1rem !important;
    padding: 3px 0px 4px !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h p {
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
  }
  .deploy-fullwidth .ms-slide-info.ms-dir-h .ms-info a {
    font-size: 0.8rem !important;
  }
}
