@media screen and (max-width: 1024px){
.fix{
    position:none;
    z-index: 1000;
    top:0;
    left:0;
    right:0;
    margin:0;
}
}
@media screen and (min-width: 1025px){
.fix{
    position:fixed;
    z-index: 1000;
    top:0;
    left:0;
    right:0;
    margin:0;
    -webkit-box-shadow: 0 -2px 10px 0 #695E5E;
	box-shadow: 0 -2px 10px 0 #695E5E;
}
}

@media screen and (max-width: 678px){
  .animation-element.slide-left.testimonial,
  .animation-element.slide-left.testimonial:nth-of-type(odd),
  .animation-element.slide-left.testimonial:nth-of-type(even){
    width: 100%;
    margin: 0px 0px 20px 0px;
  }
  .animation-element.slide-left.testimonial .right,
  .animation-element.slide-left.testimonial .left,
  .animation-element.slide-left.testimonial .content,
  .animation-element.slide-left.testimonial .rating{
    text-align: center;
    float: none;
  }
  .animation-element.slide-left.testimonial img{
    width: 85px;
    height: 85px;
    margin-bottom: 5px;
  }
}

#footer .CL-portlet-image img {
	width: unset !important;
}

#footer .CL-image-slider {
	text-align: center;
}

.animation-element.slide-right {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(100px, 0px, 0px);
  -webkit-transform: translate3d(100px, 0px, 0px);
  -o-transform: translate(100px, 0px);
  -ms-transform: translate(100px, 0px);
  transform: translate3d(100px, 0px, 0px);
}

.animation-element.slide-right.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.animation-element.slide-left {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(-100px, 0px, 0px);
}

.animation-element.slide-left.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

@media screen and (max-width: 678px){
  .animation-element.slide-right.testimonial,
  .animation-element.slide-right.testimonial:nth-of-type(odd),
  .animation-element.slide-right.testimonial:nth-of-type(even){
    width: 100%;
    margin: 0px 0px 20px 0px;
  }
  .animation-element.slide-right.testimonial .right,
  .animation-element.slide-right.testimonial .right,
  .animation-element.slide-right.testimonial .content,
  .animation-element.slide-right.testimonial .rating{
    text-align: center;
    float: none;
  }
  .animation-element.slide-right.testimonial img{
    width: 85px;
    height: 85px;
    margin-bottom: 5px;
  }
}

.CL-image-slider,
.CL-box-content-image,
.CL-gallery-single-image-wrapper,
.CL-article-image-item,
.CL-gallery-single-image-wrapper .CL-gallery-image {
    height: auto !important;
}

.CL-image-slider img {
    max-width: 100%;
}

.CL-calendar-container,
.CL-gallery-single-image-wrapper {
    max-width: 100%;
}

.CL-calendar-container {
    min-width: auto;
}

.CL-contact-form,
.CL-booking-form,
.CL-contact-form input,
.CL-booking-form input,
.CL-contact-form textarea,
.CL-booking-form textarea {
    max-width: 100%;
}

.CL-contact-form,
.CL-booking-form {
    width: 100% !important;
}


.CL-site-identity {
	max-width: 100%;
}

iframe {
	max-width: 100%;
}

.CL-search-result-item, .CL-search-result-item a {
	width: auto;
	height: auto;
}

.CL-search-result-group {
	max-width: 100%;
}

#containerColumn .CL-portlet .CL-admin-form.CL-login-form .text-input,
#containerColumn .CL-portlet .CL-search .CL-search-text,
#containerColumn .CL-portlet .text-input {
    width: 100% !important;
}

.CL-gallery-single-image-wrapper .CL-gallery-image {
    display: inline-block;
}

/*overide col-md-9 */
#layout_right #containerContentPosition {
    width: auto;
    margin-right: 0;
}
#layout_left #containerContentPosition {
    width: auto;
    margin-left: 0;
}

/* Small devices (phones, smaller than 768px) */
@media (max-width: 992px) {
	.container,
	.container.main-container {
		width: auto;
	}
	.container.main-container {
		padding: 0;
		margin: 0;
		overflow-x: hidden;
	}

	.CL-article-block-group .CL-article-column {
		width: 100% !important;
	}
	
	#logo {
		max-width: 100%;
	}
	.CL-site-identity {
		max-width: 100%;
	}
	.CL-site-name,
	.CL-site-subtitle,
	.theme-dark .nivo-directionNav,
	.theme-dark .nivo-controlNav {
		display: none;
	}
	
	.CL-article-gallery .CL-gallery-wrapper .CL-gallery-single-image-wrapper {
		width: 100% !important;
		margin: 10px 0;
		text-align: center;
	}

	.CL-gallery-single-image-wrapper .CL-gallery-image {
		width: auto;
		max-width: 100%;
	}
	
	/* menu */
	#menu .CL-portlet-menu ul,
	#menu .CL-portlet-menu ul li {
		width: 100%;
	}
	
	#menu .CL-portlet-menu .CL-box-main-content>ul>li.CL-active:after {
		display: none;
	}
/*	
	#menu .CL-portlet-menu .CL-box-main-content>ul>li {
		display: none;
	}
	
	#menu .CL-portlet-menu .CL-box-main-content>ul>li.CL-active {
		display: inline-block;
	}
	*/
	
	#menu .main-nav {
		display: none;
	}
	
	#menu .main-nav.main-nav--active {
		display: block;
		z-index: 1;
	}
	
	#menu .CL-portlet-menu ul ul {
		position: static;
		opacity:1;
	}
	
	#menu .CL-portlet-menu ul ul ul {
		position: static;
		opacity:1;
	}
	
	#menu .CL-portlet-menu ul ul li {
		border: 0;
	}
	
	#menu .CL-portlet-menu ul ul li a {
		padding: 15px 15px 15px 30px;
		border-bottom: 1px solid #e8e8e8;
	}
	
	#menu .CL-portlet-menu ul ul ul li a {
		padding: 15px 15px 15px 45px;
	}
	
	#menu .CL-portlet-menu ul ul li.CL-parent-menu>a {
		background-image: none;
	}
	
	.toggle-nav {
		display: block;
		outline: 0;
		position: relative;
		padding: 10px;
		text-decoration: none;
		color: #FFF;
		text-decoration: none;
		transition: background-color linear 0.15s;
		text-align: center;
		font-size: 32px;
		width: 65px;
		float: right;
		z-index: 1;
		border-radius: 3px;
		border: 1px solid #FFF;
		margin-right: 5px;
		margin-top: 8px;
    }

    .zin {
    	z-index: 1;
    }

    #navigation {
    	z-index: 2 !important;
    }
	
	.toggle-nav.toggle-nav--active {
		border-bottom: 1px solid #fff;
    }

    #sys-logo-image {
    max-width: unset;
	}

	#menu {
	margin-top:-70px;
	}

	#navigation {
		padding-top:4px; 
	}

	#footer .CL-menu-level-0 {
    border-right: 0px solid #999;
}

}

