/* COMMON STYLE FOR MINISITE, PANEL AND HOMEPAGE */


/*MODAL*/

html {
    -webkit-tap-highlight-color: transparent;
}

.label-warning,
.badge-warning {
    background: #AC1111;
}

.modal {
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: fixed;
}

.modal-header .close {
    color: gray;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: transparent;
    cursor: pointer;
    position: absolute !important;
    right: 10px !important;
    top: 10px !important;
    border-radius: 0px;
    width: 25px !important;
    padding: 0 !important;
    padding-top: 2px !important;
    line-height: 25px !important;
    opacity: 1;
    margin-top: 0;
    height: 25px !important;
    font-size: 25px !important;
    font-weight: normal !important;
    font-family: Arial, sans-serif !important;
}

.modal-header .close:hover {
    color: #000;
}

.modal-header {
    background-color: #EFF1F3;
    background-position: initial initial;
    background-repeat: repeat no-repeat;
    border-radius: 0;
    padding: 9px 15px;
}

.modal-backdrop {
    background-color: #000 !important;
}

.modal-backdrop-alert {
    z-index: 9999;
}

.modal-alert {
    z-index: 99999;
}

.modal-header h3 {
    font-weight: 400;
    color: #000;
    line-height: auto;
    font-size: 19px;
}

.modal-footer {
    background: transparent !important;
}

.modal.fade {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}


/* ----- KONIEC ----- */

.modalCalendar .modal-body {}

.modalCalendar .modal-body p {
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
    padding-top: 8px;
}

.modalCalendar .modal-body img {
    margin-right: 10px !important;
}

.modalCalendar .modal-body a {
    color: #333333;
}


/* VALIDATION ENGINE */

.formError {
    opacity: 1 !important;
}

.formError .formErrorContent {
    background: #fff !important;
    color: #000 !important;
    font-family: Arial, sans-serif !important;
    border: 1px solid #ee0101 !important;
    border-radius: 2px !important;
    -moz-border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
}

.formError .formErrorArrow {
    margin-top: -1px !important;
}

.formError .formErrorArrow div {
    border-left: 1px solid #ee0101 !important;
    border-right: 1px solid #ee0101 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
    background: #fff !important;
}


/*-----------COMMON-HEADER-------*/

.outerContainer {
    margin-top: 56px;
}

.bodyLogowanie .outerContainer,
.minisitePage .outerContainer {
    margin-top: 0;
}


.minisitePage div#eventHeader .span8 {
    margin-left: 0;
}


#header {
    height: 55px;
    background: #fff;
    left: 0;
    top: 0;
    width: 100%;
    position: fixed;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid #D4D7D0;
    font-family: 'Lato';
    line-height: 18px;
    color: #696969;
}

#header .container {
    width: 100%;
    height: 100%;
    padding-left: 0;
    padding-right: 0;
}

#header .row-fluid {
    height: 100%;
}

#header .login_reg {
    display: none;
}

#header a.logo img {
    float: left;
    margin-top: 12px;
    margin-left: 15px;
    max-width: 90px;
    width: 100%;
}

#header .searchAndBrowse {
    display: inline-block;
}

#header #searchTop,
#header #browseTop {
    display: inline-block;
    vertical-align: middle;
    line-height: 100%;
    margin-left: 20px;
}

#header #browseTop .dropdown-toggle .caret {
    margin-top: 0;
    position: relative;
    top: 24px;
    border-top-color: #5A5A5A;
    border-bottom-color: #5A5A5A;
}

#header #browseTop li.dropdown li a:hover {
    background: #F3F3F3;
    color: inherit;
}

#header #browseTop li.dropdown li a {
    color: #636363;
    white-space: nowrap;
    text-transform: uppercase;
    padding: 8px 12px;
    text-transform: uppercase;
    font-size: 11px;
    margin: 0;
}

#header #browseTop .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
}

#header #searchTop .input-append {
    position: relative;
}

#header #searchTop form {
    margin: 0;
}

#header #searchTop .topSearchEventButton i.icon-search {
    margin-top: 0;
}

#header ul.nav {
    display: inline-block;
    margin-bottom: 0;
    height: 100%;
    vertical-align: middle;
}

#header ul.nav>li {
    display: inline-block;
    vertical-align: middle;
}

#header ul.nav>li>a:hover {
    background: #efefef;
}

#header ul.nav>li>a {
    display: block;
    padding: 0 15px;
    line-height: 54px;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin: 0;
}

