/*
    Project: hungexpo.hu
    Author: istvan krucsanyica (http://www.linkedin.com/in/istvankrucsanyica)
    License: All Right Reserved by istvan krucsanyica @planetmedia
    Version: v0.1
*/

/* Basic settings
================================================== */

* {
  margin: 0;
  padding: 0;
}

html, 
body {
    height: 100%;
    font-size: 100%;
}

a:hover {
  cursor: pointer; 
}

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

img {
  -ms-interpolation-mode: bicubic; 
}

.left {
  float: left !important; 
}

.right {
  float: right !important; 
}

.clear {
    float: none;
    clear: both;
}

.clear:before, .clear:after {
  content: " ";
  display: table; 
}

.clear:after {
  clear: both; 
}

.hide {
  display: none; 
}

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

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

a {text-decoration: none;}

audio,
canvas,
img,
video {
    vertical-align: middle;
}


/* Cookies
================================================== */

#cookie {
    margin: 0px auto 25px auto;
    text-align: center;
	display:none
}

#cookie ul li{
	    display: inline-block;
}

 #cookie .login-btn{
	
}


/* Main Styles
================================================== */

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    background-color: #ffffff;
}

header {
    width: 100%;
    height: 120px;
    background: #231f20;
}

    .logo {
        padding-top: 33px;
    }

.topsection {
    margin: 5px 0 16px 0;
    padding:0;
}

.touchmenu {
    display: none;
}

    .topsection ul#langnav {
        list-style: none;
        margin: 0;
        padding:0;
    }

        .topsection ul#langnav li {
            display: inline-block;
            margin: 0 9px 0 0;
            padding:0;
        }

        .topsection ul#langnav li a img {
            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; 
            -webkit-filter: grayscale(100%);
        }

        .topsection ul#langnav li a:hover img {
            filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
            -webkit-filter: grayscale(0%);
        }

        .topsection ul#langnav li a img.selected {
            filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
            -webkit-filter: grayscale(0%);
        }

a.login-btn {
    color: #ffffff;
    background: #009fe4;
    padding: 4px 42px 5px 42px;
    font-size: 11px;
    text-decoration: none;
    margin-left: 6px;
}

    a.login-btn:hover {
        background: #0086CB;
    }


.container {
    width: 100%;
    display: block;
}

.topmargin20 {
    margin-top: 20px;
}

.topmargin40 {
    margin-top: 40px;
}

.topmargin50 {
    margin-top: 50px;
}

.download-calendar a {
    font-size: 12px;
    color: #ffffff;
    background: #231f20;
    padding: 3px 6px;
    float: right;
}

.download-calendar a:hover {
    background-color: #B15089;
}

.sidebar {
    padding-left: 30px;
    padding-bottom: 40px;
}

.sidebar .hird {
    padding-bottom: 25px;
}

    .sidebar .hird img {
        margin: 0 auto;
        display: block;
    }

.sidebar.title h2, .selectednews.title h2, .searchresult.title h2 {
    border-bottom: 1px solid #d55705;
    padding: 3px 0 3px 8px;
    font-weight: normal;
    font-size: 20px;
    color: #231f20;
    border-left: 15px solid #d55705;
    margin-top: 0;
}

    .selectednews h2 {
        font-weight: normal;
    }

    .selectednews.title h2 em, .selectednews h2 em, .searchresult h2 em {
        color: #ca69a2;
    }

.tags ul {
    list-style: none;
    margin: 0;
    padding:0;
}

.tags ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    padding: 9px 8px;
    background-color: #ca69a2;
    display: block;
    float: left;
    margin: 0 10px 10px 0;
}

    .tags ul li a:hover {
        background-color: #B15089;
    }


.custom-dropdown__select{
    font-size: inherit;
    padding: .5em;
    margin: 0;
    width: 100%; 
}

