



/* Form tool */
.RadioButtons{
  margin: 0 10px;
}
.Checkboxes{
  margin: 0 10px;
}
.CheckBoxContainer{
  color: #fff;
}
.RadioButtonContainer{
  color: #fff;
}

/* Yllläpito */

.requiredSignAdmin{
  color:red;
  padding: 4px 0px 0px 0px;
  font-size: 30px;
  position:absolute;
  right:30px;
}

.requiredSign{
  color:white;
  padding: 4px 0px 0px 0px;
  font-size: 30px;
  position:absolute;
  right: 18px;
  top: 5px;
}

.cke_textarea_inline{
  font-size: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(169, 169, 169);
  padding: 7px;
  border-radius: 5px;
}

#CategoryLinks{
  justify-content: start;
}

#CreateQuestion th:first-child {
  border-right: 1px solid #dee2e6;
}

#AdminNavigation li  a {
  color: #000;
}

#AdminNavigation a.nav-link.active{
  border-bottom: 3px solid #ccc;
  border-right: 3px solid #ccc;

}

.Admin hr{
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(2, 2, 2, 0.27);
}

#admin-tabs li{
  margin-right: 10px;
}

.Admin .fa, .Admin .fas {
    font-size: 21px;
}

.Admin .table td, .Admin .table th {
    vertical-align: inherit;
}


.Admin  .table-responsive-lg{
  overflow:auto;
  line-height: normal;
  margin-bottom:30px;
}

.Admin [type=search] {
    margin-bottom: 10px;
}

td.toiminnot button{
  margin-top: 5px;
  margin-right: 5px;
}
td.toiminnot{
  min-width: 112px;
  padding: 0.75rem 0;
}

.Admin .nav-pills .nav-item {
    font-size: 20px;
    min-width: 100px;
}


/* Tulokset sivu */

.GroupTitle{
  font-family: 'Anton',sans-serif;
  font-size: 29px;
  text-decoration: underline;
  text-underline-position: under;
  margin-top: 40px;
  margin-bottom: 30px;
  line-height: 1.6;
}



.FinalFeedback{
  border: 3px dotted #e5e5e5;
  color: #fff;
  margin: 0 60px;
  padding: 2em;
  background-color: #28a745;
  /* Single pixel data uri image http://jsfiddle.net/LPxrT/
  /* background-image: gold, gold, white */
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAOqrAP///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='),  url('data:image/gif;base64,R0lGODlhAQABAPAAAOqrAP///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='),
  url('data:image/gif;base64,R0lGODlhAQABAPAAAP///////yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==');
  background-repeat: no-repeat;
  background-size: 0 2px, 0 100%, 0% 2px;
  background-position: top center, top center, bottom center;
  font-size: 20px;
 }

.FinalAnimation{
 -webkit-animation: drawBorderFromCenter 2s;
}

 .Feedback{
  background-color:#28a745;
  color: #fff;
  padding: 30px;
  border: 3px dotted #e5e5e5;
  font-size: 21px;
 }

 .FeedbackContainer{
  margin:30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
 }

 .faceContainer{
   display: flex;
  justify-content: center;
  align-items: center;
 }

 #Finalface{
   display: flex;
   align-items: center;
 }

 #GroupFeedback{
   padding: 30px 0;
   margin: 20px 0;
   background-color: #0397f1;
   border-bottom: 5px solid #28a745;
   border-top: 5px solid #28a745;
 }

 #bg-finalfeedback{
   padding: 30px 0;
   margin: 20px 0;
   background-color: #0397f1;
   /*border: 10px solid #28a745;*/
   border: 20px outset #28a745;
   border-radius: 0px 40px 0px 40px;
 }

@-webkit-keyframes drawBorderFromCenter {
    0% {
      background-size: 0 2px, 0 0, 100% 100%;
    }
    20% {
      background-size: 100% 2px, 100% 0, 100% 100%;
    }
    66%
    {
      background-size: 100% 2px, 100% 98%, 100% 100%;
    }
    99%
    {
      background-size: 100% 2px, 100% 98%, 0 2px;
    }
}


 /* Yleiset */

 .g-recaptcha{
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .btn-primary {
    background-color: #26a8f7;
    color: #fff;
}

 .MainDropdown{
   /* background-color:#0397f1;
   border:none; */
   padding: 15px 25px 15px 25px;
   min-width:250px;
 }

.navbar-nav .dropdown-menu{
    background-color: transparent;
    text-align:center;
    border:none;
    margin-top: -5px;
    min-width: 250px;
}

.dropdown .nav-link{
  margin-right: 10px;
}

.navbar-nav .dropdown-menu .nav-item{
  background-color: #28a745;
  border-width: 1px;
  border-top-style: dashed;
  border-color:#fff;
}

.navbar-nav .dropdown-menu .nav-item:first-child{
    border-top-style: none;
}

.navbar-nav .dropdown-menu .nav-item.active{
  background-color: #26a8f7;
  /* outline: 1px dashed #bcc5cc;
  outline-offset: -5px; */
}

#LanguageMenu  .dropdown-menu {
  background-color: #fbf7f7 !important;
  margin-top:5px;
  min-width: 150px !important;
}

