html {background: white;font-family: 'Source Sans Pro',sans-serif,calibri;}
.left {float: left;} .right {float: right;} a {text-decoration: none;} .half {width: 45%;} .pul {width: 50%; min-height: 200px;}
.max {width: 100%;}

body {overflow: scroll; margin: 0; margin: 0 ;
background-image: url(http://www.duotandem.cz/grafika/bg1.jpg), url(http://www.duotandem.cz/grafika/bg3.jpg);
background-position: left top, right top;
background-repeat: no-repeat;
}  /* #FFB54F */

    .double {columns: 2; -webkit-columns: 2; -moz-columns: 2;}
    .triple {columns: 3; -webkit-columns: 3; -moz-columns: 3;}
    .quadro {columns: 4; -webkit-columns: 4; -moz-columns: 4;}

img {border: none;}
.fbox {width: 230px;}

#wrapper {height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 960px;} 

header {margin-bottom: 20px; height: 130px; position: relative;}
#logo {vertical-align: top; position: relative; top: 40px;}

#nav {left: 120px; position: absolute; top: 117px;}
#nav ul {margin: 0;}
#nav ul li {float: left;  display: inline;}
#nav ul li a {font-variant: small-caps; font-family: pt serif; padding: 0 22px; color: #C1321B; font-weight: bold;
background-image: url('grafika/sred.png'); background-repeat: no-repeat; font-size: 18px;}
#nav ul li a:hover {background-image: url('grafika/sred2.png'); color: #A91C18;}
#nav ul li a.act {color: #206D8A; background-image: url('grafika/sblue.png');}
#nav ul li a.act:hover {background-image: url('grafika/sblue2.png'); color: navy;}

section {position: relative; min-height: 600px;}
aside {width: 230px; float: right;}
aside .info {width: 100%;margin-bottom: 15px; padding: 2px 0 3px 40px; font-size: 14px; color: white;}
aside .info span {display: block; font-size: 16px;}
aside a {text-decoration: none; color: white;}
aside a:hover {border-bottom: 1px dashed white;}

.ruby {background: url("grafika/phone.png") no-repeat scroll 10px 0 #C00000;}
.sapp {background: url("grafika/fb.png") no-repeat scroll 10px 0 #0095B8;}

article {float: left; min-height: 850px; width: 725px; position: relative;}
.down {padding-top: 35px;}

footer {margin-top: 50px; clear: both; background: gainsboro; height: 50px; border-top: 2px solid #81DBEF; outline: 3px solid #C00000;}
footer a {color: #C00000;}
footer a:hover {color: #A91C18;}

h1 {margin: 0; display: inline-block; top: 0; color: #C00000; font-size: 26px; font-family: lora;}
h1 span {display: block; float: right;  position: absolute; font-size: 22px; color: #206D8A; top: 30px;}
.first {top: 0; color: #C00000; font-size: 26px;}
.second {top: 0; color: #C00000; font-size: 33px; font-family: lora; color: #206D8A; font-weight: bold; position: absolute;}
.third {top: 66px; color: #C00000; font-size: 26px; font-family: lora; color: #206D8A; font-weight: bold; position: absolute;}

.push {padding-top: 35px;}

.second, .third {display: block;}

.c33 {width: 33%; float: left;}
img.c33 {margin-right: 10px;}

.mesta .second {font-size: 33px;}



h2 {margin: 0; display: inline-block; color: #C00000; font-size: 22px; font-family: lora; padding-top: 15px;}
h3 {margin: 0; display: inline-block; color: #206D8A; font-size: 20px; font-family: lora;}

article p {font-size: 16px; text-align: justify; margin-right: 25px;}
article p span {font-weight: bold;}

article p a {color: #C00000; border-bottom: 1px dashed #C00000;}
article p a:hover {color: blue; border-bottom: 1px solid blue;}
.pul.left p {text-align: left;}

.jcarousel-wrapper {
    margin: 20px auto;
    position: relative;
    border: 10px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 2px #999;
    -moz-box-shadow: 0 0 2px #999;
    box-shadow: 0 0 2px #999;
}


.fb-like-box {
    background: none repeat scroll 0 0 white !important;
}


#m > a {
    background: none repeat scroll 0 0 #c00000;
    color: white;
    display: block;
    font-weight: bold;
    margin: 10px;
    padding: 8px;
    position: relative;
    text-align: center;
    top: 245px;
    z-index: 1000;
}


address { width: 60%;
    float: left;
    font-size: 18px;
    font-style: unset;
    margin: 20px;
}


.conn {
    color: black;
    float: left;
    margin: 10px 0 0 20px;
    width: 60%; font-size: 18px;
}

a.conn:hover {border-bottom: 1px dashed black; width: auto;}

#formular {clear: both; padding-top: 20px; float: left;}


.hudba {
    display: block; width: 90%;
    background: #FE9E0C;     
    margin-bottom: 15px; 
}
.hudba a {
    color: white;
}

.hudba span {
    display: inline-block; color: #603E09; font-weight: bold;
    width: 35%; vertical-align: top; margin: 6px 15px;
}

.hudba a img {margin-top: 7px; vertical-align: top;}

audio {
    margin-top: 3px; width: 55%; 
}

.videowrapper {
    float: none;
    clear: both;
    width: 90%; margin-bottom: 40px;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.klin {margin-bottom: 20px;}

.bok {
    float: left;
    margin: 0 3px 0 0;
}


.portret {
    
    float: right;
    margin-right: 30px;
    width: 100px;
}

.gal {
    clear: none;
    display: table-header-group;
    float: left;
    position: absolute;
}
.gal img {width: 100%;}


.gal span {
    color: white;
    font-size: 20px;
    left: 30px;
    padding: 0 20px 10px;
    position: absolute;
    top: 100px; z-index: 2;
    width: 250px;
}

.long {height: 1400px;}

.gal span strong {
    display: block;
    position: relative;
    top: 8px;
}


.box {
    clear: both;
    display: block;
    height: 200px;
}



@media (orientation: portrait) {

        #wrapper {width: 100%; margin: 0 12px;}

        article {width: 100%; float: none;}
        aside {width: 100%; float: none;}

        h1 {font-size: 46px;}
        .first {font-size: 46px;}
        h1 span {font-size: 46px;}   

        h2 {font-size: 40px;}

        .half.left, .half.right {width: 100%; float: none;}


.mmax {width: 100%;}

.mesta .second {font-size: 60px;}
.mesta h1 {margin-top: 40px; }
.mesta h2, .mesta h3h2 {font-size: 60px; margin: 15px 0 15px ;}
.mesta .third {font-size: 60px; top: 120px    ;}




.mmax {width: 100%;}


}