/* Animations */
@-webkit-keyframes bounce { 0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  40% { -webkit-transform: translateY(-5px); transform: translateY(-5px); }
  60% { -webkit-transform: translateY(-5px); transform: translateY(-5px); } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  40% { -webkit-transform: translateY(-5px); transform: translateY(-5px); }
  60% { -webkit-transform: translateY(-5px); transform: translateY(-5px); } }
/*Scale animation*/
@-webkit-keyframes scale { 25% { -webkit-transform: scale(0.95); transform: scale(0.95); }
  75% { -webkit-transform: scale(1.05); transform: scale(1.05); } }
@keyframes scale { 25% { -webkit-transform: scale(0.95); transform: scale(0.95); }
  75% { -webkit-transform: scale(1.05); transform: scale(1.05); } }
@font-face { font-family: 'Ancizar-Sans-Bold'; src: url("../fonts/Ancizar-Sans/AncizarSans-Bold.eot"); src: url("../fonts/Ancizar-Sans/AncizarSans-Bold.woff2") format("woff2"), url("../fonts/Ancizar-Sans/AncizarSans-Bold.woff") format("woff"), url("../fonts/Ancizar-Sans/AncizarSans-Bold.ttf") format("truetype"), url("../fonts/Ancizar-Sans/AncizarSans-Bold.svg#AncizarSans-Bold") format("svg"), url("../fonts/Ancizar-Sans/AncizarSans-Bold.eot?#iefix") format("embedded-opentype"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Ancizar-Sans-BoldItalic'; src: url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.eot"); src: url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.woff2") format("woff2"), url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.woff") format("woff"), url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.ttf") format("truetype"), url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.svg#AncizarSans-BoldItalic") format("svg"), url("../fonts/Ancizar-Sans/AncizarSans-BoldItalic.eot?#iefix") format("embedded-opentype"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Ancizar-Sans-Regular'; src: url("../fonts/Ancizar-Sans/AncizarSans-Regular.eot"); src: url("../fonts/Ancizar-Sans/AncizarSans-Regular.woff2") format("woff2"), url("../fonts/Ancizar-Sans/AncizarSans-Regular.woff") format("woff"), url("../fonts/Ancizar-Sans/AncizarSans-Regular.ttf") format("truetype"), url("../fonts/Ancizar-Sans/AncizarSans-Regular.svg#AncizarSans-Regular") format("svg"), url("../fonts/Ancizar-Sans/AncizarSans-Regular.eot?#iefix") format("embedded-opentype"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Ancizar-Sans-RegularItalic'; src: url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.eot"); src: url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.woff2") format("woff2"), url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.woff") format("woff"), url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.ttf") format("truetype"), url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.svg#AncizarSans-RegularItalic") format("svg"), url("../fonts/Ancizar-Sans/AncizarSans-RegularItalic.eot?#iefix") format("embedded-opentype"); font-weight: normal; font-style: normal; }
.active-teachers { float: left; margin: -50px 0 0; padding: 0 80px 50px 40px; width: 80%; }
.active-teachers .section_name { color: #0a526a !important; font-family: 'AncizarSans-BoldItalic', sans-serif !important; font-size: 40px !important; line-height: 1 !important; margin-bottom: 20px; margin-top: 10px; }
.active-teachers .teachers { padding: 20px 0; }
.active-teachers .teachers .teacher { display: inline-block; margin-bottom: 20px; margin-right: 15px; position: relative; width: calc(20% - 15px); }
.active-teachers .teachers .teacher:nth-child(5n) { margin-right: 0; }
.active-teachers .teachers .teacher .teacher_image { margin-bottom: 30px; position: relative; }
.active-teachers .teachers .teacher .teacher_info { background-color: #fff; border: 1px solid #d0d2d3; bottom: 0; left: 0; margin: 0 auto; overflow: hidden; padding: 8px 12px; position: absolute; right: 0; text-align: center; width: 75%; }
.active-teachers .teachers .teacher .teacher_info .teacher_name { color: #0a526a !important; font-family: 'Ancizar-Sans-Bold', sans-serif !important; font-size: 19px; line-height: 1.1; margin: 0; }
.active-teachers .teachers .teacher .teacher_info .teacher_type { color: #0a526a !important; font-family: 'Ancizar-Sans-RegularItalic', sans-serif !important; font-size: 15px; line-height: 1.1; margin: 0; padding-top: 3px; }

@media screen and (min-width: 1200px) and (max-width: 1600px) { .active-teachers .teachers .teacher .teacher_info { height: 76px; padding: 8px; }
  .active-teachers .teachers .teacher .teacher_info .teacher_name { font-size: 16px; } }
@media screen and (max-width: 40em) { .active-teachers { margin: 0; width: 100%; padding: 0 15px; }
  .active-teachers .teachers { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -ms-flex-line-pack: stretch; align-content: stretch; }
  .active-teachers .teachers .teacher { width: 50%; padding: 0 10px 20px; margin: 0 0 20px; } }
