/* Theme Name: Gradiam Digital Theme - v.2.0*/
/* Author: Gradiam Digital */
/* Author URI: http://gradiamdigital.cz */
/* reset */

.card-body {
    display: flex;
    flex-direction: column;
}

.card-body .gdc1-text {
    margin-top: auto;
}
ul.blog {
    display: flex;
    justify-content: center;
}
li.blog-post {
    flex: 1;
    width: 30%;
    max-width: 331px;
    vertical-align: top;
    margin: 5px 10px 5px 0px;
    border: 1px solid #f9f9f9;
    box-shadow: 3.1px 6.3px 18px rgb(7 4 6 / 9%);
    cursor: pointer;
}
li.blog-post img {
    max-width: 100%;
    height: auto;
}

.text-content ul {
    margin-left: 3rem;
    list-style: inherit;
}

.post-title {
	font-weight: 600;
    color: #1d458a;
    line-height: 1.5;
    padding: 10px 20px 20px;
}

.post-excerpt {
    font-size: 15px;
    padding: 0 20px 20px;
}
.post-link:hover{
	color: inherit;
}
.gray{
    background-color: whitesmoke !important;
}
#jury h2.h2.text-left {
    text-align: center !important;
}
#jury,
.post-excerpt {
    font-weight: 400;
}
#myModal{
    display: none; 
}

.modal-vote {
  position: fixed; 
  z-index: 99999;
  padding-top: 20%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

.modal-vote-content {
  background-color: #fefefe;
  margin: auto;
  padding: 26px;
  border: 1px solid #888;
  width: 80%;
  max-width: 460px;
  position: relative;
}

.close-vote {
    color: #aaaaaa;
    position: absolute;
    right: 13px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
}

.close-vote:hover,
.close-vote:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
#voting-submit{
    height: 40px;
    padding: 20px 50px !important;
    vertical-align: top;
}
#submit-vote:disabled {
  background: #dddddd;
}
input#email {
    border: 1px solid #cecdcd;
    padding: 5px;
    width: 280px;
    margin-bottom: 10px;
}
#voting-form{
    margin-top: 10px;
}
.voting-link-small:hover{
  background: #1D458A !important;
  color: white !important;
}
.flag {
    position: absolute;
    top: 6px;
    left: 8px;
}
div#select-tags input[type="checkbox"] {
    position: relative;
    opacity: 1;
    pointer-events: all;
    border: 2px solid #8a8a8a;
    background: #fff;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    height: 20px;
    margin: 0 10px 0 0px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    -webkit-appearance: none;
    transition: .05s border-color ease-in-out;
    font-size: 16px;
    outline: none;
}
div#select-tags input[type="checkbox"]:checked+label>i:after, div#select-tags input[type="checkbox"]:checked:before {
    content: "✓";
    transform: none;
    border: none;
    margin: 0;
    width: auto;
    height: auto;
}
div#select-tags {
    display: flex;
    flex-wrap: wrap;
}
.checkbox-wrap {
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.tags-label{
    padding-top: 20px;
    color: #757575;
}
div#select-tags label {
    margin: 0 25px 0 0px;
    
}
span.taglist {
    cursor: pointer;
}
span.taglist:after {
    content: ', ';
}
span.taglist:last-child:after {
    content: '';
}
td.gd-fs-1000.tagswrap {
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 480px;
    overflow: hidden;
}
td.gd-fs-1000.tagswrap.show {
    white-space: normal;
    overflow: unset;
    width: 480px;
}
.gd-adj-img-cont img {
    top: 0 !important;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%)  !important;
    transform: translateX(-50%) !important;
}
@media only screen and (max-width: 800px) {
	ul.blog {
	    display: block;
	}
	li.blog-post {
	    width: 100%;
	    margin: 20px auto 40px;
	}
}