
/*
primary: #7a3469
secondary:#8ed7f8
red: #ee3d31
*/

::selection {
  background: #ee3d31; /* WebKit/Blink Browsers */
  color:white;
}
::-moz-selection {
  background: #ee3d31; /* Gecko Browsers */
    color:white;

}

.sisuBtn {
width: auto;
display: inline-block;
}

.singleSisu h1 {
padding-top:80px;
}
 .singleSisu h4 {
margin: 20px 0;
}

.menu li.active a {
color:#ee3d31;
}
.textContainer h3 {
    line-height: 33px;
    margin-bottom: 10px;

}
.socialButtons .socialIcon {
    float: left;
    margin: 0px 0 15px 10px;
}

.piltGeneraator {

background-image:none;
}
.piltGeneraator.active {
    background-size: auto 100%;
    background-position: right bottom;
    background-repeat: no-repeat;
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
}

.generaator {
    min-height: 500px;

}

.top-bar-title {
    text-align: center;
}
.top-bar-title > span {

    position: absolute;
    right: 15px;
    top: 15px;
}

.top-bar, .top-bar ul {
background:white;

}
.top-bar-left {
text-align:center;
float:none;
}

.topMenu div{
max-height:65px;
width:auto;
}





h1.tulemus {
color:#ee3d31;
}

.menu-wrapper {
text-align:center;
}
.menu {
    display: inline-block;

    }
.menu li a {

padding: 20px 15px 20px;

color: #7a3469;
font-family:arial;
font-weight:bold;
font-size:12px;
}
.menu li:hover a {

color: #ee3d31;


}

footer a{
display:block;
text-decoration:underline;

}


.logodFooter img {
width:100%;


}
.logodFooter {
width:35%;
float:left;
padding:10px;

}
.logodFooter.innove {
width:70%;

padding:10px;

}
.avalehePildid > div {
text-align:center;
}

.avalehePildid {
position:absolute;
top:0;
width:100%;
max-width:9999px;
}

.vasakPilt{
left:0;
z-index:1;
position:relative;
width: auto;
max-height: 80vh;
    transform: translate(0,-60%) scaleX(-1);
     -ms-transform: translate(0,-60%) scaleX(-1);
     -webkit-transform: translate(0,-60%) scaleX(-1);
}

.paremPilt {
position:relative;
right:0;
       width:60%;
    transform: translate(0,-70%);
     -ms-transform: translate(0,-70%);
     -webkit-transform: translate(0,-70%);
}



.textContainerWrapper {
    background-size: 100% 100%;
    background-repeat:no-repeat;
    min-height: 400px;
    border-bottom: 0px solid #8ed7f8;
    padding: 50px 30px 0;
     transform: translate(0,-20%);
      -ms-transform: translate(0,-20%);
     -webkit-transform: translate(0,-20%);

}




.textContainer {
border-top:none;
padding:15px;
background:transparent;
}
.textContainerImg {
    width: 100%;
    padding-bottom: 100%;
    background-repeat: no-repeat;


}
.textContainer .styleOne {
    font-size: 12px;

     width: auto;
}









.center-text {
text-align:center;
}
#sisestaKysimus {
display:none;
}


html {
     margin-top: 0 !important;
}
h1,h2,h3,h4,h5,h6, h1 span,h2 span,h3 span,h4 span,h5 span,h6 span {
color:#7a3469;
font-family: 'Dosis', sans-serif !important;
text-transform:uppercase;
font-weight:800;
}
h2 {
    line-height: 40px;
    margin-bottom:20px;
}
p {
color:#053145;
}

h4 {
color:black;
}

.keeleValik {

text-align:right;
}
.fullWidth {
max-width:100%;
    padding: 30px;
background:white;
}


.logo {
    //position: absolute;
    width: 200px;
    background-repeat: no-repeat;
    padding: 3px 0px;
    height: 48px;
    display: block;
}
.logo img{

   height: 100%;
  width:auto;

}
.menu-icon.dark::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #7a3469;
    top: 0;
    left: 0;
    box-shadow: 0 7px 0 #7a3469, 0 14px 0 #7a3469;
}
.menu-icon.dark:hover::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #ee3d31;
    top: 0;
    left: 0;
    box-shadow: 0 7px 0 #ee3d31, 0 14px 0 #ee3d31;
}