#header .input-append,
#header .input-prepend {
    margin-bottom: 0;
}


/*PANEL */

#header .selectChooseEvent {
    margin-top: -6px !important;
    display: inline-block;
    vertical-align: top;
}

#header .select2-container .select2-choice {
    height: 20px!important;
    padding: 7px 15px 10px 15px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

#header .select2-container .select2-choice div b {
    margin-top: 6px !important;
}

.select2-drop {
    padding-top: 8px !important;
}

#header .btn-register-top,
#header .btn-login-top {
    float: right;
}

#header ul.nav li.nav-createevent {
    vertical-align: top;
    margin-right: 15px;
}

#header ul.nav li.nav-createevent a {
    color: #fff;
    font-weight: normal;
    background: #9EBD00;
    line-height: 34px;
    margin-top: 10px;
    border-radius: 8px;
    margin-left: 10px;
    margin-right: 10px;
}

#header ul.nav li.nav-createevent a span.plus {
    font-size: 23px;
    vertical-align: middle;
    margin-right: 4px;
    top: -2px;
    position: relative;
    display: none;
}

#header ul.nav>li.nav-myprofile {
    height: 100%;
    border-left: 1px solid #D4D7D0;
    padding-right: 20px;
    padding-left: 15px;
    transform-style: preserve-3d;
    display: none;
    border-bottom: 1px solid transparent;
}

#header.loggedIn .nav-login,
#header.loggedIn .nav-signup {
    display: none;
}

#header.loggedIn ul.nav>li.nav-myprofile {
    display: inline-block;
}

#header ul.nav>li.nav-myprofile:hover {
    cursor: pointer;
    border-bottom: 1px solid #fff;
}

#header .myProfileSpan {
    display: inline-block;
    width: 100%;
    float: none;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#header .profileContent {
    visibility: hidden;
    transition: 0.2s 0.2s;
    /* delay of 1 seconds on hover off */
    z-index: 2;
    position: absolute;
    padding: 30px 28px 40px;
    height: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 1px solid #fff;
    top: 43px;
    right: -20px;
    width: 720px;
}

#header li.nav-myprofile:hover .profileContent {
    transition-delay: 0s;
    /* react immediately on hover */
    visibility: visible;
    z-index: 10000;
}

#header .myImages {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#header .myImages img {
    width: 100%;
    max-width: 30px;
}

#header .myArrow {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    display: inline-block;
    background: url(../img/arrowProfile.png) no-repeat center center;
}

#header .myName {
    font-size: 12px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.profileContent ul {
    margin-left: 0;
}

.profileContent li {
    list-style: none;
}

.profileContent li.menu-header {
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.row-fluid.profileContent .span4 {
    margin: 0;
    padding: 0 5%;
    width: 33.3%;
    box-sizing: border-box;
}

.profileContent .span4:nth-child(2) {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.profileContent li:not(.menu-header) a:hover {
    color: #9EBD00;
}

.profileContent li a {
    font-size: 13px;
    color: #333;
    padding-top: 4px;
    padding-bottom: 4px;
    display: block;
    font-family: Arial, sans-serif;
}

#header .topSearchEvent {
    margin-left: 10px;
    margin-top: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: auto;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    box-shadow: none;
    padding-right: 35px;
    padding-left: 10px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#header .topSearchEventButton {
    margin-top: 0;
    margin-left: 8px;
    width: auto;
    height: 100%;
    padding: 4px 12px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 3;
}

#header .wydarzenie {
    display: none;
}

.clear-header {
    margin-bottom: 0px;
}

#content {
    margin-top: 56px;
}

.minisitePage #content {
    margin-top: 0;
}

.bgcolor.menu {
    top: 55px !important;
    height: 42px !important;
    padding: 0 !important;
}

.menu_arr {
    display: none !important;
}

.minisitePage .clear-header {
    height: 90px;
}

.clear_menu {
    height: 63px;
    clear: both;
}

.panel-section #header {
    background: #000 !important;
    height: 55px !important;
    border-bottom: none;
}

.panel-section #header form {
    display: none;
}

.panel-section #header #browseTop {
    display: none;
}

.panel-section #header .nav-createevent {
    display: none;
}

.panel-section #header .myProfile {
    margin: 0 !important;
    height: auto !important;
    border: none !important;
    padding: 0 !important;
}

.panel-section #header li.nav-myprofile:hover {
    background: #fff;
}

.panel-section .myProfile:hover .profileContent {
    margin-top: 0 !important;
}

