.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin-top: 2em;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: cornflowerblue;
    border-bottom: 1px solid rgba(0,0,0,.125);
    text-align: center;
    color: white;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    text-align: center;
}

.card-font-color{
  color: cornflowerblue;
}
.form {
    display: block;
}

.form-element {
   position: relative;
   margin-top: 1.2em;
   margin-bottom: 1.5em;
}

.form-element > * {
    vertical-align: middle;
}

.form-basic{
    width: 50%;
    text-align: right;
}

.text-center{
    text-align: center !important;
}

.btn-element {
    margin-top: 2em;
    text-align: right;
}

.btn-element-center {
    margin-top: 2em;
    text-align: center;
}

.label-inline {
    display: inline-block;
    text-align: right;
    line-height: 2;
}

.page-comments{
  
  border: solid black 1px;
  width: 80%;

  margin: auto;
}

.comments{
  overflow: scroll;
  text-align: left;
  height: 8em;
}

.comment-input{
  width: 80%;
  height: 10em;
  margin-left: 10%;
  margin-right: 10%;
  font-family: Arial, Helvetica, sans-serif;
}

.comment{
  padding-left: 2em;
  padding-right: 2em;
}

.input-default {
   /*display: block;*/
   width: 20em;
   /*height: 2em;*/
   padding: 6px;
   font-size: 14px;
   line-height: 1.5em;
   color: #555;
   background-color: #fff;
   background-image: none;
   border: 1px solid #ccc;
   border-radius: 4px;
   /*-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
   -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
   transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;*/
   -ms-box-sizing:content-box;
   -moz-box-sizing:content-box;
   -webkit-box-sizing:content-box; 
   box-sizing:content-box;
}

.input-short {
   /*display: block;*/
   width: 4.5em;
   /*height: 2em;*/
   padding: 6px;
   font-size: 14px;
   line-height: 1.5em;
   color: #555;
   background-color: #fff;
   background-image: none;
   border: 1px solid #ccc;
   border-radius: 4px;
   /*-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
   -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
   transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;*/
   -ms-box-sizing:content-box;
   -moz-box-sizing:content-box;
   -webkit-box-sizing:content-box; 
   box-sizing:content-box;
}

.input-medium {
   /*display: block;*/
   width: 14.2em;
   /*height: 2em;*/
   padding: 6px;
   font-size: 14px;
   line-height: 1.5em;
   color: #555;
   background-color: #fff;
   background-image: none;
   border: 1px solid #ccc;
   border-radius: 4px;
   /*-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
   -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
   -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
   transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;*/
   -ms-box-sizing:content-box;
   -moz-box-sizing:content-box;
   -webkit-box-sizing:content-box; 
   box-sizing:content-box;
}

