/******************************************************************************
 * * *  IMPORTS  * * * * * * * * * * * * * * * * * * * * * * * * * * * *  * * *
 ******************************************************************************/

/***  BROWSER RESETS  ***/
@import url("normalize.css");

/***  FONTAWESOME  ***/
@import url("../fontawesome/css/all.min.css");

/***  BODY FONT  ***/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700,800&display=swap');


.text-field-wrap, 
.button-field-wrap {
  border-radius: 8px;
  margin-top: 5px;	
  position: relative;
  display: block;
  background-color: white;
  font-weight: normal;
}

.text-field-wrap:not(:last-child) {margin-bottom: 25px;}

.text-field-wrap input, 
.text-field-wrap textarea, 
.text-field-wrap select {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    margin: 0;
    background-color: inherit;
    box-sizing: border-box;
    font-weight: normal;
    color: #707070;
}

.text-field-wrap input:disabled, 
.text-field-wrap textarea:disabled, 
.text-field-wrap select:disabled {background: rgba(0,0,0,0.05);}

.text-field-wrap select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url("../fontawesome/svgs/solid/caret-down.svg") top 50% right 5px no-repeat;
  background-size: 10px auto;
}

.text-field-wrap .label-text {
    position: absolute;
    display: block;
    top: 8px;
    left: 20px;
    font-weight: normal;
    background-color: inherit;
    opacity: 0.7;
    transition: all 200ms ease-in-out;
}

.text-field-wrap input:disabled + .label-text, 
.text-field-wrap textarea:disabled + .label-text, 
.text-field-wrap select:disabled + .label-text {background: none;}

.text-field-wrap select + .label-text, 
.text-field-wrap select option.label-option {display: none;}

.text-field-wrap .helper-text {
  font-size: 0.86em;
  padding-left: 18px;
  opacity: 0.75;
}

.text-field-wrap input:focus, 
.text-field-wrap textarea:focus, 
.text-field-wrap select:focus {
  border: 1px solid #175E8E;
}

.text-field-wrap.field-active input + .label-text, 
.text-field-wrap input:focus + .label-text, 
.text-field-wrap.field-active textarea + .label-text, 
.text-field-wrap textarea:focus + .label-text, 
.text-field-wrap.field-active select + .label-text, 
.text-field-wrap select:focus + .label-text {
  top: -0.75em;
  left: 16px;
  display: block;
  padding-left: 6px;
  padding-right: 6px;
  font-weight: bold;
  font-size: 0.86em;
  opacity: 1;
  color: #175E8E;
  background-color:#FFFFFF;
}

/* Field With Icons */

.text-field-wrap.left-icon input, 
.text-field-wrap.left-icon textarea, 
.text-field-wrap.left-icon select {padding-left: 53px;}

.text-field-wrap.left-icon .label-text {left: 53px;}

.text-field-wrap.left-icon input:focus, 
.text-field-wrap.left-icon textarea:focus, 
.text-field-wrap.left-icon select:focus {padding-left: 52px;}

.text-field-wrap.left-icon .fal {
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: calc(1em + 6px);
}

.text-field-wrap.right-icon input, 
.text-field-wrap.right-icon textarea, 
.text-field-wrap.right-icon select {padding-right: 53px;}

.text-field-wrap.right-icon input:focus, 
.text-field-wrap.right-icon textarea:focus, 
.text-field-wrap.right-icon select:focus {padding-right: 52px;}

.text-field-wrap.right-icon .fal {
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: calc(1em + 6px);
}
.text-field-wrap.right-icon.left-icon .fal:nth-of-type(1) {
  position: absolute;
  top: 8px;
  left: unset;
  right: 18px;
  font-size: calc(1em + 6px);
}
.text-field-wrap.right-icon.left-icon .fal:nth-of-type(2) {
  position: absolute;
  top: 8px;
  left: 18px;
  right: unset;
  font-size: calc(1em + 6px);
}
.text-field-wrap.field-success .fal.val-Icon {
  position: absolute;
  top: 8px;
  right: 18px;
  left: initial;
  font-size: calc(1em + 6px);
}
.text-field-wrap.field-error .fal.unval-Icon {
  position: absolute;
  top: 8px;
  right: 18px;
  left: initial;
  font-size: calc(1em + 6px);
}
.text-field-wrap.field-success .fal.unval-Icon {
  display:none;
}
.text-field-wrap.field-error .fal.val-Icon {
  display:none;
}

/* Field Success */

.text-field-wrap.field-success input, 
.text-field-wrap.field-success textarea {
  border-color: #85A73C;
  padding-right: 50px;
}