.panel-section #header .myProfile:hover:after {
    height: 0 !important;
}

.panel-section #header li.nav-myprofile:hover .myName {
    color: #000 !important;
}

.panel-section #header ul.nav>li>a {
    line-height: 55px;
}

.panel-section #header a.logo img {
    margin-top: 12px !important;
    float: left;
    margin-left: 25px;
    width: 100% !important;
    margin-right: 30px;
}

.panel-section #main_menu {
    padding-top: 12px !important;
    margin-top: 0 !important;
    float: none;
    margin-left: 35px !important;
    display: inline-block;
}

.panel-section #main_menu li {
    margin: 0 7px;
}

.panel-section #main_menu li a {
    text-transform: none;
    font-family: arial, sans-serif;
}

.panel-section #header ul.nav>li.nav-myprofile {
    border-left: 1px solid gray;
}

.panel-section #header .profileContent {
    top: 46px !important;
}

.bodyLogowanie #searchTop {
    display: none;
}

.bodyLogowanie .myProfileSpan {
    display: none;
}

.bodyLogowanie #header .wydarzenie {
    display: none;
}

.mobile-menu {
    display: none;
}


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


/*-----------RESPONSIVE--------------*/


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

@media (max-width: 1200px) {
    .selectChooseEvent {
        width: 0px !important;
    }
    .select2-container {
        width: 300px !important;
    }
}

@media (max-width: 1024px) {
    #header .myName {
        display: none;
    }
    #header .myImages {
        margin-right: 0;
    }
    #header ul.nav li.nav-createevent {
        display: none;
    }
}

@media (max-width: 768px) {
    #header .profileContent {
        width: auto;
        padding: 0px 20px 20px 20px;
    }
    #header .profileContent li.menu-header {
        margin-top: 30px;
    }
    #header ul.nav>li.nav-myprofile {
        padding-left: 10px;
        padding-right: 10px;
    }
    #header .row-fluid.profileContent .span4 {
        border: none !important;
        padding: 0;
        width: 100%;
        text-align: left !important;
    }
    #header .profileContent ul {
        margin: 0;
    }
    #header ul.nav>li>a {
        padding: 0 7px;
    }
    #header ul.nav li.nav-createevent {
        margin-right: 5px;
    }
    .mobile-menu {
        position: fixed;
        z-index: 2000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 15px;
        overflow: hidden;
    }
    .mobile-menu.expanded {
        display: block;
    }
    .mobile-menu:before {
        content: "";
        background: #302B29;
        opacity: 0.98;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        overflow: hidden;
    }
    .mobile-menu .btn-close {
        color: #FFF;
        font-size: 20px;
        position: absolute;
        top: 5px;
        right: 0;
    }
    .mobile-menu * {
        z-index: 2000;
        position: relative;
    }
    .mobile-menu ul {
        margin: 10px 0 0 0;
        padding: 0;
    }
    .mobile-menu ul li {
        font-size: 15px;
        list-style: none;
        text-align: left;
        color: #fff;
        font-weight: 300;
        width: 50%;
        float: left;
    }
    .mobile-menu ul li.myName {
        display: block;
        padding: 20px 10px 10px 10px;
        margin-bottom: 10px;
        margin-top: 20px;
        border-top: 1px solid silver;
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-menu ul li a {
        display: block;
        padding: 10px 10px;
        color: #fff;
    }
    .mobile-menu ul li a i.fa {
        margin-right: 10px;
    }
    .mobile-menu ul li a:not(.btn):hover {
        background: transparent;
        opacity: 0.9;
    }
    body.noscroll {
        overflow: hidden;
    }
}

