/* siin on kirjas wrapperi kasulikkus:;
.wrapper{
  display:flex;
  flex-direction:row:column;
  min-height:100vh;
}

.main-content{
  flex-grow:1;
  background-color: reed;
}
*/

/** {
  box-sizing: border-box;
}
*/

.main-header{
  top:0;
  left:0;
  right:0;
  padding:8px;
  /*margin:16px;*/
}

.home .main-header{
  position: absolute;
  /*background: linear-gradient(180deg, #000000 30.21%, rgba(49, 49, 49, 0) 162.82%);*/
  z-index: 1; /*z-index määrab ära sügavuse ehk selle, mis hakkab olema eespool, mis tagapool*/
}

.blog .main-header{
  display: flex;
  align-items: center;
  background-image:url('../images/blog_posts.jpg');
  background-position:center right;
  background-repeat: no-repeat;
  background-size: cover;
   /*background-attachment: fixed;*/
  /*background: linear-gradient(180deg, #000000 30.21%, rgba(49, 49, 49, 0) 162.82%);*/
  z-index: 1; /*z-index määrab ära sügavuse ehk selle, mis hakkab olema eespool, mis tagapool*/
  max-height:430px;
}

.blog .main-header .container{
  padding-bottom: 200px;
  padding-top: 0;
}  

.blog .main-header p{
  color: #f2f2f2;
  line-height: 40px;
  font-size: 25px;
  text-align: right;
  margin:0;
}

.blog .main-header a{
  color: #f2f2f2;
  text-align: right;
}


/*alla kerimisel kaotab üleval oleva menüü ära*/
body.sticky #quick-menu {
  display: none;
}

/*NAVIGERIMISE OSA KOOS JOONEGA*/
nav{
  z-index: 1;
  display: flex;
  align-items: flex-end;
   height: 75px; /*menüüosa kõrgus*/
    position: fixed; /*alla kerides liigub menüü kaasa*/
   top: 0;
  right:10%;
  transition:top 0.3s;
  /*all on lisatud menüüribale eraldi taust
  background: linear-gradient(180deg, #000000 30.21%, rgba(49, 49, 49, 0) 162.82%);*/
    /*opacity: 0.5;*/
}

/*ALLAKERIMISE MENÜÜ ehk see menüü, mis hakkab  välja paistma alla kerides*/
.sticky-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  padding-right: 10%;
  padding-left:10%;
  z-index: 2;
  background: linear-gradient(180deg, #000000 30.21%, rgba(49, 49, 49, 0) 162.82%);
  flex-grow: 1;
}

/*allakerimise menüü*/
.sticky-nav ul {
  display: flex;
  list-style-type: none; /*punkt eest ära*/
  margin-top: 40px; /*menüüosa kõrgus*/
  padding: 0;
}
/*allakerimise menüü*/
.sticky-nav li{
  z-index: 4;
  text-align: center; /*plokis olev menüü on reastatud keskele*/
  height: 100%;
  transition: all ease-in-out .9s;
}

/*allakerimise menüü*/
.sticky-nav a {
  display: block;
    color: #fafafa;
    padding: 8px 12px 8px 12px; /*katseta nende numbrimuutustega*/
    margin:0px 0px 0px 0px;
    text-decoration: none;
  /*font-weight: bold;*/
}

/*Keelevalik conteineriga ühele joonele paremasse äärde*/
.sticky-nav li.langnav a {
  padding-right: 0;
}

body.sticky .sticky-nav {
  display: flex;
  justify-content: flex-end;
  transition:top 0.9s;
}

.sticky-nav .container{
  padding-top: 8px;
  padding-bottom: 6px;
}


/*PEAMINE - ÜLEMINE menüü*/
#quick-menu {
  flex-grow: 1; /*võta enda alla nii palju kui saad*/
}

/*menüü*/
#quick-menu ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
/*menüü*/
#quick-menu li{
  z-index: 2;
  text-align: center; /*plokis olev menüü on reastatud keskele*/
  height: 100%;
  transition: all ease-in-out .5s;
}

/*menüü*/
#quick-menu a {
  display: block;
    color: #fafafa;
    padding: 8px 12px 8px 12px; /*katseta nende numbrimuutustega*/
    margin:0px 0px 0px 0px;
  /*font-weight: bold;*/
}

