/*
------------------------------------------------------------------------------
Rombo CSS
©
2017
Andreas Gysin
ertdfgcvb.com

------------------------------------------------------------------------------
*/

@font-face {
    font-family: "b";
    src: url("../b.woff") format('woff');
}

html {
    color: black;
    font-size: 1em;
    line-height: 1.4;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: rgb(255,255,255);
    color: rgb(128,128,128);
    font-family: 'b';
    font-size: 19pt;
    line-height: 23pt;
    font-style: normal;
    font-variant: normal
}

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

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

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

textarea,
input,
button {
    outline: none;
}

/*font reset*/
address,
header,
section,
p,
h1, h2, h3, h4, h5, h6{
    font-size: 1em;
    line-height: inherit;
    font-weight: inherit;
    font-style: inherit;
    margin: 0;
    padding: 0;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

/* mobile (main)
--------------------------------------------------------- */
canvas{
    height:100vh;
    width:100vw;
    display:block;
    position:absolute;
    z-index: 1000;
}

.main-container{
    margin:0;
    padding:0;
    /*z-index: 2;*/
}

.main {
    margin-top: 0;
    margin-bottom: 6em;
    margin-left: 0.6em;
    margin-right: 0.6em;
    /*z-index: 2;*/
}

.campo{
    height:100vh;
    width:100vw;
    display: block;
    position: relative;
    text-align: center;

}

.campo h1{
    font-size: 1.9em;
    line-height: 1.4em;
    position: relative;
    display: inline-block;
    top: calc(50% - 0.7em);
    /*top: 48%;*/
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 0.2em 0 0.2em;
    color: rgba(148, 138, 138, 0.5);
    height:1.3em;
    z-index: 1010;
    pointer-events: none;

    /*background-color: blue;*/
}

.tab-stop{
    display: inline-block;
    width:1.8em;
}

.image-box,
.box{
    display: block;
    padding-top: 20px;
    padding-bottom: 6px;
    background-repeat: repeat-x;
    background-size: 14px auto;
}

.image-box{
    padding-bottom: 0;
}

.box {
}

.box a{
    text-decoration: none;
    /*color: rgb(99, 29, 159);*/
    color: rgba(148, 138, 138, 0.75);
}

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

.language-selector{
    /*color:inherit !important;*/
}

.image-box{
    font-size: 0;
    padding-top: 22px;
}

.image-box a {
    display: inline-block;
}

.image-box figure{
    display: inline-block;
    margin: 0;
    padding: 0;
}

.image-box img{
    display: inline-block;
    width:100%;
}

.image-box a:hover,
.image-box img:hover,
.image-box figure:hover {
    cursor: pointer;
}

.image-box .lr {
    margin-bottom: 0;
}

.c3 .image-box a {
    width: calc(33% - 8px);
}

.c3 .image-box .r2 {
    margin-left: 12px;
    margin-right: 12px;
}

.c4 .image-box a {
    width: calc(25% - 9px);
}

.c4 .image-box .r2 {
    margin-left: 12px;
    margin-right: 6px;
}

.c4 .image-box .r3 {
    margin-left: 6px;
    margin-right: 12px;
}

.c3 .image-box a {
    width: calc(33% - 8px);
}

.c3 .image-box .r2 {
    margin-left: 12px;
    margin-right: 12px;
}

.c6 .image-box a {
    width: calc(33% - 8px);
}

.c6 .image-box .r2 {
    margin-left: 12px;
    margin-right: 12px;
}



/* swipe
--------------------------------------------------------- */

.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}

/*.swipe.hidden{
    display: none !important;
    visibility: hidden;
}*/

.swipe-wrap {
    overflow: hidden;
    position: relative;
/*
    background-image: url('../img/loading.gif');
    background-position: center center;
    background-size: 160px 120px;
    background-repeat: no-repeat;
*/
}

.swipe-wrap > div {
    float: left;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: black;
}

.swipe-container{
    position: fixed;
    left:0;
    top:0;
    bottom:0;
    right:0;
}


.swipe-container .paddlenav{
    left:0;
    top:0;
    right:0;
    bottom:0;
    position: fixed;
    pointer-events: none;
    /*display: none;*/
    /*z-index: 10;*/
}

.swipe-container .paddlenav ul{
    margin:0;
    padding:0;
}