.custom-dropdown__select-magenta {
    background-color: #009fe4;
    color: #fff;
    outline: 0 !important;
    border:0;   
    margin-bottom: 10px;
}

    .custom-dropdown {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        width: 100%;
        margin-bottom: 10px;
        border:none;
    }

    .custom-dropdown__select {
        padding-right: 2.5em;
        border: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;    
    }

    .custom-dropdown::before,
    .custom-dropdown::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .custom-dropdown::after {
        content: "\25BC";
        height: 1em;
        font-size: .625em;
        line-height: 1;
        right: 1.2em;
        top: 40%; margin-top: -.5em;
    }

    .custom-dropdown::before {
        width: 2em;
        right: 0; bottom: 0;
        border-radius: 0 3px 3px 0;
        -moz-border-radius: 0 3px 3px 0;
        -webkit-border-radius: 0 3px 3px 0;
        color: #fff;
    }

    .custom-dropdown-magenta::before {
        background-color: #009fe4;
        border-left: 1px solid rgba(0,0,0,.1);
    }

    .custom-dropdown-magenta::after {
        color: #fff;
    }

    @-moz-document url-prefix() {
        .custom-dropdown__select {
            padding-right: .9em;
        }
    }

.selectednews h1 {
    padding: 0 0 21px 0;
    margin: 0;
}

.mainpagenews h1 {
    padding: 0 0 6px 0;
    margin: 0;
}

.searchresult .item {
    border-bottom: 1px solid #c4c3c4;
    padding-bottom: 15px;
}

.searchresult h1 {
    padding: 0;
    margin: 0;
}

.searchresult .date {
    font-size: 10px;
    color: #333333;
    padding: 10px 0 0 0;
    margin: 0;
}

.searchresult .date span {
    color: #d55705;
    font-weight: bold;
}

.newsitem .newsdate .date {
    margin-left: 25px;
}

.newsdate .date {
    font-size: 10px;
    color: #333333;
    padding: 10px 0 0 0;
    margin: 0;
}

.newsdate {
    margin-bottom: 15px;
}

.newsdate .date strong {
    color: #d55705;
}

.selectednews .col-1-2 {
    margin-bottom: 30px;
    min-height: 352px;
}

.selectednews h1 a, .searchresult h1 a {
    color: #231f20;
    font-weight: normal;
    font-size: 16px;
    text-decoration: none;
}

    .selectednews h1 a:hover, .searchresult h1 a:hover {
        color: #e67e04;
    }

.selectednews p, .searchresult p {
    color: #231f20;
    font-size: 12px;
    text-align: justify;
    padding-right: 25px;
}

.searchresult p {
    padding-right: 0;
}

.selectednews p a, .searchresult p a {
    color: #e67e04;
    text-decoration: none;
}

    .selectednews p a:hover, .searchresult p a:hover {
        color: #231f20;
    }
.selectednews .newsitem img, .selectednews .newsitem p, .selectednews .newsitem h1 {
    margin-left: 25px;
}

.selectednews img {
    width: 400px;
}

.newsitem h1, .selectednews h1 {
    line-height: 0.6em;
    font-weight: bold;
}

    .selectednews h1 a {
        font-weight: bold;
    }

.selectednews .newsitem p {
    padding-right: 0;
}

.selectednews .pt54 {
    padding-top: 18px;
}

footer {
    height: auto !important;
    min-height: 628px;
    background-color: #231f20;
}

    footer .footermenu ul {
        margin:0 30px 0 0;
        padding:0;
        float: left;
    }

        footer .footermenu ul li {
            list-style: none;

        }

            footer .footermenu ul li.title {
                padding-bottom: 25px;
                font-size: 14px;
            }

            footer .footermenu ul li {
                font-size: 10px;
                padding-bottom: 6px;
                line-height: 1.5em;
            }

        footer .footermenu ul li a  {
            color: #fff;
            text-decoration: none;  
        }

            footer .footermenu ul li a:hover, footer .footermenu ul li.active a {
                color: #009fe4;
            }

    footer .bottomtext h2 {
        text-align: left;
        font-weight: normal;
        color: #fff;
        font-size: 20px;
    }

        footer .bottomtext p {
            color: #fff;
            font-size: 11px;
            text-align: justify;
            line-height: 1.6em;
            padding-right: 40px;
        }

        footer ul.contact {
            margin: 0;
            padding: 0;
        }

            footer ul.contact li {
                list-style: none;
                color: #fff;
                font-size: 11px;
                line-height: 2em;
            }

    footer .fotterpartnergroup a img {
        margin: 0 10px 10px 0;
    }

.bottomfooter {
    background-color: #000000;
    padding: 10px 0;
}

    .bottomfooter p {
        font-size: 11px;
        color: #fff;
    }

    .bottomfooter p a {
        color: #009fe4;
        text-decoration: none;
    }