/*Keelevalik conteineriga ühele joonele paremasse äärde*/
#quick-menu li.langnav a {
  padding-right: 0;
}

/*menüüpealne joon*/
li.different{
  border:none;
  position: relative;
}

/*menüüpealne joon*/
li.different:hover{
  border: none;
}

/*menüüpealne joon*/
.different::after{
  content: '';
  position: absolute;
  height: 3px; /*joone jämedus*/
  left: 8px; /*joon jookseb keskele kokku*/
  right: 8px;
  top:0;  /*asukoht, kus joon asub*/
  background-color: #800000; /*joone värvus*/
  transition: all ease-in-out .5s;
  transform: scaleX(0);
}

/*menüüpealne joon kui on aktiivne jääb joon peale*/
.different:hover::after,
.different.active::after {
  transform: scaleX(1);
}

/*otsinguvälja asukoht*/
#top-search{
  display:flex;
  z-index: 1px;
  position:absolute;
  right:10%;
  top:90px; /*otsinguriba kõrgus*/
  border-radius: 3px; 
  border-bottom: 1px solid #c2c2c2;

}

.search img{
  margin:0;
  padding:0;
  display:flex;
}

/*otsinguvälja disain*/
.search input[type="text"], .search textarea {
  padding:4px;
  width:300px; /*pole kindel, kas nii võib määrata*/
  margin: 0;
     border-bottom: 1px solid #fafafa;
    opacity: 0.8;
    background-color: transparent;
    border:0;
    color:#fafafa;
    outline:none;
}

.search ::placeholder{
  color:#fafafa;
  opacity: 0.8;
}



/*avalehe ülemine pilt*/
#showcase_home {
  display: flex;
  align-items: center;
  background-image:url('../images/avaleht6.jpg');
  background-position:center right;
  background-repeat: no-repeat;
  background-size: cover;
   /*background-attachment: fixed;*/
  min-height:800px;
  /* margin-bottom:30px;
  opacity: 0.4; */
}

/*avalehe tekst*/
#showcase_home p{
  color:#F2F2F2;

  line-height: 50px;
  font-size: 40px;
  padding-top:400px;
}

#showcase_home a{
  color:#F2F2F2;
  font-size:24px;
}


/*blogipostituste suur kast, mis mahutab enda sees kahte kasti ja mis hõlmavad 50% konteinerist*/
.blog_boxes {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
}

.blog_boxes small{
  display: flex; /*aitab määrata margin/paddinguid*/
  margin-bottom:14px;
}


/*blogipostituse 50% kast*/
.main-block{
  background-color:#fff;
  /*border:1px #ccc solid;*/
  padding:16px;
  border-radius:4px;
}

/*blogisse lisatud pilt*/
.sidebar{
  position: relative;
  text-align: left;
  padding:0px;
  box-sizing:border-box;
  min-height: 220px;
}
/* blogisse lisatud pildi serv kumer ja varjuga */
.sidebar img{
  border-radius:4px;
  box-shadow: 3px 3px 5px #ccc;
}

/*blogi pilti lisatud tekst*/
.top-left {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1.50em;
    color: #fff;
}

.top-left small{
   font-size: 14px;
}

/* blogisse lisatud pildilt hiirega üleminek läbipaisvusega */
.sidebar img:hover{
  opacity: 0.5;
}


/*ajajoone pilt keskele 
.img_center{
  max-height:400px;
  overflow-y: scroll;
}*/

.img_center img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: 15px;
  width: 15px;
}


/*----------AKORDIONI ALGUS---------- */
.accordion {
  background-color: #fff;
  color: #800000;
  cursor: pointer;
  padding: 0;
  margin-top:8px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: none; 
}

.panel {
  margin:0;
  padding: 0 16px;
  display: none;
  background-color: white;
  overflow: hidden;
}
/*----------AKORDIONI LÕPP---------- */


/*KERIMISRIBA DISAIN*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #800000; 
}

/*ÜKS PLOKK TAUSTAKS*/
.one_background_block{
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
    background-color:#fff;
    padding:16px;
  border-radius:4px;
}

.one_background_block a{
  color: #800000;
}


/*ÕPETAJATE suur kast, mis mahutab enda sees kahte kasti ja mis hõlmavad 50% konteinerist*/
.teacher_boxes {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
}


