﻿body {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    
    font-size: 1rem;
    line-height: 1.42857143;
    color: #333333;
    background-color: #fff;
}

h1, .h1, h2, .h2, h3, .h3 {
    position: relative;
    font-weight: normal;
    padding-top: 20px;
    padding-bottom: 10.5px;
    font-family: inherit;
    line-height: 1.2;
    color: inherit;
    margin: 0px;
}

    h1:before, .h1:before, h2:before, .h2:before, h3:before, .h3:before {
        content: " ";
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 70px;
        height: 4px;
        background-color: #c54700 !important;
    }

#wrapper {
    margin: 0px auto;
}

#header-logo-wrapper {
    position: relative;
}

    #header-logo-wrapper > div {
        display: table;
        width: 100%;
        height: 100%;
    }

        #header-logo-wrapper > div > * {
            display: table-cell;
            vertical-align: middle;
        }

    #header-logo-wrapper a {
        display: block;
    }

    #header-logo-wrapper img {
        max-width: 220px;
        width: 100%;
    }

body.template-login {
    /*background-color: @theme-color-main;*/
}

    body.template-login #header {
        background-color: white;
    }

    body.template-login #header-logo-wrapper {
        text-align: center;
        padding: 125px 0px 85px 0px;
    }

    body.template-login header#header img {
        margin: 0px auto;
        width: 100%;
        max-width: 250px;
    }

    body.template-login h1 {
        font-size: 38px;
        margin: 0px;
    }

    body.template-login #main{
        background: #f35800;
        background: -moz-linear-gradient(top, #f35800 0%, #c54700 100%);
        background: -webkit-linear-gradient(top, #f35800 0%, #c54700 100%);
        background: linear-gradient(to bottom, #f35800 0%, #c54700 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@theme-transition-color-start', endColorstr='@theme-transition-color-end', GradientType=0);
    }

    body.template-login label {
        color: white;
    }

    body.template-login h1 {
        /*margin-top: -4px;*/
        position: relative;
        top: 4px;
        font-size: 38px;
    }

    body.template-login footer#footer {
        padding: 0px 5% 30px;
    }

    body.template-login #main > * {
        padding-top: 70px;
        padding-bottom: 90px; /* Kvůli fixed patičce 60 + 30 */
    }

    body.template-login footer#footer.position-fixed {
        position: fixed;
        bottom: 0px;
        width: 100%;
    }

    body.template-login #quahill, body.template-login footer#footer .pull-right {
        line-height: 60px;
    }

    body.template-login #quahill {
        position: relative;
        padding-left: 46px;
        font-size: 12px;
        color: white;
        margin: 0px;
        font-weight: bold;
    }

    body.template-login footer#footer .pull-right {
        padding-left: 40px; /* pro resp. */
        font-weight: bold;
        font-size: 17px;
    }

    body.template-login #quahill img {
        height: 35px;
        position: absolute;
        top: 12px;
        left: 0px;
    }

    body.template-login #quahill strong {
        font-size: 20px;
    }


.btn-gray {
    color: white;
    background-color: #808080;
    border-color: #808080;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

b,
strong {
    font-weight: 700;
}

.form-control {
    z-index:0 !important;
    height: 41px;
    color: #333;
    line-height: 1;
    border: 1px solid #808080;
    border-radius: 3px;
    padding: 0 8px;
    display: block;
    width: 100%;
    background-color: #fff;
    background-image: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/* dialog */


.dialog,
.dialog__overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dialog {
    position: fixed;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    pointer-events: none;
}

.dialog__overlay {
    display:none;
    position: absolute;
    z-index: 4;
    background: rgba(55, 58, 71, 0.9);
    opacity: 0.9;
    -webkit-backface-visibility: hidden;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.dialog--open .dialog__overlay {
    pointer-events: auto;
    display: block;
}


.dialog__content {
    width: 50%;
    max-width: 560px;
    min-width: 290px;
    background: #fff;
    padding: 4em;
    text-align: center;
    position: relative;
    z-index: 5;
    opacity: 0;
}

.dialog--open .dialog__content {
    pointer-events: auto;
}

/* Content */
.dialog h4 {
    margin: 0;
    color: #c94e50;
    padding: 0 0 2em;
    margin: 0;
}


.sandra .dialog.dialog--open .dialog__content,
.sandra .dialog.dialog--close .dialog__content {
    -moz-animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.sandra .dialog.dialog--open .dialog__content {
    -moz-animation-name: sandra-open;
    -webkit-animation-name: sandra-open;
    animation-name: sandra-open;
}

.sandra .dialog.dialog--close .dialog__content {
    -moz-animation-name: sandra-close;
    -webkit-animation-name: sandra-close;
    animation-name: sandra-close;
}

@-moz-keyframes sandra-open {
    0% {
        opacity: 0;
        -moz-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        opacity: 1;
        -moz-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes sandra-open {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes sandra-open {
    0% {
        opacity: 0;
        -moz-transform: scale3d(1.1, 1.1, 1);
        -ms-transform: scale3d(1.1, 1.1, 1);
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        opacity: 1;
        -moz-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@-moz-keyframes sandra-close {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -moz-transform: scale3d(0.9, 0.9, 1);
        transform: scale3d(0.9, 0.9, 1);
    }
}

@-webkit-keyframes sandra-close {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale3d(0.9, 0.9, 1);
        transform: scale3d(0.9, 0.9, 1);
    }
}

@keyframes sandra-close {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -moz-transform: scale3d(0.9, 0.9, 1);
        -ms-transform: scale3d(0.9, 0.9, 1);
        -webkit-transform: scale3d(0.9, 0.9, 1);
        transform: scale3d(0.9, 0.9, 1);
    }
}

.dialog button {
    padding: 1em 2em;
    outline: none;
    font-weight: 600;
    border: none;
    color: #fff;
    background: #c94e50;
}