/* MAIN SIZE */
body{
  /* background-color: #f8f8f8; */
  background-color: #ffffff;
  margin-bottom: 100px;
  text-align: center;
  overflow-x: hidden;
}

h1 {
  color: #0a0a0a;
  font-weight: 900;
  font-size: 42px;
}

h2 {
  color: #0a0a0a;
  font-size: 24px;
}

img {
  max-width: 100%;
}

a.home-btn{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0F64FF;
  border-radius: 44px;
  box-shadow: 0px 8px 4px rgba(0,0,0,0.1);
  color: #FFFFFF;
  /* color: rgb(205, 225, 255); */
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 20px;
  /* min-width: 200px; */
  padding: 16px 100px 16px 100px;
  text-transform: uppercase;
  text-decoration: none;
}

a.home-btn:hover{
  box-shadow: 0px 8px 4px rgba(15,100,255,0.3);
  color: #E7F1FF;
}

.post-not-found{
  padding-top: 10%;
  font-weight: bold;
  font-size: 16px;
}

.post-not-found img{
  width: 50%;
  max-width: 200px;
}

.post-not-found span{
  width: 100%;
  display: inline-block;
  margin-top: 30px;
}

#header a.navbar-brand{
  padding: 36px 20px 31px 20px;
  height: 158px;
}

#header a.navbar-brand-alt{
  display: block;
  height: 170px;
  padding-top: 14px;
}

img.img-logo-header-alt{
  height: 100%;
}

.navbar-chiapp {
  background-color: #ffffff;
  border: none;
  min-height: 80px;
  border-radius: 0px;
  border-bottom: 2px solid #e3e3e3;
  margin-bottom: 0px;
}

img.img-logo-header{
  height: 100%;
}

.flags-area{
  padding: 42px 0px 20px 0px;
  width: 100%;
  text-align: right;
}

.img-flag-header{
  width: 30px;
  margin-left: 9px
}

.header-text{
  font-size: 21px;
  line-height: 1em;
  text-align: right;
}

.container-post{
  width: 100%;
  max-width: 800px;
  margin: 0px auto;
  display: inline-block;
}

.soft-border{
  border: 0.5px solid #EAE9EA;
}

