/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/**
 *  Created on : 2019.03.24., 12:24:00
 *   Author     : Kulcsár Balázs <kulcsar.balazs69@gmail.com>
*/

/*--------------------------------------------------------------
# Bootstrap 4.0 upgrade
--------------------------------------------------------------*/

/* Comments
--------------------------------*/
#comments {
    margin-top: 2rem;
}
#comments h2 {
    margin-top: 0;
}
#comments .indented {
    margin-left: 3.7%;
}
article.node footer .links.list-inline {
    padding-top: 30px;
    margin-top: 30px;
    margin-bottom: 0;
    border-top: 1px solid 
    #b0c1d3;
}
article footer ul.links.list-inline li.comment-add {
    float: right;
}
.comment .submitted {
    margin-bottom: 1rem;
}
.comment ul.links.list-inline {
    text-align: right;
}
.comment ul.links.list-inline li {
    display: inline-block;
}
.comment-form textarea.form-control {
    min-height: 200px
}

/*** Calendar ***/

nav.date-nav-wrapper h3 {
    text-transform: capitalize;
} 

nav.date-nav-wrapper ul.pagination,
nav.date-nav-wrapper ul.pagination.pull-right {
    float: none;
    margin-bottom: -30px;
    justify-content: space-between;
} 

/****************/

/*** List Blog ***/

.list-post {
    padding: 15px 0 0;
}

.list-post .img-holder {
    width: 100%;
    height: 360px;
}

.list-post .img-holder img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.list-post .btn {
    margin-bottom: 0px;
}

.list-post + hr {
    border-top: 2px solid rgb(222,222,222);
    margin-top: 2.6rem;
    margin-bottom: 2.6rem;
}

.list-post h2.list-title,
.list-post h2.list-title a {
    font-weight: 500;
    font-size: 2rem;
    text-transform: uppercase;
}

.list-post.small-grid {
    width: 115px;
    height: 125px;
}

.list-post.small-grid {
    display: flex;
    padding-right: 0px;
    width: 100%;
    height: auto;
}
.list-post.small-grid > div {
    flex-basis: 0;
    flex-grow: 1;
}
.list-post.small-grid > div:first-child {
    max-width: 200px;
    margin-right: 15px;
}
.list-post.small-grid > div:first-child .img-holder {
    width: 100%;
    height: 360px;
}

.list-post.side-grid {
    padding: 0px;
}
.list-post.side-grid .img-holder {
    width: 100%;
    height: 180px;
}
.list-post.side-grid .list-content{
    line-height: 1.2rem;
}
.list-post.side-grid .list-content .list-body p:last-child {
    margin-bottom: .5rem
}

.node-type-blog .field-name-field-hero-image,
.node-type-article .field-name-field-hero-image {
    margin: .5rem auto 1.25rem;
}

@media (min-width: 1200px) {
    .list-post p{
        font-size: 1.1rem;
    }
}

@media(max-width: 767px) {
    
    .list-post h2.list-title,
    .list-post h2.list-title a {
        font-size: 1.5rem;
    }
    .list-post + hr {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/*****************/

/*** Podcast List ***/
.podcast-post {
    padding: 15px 0 0;
}

.podcast-post .img-holder {
    position: relative;
    width: calc(100% - 2rem);
    padding-top: calc(100% - 2rem); /* 1:1 Aspect Ratio */
}

.podcast-post .img-holder .img-circle {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    overflow: hidden;
}

.podcast-post .img-holder img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.podcast-post .btn {
    margin-bottom: 0px;
}

.podcast-post + hr {
    border-top: 2px solid rgb(222,222,222);
    margin-top: 2.6rem;
    margin-bottom: 2.6rem;
}

.podcast-post h2.podcast-lead,
.podcast-post h2.podcast-lead a {
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .podcast-post p{
        font-size: 1.1rem;
    }
}

@media(max-width: 767px) {
    .podcast-post .img-holder {
        position: relative;
        width: 260px;
        padding-top: 260px;
        margin: auto auto 2rem;
    }
    
    .podcast-post + hr {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }    
}

/*****************/

/* Contact form */

/******************/


/*** Daily horoscope ***/

/******************/


/* Event panel */

/***************/

/*** Lesson ***/

#lesson {
  /*border-bottom: 1px dashed #ddd;*/
  /*padding-bottom: 50px;*/
  margin-bottom: 30px;
}

#lesson p {
  /*font-size: 130%; line-height: 150%; margin-bottom: 3.5rem; color: #666;*/
  padding: 10px 0 0 0;
  font-size: 20px;
  line-height: 30px;
  color: #555; 
  max-width: 525px;
  /*text-align: justify;*/  
}

#lesson p.sub {
  font-style: italic;
  font-size: 25px; 
}

#lesson h2, #lesson h3 {
  margin-top: 4rem;
}

#lesson mark, #lesson .mark {
  padding: .2em;
  background-color: #fcf8e3;
}

#lesson .story {
  border: 1px solid rgb(255, 187, 58);
  max-width: 525px;
  padding: 20px;
  background: rgba(255, 178, 58, 0.50);
  border-radius: 5px;
}

#lesson .takeaway {
  border: 1px solid rgb(26, 189, 240);
  max-width: 525px;
  padding: 20px;
  background: rgba(25, 198, 240, 0.50);
  border-radius: 5px;
}

#lesson .takeaway h3 {
  margin-top: 0;
}
#lesson .bigcircle {
  float: left;
  width: 60px;
  height: 60px;
  padding: 0px;
  text-align: center;
  margin: 6px 20px 0px 10px;
  font-size: 40px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #ff6e41;
  color: white;
  font-weight: bold;
  box-shadow: 4px 4px 2px #888888;
}

#lesson .img-full {
  max-width: 525px;
}

#lesson .img-full img {
  clear: both;
  width: 100%;
  padding: 5px;
  border: solid 1px #ccc;
  box-shadow: 1px 1px 5px #999;
}

#lesson .img-full p {
  clear: both;
  text-align: center;
  font-size: 100%;
  font-style: italic;
}
#lesson .color_table, #lesson .color_table th {
  text-align: center;
}
#lesson .color_table td {
    padding-bottom: 8px;
    color: #444;
    padding-top: 5px;
	width: 20%;
	vertical-align: top;
}
#lesson .color_table .colorbox {
  width: 100%;
  min-width: 100px;
  height: 60px;
}


/******************/

/*** Select2 ***/

.select2-container--default .select2-selection--single {
    border-color: #23272a;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    min-height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
}

/***************/

/*** Checkbox, Radio ***/

input[type=checkbox],
input[type=radio] {
    margin-right: 7px;
}

.form-group:not(.form-type-checkbox):not(.form-type-radio) > label {
    font-weight: 500 !important;
}