html, body{
    font-size: 16px;
    background: #f9f9f9;
}

.admin_panel{
    background: #187aed;
    padding-top: 2rem;
    position: relative;
}

.admin_panel h2{
    color: white;
    margin-top: 1rem;
}

.admin_panel .close{
    color: white;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.admin_action{
    display: inline-block;
    width: fit-content;
    background-color: white;
    color: #187aed;
    padding: 16px 32px;
    border-radius: 1000px;
    margin: 1rem 0.5rem;
    font-weight: 400;
}

.admin_action:hover, .admin_action:focus{
    transform: translateY(-2px);
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
}

.admin_action .material-icons{
    font-size: 24px;
    vertical-align: bottom;
    margin-bottom: -2px;
    margin-right: -8px;
    margin-left: 8px;
    transition: all 0.35s ease;
}

.admin_action_back{
    font-size: 18px;
    color: white;
    font-weight: 400;
    padding: 1rem 2rem;
    display: block;
    display: inline-block;
}

.admin_action_back:hover, .admin_action_back:focus{
    color: white;
}

.admin_action_back .material-icons{
    font-size: 22px;
    vertical-align: bottom;
    position: absolute;
    margin-left: -2rem;
    margin-bottom: -3px;
    transition: all 0.35s ease;
    color: white;
}

.admin_message_not_published{
    color: #fff;
    width: 100%;
    font-size: 16px;
    padding: 1rem 0;
    margin: 0;
    font-weight: 400;
}

.admin_message_not_published .material-icons{
    vertical-align: bottom;
    margin-right: 0.5rem;
    margin-bottom: 3px;
    font-size: 24px;
}


/* ============ EDIT PAGE ============ */

.django-ckeditor-widget{
    width: 100%;
}

/*
.cke_contents iframe{
    max-width: 850px !important;
    margin: 0 auto !important;
    display: block !important;
}
*/

.form-control{
    height: 48px;
    border: 2px solid rgba(0,0,0,0.12);
    border-radius: 5px;
    font-size: 1rem;
}

.edit-save-group{
    justify-content: space-around;
    flex-flow: row wrap;
    align-items: stretch;
    display: flex;
    margin: 0 -4px;
}

.btn-save{
    font-size: 18px;
    display: inline-block;
    margin: 4px;
}

#form_field_image a{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-edit-save-note{
    color: rgba(0,0,0, 0.54);
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-weight: 400;
    font-style: italic;
}


/* ============ DETAILS PAGE ============ */

.entry{
    max-width: 800px;
    width: 85%;
    display: block;
    margin: 0 auto;
    padding-bottom: 48px;
}

.cover_image{
    width: 1000px;
    height: calc((1000px/16)*9);
    background-color: #eee;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    border-radius: 5px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;

    /* Vertical center kids */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1300px){
    .cover_image{
        margin-top: 3rem;
        box-shadow: none;
    }
}

@media (max-width: 1050px){
    .cover_image{
        border-radius: 0;
        width: 100vw;
        height: calc((100vw/16)*9);
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-top: 0;
    }
}

.cover_image .cover_image_shade{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,.36);
}

.cover_image .info{
    text-align: center;
    position: relative;
    display: block;
    margin: 0 auto;
}

.cover_image .info .post_title{
    color: white;
    margin-top: 0;
}

.cover_image .info .post_date{
    color: white;
    font-size: 1.1rem;
    font-style: italic;
}


.post_info_holder{
    text-align: center;
    display: block;
    margin: 0 auto;
    max-width: 800px;
    background-color: white;
    border-radius: 5px;
    margin-top: -5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    z-index: 10;
    position: relative;
}

@media (max-width: 850px){
    .post_info_holder{
        width: 100%;
        background-color: transparent;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }
}

.post_title{
    margin-top: 0;
}

.post_date{
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(0,0,0,.54);
    font-weight: 400;
}

@media (max-width: 768px){
    .entry{
        width: 100%;
    }
}

