/*
    Pjt styly
    =================

    POZOR !!!! tento css se linkuje i do TinyMCE v adminisraci
    Můžeme tím ovlivnit jak budou vypadat základní styly v adm, tlačítka apod.

*/


/* ---------------------------------------------- */

.fw-lightgray {
    background: #F8F8F8;
    border-bottom: 1px solid #E5E4E4;
    border-top: 1px solid #E5E4E4;
}

.zvyraznit_text {color: #A0CE4E}

/* ---------------------------------------------- */
/* TABS */
/* konfigurovatelne parametry tabu */
body#tinymce ul.tabs {
    border: 1px solid #DCDCDC;
    padding: 1px;
    overflow: hidden;
    list-style: none;
}

body#tinymce ul.tabs,
body#tinymce ul.tabs li {
    height: 68px;
}

body#tinymce ul.tabs.tabs-small,
body#tinymce ul.tabs.tabs-small li {
    height: 25px;
}

body#tinymce .tabs li a {
    background: #DCDCDC; /* barva pozadi neaktivni zalozky */
    color: #000;
}

body#tinymce .tabs li.tabs-active a {
    color: #000;
    background:#fff;
    border-top: 3px solid #A0CE4E;
}
/* konfigurovatelne parametry tabu  KONEC */

body#tinymce ul.tabs li {
    float: left;
    list-style-type: none !important;
    margin-right: 1px;
    text-align: center;
    display:inline-block;
}

body#tinymce .tabs li a {
    display: block;
    height: 100%;
    text-decoration: none;
    padding: 5px 10px 0 10px;
}

body#tinymce .tabs li a {
    text-decoration: underline;
}

body#tinymce .tabs li a strong {
    font-size:125%;
}
/* END TABS */
/* ---------------------------------------------- */

/*---- TIMELINE -------*/

.timelineWrap .timeline {
    list-style: none!important;
    padding: 20px 0 20px;
    position: relative;
}


    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #eeeeee;
        left: 50%;
        margin-left: -1.5px;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
        
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: calc(50% - 105px);
			width: -moz-calc(50% - 105px);
			width: -webkit-calc(50% - 105px);
            float: left;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            padding: 20px;
			background:#fff;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        }
		
		

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 26px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 27px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #fff;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-sign {
            color: #fff;
			width: 80px;
			height: 80px;
			line-height: 80px;
			font-size: 1.2em;
			text-align: center;
			position: absolute;
			top: 2px;
			left: 50%;
			font-weight:bold;
			margin-left: -40px;
			background-color: #999999;
			z-index: 100;
			padding:0px!important;
			border-top-right-radius: 50%;
			border-top-left-radius: 50%;
			border-bottom-right-radius: 50%;
			border-bottom-left-radius: 50%;
			border-radius:50%!important;
			display:table;
        }
		
		.timeline > li > .timeline-sign em{
			display:table-cell;
			vertical-align:middle;
		}

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

.timeline-sign.pink {
    background-color: #ff999a !important;
}

.timeline-sign.green {
    background-color: #43ab54 !important;
}

.timeline-sign.darkblue {
    background-color: #2280ac !important;
}

.timeline-sign.blue {
    background-color: #5bc0de !important;
}

.timeline-sign.red {
    background-color: #d9534f !important;
}

.timeline-sign.yellow {
    background-color: #dcda10 !important;
}

.timeline-sign.white {
    background-color: #fff !important;
	color:#222!important;
	border: 1px solid #d1d1d1;
}

.timeline-sign.orange{
    background-color: #dc8913 !important;
	
}





@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 145px);
        width: -moz-calc(100% - 145px);
        width: -webkit-calc(100% - 145px);
    }

    ul.timeline > li > .timeline-sign {
        left: 0px;
        margin-left: 0;
        top: 0px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
}
	
	/* bloky doprava od osy*/

	ul.timeline.toRight:before {
        left: 40px;
    }

    ul.timeline.toRight > li > .timeline-panel {
        width: calc(100% - 145px);
        width: -moz-calc(100% - 145px);
        width: -webkit-calc(100% - 145px);
    }

    ul.timeline.toRight > li > .timeline-sign {
        left: 0px;
        margin-left: 0;
        top: 0px;
    }

    ul.timeline.toRight > li > .timeline-panel {
        float: right;
    }

        ul.timeline.toRight > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline.toRight > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
		
	/*end bloky doprava od osy*/

	
	/* bloky doleva od osy */
	