/*õpetaja 50% kast*/
.teach-block{
  background-color:#fff;
  /*border:1px #ccc solid;*/
  padding:16px;
  border-radius:4px;
}

/* lisatud pilt*/
.content{
  padding:0px;
  box-sizing:border-box;
  min-height: 20px;
  float:left;
}

.T_image{
  float:left;
  margin-right: 16px;
}

/*  lisatud pildi serv kumer ja varjuga */
.content img{
  border-radius:4px;
  box-shadow: 3px 3px 5px #ccc;
}

.content p img{
  box-shadow:none;
  float:none;
}

/*  lisatud pildilt hiirega üleminek läbipaisvusega */
.content img:hover{
  opacity: 0.5;
}


/*LOGIMISKASTI OSA ALGUS*/

/* Full-width input fields */
input[type=text], input[type=password], input[type=date], textarea{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 3px;
  box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25); /*kasti vari*/
  font: normal 12px Verdana, Geneva, sans-serif;
  color:#979797;
  outline:none;
}

.modal ::placeholder{
  color:#979797;
  font: normal 12px Verdana, Geneva, sans-serif;
}



.story_check{
  display: inline-block;

}

.story_check p{
  margin-left: 32px;
  margin-top: 0;
  margin-bottom: 0;
}

.story_check a{
  text-decoration: underline;
  font-weight: medium bold;
  color: #eee;
}


/*_______"Jäta mind meelde" check-boxi kujundus algus___________________________________*/

/* The new_check */
.new_check {
  /*display: block;*/

  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.new_check input {

  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {

  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fafafa;
  border-radius: 3px;
  box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
}

/* On mouse-over, add a grey background color */
.new_check:hover input ~ .checkmark {
  background-color: #ccc;

}

/* When the checkbox is checked, add a red background */
.new_check input:checked ~ .checkmark {
    background-color: #fafafa;
  box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
  border: 1px solid #ccc;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;

}

/* Show the checkmark when checked */
.new_check input:checked ~ .checkmark:after {
  display: block;

}

/* Style the checkmark/indicator */
.new_check .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-color:#800000;
}

/*________"Jäta mind meelde" check-boxi kujundus lõpp __________________________________*/


/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #fafafa;
  border: 1px solid #800000;
  border-radius: 3px;
  color: #800000;
  font-size: 14px;
  font-weight: medium bold;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.imgcontainer2 {
  text-align: center;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding-top: 16px;
  padding-bottom: 40px;
}

.separate {
  padding-bottom: 24px;
    margin-top: 16px;
}

span.psw {
  float: right;
  padding: 0;
  margin:0;
}

span.psw ul{
  list-style: none;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  /*overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  /*background-color:linear-gradient(180deg, rgba(250, 250, 250, 0) 6.63%, rgba(255, 255, 255, 0.403658) 32.04%, #FFFFFF 61.33%, #FFFFFF 86.19%), rgba(49, 49, 49, 0.16);*/
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
  padding-top: 60px;
}

.modal.show {
  display: block;
}
/* Modal Content/Box */
.modal-content {
  z-index: 6; /* Sit on top */
  background-color: #f2f2f2;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 0% auto 35% auto; /* 0% from the top, 35% from the bottom and centered */
  border: 1px solid #888;
  border-radius: 3px;
  width: 40%; /* Could be more or less, depending on screen size */
  opacity: 0.8;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 30px;
  top: 0;
  color: #979797;
  font-size: 30px;
  font-weight: medium bold;
}

.close:hover,
.close:focus {
  color: #800000;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}

/*LOGIMISKASTI OSA LÕPP*/







/*JALUSE OSA*/


/*jaluse pilt*/
#showcase_footer{
  position: relative;
  background-image:url('../images/Footer_img.png');
  background-position:center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background-attachment: fixed;*/
  min-height:300px;
}

/* location ikooni paigutamine keskele/kesleke */
.Location{
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -25px;
}

/* copyright osa*/
#main-footer{
  background:#555;
  color:#fafafa;
  /*padding:24px;
  margin-top:40px;*/
}

#main-footer .container small{
  padding: 0;
  margin:0;
  text-align:left;
}


