/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.5
Text Domain:  Avada
*/
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none
    }

::selection {
    background: #b3d4fc;
    text-shadow: none
    }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio, canvas, iframe, img, svg, video {
    vertical-align: middle
    }

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0
    }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical
    }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
    text-align: center;
    background: #ccc;
    color: #000;
    padding: 8px 0 8px 0
    }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.normal {
    font-size: 14px
    }

.medium {
    font-size: 18px
    }

.large {
    font-size: 24px
    }

.extra-large {
    font-size: 36px
    }

.col-7 {
    width: 70%
    }

.col-5 {
    width: 50%
    }

.col-3 {
    width: 30%
    }

input[type=text] {
    width: 400px;
    font-size: 14px;
    display: inline-block;
    padding: 8px 10px 8px 10px;
    border: 1px solid rgba(151, 151, 151, 0.12);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 2px 3px 0 0
    }

input[type=text]:hover {
    background: rgba(151, 151, 151, 0.08);
    cursor: pointer
    }

.hk-search, .hk-search * {
	list-style-type: none;
	list-style: none
}

/* Intro */
div.intro {
    width: 100%;
    overflow: hidden;
    }

div.intro .inner {
    width: 20%;
    margin: 0 auto
    }

div.intro .col-7 {
    float: left
    }

div.intro .col-5 {
    float: right
    }

div.intro ol, div.intro ul{
    margin: 10px 0 10px 5px;
    font-size: 14px;
}

div.intro ol, div.intro ol li{
    list-style-type: decimal;
    list-style-position: inside;
    }

div.intro ul, div.intro ul li{
    list-style-type: circle;
    list-style-position: inside;
    }

div.intro ul li, div.intro ol li{
    line-height: 1.42;
}

div.intro .entries {
    width: 100%;
    height: 100px;
    text-align: center;
    display: table;
    }

div.intro .entries .inner {
    display: table-cell;
    vertical-align: middle
    }

div.intro .entries .inner input[type=text] {
    width: 90%;
    }

div.intro .entries .inner input[type=submit] {
    width: 90%;
	margin: 10px auto 0 auto;
	height: 40px;
	outline: 0;
	border: 0;
	line-height: 30px;
 	display: inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background: #a0ce4e;
	color: #fff;
	padding: 0 40px 0 40px;
	cursor: pointer;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
    }

div.intro .entries .inner h2 {
    margin: 0 0 5px 0
    }

div.intro .col-7 h3 {
    margin: 0 0 20px 0
    }

div.intro .col-7 p {
    line-height: 20px;
    padding: 0 5px 0 0
    }

/* Search filter */
div.search-filter {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(151, 151, 151, 0.12);
    overflow: hidden;
    }

div.search-filter .inner {
    width: 100%;
    padding: 50px 0 50px 0;
    margin: 0 auto
    }

div.search-filter h3 {
    float: left
    }

div.search-filter img {
    float: right
    }

div.search-filter p.minimize {
    float: right;
    margin: 5px 0 0 0;
    text-decoration: underline
    }

div.search-filter p.minimize:hover {
    cursor: pointer
    }

div.search-filter .filters {
    width: 100%;
    border-top: 1px solid rgba(151, 151, 151, 0.12);
    border-bottom: 1px solid rgba(151, 151, 151, 0.12);
    margin: 20px 0 0 0;
    float: left
    }

div.search-filter .filter {
    width: 100%;
    padding: 20px 0 20px 0;
    float: right;
    border-top: 1px solid rgba(151, 151, 151, 0.12)
    }

div.search-filter .filter:first-child {
    border-top: none
    }

div.search-filter .filter:last-child {
    padding: 20px 0 20px 0
    }

div.search-filter .filter .title {
    float: left;
    text-align: left;
    margin: 9px 0 0 0;
    font-weight: bold
    }

div.search-filter .alternatives {
    width: 100%;
    float: right
    }

div.search-graph .alternatives {
    width: 100%;
    float: left
    }

