/*
 * MIT License
 *
 * Copyright (c) 2016 Milan Kyncl
 * http://www.kyro.cz/
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

body {
    color: #5a5a5a;
    background: #243a6a;
    margin-top: 60px;
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased !important;
}

a{
    outline:none;
}

.navbar-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

.navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-wrapper .navbar {
    height:60px;
    background: #243a6a;
    border-bottom:1px solid #2f4779;
    padding-top:10px;
}

.navbar-inverse .navbar-brand {
    padding: 2px;
}

.navbar-inverse .navbar-brand > img {
    max-height: 34px;
}

.navbar-inverse .navbar-nav {
    margin-right: 310px;
}

.navbar-inverse .navbar-nav > li{
    margin-right: 18px;
}

.navbar-inverse .navbar-nav > li > a{
    color:white;
    font-size:16px;
    padding:9px 5px;
    font-family: "Open Sans", sans-serif;
}

.navbar-inverse .navbar-nav > li > a:hover{
    border-bottom:2px solid #ec971f;
}

.navbar-inverse .navbar-nav > .active> a{
    border-bottom:2px solid #ec971f;
    background: transparent;
}

.navbar-inverse .navbar-nav > li > a > i {
    position: relative;
    top: -1px;
}

.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{
    background:transparent;
}

.navbar-wrapper .navbar .container {
    width: auto;
}

.navbar-wrapper .navbar .navbar-collapse ul{
    margin-left:20px;
}

.marketing .col-lg-4 {
    margin-bottom: 20px;
    text-align: center;
}
.marketing h2 {
    font-weight: normal;
}
.marketing .col-lg-4 p {
    margin-right: 10px;
    margin-left: 10px;
}

.featurette-divider {
    margin: 40px 0;
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .navbar-wrapper .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    .navbar-wrapper .navbar {
        padding-right: 0;
        padding-left: 0;
    }

    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 20px;
    }

}

.btn.btn-act, .btn.btn-default.large{
    background-color: #e49a19;
    border-color:#cb8000;
    color:white;
}

.btn.btn-act:focus,.btn.btn-default.large:focus{
    background-color:#cb8000;
    border-color:#b47200;
    color:white;
    box-shadow:1px 1px 1px rgba(0,0,0,0.2) inset;
}

#start-carrier {
    position: absolute;
    top: 0px;
    right: 155px;
    background: #ec971f;
    color: white;
    padding: 9px 10px;
    border: 1px solid #ec971f;
    font-size: 14px;
    text-transform: uppercase;
}

#start-carrier:hover{
    background: #ec8f11;
}

#start-login {
    position: absolute;
    top: 0px;
    right: 10px;
    border: 1px solid white;
    background: transparent;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    text-transform: uppercase;
    color: #fff;
    padding: 9px 11px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-size: 14px;
}

#start-login:hover{
    background: #fff;
    color: #243a6a;
}

@media (max-width: 960px){
    #start-carrier span,#start-login span{
        display:none;
    }
}

@media (max-width: 768px){
    #start-carrier{
        top:2px;
        padding:6px 10px;
        right: 105px;
        padding-right:15px;
    }
    #start-login{
        right: 65px;
        padding: 6px;
        padding-bottom: 7px;
        top: 2px;
    }
    .navbar-inverse .navbar-collapse{
        background: #3b5997;
        margin-top: 0px;
        margin-left: -15px;
        margin-right: -15px;
        padding:0px;
        color: white;
        border-top:0px;
    }
    .navbar-wrapper .navbar .navbar-collapse ul {
        margin:0px;
    }
    .navbar-inverse .navbar-nav li a{
        color: white;
        border-top:1px solid #AAA;
    }
    .navbar-inverse .navbar-nav li a:hover{
        background:rgba(236, 151, 31, 1);
        color:white;
        text-decoration:none;
    }
    .navbar-inverse .navbar-nav li,.navbar-inverse .navbar-nav li.active{
        margin:0px;
        padding:0px;
    }
    .navbar-inverse .navbar-nav li a,.navbar-inverse .navbar-nav li.active a{
        padding:12px;
        margin-top:0px;
        border-radius:0px;
    }
    .navbar-inverse .navbar-nav li.active a{
        font-weight:bold;
        background:rgba(236, 151, 31, 1);
        border-bottom: 0;
    }

    .navbar-inverse .navbar-toggle {
        border-color: #fff;
        margin-top: 2px;
        margin-right: 0;
    }
    .navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover {
        background: white;
        border-color: #243a6a;
    }
    .navbar-inverse .navbar-toggle:focus > span.icon-bar,.navbar-inverse .navbar-toggle:hover > span.icon-bar {
        background: #243a6a;
    }

    .carousel .login-container{
        position: absolute;
        top: 10px;
        right:20px;
        height:300px;
    }

}

footer > .top .col-md-4 {
    padding-bottom: 10px;
}

#start-modal .modal-header{
    background: #3b5997;
    color:white;
}

#start-modal .modal-header .close{
    color: #fff;
    opacity:0.9;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

#start-modal .modal-header .close:hover{
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity:0.2;
}

#start-modal .modal-content{
    border-radius:0px;
    border:0px;
}
#start-modal .modal-body ul li{
    padding-top:10px;
}

#start-modal .modal-body ul{
    margin-bottom:40px;
}


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

footer{
    width: 100%;
}

footer > .top{
    background: #345398;
    color: white;
    padding: 40px 30px;
    font-size: 15px;
}

footer ul li {
    padding-bottom: 10px;
}

footer > .top p {
    color: #eee;
    line-height: 26px;
}

footer > .top a {
    color: #ddd;
    font-weight: normal;
}

footer > .top a:hover {
    color: #fff;
    text-decoration: none;
}

footer > .bottom{
    background: #243a6a;
    padding: 20px 0;
}

footer > .bottom > p{
    padding-top: 15px;
    color: #eee;
    font-size: 12px;
    text-align: center;
}

footer > .bottom > p > a {
    color: white;
    font-weight: bold;
}

footer > .top h3{
    border-bottom: 1px solid rgba(255,255,255, 0.3);
    padding-bottom: 10px;
    font-weight:200;
}

/*      Modaly      */