/*SOTS.MEEDIA kast, mis mahutab enda sees NELJA kasti (grid-template-columns: 1fr 1fr 1fr 1fr;) ja mis jaotuvad võrdselt konteineris*/
.soc_media {
  max-width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr; /*2 kasti (2 kasti on peidetud*/
  column-gap: 16px;
  grid-row-gap: 16px;
  float: right;
  padding:0;
  margin:0;
}



@media(max-width:600px){
  #main{
    width:100%;
    float:none;
  }
  #sidebar{
    width:100%;
    float:none;
  }
}

a{
  text-decoration:none;
  color:#323232;
}
a:hover{
  color:#ccc;
}

body{
  background-color:#fafafa;
  color:#555;
  font: normal 16px Verdana, Geneva, sans-serif;
  margin:0
}

.container{
  width:80%;
  margin:auto;
  overflow:hidden
}

/*PUNANE NUPP*/

#main_index ul{
    /*list-style: none; võtab punkti ära loendi eest*/
    /*margin: 0; /*reastab vasakule, üles*/
      padding: 0;
}

#main_index h1{
  margin-top: 40px;
  margin-bottom: 30px;
  margin-left:16px;
}

#main_index{
  padding-bottom: 40px;
  background: linear-gradient(360deg, rgba(250, 250, 250, 0) 5.52%, rgba(255, 255, 255, 0.403658) 20.34%, #FFFFFF 81.24%, #FFFFFF 99.98%), rgba(49, 49, 49, 0.16);
}

#main_index p{
  line-height: 24px;
}

#id01 ul{
  list-style: none;
  padding: 0;
}

.red_button{
  background-color:#800000;
  color:#fff;
  padding:8px;
  border:1px #800000 solid;
  border-radius: 3px;
  touch-action: manipulation;
}

.red_button:hover{
  background-color:#fff;
  color:#800000;
  transition: all 400ms ease-in-out;

}

.white_button{
  background-color:#fafafa;
  color:#800000;
  padding:8px;
  border:1px #800000 solid;
  border-radius: 3px;
}

.white_button:hover{
  background-color:#800000;
  color:#fafafa;
  transition: all 400ms ease-in-out;
}


dl {
  list-style-type: none;
  line-height: 24px;
}

dl li:before{
    content: '';
    display: inline-block;
    height: 15px;
    width: 15px;
    background-size: 15px;
    background-image: url('../images/Punkt.png');
    background-repeat: no-repeat;
    margin-right: 5px;
    line-height: 32px;
}




/*
.clr{
  clear:both;
}
*/


/*SÜNDMUSTE PLOKID*/
/*sündmuste suur kast, mis mahutab enda sees KOLME kasti (grid-template-columns: 1fr 1fr 1fr;) ja mis jaotuvad võrdselt konteineris*/
.event_boxes {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /*kolm kasti*/
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
}

/*õpetaja 50% kast*/
.event-block{
  background-color:#fff;
  /*border:1px #ccc solid;*/
  padding:16px;
  border-radius:4px;
}
/* lisatud pilt*/
.event_content{
  padding:0px;
  box-sizing:border-box;
  min-height: 20px;
  float:left;
}

/*  lisatud pildi serv kumer ja varjuga */
.event_content img{
  border-radius:4px;
  box-shadow: 3px 3px 5px #ccc;
}

/*  lisatud pildilt hiirega üleminek läbipaisvusega */
.event_content img:hover{
  opacity: 0.5;
}


/*SÕPRADE PLOKID*/
/*SÕPRADE suur kast, mis mahutab enda sees VIIE kasti (grid-template-columns: 1fr 1fr 1fr 1fr 1fr;) ja mis jaotuvad võrdselt konteineris*/



#main_index_dark{
  background-color: #555;
  padding-bottom: 20px;
}

#main_index_dark h1{
  color: #F2F2F2;
  margin-top: 40px;
    margin-bottom: 30px;
    line-height: 24px;
  /*font: normal 24px Verdana, Geneva, sans-serif;  */
  font-weight: medium;
}

#main_index_dark p{
  color: #eee;
  line-height: 24px;
}

#main_index_dark ul{
  margin:0;
  padding: 0;

}

.friends_boxes {

  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /*viis kasti*/
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
}

/*õpetaja 50% kast*/
.friend-block{
  background-color:#555;
  /*border:1px #ccc solid;*/
  padding:16px;
  border-radius:4px;
}
/* lisatud pilt*/
.friend_content{
  padding:0px;
  box-sizing:border-box;
  min-height: 20px;
  float:left;
}

