/* default styles for extension "tx_frontend" */
    .ce-align-left { text-align: left; }
    .ce-align-center { text-align: center; }
    .ce-align-right { text-align: right; }

    .ce-table td, .ce-table th { vertical-align: top; }

    .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; }

    .ce-left .ce-gallery, .ce-column { float: left; }
    .ce-center .ce-outer { position: relative; float: right; right: 50%; }
    .ce-center .ce-inner { position: relative; float: right; right: -50%; }
    .ce-right .ce-gallery { float: right; }

    .ce-gallery figure { display: table; margin: 0; }
    .ce-gallery figcaption { display: table-caption; caption-side: bottom; }
    .ce-gallery img { display: block; }
    .ce-gallery iframe { border-width: 0; }
    .ce-border img,
    .ce-border iframe {
        border: 2px solid #000000;
        padding: 0px;
    }

    .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
        margin-bottom: 10px;
    }
    .ce-intext.ce-right .ce-gallery { margin-left: 10px; }
    .ce-intext.ce-left .ce-gallery { margin-right: 10px; }
    .ce-below .ce-gallery { margin-top: 10px; }

    .ce-column { margin-right: 10px; }
    .ce-column:last-child { margin-right: 0; }

    .ce-row { margin-bottom: 10px; }
    .ce-row:last-child { margin-bottom: 0; }

    .ce-above .ce-bodytext { clear: both; }

    .ce-intext.ce-left ol, .ce-intext.ce-left ul { padding-left: 40px; overflow: auto; }

    /* Headline */
    .ce-headline-left { text-align: left; }
    .ce-headline-center { text-align: center; }
    .ce-headline-right { text-align: right; }

    /* Uploads */
    .ce-uploads { margin: 0; padding: 0; }
    .ce-uploads li { list-style: none outside none; margin: 1em 0; }
    .ce-uploads img { float: left; padding-right: 1em; vertical-align: top; }
    .ce-uploads span { display: block; }

    /* Table */
    .ce-table { width: 100%; max-width: 100%; }
    .ce-table th, .ce-table td { padding: 0.5em 0.75em; vertical-align: top; }
    .ce-table thead th { border-bottom: 2px solid #dadada; }
    .ce-table th, .ce-table td { border-top: 1px solid #dadada; }
    .ce-table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05); }
    .ce-table-bordered th, .ce-table-bordered td { border: 1px solid #dadada; }

    /* Space */
    .frame-space-before-extra-small { margin-top: 1em; }
    .frame-space-before-small { margin-top: 2em; }
    .frame-space-before-medium { margin-top: 3em; }
    .frame-space-before-large { margin-top: 4em; }
    .frame-space-before-extra-large { margin-top: 5em; }
    .frame-space-after-extra-small { margin-bottom: 1em; }
    .frame-space-after-small { margin-bottom: 2em; }
    .frame-space-after-medium { margin-bottom: 3em; }
    .frame-space-after-large { margin-bottom: 4em; }
    .frame-space-after-extra-large { margin-bottom: 5em; }

    /* Frame */
    .frame-ruler-before:before { content: ''; display: block; border-top: 1px solid rgba(0,0,0,0.25); margin-bottom: 2em; }
    .frame-ruler-after:after { content: ''; display: block; border-bottom: 1px solid rgba(0,0,0,0.25); margin-top: 2em; }
    .frame-indent { margin-left: 15%; margin-right: 15%; }
    .frame-indent-left { margin-left: 33%; }
    .frame-indent-right { margin-right: 33%; }
/* default styles for extension "tx_amnewtabs" */

.tx_amnewtabs_layout {position: relative; display: block; margin-bottom: 20px; }
.tx_amnewtabs_color {min-height: 170px; padding: 10px; }
.tx_amnewtabs_color img {
	position: relative;
	z-index: 120;
}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_overlay{
	position: absolute;
    top: 0;
    width:100% -20px;
    height:100%;
    left: 10px;
    right: 10px;
    background-color:#000 !important;
    opacity:0.4;
    z-index: 100;
    display: block;
}

.tx_amnewtabs_title {
	position: relative;
	color: #fff;
    line-height: 120%;
	font-family: Titillium,sans-serif;
	font-size: 20px;
	z-index: 120;
}

.tx_amnewtabs_title.mikro-size {font-size: 16px;}
.tx_amnewtabs_title.small-size {font-size: 18px;}
.tx_amnewtabs_title.big-size {font-size: 22px;}

.tx_amnewtabs_title.center-position {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 150px; /*-20px z paddingu w .tx_amnewtabs_color */
}

.tx_amnewtabs_title.bottom-position {
	position: absolute; 
	bottom: 10px; 
	left: 20px; /*-20px z paddingu w .tx_amnewtabs_color */
	right: 20px; /*-20px z paddingu w .tx_amnewtabs_color */
}

.tx_amnewtabs_color.bg_standard {background-color: #E7E7E7;}
.tx_amnewtabs_color.bg_standard .tx_amnewtabs_title {color: #4c4c4c;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard .tx_amnewtabs_title {color: #fff;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.bordo-color {background-color: #9D0B00;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.wbfia-color {background-color: #CB6E27;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.we-color {background-color: #007F5C;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.wfiu-color {background-color: #986E1C;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.wiik-color {background-color: #078485;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.wz-color {background-color: #0072B7;}
.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_color.bg_standard.granat-color {background-color: #0B3162;}

@media (max-width: 768px) {
	.tx_amnewtabs_color.bg_standard .tx_amnewtabs_title {color: #fff;}
	.tx_amnewtabs_color.bg_standard.bordo-color {background-color: #9D0B00;}
	.tx_amnewtabs_color.bg_standard.wbfia-color {background-color: #CB6E27;}
	.tx_amnewtabs_color.bg_standard.we-color {background-color: #007F5C;}
	.tx_amnewtabs_color.bg_standard.wfiu-color {background-color: #986E1C;}
	.tx_amnewtabs_color.bg_standard.wiik-color {background-color: #078485;}
	.tx_amnewtabs_color.bg_standard.wz-color {background-color: #0072B7;}
	.tx_amnewtabs_color.bg_standard.granat-color {background-color: #0B3162;}
	.tx_amnewtabs .tx_amnewtabs_layout:hover > .tx_amnewtabs_overlay {
		background-color: transparent !important;
		opacity:0;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.tx_amnewtabs_color {min-height: 150px;}	
	.tx_amnewtabs_title.center-position {min-height: 130px; /*-20px z paddingu w .tx_amnewtabs_color */}
}