.breadcrumb ul {
    margin:0;
    padding:0;
}

    .breadcrumb ul li {
        display: inline-block;
        list-style: none;
        padding-right: 5px;
        font-size: 10px;
    }

        .breadcrumb ul li a {
            text-decoration: none;
            color: #444444;
        }

            .breadcrumb ul li a i {
                font-size: 12px;
            }

            .breadcrumb ul li a:hover {
                color: #0086CB;
            }

            .breadcrumb ul li.selected {
                color: #0086CB;
            }

.content h1 {
    font-weight: normal;
    font-size: 30px;
    color: #231f20;
    margin:35px 0 30px 0;
    padding: 0 0 0 10px;
    border-left: 15px solid #d55705;
}

.content.newsdetal-content h1 {
    margin-bottom: 0;
    padding-bottom: 10px;
}

.headline {
    font-size: 13px;
    line-height: 1.5em;
    color: #231f20;
    text-align: justify;
    padding: 7px 0;
    background-color: #E6E6E6;
    margin: 25px 0 20px 0;
}

img.newsthumb {
    float: left;
    padding: 11px 20px 10px 0;
}

.content .headline p {
    padding: 2px 11px;
    margin: 0;
}

.content .date {
    font-size: 10px;
    color: #333333;
    border-left: 15px solid #d55705;
    padding: 10px 0 0 13px;
    margin: 0;
}

    .content .date span {
        color: #d55705;
        font-weight: bold;
    }

        .content .date strong {
            color: #d55705;
        }

.content p {
    font-size: 13px;
    line-height: 1.6em;
    color: #231f20;
    text-align: justify;
    padding: 7px 0;
}

.conetnt img {
    width: 100%;
}

.content a {
    color: #d55705;
}

    .content a:hover {
        text-decoration: underline;
    }

.content ol li, .content ul li {
    font-size: 13px;
    line-height: 1.6em;
    color: #231f20;
}

.content input {
    padding: 11px 30px;
    width: 100%;
    border: 1px solid #c4c3c4;
    display: block;
    color: #231f20;
}

    .content input:focus {
        border-color: #999;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(77,77,77,0.3);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(77,77,77,0.3);
    }

.content input[type="radio"], .content input[type="checkbox"] {
    padding: 11px 30px;
    width: auto;
    border: none;
    display: block;
    color: #231f20;
}

.content input[type="reset"], .content input[type="submit"] {
    padding: 11px 30px;
    width: auto;
    border: none;
    display: block;
    color: #fff;
    display: inline-block;
    margin-right: 20px;
}

.content input[type="reset"]{
    background-color: #7b8994;
}

    .content input[type="reset"]:hover {
        background-color: #231f20;
    }

.content input[type="submit"]{
    background-color: #009fe4;
}

    .content input[type="submit"]:hover {
        background-color: #0086CB;
    }


.content textarea {
    padding: 11px 30px;
    width: 100%;
    min-height: 200px;
    border: 1px solid #c4c3c4;
    position: relative;
    display: block;
    color: #231f20;
}

.content table.noborder {
    width: 100%;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.6em;
    color: #231f20;
    border: 0;
}

    .content table.noborder th {
        background-color: #f5f5f5;
        padding: 5px 6px;
        border: 0;
    }

    .content table.noborder td {
        padding: 5px 6px;
        border: 0;
    }

.content table {
    width: 100%;
    margin: 20px 0;
   /* border: 1px solid #c4c3c4;*/
    font-size: 13px;
    line-height: 1.6em;
    color: #231f20;
}

.content table h3 {
    margin-top: 0;
}

.content table th {
    background-color: #f5f5f5;
    padding: 5px 6px;
    border: 1px solid #c4c3c4;
}

.content table td {
    padding: 5px 6px;
/*    border: 1px solid #c4c3c4;*/
}