nav {
    position: relative;
    z-index: 100;
    height:80px;
    width:100%;

}
section {
position:relative;
padding:50px 0;

}


section.first, section.second, section.third {
background-size:cover;
background-position:center center;
    width: 100%;
}
section.first {
  background-color: #7a3469;
  background-size:auto;
  background-repeat: repeat;
  background-image: url(img/rajaleidjaBackWhite.png);
}

section.first {
    z-index: 99;
    padding: 100px 0 95px;
  }

section h3 {
  margin-bottom:20px;
}

.betweenDiagonal {
    bottom: 0;
width:100%;
    position: absolute;
    transform: translate(0,50%);
     -ms-transform: translate(0,50%);
     -webkit-transform: translate(0,50%);
    z-index: 2;
}

.endDiagonal {
max-height: 130px;
    overflow: hidden;
    bottom: 0;
width:100%;
    position: absolute;
    transform: translate(0,50%);
     -ms-transform: translate(0,50%);
     -webkit-transform: translate(0,50%);
    z-index: 1;
    background-color: transparent;
}
#goUp {
    position: absolute;
    bottom: 0;
    z-index: 99;
    left: 50%;
    transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}


#goUp .second{
background-color:white;
    top: -5px;
    left: -5px;
    right: 5px;
    /* bottom: 5px; */
    bottom: 5px;
}
#goUp img{

    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);

}
footer {
position:relative;
margin-bottom:40px;
}
section.second {
    z-index: 99;
background: none;
    width: 100%;
}





section.third  {
display:table;
    z-index: 99;
    width: 100%;
    background-size: auto 80%;
    background-repeat: no-repeat;
    background-position: center bottom;
}

footer {
background-color:white;

    padding: 60px 0 0;
}

html * {
font-family:Arial;
}

body,html {

margin:0;
padding:0;
width:100%;
height:auto;
background-image: url(img/rajaleidjaBack.jpg);
}



select {
display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    padding: 0.5rem;
    border: 1px solid #cacaca;
    margin: 0 0 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: #0a0a0a;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    border-radius: 0px;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -webkit-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -moz-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -o-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;

    -webkit-appearance: none;
    -moz-appearance: none;
}






button {
outline:0;
}

.styleOne, input[type="submit"] {
width:100%;
border-radius:0px;
background:white;
color:#7a3469;
border: 2px solid #7a3469;
-webkit-box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
-moz-box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
transition: all 0.3s;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
}

.styleOne.auto {
	width:auto;
    padding-left:30px;
    padding-right:30px;
}



.styleOne span {
padding:25x 2px;
z-index:11;
position:relative;
}

.styleOne:hover, .styleOne:focus, input[type="submit"]:hover, input[type="submit"]:focus {
background:white;
-webkit-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
-moz-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
}
input[type="submit"]:focus {
color:#7a3469;
}


.styleOne.transparent {
background:rgba(255,255,255,0.8);
    line-height: 8px;
        margin-bottom: 5px;
        transition:all 1s;
-webkit-transition:all 1s;
-moz-transition:all 1s;
-o-transition:all 1s;

}

.styleOne.transparent.saadetud {
background:#7a3469;
transition:all 1s;
-webkit-transition:all 1s;
-moz-transition:all 1s;
-o-transition:all 1s;
color:white;
}



.styleOne.half {
width:50%;
-webkit-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
-moz-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
}

.styleOne.auto.half {
width:45%;
margin-right:5%;
padding-left: 0;
padding-right: 0;
}
.styleOne.half.second {
border-left:none;

}

.styleOne.active {
background:#7a3469;
color:white;
}


.styleTwo {
border-radius:0px;
color:white;
background:transparent;

    position:relative;

}

.styleTwo.half {
width:50%;
padding-right:0;
padding-left:0;
}
.styleTwo.half:hover {
color:#7a3469;
}