.blog-note{
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 60px;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
    -webkit-animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}@-webkit-keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-10px);
	}
	100% {
		transform: translatey(0px);
	}
}

.post-footer{
    max-width: 1000px;
    padding: 3rem 0;
}

.btn-back-to-blog{
    font-size: 18px;
    color: rgba(0,0,0,0.54);
    font-weight: 400;
    padding: 1rem 2rem;
    padding-left: 4rem;
    border: 1px solid #eee;
    transition: all 0.35s ease;
    border-radius: 1000px;
    display: inline-block;
}

.btn-back-to-blog:hover, .btn-back-to-blog:focus{
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    border-color: transparent;
    background-color: #187aed;
    color: white;
}

.btn-back-to-blog .material-icons{
    font-size: 22px;
    vertical-align: bottom;
    position: absolute;
    margin-left: -2rem;
    margin-bottom: -3px;
    transition: all 0.35s ease;
    color: rgba(0,0,0,0.54);
}

.btn-back-to-blog:hover .material-icons, .btn-back-to-blog:focus .material-icons{
    transform: translateX(-4px);
    color: white;
}

.btn-back-to-blog:active{
    -webkit-box-shadow: 0 2px 5px rgba(50,50,93,.05), 0 2px 5px rgba(0,0,0,.04);
    box-shadow: 0 2px 5px rgba(50,50,93,.05), 0 2px 5px rgba(0,0,0,.04);
}

.share-buttons{
    display: inline-block;
    transition: all 0.35s ease;
    transition-delay: 0.5s;
}

@media (max-width: 768px){
    .share-buttons{
        text-align: center;
        margin-bottom: 3rem;
    }
    .btn-back-to-blog{
        margin: 0 auto;
    }
    .post-footer{
        text-align: center;
    }
}

.share-buttons p{
    color: rgba(0,0,0,0.54);
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-right: 32px;
    font-weight: 400;
}

.share-buttons div{
    display: inline-block;
    margin-right: 8px;
}

.share-buttons div a{
    width: 56px;
    height: 56px;
    border: 1px solid #eee;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.share-buttons div a:hover, .share-buttons div a:focus{
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    background-color: #187aed;
    border-color: transparent;
}

.share-buttons div a .fa{
    color: rgba(0,0,0,.54);
    font-size: 24px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
}

.share-buttons div a:hover .fa, .share-buttons div a:focus .fa{
    color: white;
    transition-delay: 0s;
}

.share-buttons div a.facebook:hover, .share-buttons div a.facebook:focus{
    background-color: #4267b2;
}

.share-buttons div a.twitter:hover, .share-buttons div a.twitter:focus{
    background-color: #1da1f2;
}

.share-buttons div a.linkedin:hover, .share-buttons div a.linkedin:focus{
    background-color: #0077B4;
}

