@import "https://fonts.googleapis.com/css?family=Abril+Fatface:400,400i,700,700i";

#main {
    position: relative;
    color: #000;
    padding: 0 !important;
	min-height: 100vh !important;
}

.aktivskolafragar {
    background: url(../img/aktivskolafragar.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30%;
    height: 5vh;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.motivering input[type="text"] {
	position: relative;
    box-sizing: border-box;
    display: block;
	width: 100%;
    border: 3px solid #000 !important;
	background: #fff;
	color: #000 !important;
	padding: 10px;
	resize: none;
	margin-bottom: 10px;
	font-size: 18px;
}

.motiverat {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.95);
	z-index: 100;
}

.motiverat h2 {
	top: 30%;
    width: 100%;
    text-align: center;
    position: absolute;
}

.motivering input[type="text"]:focus, .fraganmotiveringtextarea:focus {
	background: #fff !important;
}

.motiveringknapp {
	font: normal  15px / 28px "Arial", Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
	position: relative;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    width: 180px;
    border: 3px solid #000;
    padding: 10px;
    resize: none;
    color: #fff;
	background: #000;
	transition: all 1s ease-in-out;
}

.motiveringknapp:hover {
    background: #fff;
	color: #000;
}

.motivering {
	position: relative;
    clear: both;
    margin-top: 30px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 0;
    text-align: left;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}



.fraganmotiveringtextarea {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 3px solid #000;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    resize: none;
    color: #000;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.motiveringrubrik {
    color: #000 !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font: normal 20px / 28px "Arial", Helvetica, Arial, Verdana, sans-serif;
}


.fragan {
	padding: 30px 0;
    background: url(../img/fragan.png);
    background-size: cover;
	background-attachment: fixed;
    overflow: hidden;
}

.fragan:before {
	content: "";
    background: linear-gradient(180deg, rgba(244,244,244,0.90) 0%, rgba(255,255,255,1) 97%);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;

}

.fragancontent {
	position: relative;
}

.allafragor {
	width: 100%;
	text-align: center;
	display: inline-flex;
}

.allafragor a {
    z-index: 10;
   	padding-top: 50px;
    text-align: center;
    color: #000;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px dotted #000;
    transition: 1s all;
}

.flex {
  height: 50vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fraganrubrik {
  color: #000 !important;
  text-align: center;
  font-size: 40px !important;
}



.fraganrubrikliten {
  text-align: center;
  font-size: 24px !important;
  padding-top: 30px;
  min-height: 160px;
}

.fraganrubrikliten a {
	  border-bottom: 1px dotted #000;
	  cursor: pointer;
}

.rostgron {
	background-color: #4fa417 !important;
}


.rostrod {
	background-color: #d7281b !important;
}


.rostprocent {
    transition: 2s all ease;
	background-color: rgba(255,255,255,0.3);
	height: 0%;
   	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 20px;
}

.rostprocent span {
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
    line-height: 40px;
}

.knapptext {
	transition: 0.3s all;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	width: 100%;
   	z-index: 1;
	color: #000;
}

.vittext .knapptext {
	color: #fff;
}

.procent {
  transition: 0.5s all ease;
  bottom: 0;
  font-family: "Abril Fatface", sans-serif;
  color: #000;
  background: #fff;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 30px;
  width: 25%;
  height: 45vh;
  border: 3px solid #000;
  line-height: 180px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  position: relative;
}

.procentliten {
  transition: 0.5s all ease;
  float: left;
  bottom: 0;
  font-family: "Abril Fatface", sans-serif;
  color: #000;
  background: #fff;
  margin-right: 5%;
  margin-left: 5%;
  font-size: 30px;
  width: 40%;
  height: 35vh;
  border: 3px solid #000;
  line-height: 180px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
}


.rostknapp {
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #000;
  transition: 0.3s all ease;
  position: absolute;
  bottom: 0;
  font-family: "Abril Fatface", sans-serif;
  color: #000;
  background: #fff;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 30px;
  width: 25%;
  height: 15vw;
  line-height: 15vw;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  position: relative;
}

.ja, .nej {
	cursor: pointer;
	transition: 0.5s all ease;
	z-index: 1;
}

.ja:hover {
  color: #fff;
  background: #4fa417;
}

.nej:hover {
  color: #fff;
  background: #d7281b;
}

.fraganloader {
  display: none;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  margin: 5%;
}

.fraganloader .kub {
  width: 33%;
  height: 33%;
  background-color: rgba(255,255,255,0.5);
  float: left;
  -webkit-animation: fragan-loader 2.3s infinite ease-in-out;
          animation: fragan-loader 2.3s infinite ease-in-out;
}
.fraganloader .kub1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.fraganloader .kub2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.fraganloader .kub3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.fraganloader .kub4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.fraganloader .kub5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.fraganloader .kub6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.fraganloader .kub7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.fraganloader .kub8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.fraganloader .kub9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes fragan-loader {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  }
}

@keyframes fragan-loader {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  }
}

@media only screen and (max-width: 600px) {

.procentliten {
	margin-right: 10% !important;
    margin-left: 10% !important;
    width: 30% !important;
}
.aktivskolafragar {
	width: 60% !important;
}

.fraganrubrik {
	font-size: 30px !important;
}

.procent {
  width: 40% !important;
}

.rostknapp {
  width: 40% !important;
  height: 30vw;
}

}