.styleTwo.half .second {
width:auto;


}
.styleTwo .first {
border-radius:0px;
color:white;
height:100%;
width:100%;
border: 2px solid #7a3469;
background:transparent;
position: absolute;
z-index:1;
top:0;
left:0;

    -webkit-transition:all 0.3s;
-moz-transition:all 0.3s;
-o-transition:all 0.3s;
transition:all 0.3s;
}

.styleTwo span {
padding:25x 2px;
z-index:11;
position:relative;
}

.styleTwo .second {
width:inherit;
height:inherit;
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 5px;
  right: -5px;
  bottom: -5px;
border: 2px solid #8ed7f8;
background-color:#8ed7f8;
-webkit-transition:all 0.3s;
-moz-transition:all 0.3s;
-o-transition:all 0.3s;
transition:all 0.3s;
}
.styleTwo:hover .first {
border: 2px solid #8ed7f8;
background:transparent;

}
.styleTwo:hover {
background:transparent;

}

.styleTwo:hover .second {
    background: transparent;
    border: 2px solid #7a3469;
}








.styleThree {
border-radius:0px;
color:#7a3469;
background:transparent;
position:relative;

}

.styleThree .first {
border-radius:0px;
color:white;
height:100%;
width:100%;
border: 2px solid #7a3469;
background:transparent;
position: absolute;
z-index:1;
top:0;
left:0;

    -webkit-transition:all 0.3s;
-moz-transition:all 0.3s;
-o-transition:all 0.3s;
transition:all 0.3s;
}

.styleThree span {
padding:25x 2px;
z-index:11;
position:relative;
}

.styleThree .second {
width:inherit;
height:inherit;
  position: absolute;
  z-index: -1;
  top: 3px;
  left: 3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid #8ed7f8;
background-color:transparent;
-webkit-transition:all 0.3s;
-moz-transition:all 0.3s;
-o-transition:all 0.3s;
transition:all 0.3s;
}
.styleThree:hover .first {
border: 2px solid #8ed7f8;
background:transparent;

}
.styleThree:hover {
background:transparent;

}
.styleThree:hover .second {
background:white;
border: 2px solid #7a3469;

}

.keeleValik button {
margin:10px;
padding:9px 7px;
font-size:12px;
}


h1.center-text,p.center-text {
  color:white;
}
  h1.center-text {

    padding-top: 50px;
    font-size: 58px;
    line-height: 65px;
    padding-bottom: 15px;
}



.formRow {
    position: relative;
    z-index: 11;
}



.containerBG {
    top: 32px;
    position: absolute;
    opacity: 1;
}

input:placeholder-shown , input::placeholder {
color:#7a3469;
}

input::-webkit-input-placeholder {
color:#7a3469 !important;
}

input:-moz-placeholder { /* Firefox 18- */
color:#7a3469 !important;
}

input::-moz-placeholder {  /* Firefox 19+ */
color:#7a3469 !important;
}

input:-ms-input-placeholder {
color:#7a3469 !important;
}



input[type="text"], input[type="text"]:focus, input[type="text"]:hover, select, textarea {
background-color:rgba(255,255,255,0.8);
border-radius:0;
border:2px solid #7a3469;
color:#7a3469;
font-size:12px;
font-weight:bold;
padding: 0 0.9375em;
outline:0;
-webkit-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
-moz-box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
box-shadow: 0px 0px 0px 0 rgba(142,215,248,1);
transition:all 0.3s;
}

input[type="text"]:focus, input[type="text"]:hover, select:hover, select:focus, textarea:focus {
-webkit-box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
    -moz-box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
    box-shadow: -4px 4px 0px 0 rgba(142,215,248,1);
    border:2px solid #7a3469;

}

select {
background-image:url(img/arrowD.svg);
background-size: 20px;
}

.logod {
z-index:111;
    bottom: 15%;
    max-width: 7%;
    padding: 5px;
    position: fixed;
    background-color: white;
    transform:translate(0,0);
 -ms-transform: translate(0,0);
     -webkit-transform: translate(0,0);
}

.logod.moveL {
transform:translate(-100%,0);
 -ms-transform: translate(-100%,0);
     -webkit-transform: translate(-100%,0);
transition:all 1s;
-webkit-transition:all 1s;
-moz-transition:all 1s;
-o-transition:all 1s;
}