.dropdown.show{
  z-index: 5;
}


.contactDetails, #customForm{
  display: flex;
  justify-content: center;
  align-items: center;
}

*{
  font-family: 'Roboto', sans-serif;
}


ol{
  padding-inline-start: unset;
}

ol li{
 list-style-position: outside;
 margin-left: 1.5em;
}

.card-body{
  background-color: #2581C4;
}

.card-header{
  background-color: #0075ca !important;
}

#DescriptionPanel{
  /* outline: 1px dashed #bcc5cc;
  outline-offset: -5px;
  background-color: #28a745;
  */
  background-color: #2581C4;
  /* background-color: #0397f1; */
  color: #fff;
  margin-top: 20px;

  /* text-align: justify; */
}

#CategoryDescription{
  padding: 0px 45px 0px 40px;
  border-right: 1px dashed #bcc5cc;
  margin: 20px 0;
  min-height: 100px;
}

#LogoPanel{
  display: flex;
  justify-content: center;
  align-items: center;
}



.bg-success{
  -webkit-box-shadow: 2px 2px 2px #ccc;
  -moz-box-shadow: 2px 2px 2px #ccc;
  box-shadow: 2px 2px 2px #ccc;
}

/* Radio button */
@keyframes click-wave {
  0% {
    height: 40px;
    width: 40px;
    opacity: 0.35;
    position: relative;
  }
  100% {
    height: 200px;
    width: 200px;
    margin-left: -80px;
    margin-top: -80px;
    opacity: 0;
  }
}

.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  top: 13.33333px;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: #ffffff;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  z-index: 1000;
}
.option-input:hover {
  background: #9faab7;
}
.option-input:checked {
  /* background: #40e0d0; */
  background: #23e8de;
}
.option-input:checked::before {
  height: 40px;
  width: 40px;
  position: absolute;
  /* content: '✔'; */
  content: '✔️';
  display: inline-block;
  font-size: 23.66667px;
  text-align: center;
  line-height: 40px;
}
.option-input:checked::after {
  -webkit-animation: click-wave 0.65s;
  -moz-animation: click-wave 0.65s;
  animation: click-wave 0.65s;
  background: #40e0d0;
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}
.option-input.radio {
  border-radius: 50%;
}
.option-input.radio::after {
  border-radius: 50%;
}

body label {
  display: block;
text-align: left;
}


/*  Radio buttons  end */
.navbar-nav .nav-link{
  text-transform: uppercase;
  font-weight: 700;
}

.bg-blue{
  background-color: #0397f1;
  padding: 40px 0;
  margin-top: 45px;
}


/* .bg-divider{
  background: linear-gradient(to left bottom, #28a745 49%, #0397f1 50%);
  padding: 40px 0;
} */

.row-gradient{
  width:100%;
  padding:0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position:relative;
}

.bg-divider{
  display: block;
  background: 0 0;
  z-index: 9;
  width: 100%;
}

.sep1{
  margin-top:-1px;
  transform: rotate(180deg);
}

.sep2{
  position:absolute;
  margin:0;
  bottom: 0px;
  z-index: -5;
}

.noPadding{
  padding:0;
}



.bg-blue label{
  color: #fff;
}

.IconText{
  /* font-weight: 700; */
  font-size: 19px;
}

.tab-content{
  margin-top: 30px;
}

.card-body input[type=submit] {
  font-size: 22px;
  margin-top: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding:10px 20px;
  box-shadow: 4px 5px 0px 0px #0b4986;
  background-color: #0075ca;
}

.card-header{
  background-color: rgb(2, 142, 0);
}

.card-body{
  text-align: center;
}

.numbericons{
  text-align:center;
  margin:  35px 0;
}

.numbericons p{
  margin-top: 15px;
}

.numbericons .fas{
  font-size: 30px;
  font-weight:bold;
  color: #49d04a;
  position:absolute;
  right: -8px;
  top: 15%;
}

.mainTitle{
  color: #0397f1;
  font-family: 'Anton',sans-serif;
  text-transform: uppercase;
  font-size: 36px;
  text-align: center;
  letter-spacing: 1px;
}

h2.mainTitle {
  color: #fff;
  margin-bottom: 20px;
  text-decoration: underline;
  text-underline-position: under;
}

.contentArea{
  padding: 20px 0;
  min-height: 566px;
  font-size: 19px;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;}

  /* Questions */
.panel-default {
  /* text-shadow: 1px 0px 1px #252323; */
  color: #fff;
  padding: 10px;
}