.content blockquote{
    display:block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;
    font-size: 13px;
    line-height: 1.6em;
    line-height: 1.2;
    color: #666;
    text-align: justify;
    border-left: 15px solid #e67e04;
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

        .content blockquote::before{
            content: "\201C";
            font-family: Georgia, serif;
            font-size: 60px;
            font-weight: bold;
            color: #999;
            position: absolute;
            left: 10px;
            top:5px;
        }

        .content blockquote::after{
            content: "";
        }

.share-buttons span, .tags span {
    background-color: #e67e04;
    font-size: 12px;
    padding: 8px 10px 9px 10px;
    color: #ffffff;
}

.tags span {
    float: left;
    padding: 8px 10px 10px 10px;
    margin-right: 5px;
}

.innererror-content span{
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
    color: #262626;
}

.innererror-content a.bigbtn span {
    margin: 0;
    color: #fff;
}

.paginator .paginate, .paginator .inactive {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    line-height: 28px;
    width: 40px;
    height: 40px;
    padding: 5px;
    margin: 5px 5px 15px 0;
    color: #fff;
    background: #231f20;
}

.paginator .paginate:hover {
    text-decoration: none;
    color: #fff;
    background-color: #009fe4;
}

.paginator .paginate:visited {
    text-decoration: none;
    color: #fff;
}


.paginator .current {
    display: inline-block;
    text-align: center;
    line-height: 28px;
    width: 40px;
    height: 40px;
    padding: 5px;
    margin: 5px 5px 15px 0;
    color: #fff;
    background-color: #009fe4;
}

.paginator .current:hover {
    color: #fff;
    background-color: #009fe4;
}


.slidercaption {
    position:absolute;
    bottom:0px;
    left:0px;
    z-index:10;
    width: 100%;
    color:white;
    background: none repeat scroll 0% 0% rgba(80, 80, 80, 0.75);
    background-color: rgba(80, 80, 80, 0.75);
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    padding: 8px 0 8px 20px ;
}

.slidercaption span.title {
    font-size: 20px;
    display: block;
    line-height: 1.6em;
}

.slidercaption span.descr {
    font-size: 15px;
    display: block;
}

/* Buttons, Forms */

.bigbtn {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    padding: 11px; 
    margin-right: 20px;
    display: block;
    float: left;
}

.bigbtn span {
    text-transform: uppercase;
}

.bigbtn.btn-gray {
    background-color: #7b8994;
}

.btn-orange {
    background-color: #e67e04;
}

    .btn-orange:hover {
        background-color: #CD6500;
    }

.btn-red {
    background-color: #e85236;
}

    .btn-red:hover {
        background-color: #CF391D;
    }

.btn-magenta {
    background-color: #ca69a2 ;
}

    .btn-magenta:hover {
        background-color: #B15089 ;
    }

.btn-blue {
    background-color: #009fe4;
}

    .btn-blue:hover {
        background-color: #0086CB;
    }


.search {
    position: relative;
    float: right;
    width: 100%;
}

input.search {
    padding: 11px 30px;
    width: 100%;
    border: 1px solid #c4c3c4;
    position: relative;
    display: block;
    color: #c4c3c4;
    font-style: italic;
}

input.search:focus {
    border-color: #999;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(77,77,77,0.3);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(77,77,77,0.3);
}

input.submit-search {
    background: #231f20 url(../img/search.png) no-repeat center;
    width:56px;
    height:40px;
    border:none;
    position:absolute;
    top:0;
    right:0;
    cursor:pointer;
}

.slider ul, .minislider ul {
    margin: 0;
    padding: 0;
}

.label {
    border-radius: 1px;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    margin-right: 10px;
}

.label a  {
    color: #fff;
}

.label-news {
    background-color: #85c744;
}

.label-domains {
    background-color: #ca69a2;
}

.label-programmes {
    background-color: #009fe4;
}

.label-content {
    background-color: #231f20;
}

#gallery-1 {
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.content-partners img {
    margin-right: 25px;
}

.embeddedContent { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.embeddedContent iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

#mobnav-btn {
    display: none;
    font-size: 16px;
    font-weight: normal;
    background-color: #231f20;
    color: white;
    padding: 10px;
    cursor: pointer;
}
.mobnav-subarrow {
    display: none;
}

/* Media Queries
================================================== */

@media only screen and (max-width: 959px) {}
@media only screen and (min-width: 768px) and (max-width: 959px) {}
@media only screen and (max-width: 767px) {}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    /* grid mod for small device */
    .grid {
        padding-left: 10px;
    }

    [class*='col-'].touch-notopmargin {
        margin-top: 0;
    }

    [class*='col-'] {
        padding-right: 0;
    }

    html.touch body {
        overflow: hidden;
    }

    .topmargin40 {
        margin-top: 25px;
    }

    .logo {
        width: 50%;
        margin-left: 49px;
        display: block;
        padding-top: 45px;
    }

    .topon-mobile {
        position: absolute;
        top: -12px;
        right: 0px;
    }

    /* main header menu */
    div#menu {
        display: none;
    }

    .touchmenu {
        position: absolute;
        top: 10px;
        width: 35px;
        height: 35px;
        display: block;
    }

    .touchmenu img {
        width: 100%;
    }

    #mobnav-btn {
        display: block;
    }
    .mobnav-subarrow {
        display: block;
        background-color: #231f20;
        opacity: .3;
        border-bottom: 1px solid white;
        border-top: 1px solid black;
        height: 20px;
        width: 30px;
        background-position: top left!important;
        position: absolute;
        top: 8px;
        right: 10px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }
    .sf-menu {
        width: 100%!important;
        display: none;
    }
    .sf-menu.xactive {
        display: block!important;
    }
    .sf-menu li {
        float: none!important;
        display: block!important;
        width: 100%!important;
    }
    .sf-menu li a {
        float: none!important;
    }
    .sf-menu ul {
        position:static!important;
        display: none!important;
    }
    .xpopdrop ul {
        display: block!important;
    }

    /* header big buttons */
    a.bigbtn {
        display: block;
        width: 45%;
        margin-bottom: 5px;
        text-align: center;
    }

    /* search form */

    .search {
        margin-top: 5px;
    }
    input.submit-search {
        top: 5px;
    }

    input.search, input.submit-search {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        -webkit-appearance: none;
    }

    input.submit-search {
        height: 42px;
    }

    .jflatTimeline {
        width: 100%;
    }

    /* programmes timeline */
    .jflatTimeline .month-year-bar {
        font-size: 14px;
    }

    .jflatTimeline .month-year-bar .prev, .jflatTimeline .month-year-bar .next {
        font-size: 18px;
    }

    .jflatTimeline .timeline-wrap .event .event-item h3 {
        margin-bottom: 0;
    }

    .jflatTimeline .timeline-wrap .event .event-item img {
        width: 50%;
        float: left;
    }

    .jflatTimeline .timeline-wrap .event .event-item span.date {
        margin-bottom: 7px;
        display: block;
    }

    .jflatTimeline .timeline-wrap .event .event-item a {
        display: block;
        margin-left: 15px;
        margin-bottom: 10px;
    }

    .content-partners {
        text-align: center;
    }

    .content-partners img {
        margin: 0 20px 30px 0;
    }

    .selectednews .col-1-2 {
        width: 48%;
        float: left;
    }

    /* sidebar */
    .touch-sidebarhelper {
        border-top: 1px solid #c4c3c4;
        padding-top: 40px;
        margin-top: 40px;
    }

    .sidebar {
        padding-left: 0;
    }

    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
        -moz-column-gap: 1em;
        -webkit-column-gap: 1em;
        column-gap: 1em;
    }

    .hird {
        display: inline-block;
        margin: 0 0 2em;
        width: 100%;
    }

    .sidebar .bx-wrapper img {
        margin: 0 auto;
    }

    /* footer */
    .footermenu, .fotterpartnergroup, .touch-footertoppadding {
        padding-top: 20px;
    }

    footer .footermenu ul {
        float: left;
        width: 43%;
        margin-top: 20px;
    }
    footer .footermenu ul li.title {
        padding-bottom: 5px;
    }

    footer .bottomtext p {
        padding-right: 0;
    }

    footer .fotterpartnergroup a img {
        margin: 15px 20px 10px 0;
    }

}
@media only screen and (min-device-width : 768px) and (max-dvice-width : 1024px) and (-webkit-min-device-pixel-ratio: 1)  {}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) {
    /* grid mod for small device */
    .grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    [class*='col-'].touch-notopmargin {
        margin-top: 0;
    }

    [class*='col-'] {
        padding-right: 0;
    }

    [class*='col-'] {
        width: auto;
        float: none;
    }

    html.touch body {
        overflow: hidden;
    }

    .logo {
        width: auto;
        margin-left: 49px;
        display: block;
        padding-top: 45px;
    }

    .topon-mobile {
        position: absolute;
        top: 10px;
        right: 0px;
    }

    /* main header menu */
    div#menu {
        display: none;
    }

    .touchmenu {
        position: absolute;
        top: 10px;
        width: 35px;
        height: 35px;
        display: block;
    }

    .touchmenu img {
        width: 100%;
    }

    /* header big buttons */
    a.bigbtn {
        display: block;
        width: 47%;
        margin-bottom: 5px;
        text-align: center;
    }

    /* search form */
    .search {
        width: 100%;
        float: none;
        margin-top: 15px;
    }
    input.search, input.submit-search {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        -webkit-appearance: none;
    }

    input.submit-search {
        height: 42px;
    }

    /* programmes timeline */
    .jflatTimeline {
        width: 100%;
    }

    .jflatTimeline .month-year-bar {
        font-size: 14px;
    }

    .jflatTimeline .month-year-bar .prev, .jflatTimeline .month-year-bar .next {
        font-size: 18px;
    }

    .jflatTimeline .timeline-wrap .event .event-item h3 {
        margin-bottom: 0;
    }

    .jflatTimeline .timeline-wrap .event .event-item img {
        width: 30%;
        float: left;
    }

    .jflatTimeline .timeline-wrap .event .event-item span.date {
        margin-bottom: 7px;
        display: inline-block;
    }

    .jflatTimeline .timeline-wrap .event .event-item a {
        display: inline-block;
        margin-left: 15px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .selectednews .col-1-2 {
        width: 48%;
        float: left;
    }

    .selectednews .col-1-2 {
        margin-bottom: 30px;
        min-height: 400px;
    }

    .selectednews img {
        width: 350px;
    }

    .content h1 {
        margin: 35px 0 5px 0;
    }

    .programsearchlist .event-item a {
        display: inline-block;
        margin-left: 15px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .content .date {
        padding: 20px 0 0 13px;
    }

    /* sidebar */
    .touch-sidebarhelper {
        padding-top: 40px;
        margin-top: 40px;
    }

    .sidebar {
        padding-left: 0;
    }

    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
        -moz-column-gap: 1em;
        -webkit-column-gap: 1em;
        column-gap: 1em;
    }

    .hird {
        display: inline-block;
        margin: 0 0 2em;
        width: 100%;
    }

    .sidebar .bx-wrapper img {
        margin: 0 auto;
    }

    .content-partners {
        text-align: center;
    }

    .content-partners img {
        margin: 0 20px 30px 0;
    }

    /* footer */
    .footermenu, .fotterpartnergroup, .touch-footertoppadding {
        padding-top: 20px;
    }

    footer .footermenu ul {
        float: left;
        margin-top: 20px;
    }
    footer .footermenu ul li.title {
        padding-bottom: 5px;
    }

    footer .bottomtext p {
        padding-right: 0;
    }

    footer .fotterpartnergroup a img {
        margin: 15px 20px 10px 0;
    }

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1) {
    /* grid mod for small device */
    .grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    html.touch body {
        overflow-x: hidden;
    }

    a.bigbtn {
        display: block;
        width: 90%;
        margin-bottom: 8px;
        text-align: center;
    }

    input.search, input.submit-search {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        -webkit-appearance: none;
    }

    input.submit-search {
        height: 42px;
    }

    /* programmes timeline */
    .jflatTimeline {
        width: 100%;
    }

    .jflatTimeline .month-year-bar {
        font-size: 14px;
    }

    .jflatTimeline .month-year-bar .prev, .jflatTimeline .month-year-bar .next {
        font-size: 18px;
    }

    .jflatTimeline .timeline-wrap .event .event-item h3 {
        margin-bottom: 0;
    }

    .jflatTimeline .timeline-wrap .event .event-item img {
        width: 30%;
        float: left;
    }

    .jflatTimeline .timeline-wrap .event .event-item span.date {
        margin-bottom: 7px;
        display: inline-block;
    }

    .jflatTimeline .timeline-wrap .event .event-item a {
        display: inline-block;
        margin-left: 15px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .selectednews .col-1-2 {
        margin-bottom: 30px;
        min-height: 400px;
    }
    .programsearchlist .event-item a {
        display: inline-block;
        margin-left: 15px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .content .date {
        padding: 20px 0 0 13px;
    }
}

@media only screen and (max-width: 479px) {

    /* grid mod for small device */
    .grid {
        padding-left: 10px;
    }

    [class*='col-'].touch-notopmargin {
        margin-top: 0;
    }

    [class*='col-'] {
        padding-right: 0;
    }

    .topmargin40 {
        margin-top: 25px;
    }

    .logo {
        width: 80%;
        margin-left: 49px;
        display: block;
        padding-top: 45px;
    }

    .topon-mobile {
        position: absolute;
        top: -12px;
        right: 0px;
    }

    /* main header menu */
    div#menu {
        display: none;
    }

    .touchmenu {
        position: absolute;
        top: 10px;
        width: 35px;
        height: 35px;
        display: block;
    }

        .touchmenu img {
            width: 100%;
        }

    #mobnav-btn {
        display: block;
    }
    .mobnav-subarrow {
        display: block;
        background-color: #231f20;
        opacity: .3;
        border-bottom: 1px solid white;
        border-top: 1px solid black;
        height: 20px;
        width: 30px;
        background-position: top left!important;
        position: absolute;
        top: 8px;
        right: 10px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }
    .sf-menu {
        width: 100%!important;
        display: none;
    }
    .sf-menu.xactive {
        display: block!important;
    }
    .sf-menu li {
        float: none!important;
        display: block!important;
        width: 100%!important;
    }
    .sf-menu li a {
        float: none!important;
    }
    .sf-menu ul {
        position:static!important;
        display: none!important;
    }
    .xpopdrop ul {
        display: block!important;
    }

    .mobile-padding.topmargin40 {
        margin-top: 10px;
    }

    .mobile-padding .content h1 {
        margin: 15px 0 20px 0;
    }

    .buttongroup.topmargin20 {
        margin-top: 0;
    }

    .buttongroup [class*='col-'] {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* header big buttons */
    a.bigbtn {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
        padding: 5px 11px;
        font-size: 12px;
    }

    /* search form */

    .search {
        margin-top: 5px;
    }
        input.submit-search {
            top: 5px;
        }

        input.search, input.submit-search {
            border-radius: 0;
            -moz-border-radius: 0;
            -webkit-border-radius: 0;
            -webkit-appearance: none;
            padding: 5px 30px;
        }

            input.submit-search {
                height: 30px;
            }

    /* bxSlider */
    .bx-controls-direction {
        display: none;
    }

        .slidercaption {
            position:relative;
        }

        .slidercaption span.title {
            font-size: 13px;
        }

        .slidercaption span.descr {
            font-size: 10px;
        }

        .bx-wrapper .bx-pager {
            bottom: 60px;
            right: 10px;
        }

    /* programmes timeline */
    .jflatTimeline .month-year-bar {
        font-size: 14px;
    }

    .jflatTimeline .month-year-bar .prev, .jflatTimeline .month-year-bar .next {
        font-size: 18px;
    }

    .jflatTimeline .timeline-wrap .event .event-item h3 {
        margin-bottom: 0;
    }

    .jflatTimeline .timeline-wrap .event .event-item img {
        width: 100%;
        float: none;
    }

    .jflatTimeline .timeline-wrap .event .event-item span.date {
        margin-bottom: 7px;
        display: block;
    }

    .jflatTimeline .timeline-wrap .event .event-item a {
        display: block;
        margin-left: 15px;
        margin-bottom: 5px;
    }

    .content-partners {
        text-align: center;
    }

        .content-partners img {
            margin: 0 20px 30px 0;
        }

    /* news */
    .selectednews .newsitem img, .selectednews .newsitem p, .selectednews .newsitem h1 {
        margin-left: 0;
    }

    .selectednews p {
        padding-right: 0;
    }

    img.newsthumb {
        float: left;
        padding: 0 0 10px 0;
    }

    .content h1 {
        font-size: 15px;
    }

    .content .date {
        font-size: 8px;
        padding: 12px 0 0 10px;
    }

    .content p, .headline {
        font-size: 11px;
        line-height: 1.5em;
    }

    .sidebar.title h2, .selectednews.title h2d {
        font-size: 15px;
    }

    /* sidebar */
    .touch-sidebarhelper {
        border-top: 1px solid #c4c3c4;
        padding-top: 40px;
        margin-top: 40px;
    }

        .sidebar {
            padding-left: 0;
        }

    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
        -moz-column-gap: 1em;
        -webkit-column-gap: 1em;
        column-gap: 1em;
        margin: 0 auto;
        width: 100%;
    }

    .hird {
        display: inline-block;
        margin: 0 0 2em;
        width: 100%;
    }

            .sidebar .bx-wrapper img {
                margin: 0 auto;
            }

    /* footer */
    .footermenu, .fotterpartnergroup, .touch-footertoppadding {
        padding-top: 20px;
    }

    footer .footermenu ul {
        float: none;
        margin-top: 20px;
    }
    footer .footermenu ul li.title {
        padding-bottom: 5px;
    }

        footer .bottomtext p {
            padding-right: 0;
        }

        footer .fotterpartnergroup a img {
            margin: 15px 20px 10px 0;
        }

}

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}