.share-buttons-pop-fb{
   -webkit-animation: social-pop-facebook 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
   animation: social-pop-facebook 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.share-buttons-pop-fb .fa{
   -webkit-animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
   animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.share-buttons-pop-twitter{
   -webkit-animation: social-pop-twitter 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
   animation: social-pop-twitter 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.share-buttons-pop-twitter .fa{
   -webkit-animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
   animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.share-buttons-pop-linkedin{
   animation: social-pop-linkedin 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
   -webkit-animation: social-pop-linkedin 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

.share-buttons-pop-linkedin .fa{
   animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
   -webkit-animation: social-pop-fa 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

@keyframes social-pop-facebook {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #4267b2;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}@-webkit-keyframes social-pop-facebook {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #4267b2;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}

@keyframes social-pop-twitter {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #1da1f2;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}@-webkit-keyframes social-pop-twitter {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #1da1f2;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}

@keyframes social-pop-linkedin {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #0077B4;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}@-webkit-keyframes social-pop-linkedin {
	0% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
	50% {
		background-color: #0077B4;
		color: white;
	}
	100% {
		background-color: transparent;
		color: rgba(0,0,0,0.54);
	}
}

@keyframes social-pop-fa {
	0% {
		color: rgba(0,0,0,0.54);
	}
	25%{
	    color: white;
	}
	75% {
	    color: white;
	}
	100% {
		color: rgba(0,0,0,0.54);
	}
}@-webkit-keyframes social-pop-fa {
	0% {
		color: rgba(0,0,0,0.54);
	}
	25%{
	    color: white;
	}
	75% {
	    color: white;
	}
	100% {
		color: rgba(0,0,0,0.54);
	}
}

/* ======================== LIST PAGE ======================== */

.blog_list{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-header {
    margin-bottom: 5rem;
}

@media (max-width: 1100px){
    .text-header {

    }
}

@media (max-width: 991px) {
  .text-header {

  }
}

.text-header h1{
  color: rgba(0,0,0,0.89);
  margin: 3rem 0;
  opacity: 0;
  line-height: 60px;
  animation: fade_in 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
  -webkit-animation: fade_in 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes fade_in{
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
     }
}

@-webkit-keyframes fade_in{
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
     }
}

@keyframes blog_subtitle_anim{
    from {
      opacity: 0;
      transform: translate(0px, 20px);
    }
    to {
      opacity: 1;
      transform: translate(0px, 0px);
     }
}

@-webkit-keyframes blog_subtitle_anim{
    from {
      opacity: 0;
      transform: translate(0px, 20px);
    }
    to {
      opacity: 1;
      transform: translate(0px, 0px);
     }
}

.text-header span {
  color: white;
  background-color: #187aed;
  border-radius: 100px;
  font-weight: 400;
  padding: 8px 16px;
  display: inline-block;
  box-shadow: 0 2px 20px rgba(24, 122, 237, 0.5);
  margin-top: 0;
  opacity: 0;
  transform: translate(0px, 100%);
  animation: blog_subtitle_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  -webkit-animation: blog_subtitle_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.text-header:after {
    display: none;
}

@keyframes note-bubble-enter-anim {
    from {
      transform: scale(0) rotate(45deg);
      opacity: 0;
    }
    to {
      opacity: 1;
      transform: scale(100%) rotate(0deg);
     }
}

@-webkit-keyframes note-bubble-enter-anim {
    from {
      transform: scale(0) rotate(45deg);
      opacity: 0;
    }
    to {
      opacity: 1;
      transform: scale(100%) rotate(0deg);
     }
}

.note-bubble{
  background-color: white;
  width: 5rem;
  height: 5rem;
  border-radius: 5rem;
  padding: 1.2rem;
  opacity: 0;
  margin: 0 auto;
  animation: note-bubble-enter-anim 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  -webkit-animation: note-bubble-enter-anim 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.note-bubble svg{
  height: 100%;
  width: auto;
  transform: rotate(15deg);
}

.note-bubble img{
  height: 100%;
  width: auto;
  transform: rotate(15deg);
}

@keyframes blog_list_posts_anim{
    from {
      opacity: 0;
      transform: translate(0px, 50px);
    }
    to {
      opacity: 1;
      transform: translate(0px, 0px);
     }
}@-webkit-keyframes blog_list_posts_anim{
    from {
      opacity: 0;
      transform: translate(0px, 50px);
    }
    to {
      opacity: 1;
      transform: translate(0px, 0px);
     }
}

.fade-in{
    animation: fade_in 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
    -webkit-animation: fade_in 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
    opacity: 0;
}

.fade-in-up{
    animation: blog_list_posts_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    -webkit-animation: blog_list_posts_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    opacity: 0;
    transform: translate(0px, 50px);
}

.blog_list_posts{
    animation: blog_list_posts_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    -webkit-animation: blog_list_posts_anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    opacity: 0;
    transform: translate(0px, 50px);
}

.blog_item{
    position: relative;
    min-height: 20px;
    width: 100%;
    background-color: white;
    margin-bottom: 2rem;
    border-radius: 10px;
    transition: all 0.4s ease;
    -webkit-box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.blog_item:not(:last-child){
    margin-bottom: 5rem;
}


.blog_item:hover{

}

.blog_item_image{
    width: 100%;
    height: 525px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    background-color: #eee;
}

.blog_item_info_wrapper{
    height: 525px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_item_info{
    width: 70%;
    margin: 0 auto;
}

.blog_item_info.no_image{
    padding: 4rem 0;
}

.blog_item .blog_item_info_title{
    color: rgba(0,0,0,.89);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.blog_item .blog_item_info_teaser{
    color: rgba(0,0,0,.54);
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 2rem;
}

.blog_item .btn-read{
    font-size: 18px;
    color: #187aed;
    font-weight: 600;
    margin-top: 1rem;
    padding: 1rem 2rem;
    padding-right: 4rem;
    transition: all 0.35s ease;
    border-radius: 1000px;
    margin-left: -2rem;
    font-style: italic;
}

.blog_item .btn-read:hover{
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
}


.blog_item .btn-read .material-icons{
    font-size: 24px;
    vertical-align: bottom;
    position: absolute;
    margin-left: 0.5rem;
    margin-bottom: -3px;
    transition: all 0.35s ease;
}

.blog_item .btn-read:hover .material-icons{
    transform: translateX(2px);
}

.blog_item .btn-read:active{
    -webkit-box-shadow: 0 2px 5px rgba(50,50,93,.05), 0 2px 5px rgba(0,0,0,.04);
    box-shadow: 0 2px 5px rgba(50,50,93,.05), 0 2px 5px rgba(0,0,0,.04);
}

.blog_item_info_date{
    position: absolute;
    top: 1rem;
    left: -1rem;
    background-color: white;
    color: rgba(0,0,0,0.54);
    font-weight: 600;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    font-size: 15px;
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.05), 0 5px 15px rgba(0,0,0,.03);
    box-shadow: 0 15px 35px rgba(50,50,93,.05), 0 5px 15px rgba(0,0,0,.03);
}

.blog_item_info_date p{
    margin: 0;
}

.blog_empty_state{
    height: 50vh;
}

.blog_empty_state_inner{
    padding: 48px;
    -webkit-box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
    background-color: #187aed;
    color: white;
    margin: 0 auto;
    border-radius: 10px;
    font-size: 22px;
}

@media (max-width: 991px){

    .blog_item:not(:last-child){
        margin-bottom: 4rem;
    }
    .blog_item_image{
        border-radius: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        height: 405px;
    }
    .blog_item_info_wrapper{
        height: auto;
    }
    .blog_item_info{
        width: 100%;
        padding: 4rem;
    }

    .blog_item_info.no_image{
        width: 100%;
        padding: 4rem 2rem;
    }

    .blog_item_info_date{
        position: absolute;
        top: -1.5rem;
        left: 4rem;
    }
}

@media (max-width: 768px){
    .blog_item_image{
        border-radius: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        height: calc(((100vw - 30px)/16)*9); /* 16:9 ratio */
    }
    .blog_item_info{
        padding: 2rem;
    }
    .blog_item_info_date{
        position: absolute;
        top: -1.6rem;
        left: 2rem;
    }

    .blog_item .blog_item_info_title{
        font-size: 2rem;
    }
}

.next-blog, .previous-blog {
    margin-top: 30px;
}

.next-blog {
    text-align: right;
    float: right;
}

.next-blog h4, .previous-blog h4 {
    margin-top: 0;
    color: rgba(0,0,0,0.54);
    padding: 0;
    font-weight: 400;
}

.next-blog label, .previous-blog label {
    color: #1d1d1d;
    font-style: normal;
    font-size: 10px;
    letter-spacing: .1em;
    line-height: 1.6em;
    text-transform: uppercase;
    font-family: Rubik;
    font-weight: 300;
}

.next-blog label:hover, .previous-blog label:hover {
    cursor: pointer;
}