﻿html, body, form {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background-color: #ebebeb;
    color: #404040;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

.cke_contents body, .cke_contents .mainContainer {
    background-color: white !important;
}

/*titulky*/

h1, h2 {
    font-family: 'Libre Baskerville', serif;
    text-align: center;
}

h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 300;
}

h2 {
    font-size: 37px;
    line-height: 40px;
    font-weight: 300;
}

h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 300;
}

/*odkazy*/

a {
    color: #820000;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}

    a:visited {
        color: darkred;
        text-decoration: none;
        font-weight: 500;
    }

    a:hover {
        background-color: #820000;
        color: white;
    }

    a:disabled, .disabledLink, .disabledLink:hover, a:disabled:hover {
        color: lightgray;
        cursor: not-allowed;
        text-decoration: none;
    }

.blueLink {
    color: #4285f4 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .blueLink a:visited {
        color: #4285f4 !important;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }

/*inputy*/
input[type=text], input[type=password] {
    display: inline-table;
    height: 40px;
    padding: 3px;
    border: solid 1px #dadada;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

input[type=button], input[type=submit] {
    display: inline-table;
    height: 48px;
    padding: 0 15px;
    border: none;
    background-color: #820000;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    input[type=button]:hover, input[type=submit]:hover {
        background-color: #720000;
    }

select {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    background: url(_images/selectBack.png) no-repeat right white;
    padding-right: 60px;
    padding-left: 5px;
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    select::-ms-expand {
        display: none;
    }

textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/*texty*/
p {
    margin: 7px 0;
    text-align: left;
}

.smalltext {
    font-size: 11px;
}

.normaltext {
    font-size: 14px;
}

.lightgrey {
    color: #808080;
}

.centered {
    text-align: center;
    display: inline-table;
}

.rightAligned {
    text-align: right;
}

.leftAligned {
    text-align: left;
}

.halfWidth {
    width: 50%;
}

.quarterWidth {
    width: 25%;
}


.floatLeft {
    display: inline-table;
    float: left;
}

.floatRight {
    display: inline-table;
    float: right;
}

.playname {
    font-family: 'Amiri', serif;
    font-size: 32px;
    color: #820000;
}

.workLink {
    font-size: 14px;
}

.technicalScript {
    font-size: 11px;
    color: #404040;
    display: inline-table;
    float: left;
    font-weight: 300;
}



/*hlavní container obsahu*/

.mainContainer {
    width: 100%;
    max-width: 1060px;
    min-width: 540px;
    height: auto;
    min-height: 100% !important;
    padding: 30px 0;
    margin: 0 auto;
    display: block;
    position: relative;
    top: -30px;
    border: none;
    z-index: 800;
    overflow: hidden;
}

/*poděkování - footer*/


.manyThanksCont {
    width: 100%;
    min-width: 540px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    position: relative;
    left: -20px;
    display: block;
    background-color: #404040;
    color: white;
    font-weight: 300;
    border-top: solid 4px white;
}


.thanksDiv {
    width: 80%;
    min-width: 480px;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    line-height: 22px;
    display: block;
}

    .thanksDiv span {
        font-weight: 400;
        position: absolute;
        right: 0;
    }

.redBorder {
    border: solid 1px red !important;
}

.whiteCont {
    background-color: #FFF;
    width: 93.8%;
    /*box-shadow: 0px 0px 2px #5b5b5b;*/
    border: solid 1px #bbbbbb;
    padding: 3%;
    margin: 10px 0;
}

.whiteTextBox {
    background-color: #FFF;
    width: 93.8%;
    min-width: 93.8%;
    max-width: 93.8%;
    /*box-shadow: 0px 0px 2px #5b5b5b;*/
    border: solid 1px #bbbbbb;
    padding: 3% !important;
    display: block;
    padding-right: 0px;
}

    .whiteTextBox h2 {
        margin: 10px 0;
    }

    .whiteTextBox h3 {
        margin: 5px 0 15px;
    }

.width50 {
    width: 40%;
    min-width: 40%;
    max-width: 40%;
    display: inline-table;
    height: auto;
    min-height: 350px;
    margin: 0 20px 20px 0;
    text-align: left;
}



    .width50 h2 {
        width: 100%;
    }

.centerMe {
    text-align: center;
}

.txtHid {
    visibility: hidden;
    display: none;
}

.txtVis {
    visibility: visible;
    display: inline;
}

.toggleVisibilityLink {
    font-weight: 700;
    color: #820000;
    text-decoration: underline;
    cursor: pointer;
}




/*responzivita*/
@media (max-width: 800px) {
    body {
        font-size: 1.5em !important;
        line-height: 1.6em !important;
    }

    h1 {
        font-size: 2.5em;
    }

    h2, h3 {
        margin: 5px auto;
    }

    h3 {
        font-size: 20px;
    }

    select, option {
        font-size: 1.1em;
        line-height: 1.3em;
    }


    .mainContainer {
        min-width: 560px;
        padding: 2%;
        width: 96%;
        margin: 0;
        position: relative;
        top: 0;
        padding-top: 78px;
    }


    .whiteTextBox {
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
    }

    .width50 {
        margin: 15px 0 !important;
        width: 93.8%;
        min-width: 93.8%;
        max-width: 93.8%;
        min-height: initial;
    }

        .width50 h2 {
            width: 80%;
            margin: 0 auto;
        }

    .whiteTextBox .textCol2 tr, .whiteTextBox .textCol2 td {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .thanksDiv {
        font-size: 14px;
        line-height: 20px;
        display: block;
    }

        .thanksDiv span {
            position: relative;
            float: right;
        }

    .tableStyle td {
        width: 100%;
        display: block;
    }

        .tableStyle td:first-child {
            text-align: center;
        }

            .tableStyle td:first-child img {
                width: 70%;
                height: auto;
                margin: 0 auto;
            }
}
