﻿/*
Theme Name: Capa Theme
Description: Capacenter.hu weboldalhoz
Author: GM Production kft.
Text Domain: capatheme
*/


@import url("//hello.myfonts.net/count/28de35");


@font-face {
    font-family: 'Isotope-BlackItalic';
    src: url('webfonts/28DE35_0_0.eot');
    src: url('webfonts/28DE35_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_0_0.woff') format('woff'),url('webfonts/28DE35_0_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-BookItalic';
    src: url('webfonts/28DE35_1_0.eot');
    src: url('webfonts/28DE35_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_1_0.woff') format('woff'),url('webfonts/28DE35_1_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Bold';
    src: url('webfonts/28DE35_2_0.eot');
    src: url('webfonts/28DE35_2_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_2_0.woff') format('woff'),url('webfonts/28DE35_2_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-BoldItalic';
    src: url('webfonts/28DE35_3_0.eot');
    src: url('webfonts/28DE35_3_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_3_0.woff') format('woff'),url('webfonts/28DE35_3_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Black';
    src: url('webfonts/28DE35_4_0.eot');
    src: url('webfonts/28DE35_4_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_4_0.woff') format('woff'),url('webfonts/28DE35_4_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Book';
    src: url('webfonts/28DE35_5_0.eot');
    src: url('webfonts/28DE35_5_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_5_0.woff') format('woff'),url('webfonts/28DE35_5_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-ExtraBold';
    src: url('webfonts/28DE35_6_0.eot');
    src: url('webfonts/28DE35_6_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_6_0.woff') format('woff'),url('webfonts/28DE35_6_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-ExtraBoldItalic';
    src: url('webfonts/28DE35_7_0.eot');
    src: url('webfonts/28DE35_7_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_7_0.woff') format('woff'),url('webfonts/28DE35_7_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Thin';
    src: url('webfonts/28DE35_8_0.eot');
    src: url('webfonts/28DE35_8_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_8_0.woff') format('woff'),url('webfonts/28DE35_8_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Medium';
    src: url('webfonts/28DE35_9_0.eot');
    src: url('webfonts/28DE35_9_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_9_0.woff') format('woff'),url('webfonts/28DE35_9_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-ThinItalic';
    src: url('webfonts/28DE35_A_0.eot');
    src: url('webfonts/28DE35_A_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_A_0.woff') format('woff'),url('webfonts/28DE35_A_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-MediumItalic';
    src: url('webfonts/28DE35_B_0.eot');
    src: url('webfonts/28DE35_B_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_B_0.woff') format('woff'),url('webfonts/28DE35_B_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-LightItalic';
    src: url('webfonts/28DE35_C_0.eot');
    src: url('webfonts/28DE35_C_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_C_0.woff') format('woff'),url('webfonts/28DE35_C_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-SemiBold';
    src: url('webfonts/28DE35_D_0.eot');
    src: url('webfonts/28DE35_D_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_D_0.woff') format('woff'),url('webfonts/28DE35_D_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-SemiBoldItalic';
    src: url('webfonts/28DE35_E_0.eot');
    src: url('webfonts/28DE35_E_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_E_0.woff') format('woff'),url('webfonts/28DE35_E_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-UltraLight';
    src: url('webfonts/28DE35_F_0.eot');
    src: url('webfonts/28DE35_F_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_F_0.woff') format('woff'),url('webfonts/28DE35_F_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-UltraLightItalic';
    src: url('webfonts/28DE35_10_0.eot');
    src: url('webfonts/28DE35_10_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_10_0.woff') format('woff'),url('webfonts/28DE35_10_0.ttf') format('truetype');
}


@font-face {
    font-family: 'Isotope-Light';
    src: url('webfonts/28DE35_11_0.eot');
    src: url('webfonts/28DE35_11_0.eot?#iefix') format('embedded-opentype'),url('webfonts/28DE35_11_0.woff') format('woff'),url('webfonts/28DE35_11_0.ttf') format('truetype');
}




html {
    margin: 0;
    padding: 0;
    background-color: #cccccc;
}

a {
    
    color:#32a68f;
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
    }

    section{
    display:inline;
}

body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Isotope-SemiBold;
}

img {
    border: none;
}

p {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 16px;
    padding-top: 0;
    padding-right: 20px;
    text-align: justify;
    -moz-text-align-last: left;
    -ms-text-align-last: left;
    text-align-last: left;
}



h1, h2, h3, h4, h5 {
    margin: 0;
}

h1 {
    font-weight: 200;
    text-align:left;
}


#wrapper {
    position: relative;
    z-index: 0;
    margin-right: auto;
    margin-left: auto;
    max-width: 1024px;
    width: 100%;
    height: auto;
    overflow-x:hidden;
/*    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;            youtube videokat letiltotta */
}


header {
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 30px;
    width: 100%;
    height: 130px;
    background-color: #4bfad7;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}




.logo {
    float: left;
    margin-top: 30px;
    max-width: 154px;
/*    width: 154px;
    width: 118px;*/
    height:86px;
    margin-left:18px;
}



nav {
    
    display: list-item;
    list-style-type: none;
    z-index: 4;
    float: right;
    margin-top: 100px;
    margin-bottom: 0;
    margin-right: 30px;
    padding: 2px 0;
    width: calc(100% - 240px);
    height: 25px;
    text-align: justify;
    text-decoration: none;
    font-size: 20px;
    font-family: Isotope-SemiBold;
    -moz-transition: ease-in 0.5s;
    -o-transition: ease-in 0.5s;
    -webkit-transition: ease-in 0.5s;
    transition: ease-in 0.5s;
    
}

nav li a{
    text-transform:uppercase;
    color: black;
}

.subnav a{
    text-transform:none;
     color: black;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 0;
    font-variant: normal;
    
}




    nav ul, .upper-nav ul, .sitemap ul, .lower-nav ul {
        z-index: 1;
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    /*Ezt töröld, a felső menünél ha kellenek majd*/
    .upper-nav li:nth-child(3),
    .lower-nav li:nth-child(3){
        display:none;
    }
    /*--------------------------------------*/
   


    nav li, .upper-nav li, .lower-nav li, .sitemap li {
        position: relative;
        display: inline-table;
        margin: 0;
    }

    nav li {
        height: 25px;
    }


        nav li:hover ul {
            display: block;
        }


.upper-nav, .lower-nav {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    padding: 0;
    max-width: 400px;
    max-width: 410px;
/*    width:250px;*/
    text-align: center;
    font-size: 15px;
    font-family: Isotope-SemiBold;
    background: url(images/searchicon.png) no-repeat 0px 1px;
}

    .upper-nav input, .lower-nav input {
        margin-right: 0px;
        margin-left: 10px;
        width: 130px;
        height: 18px;
        border: none;
        background-color: #a5fdeb;
        border-radius: 0;
    }

    .upper-nav input {
        margin-top: -5px;
    }



    .upper-nav li, .lower-nav li {
        padding: 0 3px;
        padding-bottom: 0;
        text-transform:uppercase;
    }

        .upper-nav li:first-child {
            padding-top: 0;
            padding-bottom: 0;
        }

        .upper-nav li:last-child, .lower-nav li:last-child {
            padding-right: 0;
        }

        .upper-nav li:nth-child(4) a, .lower-nav li:nth-child(4) a {
            color: #2d79f8;
        }

.lower-nav {
    display: none;
}

.lng {
    position: absolute;
    top: 0px;
    right: 30px;
    z-index: 1;
    padding: 2px 5px;
    background-color: black;
    color: white;
    font-size: 13px;
    font-family: Isotope-SemiBold;
    text-transform:uppercase;
}



.subnav {
    position: absolute;
    top: 28px;
    display: none;
    float: none;
    min-width: 175px;
    height: auto;
    background-color: #eeeeee;
    text-align: left;
    border: 1px solid #bbbbbb;
    border-top: none;
    z-index: 3;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}


    .subnav ul {
        margin: 0;
        padding: 15px 0;
        padding-bottom: 10px;
        list-style-type: none;
    }

    .subnav li {
        bottom: 5px;
        display: block;
        padding: 5px 0;
        padding-left: 15px;
        width: 150px;
        white-space: nowrap;
    }

        .subnav li hr {
            margin: 0;
            margin-top: 5px;
            padding: 0;
            width: 100%;
            height: 0;
            border-bottom: .1px solid #bbbbbb;
        }


        .subnav li:last-child hr {
            display: none;
        }



.subnav-kapcsolat {
    right: 0;
}

    .subnav-kapcsolat li {
        text-align: right;
    }

.subnav li:first-child {
    padding-top: 15px;
}

.subnav li:last-child {
    bottom: 5px;
}



.subnav span {
    color: black;
}

footer {
    position: relative;
    bottom: 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px 30px;
    padding-bottom: 0;
    min-height: 170px;
    max-width: 1024px;
    width: 100%;
    background-color: #444444;
    font-size: 0.9em;
    overflow: hidden;
}

    footer a {
        color: white;
        text-decoration: none;
    }


    .copyright{
        position:absolute;
        bottom:20px;
        color:#b3b4b6;
        font-size: 13px;
        left:30px;
        font-family: Arial;
    }

.sitemap {
    padding: 0;
    margin-top: 0px;
    margin-left: 0;
    max-width: 650px;
    width: calc(100% - 280px);
}


    .sitemap a {
        color: #4bfad7;
        font-size: 14px;
        font-family: Isotope-SemiBold;
    }


footer .subnav {
    float: none;
    position: relative;
    top: 10px;
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
    line-height: 10px;
    min-height: 0;
    border: none;
    background-color: #444444;
}

    footer .subnav li {
        bottom: 0;
        margin: 0;
        padding: 0;
        max-width: 100px;
        height: 15px;
        
    }

        footer .subnav li:first-child {
            padding: 0;
        }

        footer .subnav li:last-child {
            bottom: 0px;
            margin: 0;
            padding: 0;
        }

.sitemap li {
    min-width: 80px;
    text-transform:uppercase;
}
        
        /* Ezt aktiváld, hogy két hasábos legyen az alsó subnav */
    /*.sitemap li:first-child {
        width: 220px;
    }*/

.sitemap .subnav li {
    width: 110px;
}



footer .subnav li a {
    color: white;
    font-size: 11px;
    font-family: Arial;
}

/*#nav-lower ul li:last-child{
            width:240px;
            background-color:orange;
            
        }*/

.double {
    max-width: 230px;
    width: 230px;
}

    .double li {
        display: inline-block;
        float: left;
    }

        .double li:nth-child(even) {
            margin-left: 30px;
        }




.strech {
    display: inline-block;
    padding: 0;
    width: 100%;
    height: 0;
}


#social {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 185px;
    width: 111px;   /* VR2014 mot csak 3 ikon van */
}


#content {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 1024px;
    width: 100%;
    height: auto;
    background-color: #cccccc;
    color: black;
   
}




.clear {
    clear: both;
}


/*  SECTIONS  */
.news-block {
    position: relative;
    clear: both;
    padding: 0;
    left:-7.5px;
    margin-right:-20px;
   
}

/*  COLUMN SETUP  */
.A-block, .A2-block {
    display: inline-block;
    margin-left:7.5px;
    margin-right:7.5px;
    margin-bottom: 15px;
    width: calc((100% - 60px) / 3);
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 0.5s;
    -o-transition: ease-in 0.5s;
    -webkit-transition: ease-in 0.5s;
    transition: ease-in 0.5s;
    overflow:hidden;
}


.A2-block {
    width:64.5%;
      
}


aside .A-block,
aside .A2-block{
    margin-left:0;
    margin-right:0;
}




section .A2-block{
    width:100%;
    overflow:hidden;
    max-height:323px;
    margin-left:0;
    margin-right:0;
}


.aktualis .A2-block {
    width: 100%;
    margin-bottom: 30px;
    margin-left:0;
    margin-right:0;
}


/*  GROUPING  */
.group:before,
.group:after {
    display: table;
    content: "";
}

.group:after {
    clear: both;
}

/*News blocks*/

.news-text {
    color: black;
    position: absolute;
    bottom: 3px;
    left: 0;
/*    padding: 10px 10px 10px 30px;     VR 2014 */
    padding: 10px 0 10px 20px;
    width: 100%;
    max-width: 330px;
    background-color: #333333;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

    .news-text h1, .event-text h1, .kiallitas .event-text h1 {
        color: #4cfad7;
        font-size: 25px;
        padding: 0;
        font-family: Isotope-Medium;
        margin: 0;
        padding-top: 5px;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
        overflow:hidden;
/*        max-height: 58px;*/
        text-transform:uppercase;
    }

.event-text h1 {
    padding-left: 15px;
    font-size: 37px;
    margin-top: 2px;
}

.news-text h1 {
    min-height: 28px;
}


.news-text figcaption {
    padding: 0;
    margin: 0;
    color: white;
    padding-right: 16px;
    margin-top: 5px;
    font-family: Isotope-Medium;
    text-transform:uppercase;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
    
}

.event-text figcaption{
    color: black;
}


.event-text, .kiallitas .event-text {
    position: absolute;
    top: 20px;
    left: 0;
    max-width:calc(100% - 20px);
    overflow:hidden;
   
}






.event-text2 h1, .kiallitas .event-text h1 {
    margin: 0;
/*    background-color: #333333;*/
    padding: 6px 10px 6px 10px;
}
h1.greybg {background-color: #333333;}

.event-text2 h1 {
    color: #eeeeee;
/*    max-height:54px;  VR-kétsoros is látsszon!
    max-height:74px;*/
    background-color: #333333;
    opacity: 0.7;
}

.aktualis-block .event-text2 h1 {
    color: #eeeeee;
    max-height:65px;
    
}

.event-text figcaption, .kiallitas .event-text figcaption {
    padding: 5px 10px 5px 15px;
    margin: 0;
    margin-bottom:-4px;
    background-color: #4cfad7;
    font-size: 15px;
    text-align: left;
    display:inline-block;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
    text-transform:uppercase;
    max-height:25px;
     overflow:hidden;
    
}





.slide-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 10;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

.img-holder {
    width: 71%;
    position: relative;
    background-color: #bbbbbb;
}


.slide-text h1 {
    padding: 10px 30px;
    color: #eeeeee;
    background-color: #333333;
    font-family: Isotope-Medium;
    font-weight: 300;
    font-size: 50px;
    text-transform:uppercase;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

.slide-text figcaption{
    clear: both;
    padding: 5px 10px 5px 15px;
    margin: 0;
    max-width: 260px;
    max-height: 30px;
    color: black;
    background-color: #4cfad7;
    font-size: 17px;
    display: inline-block;
    text-align: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}


.news-block img {
    width: 100%;
    height: auto;
}

section .A2-block img{
    width:auto;
}

#slider.royalSlider .slide-content {
    width: 100%;
    max-width: 1024px;
    background-color: #ececec;
    overflow: hidden;
    position: relative;
    text-align: justify;
    padding: 0;
}

#slider.royalSlider img {
    width: 100%;
    margin-bottom: -5px;
    
}

#slider.royalSlider p {
    font-family: Helvetica;
    font-weight: 100;
    font-size: 14px;
    width: 29%;
    margin: 0;
    position: absolute;
    right: 0;
    padding: 0 20px;
    top: 15px;
    bottom: 15px;
    text-align: justify;
    overflow: hidden;
    color:black;
}

#slider.royalSlider p  span {
    text-align:left;
    
}


#slider.royalSlider span:first-child {
    font-weight: bold;
    font-size: 14px;
    font-variant: normal;
    text-transform: uppercase;
}

#slider.royalSlider span:last-child {
    font-weight: bold;
    font-size: 12px;
}


/*Hírek oldal*/

#content.hirek {
    background-color: white;
}

.hirek article, .aktualis .aktualis-block {
    width: 590px;
    padding: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

    .hirek article img {
        width: 100%;
        height: auto;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }


    .hirek article h1, .aktualis-block h1 {
        font-size: 62px;
        margin-top: 30px;
        margin-bottom: 15px;
        color: #777777;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }

    .hirek article h3 {
        font-family: Helvetica;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 20px;
        line-height: 20px;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }

    .hirek article p {
        font-family: Helvetica;
        font-size: 14px;
        line-height: 20px;
        margin-top: 20px;
        padding: 0;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }

    .hirek article figcaption {
        font-family: Helvetica;
        font-size: 12px;
        padding: 5px;
        color: #777777;
        display: block;
        margin-top: -4px;
        background-color: #eeeeee;
    }


.kiallitas article p {
    margin-top: 0px;
}

aside {
    width: 323px;
    float: right;
    margin-top: 60px;
}



.hirek .A-block {
    width: 100%;
}

#breadcrumbs {
    position: absolute;
    top: 10px;
    left: 30px;
    font-size: 15px;
    color: #969696;
    z-index: 1;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

    #breadcrumbs a {
        margin-right: 5px;
        color: #969696;
    }


/*Galéria*/

#gallery-1 {
    
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
}



.kiallitas .rsContainer {
    bottom: 20px;
}

aside .news-text {      /* az aside valamiért kilóg a wrapperből  VR 2014 */
    padding: 10px 10px 10px 20px;
}

.galeria .news-text {
    bottom: 0;
    width: 100%;
    margin: 0;
/*    padding: 10px 15px;       VR 2014 */
    padding: 10px 0 10px 13px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .galeria .news-text h1 {
        font-size: 24px;
        font-family: Isotope-Medium;
        color: #eeeeee;
        margin: auto;
        padding: 0;
        width: auto;
    }

.galeria .A-block {
    border: 5px solid white;
    cursor: pointer;
}

#lightbox {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    text-align: center;
}

    #lightbox:before {
        content: ' ';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

.galeria-box {
    border: 10px solid #eeeeee;
    width: calc(100% - 120px);
    max-width:800px;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #eeeeee;
    padding-bottom: 0px;
}

#gallery-2 .rsThumbsHor {
    background-color: #eeeeee;
    height: 70px;
    
}

#gallery-2 .rsGCaption {
    padding-top: 3px;
    padding-left: 0;
    text-align:center;
}

#closebox {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 22;
}


/*Kiállítás aloldal*/

.kiallitas aside {
    width: 310px;
}

    .times {
   
        min-height: 194px;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }

.info-panel {
    max-width: 310px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}


.kiallitas article h1 {
    padding-top: 0;
    margin-top: 10px;
    font-weight: 400;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

.times h1,
.admission h1 {
    
    padding: 6px 10px;
    padding-bottom:4px;
    font-size: 29px;
    color: #777777;
    background-color: #eeeeee;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}


.admission h1 {
    background-color: #cccccc;
    margin-top: 0;
}

.times span,
.admission span {
    display: block;
    margin: 10px;
    font-family: Helvetica;
    font-weight: bold;
    font-size: 15px;
    max-width: 250px;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

.admission span {
    font-weight: normal;
}

aside label,
 span label {
    font-size: 11px;
}


/*Események oldal*/

.event-block {
    width: 100%;
    border: 1px solid #4bfad7;
    padding: 15px;
    font-family: Helvetica;
    font-size: 14px;
    display: inline-table;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
    max-height: 100px;
    margin-bottom: 30px;
}

.esemenyek .event-block img {
    width: 160px;
    float: left;
    margin-right: 10px;
}


.esemenyek article {
    padding-right: 0;
}

    .esemenyek article h1 {
        display: inline-block;
        -moz-transition: ease-in 1s;
        -o-transition: ease-in 1s;
        -webkit-transition: ease-in 1s;
        transition: ease-in 1s;
    }

.esemenyek .event-block h4 {
    display: inline-block;   /* sajtószoba gyüjtőoldalon a hosszú címet a kép alá teszi, de az időpont miatt mindenképp kell */
    height: 14px;
}
.esemenyek .event-block h4 a {
    color:black;
}


.esemenyek article time {
    float: right;
    display: inline-block;
    font-weight: bold;
}



    .esemenyek article time span {
        display: block;
        text-align: right;
        color: #777777;
    }

.esemenyek article p {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: justify;
    overflow: hidden;
}



.controls {
    float: right;
    margin-top: 45px;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

/*Videeók oldal*/

.video-block, .contact .map {
    position: relative;
    padding-bottom: 63%;
    padding-top: 3%;
    margin-bottom: 25px;
    height: 0;
    overflow: hidden;
    width: 100%;
    float: left;
    border: thin solid #d0d0d0;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
}

.contact .map {
    padding-bottom: 71%;
}

.video-block:last-child {
    margin-bottom: 0px;
}

.video-block iframe, .video-block object, .video-block embed,
.contact iframe, .contact object, .contact embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
    border: none;
}

/*Elérhetőségeink oldal*/

.contact article h1 {
    margin-bottom: 5px;
    margin-top: 15px;
}

.contact article h3 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 15px;
}

.contact article address {
    margin-bottom: 15px;
    font-family: Helvetica;
    font-style: normal;
}

.contact article small {
    margin-bottom: 15px;
    font-family: Helvetica;
    font-style: normal;
}

/*Aktuális kiállítások*/


.aktualis .aktualis-block {
    width: calc(100% - 340px);
    padding: 30px 0 0 0;
}


.aktualis-block h1 {
    font-size: 50px;
    display: inline-block;
    margin: 15px 0 10px 25px;
    text-align:left;
}

.aktualis-block .event-text h1 {
    color: #4bfad7;
}

.aktualis-block .A2-block h1 {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #979797;
    padding: 8px 30px;
    font-size: 44px;
    margin: 0;
    display:block;
}



.aktualis .controls {
    margin-top: 30px;
}

.aktualis .event-text {
    top: 30px;
}

    .aktualis .event-text figcaption {
        overflow: visible;
        width: 230px;
        font-family: Isotope-SemiBold;
        padding-left: 30px;
        font-size: 17px;
        font-weight: 400;
        max-height:30px;
    }

    .aktualis .event-text2 figcaption{
        max-height:30px;
        margin:0;
    }


.aktualis aside {
    width: 310px;
}



 
.portre {
    background-color: #979797;
}

    .portre img {
        width: calc(100% - 440px);
        float: right;
    }

.aktualis .portre h1 {
    background: none;
}











.event-text3, .event-text3-2,
.kiallitas .event-text3, .kiallitas .event-text3-2,
.aktualis .event-text3, .aktualis .event-text3-2 {
    top: auto;
    bottom: 20px;
}       /* itt hátul legyen!! */

ul#nav li.top-level.last ul {
    right: 0;
}
ul#nav li.top-level.last ul li {
    text-align: right;
}
@media only screen and (max-width: 560px) {
    ul#nav li.top-level.last ul li {
        text-align: center;
    }
}



.result-block {
    width: 100%;
/*    border: 1px solid #4bfad7;*/
    background-color:#eeeeee;
    padding: 15px;
    font-family: Helvetica;
    font-size: 14px;
    display: inline-table;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: ease-in 1s;
    -o-transition: ease-in 1s;
    -webkit-transition: ease-in 1s;
    transition: ease-in 1s;
    max-height: 100px;
    margin-bottom: 30px;
}

.esemenyek .result-block p {
    margin-top:10px;
    border-top: 1px solid #4bfad7;
    padding-top:13px;
}

.esemenyek .result-block h4 {
    display: inline-block;
    height: 14px;
}
.esemenyek .result-block h4 a {
    color:black;
}

.alignright,
.hirek article img.alignright,
.news-block img.alignright {
    float:right;
    width:50%;
    margin-top:5px;
    margin-left:10px;
}
.alignleft,
.hirek article img.alignleft,
.news-block img.alignleft {
    float:left;
    width:50%;
    margin-top:5px;
    margin-right:10px;
}
figure.alignright, figure.alignleft {
    margin-top:10px;
}

.fourofour article {
    width: 100%;
    padding: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color:white;
}
.fourofour article span {
    font-size:120px;
    display:block;
    float:left;
    margin-right:50px;
}
.fourofour article h1 {
    margin-top: 20px;
    font-size: 42px;
}
.fourofour article p {
    clear:both;
    font-size:23px;
    color:#777777;
    padding-left: 5px;
}
#event-682 h1 {
    font-size:33px;
}


div.newsletter {
    background-color: #eeeeee;
}
div.newsletter p {
    padding-bottom:0;
    text-align:left;
}
div.newsletter h1 {
    color:#4cfad7;
    background-color:#777777;
}
div.newsletter form {
    padding-right:28px;
    padding-bottom:18px;
    color:#777777;
}
div.newsletter span.required {
    display:none;
}
div.newsletter input[type=text] {
    width:191px;
    margin:5px;
    border:none;
}
div.newsletter input.captcha {
    width:116px;
}
div.newsletter input[type=submit] {
    width:140px;
    color:white;
    background-color:#777777;
    border:none;
    height:28px;
    text-transform:uppercase;
    font-size:20px;
}
div.newsletter td {
    padding:0;
    margin:0;
}
div.newsletter td.left {
    padding-left:17px;
}





#event-3524 h1, #event-3815 h1 {
    font-size: 32px;
}

/* ----------------- saját slider css ---------------- */
.capaSlider {
    overflow:hidden;
}
.capaSlider .sliderContainer {
    text-align:center;
}
.capaSlider .sliderContainer img {
    max-height:100%;
    max-width:100%;
    width:auto;
    display:inline;
    vertical-align:bottom;
}
.capaSlider figure figcaption {
    font-family:Helvetica;
    font-size:12px;
    color:#777777;
    background-color:#eee;
    padding:5px 12px;
}
.capaSlider .sliderThumbs {
/*    width:100000px;*/
    height:75px;
    overflow:hidden;
    position:relative;
}
.capaSlider .sliderThumbs>div {
    width:100000px;
    position:relative;
    left:20px;
}
.capaSlider .sliderThumbs img {
    height:75px;
    width:auto;
    cursor:pointer;
    float:left;
    margin-right:8px;
}
.capaSlider .thumbsArrowRight, .capaSlider .thumbsArrowLeft {
    background-color:black;
    width:20px;
    height:100%;
    position:absolute;
    display:block;
    color:white;
    line-height:75px;
    font-size:20px;
    text-align:center;
    cursor:pointer;
}
.capaSlider .thumbsArrowLeft {
    left:0;
}
.capaSlider .thumbsArrowRight {
    right:0;
}
.capaSlider .thumbsArrowLeft:after {
    content:'\25C0';
}
.capaSlider .thumbsArrowRight:after {
    content:'\25B6';
}
