/*
Pure CSS cssmodal box
Author: Jorge Chavez
Github: http://github.com/jorgechavz
*/

.css-modal-trigger {display:inline; cursor:pointer;}

.cssmodal .checkbox{
  display: none;
}

.center-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Gray background */
.cssmodal .cssmodal-overlay{
  opacity: 0;
  transition: all 0.3s ease;
  width: 50%;
  position: absolute;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  transform: scale(1);
  display: none;
  background-color: rgba(0,0,0,0.7);
}

/* Box */
.cssmodal .cssmodal-wrap{
  background-color: #ffffff;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
  padding: 40px 50px;
  width: 60%;
  /* margin: 20px auto; */
  margin: 0px;
  align-self: flex-start;
  border-radius: 2px;
  transition: all 0.5s ease;
  border-top: 5px solid #a5242c;
}
.cssmodal .cssmodal-wrap.small{
  width: 30%;
}
.cssmodal .cssmodal-wrap.full {
    max-width: 500px;
    height: auto;
    border-radius: 0;
    margin: 0 auto;
    margin-top: 20px;
}

.cssmodal .cssmodal-wrap.full strong{
  color: black;
}

.cssmodal .cssmodal-wrap.full p{
  margin: 0;
}

.cssmodal .cssmodal-wrap.a-center {
  align-self: center;
}
.cssmodal .cssmodal-wrap.from-left {
  transform: translateX(-100%);
}
.cssmodal .cssmodal-wrap.from-right {
  transform: translateX(100%);
}
.cssmodal .cssmodal-wrap.from-top {
  transform: translateY(-100%);
}
.cssmodal .cssmodal-wrap.from-bottom {
  transform: translateY(100%);
}


/* Close button */
.cssmodal .cssmodal-overlay .close{
  opacity: 1;
  position: absolute;
  right: 10px;
  top: -12px;
  font-size: 40px;
  width: 30px;
  height: 30px;
  color: #282c34;
}

.cssmodal .cssmodal-overlay .close:hover{
  cursor: pointer;
  color: #4b5361;
}

.modalClose {
    padding: 5px;
    background: #292929;
    opacity: 1;
}

 .cssmodal .o-close {
   width: 100%;
   height: 100%;
   position: fixed;
   left: 0;
   top: 0;
   z-index: -100;
 }

.cssmodal input:checked ~ .o-close {
  z-index: 9998;
}
.cssmodal input:checked ~ .cssmodal-overlay{
  transform: scale(1);
  opacity:1;
  z-index: 9997;
  overflow: auto;
  display: flex;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}
.cssmodal input:checked ~ .cssmodal-overlay .cssmodal-wrap {
  transform: translateY(0);
  z-index: 9999;
}



/* Responsive Design */
/* Tablet size */
@media (max-width: 800px){
  .cssmodal .cssmodal-wrap {
    width: 80%;
    padding: 20px;
  }
}

/* Phone size */
@media (max-width: 500px){
  .cssmodal .cssmodal-wrap {
    width: 90%;
  }
}

/* Fadein from display:none */
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}


#frontpage-content img {
	margin: 0 auto;
}

.w100 {
	width: 100%;
}

.owl-theme .item {
    margin: 0!important;
}

.owl-theme .item .item-description {padding-bottom:20px;}

.x-brand {padding-left:10px;}

.nav-sub-title {
	margin: 0;
    padding: 23px 19px 0px 19px;
}

.ubermenu-submenu-title {
	margin-top: -7px!important;
}

.ubermenu-responsive-toggle.ubermenu-responsive-toggle-main:after {
	transition: visibility 0s, opacity 1.0s linear!important;
    visibility: visible;
  	opacity: 1;
    position: absolute;
    right: 32px;
    top: 50%;
    margin-top: -8px;
    content: "\f0c9";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ubermenu-responsive-toggle-open:after {
visibility: hidden!important;
  opacity: 0!important;
  transition: visibility 0s, opacity 0.5s linear!important;
}

@media (max-width: 1100px) {
.owl-theme .item .item-description {
    padding-bottom: 0px;
}
}

@media (max-width: 600px) {
.x-social-global {
    display: none;
}
.x-topbar {
    height: 40px;
    padding: 8px;
    min-height: 40px;
}
}

@media (max-width: 979px) {
.x-topbar {
  	padding-left: 8px;
}
}



/* case */
#case .white {background-color: #fff;}
.case-title {margin:2em 0}

#case-get-more-info h1 {
    font-size:200%;
    font-weight:500;
}

#case-get-more-info h4 {
    margin: 0;
}

#case .slotholder {overflow:hidden;}

.ccm-layout-column-inner p {
    padding: 0em;
    font-family: inherit;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0em;
    text-transform: none;
    color: rgba(0,0,0,1);
    background-color: transparent;
    font-size: 1em;
    margin: 0 0 1.5em;
}

.el48 {padding-bottom:20px;}

#case-get-more-info {
    margin: 1em 5em 0em 5em;
    padding: 0px 0px 1em 0px;
    background-color: #fff;
}


/* product */
.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img {
    opacity: 100!important;
}

#product-page .x-image img {
    width: 100%;
    background-color: #ffffff;
}

.el94.x-anchor { /* padding under knap i columns */
    margin: 1em 0em 1em 3.75em;
}

.marginless-columns {overflow:hidden}
.mfp-counter {display:none}
#menu-alpha-evo li {border-bottom:3px solid transparent}
#menu-alpha-evo li:hover, #menu-alpha-evo li.active {border-bottom:3px solid #000}
#menu-alpha-evo li:hover .x-anchor-text-primary {color:#868686}

.showless {cursor:pointer; margin:0 auto; text-align:center;}


/* sidebar */

.news-title-date {
  color: #999999;
}

.el8.x-text {
    margin: 0em;
    padding: 0em;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0em;
    text-transform: none;
    color: rgba(0,0,0,1);
    background-color: transparent;
}


.sidebar-section {margin:unset!important}
.x-recent-post4:hover {text-decoration: none;}
.x-recent-post4:hover h3 {text-decoration: underline;}
/* responsive */
.ubermenu-responsive-toggle.ubermenu-responsive-toggle-main:after {
    visibility: hidden;
}