.modal-content {
    min-height: 350px;
    padding: 20px 0;
}

.modal-body ul{
    margin: 20px auto;
    padding-bottom: 30px;
}

.modal-body ul > li {
    margin-bottom: 10px;
}

#login-modal .modal-dialog{
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#login-modal .modal-dialog .modal-body{
}

#login-modal .modal-dialog form{
    padding-top: 20px;
}

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

/* Back to top */

#back-to-top{
    position: fixed;
    bottom:20px;
    right:50px;
    z-index:100;
    box-shadow:1px 1px 3px rgba(0,0,0,0.4);
    background: #3b5997;
    display: none;
    cursor:pointer;
}
#back-to-top > a{
    padding:10px 12px;
    display:block;
}
#back-to-top:hover{
    background:#2f4779;
}
#back-to-top > a > i {
    color: white;
}

/* Content */

.wrapper {
    background: white;
    padding-top: 30px;
}

.container.marketing{
    padding-bottom: 30px;
    min-height: 400px;
}

/* Page switcher */

.container.marketing .row .page-switcher{
    max-width:400px;
    width:100%;
    margin:auto;
    margin-top:-10px;
    margin-bottom: 10px;
}

.container.marketing h2{
    color: #3869a1;
    font-size: 38px;
    padding-bottom: 10px;
    line-height: 1.3;
}

.container.marketing h3{
    line-height: 1.4;
    font-size: 23px;
    font-weight: 300;
}

.container.marketing > *{
}

.container.marketing .lead{
    padding-bottom: 10px;
    font-size:22px;
}

.container.marketing .sub-lead{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 20px;
}

.container.marketing .content{
    font-size: 20px;
    color: #444;
    line-height: 1.8;
    font-weight: 300;
    padding-bottom: 15px;
}

.container.marketing p {
    margin-top: 10px;
}

.container.marketing p > img {
    margin-top: 35px;
    max-width: 800px;
    width: 100%;
}

.container.marketing label{
    font-size: 16px;
    font-weight: normal;
}

.container.marketing .row .page-switcher > a{
    width: 50%;
    float:left;
    text-align:center;
    font-size:22px;
    text-transform: uppercase;
    padding:4px;
    text-decoration: none;
    color:#ec971f;
}

.container.marketing .row .page-switcher > a:nth-child(2){
    border: 2px solid #ec971f;
}

.container.marketing .row .page-switcher > a:nth-child(2):hover{
    background: #ec971f;
    color:white;
 }

.container.marketing .row .page-switcher > a:nth-child(2).active{
    background: #ec971f;
}

.container.marketing .row .page-switcher > a:first-child{
    border: 2px solid #3b5997;
    color: #3b5997;
}

.container.marketing .row .page-switcher > a:first-child:hover{
    background: #3b5997;
    color:white;
}

.container.marketing .row .page-switcher > a:first-child.active{
    background: #3b5997;
}

.container.marketing .row .page-switcher > a.active{
    color:#fff;
    cursor:pointer;
}

.container.marketing .row .page-switcher > a.active:hover, .container.marketing .row .page-switcher > a.active:focus{
    text-decoration: none;
}

.container form label span,.container span.required{
    color:#ec971f;
    font-weight:bold;
    padding-left:5px;
    font-size:20px;
    line-height:16px;
    padding-right:10px;
}
.container form label span.blue,.container span.required.blue{
    color:#2f4779;
}

/*        FAQ         */

.faq {
    margin-top: 10px;
}

.faq ul > li {
    background: rgba(59, 89, 151, 0.1);
    text-align: left;
    list-style: none;
}

.faq ul > li > h3{
    color: #333;
    font-weight: normal!important;
    width: 100%;
    padding: 18px 28px;
    cursor: pointer;
}

.faq ul > li > .response{
    display: none;
    font-size: 18px;
    color: #444;
    font-weight: 300;
    padding: 5px 30px;
    margin-top: -35px;
}

.faq ul > li > h3 > i{
    color: #3b5997;
    float: right;
    margin-top: 5px;
    -moz-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.faq ul > li.open > h3 > i{
    -ms-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}

/*      Barvy       */

.btn.inzerent{
    background: #e28f00;
    border-color: #e28f00;
}
.btn.inzerent:active,
.btn.inzerent:focus{
    background: #cb8000;
    border-color: #cb8000;
}

.btn.partner{
    background: #3b5998;
    border-color: #3b5998;
}
.btn.partner:active,
.btn.partner:focus{
    background: #2e4a88;
    border-color: #2e4a88;
}

/* */
.form-group .has-error{
    border: 1px solid #ac2925;
    color: #ac2925;
}

.input-lg{
    border: 3px solid #e1e1e1;
    border-radius: 0;
    box-shadow: none;
}


.article-list {
    margin-top: 25px;
}