/* 
    Document   : styles
    Created on : 2014.09.30., 10:55:16
    Author     : Gege <gergo@infoartnet.hu>
*/

@import url('js-ui.css');


/*----+ FONTS +-----*/

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans-regular.eot');
    src: url('../fonts/opensans-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/opensans-regular.ttf') format('truetype'),
        url('../fonts/opensans-regular.svg#OpenSans') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans-light.eot');
    src: url('../fonts/opensans-light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/opensans-light.ttf') format('truetype'),
        url('../fonts/opensans-light.svg#OpenSans') format('svg');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans-semibold.eot');
    src: url('../fonts/opensans-semibold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/opensans-semibold.ttf') format('truetype'),
        url('../fonts/opensans-semibold.svg#OpenSans') format('svg');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans-bold.eot');
    src: url('../fonts/opensans-bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/opensans-bold.ttf') format('truetype'),
        url('../fonts/opensans-bold.svg#OpenSans') format('svg');
    font-weight: 700;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: 'OpenSans';
        src: url('../fonts/opensans-regular.svg') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'OpenSans';
        src: url('../fonts/opensans-light.svg') format('svg');
        font-weight: 300;
        font-style: normal;
    }
    @font-face {
        font-family: 'OpenSans';
        src: url('../fonts/opensans-semibold.svg') format('svg');
        font-weight: 600;
        font-style: normal;
    }
    @font-face {
        font-family: 'OpenSans';
        src: url('../fonts/opensans-bold.svg') format('svg');
        font-weight: 700;
        font-style: normal;
    }
}

/*----+ CSS RESET +-----*/

html, body, form, fieldset,
h1, h2, h3, h4, h5, h6, p, pre, samp, span,
blockquote, ul, li, ol, dl, dd, dt, address, div, abbr, dfn, acronym,
table, tr, th, td,
input, select, option, textarea {
    margin: 0;
    padding: 0;
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    color: #111;
    line-height: 1.5;
}

table.video {
    width:100% !important;
}

table.video td iframe {
    width:100% !important;
}

h1, h2, h3, h4, h5, h6, p, pre, samp, span,
blockquote, /*ul, li, ol, dl,*/ dd, dt, address, abbr, dfn, acronym {
    cursor: text;
}

.clearfix:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix { display: inline-block }
*:active, object:focus, embed:focus, a { outline: none }
input::-moz-focus-inner { border: 0 }
fieldset { border: none }

input, select, option {
    font-size: 100%;
    outline-style: none;
    height: 28px;
}

input {
    padding-left: 4px;
    border: 1px solid #FFFFFF;
}

input[type="checkbox"] { height: auto; }

input[type="button"], input[type="submit"] {cursor: pointer;}
textarea { resize: none; }
.bug { border: 1px solid red; }
table tbody tr td, table tr th { padding: 2px; }

html { 
    /*overflow-x: hidden;*/
}


/*----+ DEFAULT STYLING +-----*/

body {
    background: #FFFFFF;
}

img {
    border: 0;
}

.clear {
    float: none !important;
    clear: both;
}

a {
    color: #1A74BA;
    text-decoration: none;
}

a:hover {
    color: #111;
    text-decoration: none;
}

strong{
    font-weight: 700;
}


/*----+ LAYOUT +-----*/

div#site{
    display: block;
    width: 100%;
    overflow-x: hidden;
}

div.siwi{
    position: relative;
    display: block;
    width: 960px;
    margin: 0 auto;
}

/*header*/

div#header{
    position: relative;
    display: block;
    width: 100%;
    /* min-height: 180px; */
}

div#header div#header-top{
    display: block;
    width: 100%;
    /*min-height: 90px;*/
    /*min-height: 90px;*/
    background: #206FB6;
    /*    position: absolute;
    top: 0px;
    left: 0px;*/
}

div#header div#header-top .siwi {
    position: static; 
}

div#header div#header-top h1#logo{
    text-indent: -9999px;
    height: 90px;
    width: 280px;
    float: left;
}
div#header div#header-top h1#logo > a{
    display: block;
    text-indent: -9999px;
    height: 90px;
    width: 280px;
    background: #206FB6 url(../gfx/logo-leier.png) no-repeat 50% 50%;
    background-size: 100%;
}

div#header div#header-bottom{
    display: block;
    width: 100%;
    /*min-height: 90px;*/
    background: #206FB6;
    /*    position: absolute;
        bottom: 0px;
        left: 0px;*/
}

/*mosaic*/

div#mosaic{
    position: relative;
    display: block;
    width: 100%;
}
div#mosaic > div.siwi{
    padding: 11px 0;
}