/*  lisatud pildi serv kumer ja varjuga */
.frined_content img{
  border-radius:4px;
  box-shadow: 3px 3px 5px #fff;
}

/*  lisatud pildilt hiirega üleminek läbipaisvusega */
.friend_content img:hover{
  opacity: 0.5;
}

.categories li{
  list-style-image:url('../images/detail.png');
}
/*
.my-form{
  padding:16px;

}*/

.my-form .form-group{
  padding-bottom:8px;
}
.my-form label{
  padding:8px;
  display:block;  
}

.my-form input[type="text"], .my-form textarea{
  padding:8px;
  width:100%;
  margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.my-form input[type="email"], .my-form textarea{
  padding:8px;
  width:100%;
  margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
 }

.my-form input[type="date"], .my-form textarea{
  padding:8px;
  width:100%;
  margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font: normal 12px Verdana, Geneva, sans-serif;
}

.my-form select[type="selection"]{
  padding:8px;
  width:100%;
  margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font: normal 12px Verdana, Geneva, sans-serif;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
    color: #979797;
}

.story_box{
  flex-grow: 1;
  display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}


.dropzone {
    min-height: 120px;
    border: 1px dashed #afafaf;
    border-radius: 4px;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
}

.dropzone span{
  color:#800000;
}

.preview ul{
  float:right;
}


/* BLOGIPOSTITUSE OTSING, NUPP, ARHIIVI OTSING*/

/*ariivi asjad*/

.archive_features{
  display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  margin-top:40px;
  align-items: center;
}

.archive_features ul{
  list-style: none; 
}

.archive_features a{
  display: block;
}

.down_search img {
  display: block;
}

.archive_features a{
  display: block;

}

.archive_features li{
  margin-right: 24px;
}
  

.down_search{
  max-height:38px;
    border-radius: 3px;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25); /*kasti vari*/
  width:350px;
  display: inline-flex;
  align-items: center;
  background-color: #fafafa;
  margin-right: 24px;
}

.down_search img {
  display: block;
}

/*otsinguvälja disain*/
.down_search input[type="text"], .down_search textarea{
  margin:0;
  padding: 10px 14px;
    background-color: transparent;
    border:0;
    box-shadow: none;
}

/* Sirvi arhiivi nupp */

.dropup {
  position: relative;
  display: block;
  margin-right:24px;
  padding:0;
}

.dropup li{
  display:block;
  min-height:38px;
}

.dropup a{
  min-height:38px;
}


.dropup-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  bottom: 50px;
  z-index: 10;
}

.dropup-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropup-content a:hover {background-color: #ccc}

.dropup:hover .dropup-content {
  display: block;
}

.dropup:hover .dropbtn {
  background-color: #2980B9;
}


/*BLOGIPOSTITUSE PILDID*/
/*sündmuste suur kast, mis mahutab enda sees KOLME kasti (grid-template-columns: 1fr 1fr 1fr;) ja mis jaotuvad võrdselt konteineris*/
.post_boxes {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /*kolm kasti*/
  column-gap: 16px;
  grid-row-gap: 16px;
    text-align: left;
}

/*väike kast*/
.post-block{
  /*background-color:#fff;
  border:1px #ccc solid;*/
  padding:0px;
  border-radius:4px;
}
/* lisatud pilt*/
.post_content{
  padding:0px;
  box-sizing:border-box;
  min-height: 20px;
  float:left;
}

/*  lisatud pildi serv kumer ja varjuga */
.post_content img{
  border-radius:4px;
  /*box-shadow: 3px 3px 5px #ccc;*/
}

/*  lisatud pildilt hiirega üleminek läbipaisvusega 
.post_content img:hover{
  opacity: 0.5;
}*/



/*Blogipostituse TEST2 */
* {
  box-sizing: border-box;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 60%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 40%;
  padding-left: 20px;
   background-color: none;
}

/* Add a card effect for articles */
.card {
   padding: 20px;
   margin-top: 20px;
   background-color:#fff;
  /*border:1px #ccc solid;*/
  border-radius:4px;
}

.card2 {
   padding: 20px;
   margin-top: 20px;
}

.card small{
  display: flex; /*aitab määrata margin/paddinguid*/
  margin-bottom:10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}