@media (max-width: 680px) {
    #header a.logo img {
        margin-left: 10px;
    }
    #header #search-ico-mobile,
    #header #menu-ico-mobile {
        display: inline-block !important;
        color: gray;
        font-size: 18px;
        height: 100%;
        padding-left: 15px;
        padding-right: 15px;
        float: right;
    }
    #header ul.nav {
        display: none !important;
    }
    #header .searchAndBrowse {
        background: #fff !important;
        position: absolute;
        top: 55px;
        width: 100%;
        display: none;
        padding-bottom: 15px;
        border-bottom: 1px solid #D4D7D0;
    }
    #header .searchAndBrowse.expanded {
        display: block;
    }
    #header .topSearchEventButton {
        background: #9EBD00;
    }
    #header .topSearchEventButton i.icon-search {
        display: none;
    }
    #header .topSearchEventButton span {
        display: block !important;
    }
    #header #searchTop {
        margin-left: 0px;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #header #searchTop .input-append {
        width: 100%;
    }
    #header .topSearchEvent {
        margin-left: 0;
        width: 100%;
    }
    #header #browseTop {
        display: none;
    }

    .minisitePage.homepage #eventHeader,
    .minisitePage.action-krok-2 #eventHeader {
        background: #fff;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
    }
    .minisitePage.homepage .event-logo,
    .minisitePage.action-krok-2 .event-logo {
        text-align: left;
    }
    .minisitePage.homepage .event-logo img,
    .minisitePage.action-krok-2 .event-logo img {
        margin: 10px 15px !important;
        max-width: 110px !important;
    }
    .minisitePage.homepage .left,
    .minisitePage.action-krok-2 .left {
        float: none;
        position: relative;
        text-align: left;
        width: auto !important;
        margin: 0 !important;
        padding: 15px;
    }
    .minisitePage.homepage #eventTitle,
    .minisitePage.action-krok-2 #eventTitle {
        margin: 0 !important;
        padding: 0 !important;
    }
    .minisitePage.homepage .eventDate,
    .minisitePage.action-krok-2 .eventDate {
        margin: 0 !important;
        padding: 10px 0 !important;
    }
    .minisitePage.homepage #header-see-on-map,
    .minisitePage.action-krok-2 #header-see-on-map {
        padding: 0 !important;
        margin: 0 !important;
    }
    .minisitePage .fb-like,
    .minisitePage.action-krok-2 .fb-like {
        margin: 0 !important;
    }
    .minisitePage.homepage .fb-like>span,
    .minisitePage.homepage .fb-like iframe,
    .minisitePage.action-krok-2 .fb-like>span,
    .minisitePage.action-krok-2 .fb-like iframe {
        width: 300px !important;
    }
    .minisitePage.homepage h4.boxTitle {
        display: block;
        padding: 10px 0;
    }
}

.boxInner.boxTerminy .span9 {
    text-transform: lowercase;
}


/* Footer */

.footer .span3 {
    width: 17.43589743589744%;
}

.footer .span3.li_wydarzenia {
    width: 14.435897%;
}

.footer .span3.li_rozwiazania {
    width: 22.435897%;
}

.footer .li_wydarzenia > ul > li {
    position: relative;
}

.footer .li_wydarzenia > ul > li > ul {
    display: none;
    position: absolute;
    left: 119px;
    top: 0;
    background: #313131;
    min-width: 253px;
    border: 1px solid #626262;
    padding: 0;
}

.footer .li_wydarzenia > ul > li:last-child > ul {
    top: auto;
    bottom: 0;
}

.li_wydarzenia > ul >li > ul > li,
.li_wydarzenia > ul >li > ul > li > a {
    font-size: 11px;
}

.li_wydarzenia > ul > li > ul > li:first-child > a {
    border-top: 0;
}

.li_wydarzenia > ul > li > ul > li {
    margin: 0;
}

.li_wydarzenia > ul > li > ul > li > a {
    display: block;
    border-top: 1px solid #626262;
    margin: 0;
    padding: 3px 6px;
}

.footer .li_wydarzenia > ul > li:hover > ul {
    display: block;
}

.menu_footer a,
.menu_footer li {
    font-size: 13px;
}

@media (max-width: 979px) and (min-width: 768px) {
    .footer .span3 {
        width: 30.928177% !important;
    }
    .footer .span3.li_wydarzenia{
        margin-left: 0 !important;
    }

}
@media (max-width: 767px) {
    .footer .span3,
    .footer .span3.li_wydarzenia,
    .footer .span3.li_rozwiazania {
        width: 100%;
        display: block;
        float: none;
    }
}


@media (max-width:769px){
    body.eventDirectoryPage #eventHeader{
        padding: 0 !important;
        margin: 0 !important;
    }

    #eventTitle-mobile{
        margin: 20px !important;
        padding: 0 !important;
    }

    body.eventDirectoryPage #boxMiejsceTermin,
    body.eventDirectoryPage #sidebar .organizator {
        border: 0 !important;
        padding: 20px 0 0 !important;
    }

    .boxMiejsce-mobile{
        margin: 0 !important;
        padding: 0 0 30px !important;
    }

    .minisitePage div#eventHeader .span8{
        padding: 20px !important;
    }

    .minisitePage.order-checkout div#eventHeader .span4 {
        display: none !important;
    }
}