/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* CHECKBOX CONTACT */
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked,
[type="radio"]:not(:checked),
[type="radio"]:checked {
  position: absolute;
  left: -9999px;
}

[type="checkbox"]:not(:checked) + span,
[type="checkbox"]:checked + span,
[type="radio"]:not(:checked) + span,
[type="radio"]:checked + span {
  position: relative;
  padding-left: 2.5em;
  cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + span:before,
[type="checkbox"]:checked + span:before,
[type="radio"]:not(:checked) + span:before,
[type="radio"]:checked + span:before {
  content: '';
  position: absolute;
  left: 0; top: -2px;
  width: 1.5em; height: 1.5em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + span:after,
[type="checkbox"]:checked + span:after,
[type="radio"]:not(:checked) + span:after,
[type="radio"]:checked + span:after {
  content: '\f00c';
  position: absolute;
  top: .15em; left: .22em;
  font-size: 1.3em;
  line-height: 0.8;
  color: #bd9a00;
  transition: all .2s;
  font-family: "Font Awesome 5 Pro";
  -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + span:after,
[type="radio"]:not(:checked) + span:after {
  opacity: 0;
  transform: scale(0);
}
[type="checkbox"]:checked + span:after,
[type="radio"]:checked + span:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + span:before,
[type="checkbox"]:disabled:checked + span:before,
[type="radio"]:disabled:not(:checked) + span:before,
[type="radio"]:disabled:checked + span:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
[type="checkbox"]:disabled:checked + span:after,
[type="radio"]:disabled:checked + span:after {
  color: #999;
}
[type="checkbox"]:disabled + span,
[type="radio"]:disabled + span {
  color: #aaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + span:before,
[type="checkbox"]:not(:checked):focus + span:before ,
[type="radio"]:checked:focus + span:before,
[type="radio"]:not(:checked):focus + span:before {
  border: 2px dotted #bd9a00;
}

/* hover style just for information */
[type="checkbox"]:checked:focus + span:hover:before {
  border: 2px solid #bd9a00!important;
}

.wpcf7 p {margin: 0;}

.wpcf7 .wpcf7-list-item {
	margin-bottom: 20px;
	margin-top: 20px;
	margin-left: 0;
}

@media(min-width: 801px) {
   .wpcf7 .wpcf7-list-item + .wpcf7-list-item {
    margin-left: 30px!important;
  } 
}

@media(max-width: 800px) {
   .wpcf7 .wpcf7-list-item + .wpcf7-list-item {
    display:block !important;
  } 
}


.wpcf7 .conditions {font-size: 12px;line-height: 16px;}

.wpcf7 .wpcf7-submit {
	padding-left: 100px!important;
    padding-right: 100px!important;
    margin-bottom: 15px!important;
    margin-top: 20px!important;
    background: #ffffff!important;
    border:0!important;
    color: #bd9a00!important;
}

.wpcf7-submit:hover {
	box-shadow: inset 0 0 50px 50px rgba(0,0,0,.3)!important;
	background: #bd9a00!important;
    border:0!important;
    color: #fff!important;
}

.modal .wpcf7 p {margin-bottom: 10px;}

.modal .wpcf7 .wpcf7-list-item {
	margin-bottom: 0;
	margin-top: 10px;
}

.modal .wpcf7 .wpcf7-submit {
    background: #bd9a00!important;
    color: #fff!important;
}