.logod a{

    display: block;
    padding: 5px;
}

.logod img{
width:100%;
}
.red {
color:#ee3d31;
}


#goDown {
      position: absolute;
    bottom: 70%;
    z-index: 99;
    left: 50%;
    transform: translate(-50%, -40%);
         -ms-transform: translate(-50%, -40%);

    -webkit-transform: translate(-50%, -40%);

}

#goDown .second{
background-color:white;
}


.betweenImg {
width:100%;
}

.socialIcon {
float:left;
margin:15px 10px 15px 0;
}

h5 {
margin: 20px 0 5px;
}


.tulemusImgClass {

    width: 100%;
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
        background-size: contain;
    background-position: center center;


}

.generaator {
display:none;
}

section.third {

}
.generaator.active {
display:block;
}
hr {
margin:30px 0;
}
footer a {
color:#053145;
font-size:14px;
}

footer p {
font-size:14px;
}

.keeleValik {

 z-index: 111;
    position: relative;
    float: right;
}
.keeleValik span{
font-size:12px;
}


.bgrahvas {

background-size:100% auto;
background-position:bottom center;
background-repeat:no-repeat;
width100%;
padding-bottom:70%;

}

#soovinTullaInfo{
    font-size: 12px;
    color: #7a3469;
    padding: 10px 15px 6px;
	display:inline-block;
	font-weight:bold;
}

/*
primary: #7a3469
secondary:#8ed7f8
*/
.soovinTullaInfo {
display:none;
background: white;
border: 2px solid #8ed7f8;
    margin: 0 0 1rem;
}
.singlePage {
    padding-top: 130px;
}
.singleSisu {
background-color:white;
}




input[type="text"].puudub, input[type="text"].puudub:focus, input[type="text"].puudub:hover, select.puudub {
border: 2px solid #ee3d31;
}

.yVideo {
	text-align: center;
	margin: 30px auto 60px;
	    display: block;
}


@media (max-width:1024px){

	#tcImg1,#tcImg2,#tcImg3 {
	    background-size:100% auto;
    background-position: center center;
		width: 100%;
padding-bottom: 50%;
background-repeat: no-repeat;
transform: translate(0%, 0%);
	}

.endDiagonal {
bottom:0;
position:relative;
}
a.logodFooter.innove {
float:none;
width:100%;
max-width:250px;
}

section.third {
    background-image: none;
}

.tulemusImgClass {

    padding-bottom: 50%;

}

.textContainer h3, h2 {
    font-size: 31px;

    }

  h2, h5#loppPealkiri {
   font-size: 31px;
        line-height: 33px;
    }
.keeleValik {
display:none;
}


.medium-horizontal.menu {
float:right;
}
.piltGeneraator, .piltGeneraator.active {
background-image:none;
}

.topMenu div {
max-height:none;
}
.logodFooter.innove {
    width: 30%;
}
.logodFooter {
    width: 47%;
    max-width:100px;
}
#tcImg1 {
    background-size: auto 100%;
    background-position: center bottom;
}
#tcImg2 {
    background-size: auto 100%;
    background-position: center bottom;
}
#tcImg3 {
    background-size: auto 100%;
    background-position: center bottom;
}

.textContainerImg {
    width: 100%;
    padding-bottom: 50%;
    background-repeat: no-repeat;
}
.textContainerWrapper {
    background-image: none;
    background-size: 100% 100%;
    padding: 0;
    transform: translate(0,0);
    -ms-transform: translate(0,0);
    -webkit-transform: translate(0,0);
    background-repeat:no-repeat;
    min-height: 0;
    border:none;


}

.textContainer {
    padding:0;
}




section.third {
    padding: 20px 0;
    }




}




@media (max-width:640px){
.sisuBtn {
width:100%;
}


.singleSisu h1 {
padding-top:20px;
}
.singlePage {
    padding-top: 20px;
}
.styleOne.transparent {
width:100%;
}
.socialButtons .socialIcon {
   float: none;
    margin: 10px 15px 15px -4px;
}
#alustaBtn2 {
    float: left;
    margin: 60px 0 0;
}
.socialButtons {
    position: absolute;
}