ul.timeline.toLeft:before {
        right: 40px;
		left:auto;
    }

    ul.timeline.toLeft > li > .timeline-panel {
        width: calc(100% - 145px);
        width: -moz-calc(100% - 145px);
        width: -webkit-calc(100% - 145px);
    }

    ul.timeline.toLeft > li > .timeline-sign {
        left:auto;
		right:0px;
        margin-left: 0;
        top: 0px;
    }

    ul.timeline.toLeft > li > .timeline-panel {
        float: left;
    }

        ul.timeline.toLeft > li > .timeline-panel:before {
        position: absolute;
		top: 26px;
		right: -15px;
		display: inline-block;
		border-top: 15px solid transparent;
		border-left: 15px solid #ccc;
		border-right: 0 solid #ccc;
		border-bottom: 15px solid transparent;
		content: " ";
        }

        ul.timeline.toLeft > li > .timeline-panel:after {
			position: absolute;
			top: 27px;
			right: -14px;
			display: inline-block;
			border-top: 14px solid transparent;
			border-left: 14px solid #fff;
			border-right: 0 solid #fff;
			border-bottom: 14px solid transparent;
			content: " ";
        }
        
    @media (max-width: 767px) {
    
    
       ul.timeline.toLeft > li > .timeline-panel:before {
       
		 left:auto!important;
        }
    
         ul.timeline.toLeft > li > .timeline-panel:after {         
         
        left:auto!important;       
         
         }
    
    }    

	/* end bloky doleva*/		

		
/*------END TIMELINE --------*/


/* ------------------------------------------------------------------------- */
/* Ant icons http://fontastic.me  - styles.css >>> */
/* ------------------------------------------------------------------------- */
[class^="ai-"] {
    vertical-align: middle;
}
.ai-xs {font-size: 14px}
.ai-sm {font-size: 18px}
.ai-md {font-size: 24px}
.ai-lg {font-size: 30px}
/* <<< Ant icons http://fontastic.me  - styles.css */


/* Ikony fontawesome >>> */
h2 .fa-stack, h2 > .fa {
    margin-right: 5px;
    font-size: 100%;
}

h2 .fa-stack {
    float: left;
    margin-top: -5px;
}

/* <<< Ikony fontawesome */

.post-content p.znacky_prefix {
	margin: 0px;
}

/* MB 6.10.2014 pripominka na agor.cz ze je to male na to ze je to nejdulezitejsi nadpis */
.page-title h1 {
    font-size: 24px !important;
}

/* ------------------------------------------------------------------------- */
/* PJT styles >>> */
/* ------------------------------------------------------------------------- */
.image-bw img:not(:hover){
	 /* -webkit-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter:gray;  */
}

.padding-r-20{
	padding-right: 20px;
}
.margin-t-20{
	margin-top: 20px !important;
}
/*------PJT styles --------*/

.ref_content {
	display: flex;
	flex-wrap: wrap;
}

.ref_content .post {
	width: 29%;
	height: 380px;
	padding: 10px;
	text-align: center;
	box-shadow: 0px 0 2px 2px rgba(0,0,0,0.1);
	border-bottom: 2px solid #b52323;
	margin: 0 20px 20px 0;
}

.ref_content .blog-medium-image {
	width: 100%;
	margin: 0 !important;
	height: 150px;
	text-align: center;
	float: none;
}

.ref_content .blog-medium-image img {
	height: 100%;
}

.ref_content .post-content-container {
	display: flex;
	flex-direction: column;
	height: 230px;
}

.ref_content .post-content-container h2 {
	margin: 10px 0 !important;
	min-height: 80px;
}

.ref_content .post-content-container .vice {
	margin-top: auto;
}

@media only screen and (max-width: 990px) {
	.ref_content {
		justify-content: center;
	}
	.ref_content .post {
		width: 28%;
	}
	.ref_content .post-content-container {
		height: 240px;
	}
}

@media only screen and (max-width: 768px) {
	.ref_content .post {
		width: 40%;
		height: 400px;
	}
	.ref_content .post-content-container {
		height: 265px;
	}
	.ref_content .post-content-container h2 {
		min-height: 100px;
	}
}

@media only screen and (max-width: 486px) {
	.ref_content .post {
		width: 80%;
		height: auto;
	}
	.ref_content .post-content-container h2 {
		min-height: 80px;
	}
	.ref_content .post-content-container {
		height: 230px;
	}
}