.input-default:focus{
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.input-default::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.input-small{
    width: 100%;
    margin-bottom: 0.656em;
}

.full-search-bar{
    margin: auto;
    text-align: center;
}

.full-search-bar-input{
    /*display: block;*/
    width: 70%;
    height: 2em;
    padding: 2px;
    font-size: 22px;
    line-height: 1.5em;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
    text-align: center;
}

.input-table {
   width: 90% !important;
   box-sizing:border-box;
   -moz-box-sizing:border-box;
}

.form-view:focus {
   box-shadow: none;
   color: transparent;
   text-shadow: 0 0 0 #555;
}

textarea{
  resize: none;
}

.textarea-default {
    overflow: auto;
    width: 20em;
    height: 8%;
}

.textarea-max-width{
    max-width: 24em;
    min-width: 24em;
}

.radio-container {
   display: inline-block;
   width: 20em;
   padding: 6px;
   font-size: 14px;
   line-height: 2em;
   text-align: left;
   border: 1px solid #ccc;
   border-radius: 4px;
}

.radio-container-label{
    color: white;
    padding: 0.5em 0 0.5em 0.8em;
    background: linear-gradient(#777, #444);
}

.radio-container input {
   margin-top: -4px;
   vertical-align: middle;
   margin-left: 2em;
}

.radio-container span {
     display: inline-block;
}

.radio-container-table {
    display: inline-block;
    width: 90%;
    padding: 6px;
    font-size: 14px;
    line-height: 2em;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.radio-container-table input {
    margin-top: -4px;
    vertical-align: middle;
    margin-left: 2em;
}

.radio-container-table span {
    display: inline-block;
}

.btn {
    min-width: 10em;
    padding: .7em;
    /*background: -webkit-linear-gradient(#464646, #000000);
    background: -o-linear-gradient(#464646, #000000);
    background: -moz-linear-gradient(#464646, #000000);
    background: linear-gradient(#464646, #000000);
    color: #ffffff;
    border: 1px solid #000;*/
    border-radius: 5px;
    font: bold 0.75em Arial, Helvetica;
    outline: 0 none;
    cursor:pointer;
}

.btn-submit {
    background: -webkit-linear-gradient(#464646, #000000);
    background: -o-linear-gradient(#464646, #000000);
    background: -moz-linear-gradient(#464646, #000000);
    background: linear-gradient(#464646, #000000);
    color: #ffffff;
    border: 1px solid #000;
    
}

.btn-black {
    background: -webkit-linear-gradient(#464646, #000000);
    background: -o-linear-gradient(#464646, #000000);
    background: -moz-linear-gradient(#464646, #000000);
    background: linear-gradient(#464646, #000000);
    color: #ffffff;
    border: 1px solid #000;

}

.btn-red {
    background: -webkit-linear-gradient(#910000, #FF0000);
    background: -o-linear-gradient(#910000, #FF0000);
    background: -moz-linear-gradient(#910000, #FF0000);
    background: linear-gradient(#910000, #FF0000);
    color: #ffffff;
    border: 1px solid #FF0000;
}

.btn-green {
    background: -webkit-linear-gradient(#006D05, #00910C);
    background: -o-linear-gradient(#006D05, #00910C);
    background: -moz-linear-gradient(#006D05, #00910C);
    background: linear-gradient(#006D05, #00910C);
    color: #ffffff;
    border: 1px solid #00910C;
}

.btn-blue {
    background: -webkit-linear-gradient(#00679B, #00A5FF);
    background: -o-linear-gradient(#00679B, #00A5FF);
    background: -moz-linear-gradient(#00679B, #00A5FF);
    background: linear-gradient(#00679B, #00A5FF);
    color: #ffffff;
    border: 1px solid #00A5FF;
}

.btn-dark-blue {
    background: -webkit-linear-gradient(#2e3b4c, #455972);
    background: -o-linear-gradient(#2e3b4c, #455972);
    background: -moz-linear-gradient(#2e3b4c, #455972);
    background: linear-gradient(#2e3b4c, #455972);
    color: #ffffff;
    border: 1px solid #2e3b4c;
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.8), 0 6px 20px 0 rgba(0, 0, 0, 0.8);
}

.btn-submit:hover {
    background: #04ACEC;
}

.btn-submit:active {
    box-shadow: 0px 0px 7px #303030 inset;
}

.btn-red:hover {
    background: #FF0000;
}

.btn-red:active {
    box-shadow: 0px 0px 7px #303030 inset;
}

.btn-green:hover {
    background: #019E0C;
}

.btn-green:active {
    box-shadow: 0px 0px 7px #303030 inset;
}

.btn-blue:hover {
    background: #04ACEC;
}

.btn-blue:active {
    box-shadow: 0px 0px 7px #303030 inset;
}

.btn-dark-blue:hover {
    background: #2e3b4c;
}

.btn-dark-blue:active {
    box-shadow: 0px 0px 7px #303030 inset;
}

.select-default{
    width: 43%; 
}

.bottom-spacing{
     margin-bottom: 0.365em;
}

.ul-0 li{
   list-style: none;
   text-decoration: none;
}

.text-left{
   text-align: left !important;
}

.input-icon {
   position: relative;
}

.input-icon > i {
   position: absolute;
   display: block;
   transform: translate(0, -40%);
   top: 50%;
   pointer-events: none;
   width: 50px;
   text-align: center;
   font-style: normal;
}

.input-icon > input {
   padding-left: 30px;
   padding-right: 0;
}

.input-icon-right > i {
    right: 0;
}

.input-icon-right > input {
   padding-left: 0;
   padding-right: 25px;
   text-align: right;
}

.form-errors {
     margin: auto;
     width: 30%;
     text-align: left;
     /*border: 1px solid red;*/
}

span.form-errors {
   position: absolute;
   width: 100%;
   top: -1.2em;
   right: 0;
   text-align: right;
   color: red;
   font-size: .8em;
}

.is-invalid {
   box-shadow: 0 0 5px red !important;
}

.ui-tooltip, .arrow:after {
   background: black;
   border: 2px solid white;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip img{
    width: 1.5em;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 15em;
    background-color: #3f3f3f;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 1em;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


.form-table-invalid {
  background: red !important;
  box-shadow: 0 0 1px 1px red !important;
}

.ui-tooltip {
   padding: 1em 2em;
   color: white;
   border-radius: 20px;
   font: bold .8em "Helvetica Neue", Sans-Serif !important;
   text-transform: uppercase;
   box-shadow: 0 0 1px 1px black;
  }
  
.arrow {
   width: 70px;
   height: 16px;
   overflow: hidden;
   position: absolute;
   left: 50%;
   margin-left: -35px;
   bottom: -16px;
  }
  
.arrow.top {
   top: -16px;
   bottom: auto;
}

.arrow.left {
   left: 20%;
}

.arrow:after {
   content: "";
   position: absolute;
   left: 20px;
   top: -20px;
   width: 25px;
   height: 25px;
   box-shadow: 0px 0px 0px 0px black;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
}

.arrow.top:after {
   bottom: -20px;
   top: auto;
}

/*progressbar css*/

.bar {
  height: 18px;     
  color: white;       
         background: -moz-linear-gradient(45deg, rgba(0,51,51,1) 0%, rgba(5,193,255,1) 57%, rgba(5,193,255,1) 100%); /* ff3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(0,51,51,1)), color-stop(57%, rgba(5,193,255,1)), color-stop(100%, rgba(5,193,255,1))); /* safari4+,chrome */
    background: -webkit-linear-gradient(45deg, rgba(0,51,51,1) 0%, rgba(5,193,255,1) 57%, rgba(5,193,255,1) 100%); /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(45deg, rgba(0,51,51,1) 0%, rgba(5,193,255,1) 57%, rgba(5,193,255,1) 100%); /* opera 11.10+ */
    background: -ms-linear-gradient(45deg, rgba(0,51,51,1) 0%, rgba(5,193,255,1) 57%, rgba(5,193,255,1) 100%); /* ie10+ */
    background: linear-gradient(45deg, rgba(0,51,51,1) 0%, rgba(5,193,255,1) 57%, rgba(5,193,255,1) 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05c1ff', endColorstr='#003333',GradientType=1 ); /* ie6-9 */ 

}
   
#percentage{
   text-align: center;
}

option:disabled{
  background-color: #ccc;

}

.file-upload-btn{
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-upload-btn + label {
    font-size: .75em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
    cursor: pointer;
    padding: .5em;
    margin-left: 1em;
    /*outline: -webkit-focus-ring-color auto 5px;*/
    /*outline: 1px dotted #000;*/

}

.file-upload-btn:focus + label,
.file-upload-btn + label:hover {
    background-color: #00b9ff;
}


/******************************************/
/*Toggle switch https://codepen.io/cl0udc0ntr0l/pen/xhBtF */
/******************************************/
.switch{
    width: 75px;
    height: 40px;
}

.toggle{
    position: relative;
    border: 2px solid #444249;
    border-radius: 20px;
    -webkit-transition: border-color .6s  ease-out;
    transition: border-color .6s  ease-out;
    box-sizing: border-box;
}

.toggle.toggle-on{
    border-color: rgba(137, 194, 217, .4);
    -webkit-transition: all .5s .15s ease-out;
    transition: all .5s .15s ease-out;
}

.toggle-button{
    position: absolute;
    top: 4px;
    width: 28px;
    bottom: 4px;
    right: 39px;
    background-color: #444249;
    border-radius: 19px; 
    cursor: pointer;
    -webkit-transition: all .3s .1s, width .1s, top .1s, bottom .1s;
    transition: all .3s .1s, width .1s, top .1s, bottom .1s;
}

.toggle-on .toggle-button{
    top: 3px;
    width: 65px;
    bottom: 3px;
    right: 3px;
    border-radius: 23px;
    background-color: #15EF74;
    /*box-shadow: 0 0 16px #4b7a8d;*/
    -webkit-transition: all .2s .1s, right .1s;
    transition: all .2s .1s, right .1s;
}


.toggle-text-on{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 36px;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: normal;
    cursor: pointer;
    -webkit-user-select: none; /* Chrome/Safari */    
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */


    color: rgba(0,0,0,0);
}

.toggle-on .toggle-text-on{
    color: #3b6a7d;
    -webkit-transition: color .3s .15s ;
    transition: color .3s .15s ;
}

.toggle-text-off{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 6px;
    line-height: 36px;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: bold;
    -webkit-user-select: none; /* Chrome/Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    cursor: pointer;

    color: #444249;
}

.toggle-on .toggle-text-off{
    color: rgba(0,0,0,0);
}

/* used for streak effect */
.glow-comp{
    /*position: absolute;
    opacity: 0;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 6px;
    background-color: rgba(75, 140, 106, 0.1);
    box-shadow: 0 0 12px rgba(75, 140, 80, 0.2);
    -webkit-transition: opacity 4.5s 1s;
    transition: opacity 4.5s 1s;*/
}

.toggle-on .glow-comp{
    /*opacity: 1;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;*/
}
/******************************************/
/*END*/
/******************************************/

/******************************************/
/*Toggle switch W3schools https://www.w3schools.com/howto/howto_css_switch.asp */
/******************************************/
.w3switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.w3switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/******************************************/
/*END*/
/******************************************/

@media screen and (max-width: 44em) {
    
    .card-body{
        padding: 0 !important;
    }
    
    .input-default{
        width: 98%;
        height: 32px;
        margin: 0;
        padding: 0;
    }
    
    .radio-container {
          width: 90%;
    }
    
    .label-inline{
        text-align: left;
    }
    
    .input-small{
        width: 98% !important;
        height: 2.6em !important;
        margin-bottom: 0.656em;
    }

    .textarea-max-width{
        width: 98%;
    }

    .btn {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .btn-submit {
        /*font: bold 1.3em Arial, Helvetica;*/
    }

    .form-element{
        max-width: 98%;
        text-align: center;
    }

    .card{
        padding: 0;
        width: 100%;
    }
    .card-header{
        padding: 0;
        margin: 0;
        width: 100%;
        height: 37px;
    }

    .card-body{
        padding: 0;
        width: 100%;
    }

}