/*findus*/

div#findus-heading{
    background: #206FB6;
}
div#findus-heading > .siwi{
    padding: 20px 0;
}
div#findus-heading > .siwi .part-user .com-content h2{
    font-size: 32px;
    color: #FFF;
}

div#findus{
    position: relative;
    display: block;
    width: 100%;
    background: #c3c4c4;
    background: -moz-linear-gradient(top,  #c3c4c4 0%, #ededee 5%, #ffffff 99%, #f1eff2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c3c4c4), color-stop(5%,#ededee), color-stop(99%,#ffffff), color-stop(100%,#f1eff2));
    background: -webkit-linear-gradient(top,  #c3c4c4 0%,#ededee 5%,#ffffff 99%,#f1eff2 100%);
    background: -o-linear-gradient(top,  #c3c4c4 0%,#ededee 5%,#ffffff 99%,#f1eff2 100%);
    background: -ms-linear-gradient(top,  #c3c4c4 0%,#ededee 5%,#ffffff 99%,#f1eff2 100%);
    background: linear-gradient(to bottom,  #c3c4c4 0%,#ededee 5%,#ffffff 99%,#f1eff2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c3c4c4', endColorstr='#f1eff2',GradientType=0 );
}
div#findus > div.siwi{
    padding: 30px 0;
    height: 250px;
}

/*newsletter*/

div#newsle-su{
    position: relative;
    display: block;
    width: 100%;
    background: #206FB6;
}
div#newsle-su > div.siwi{
    padding: 20px 0;
}

/*userfull*/

div#userfull{
    position: relative;
    display: block;
    width: 100%;
}
div#userfull > div.siwi{
    padding: 10px 0;
}

/*sectors*/

div#sectors{
    position: relative;
    display: block;
    width: 100%;
    background: transparent;
    padding: 10px 0;
}

div#sectors > div.siwi{
    padding: 20px 0;
}

/*General*/

.pad {
    padding:56px 0;
}

.blue {
    background-color:#206FB6;
}

.anchor {
    visibility:hidden;
    position:relative;
    top:-10vh;
    height:0;
    overflow:hidden;
}

/*Content-after*/

div#content-after{
    position: relative;
    display: block;
    width: 100%;
    background: #F0F0F0;
}
div#content-after > div.siwi{
    /* padding: 10px 0; */
}

/*cpr*/

#cpr{
    display:block;
    height:100%;

}

/*Footer*/

div#footer {
    background: #444;
    padding: 35px 0 0;
    position: relative;
}


div#footer-bottom {
    background: #242424;
}


div#footer-bottom div#copyright,
div#footer-bottom div.copyright {
    min-height: 21px;
    line-height: 21px;
    float: left;
    margin: 10px 0;
    color: #999;
    font-size: 14px;
}

div#footer-bottom div#copyright *,
div#footer-bottom div.copyright * {
    display:inline;
    color:inherit;
    font-size:inherit;
    font-family:inherit;
}

div#footer-bottom a#infoartnet {
    position: absolute;
    top: 10px;
    right: 0;
    width: 21px;
    height: 21px;
    background: transparent url('../gfx/logo-infoartnet.png') 0 0 no-repeat;
    text-indent: -9999px;
    display: block;
}

#js-cookie-box{
    width: 100%;
    float: none;
    background: #01558B;
    padding: 9px 0px;
    z-index: 9999999;
    text-align: center;
    position: fixed;
    opacity: 0.93;
    display:none;
    top: 0;
}
#js-cookie-box p{
    color:#fff;
    font-family: Oswald;
    font-size: 15px;
    text-align: center;
}
#js-cookie-box span{
    color: #FFF;
    cursor:pointer;
    text-align: center;
    font-size: 18px;
}

#cookie-box-gomb{
    text-decoration:underline;
}
#js-cookie-box span:hover{
    color:#fff;
}

#js-cookie-box .cookie-buttons{
    text-align:center;
}



/*----+ MEDIA QUERIES +----*/

