/* Public Section CSS */

/* Page structure and content  */

main {

  flex: 1;

}

html {
	margin: 0;
	background-color: #222;

}

body {

  display: flex;
  min-height: 100vh;
  flex-direction: column;

	font-size: 1em;	
	font-family: Assistant, Calibri, 'Arial Narrow', sans-serif;
	color: #444;
	background-color: #e7e7e7;
}

body > main {
	box-shadow: inset 0 0 2rem rgba(0, 0, 0, .3);
}

#main #benefits-content h2 {
	color: #666;
}

#main {
	margin-top: 3rem;
	padding: 1rem 2rem;
	margin-bottom: 2rem;
}

body main #main {
	border-radius: 0px;
	background-color: #fff;
	border-color: #f00;
}

#login #main, 
#forgot #main, 
#logout #main  {
	max-width: 30rem;
}

#error #main  {
	max-width: 30rem;
}

#resend #main, 
#feedback #main {
	margin: 5rem auto;
	max-width: 40rem;
}

#main div#first.container {
	z-index: 0;
}

 /* Footer elements */

footer {

	background-color: #2C1C15;
	background-image: url('../i/zamboni.jpg'); 
	background-attachment: scroll;
	background-position: 30% 40%;
	background-repeat: no-repeat;
	background-size: cover;
}

footer.no-auth {


}


/* Navigation Styles */

nav.navbar {
	height: auto;
}

nav a.navbar-brand.h2 {
	font-family: Assistant, Calibri, Arial, sans-serif;
	font-size: 1em;
	font-weight: 500;
	color: red;
	letter-spacing: 0.15em;
}

h3.h3-brand {
	letter-spacing: 0.1em;
}

.dropdown-menu .dropdown-item-text { 
	background-color:#eee;
}


/* Alert Styles */

.alert.alert-cookies {
	position: fixed;
	z-index: 100;
	margin: 0 auto; /* Will not center vertically and won't work in IE6/7. */
	bottom: 0;
	left: 0;
	right: 0;
}


#message-bar {
	background-color: #e9e9e9;
}

.notification {
	width: 100%;
}
  
.notification p {
	margin: 0 10px;
	padding: 10px;
}
  
tr.edit-highlight {
	background-color: #ffffdd;
}

/* Link Styles */

a,
a:focus,
a:hover {
  color: #6A5E5E;
  text-decoration: underline;
}

footer a, a.btn, a.dropdown-item, a.navbar-brand, a.nav-link, a.page-link {
  text-decoration: none;
}

/* Font Styles */

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
	font-family: Assistant, Calibri, Arial, sans-serif;
	font-weight: 500;
	color: #444;
}

h1 {
	color: #BE1E2D;
}

h2 {
	color: #000;
}

p {
	color: #777;
}

/* Page specific Styles */

#manage-account .tx-banner h3 {
	opacity: 85%;
} 

#section-head {
	background-color: #18893E;
}

#survey label {
	color: #333;
	padding-left: 0.25rem;

}

/* Back to Top Styles */

.back-to-top {
	position: fixed;
	bottom: 50px;
	right: 40px;
	z-index: 3;
	display: none;
	z-index:1000;
}

.back-to-top:hover {
	opacity:0.75;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top i {
	font-size: 60px;
	opacity: 0.65;
	color: #008080;
}

a.back-to-top {
	font-size: 90%;
	opacity: 0.65;
	color: #008080;
	text-decoration: none;
}

a.back-to-top span {
	display: none;
}

/* Form Styles */

#form-contents {
	padding: 15px;
}



.form-control::-webkit-input-placeholder { color: #666; opacity: 0.5; }  /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: #666; opacity: 0.5; }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: #666; opacity: 0.5; }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: #666; opacity: 0.5; }  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: #666; opacity: 0.5; }  /* Microsoft Edge */

label {
	font-weight: 500;
	color: #030;
	font-size: 90%;
}

.form-signin {
  width: 100%;
  max-width: 90%;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

input.custom-file-input {
	border: 1px solid red;
}

.was-validated {
    .group-invalid + .invalid-feedback {
        display: block;
    }
}

.datepicker .datepicker-days table tr td.day {
	font-weight: 600;
}


/* form honeypot */

#test_email {
	position: absolute;
	left: -999em;
}


/* Styling for errors on form*/

.form_error label {
	color: #D83D5A;
}
.form_error span {
	display: block;
	color: #D83D5A;
}
.form_error input {
	border: 1px solid #D83D5A;
}

/* Styling in case no errors on form*/

.form_success span {
	display: inline;
	color: green;
}
.form_success input {
	border: 1px solid green;
}
#error_msg {
  color: red;
  text-align: center;
  margin: 10px auto;
}


/* Formatting for dividers */

.divider {
	display: flex;
	flex-direction: row;

}

.divider:before, .divider:after {
     content: "";
     flex: 1 1;
     border-bottom: 1px solid #777;
     margin: auto;
}


/* Formatting for profile progress bars */

