@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

*,
*::before,
*::after {
   margin: 0;
   padding: 0;
}

body {
   background-color: #e4e9ed;
   font-family: Raleway, sans-serif;
}

.wrapper {
    position: relative;
    min-height: 100vh;
}

br {
   margin-bottom: 2%;
}

a {
    text-decoration: none;
    color: white;
}

.header {
   width: 100%;
   height: 30vh;
   position: relative;
   display: grid;
   grid-template-rows: max-content 1fr;
   grid-template-columns: 1fr max-content;
}
   
.header .logo {
    fill: white;
    width: 3rem;
    padding: 1rem;
    cursor: pointer;
}
   
.header .bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    filter: brightness(50%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
   
.header .title {
    grid-area: 2 / 1 / 2 / 3;
    align-self: center;
    justify-self: center;
    color: white;
    text-transform: uppercase;
    font-size: 4rem;
    text-shadow: 0px 2px 4px rgba(0,0,0,.4);
    margin-top: -5rem;
}

@media screen and (max-width: 992px) {
    .header .title {
        font-size: 2rem;
    }
}

.header .log {
    display: flex;
    align-items: center;
    grid-area: 1 / 2 / 1 / 3;
    padding: 1rem 2rem;
    color: white;
    cursor: pointer;
    text-shadow: 0px 2px 4px rgba(0,0,0,.4);
}
    
.header .log .icon {
    fill: currentColor;
    margin-right: .5rem;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,.5));
}

.header .log .text {
    text-transform: capitalize;
}

.about {
   width: 100%;
   margin-top: -7rem;
   z-index: 0;
}

.about .title {
      padding-top: 7rem;
      text-align: center;
      text-transform: uppercase;
}

.about .menu {
    margin-bottom: 7rem;
    margin-top: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.about .title .text {
    color: #232323;
}
   
   
.about .text {
    width: 80%;
    margin: 5% auto;
}  

.about .text .content {
    text-align: justify;
}

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

.body .item {
    padding: 10px 20px;
    margin:20px;
    border: 1px solid rgb(148 49 50);
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: x-large;
    width: 40%;
}

.item:hover, .item.active {
    background-color: rgb(148 49 50);
    color: white;
    border: 1px solid white;
  }

.home-button {
    padding: 10px 20px;
    margin:20px;
    border: 1px solid rgb(148 49 50);
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: x-large;
}

.home-button:hover {
    background-color: rgb(148 49 50);
    color: white;
    border: 1px solid white;
  }

  .submit-response {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 69%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .submit-response.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #3c763d;
    opacity: 1;
  }

  .submit-response.failure {
    color:darkred;
    background-color: #fbe4e4;
    border-color: darkred;
    opacity: 1;
  }

  .submit-response .close {
    text-decoration: none !important;
    font-size: 18px !important;
    line-height: 1.2;
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
    float: right;
    margin-right: 30px;
  }

  .titolo-domanda { 
    font-size: x-large;
    margin: 20px;
    padding: 10px;
  }

  .poll-answer {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid grey;
    padding: 10px;
    margin-bottom: 10px;
    background-color: antiquewhite;
  }

  label.big {
    display:block;
    width:100%;
    height:100%;
    cursor:pointer;
  }

label.big input {
      visibility: hidden;
  }

div.poll-answer:hover {
      background-color: lightskyblue;
  }

span.menu {
    border: 1px solid white;
    margin: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: larger;
    color: white;
    cursor: pointer;
}

span.menu.active {
    background-color: brown;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

div.card {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1rem !important;
    border-radius: 1.00rem;
    max-width: 83.333333%;
}

.header-info {
    float:left;
    width:35%;
    margin:0;
}

.header-info.sx {
    text-align:left;
    width:20%;
}

.header-info.center {
    text-align: center;
    margin-left:20px;
}

@media screen and (max-width: 992px) {
    .header-info.center .float-right {
        display: inline-grid;
        grid-template-columns: 50% 50%;
    }
}

.header-info.dx {
    text-align: right;
}

div.card-body {
    padding:20px;
}

div.card-body.DONE {
    background-color: #f4e13e;
}
div.card-body.ALL {
    background-color: #c3c2c0;
}
div.card-body.SELECTED {
    background-color: #87d18a;
}
div.card-body.DELETED {
    background-color: #f2734b;
}

.barraStato {
    height: 25px;
    width: 50px;
    float: right;
    border: 1px solid #ccc;
    margin-left: 5px;
    background: transparent;
}

.statoDomanda {
    border: 1px solid #ccc;
    padding: 2px 5px;
    font-size: 14px;
    cursor: pointer;
    margin: 1px;
    border-radius:50%;
}

.statoGiallo {
    color: white;
    border: 1px solid white;
    background-color: goldenrod;
}

.statoRosso {
    color: white;
    border: 1px solid white;
    background-color: red;
}

.statoVerde {
    color: white;
    border: 1px solid white;
    background-color: green;
}

.statoAzzera {
    color: white;
    border: 1px solid white;
    background-color: grey;
}

.row-login {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
}

.login-top {
    background-color: white;
    font-size: xx-large;
    border-top: 3px solid brown;
    padding: 20px;
}

.login-bottom {
    background-color: white;
    border-bottom: 3px solid brown;
    padding:20px;
}

.form-control {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top:5px;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #495057;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.float-right {
    float: right;
}

.active-status {
    float: right;
    margin: 10px;
    padding: 10px;
    color:black;
}

.pools-button {
    float: right;
    margin: 10px;
    padding: 10px;
    border: 1px solid white;
    color: white;
    background-color: darkslategrey;
    border-radius:10px;
}

.pools-button.small {
    font-size: x-small;
}

.pools-button:hover {
    background-color: white;
    color: darkslategrey;
    border-color: darkslategrey;
}

.pools-button.alert {
    background-color: red;
}

.pools-button.alert:hover {
    background-color: white;
    color: red;
    border-color: red;
}

.pools-button.done {
    background-color: goldenrod;
}

.pools-button.done:hover {
    background-color: white;
    color: goldenrod;
    border-color: goldenrod;
}

.pools-button.selected {
    background-color: green;
}

.pools-button.selected:hover {
    background-color: white;
    color: green;
    border-color: green;
}

.domanda-attiva {
    border: 1px solid green !important;
    background-color: lightgreen !important;
}

#questions{
    text-align:center;
}