﻿/*https://codepen.io/abergin/pen/ihlDf*/
.transition, p,.sublist, ul li span.expand:before, ul li span.expand:after {
  transition:all 0.25s ease-in-out;
}


.flipIn,  .sublist .elt {
  animation:flipdown 0.5s ease both;
}

.sublist {
  animation:flipdown 1s ease both;
}

    
.no-select, h2 {
  -webkit-tap-highlight-color:transparent;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}


.proa h2 {
  /*text-transform:uppercase;*/
  font-size:26px;
  line-height:40px;
  letter-spacing:1px;
  display:block;
  background-color:#fefffa;
  margin:0;
  cursor:pointer;
  padding:8px 0px 8px 15px;
}
.proa input[type=checkbox] ~ h2 {
  font-weight:300;
}
.proa input[type=checkbox]:checked ~ h2 {
  font-weight:500;
}

.proa .sublist {
  color:rgba(48, 69, 92, 0.8);
  position:relative;
  overflow-y:auto;
  overflow-x:hidden;
  max-height:800px;
  opacity:1;
  transform:translate(0, 0);
  margin-top:14px;
  z-index:2;
}

ul.proa {
  list-style:none;
  /*perspective:900;*/
  padding:0;
  margin:0 0 130px 0;
}
ul.proa li {
  position:relative;
  padding:0;
  margin:0;
  padding-bottom:4px;
  padding-top:18px;
  border-top:1px dotted #dce7eb;
}
.sublist .elt:nth-of-type(1) {
  animation-delay:0.2s;
}
.sublist .elt:nth-of-type(2) {
  animation-delay:0.4s;
}
.sublist .elt:nth-of-type(3) {
  animation-delay:0.6s;
}
.sublist .elt:nth-of-type(4) {
  animation-delay:0.8s;
}
.sublist .elt:nth-of-type(5) {
  animation-delay:1s;
}
.sublist .elt:nth-of-type(6) {
  animation-delay:1.2s;
}
.sublist .elt {
  animation-delay:1.4s;
}
ul.proa li:last-of-type {
  padding-bottom:0;
}
ul.proa li input[type=checkbox] {
  position:absolute;
  cursor:pointer;
  width:100%;
  height:100%;
  z-index:1;
  opacity:0;
  margin:0;
  height:56px;
  max-width:initial;
}
ul.proa li span.expand0 {
  position:absolute;
  transform:translate(-15px, 15px);
  background-color:#fff;
  /*background:#007fff none repeat scroll 0 0;*/
  border-radius:50%;
  right:0;
  width:25px;
  height:25px;
}
ul.proa li input[type=checkbox]:checked ~ span.expand0 {
  /*background-color:#ff6873;*/
  background-color:#B61E46;
}
 /*fa fa-circle*/
ul.proa li span span.expand {
    position:absolute;top:9px;left:11px;
}
ul.proa li span.expand0 span:before, 
ul.proa li span.expand0 span:after {
  /*background-color:#ff6873;*/
  background-color:#B61E46;
  content:"";
  position:absolute;
  width:3px;
  height:9px;
} 
ul.proa li span span.expand:before {
  transform:translate(-2px, -2px) rotate(45deg);
}
ul.proa li span span.expand:after {
  transform:translate(2px, -2px) rotate(-45deg);
}
ul.proa li input[type=checkbox]:checked ~ span span.expand:before {
  transform:translate(2px, 0) rotate(45deg);
  background-color:#fff;
}
ul.proa li input[type=checkbox]:checked ~ span span.expand:after {
  transform:translate(-2px, 0) rotate(-45deg);
  background-color:#fff;
}
ul.proa input[type=checkbox]:checked ~ h2 {
    /*color:#ff6873;*/
  color:#B61E46;
}
ul.proa input[type=checkbox]:not(:checked) ~ h2 {
    /*background-color:#ff6873;*/
  background-color:#B61E46;
    color:#fff;
}

ul.proa li input[type=checkbox]:checked ~ .sublist {
  margin-top:0;
  max-height:0;
  opacity:0;
  transform:translate(0, 50%);
}