.container-post .post-img{
  background-image: url(http://s3-eu-west-1.amazonaws.com/chifamilyapp/571b5eda175cd55cc33e3282cbf1dadd-auditorio-10.jpg);
  height: 700px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
}

.container-post img.img-adjunto{
  width: 100%;
  height: auto;
  border: 0px;
}

.container-post .post-content{
  background-color: white;
  min-height: 150px;
  padding: 23px 28px;
  text-align: left;
  width: 100%;
}

.post-links a.post-link {
  background: #2468D1;
  /* background: #0F64FF; */
  color: white;
  display: block;
  font-size: 28px;
  font-weight: 500;
  height: 80px;
  line-height: 1em;
  padding: 26px 22px 0 22px;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid white;
}

.post-links a.post-link .right-arrow {
  float: right;
  margin-top: -2px;
}

.post-links a.post-link:hover {
  background: rgba(36, 105, 209, 0.8);
  /* background: rgba(15, 99, 255, 0.8); */
  text-decoration: none;
}

.post-content .teacher-img{
  width: 70px;
  height: 70px;
  border-radius: 70px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
}

.post-content .post-title-content{
  float: right;
  height: 70px;
  display: inline-block;
  padding: 0px;
  line-height: 48px;
  margin-left: 15px;
  font-size: 15px;
  vertical-align: top;
  position: relative;
  width: calc(100% - 85px);
  text-align: left;
}

.post-content .post-title{
  font-size: 32px;
  font-weight: bold;
}

.post-content .post-title-two-lines .post-title-line-1{
  font-weight: bold;
  font-size: 32px;
  height: 1em;
  line-height: 1em;
  margin-bottom: 8px;
  padding: 2px 0;
}

.post-content .post-title-two-lines .post-title-line-2{
  font-weight: 300;
  font-size: 28px;
  height: 1em;
  line-height: 1em;
  padding: 2px 0;
}

.post-content .post-date{
  /* color: #9c9c9c; */
  color: #A0A0A0;
  font-size: 24px;
  height: 1em;
  line-height: 1em;
  padding: 0;
  position: absolute;
  right: 0;
  top: calc((70px - 1em) / 2);
  vertical-align: top;
}

.post-content .title-separator{
  border-bottom: 1px solid #e1e1e1;
  border-top: 1px solid #d8d8d8;
  bottom: -25px;
  right: 0px;
  float: right;
  position: absolute;
  width: 100%;
}

.post-content .post-text{
  /* float: left; */
  font-size: 25px;
  font-weight: 400;
  min-height: 65px;
  padding-top: 42px;
  text-align: justify;
  width: 100%;
}

iframe{
  width: 100%;
}

.embed-container iframe {
  position:absolute;
  height:100%;
  width:800px;
  top:0px;
  left:0px;
}

.embed-container{
  height:0px;
  width:100%;
  padding-top:100%;
  position:relative;
}

.delimitador{
  width:800px;
  margin:auto;
}

/* SIZE 3/4 */

.size-3-4 .post-links a.post-link {
  font-size: 21px;
  height: 60px;
  padding: 20px 17px 0 17px;
}

.size-3-4 .post-content .teacher-img{
  width: 53px;
  height: 53px;
  border-radius: 53px;
}

.size-3-4 .post-content .post-title-content{
  height: 53px;
  line-height: 36px;
  margin-left: 11px;
  font-size: 11px;
  width: calc(100% - 64px);
}

.size-3-4 .post-content .post-title{
  font-size: 24px;
}

.size-3-4 .post-content .post-title-two-lines .post-title-line-1{
  font-size: 24px;
  margin-bottom: 6px;
}

.size-3-4 .post-content .post-title-two-lines .post-title-line-2{
  font-size: 21px;
}

.size-3-4 .post-content .post-date{
  font-size: 18px;
  top: calc((53px - 1em) / 2);
}

.size-3-4 .post-content .title-separator{
  bottom: -19px;
}

.size-3-4 .post-content .post-text{
  font-size: 19px;
  min-height: 49px;
}

/* SIZE 2/3 */

.size-2-3 .post-links a.post-link {
  font-size: 19px;
  height: 53px;
  padding: 17px 15px 0 15px;
}

.size-2-3 .post-content .teacher-img{
  width: 47px;
  height: 47px;
  border-radius: 47px;
}

.size-2-3 .post-content .post-title-content{
  height: 47px;
  line-height: 32px;
  margin-left: 10px;
  font-size: 10px;
  width: calc(100% - 57px);
}

.size-2-3 .post-content .post-title{
  font-size: 21px;
}

.size-2-3 .post-content .post-title-two-lines .post-title-line-1{
  font-size: 19px;
  margin-bottom: 5px;
}

.size-2-3 .post-content .post-title-two-lines .post-title-line-2{
  font-size: 19px;
}

.size-2-3 .post-content .post-date{
  font-size: 16px;
  top: calc((47px - 1em) / 2);
}

.size-2-3 .post-content .title-separator{
  bottom: -17px;
}

.size-2-3 .post-content .post-text{
  font-size: 17px;
  min-height: 44px;
}

/* SIZE 1/2 */
.size-1-2 .post-links a.post-link {
  font-size: 16px;
  height: 40px;
  padding: 12px 11px 0 14px;
}

.size-1-2 .post-content .teacher-img{
  width: 36px;
  height: 36px;
  border-radius: 36px;
}

.size-1-2 .post-content .post-title-content{
  height: 36px;
  line-height: 36px;
  width: calc(100% - 52px);
}

.size-1-2 .post-content .post-title{
  font-size: 17px;
}

.size-1-2 .post-content .post-title-two-lines .post-title-line-1{
  font-size: 17px;
  margin-bottom: 4px;
}

.size-1-2 .post-content .post-title-two-lines .post-title-line-2{
  font-size: 14px;
}

.size-1-2 .post-content .post-date{
  font-size: 16px;
  top: calc((36px - 1em) / 2);
}

.size-1-2 .post-content .title-separator{
  bottom: -11px;
}

.size-1-2 .post-content .post-text{
  font-size: 16px;
  min-height: 33px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .container-post {
    max-width: 600px;
  }

  .delimitador {
    margin: auto;
    max-width: 600px;
    width: 100vw;
  }

  .embed-container iframe {
    width: 100%;
  }

  .container-post .post-content,
  .size-3-4 .container-post .post-content,
  .size-2-3 .container-post .post-content,
  .size-1-2 .container-post .post-content {
    padding: 12px 15px;
  }

  .post-content .teacher-img,
  .size-3-4 .post-content .teacher-img,
  .size-2-3 .post-content .teacher-img,
  .size-1-2 .post-content .teacher-img {
    width: 36px;
    height: 36px;
    border-radius: 36px;
  }

  .post-content .post-title-content,
  .size-3-4 .post-content .post-title-content,
  .size-2-3 .post-content .post-title-content,
  .size-1-2 .post-content .post-title-content {
    height: 36px;
    line-height: 36px;
    width: calc(100% - 52px);
  }

  .post-content .post-title,
  .size-3-4 .post-content .post-title,
  .size-2-3 .post-content .post-title,
  .size-1-2 .post-content .post-title {
    font-size: 17px;
  }

  .post-content .post-title-two-lines .post-title-line-1,
  .size-3-4 .post-content .post-title-two-lines .post-title-line-1,
  .size-2-3 .post-content .post-title-two-lines .post-title-line-1,
  .size-1-2 .post-content .post-title-two-lines .post-title-line-1 {
    font-size: 17px;
    margin-bottom: 4px;
    padding: 0;
  }

  .post-content .post-title-two-lines .post-title-line-2,
  .size-3-4 .post-content .post-title-two-lines .post-title-line-2,
  .size-2-3 .post-content .post-title-two-lines .post-title-line-2,
  .size-1-2 .post-content .post-title-two-lines .post-title-line-2 {
    font-size: 14px;
    padding: 0;
  }

  .post-content .post-date,
  .size-3-4 .post-content .post-date,
  .size-2-3 .post-content .post-date,
  .size-1-2 .post-content .post-date {
    font-size: 16px;
    left: -52px;
    top: 55px;
  }

  .post-content .title-separator,
  .size-3-4 .post-content .title-separator,
  .size-2-3 .post-content .title-separator,
  .size-1-2 .post-content .title-separator {
    border-bottom: 1px solid #E6E3E4;
    border-top: none;
    bottom: -11px;
  }

  .post-content .post-text,
  .size-3-4 .post-content .post-text,
  .size-2-3 .post-content .post-text,
  .size-1-2 .post-content .post-text {
    font-size: 16px;
  }

  .post-links a.post-link,
  .size-3-4 .post-links a.post-link,
  .size-2-3 .post-links a.post-link,
  .size-1-2 .post-links a.post-link {
    font-size: 16px;
    height: 40px;
    padding: 12px 11px 0 14px;
  }

}

/* RESPONSIVE TABLET */
@media (min-width: 768px) and (max-width: 991px) {
  .header-text{
    font-size: 16px;
  }

}

/* RESPONSIVE SMARTPHONE */
@media (max-width: 767px) {

  .content-flags {
    text-align: center;
  }

  .flags-area{
    text-align: center;
  }

  .header-text{
    font-size: 3.5vw;
    text-align: center;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .navbar-chiapp {
    margin-bottom: 0px;
  }

  #header a.navbar-brand {
    height: initial;
    padding-bottom: 15px;
  }

  img.img-logo-header {
    width: 80%;
    margin: 0px auto;
  }

  .content-flags-text {
    height: 90px;
  }
}