.panel-result{
  text-shadow: 1px 0px 1px #252323;
  color: #fff;
  padding: 15px;
  border-radius: 15px;
  background-color: #0397f1;
  -webkit-box-shadow: 9px  10px 10px -8px rgba(0,0,0,0.75);
  -moz-box-shadow: 9px  10px 10px -8px rgba(0,0,0,0.75);
  box-shadow: 9px 10px 10px -8px rgba(0,0,0,0.75);
  margin-bottom: 25px;
}

.question{
  background-color: #0075ca;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

h3.panel-heading{
  background-color: #2581c4;
  padding: 15px;
  border-radius: 10px;
  font-size: 19px;
  box-shadow: 3px 3px 0px 0px #0b4986;
}

/* Nav-tabs*/
.nav-tabs{
  border-bottom: 0px;
}

.nav-pills .nav-item{
    font-size: 26px;
    margin: 10px 5px;
}

.nav-pills .nav-item a{
  color: #fff;
}

ul.nav-pills{
  justify-content: center;
}


/* GENERAL */


h1{
  font-size: 30px;
  margin-top: 10px;
}

h2{
  font-size: 26px;
}

h3{
  font-size: 21px;
}

label {
    margin-bottom: .15rem;
    margin-top: 10px;
    font-weight: 500;
}

.question label {
    font-weight: 500;
    font-size: 19px;
}

textarea {
  max-width: 100%;
}

img{
  max-width: 100%;
  height: auto;
}

.noPadding{
  padding:0;
}

/* HEADER & MENU */

header{
  /* background-color: #0397f1; */
  background-color: #2581C4;
  border-bottom: 10px solid #28a745;
}

header li.dropdown.show {
    z-index: 2;
}

header .navbar .dropdown-toggle::after{
  display:none;
}

header .form-inline .form-control {
    margin: 5px 0;
}

#header .nav-item .icons{
  font-size: 30px;
  margin-top: 8px;
  color: #fff;
}

.flex-row .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

#header button{
  color:#fff;
}

.btn-outline-primary{
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #fff;
}

.navbar-toggler{
  margin-bottom: 10px;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.nav-item{
   list-style: none;
}

.navbar-nav .nav-item{
 padding: 6px 10px;
}

.navbar-nav .nav-link{
  color: #007bff;
  font-size: 17px;
}

.navbar-dark .navbar-toggler{
  border-color:#f7f7f7;
}

/* ContentArea */


.ContentArea{
  min-height: 600px;
  padding: 25px 35px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #d2c8c8;
}


.ContentArea button{
  min-width: 100px;
}

.ContentArea .listBtn{
  min-width: unset !important;
}


/* FOOTER */

footer td{
  color: #fff;
}


footer{
  /* background-color: #0397f1; */
  background-color: #2581C4;
  padding: 25px 0px;
  border-top: 10px solid #28a745;
}

footer > div > div > div > p, footer a, footer b, footer > div >  div >  div > h5{
  color: #fff;
}

footer ul {
  color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.sitemap-link{
  text-transform: uppercase;
 }


#logo{
  width: 275px;
  max-height: 250px;
  /* background-color: #fff; */
  /* padding: 0 20px; */
  /* border-radius: 50px; */
  display: flex;
  justify-content: center;
  align-items: center;
}



footer #sitemap, FOOTER H4 {
  color: #fff;
}

#sitemap ul li {
    list-style:none;
}

#sitemap ul{
    padding:0;
}

#sitemap ul li:before {
    content: "\00BB \0020";
    color: #fff;
}


/* Media Queries */

@media (min-width: 991.98px){
  .navbar-nav>.active>a:after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 70%;
    padding-top: 3px;
    border-bottom: 1px solid #fff;
    text-shadow: 0px 1px 7px rgb(0,0,0);
  }
}

@media (max-width: 991.98px){
  header > div > nav{flex-direction: row-reverse;}
  header > div > nav > ul{position:absolute;left:0;top:0;}
  header{padding-top: 10px;}

  .navbar-dark .navbar-nav .nav-item.active {
    color: rgba(109, 106, 106, 0.9);
  }

  #logo{
    justify-content: flex-start;
  }

  #Finalface{
    justify-content: center;
  }
  .dropdown .nav-link{
    margin-right: 0px;
  }

  .navbar-nav .dropdown-menu{
      min-width: unset;
  }
  .numbericons p {
      margin-bottom: 35px;
  }
  #logo{
    margin-bottom: 25px;
  }

  #CategoryDescription{
    padding: 0px 25px 25px 35px;
    border-right: none;
    border-bottom: 1px dashed #bcc5cc;
  }

}

@media( max-width : 768px ){

  .mainTitle {
    font-size: 32px;
    }
}

@media( max-width : 585px ){

  .FinalFeedback{
    padding: 0.5em;
    font-size: 20px;
    margin:0;
  }
}

@media( max-width : 420px ){
.card-body input[type=submit] {
    width: 100%;
    font-size: 5vw;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* <ol> tyylien disablointi IE10+ */
     ol{
       list-style:none;
       padding:0;
     }
}