/* --- x --- */

.swipe-container .paddlenav-x-container{
    list-style: none;
    position: absolute;
    cursor: pointer;
    width: 80px;
    height: 80px;
    right:30px;
    top:30px;
    pointer-events: all !important;
}

.swipe-container .paddlenav-x{
    border: none;
    transition: 200ms all linear;
    background: transparent;
    width: 80px;
    height: 80px;
    color: white;
    opacity: 0.8;
    line-height: 80px;
}

.swipe-container .paddlenav-x span:before{
    content:"╳";
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.swipe-container .paddlenav-x-container:hover .paddlenav-x{
    opacity: 1;
}


/* --- arrows --- */

.swipe-container .paddlenav-arrow-container{
    list-style: none;
    position: absolute;
    cursor: pointer;
    width: 15%;
    height: 100%;
    pointer-events: all !important;
    display: none; /*list-item;*/
}

.swipe-container .paddlenav-arrow-container-next{
    right:0;
}

.swipe-container .paddlenav-arrow-container-previous{
    left:0;
}

.swipe-container .paddlenav-arrow-container:hover .paddlenav-arrow{
    opacity: 1;
}


.swipe-container .paddlenav-arrow{
    border: none;
    transition: 200ms all linear;
    background: transparent;
    width: 80px;
    height: 80px;
    color: white;
    opacity: 0.8;
    line-height: 80px;
    position: absolute;
    top: 50%;
    margin-top:-40px;
}

.swipe-container .paddlenav-arrow-previous{
    left:30px;
}

.swipe-container .paddlenav-arrow-next{
     right:30px;
}

.swipe-container .paddlenav-arrow-previous span:before{
    content:"←";
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
    /*content:"◁";*/
    /*content:"◄";*/
    /*content:"◀";*/
}

.swipe-container .paddlenav-arrow-next span:before{
    content:"→";
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
    /*content:"▷";*/
    /*content:"►";*/
    /*content:"▶";*/
}

/*.swipe-container .gradient-top{
    width:100%;
    height:75px;
    position: absolute;
    background-size: auto 75px;
    background-repeat: repeat-x;
    background-image: url(../img/gradient-top.png);
    z-index: 2;
}

.swipe-container .gradient-bottom{
    width:100%;
    height:75px;
    position: absolute;
    bottom:0;
    background-size: auto 75px;
    background-repeat: repeat-x;
    background-image: url(../img/gradient-bottom.png);
    z-index: 2;
}*/

/* helpers
--------------------------------------------------------- */
.hidden {
    display: none !important;
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/* medium
--------------------------------------------------------- */
@media only screen and (min-width:600px) {

    .c1, .c2, .c3, .c4, .c5, .c6 {
        flex: 1;
        order: 1;
        padding-right: 0.5em;
        padding-left: 0.5em;
    }

    .c1  { flex: 0 0 calc(100% / 6 * 1); }
    .c2  { flex: 0 0 calc(100% / 6 * 2); }
    .c3  { flex: 0 0 calc(100% / 6 * 3); }
    .c4  { flex: 0 0 calc(100% / 6 * 4); }
    .c5  { flex: 0 0 calc(100% / 6 * 5); }
    .c6  { flex: 0 0 100%;}

    .campo h1{
        font-size: 2.5em;
    }

    /* debug */

    /*
    .c3 { background-color: lightyellow; }
    .c6  { flex: 0 0 100%;  background-color: lightblue;}
    */

    .c2 p,
    .c3 p{
        -webkit-hyphens: none;
        -moz-hyphens: none;
        hyphens: none;
    }

    .flex{
        display: flex;
    }

    .tab-stop{
        width:2.5em;
    }

    .swipe-container .paddlenav-arrow-container{
        display: list-item;
    }

}

/* wide-max
--------------------------------------------------------- */
@media only screen and (min-width: 900px) {

    .main {
        margin-left: auto;
        margin-right: auto;
        /*margin-right: 5em;*/
        max-width: 800px; /* max width */
    }

    .swipe-wrap > div {
        background-size: cover;
    }

    body{
        font-size: 21pt;
        line-height: 25pt;
    }


}


/* print
--------------------------------------------------------- */

@media print {
    *,
    *:before,
    *:after {
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    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;
    }

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

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