.step-container {
      width: 600px;
      float: right;
/*      margin: 100px auto; */
  }
  .progressbar {
      counter-reset: step;
  }
  .progressbar li {
      list-style-type: none;
      width: 20%;
      float: left;
      font-size: 12px;
      position: relative;
      text-align: center;
      text-transform: uppercase;
      color: rgba(0, 0, 0, 0.7);
      z-index: 10;
  }
  .progressbar li:before {
      width: 35px;
      height: 35px;
      content: counter(step);
      counter-increment: step;
      line-height: 30px;
      border: 3px solid #555;
      display: block;
      text-align: center;
      margin: 0 auto 10px auto;
      border-radius: 50%;
      background-color: white;
      z-index: 100;
  }
  .progressbar li:after {
      width: 100%;
      height: 3px;
      content: '';
      position: absolute;
      background-color: #555;
      top: 16px;
      left: -30%;
      z-index: -50;
  }
  .progressbar li:first-child:after {
      content: none;
  }
  .progressbar li.active {
      color: black;
      font-weight: 900;
  }
  .progressbar li.active:before {
      border-color: black;
  }

  .progressbar li.active + li:after {
      background-color: black;
  }

  .progressbar li.done {
      color: #55b776;
      font-weight: 700;
  }
  .progressbar li.done:before {
/*      border-color: #55b776; */
	border-color: #fff;
  }
  .progressbar li.done + li:after {
      background-color: rgba(255,255,255,0.6);
  }

  .progressbar li a {
      color: #55b776;
/*      border: 1px solid red; */
	}



 /* Help Page elements */

.accordion-section .panel-default > .panel-heading {
    border: 0;
    background: #fff;
    padding: 0;
}
.accordion-section .panel-default .panel-title a {
    top: 10px;
    display: block;
    font-size: 1.5rem;
    color: #BE1E2D;
}

.accordion-section .panel-default .panel-title a.collapsed {
    color: grey;
}
.accordion-section .panel-default .panel-title a:after {
    font-family: 'Font Awesome 5 Free';

	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;

	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f106";

    font-size: 2rem;

    color: #BE1E2D;
    float: right;

}
.accordion-section .panel-default .panel-title a.collapsed:after {
    content: "\f107";
    color: grey;
}
.accordion-section .panel-default .panel-body {
    font-size: 1.2rem;
}


 /* Verify Code elements */

#code-verification #main {
	max-width: 80vw;
}

#wrapper {
  box-sizing: border-box;
  color: #333;
}

#wrapper form {
}
      
#wrapper input {
	
	margin: 1px;
	text-align: center;
	line-height: ;
	font-size: 1.7em;
	border: solid 1px #777;
	box-shadow: 0 0 7px #ddd inset;
	outline: none;
	width: 1em;
	transition: all .2s ease-in-out;
	border-radius: 7px;
}
        
#wrapper input:focus {
	border-color: blue;
    box-shadow: 0 0 7px rgba(0,123,255,0.5) inset;
}
        
#wrapper input:selection {
	background: rgba(0,123,255,0.9);
}

/* Pricing Page
------------------------- */

#pricing .card-body li, #plans .card-body li {
  padding-bottom: 5px;
  margin-left: 20px;
  font-size: 0.85em;
}

#pricing .card-body ul li:before, #plans .card-body ul li:before {    
    font-family: 'Font Awesome 5 Free';
    content: '\f058';
    margin:0 10px 0 -25px;
    color: #BE1E2D;
}

table {
	font-size: 90%;
}


/* Profile List draggable
------------------------- */

.list-group-item {
	cursor: move;
	cursor: -webkit-grabbing;
	user-select: none;
}




/* Profile Cards on Manage Page
------------------------- */

#manage-account .card-img-top {
    width: 100%;
    height: 120px;
    margin-top: 0;
    object-fit: cover;
}

.card-img-caption {
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}
  
.card-img-caption .card-img-top {
  z-index: 0;
}

.card-img-caption .card-text {
  text-align: center;
  width: 100%;
  margin: -15px 15px;
  position: absolute;
  z-index: 1;
}

#manage-account .card-img-caption i.fas, #profiles .card-img-caption i.fas {
	position: absolute;
	top: 0;
	right: 0;
	background-color: white;
	display: inline-block;
	border-radius: 50%;
	box-shadow: 0px 0px 5px #bbb;
	padding: 0.25em;

}

.custom-control-input-green:focus~.custom-control-label::before {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.custom-control-input-green:checked~.custom-control-label::before {
  border-color: #28a745 !important;
  background-color: #28a745 !important;
}

.custom-control-input-green:focus:not(:checked)~.custom-control-label::before {
  border-color: #5bd778 !important;
}

.custom-control-input-green:not(:disabled):active~.custom-control-label::before {
  background-color: #d6f5dd !important;
  border-color: #d6f5dd !important;
}


/* Responsive Styles */


/* Bootstrap sizes + an xxl large size */

/* Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) 
{

	body main #main {
		border-radius: 12px;
	}

	#wrapper input {
		font-size: 2em;
	}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px)  
{

	body {
		padding-bottom: 0px;
	}

	#manage-account .card-img-top {
		height: 10vw;
	}

	#wrapper input {
		font-size: 6vw;
	}


}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px)   
{

	body#register div:first-child #main {
		background: linear-gradient(90deg, #ffffff 50%, #444 50%);
	}

	.container #benefits-content h5, .container #benefits-content ul li {
		color: #eee;
	}

	#main #benefits-content h2 {
		color: #ccc;
	}



}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px)  
{

}


/* Extra Large screens ----------- */
@media only screen 
and (min-width : 1800px) 
{


}