div.search-filter .alternative, .alternative {
    display: inline-block;
    padding: 5px 20px 5px 20px;
    border: 1px solid rgba(151, 151, 151, 0.12);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 3px 3px 0 0
    }

div.search-filter .alternative p, .alternative p {
    float: left;
    cursor: pointer
    }

div.search-filter .alternative span, .alternative span {
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 7px 2px 7px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 10px 0 0 10px;
    float: right;
    cursor: pointer
    }

div.search-filter .alternative:hover {
    background: rgba(151, 151, 151, 0.08);
    cursor: pointer
    }

div.search-filter .add p {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity: 0.5
    }

div.search-filter .pressed {
    background: #a0ce4e;
    color: #fff
    }

div.search-filter .pressed:hover {
    background: #a0ce4e
    }

/* Search results */
div.search-results h3 {
    text-align: center;
    margin: 0 0 50px 0;
    float: none;
    font-weight: normal
    }

div.search-results h3 span {
    font-weight: bold
    }

div.search-results table {
    width: 100%;
    overflow: hidden;
    }

div.search-results .t-wrapper{
    overflow: hidden;
    overflow-x: hidden;
}

div.search-results thead {
    background: #363839;
    color: #FFF;
    }

div.search-results thead th {
    text-align: left;
    height: 50px;
    font-size: 16px;
    color: #fff;
    padding: 0 15px 0 15px
    }

div.search-results thead th a{
    color: #fff;
}

div.search-results tbody td {
    text-align: left;
    height: 40px;
    font-size: 14px;
    padding: 0 15px 0 15px
    }

div.search-results tbody tr:nth-child(even) {
    background: #FBFBFB
    }

div.search-results .cta-big .inner h4 {
    margin: 0;
    float: left;
    }

div.search-results .cta-big .inner i {
    float: left;
}

/* Search compare */
div.search-compare h3 {
    text-align: left;
    margin: 0 0 40px 0;
    float: none;
    font-weight: bold;
    }

/* Search graph */
div.search-graph h3 {
    text-align: left;
    margin: 30px 0 30px 0;
    float: left;
    font-weight: normal;
    clear: both;
    }

div.search-graph img {
    margin: 30px 0 30px 0;
    float: right;
	height: 68px;
	width: auto;
    }

div.search-graph .graph {
    width: 100%;
    border: 1px solid rgba(151, 151, 151, 0.12);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    float: left;
    position: relative;
	padding-bottom: 20px;
    }

canvas#chart{
    width: 940px;
    height: 400px;
    margin: 50px 0 50px 0;
}

div#legend{
    padding: 0 20px 20px 20px;
}

div#legend ul{
    padding: 20px 0 20px 0;
    border-top: 1px solid rgba(151, 151, 151, 0.12);
}

div#legend ul li{
    margin: 0 10px 6px 0;
    float: left;
}

div#legend ul li:last-child{
    margin: 0;
}

div#legend ul li span{
    float: left;
    width: 5px;
    height: 5px;
    margin: 6px 6px 0 0;
}

div.search-filter.search-graph img#print {
	width: 50px;
    height: 50px;
}

div.search-graph .icons {
    float: left;
    margin: 16px;
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    }

div.search-graph .icons li {
    float: left;
    margin: 0 10px 0 0;
    height: 17px;
    }
div.search-graph .icons li img {
    float: left;
    margin: 0 10px 0 0;
    height: 17px;
	width: 25px;
    height: 25px;
    }
/* Search Graph Table */
.graph #info table{
	font-size: 14px;
	}
.graph #info table tbody tr td{
	width: 26%;
	}
.graph #info table tbody tr:first-child{
	height: 3em;
	background-color: #363839 !important;
	color: #fff;
	font-weight: 600;
	font-size: 1.1em;
	}
.graph #info table tbody tr:nth-child(odd){
	background-color: #fbfbfb;
	}
.graph #info table tbody tr td:first-child{
	width: 22%;
	}