@keyframes flipdown {
  0% {
    opacity:0;
    transform-origin:top center;
    transform:rotateX(-90deg);
  }
  5% {
    opacity:1;
  }
  80% {
    transform:rotateX(8deg);
  }
  83% {
    transform:rotateX(6deg);
  }
  92% {
    transform:rotateX(-3deg);
  }
  100% {
    transform-origin:top center;
    transform:rotateX(0deg);
  }
}

/* Elements in list styling */

/*.elt-list {
}*/

.elt {
  clear:both;
  min-height:80px;
  padding:5px 0 5px 5px;
  border-bottom:1px solid #dddddd;
  font-size:14px;
  /*line-height:26px;*/
  letter-spacing:1px;
}
.md-add-school {padding:2rem;text-align:center}
.md-add-school span {word-wrap:normal;white-space:normal}
.elt-descr {
  /*float:left;*/
  padding-right:75px;
}
.elt-name {
  line-height:26px;
  font-size:17px;
  text-transform:capitalize;
}
.elt-data {
  font-size:12px;
  text-transform:capitalize;
}
.elt-actions {
   /*width:70px;*/
  float:right;
}
a.elt-action {
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    /*padding-top: 5px;*/
    /*background-color:#ff6873;*/
    background-color: #B61E46;
    border-radius: 50%;
    color: #fff;
    margin: 5px;
    /*line-height: 25px;*/
    /*text-align: center;*/
}
span.elt-action {
  float:right;
  display:block;
  /*width:70px;*/
  height:25px;
  /*background-color:#ff6873;*/
  /*background-color:#B61E46;*/
  border-radius:20%;
  color:#fff;
  margin:5px;
  line-height:25px;
  text-align:center;
  padding:0 4px;

  font-size: 75%;
  font-weight: 700;
  white-space: nowrap;
}
span.elt-action a:link { color:#fff;text-decoration:none;}
span.elt-action a:visited { color:#fff;text-decoration:none;}
.bg-white {
  color:#fff;
}


/*
html {
  width:100%;
  height:100%;
  perspective:900;
  overflow-y:scroll;
  background-color:#dce7eb;
  font-family:"Titillium Web", sans-serif;
  color:rgba(48, 69, 92, 0.8);
}

body {
  min-height:0;
  display:inline-block;
  position:relative;
  left:50%;
  margin:90px 0;
  transform:translate(-50%, 0);
  box-shadow:0 10px 0 0 #ff6873 inset;
  background-color:#fefffa;
  max-width:450px;
  padding:30px;
}
    
@media (max-width:550px) {
  body {
    box-sizing:border-box;
    transform:translate(0, 0);
    max-width:100%;
    min-height:100%;
    margin:0;
    left:0;
  }
}
    */


/*.schools-list .school-class {
  border-bottom:1px solid #dddddd;
  padding-left:11px;
  padding-top:11px;
  padding-bottom:11px;
}
.schools-list .title-class {
  float:left;
}
.schools-list .publish-btn {
  float:left;
}
.add-new-btn {
  float:left;
  width:100%;
  padding:8px 0px;
}
.add-new-btn .fa-plus {
  background:#007fff none repeat scroll 0 0;
  border-radius:50%;
  color:#fff;
  height:25px;
  line-height:25px;
  margin-left:10px;
  margin-right:5px;
  text-align:center;
  width:25px;
}
.action-class {
  float:right;
  height:42px;
  line-height:42px;
  padding-right:15px;
  text-align:right;
  width:15%;
}
.action-class a .fa {
  background:#007fff none repeat scroll 0 0;
  border-radius:50%;
  color:#fff;
  height:25px;
  line-height:25px;
  text-align:center;
  width:25px;
}
ul.genius li a i.fa {
  color:#fff;
}*/


/*h1, h2 {
  color:#ff6873;
}*/

/*h1.proa {
  text-transform:uppercase;
  font-size:36px;
  line-height:42px;
  letter-spacing:3px;
  font-weight:100;
}*/
