/* ---------- START : GENERAL ---------- */
*
{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

*:before,
*:after
{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

html
{
    position: relative;

    min-height: 100%;
}

html,
body
{
    font-family: 'Open Sans', sans-serif;
    min-width: 320px;

    text-align: left;

    color: #525b65;
    background-color: #fff;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
}
p, ul, ol, dl, a, div {
	font-size: 13px;
}
table tr th, table tr td {font-size: 13px}

ul {
	margin-left: 0
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	color: #525b65;
}
button, .button {
	font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol
{
    margin-top: 0;
}

::-moz-selection
{
    background: #ccc;
    text-shadow: none;
}

::selection
{
    background: #ccc;
    text-shadow: none;
}

::-webkit-input-placeholder
{
    color: #999;
	font-size: 13px;
}

:-moz-placeholder
{
    color: #999;
	font-size: 13px;
}

::-moz-placeholder
{
    color: #999;
	font-size: 13px;
}

:-ms-input-placeholder
{
    color: #999;
	font-size: 13px;
}

a
{
    -webkit-transition: .5s;
       -moz-transition: .5s;
         -o-transition: .5s;
            transition: .5s;
    text-decoration: underline;

    color: #135079;
}

a:hover
{
    text-decoration: none;
}

button,
input[type='submit']
{
    padding: 0;

    -webkit-transition: .5s;
       -moz-transition: .5s;
         -o-transition: .5s;
            transition: .5s;

    border: none;
    background: none;
}

button:hover,
input[type='submit']:hover
{
    text-decoration: underline;
}

button:focus,
input[type='submit']:focus
{
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-weight: 200;
}

h1
{
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3em;

    margin: 0;
}

h2, h2 a
{
    font-size: 21px;
}

h3, h3 a
{
    font-size: 18px;
}

h4, h4 a
{
    font-size: 16px;
}

strong
{
    font-weight: 600;
}

hr
{
    display: none;
}

ul
{
    padding: 0;

    list-style-type: none;
}

.hidden
{
    font-size: 0;

    margin: 0;
    padding: 0;
}

.fl {
	float: left;
}
.fr {
	float: right;
}

.alignleft
{
    float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

.alignright
{
    float: right;
	margin-left: 1em;
	margin-bottom: 1em;
}

.aligncenter
{
    display: block;

    margin: 0 auto;
}

.nicescroll-rails
{
    z-index: 999999 !important;
}

.clearfix:before,
.clearfix:after
{
    display: table;

    content: '';
}

.clearfix:after
{
    clear: both;
}

.ie .clearfix
{
    zoom: 1;
}
/* ---------------------------------------------------------------------- END : GENERAL ---------- */

/* ---------- START : COLOR VARIATIONS ---------- */
/* --- BLUE CATEGORY --- */
.category1 .header
{
    background: blue !important;
}

/* ---------------------------------------------------------------------- END : COLOR VARIATIONS ---------- */

/* ---------- START : HEADER ---------- */
body > header
{
    position: relative;
    height: 185px;
    padding: 20px 15px 20px 15px;
    background: #a74747;
}
body > header.faheader
{
    background: #fff;
    padding: 0;
    padding-top: 0;

}
body.topmenu  > header.faheader
{
    padding: 0;
    padding-top: 30px;
}
.topmenu header.faheader~nav.primary {
    top: 180px;
}

header.faheader > div.row >div.columns{
    padding: 0;
    
}

@media (max-width: 640px) {
    body.topmenu  > header.faheader {
        padding-top: 0px;
    }
    .topmenu header.faheader~nav.primary {
        top: 150px;
    }
}
img.faheader-logo{
	height: 150px;
        margin-left: -25px;
}
@media (max-width: 1024px) {

    img.faheader-logo{
            margin-left: 0px;
    }
}
body.topmenu > header
{
    height: 215px;
	padding-top: 50px;
}

.institute-logo
{
    float: left;
    width: 70%;
	height: 100px;
}

.institute-logo h1
{
    font-size: 18px;
    color: #fefeff;
}

.ie8 .institute-logo h1
{
    font-size: 16px;
}

.institute-logo a
{
    line-height: 16px;

    display: block;

    text-decoration: none;

    color: #fefeff;
}

.institute-logo img
{
	position: absolute;
    margin-right: 15px;
	max-width: 100px;
}

.institute-logo span
{
    line-height: normal;
    display: inline-block;
	font-size: 27px;
	margin-top: 12px;
	margin-left: 115px;
}
.institute-logo.nologo span {margin-left: 0px; }

.institute-logo small
{
    font-size: 14px;
	line-height: 16px;

    display: inline-block;

    margin-top: 11px;
	margin-left: 115px;

    color: #fff;
}
.institute-logo.nologo small {margin-left: 0px; }

.site-logo
{
    float: right;
	width: 30%;
	text-align: right;
	height: 100px;
}
.site-logo img
{
    float: right;
}

@media (max-width: 800px)
{
    body > header
    {
        height: 140px;
    }
    .institute-logo span {
		font-size: 20px;
    	margin-top: 0px;
    }

    .site-logo
    {
        display: none;
    }
    
    body.topmenu > header {
		height: 160px;
    	padding-top: 40px;
    }
}

@media (max-width: 500px)
{
	.institute-logo {
		width: 100%;
		padding-right: 60px;
	}
    .institute-logo img
    {
        width: 60px;
    	margin-top: 8px;
    }
    .institute-logo span
    {
        font-size: 16px;
    	margin-left: 75px;
    	margin-top: 0;
    }

    .institute-logo small:before
    {
    	content: ' ';
    	display: block;
    	height: 1px;
	}
    .institute-logo small
    {
    	font-size: 11px;
    	margin-left: 75px;
	}
}
/* ---------------------------------------------------------------------- END : HEADER ---------- */

/* ---------- START : NAVIGATION ---------- */
.nav-btn
{
    display: none;
}

nav.primary
{
    position: absolute;
    z-index: 998;
    top: 140px;
    width: 100%;
    height: 45px;

    background: rgba(0, 0, 0, .2);
}
.topmenu nav.primary
{
    top: 170px;
}

.main-menu,
.sub-menu
{
    margin: 0;
}

.main-menu > li
{
    position: relative;

    float: left;
}

.main-menu > li > a
{
    float: left;
}

.main-menu a
{
    font-size: 15px;
    line-height: 45px;

    position: relative;

    display: block;

    height: 45px;
    padding: 0 10px 0 10px;

    text-decoration: none;

    color: #fff;
}

.main-menu > li.menu-item-has-children > a:after
{
    font-family: 'FontAwesome';
    margin-left: 15px;
    content: '\f0d7';
}

.main-menu > li:hover > a,
.main-menu .current_page_item > a,
.main-menu .current_page_ancestor > a,
.main-menu .current-page-ancestor > a,
.main-menu .current_page_parent > a,
.main-menu .sub-menu .current-menu-parent > a,
.main-menu .sub-menu .current-page-ancestor > a
{
    text-decoration: none;
	color: #000;
    background: #fafafa;
}
.main-menu .sub-menu > li:hover > a,
.main-menu .sub-menu .current-menu-parent:hover > a
{
	color: #000;
	background: #fafafa;
}
.main-menu .sub-menu .current_page_item > a
{
	color: #fafafa;
}

.main-menu > li:first-child a
{
    font-size: 0;

    padding: 0 15px;
}

.main-menu > li:first-child a:before
{
    font-family: 'FontAwesome';
    font-size: 16px;

    content: '\f015';
}

.main-menu > li:first-child a:after
{
    display: none;
}

.main-menu .sub-menu
{
    position: absolute;
    top: 0;
    left: 100%;

    visibility: hidden;

    -webkit-transition: .3s linear;
       -moz-transition: .3s linear;
        -ms-transition: .3s linear;
         -o-transition: .3s linear;
            transition: .3s linear;
    white-space: nowrap;

    opacity: 0;
}

.ie > .main-menu .sub-menu
{
    display: none;
}

.main-menu > li > .sub-menu
{
    top: 45px;
    left: 0; /* Same as margin-left of .main-menu a */
	z-index: 9999;
}

.main-menu li:hover > .sub-menu
{
    visibility: visible;

    opacity: 1;
}

.ie .main-menu li:hover > .sub-menu
{
    display: block;
}

.main-menu .sub-menu li
{
    position: relative;
}

.main-menu .sub-menu a
{
    display: block;
	padding-right: 30px;

    margin: 0;

    background: #863939;
	z-index: 9999;
}

.main-menu .sub-menu a:hover
{
    background: #ebecec;
}

.sub-show
{
    display: none;
}
.sub-menu .menu-item-has-children > a:after
{
    display: block;
	position: absolute;
	z-index:999;
	right: 10px;
	top: 0px;
	color: #fff;
	z-index:999;
	font-family: 'FontAwesome';
    font-size: 18px;
    position: absolute;
    content: '\f105';
}
.sub-menu .menu-item-has-children:hover > a:after,
.main-menu .sub-menu .current-page-ancestor > a:after {
	color: #000;
}
.sub-menu .menu-item-has-children > a:hover:after
{
	color: #222;
}
.sub-menu li.menu-item-has-children
{
    position: relative;
	z-index: 9999;
}

@media (max-width: 800px)
{
    .nav-btn
    {
        position: absolute;
        top: 10px;
        right: 20px;

        display: block;

        width: 100px;
        height: 100px;
        padding-top: 42px;

        vertical-align: top;

        color: #fff;
        border-bottom: 5px solid rgba(0, 0, 0, .2);
        background: rgba(0, 0, 0, .1);
    }
    
    body.topmenu > .nav-btn {
		top: 40px;
    }

    .nav-btn:hover
    {
        text-decoration: none;
    }

    .nav-btn .wrap
    {
        position: absolute;
        top: 20px;
        right: 0;
        left: 0;

        display: block;

        width: 33px;
        height: 30px;
        margin: 0 auto;
    }

    .nav-btn .stripes,
    .nav-btn .wrap:before,
    .nav-btn .wrap:after
    {
        -webkit-transition: .4s;
           -moz-transition: .4s;
            -ms-transition: .4s;
             -o-transition: .4s;
                transition: .4s;
    }

    .nav-btn .stripes
    {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;

        display: block;

        width: 100%;
        height: 4px;
        margin: auto 0;

        background: #fff;
    }

    .nav-btn.active .stripes
    {
        left: 20px;

        background: rgba(0,0,0,0);
    }

    .ie8 .nav-btn.active .stripes
    {
        left: 0;

        background: #fff;
    }

    .nav-btn .wrap:before,
    .nav-btn .wrap:after
    {
        position: absolute;
        left: 0;

        display: block;

        width: 100%;
        height: 4px;

        content: '';

        background: #fff;
    }

    .nav-btn .wrap:before
    {
        top: 0;
    }

    .nav-btn .wrap:after
    {
        bottom: 0;
    }

    .active.nav-btn .wrap:before
    {
        top: 13px;

        -webkit-transform: rotate(45deg);
           -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
             -o-transform: rotate(45deg);
                transform: rotate(45deg);
    }

    .ie8 .active.nav-btn .wrap:before
    {
        top: 0;
    }

    .active.nav-btn .wrap:after
    {
        bottom: 13px;

        -webkit-transform: rotate(-45deg);
           -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
             -o-transform: rotate(-45deg);
                transform: rotate(-45deg);
    }

    .ie8 .active.nav-btn .wrap:after
    {
        bottom: 0;
    }

    nav.primary
    {
        z-index: 3;
        top: 140px;

        display: none;

        height: auto;

        background: #863939;
    }

    nav.primary .container > ul,
    .main-menu > li,
    .main-menu > li > a
    {
        float: none;
    }

    .main-menu li
    {
        border-top: 1px solid rgba(255, 255 , 255, .1);
    }

    .main-menu > li:first-child
    {
        border: none;
    }

    .main-menu a
    {
        font-size: 16px;
        line-height: 50px;

        display: block;

        margin: 0;
        padding: 0 15px;

        background: #863939;
    }

    .main-menu a:hover
    {
        color: #fff;
        background: rgba(255, 255, 255, .1);
    }

    .main-menu > li > a:after
    {
        display: none;
    }

    .main-menu > li:first-child a
    {
        font-size: 16px;

        padding: 0 15px;
    }

    .main-menu > li:first-child a:before
    {
        display: none;
    }

    .main-menu .sub-menu
    {
        position: static;

        visibility: visible;

        padding-left: 15px;

        -webkit-transition: none;
           -moz-transition: none;
            -ms-transition: none;
             -o-transition: none;
                transition: none;

        opacity: 1;
        border: none;
    }

    .main-menu .sub-menu a:hover
    {
        color: #fff;
        background: rgba(255, 255, 255, .1);
    }
    
    .main-menu > li.menu-item-has-children > a > .sub-show
    {
        font-size: 30px;
        line-height: 50px;

        position: absolute;
        top: 0;
        right: 0;

        display: block;

        width: 50px;
    }
    .main-menu > li.menu-item-has-children > a > button:hover, .main-menu > li.menu-item-has-children > a > button:focus {
		background: none;
    }
    .sub-menu .menu-item-has-children > a:after {
		display: none;
    }

    .main-menu > li.menu-item-has-children > a > .sub-show:hover
    {
        text-decoration: none;
    }

    .main-menu > li.menu-item-has-children > a > .sub-show:before
    {
        font-family: 'FontAwesome';
        content: '\f0d7';
        color: #fff;
    }
    .main-menu > li.menu-item-has-children:hover > a > .sub-show:before
    {
        color: #000;
    }
    .main-menu > li.menu-item-has-children:hover > a > .sub-show:before, .main-menu .menu-item-has-children.current_page_item > a > .sub-show:before, .main-menu .menu-item-has-children.current_page_ancestor > a > .sub-show:before, .main-menu .menu-item-has-children.current_page_parent > a > .sub-show:before {
		color: #000;
    }

    .main-menu > li.menu-item-has-children > a > .sub-show.active
    {
        -webkit-transform: rotate(180deg);
           -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
             -o-transform: rotate(180deg);
                transform: rotate(180deg);
    }

    .main-menu > li > .sub-menu
    {
        display: none;

        border: none;
    }
}

@media (max-width: 500px)
{
    .nav-btn
    {
        font-size: 14px;

        width: 40px;

        border-bottom: none;
        background: rgba(0, 0, 0, .1);
    }
    
	body.topmenu > .nav-btn {
		top: 40px;
    }
    body.topmenu > header {
		padding-top: 20px;
    	height: 140px;
    }
    .topmenu nav.primary {
		top: 140px;
    }
    
    footer .footer {
		text-align: center;
    }
    footer .footer .design {
		float: none;
    }
}
/* ---------------------------------------------------------------------- END : NAVIGATION ---------- */

/* ---------- START : CONTENT ---------- */
.wrapper
{
    margin-bottom: 40px;
}

.wrapper > .row:first-child
{
    position: relative;

    padding-top: 46px;
}

.home.wrapper > .row:first-child
{
    padding-top: 0;
}



.title-part
{
    position: relative;

    min-height: 45px;
    margin-bottom: 10px;

    border-bottom: 1px solid #c2c2c2;
	padding-bottom: 10px;
}

.title-part button
{
    line-height: 26px;

    display: block;
    float: right;

    width: 26px;
    height: 26px;
    margin-left: 5px;
	margin-bottom: 0;

    text-align: center;

    border-radius: 50%;
    background: #a74747;
}
.title-part button:hover
{
  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"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%);
  text-decoration: none;
}

.title-part button:before
{
    font-family: 'FontAwesome';
    font-size: 15px;

    color: #fff;
}

.title-part .post-to-print:before
{
    content: '\f02f';
}

.title-part .post-to-pdf:before
{
    content: '\f1c1';
}

.content h2,
.content h3,
.gomore h2
{
    font-weight: 400;

    margin: 40px 0 5px 0;

    color: #a74747;
}

.content a
{
    color: #135079;
}


.columns.content a[href$='.pdf']:before
{
    font-family: 'FontAwesome';

    margin-right: 5px;

    content: '\f1c1';
}

/*. columns.content a[href^='http']:after
{
    font-family: 'FontAwesome';

    margin-left: 5px;

    content: '\f14c';
}*/
.columns.content article a[href^='http']:after {
	display: none
}

.content p
{
    line-height: 20px;
}

.content ul li,
.connect ul li,
.person ul li
{
    position: relative;
    padding-left: 17px;
}
.connect ul.pagination li {
	padding-left: 0px;
}
.content .connect ul li
{
    padding-left: 0px;
}

.content ul li:before,
.connect ul li:before,
.person ul li:before
{
    position: absolute;
    top: 7px;
    left: 0;

    display: block;

    width: 5px;
    height: 5px;

    content: '';
    vertical-align: top;

    background: #525b65;
}
.connect ul.pagination li:before {
	display: none;
}
.content .connect ul li:before
{
    display: none;
}

.content img
{
    max-width: 100%;
}
.content td img,
.content th img
{
    max-width: none;
}

.content img.alignleft
{
    margin: 5px 15px 15px 0;
}

.content img.alignright
{
    margin: 5px 0 15px 15px;
}

.content-divider
{
    width: 100%;
    height: 4px;

    border-top: 1px solid #c2c2c2;
    background: #ebecec;
}
.divider
{
    width: 100%;
    height: 16px;
}

.btn-wrap
{
    margin: 15px 0;

    text-align: center;
}

a.btn, #nav-single .btn a
{
    font-size: 14px;
    line-height: 40px;

    display: inline-block;

    padding: 0 12px;

    color: #fff;
    border-bottom: 3px solid rgba(0, 0, 0, .2);
    background: #a74747;
	text-decoration: none;
}

.btn:hover, #nav-single .btn a:hover
{
    border-color: rgba(0, 0, 0, .5);
	text-decoration: underline;
}
input[type='submit'].search-submit, input[type='submit'].btn, .wrapper form input[type="submit"]
{
    font-size: 14px;
    line-height: 40px;
    display: inline-block;
    padding: 0 12px;
    color: #fff;
    border-bottom: 3px solid rgba(0, 0, 0, .2);
    background: #a74747;
}

input[type='submit'].search-submit:hover, input[type='submit'].btn:hover, .wrapper form input[type="submit"]:hover
{
    border-color: rgba(0, 0, 0, .5);
}

.directory a
{
    position: relative;

    display: inline-block;

    margin-bottom: 6px;
    padding: 12px 40px 12px 12px;

    background: #dfdedf;
}

.directory a:after
{
    font-family: 'FontAwesome';
    font-size: 12px;

    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;

    width: 15px;
    height: 15px;
    margin: auto 0;
    padding: 2px 0 0 6px;

    content: '\f0da';

    color: #fff;
    border-radius: 50%;
    background: #a74747;
}

.directory-ico a
{
    padding-left: 42px;
}

.directory-ico a:before
{
    font-family: 'FontAwesome';
    font-size: 18px;

    position: absolute;
    top: 12px;
    left: 13px;

    content: '\f0f3';

    color: #135079;
}

.directory-block a
{
    display: block;
}

/* -- BREADCRUMBS --- */
.mybreadcrumbs
{
    font-size: 12px;
    line-height: 33px;

    position: absolute;
    top: 0;
    left: 9px;

    padding: 0 7px;

    color: #525b65;
}

.mybreadcrumbs *
{
    display: inline-block;
}

.mybreadcrumbs a
{
    font-size: 12px;

    margin-right: 5px;

    color: #135079;
}

/* --- TABLES --- */
table
{
    width: 100%;
}

table td
{
    padding: 12px 10px;
}

table thead
{
    font-size: 14px;
    font-weight: bold;
}

table thead td
{
    border-bottom: 2px solid #c2c2c2;
}

table tbody tr
{
    border-bottom: 1px solid #c2c2c2;
}

table tbody tr:nth-child(odd)
{
    background: #f3f3f3;
}
table.withhead tbody tr:nth-child(odd)
{
    background: none;
}
table.withhead thead 
{
    border-bottom: 1px solid #c2c2c2;
}
table.withhead tbody tr:nth-child(even)
{
    background: #f3f3f3;
}

/* --- CALENDAR --- */
.calendar-header
{
    line-height: 40px;

    position: relative;

    height: 40px;

    color: #fff;
    background: #a74747;
}

.calendar-header h4
{
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
	color: #fff;
	padding-top: 8px;
}

.calendar-header a
{
    position: absolute;
    top: 10px;

    width: 20px;
    height: 20px;

    text-decoration: none;

    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
}

.calendar-header a:before
{
    font-family: 'FontAwesome';
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;

    color: #fff;
}

.calendar-header .prev-month
{
    left: 10px;
}

.calendar-header .prev-month:before
{
    padding-left: 6px;

    content: '\f0d9';
}
.calendar-header .prev-month:after
{
    display: none;
}

.calendar-header .next-month
{
    right: 10px;
}

.calendar-header .next-month:before
{
    padding-left: 9px;

    content: '\f0da';
}
.calendar-header .next-month:after
{
    display: none;
}

.calendar
{
    color: #525b65;
    border-top: 1px solid #c2c2c2;
    border-left: 1px solid #c2c2c2;
}

.calendar tr
{
    border-bottom: 1px solid #c2c2c2;
}

.calendar td
{
    font-size: 15px;

    position: relative;

    height: 70px;
    padding: 4px;

    vertical-align: top;

    border-right: 1px solid #c2c2c2;
}

.calendar th
{
    font-size: 14px;
    font-weight: 400;

    padding: 4px 0;

    text-align: center;

    border-right: 1px solid #c2c2c2;
}


.calendar th,
.calendar td
{
    width: 14%;
}

.calendar tbody tr:nth-child(odd)
{
    background: transparent;
}

.calendar a
{
    cursor: pointer;
}

.calendar .event
{
    display: none;
}

/* --- HOME-PAGE - SLIDER --- */
.slider-wrapper
{
    position: relative;

    margin-bottom: 80px;
}
.slider-wrapper.nopager
{
    margin-bottom: 0px;
}

.slider
{
    width: 100%;
    height: 250px;
    margin-top: 10px;
}

.slide
{
    position: absolute;
}

.slide img
{
    float: left;

    width: 583px;
    height: 250px;
}

.slide-info
{
    float: right;

    width: 417px;
    height: 250px;
    padding: 20px 75px 20px 30px;

    color: #fff;
    background: #a74747;
	overflow: hidden;
}

.slide-info h2
{
	color: #fff;
    font-size: 18px;
}

.slide-info h2 a
{
    color: #fff;
	font-size: 18px;
}

.slide-info p
{
    font-size: 12px;
}

.slide-info .btn
{
    margin-top: 7px;

    background: #863939;
}

.slider-wrapper > button,
.slider-wrapper > button:active,
.slider-wrapper > button:focus
{
    font-size: 0;
	z-index: 999;
    position: absolute;
    top: 0;

    display: block;

    width: 35px;
    height: 100%;

    background: rgba(0, 0, 0, .2);
}

.slider-wrapper > button:hover
{
    text-decoration: none;

    background: rgba(0, 0, 0, .5);
}

.slider-wrapper > button:before
{
    font-family: 'FontAwesome';
    font-size: 30px;

    color: #fff;
}

.slider-wrapper .prev
{
    left: 0;
}

.slider-wrapper .prev:before
{
    content: '\f104';
}

.slider-wrapper .next
{
    right: 0;
}

.slider-wrapper .next:before
{
    content: '\f105';
}

.slider-control
{
    position: absolute;
    right: 0;
    bottom: -50px;
    left: 0;

    height: 50px;
    margin: 0 auto;

    text-align: center;
}

ul.slider-control li
{
    display: block;
    padding-left: 0;
	width: 158px;
    height: 50px;
	float: left;
	border-bottom: 3px solid #cfd0d2;
	overflow: hidden;
	margin: 0 10px;
	padding: 0;
	visibility: hidden;
}
ul.slider-control li:hover, ul.slider-control li.cycle-pager-active
{
   border-color: #a74747;
}

.slider-control button,.slider-control button:active,.slider-control button:focus
{
    font-size: 11px;
	display: block;

    overflow: hidden;
	color: #525b65;

    width: 158px;
    height: 50px;
	line-height: 1.4em;
	padding-left: 6px;
	padding-right: 6px;
	background: none;

    text-decoration: underline;
    text-overflow: ellipsis;
}

.slider-control button:hover
{
    text-decoration: none;
	color: #fff;
}

@media (max-width: 1000px)
{
    .slider-wrapper
    {
        display: none;
    }
}

/* --- PAGE-HOME - CATEGORIES --- */
.categories
{
    margin-top: 30px;
    padding: 20px 0px;
    background: #ebecec;
}

.categories a
{
    color: #135079;
}

.categories .columns h3 {padding-left: 15px}
.categories .columns ul {padding-left: 15px}
.categories-list li
{
    margin-bottom: 15px;
	list-style: disc; 
	margin-left: 20px;
}

ul.categories-list li:before
{
    background: #135079;
}

.categories-list a
{
    font-size: 13px;
}

/* --- PAGE-HOME - CONTENT-INNER --- */
/* MESSAGES (TABS) */
.content-inner
{
    margin-top: 30px;
}

.messages .tabs
{
    height: 45px;
    margin: 0;

    border-bottom: 1px solid #c2c2c2;
}

.messages .tabs li
{
    float: left;

    padding-left: 0;
}

.messages .tabs li:before
{
    display: none;
}

.messages .tabs a, .tabs dd.active a, .tabs .tab-title.active a
{
    font-size: 15px;
    line-height: 40px;

    display: block;

    margin-right: 5px;
    padding: 0 20px;

    text-decoration: underline;

    color: #fff;
    background: #afafaf;
}

.messages .tabs a:hover,
.messages .tabs .active a
{
    line-height: 44px;

    text-decoration: none;

    background: #a74747;
}

.messages .tabs-content .content
{
    display: none;
}

.messages .tabs-content .active
{
    display: block;
}

.messages-filter
{
    line-height: 35px;

    background: #eff0f0;
}

ul.messages-filter li
{
    float: left;

    padding: 0 0 0 12px;
}

ul.messages-filter li:before
{
    display: none;
}

.messages-filter input
{
    float: left;

    margin: 11px 8px 0 0;
}

@media (max-width: 450px)
{
    .messages .tabs a
    {
        font-size: 13px;

        padding: 0 10px;
    }
}
/* --- ARTICLES (LOOP) --- */
article
{
    margin-bottom: 40px;
}

article img
{
    max-width: 100%;
	height: auto;
}

article h3
{
    font-size: 18px;
}

article h3 a
{
    color: #135079;
}

.content article h3
{
    margin-top: 0;
}
.content article h3 a
{
    text-decoration: underline
}

.article-info *
{
    display: inline-block;
}
.article-info .edit-link
{
    display: block;
}
.article-info .edit-link a
{
    text-decoration: underline;
	color: #135079;
}
.article-info .clearfix
{
    display: block;
}

.article-info time
{
    margin-right: 12px;
}

.article-info a
{
    margin-right: 15px;
    text-decoration: none;
}
.article-info .tag-links a
{
    margin-right: 0px;
    text-decoration: underline;
}
.article-info a:hover
{
  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"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%);
  text-decoration: none;
}
.article-info a:before
{
    font-family: 'FontAwesome';
    font-size: 20px;

    color: #5ea9dd;
}

.article-info .category
{
    line-height: 22px;

    padding: 0 10px;

    color: #fff;
    border-radius: 4px;
}

.article-info .category
{
    background: #a74747;
}

.article-info .category.type-2
{
    background: #002d56;
}

.article-info .article-mail:before
{
    content: '\f0e0';
}

.article-info .article-tw:before
{
    content: '\f099';
}

.article-info .article-fb:before
{
    content: '\f082';
}

.article-info p
{
    margin-top: 10px;
}
.search .article-info p
{
    margin-top: 0px;
    margin-bottom: 0px;
}

/* --- SIDEBAR --- */
/* SIDEBAR-HOME */
.sidebar-home h2
{
    font-size: 23px;
    font-weight: 300;

    margin: 0;
    margin-bottom: 10px;
    padding-bottom: 12px;

    text-indent: 12px;

    border-bottom: 1px solid #c2c2c2;
}

.widget_rp_event .notes
{
    padding: 12px 15px;

    background-color: #eff0f0;
    background-image: url('../img/bg_notes-top.jpg'), url('../img/bg_notes-bottom.jpg');
    background-repeat: repeat-x;
    background-position: left top, left bottom;
}

.widget_rp_event .notes time
{
    font-size: 18px;
    font-weight: 300;

    display: block;

    margin-bottom: 5px;

    color: #2f343a;
}

.widget_rp_event .notes a
{
    color: #135079;
}

.sidebar-home .banner-wrapper
{
    margin: 20px 0;
}

.sidebar-home .banner img
{
    width: 100%;
    height: auto;
	margin-bottom: 5px;
}
/* SIDEBAR-LEFT */
.sidebar-left .widget {
	margin-bottom: 1.5em;
}
.sidebar-left h2
{
    font-size: 18px;
    font-weight: 400;

    color: #525b65;
}

.sidebar-left-menu a
{
    position: relative;

    display: block;

    padding: 7px 30px 7px 10px;

    text-decoration: none;

    color: #135079;
    border-bottom: 1px solid #c2c2c2;
}

.sidebar-left-menu li:first-child a
{
    border-top: 1px solid #c2c2c2;
}

.sidebar-left-menu > li > a:after
{
    font-family: 'FontAwesome';
    font-size: 18px;

    position: absolute;
    top: 7px;
    right: 10px;

    content: '\f105';
}

.sidebar-left-menu > .menu-item-has-children > a:after
{
    content: '\f0d7';
}

.sidebar-left-menu a:hover,
.sidebar-left-menu > .current_page_item > a,
.sidebar-left-menu > .current_page_ancestor > a,
.sidebar-left-menu > .current_page_parent > a
{
    color: #fff;
    background: #a74747;
}

.sidebar-left-menu > .current_page_item > a,
.sidebar-left-menu > .current_page_ancestor > a,
.sidebar-left-menu > .current_page_parent > a
{
    border: none;
}

.sidebar-left-menu > .current_page_item > a:after,
.sidebar-left-menu > .current_page_ancestor > a:after,
.sidebar-left-menu > .current_page_parent > a:after
{
    -webkit-transform: rotate(180deg);
       -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
         -o-transform: rotate(180deg);
            transform: rotate(180deg);
}

.sidebar-left-menu .sub-menu
{
    border-bottom: 1px solid #c2c2c2;
}

.sidebar-left-menu .sub-menu a
{
    position: relative;

    padding: 7px 20px;

    border: none;
    background: #ebecec;
}

.sidebar-left-menu .sub-menu a:hover,
.sidebar-left-menu .sub-menu .current_page_item a
{
    color: #a74747;
}

.sidebar-left-menu .sub-menu a:before
{
    position: absolute;
    top: 14px;
    left: 10px;

    display: block;

    width: 5px;
    height: 5px;

    content: '';
    vertical-align: top;

    border-radius: 2.5px;
    background: #135079;
}

.sidebar-left-menu .sub-menu a:hover:before
{
    background: #a74747;
}

/* SIDEBAR-RIGHT */
.sidebar-right-wrapper
{
    margin-top: 5px;
    padding: 15px 10px;

    background: #ebecec;
	font-size: 0.8em;
}

.sidebar-right h3
{
    font-size: 16px;
    font-weight: 400;

    color: #525b65;
}

.sidebar-right li
{
    position: relative;

    margin-bottom: 10px;
    padding-left: 12px;
}

.sidebar-right li:before
{
    position: absolute;
    top: 7px;
    left: 0;

    display: block;

    width: 5px;
    height: 5px;

    content: '';

    border-radius: 50%;
    background: #135079;
}

.sidebar-right .widget_recent_entries li {
	padding-left: 0;
}
.sidebar-right .widget_recent_entries li a {
	display: block
}
.sidebar-right .widget_recent_entries li:before {
	display: none;
}

.sidebar-right a
{
    color: #135079;
}

.sidebar-right .widget:after{
	content: " ";
	display: block;
	height: 1px;
    margin: 10px;
    background: #c2c2c2;
}
.sidebar-right .widget:last-child:after{
	display: none;
}

.forms-list li
{
    padding-left: 20px;
}

.forms-list li:before
{
    font-family: 'FontAwesome';

    top: 4px;

    width: auto;
    height: auto;

    content: '\f0f3';

    color: #135079;
    border-radius: 0;
    background: transparent;
}

.sidebar-right-article
{
    margin-bottom: 15px;
}

.sidebar-right-article time
{
    display: block;

    margin-top: 5px;
}

/* --- PAGE-HOME - INTERESTS --- */
.interests h2
{
    font-size: 23px;
    font-weight: 300;

    margin: 40px 0 10px 0;
    padding-bottom: 12px;

    text-indent: 12px;

    border-bottom: 1px solid #c2c2c2;
}

.interests-date
{
    text-align: center;
}

.interests time
{
    font-size: 18px;
    font-weight: 300;

    color: #2f343a;
}

.interests a
{
    font-size: 18px;

    color: #135079;
}

.interests-link,
.interests-date
{
    margin-bottom: 20px;
}

@media (max-width: 640px)
{
    .interests
    {
        text-align: center;
    }

    .interests-link
    {
        padding: 0 15px;
    }
}
/* ---------------------------------------------------------------------- END : CONTENT ---------- */

/* ---------- START : TOOLS ---------- */
.tools
{
    position: absolute;
    z-index: 999;
    top: 0;

    width: 100%;
    height: 30px;
    padding: 0 15px;

    background: rgba(0, 0, 0, .1);
}

/* --- LANGUAGES --- */
.tools .languages
{
    line-height: 26px;

    float: left;

    margin: 0;
}

.tools .languages li
{
    float: left;
}
.tools .languages li .sub-menu
{
    display: none
}

.tools .languages a
{
    font-size: 13px;

    position: relative;

    padding: 0 14px;

    color: #fff;
}

.tools .languages a:before
{
    position: absolute;
    bottom: 2px;
    left: 0;

    display: block;

    width: 1px;
    height: 12px;

    content: '';

    background: #fff;
}

.tools .languages li:first-child a
{
    padding-left: 0;
}

.tools .languages li:first-child a:before
{
    display: none;
}

/* --- QUICK LINKS --- */
.quick-links
{
    float: right;
}

.quick-links li
{
    position: relative;
}

.quick-links a
{
    font-size: 15px;
    line-height: 30px;

    position: relative;

    display: block;

    height: 30px;
    padding: 0 30px 0 10px;

    text-decoration: none;

    color: #fff;
}

.quick-links > li > a:after
{
    font-family: 'FontAwesome';

    margin-left: 15px;

    content: '\f0d7';
}

.quick-links a:hover
{
    text-decoration: none;

    color: #000;
    background: #fff;
}

.quick-links .sub-menu
{
    position: absolute;
    top: 0;
    left: 100%;

    visibility: hidden;
	display: none;

    width: 100%;

    -webkit-transition: .3s linear;
       -moz-transition: .3s linear;
        -ms-transition: .3s linear;
         -o-transition: .3s linear;
            transition: .3s linear;
    white-space: nowrap;

    opacity: 0;
}

.ie > .quick-links .sub-menu
{
    display: none;
}

.quick-links > li > .sub-menu
{
    top: 30px;
    left: 0; /* Same as margin-left of .quick-links a */
}

.quick-links li:hover > .sub-menu
{
    visibility: visible;
    display: block;

    opacity: 1;
}

.ie .quick-links li:hover > .sub-menu
{
    display: block;
}

.quick-links .sub-menu a
{
    display: block;

    background: #964040;
}

.quick-links .sub-menu a:hover
{
    background: #ebecec;
}

@media (max-width: 500px)
{
    .quick-links > li > a
    {
        font-size: 0;
    }

    .quick-links > li > a:after
    {
        font-size: 16px;

        margin: 0;
    }

    .quick-links .sub-menu
    {
        right: 0;
        left: auto !important;

        overflow: hidden;

        width: 140px;

        white-space: nowrap;
        text-overflow: ellipsis;
    }
}
/* --- SOCIAL LINKS --- */
.tools .socials
{
    line-height: 26px;

    float: right;

    margin: 0;
}

.tools .socials li
{
    float: left;
    margin-right: 10px;
     background-color: #135079;
     height:  30px;
}
.tools .socials li .sub-menu
{
    display: none
}

.tools .socials a
{
    font-size: 13px;

    position: relative;

    padding: 0 0px;

    color: #fff;
      height:  30px;
}

.tools .socials .icon-facebook a,
.tools .socials .icon-instagram a,
.tools .socials .icon-twitter a,
.tools .socials .icon-youtube a{
    font-size: 0px;
} 

.tools .socials .icon-facebook a:after{
 
   content: url('https://www.ff.cuni.cz/wp-content/themes/ffuk/img/fast-icon_1.png');  
}
.tools .socials .icon-youtube a:after{
   content: url('https://www.ff.cuni.cz/wp-content/themes/ffuk/img/fast-icon_2.png');  
}
.tools .socials .icon-instagram a:after{
   content: url('https://www.ff.cuni.cz/wp-content/themes/ffuk/img/fast-icon_3.png');  
}
.tools .socials .icon-twitter a:after{
   content: url('https://www.ff.cuni.cz/wp-content/themes/ffuk/img/fast-icon_11.png');  
}

.tools .socials li:first-child a:before
{
    display: none;
}

/* ---------------------------------------------------------------------- END : TOOLS ---------- */

/* ---------- START : SEARCH ---------- */
.ffukhead.search-field
{
    position: absolute;
    top: 85px;
    right: 0;
    left: 0;

    width: 275px;
    height: 30px;
    margin: 0 auto;
	padding-left: 75px;
}

.ffukhead.search-field input:focus
{
    outline: none;
}

.ffukhead.search-field input[type='search']
{
    font-size: 13px;
    line-height: 30px;

    float: left;

    width: 170px;
    height: 30px;
    padding: 0 15px;

    border: none;
}

.ie .ffukhead.search-field input
{
    width: 200px;
}

.ffukhead.search-field span
{
    font-size: 14px;
    line-height: 30px;

    position: relative;

    float: right;

    width: 30px;
    height: 30px;

    text-align: center;

    color: #fff;
    background: #532323;
}

.ffukhead.search-field input[type='submit']
{
    font-size: 0;

    position: absolute;
    top: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1000px)
{
    .ffukhead.search-field
    {
        right: 300px;
        left: auto;

        margin: 0;
    }
}

@media (max-width: 800px)
{
    .ffukhead.search-field
    {
        display: none;
    }
}
/* ---------------------------------------------------------------------- END : SEARCH ---------- */

/* ---------- START : FOOTER ---------- */
footer
{
    font-size: 13px;

    width: 100%;
}

footer a
{
    color: #135079;
}

/* --- PRE-FOOTER --- */
footer .pre-footer
{
    border-top: 5px solid #dadbdc;
    background: #eee;
}

footer .pre-footer p
{
    font-size: 12px;
}

footer .pre-footer img
{
    display: block;

    max-width: 100%;
    margin: 0 auto;
}

footer .pre-footer .row
{
    padding: 20px 0;
}

footer .pre-footer h3
{
    font-size: 20px;
}

footer .pre-footer ul li
{
    position: relative;

    margin-bottom: 15px;
    padding-left: 17px;
}

footer .pre-footer ul li:before
{
    position: absolute;
    top: 7px;
    left: 0;

    display: block;

    width: 5px;
    height: 5px;

    content: '';
    vertical-align: top;

    border-radius: 2.5px;
    background: #135079;
}

footer .pre-footer li a
{
    font-size: 13px;
}

/* --- ADDRESS --- */
.footer-address
{
    text-align: center;
}

/* --- CONTACT --- */
.footer-contact span
{
    font-size: 18px;
    font-weight: 300;
}

.footer-contact a
{
    font-size: 18px;
}

/* --- SOCIAL NETWORKS --- */
footer .pre-footer .footer-social li
{
    padding-left: 0;
}

footer .pre-footer .footer-social li:before
{
    display: none;
}

footer .pre-footer .footer-social li a
{
    font-size: 0;
}

.footer-social
{
    float: right;

    margin: 0;
}

.pre-footer ul.footer-social li
{
    float: left;

    margin-bottom: 0;
}

.footer-social a
{
    display: block;

    width: 50px;
    height: 50px;
    margin-left: 15px;

    text-decoration: none;

    border-radius: 50%;
    background: black;
}

.footer-social a:hover
{
    background: transparent;
}

.footer-social a:before
{
    font-family: 'FontAwesome';
    font-size: 31px;
    line-height: 50px;

    display: block;

    -webkit-transition: .5s;
       -moz-transition: .5s;
         -o-transition: .5s;
            transition: .5s;
    text-align: center;

    color: #fff;
}

.footer-social .fb
{
    background: #5f8eb8;
}

.footer-social .fb:before
{
    content: '\f09a';
}

.footer-social .fb:hover:before
{
    color: #5f8eb8;
}

.footer-social .gp
{
    background: #dc7c6e;
}

.footer-social .gp:before
{
    content: '\f0d5';
}

.footer-social .gp:hover:before
{
    color: #dc7c6e;
}

.footer-social .tw
{
    background: #2fa3ca;
}

.footer-social .tw:before
{
    content: '\f099';
}

.footer-social .tw:hover:before
{
    color: #2fa3ca;
}

.footer-social .yt
{
    background: #e04f56;
}

.footer-social .yt:before
{
    content: '\f167';
}

.footer-social .yt:hover:before
{
    color: #e04f56;
}
.footer-social .li 
{
	background: #0077b5;
}
.footer-social .li:before
{
    content: '\f0e1';
}

.footer-social .li:hover:before
{
    color: #0077b5;
}
.footer-social .ig 
{
	background: #517fa6;
}
.footer-social .ig:before
{
    content: '\f16d';
}

.footer-social .ig:hover:before
{
    color: #517fa6;
}

.footer-social .mail
{
    background: #a74747;
}

.footer-social .mail:before
{
    content: '\f003';
}

.footer-social .mail:hover:before
{
    color: #a74747;
}

footer .footer-divider
{
    width: 100%;
    height: 1px;

    background: #dadbdc;
}

@media (max-width: 640px)
{
    .footer-contact
    {
        text-align: center;
    }

    .footer-contact a
    {
        font-size: 16px;
    }

    .footer-social-wrap
    {
        text-align: center;
    }

    .footer-social
    {
        display: inline-block;
        float: none;

        margin-top: 30px;
    }

    .footer-social a
    {
        width: 40px;
        height: 40px;
    }

    .footer-social a:before
    {
        font-size: 25px;
        line-height: 44px;
    }
}

/* --- FOOTER --- */
footer .footer
{
    height: 152px;
    padding-top: 15px;

    background: #dadbdc;
}

footer .footer span
{
    display: inline-block;

    vertical-align: top;
}

footer .footer .design
{
    float: right;
}

.footer-menu
{
    display: inline-block;

    margin-left: 3px;

    vertical-align: top;
}

.footer-menu li
{
    float: left;
}
.footer-menu li .children
{
    display: none
}

.footer-menu a
{
    position: relative;

    padding: 0 8px;
}

.footer-menu a:before
{
    position: absolute;
    bottom: 2px;
    left: 0;

    display: block;

    width: 1px;
    height: 12px;

    content: '';

    background: #525b65;
}
/* ---------------------------------------------------------------------- END : FOOTER ---------- */

meta.foundation-data-attribute-namespace { font-family: false; }
.entry-meta .back {float: right}

blockquote {border-left: 0; border-top: 1px solid #c2c2c2; border-bottom: 1px solid #c2c2c2;  font-style: italic; text-align: center; position: relative; padding: 1.5em 2em}
blockquote:before {display: block; content: ' '; width: 15px; height: 12px; position: absolute; top: 1em; left: 0.5em; background: url(../img/blockquote-start.png)}
blockquote:after {display: block; content: ' '; width: 15px; height: 12px; position: absolute; bottom: 1em; right: 0.5em; background: url(../img/blockquote-end.png)}
blockquote p:last-child {margin-bottom: 0.5em}

#nav-single {margin: 2em 0 1em; text-align: center}
.single .entry-meta {margin: 2em 0 1em}
#nav-single .btn {margin: 0 auto; display: inline-block}
.nav-next {float: right}
.nav-previous {float: left}
.single .article-info {margin-bottom: 20px}
.single .article-info.bottom {margin-top: 30px}

.wrapper form {background: #dcddde; padding: 0.6em}
.wrapper form input {padding: 0.6em; font-size: 1.2em; margin-bottom: 6px}
.wrapper form select {margin-bottom: 6px}
.wrapper form.onerow input {padding: 0.6em; font-size: 1em; margin-bottom: 0}
.wrapper form .second input {margin-bottom: 0}
.wrapper form input[type="submit"] {margin-top: 1px; display: block; width: 100%;}
.wrapper .search-field {padding: 21px 10px;}
.widget h2 a {text-decoration: none}

.gomore {padding-top: 1em}
.gomore h2 {font-size: 1.7em; border-bottom: 1px solid #c2c2c2;}

.rpevent {margin-bottom: 2em}
.rpevent p {margin-bottom: 0.5em}
.rpevent dl dd {float: left; width: 150px; margin: 0; font-weight: 700}
.rpevent dl dt {margin-left: 150px; font-weight: normal}
.rpevent .entry-thumbnail img {margin: 0 0 1em 2em}
.rpevent .entry-thumbnail {float: right;}
.rpevent.detail .entry-content {margin-top: 2em;}
.rpevent .entry-content {margin-top: 0em; padding-top: 0}
.rpevent article .entry-content {margin-top: 2em;}
.rpevent .entry-meta.date {line-height: 2em; font-size: 1.2em; margin-bottom: 0.2em}

table.calendar {margin-bottom: 2.25rem}
table.calendar2 {margin-bottom: 2.25rem; border-spacing: 0}
table.calendar2 .icon-external {display: none}
table.calendar2 th, table.calendar2 td {font-size: 0.8em; padding: 3px 0; text-align: center; position: relative}
table.calendar2 th {font-weight: normal; padding: 6px 0;}
table.calendar2 td.weekend, table.calendar2 th.weekend {border-right: 1px solid #333}
table.calendar2 .event {display: none; position: absolute; background: #fff; border: 1px solid #dcddde; padding: 1em; top: 2em; width: 300px; max-width: 300px; z-index: 1999; text-align: left}
table.calendar2 .isevent > div > a {color: #fff}

.ffuk-ics-calendar .calendarnav h2 {margin-top: 6px}
.ffuk-ics-calendar table.calendar {margin-bottom: 2.25rem}
.ffuk-ics-calendar #text form.calendar {background: none; padding: 0; margin: 0}
.ffuk-ics-calendar table.calendar td.isevent {position: relative; color: #fff; background: #00527b}
.ffuk-ics-calendar table.calendar td.isevent > div {color: #fff; background: #00527b}
.ffuk-ics-calendar table.calendar tr.weekdays th {border-bottom: 2px solid #333}
.ffuk-ics-calendar table.calendar td.today, .ffuk-ics-calendar table td.today > div {background: #333; color: #fff;}
.ffuk-ics-calendar table.calendar td.isevent > div > a {color: #fff;}
.ffuk-ics-calendar table.calendar td.today > div > a {color: #fff;}
.ffuk-ics-calendar table.calendar td.isevent:hover, .ffuk-ics-calendar table.calendar td.isevent:hover > div {background: #333333}
.ffuk-ics-calendar table.calendar td .event {display: none; position: absolute; background: #fff; color: #525b65; border: 1px solid #dcddde; padding: 1em 1em 2em 1em; top: 20px; width: 300px; max-width: 300px; z-index: 1999; text-align: left}
.ffuk-ics-calendar table.calendar td .event h3 {margin-bottom: 0px; margin-top: 0; font-size: 18px; color: #525b65}
.ffuk-ics-calendar table.calendar td .event h3 a {color: #135079}
.ffuk-ics-calendar table.calendar td .event h3 a:hover {color: #0078a0}
.ffuk-ics-calendar table.calendar td .event h3.light {font-size: 16px; font-weight: 200; margin-bottom: 8px;}

.ffuk-ics-calendar .calendar  input[type='submit'].search-submit {font-size: 0; position: absolute; top: -3px; left: 0; display: block; width: 36px; height: 36px; background: rgba(0, 0, 0, 0); border: none}
.ffuk-ics-calendar .cal-search {font-size: 14px; line-height: 36px; position: relative; float: right; width: 36px; height: 36px; text-align: center; color: #fff; }
.ffuk-ics-calendar .cal-search:before { content: "\f002"; display: inline; font-family: 'FontAwesome'; }
.ffuk-ics-calendar .calendar h2 {margin-top: 6px}
.ffuk-ics-calendar .contact a[href^='http']:after, .ffuk-ics-calendar .calendar a[href^='http']:after {display: none}
.ffuk-ics-calendar .contact {float: right; padding: 1em; width: 150px; font-size: 0.9em; background: #eeeeee; border-bottom: 3px solid #dcdcdc; margin: 27px 0 1em 2em;}

.ar {text-align: right}
.ac {text-align: center}
.hide {display: none}

ul.pagination li.current a {text-decoration: none}

#ffuk_event_desc {height: 5.4rem}

form h4 {  color: #002d56; font-weight: 700; font-size: 1.1em;}
.imp {color: #c00}

.widget_rp_event h2 a {text-decoration: none}
.widget_lc_taxonomy {margin-bottom: 2em}
.list-custom-taxonomy-widget ul {margin-left: 15px;}

table tr.even, table tr.alt, table tr:nth-of-type(even) {background: #fff}

.whois {background: #eee; padding-top: 1em; padding-bottom: 1em;}
.whois legend {font-size: 1.1em; font-weight: bold}
.connect {margin-bottom: 1.5em}
.wrapper .zp form {background: none;}
.wrapper .zp form label {margin: 0}
.wrapper .zp form select {margin: 0}

table.tablesorter thead tr th {padding-right: 30px; position: relative; white-space: nowrap; cursor: pointer}
table.tablesorter thead tr th:after {content: '\f0dc'; font-family: 'FontAwesome'; position: absolute; right: 5px;}
table.tablesorter thead tr th.sorting-desc:after {content: '\f0d7';}
table.tablesorter thead tr th.sorting-asc:after {content: '\f0d8'; }

.menu-hlavni-menu-container {position: relative}
.menu-hlavni-menu-container .search-field {position: absolute; right: 0px; left: auto; top: 7px; padding-left: 0; width: 195px}
.ffukhead.search-field input[type='search'] {width: 110px; float: right; -webkit-transition: all .5s ease; -moz-transition: all .5s ease; transition: all .5s ease;}
.ffukhead.search-field input[type='search']:focus {width: 160px;}

.article-image .full {width: 100%; height: auto;}
a.icon-detail span:before {display: inline; font-family: 'FontAwesome'; content: '\f002';}
a.icon-detail {text-decoration: none}
.icon-email:before {display: inline; font-family: 'FontAwesome'; content: '\f003'; padding-right: 0.25em;}
.icon-url:before {display: inline; font-family: 'FontAwesome'; content: '\f26b'; padding-right: 0.25em;}
.icon-phone:before {display: inline; font-family: 'FontAwesome'; content: '\f095'; padding-right: 0.25em;}
.icon-extern {line-height: 26px; display: block; float: right; width: 26px;  height: 26px; margin-left: 5px; margin-bottom: 0; text-align: center; border-radius: 50%; background: #a74747;}
.icon-extern:before {font-family: 'FontAwesome'; font-size: 15px; color: #fff; content: '\f14c';}
.icon-extern:hover { filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter ….3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");  filter: gray; -webkit-filter: grayscale(100%); text-decoration: none;}

.box-content .down {display: inline-block; width: 5px; height: 5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 4px solid #135079}
.box-content .up {display: inline-block; width: 5px; height: 5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 4px solid #135079}

.crossroad {text-align: center;}
.crossroad h1 {font-size: 30px; margin-bottom: 20px;}
.crossroad p {width: 60%; margin: 0 auto}
.nomargin {margin-top: 0}

.cross {margin-top: 15px; margin-bottom: 0px;}
.cross .gksm-custom-menu-widget { margin-bottom: 30px}
.cross .widget .env {background: #ebecec; padding-bottom: 3px}
.cross .widget .env h3 {background: #a74747; color: #fff; padding: 12px; margin: 0; text-align: center; cursor: pointer;}
.cross .widget .env h3:hover {text-decoration: underline;}
.cross .widget .env ul {background: #ebecec; padding: 15px; margin: 0; border-bottom: 1px solid #c2c2c2}
.cross .widget .env ul li {margin-bottom: 15px; list-style: disc; margin-left: 20px; }
.cross .widget .env ul li:last-child {list-style: none; margin: 20px 0 0 0 ;}
.cross .widget .env ul li:last-child a {border-bottom: 3px solid rgba(0, 0, 0, .2); background: #a74747; color: #fff; padding: 12px; font-size: 14px; display: block; text-align: center; text-decoration: none;}
.cross .widget .env ul li:last-child a:hover {border-color: rgba(0, 0, 0, .5); text-decoration: underline; }

.calendar.toggable {display: none}
.konzultace th {font-weight: normal; white-space: nowrap;}
.konzultace td {width: 50%;}
.nobreak {white-space: nowrap;}
a.nodeco {text-decoration: none;}

.widget_categories ul {margin-left: 20px; }
.widget_categories ul li {margin-bottom: 5px; list-style: disc; margin-left: 20px; }
.widget_categories label {display: none}

@media (max-width: 500px){
	footer .footer .design {
		float: none;
    }
    .footer-menu a:before {
		display: none;
    }
    .footer-menu li {
		width: 50%;
    }
    .mybreadcrumbs {
		line-height: 20px;
    	max-height: 40px;
    	overflow: hidden;
    }
    .nav-next {float: none; margin: 0.25em auto}
	.nav-previous {float: none; margin: 0.25em auto}
     #nav-single .btn {margin: 0.25em auto}
    body.isadmin > header {
		margin-top: 0;
    	padding-top: 
    }
}

.ffukobory .search-field
{
	padding: 0;
}

.ffukobory .search-field input:focus
{
    outline: none;
}

.ffukobory .search-field input[type='search']
{
    float: left;

    width: 85%;
    height: 37px;
    line-height: 37px;
    border: none;
	border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
}

.ffukobory .search-field span
{
    font-size: 14px;
    line-height: 37px;

    position: relative;

    float: right;

    width: 15%;
    height: 37px;

    text-align: center;

    color: #fff;
    background: #a74747;
	border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
	border-left: none;
}

.ffukobory .search-field input[type='submit']
{
    font-size: 0;

    position: absolute;
    top: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 100%;
	background: rgba(0, 0, 0, 0.5);
}
.ffukobory th.sortasc:after {
	font-family: 'FontAwesome';
    content: '\f0de';
	margin-left: 0.5em;
}
.ffukobory th.sortdesc:after {
	font-family: 'FontAwesome';
    content: '\f0dd';
	margin-left: 0.5em;
}

.bbp-breadcrumb {display: none}
.wrapper .bbp-search-form {padding-bottom: 0.5em}
.wrapper .bbp-search-form form input {height: 41px; margin: 0}
.wrapper .bbp-search-form form input[type="submit"] {display: inline-block; width: auto}
#bbpress-forums li.bbp-header ul {list-style: none}
.content #bbpress-forums ul li:before {display: none}
.content #bbpress-forums ul li.bbp-body {padding-left: 0}
.columns.content #bbpress-forums a[href^='http']:after {display: none}
#bbpress-forums li.bbp-header {background: #ebecec}
#bbpress-forums div.bbp-template-notice, #bbpress-forums div.indicator-hint {border-radius: 0}
.localpost.sticky {background: #eff0f0}
.mybreadcrumbs span[property="name"] {
    display: inline-block;
    padding: 0;
    margin-top: -3px;
    vertical-align: middle;
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mybreadcrumbs span[property="name"]:hover {
    max-width: none;
}
/*
li.icons-social{

    text-align: center;
}
.icons-social a {

   padding: 2px;
   margin: 5px;
   background: #0077b5;
   
}  
.icons-social a:hover {
    transform: scale(1.1);
    background: #002141;
}
.icons-social.icon-facebook a{
   content: url('https://api.iconify.design/fa-facebook.svg?color=%23fff&height=24'); 
}
.icons-social.icon-instagram a{
   content: url('https://api.iconify.design/fa-instagram.svg?color=%23fff&height=24'); 
}
div.menu-ikony-container{
        float: right;
    clear: both;
    position: relative;
    padding-bottom: 20px;
}*/