section.first {
    background-size: auto 100%;
    background-position: right top;
    width: 100%;
    top: 0;
    z-index: 99;
    padding-top: 0;
    padding-bottom: 0;

    min-height:auto;
    height:auto;
}


.tulemusImgClass {
padding-bottom:100%;
}


h1.center-text {
    padding-top: 20px;
    font-size: 32px;
    line-height: 37px;
    padding-bottom: 10px;
}

.logo{
display:block;
margin: 0 auto;
    position: relative;
}
.medium-horizontal.menu {
float:none;
    margin-top: 10px;
}
.textContainerImg {
padding-bottom:100%;
margin:30px 0;
}
.logo {
    width: 160px;
    }
.logod {
display:none;
}

nav {
position:relative;

    height: 64px;

}

.fullWidth {
    padding: 0;

}


}

@media screen and (max-width:640px) and (-webkit-min-device-pixel-ratio:0) {
  select:focus,
  textarea:focus,
  input:focus,
  select,
  textarea,
  input, button {
    font-size: 16px!important;
    font-style:arial!important
    font-weight:100!important;
  }
}

.preloader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:white;
z-index:99999;
}
.preL {
position: relative;
top:50%;
-webkit-transform: translateZ(0) translateY(-50%);
-ms-transform: translateZ(0) translateY(-50%);
transform: translateZ(0) translateY(-50%);
}
.sk-cube-grid {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #ee3d31;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  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 sk-cubeGridScaleDelay {
  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);
  }
}





.accordion{
  border:none;
}
.accordion-content {
  border:none;

}
.accordion-item  {
  background: #7b3469;
  margin-bottom: 20px;
  border:none;
}
.accordion-item:hover, .accordion-item:focus, .accordion-item:focus a, .accordion-title:hover, .accordion-title:focus  {
  background-color: #8ed7f8;
  color: white;
  outline:none;
}
.accordion-item.is-active {
  background: #8ed7f8;
}
.accordion-title {
    padding: 0.45rem 1rem;
  }
.accordion-item a{
  font-weight: 100;
  color: white;
  font-size: 18px;
border:none;
}


.edulugu .accordion-item  {
  background-color: white;

}
.edulugu .accordion-item a span {
margin: 10px 0 0;
display: block;
color:black;
font-weight: 100;
}

.edulugu p{
  font-size: 16px;
}
.edulugu .headerP{
  font-size: 16px;
  color: #7b3469;
font-weight: bold;
margin:0;
}



.endDiagonal {
  display: none;
}

.addWhite .row > div , .formRow{
  background: white;
}
.first h1, .first p {
  background: #7b3469;
}



.close-button {

background: none;
 border: 0;
 border-radius: 0;
 color: #fff;
 font-family: Montserrat, "Helvetica Neue", sans-serif;
 font-weight: 700;
 letter-spacing: 0.046875em;
 line-height: 1;
 padding: 0.84375em 0.875em 0.78125em;
 text-transform: uppercase;

}

.firstPage {
  background-color: #7b3469;
  border:2px solid white;
  color:white;
  width: 50%;
    margin: 0 auto 2rem;
    display: block;

    opacity: 1;

}
.firstPage:hover {
  background-color: white;

  opacity: 1;
color:#7b3469;
}


.reveal {
      padding: 3rem;
      //height: 100%;

}

.close-button {
    background: none;
    border: 0;
    border-radius: 0;
    color:#7b3469;
    font-family: Montserrat, "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.046875em;
    line-height: 1;
    padding: 0;
    text-transform: uppercase;
}
.close-button:hover {
  background: none;
  color: #8ed7f8;

}

.reveal {
    padding: 0rem;
  }
.justModal {
  padding: 3rem;

}
.specialModal > div{
  padding: 3rem;

}
.specialModal h4, .specialModal h5 {
  color:#7b3469;

}

  .specialModal .lillabg {
    background:#7b3469;

  }
  .specialModal .lillabg h4, .specialModal .lillabg h5, .specialModal .lillabg p {
color:white;
  }
  .specialModal .lillaTxt {
    color:#7b3469;

  }

  body.is-reveal-open {
      overflow: auto;
  }

  .reveal-overlay {

      overflow-y: auto;
  }





//
