/*
Theme Name:  Avalanche
Theme URI: https://44pixels.com
Author: 44 Pixels
Author URI: https://44pixels.com
Description: Custom theme for Avalanche
Version: 1.0
*/

/*--------------------------
 TEXT HELPER
 
 color : black, white
 style : italic, normal
 decoration : underline, none
 weight : 300, 400, 700, 800
 line height: 1, 2
 headings : h1, h2, h3, h4, h5, h6
--------------------------*/
.text-black {
    color: #333333;
}

.text-white {
    color: #ffffff;
}

.text-gray{
	color:#cccccc;
}

.text-italic {
    font-style: italic;
}

.text-bold {
	font-weight: 600;
}

.text-normal {
    font-style: normal;
}

.text-underline {
    text-decoration: underline;
}

.text-decoration-none {
	text-decoration: none;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.line-height-1 {
    line-height: 1;
}

.line-height-1-5 {
    line-height: 1.5;
}

.line-height-2 {
    line-height: 2;
}

.h1, h1 {
    font-size: 32px;
}

.h2, h2 {
    font-size: 24px;
}

.h3, h3 {
    font-size: 18px;
}

.h4, h4 {
    font-size: 16px;
}

.h5, h5 {
    font-size: 13px;
}

.h6, h6 {
    font-size: 10px;
}

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

.font-16{
	font-size: 16px;
}

.strong-montserrat {
	font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    color: #2e3970;
}

.montserrat{
	font-family: "montserrat", "Arial", "Helvetica", sans-serif;
}

.varela-round{
	font-family:"varela_round", "Arial", "Helvetica", sans-serif;
}

/*--------------------------
 MARGIN HELPER
 
 size : 0px 10px 15px 20px 30px 50px
 dimensions : all, side, top, bottom, right, left
--------------------------*/
/* Margin */
.margin-0 {
    margin: 0 !important;
}

.margin-10 {
    margin: 10px !important;
}

.margin-15 { 
    margin: 15px !important;
}

.margin-20 {
    margin: 20px !important;
}

.margin-30 {
    margin: 30px !important;
}

.margin-50 {
    margin: 50px !important;
}

/* Margin side */
.margin-side-0 {
    margin-right: 0 !important;
	margin-left: 0 !important;
}

.margin-side-10 {
    margin-right: 10px !important;
	margin-left: 10px !important;
}

.margin-side-15 {
    margin-right: 15px !important;
	margin-left: 15px !important;
}

.margin-side-20 {
    margin-right: 20px !important;
	margin-left: 20px !important;
}

.margin-side-30 {
    margin-right: 30px !important;
	margin-left: 30px !important;
}

.margin-side-50 {
    margin-right: 50px !important;
	margin-left: 50px !important;
}

/* Margin Top */
.margin-top-0 {
    margin-top: 0px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-top-50 {
    margin-top: 50px !important;
}

/* Margin Bottom */
.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-bottom-15 {
    margin-bottom: 15px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-bottom-30 {
    margin-bottom: 30px !important;
}

.margin-bottom-50 {
    margin-bottom: 50px !important;
}

/* Margin right */
.margin-right-0 {
	margin-right: 0;
}

.margin-right-10 {
	margin-right: 10px;
}

.margin-right-15 {
	margin-right: 15px;
}

.margin-right-20 {
	margin-right: 20px;
}

.margin-right-30 {
	margin-right: 30px;
}

.margin-right-50 {
	margin-right: 50px;
}

/* Margin left */
.margin-left-0 {
	margin-left: 0;
}

.margin-left-10 {
	margin-left: 10px;
}

.margin-left-15 {
	margin-left: 15px;
}

.margin-left-20 {
	margin-left: 20px;
}

.margin-left-30 {
	margin-left: 30px;
}

.margin-left-50 {
	margin-left: 50px;
}

/*--------------------------
 PADDING HELPER 
 
 size : 0px 10px 15px 20px 30px 50px
 dimensions : all, side, top, bottom, right, left
--------------------------*/
/* Padding */
.padding-0 {
    padding: 0;
}

.padding-10 {
    padding: 10px;
}

.padding-15 {
    padding: 15px;
}

.padding-20 {
    padding: 20px;
}

.padding-25 {
    padding: 25px;
}

.padding-30 {
    padding: 30px;
}

.padding-50 {
    padding: 50px;
}

/* Padding side */
.padding-side-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.padding-side-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.padding-side-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.padding-side-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.padding-side-50 {
    padding-left: 50px;
    padding-right: 50px;
}

/* Padding top */
.padding-top-0{ 
    padding-top: 0 !important;
}

.padding-top-10{ 
    padding-top: 10px;
}

.padding-top-15{ 
    padding-top: 15px;
}

.padding-top-20{ 
    padding-top: 20px;
}

.padding-top-30{ 
    padding-top: 30px;
}

.padding-top-45{ 
    padding-top: 45px;
}

.padding-top-50{ 
    padding-top: 50px;
}

/* Padding Bottom */
.padding-bottom-0 {
	padding-bottom: 0;
}

.padding-bottom-10 {
	padding-bottom: 10px;
}

.padding-bottom-15 {
	padding-bottom: 15px;
}

.padding-bottom-20 {
	padding-bottom: 20px;
}

.padding-bottom-30 {
	padding-bottom: 30px;
}

.padding-bottom-50 {
	padding-bottom: 50px;
}

/* Padding right */ 
.padding-right-0 {
	padding-right: 0;
}

.padding-right-10 {
	padding-right: 10px;
}

.padding-right-15 {
	padding-right: 15px;
}

.padding-right-20 {
	padding-right: 20px;
}

.padding-right-30 {
	padding-right: 30px;
}

.padding-right-50 {
	padding-right: 50px;
}

/* Padding left */ 
.padding-left-0 {
	padding-left: 0;
}

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

.padding-left-15 {
	padding-left: 15px;
}

.padding-left-20 {
	padding-left: 20px;
}

.padding-left-25 {
	padding-left: 25px;
}

.padding-left-30 {
	padding-left: 30px;
}

.padding-left-50 {
	padding-left: 50px;
}

.clear-left {
	clear: left;
}

.clear{
	clear: both;
}

/*
* Background
*-------------------------*/
.bg-fff{
	background: #fff !important;
}

/*
* Buttons
*-------------------------*/
.btn.btn-transparent-white {
    color: #fff;
    border: 2px solid #fff;
    font-family: "montserrat", "Arial", "Helvetica", sans-serif;
    font-size: 14px;
    letter-spacing: 0.05px;
    padding: 10px 32px 9px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    max-width: 225px;
}

/*
* Custom
*-------------------------*/
.admin-bar #header {
    top: 32px;
}

.full-width-section .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.about-list li p {
    font-size: 13px;
    font-weight: 300;
    color: #afafaf;
    margin-top: 10px;
    margin-bottom: 0 !important;
}

.about-list li img{
    width: auto !important;
}

.table-like {
    display: table;
    height: 100%;
    table-layout: fixed;
    width: 100%;
}

.table-row-like {
	display: table-row;
}

.table-cell-like{
	display: table-cell;
}

.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus {
    background: transparent none repeat scroll 0 0 !important;
}

.custom-accordion a,
.custom-accordion .open-accordion.collapsed a:hover{
    color: #636363;
}

.custom-accordion .open-accordion a:hover{
	color: #20b8a1;
}

/*
* JCF
*--------------------*/
/* scrollbars */
.jcf-scrollable-wrapper {
	box-sizing: content-box;
	position: relative;
}

.jcf-scrollbar-vertical {
    position: absolute;
    cursor: default;
    background: #ededed;
    width: 12px;
    bottom: 0;
    right: 0;
    top: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.jcf-scrollbar-vertical .jcf-scrollbar-dec,
.jcf-scrollbar-vertical .jcf-scrollbar-inc {
	background: #ededed;
	height: 12px;
	width: 12px;
	left: 0;
	top: 0;
}

.jcf-scrollbar-vertical .jcf-scrollbar-inc {
	top: auto;
	bottom: 0;
}

.jcf-scrollbar-vertical .jcf-scrollbar-handle {
    background: #b4b4b4;
    height: 1px;
    width: 12px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.jcf-scrollbar-horizontal {
	position: absolute;
	background: #e3e3e3;
	right: auto;
	top: auto;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 12px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-dec,
.jcf-scrollbar-horizontal .jcf-scrollbar-inc {
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
	background: #bbb;
	height: 12px;
	width: 12px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-inc {
	left: auto;
	right: 0;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-slider {
	display: inline-block;
	position: relative;
	height: 12px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-handle {
	position: absolute;
	background: #888;
	height: 12px;
}

.jcf-scrollbar.jcf-inactive .jcf-scrollbar-handle {
	visibility: hidden;
}

.jcf-scrollbar.jcf-inactive .jcf-scrollbar-dec, 
.jcf-scrollbar.jcf-inactive .jcf-scrollbar-inc {
	background: #e3e3e3;
}

/*
* custom section tabs
*-------------------------*/
.section-tab .block-no-photos {
  margin: 0 0 60px !important;
}

.section-tab .block-no-photos .name {
    padding: 0 0 87px !important;
    margin: 0 !important;
    position: relative;
    display: block;
    height: 100%;
    vertical-align: bottom;
}

.section-tab .block-no-photos .name .btn-hold {
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    bottom: 0;
    width: 100%;
}


/*
* Reference block
*-----------------*/
.reference-block h3 {
    color: #252f6d !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

.reference-block li {
    padding-top: 15px;
}


/*
* custom
*-----------*/
sub, sup {
    font-size: 50% !important;
}

/*
* Fancybox
*--------------------------*/
.popup-holder{
	height: 0;
	position: relative;
    overflow: hidden;
}

.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    background: #000000;
    background: rgba(0,0,0,0.75);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('images/fancybox_sprite-2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('images/fancybox_loading-2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/* pop up global */
.lightbox-content.popup-global {
    max-width: 532px;
}

.close-btn {
    background-image: url('images/close-btn.png');
    background-size: auto auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    color: transparent;
    position: absolute;
    right: 20px;
    top: 16px;
    width: 19px;
    height: 19px;
}

.close-btn:hover {
    color: transparent;
}

.lightbox-content.popup-global {
    max-width: 532px;
    background: #2e3970;
    text-align: center;
}

.lightbox-content.popup-global .lightbox-body{
	padding:52px 15px 49px;
	position: relative;
}


/*
* Custom Modal Popup
*--------------------------*/
.custom-modal .modal-body .jcf-scrollable {
    height: 411px !important;
    padding: 15px 21px 0;
    width: 100% !important;
}

.custom-modal .modal-body .jcf-scrollbar.jcf-scrollbar-vertical {
    right: -30px;
}


.custom-modal .modal-header {
    padding: 45px 20px 13px;
}

.custom-modal .modal-header .title-style01 {
    margin: 0 0 29px;
}

.custom-modal .modal-body {
    padding: 0;
}

.custom-modal .modal-body .jcf-scrollable-wrapper {
    width: 100% !important;
}

.custom-modal .modal-content {
    padding: 0 57px 0 51px;
}

.modal.custom-modal .close {
    top: 44px;
}

/*****************************
*  columns of same height styles
*******************************/
.container-xs-height {
    display:table;
    padding-left:0px;
    padding-right:0px;
	width:100%;
}

.row-xs-height {
    display:table-row;
}

.col-xs-height {
    display:table-cell;
    float:none;
}

/********vertical alignment styles ***********/
.col-top {
    vertical-align:top;
}
.col-middle {
    vertical-align:middle;
}
.col-bottom {
    vertical-align:bottom;
}
@media (min-width: 768px) and (max-width: 991px ) {
    .container-sm-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-sm-height {
        display:table-row;
    }
    .col-sm-height {
        display:table-cell;
		float: none;
    }
}
@media (min-width: 992px) and (max-width: 1199px ){
    .container-md-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-md-height {
        display:table-row;
    }
    .col-md-height {
        display:table-cell;
		float: none;
    }
}
@media (min-width: 1200px) {
    .container-lg-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-lg-height {
        display:table-row;
    }
    .col-lg-height {
        display:table-cell;
		float: none;
    }
}


/*
* Media
*-------------------------*/

@media ( max-width: 1279px ) {
	.select-responsive {
		width: 210px !important;
	}
}

@media ( max-width: 991px ) {
	.select-responsive {
		width: 230px !important;
	}
	
	.section-style03.inner.mobile-padding-top-55,
	.mobile-padding-top-55	{
		padding-top: 55px;
	}
	
	#nav {
		height: 409px;
		overflow-y: scroll;
		overflow-x: hidden;
	}
	
	.slideshow .visual img {
		display: block !important;
		margin: 0 auto !important;
	}
	
	.slideshow .title h2, 
	.slideshow .title p {
		text-align: center;
	}
	
	.section-tab .tab-content .img-wrap img {
		width: 232px !important;
		height: auto;
	}
	
	.sm-padding-bottom-10 {
		padding-bottom: 10px;
	}
	
	
	.slideshow .nav-hold .prev,
	.slideshow .nav-hold .next{
		position: relative;
		height: 50px;
		width: 120px;
		color:#5f625f;
	}
	
	.slideshow .nav-hold .prev:before,
	.slideshow .nav-hold .next:before{
		font-family: montserrat, Arial, Helvetica, sans-serif;
		font-size: 16px;
		font-weight: normal;
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		height: 27px;
		width:100px;
	}
	
	.slideshow .nav-hold .prev:hover,
	.slideshow .nav-hold .next:hover,
	.slideshow .nav-hold .prev:focus,
	.slideshow .nav-hold .next:focus{
		color:#2E3970;
	}
	
	
	.slideshow .nav-hold .prev:before{
		content: "Previous";
		text-align:left;
		left:0;
		margin: auto 0 auto 30px !important;
	}
	
	.slideshow .nav-hold .next:before{
		content: "Next";
		text-align:right;
		right:0;
		margin: auto 30px auto 0 !important;
	}
	
	.slideshow .nav-hold .title h2,
	.slideshow .nav-hold .title p{
		display: none !important;
	}
	
	.lightbox-content.popup-global {
		max-width: 529px;
	}
	
	.custom-modal .modal-content {
		padding: 0 27px;
	}
	
	.custom-modal .modal-body .jcf-scrollbar.jcf-scrollbar-vertical {
		right: -13px;
	}
	
	.custom-modal .modal-header .title-style01 {
		margin: 0 0 29px !important;
	}
}

@media ( max-width: 767px ) {
	.select-responsive {
		width: 100% !important;
	}
	
	.section-tab .block-no-photos {
		height: auto !important;
		margin: 0 0 30px!important;
		padding: 15px 0 0;
	}
	
	.section-tab .block-no-photos .name .btn-hold {
		padding: 10px 0 !important;
		position: relative !important;
	}
	
	.section-tab .block-no-photos .name {
		padding: 0 !important;
	}
	
	.gform_wrapper .gform_body ul li span.info {
		padding: 0 0 15px;
	}
	
	.xs-padding-right-30 {
		padding-right: 30px;
	}
	
	.padding-top-0-xs{
		padding-top:0 !important;
	}
	
	.margin-bottom-5-xs {
		margin-bottom: 5px !important;
	}
	
	.reference-block li {
		padding: 0 0 15px;
	}
	
	.reference-block ul,
	.reference-block ol{
		padding:10px 0 10px 25px;
	}
	
	.block-hold p {
		height: auto !important;
	}
	
	.lightbox-content.popup-global {
		max-width: 278px;
	}
	
	.close-btn {
		width: 14px;
		height: 14px;
		background-size: 16px 16px;
		top: 10px;
		right: 10px;
	}
	
	.lightbox-content.popup-global .h4 {
		font-size: 15px;
		margin-bottom: 25px !important;
	}
	
	.btn.btn-transparent-white {
		max-width: 202px;
		padding: 8px 31px;
		font-size: 12px;
	}
	
	.lightbox-content.popup-global .lightbox-body {
		padding: 33px 15px 46px !important;
	}
	
}