@media only screen and (min-width: 1654px){
    div.siwi{
        width: 1560px;
    }
    /*    div#header div#header-bottom {
            min-height: 70px;
        }*/
    #cpr object{ width:1123px;}
}
@media only screen and (min-width: 1324px) and (max-width: 1653px){
    div.siwi{
        width: 1260px;
    }
    #cpr object{ width:1123px;}

}
@media only screen and (min-width: 994px) and (max-width: 1323px){

    div#header div#header-top h1#logo{
        margin-top: 20px;
    }

    #cpr object{ width:960px; height:605px}

}
@media only screen and (min-width: 640px) and (max-width: 993px){
    div.siwi{
        width: 630px;
    }
    div#findus > div.siwi{
        height: auto;
    }
    #cpr object{ width:638px; height:402px}

}
@media only screen and (min-width: 480px) and (max-width: 639px){
    div.siwi{
        width: 470px;
    }
    div#findus > div.siwi{
        height: auto;
    }
    div#header div#header-top h1#logo,
    div#header div#header-top h1#logo > a{
        width:200px;
    }
    #cpr object{ width:476px; height:300px}
}
@media only screen and (min-width: 320px) and (max-width: 479px){
    div.siwi {
        width: 310px;
    }
    div#findus > div.siwi{
        height: auto;
    }
    div#header div#header-top h1#logo,
    div#header div#header-top h1#logo > a {
        width: 200px;
    }
    #cpr object{ width:319px; height:201px}
}

@media only screen and (max-width: 319px){
    div#site{
        display: none;
    }
    body{
        background: #000;
    }
}

/* Tavaszi ajánlat */
div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image{
    position:relative;
}
/*div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
    background-image: url("../gfx/tavasziajanlat.png");
    content: "";
    display:none;
    position: absolute;
    width: 100px;
    height: 100px;
    top: -6px;
    right: 50px;
    background-repeat: no-repeat;
    background-size: cover;
}  */
@media only screen and (min-width: 1654px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:100px;
    }
}
@media only screen and (min-width: 1324px) and (max-width: 1653px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:90px;
    }
}
@media only screen and (min-width: 994px) and (max-width: 1323px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:50px;
    }
}
@media only screen and (min-width: 640px) and (max-width: 993px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:40px;
        width:60px;
        height:60px;
    }
}

@media only screen and (max-width:993px) {
    
table.video,
table.video tbody,
table.video thead,
table.video tr,
table.video th,
table.video td {
    display:block;
}
}

@media only screen and (min-width: 480px) and (max-width: 639px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:-7px;
        width:80px;
        height:80px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 479px){
    div#content div.part-catview div.content-blog-list.col1 div.blog-image, div#content div.part-catview div.content-blog-list.full div.blog-image:after{
        right:-7px;
        width:60px;
        height:60px;
    }
}

/* Fancybox override */

#fancybox-wrap {
    box-sizing:content-box;
    position:fixed !important;
    width:80% !important;
    height:80% !important;
    top:50% !important;
    left:50% !important;
    transform:translateX(-50%) translateY(-50%);
    display:none;
}

#fancybox-outer {
    padding:10px;
}

#fancybox-title {
    width:calc(100% - 20px) !important;
}

.fancybox-title-over {
    left:10px !important;
    bottom:10px !important;
}

span#fancybox-title-over {
    background-image:none;
    background-color:rgba(255,255,255,0.85);
    color:#111 !important;
    text-align:center;
}

span#fancybox-title-over:empty {
    display:none;
}

div#fancybox-content div#image-details-box {
    padding:0;
}

div#fancybox-content div#image-details-box > h3 {
    text-align:center;
    background-color:rgba(0,0,0,0.6);
    padding:10px;
}

div#fancybox-content div#image-details-box > h3:empty {
    display:none;
}

#fancybox-content,
#fancybox-content > div {
    width:100% !important;
    height:100% !important;
}

#fancybox-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#fancybox-img {
    width:auto !important;
    height:auto !important;
    max-width:100%;
    max-height:100%;
}

#fancybox-content #popup-image {
    width:100% !important;
    height:100% !important;
}

#fancybox-content #popup-image > div:first-of-type {
    width:100% !important;
    height:100% !important;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    box-sizing:border-box;
    border:solid 5px #ffffff;
}

#fancybox-content #popup-image > div img {
    width:auto;
    max-height:100%;
}

@media only screen and (max-width:1323px) {
    #fancybox-wrap {
        height:64vw !important;
    }
}

/* table-wrappers */
.table-wrappers.vscroll .wrapper1{
    height: 20px;
}
.table-wrappers.vscroll .wrapper1,
.table-wrappers.vscroll .wrapper2{
    width: 100%; 
    border: none 0px var(--vilagosszurke);
    overflow-x: scroll;
    overflow-y:hidden;
}
.table-wrappers.vscroll .wrapper1 .div1{
    height:inherit;
}
.table-wrappers.vscroll .wrapper2 .div2{
}
/* table-wrappers table default view */
.table-wrappers:not(.vscroll) .wrapper2 .div2{
    display:flex;
    /* justify-content: center; */
}
.table-wrappers .wrapper2 table{
    margin-bottom:1px;
}