.text-field-wrap.field-success .label-text, 
.text-field-wrap.field-success.field-active input + .label-text, 
.text-field-wrap.field-success input:focus + .label-text, 
.text-field-wrap.field-success.field-active textarea + .label-text, 
.text-field-wrap.field-success textarea:focus + .label-text {color: #85A73C;}

.text-field-wrap.field-success .fal:before {color: #85A73C;}


/* Field Error */

.text-field-wrap.field-error input, 
.text-field-wrap.field-error textarea {
  border-color: #B83C26;
  padding-right: 50px;
}

.text-field-wrap.field-error .label-text, 
.text-field-wrap.field-error.field-active input + .label-text, 
.text-field-wrap.field-error input:focus + .label-text, 
.text-field-wrap.field-error.field-active textarea + .label-text, 
.text-field-wrap.field-error textarea:focus + .label-text {color: #B83C26;}

.text-field-wrap.field-error .helper-text {color: #B83C26;}

.text-field-wrap.field-error .fal:before {color: #B83C26;}

.text-field-wrap.hidden-icons:not(.left-icon) .fal {
  display:none;
}

.text-field-wrap.hidden-icons.left-icon.right-icon .fal:first-of-type {
  display:none;
}

.text-field-wrap.field-error .fal.unval-Icon{
  display:block;
}
.text-field-wrap.field-success .fal.val-Icon{
  display:block;
}
.text-field-wrap:not(.field-success):not(.field-error) .fal:nth-last-child(3){
  display:block;
}



/* Prefix / Suffix */

.text-field-wrap.has-prefix input, 
.text-field-wrap.has-prefix textarea, 
.text-field-wrap.has-prefix select, 
.text-field-wrap.has-suffix input, 
.text-field-wrap.has-suffix textarea, 
.text-field-wrap.has-suffix select {color: rgba(0,0,0,0);}

.text-field-wrap.has-prefix input:focus, 
.text-field-wrap.has-prefix textarea:focus, 
.text-field-wrap.has-prefix select:focus, 
.text-field-wrap.has-prefix.field-active input, 
.text-field-wrap.has-prefix.field-active textarea, 
.text-field-wrap.has-prefix.field-active select, 
.text-field-wrap.has-suffix input:focus, 
.text-field-wrap.has-suffix textarea:focus, 
.text-field-wrap.has-suffix select:focus, 
.text-field-wrap.has-suffix.field-active input, 
.text-field-wrap.has-suffix.field-active textarea, 
.text-field-wrap.has-suffix.field-active select {color: #707070;}

/* Radio Buttons */

.button-field-wrap input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  background-color: inherit;
  height: 20px;
  width: 20px;
  border: 1px solid #999;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  margin-right: 7px;
  outline: none;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.button-field-wrap input[type="radio"]:checked {border: 2px solid #175E8E;}

.button-field-wrap input[type="radio"]:checked::before {
     position: absolute;
     top: 3px;
     left: 3px;
     width: 10px;
     height: 10px;
     -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
     border-radius: 50%;
     background-color: #175E8E;
     content: '';
     transform: rotate(40deg);
}

/* Checkboxes */

.button-field-wrap input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  background-color: inherit;
  height: 20px;
  width: 20px;
  border: 1px solid #999;
  border-radius: 3px;
  margin-right: 7px;
  outline: none;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.button-field-wrap input[type="checkbox"]:checked {border: 2px solid #175E8E;}

.button-field-wrap input[type="checkbox"]:checked::before {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: 12px;
  content: "\f00c";
  color: #175E8E;
}

/* Disabled Buttons */

.button-field-wrap input[type="radio"]:disabled, 
.button-field-wrap input[type="checkbox"]:disabled {
  background: rgba(0,0,0,0.05);
  border-color: #c9c9c9;
  cursor: default;
}

/* Checkbox Slider */
/* The switch - the box around the slider */
.ToggleSwitch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 25px;
}
/* Hide default HTML checkbox */
.ToggleSwitch input {display:none;}
/* The slider */
.ToggleSlider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin-bottom: 0px;
	background-color: red;
	-webkit-transition: .4s;
	transition: .4s;
}
.ToggleSlider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	margin-bottom: 0px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .ToggleSlider {
	background-color: green;
}
input:focus + .ToggleSlider {
		box-shadow: 0 0 1px green;
}
input:checked + .ToggleSlider:before {
	-webkit-transform: translateX(25px);
	-ms-transform: translateX(25px);
	transform: translateX(25px);
}
/* Rounded sliders */
.ToggleSlider.ToggleRound {
	border-radius: 25px;
}
.ToggleSlider.ToggleRound:before {
	border-radius: 50%;
}
.checkboxTextLabel {
	position: relative;
    padding: 5px;
    top: -8px;
}
.note {
  width: 500px;
  margin: 50px auto;
  font-size: 1.1em;
  color: #333;
  text-align: justify;
}
.DropAreaClass {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 100%;
  padding: 20px;
}
.DropAreaClass.highlight {
  border-color: purple;
}
.gallery {
  margin-top: 10px;
}
.FileUploadButton {
  display: inline-block;
  padding: 10px;
  background: #ccc;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.FileUploadButton:hover {
  background: #ddd;
}
.fileElem {
  display: none !important;
}
.galleryItem {
	display:inline-block;
	padding:5px;
	margin-right: 20px;
}
.galleryItemDelete {
	display: inline-block;
    width: 20px;
    content: url(../../images/Icons/delete-icon.png);
    position: absolute;
	cursor:pointer;
}
/*
CUSTOM MACDON STYLES
*/
.notifications {
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%; 
    display: inline-block;
    padding: 3px;
    text-align: center;
    vertical-align: baseline;
}
/* Conversation Box */
.conversation-box {
  background-color: white;
  border-radius: 10px;
  max-width: 70%;
}
.conversation-box__user-header {
  white-space: nowrap;
}
.conversation-box__user-name {
  font-weight: bold;
}
.conversation-box__date-time {
}
.conversation-box__message {
  color: black;
  display: inline-block;
  hyphens: auto;
}
/* Social Bar */
.social-bar--facebook {
  font-size: 29px !important;
  color: #333;
}
.social-bar--facebook:hover, .social-bar--facebook:focus {
  color: #3b5998;
  text-decoration: none;
}
.social-bar--instagram {
  font-size: 29px !important;
  color: #333;
}
.social-bar--instagram:hover, .social-bar--instagram:focus {
  color: #fb3967;
  text-decoration: none;
}
.social-bar--twitter {
  font-size: 29px !important;
  color: #333;
}
.social-bar--twitter:hover, .social-bar--twitter:focus {
  color: #00aced;
  text-decoration: none;
}
.social-bar--youtube {
  font-size: 29px !important;
  color: #333;
}
.social-bar--youtube:hover, .social-bar--youtube:focus {
  color: #c4302b;
  text-decoration: none;
}