/* Table of Contents
==================================================
    #Base 960 Grid
    #Tablet (Portrait)
    #Mobile (Portrait)
    #Mobile (Landscape)
    #Clearing */
/* #Base 960 Grid
================================================== */



.boxed#top {
	margin: 0 auto;
	overflow: visible; /* position:relative; z-index: 3; */
}

.container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0px 50px;
	clear: both;
}

.inner-container{
	position: relative;
	height:100%;
	width:100%;
}

/*no z-index for container_wrap or fixed bgs start disapearing when other elements transition -> weird chrome bug*/
.container_wrap {
	clear: both;
	position: relative;
	/* z-index: 1; */
	border-top-style: solid;
	border-top-width: 1px;
}

.unit, .units {
	float: left;
	display: inline;
	margin-left: 50px;
	position: relative;
	z-index: 1;
	min-height: 1px;
}
.row {
	position: relative;
	margin-bottom: 20px;
	clear: both;
}


#wrap_all {
	width: 100%;
	position: static; /*fixes chrome 40 issue with fixed section bgs*/
	z-index: 2;
	overflow: hidden;
}

.boxed #wrap_all {
	overflow: visible; /*needed for cart icon */
}


/* Nested Column Classes */
body .unit.alpha,
body .units.alpha,
body div .first {
	margin-left: 0;
	clear: left;
}
body .unit.alpha, body .units.alpha {
	width: 100%;
}

/* Base sizes */
.container .av-content-full.units  {
	width: 100%
}

.container .av-content-small.units {
	width: 73%
}

.boxed#top, .html_boxed.html_header_sticky #header{
	width: 1010px;
}

.container{
	max-width: 1010px;
}



/* #Clearing
================================================== */
/* Self Clearing Goodness */
.container:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* Use clearfix class on parent to clear nested units,
    or wrap each row of units in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.flex_column:before,
.flex_column:after,
.widget:before,
.widget:after
{
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
.flex_column:after,
.clearfix:after {
	clear: both;
}
.row,
.clearfix {
	zoom: 1;
}
/* You can also use a <br class="clear" /> to clear units */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* Columns for better content separation
================================================== */
body div .first,
body div .no_margin {
    margin-right: 0;
}

div .flex_column {
    z-index: 1;
    float: right;
    position: relative;
    min-height: 1px;
    width: 100%;
}

div .av_one_fifth {
    margin-right: 6%;
    width: 15.2%;
}

div .av_one_fourth {
    margin-right: 6%;
    width: 20.5%;
}

div .av_one_third {
    margin-right: 6%;
    width: 29.333333333333332%;
}

div .av_two_fifth {
    margin-right: 6%;
    width: 36.4%;
}

div .av_one_half {
    margin-right: 6%;
    width: 47%;
}

div .av_three_fifth {
    margin-right: 6%;
    width: 57.599999999999994%;
}

div .av_two_third {
    margin-right: 6%;
    width: 64.66666666666666%;
}

div .av_three_fourth {
    margin-right: 6%;
    width: 73.5%;
}

div .av_four_fifth {
    margin-right: 6%;
    width: 78.8%;
}

div .av_one_sixth {
    margin-right: 6%;
    width: 11.666666666666666%;
}

div .av_one_seventh {
    margin-right: 6%;
    width: 9.142857142857142%;
}

div .av_one_eighth {
    margin-right: 6%;
    width: 7.25%;
}

div .av_one_nineth {
    margin-right: 6%;
    width: 5.777777777777778%;
}

div .av_one_tenth {
    margin-right: 6%;
    width: 4.6%;
}
/* Columns for better content separation (no margin)
================================================== */
#top div .no_margin {
	margin-left: 0;
	margin-top: 0;
}
#top .no_margin.av_one_fifth {
	width: 20%;
}
#top .no_margin.av_one_fourth {
	width: 25%;
}
#top .no_margin.av_one_third {
	width: 33.3%;
}
#top .no_margin.av_two_fifth {
	width: 40%;
}
#top .no_margin.av_one_half {
	width: 50%;
}
#top .no_margin.av_three_fifth {
	width: 60%;
}
#top .no_margin.av_two_third {
	width: 66.6%;
}
#top .no_margin.av_three_fourth {
	width: 75%;
}
#top .no_margin.av_four_fifth {
	width: 80%;
}
#top .no_margin.av_one_sixth {
	width: 16.666%;
}
#top .no_margin.av_one_seventh {
	width: 14.285714285714286%;
}
#top .no_margin.av_one_eighth {
	width: 12.5%;
}
#top .no_margin.av_one_nineth {
	width: 11.11111111111111%;
}
#top .no_margin.av_one_tenth {
	width: 10%;
}

/* Columns with equal height
================================================== */

#top .flex_column_table{
	display: table;
	table-layout: fixed;
	width: 100%;
	float: left;	/* added 4.7.4.1 to fix equal height after individual height columns  */
}

#top .flex_column_table.av-equal-height-column-flextable:not(:first-child){
	margin-top: 50px;  /* added 4.7.5.1 to fix inconsistent layout equal height after individual height columns but remove when first entry  */
}

#top .flex_column_table_cell{
	float: none;
	display: table-cell;
}

#top .av-flex-placeholder{
	display: table-cell;
	width: 6%;
}

.av-align-top{
	vertical-align: top;
}

.av-align-middle{
	vertical-align: middle;
}

.av-align-bottom{
	vertical-align: bottom;
}

/*breaking point logic for the common  1/4 element in ipads. makes sure that it converts to a 1/2 element in most cases*/
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth.flex_column_div,
	.responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .avia-content-slider-inner .av_one_fourth.flex_column_div{
		margin-left: 4%;
		width: 48%;
	}

	/* added 4.8.9.1  broken layout with 25% width  https://kriesi.at/support/topic/4-column-layout-issues-on-ipad/  */
	.responsive #top .no_margin.av_one_fourth{
		margin-left: 0;
		width: 50%;
	}

	.responsive .av_one_fourth.first.el_before_av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_half.first + .av_one_fourth.el_before_av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_half.flex_column_div,
	.responsive .avia-content-slider-inner .av_one_fourth.first.flex_column_div{
		margin-left: 0%;
		clear: both;
	}

	.responsive .av_one_half.first.el_before_av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_half.flex_column_div{
		width: 100%;
	}

	.responsive .av_one_half.first + .av_one_fourth.flex_column_div,
	.responsive .av_one_half.first + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth.flex_column_div,
	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_half.flex_column_div{
		margin-top: 30px;
	}
}