.graph #info table tbody tr:not(:first-child) td:first-child{
    color: #a1a1a1;
    padding-left: 1em;
    font-weight: 200;
    width: 19%;
	}
.graph #info table tbody tr:not(:first-child){
	height: 2.5em;
	}

/* Active State - Legend */
.graph #legend ul.radar-legend li.active a{
	color: white;
    padding: 0.25em 0.5em;
    background-color: #363839;
	}

#age-test .alternatives, #year-test .alternatives {
    min-height: 80px;
    overflow: auto
    }

#slider-age, #slider-year {
    width: 92%;
    margin: 10px 0 0 16px
    }

.noUi-connect {
    background: #a0ce4e;
}

.cta-big {
    width: 100%;
    text-align: center;
    overflow: hidden;
    clear: both;
    }

.cta-big .inner-b, .inner-b {
    width: auto;
    margin: 50px auto 0 auto;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #a0ce4e;
    color: #fff;
    cursor: pointer;
    }

.cta-big .comp-b{
    margin: 50px auto 50px auto;
    }

.cta-big .disabled{
    background: rgba(0,0,0,0.35);
    margin: 50px auto 25px auto;
    }

.disabled-p{
    text-align: center;
    margin: 0 0 50px 0;
    }

.cta-big .deny{
    background:  rgba(231, 76, 60,1.0);
	padding: 15px;
    }

.cta-big .inner-b h4 {
    margin: 0;
    float: right;
    padding: 10px 20px 10px 20px
    }

.selected{
    float: left;
    margin: 20px 0 0 0;
    color: rgba(0,0,0,0.70);
    font-size: 14px;
}

.selected span{
    font-weight: bold;
}

.selected ul li{
    padding: 10px 12px 10px 12px;
    float: left;
}

.selected ul li:first-child{
    padding-left: 0;
}

.selected ul li a{
    font-weight: normal;
}

.pagination{
    float: right;
    margin: 20px 0 0 0;
}

.pagination ul{}

.pagination ul li{
    float: left;
    padding: 10px 12px 10px 12px;
}

.pagination ul li a{
    font-weight: normal;
}

.pagination ul li.disabled a{
    color: rgba(0,0,0,0.40);
}

.pagination ul li.active{
    background: rgba(0,0,0,0.04);
    border-right: none;
}

.pagination ul li.active a{
    color: rgba(0,0,0,0.40);
}

.dialog{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.30);
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    display: table;
}

.dialog .inner{
    display: table-cell;
    vertical-align: middle;
}

.dialog .inner form{
    width: 730px;
    margin: 0 auto;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.dialog .d-cta{
    padding: 20px;
    text-align: center;
}

.dialog .d-cta .cta{
    text-align: left;
}

.dialog .d-header{
    padding: 20px;
    background: #FBFBFB;
    text-align: center;
    border-bottom: 1px solid rgba(151, 151, 151, 0.12);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.dialog .d-results{
    width: 690px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(151, 151, 151, 0.12);
    border-bottom: 1px solid rgba(151, 151, 151, 0.12);
}

.dialog .d-buttons{
    width: 690px;
    margin: 0 auto;
    padding: 20px 0 20px 0;
    overflow: hidden;
}

.dialog .d-buttons .inner-b{
    float: right;
    margin: 0;
}

.dialog .d-buttons .inner-b:first-child{
    margin: 0 0 0 20px;
    padding: 0px 20px 0px 20px
}

.cancel{
    background: #CA3333;
}

.tooltip {
	display: block;
	position: absolute;
	border: 1px solid #D9D9D9;
	font: 400 12px/12px Arial;
	border-radius: 3px;
	background: #fff;
	top: -43px;
	padding: 5px;
	left: -9px;
	text-align: center;
	width: 50px;
}
.tooltip strong {
	display: block;
	padding: 2px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers:
 */
.hidden {
    display: none !important
    }

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
    }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto
    }

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
    visibility: hidden
    }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before, .clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
    }

.clearfix:after {
    clear: both
    }
