/*
Theme Name: MsLocum
Theme URI: https://mslocum.pl
Author: PigmentStudio - designer Maksymilian Wiśniewski, programming support Kamil koselnik.com
Author URI: https://pigmentstudio.pl
Description: Dedykowany motyw dla firmy MsLocum.
Version: 1.0
Text Domain: mslocum
*/

@import url('https://fonts.googleapis.com/css?family=Hind:300,400,500,600,700');
@import url('css/font-awesome.min.css');

@-webkit-viewport{width:device-width}
@-moz-viewport{width:device-width}
@-ms-viewport{width:device-width}
@-o-viewport{width:device-width}
@viewport{width:device-width}

body{
    background-color: #fafafa;
    font-family: 'Hind', sans-serif;
    font-size: 16px;
}

.ms-blue{
    color: #2f578b;
}

.text-bold{
    font-weight: bold;
}

.text-light{
    font-weight: lighter;
}

.no-padding{
    padding: 0px;
}

h1{
    font-size: 47px;
}

/*  navbar */

.pre-nav{
    height: 35px;
    border-bottom: 1px solid #eaeef3;
    box-shadow: 0px 0px 1px #FFFFFF;
    line-height: 38px;
    color: #555555;
    font-size: 13px;
    margin-bottom: 10px;
}

.pre-nav .phone{
    margin-left: 10px;
    font-size: 16px;
}

.navbar-wrapper{
    height: 140px;
}

#navbar{
    margin-top: 56px;
}

.menu-padding-left{
    padding-left: 0px;
}

.menu-padding-right{
    padding-right: 0px;
}

.nav-justified > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
    text-align: center;
    padding: 0;
    height: 60px;
}

.nav-justified > li >  div  {
    width: 100%;
    height: 24px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
}

.nav > li > a:focus, .nav > li > a:hover{
    background-color: #fafafa;
}

.nav-justified > li > a:hover + div,
.nav>li>a:focus + div,
.nav-justified > .active > a:focus + div,
.nav-justified > .active > a + div,
.nav-justified > li > a:hover  + div  {
    transition: all 1s ease;
    background-image: url(img/menu_selector.png);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

@media (min-width: 768px) {
    .nav-justified {
        max-height: 52px;
    }
}

.logo{
        position: absolute;
    margin: none;
    padding: 0;
    text-align: center;
    /* left: 300px; */
    /* right: 0; */
    top: 60px;
}

/* nav mobile */

@media (max-width: 768px) {
    .nav-justified > li > a {
        z-index: 100;
    }
    .navbar-toggle .icon-bar {
        background-color: #2f578b;
    }
    .navbar-toggle {
        border-color: #2f578b;
    }
    #navbar {
        background: #FFFFFF;
        position: fixed;
        z-index: 100;
        margin-top: 0;
        top: 0;
        width: 100%;
        left: 0;
    }
    .nav>li {
        position: relative;
        display: table-cell;
        padding: 0px !important;
        width: 1%;  
    }
    .nav-justified > li > a {
        height: auto;
        padding: 10px;
    }
    .nav>li>a {
        background-color: #FFFFFF;
        transition: all .5s ease-in;
        border-top: 2px solid #FFFFFF;
    }
    .nav>li>a:focus, .nav>li>a:hover {
        background-color: #fafafa;
        transition: all .5s ease-in;
        border-top: 2px solid #2f578b;
    }
    .navbar-toggle {
        margin-right: 0px;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        height: 105px;
    }
    .logo{
        top: 48px;
    }
}

/*  carousel */

    .carousel {
      margin-bottom: 60px;
    }

    .carousel-caption {
      z-index: 10;
    }

    .carousel .item {
      background-color: #777;
    }
    
    .carousel-inner>.item>a>img, .carousel-inner>.item>img {
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
    }

    .carousel-indicators {
        left: auto;
        right: 0;
        top: -85px;
        width: auto;
    }
    
    .carousel-indicators>li{
        background-color: #6b87ab;
        border: none;
    }
    
    .carousel-indicators .active {
        background-color: #b5a377;
    }
    
    .carousel-caption {
        text-align: left;
        bottom: initial;
        right: initial;
        left: initial;
        height: 100%;
        top: 20%;
    }
    
    .carousel-caption>h1{
        font-size: 5vw;
        color: #2f578b;
    }
    
    .carousel-caption>h2{
        font-size: 2.5vw;
        color: #b5a377;
    }
    
    /*  carousel box */
    
    .corousel-box{
        height: 135px;
        background-color: red;
        margin-top: -125px;
        border: 1px solid #2f578b;
        background-color: #fafafa;
        color: #131313;
        font-size: 14px;
    }
    
     .corousel-box h4{
        font-size: 20px;
        font-weight: bold;
        color: #2f578b;
    }
    
    .corousel-box>.row>div{
        text-align: center;
        margin-top: 25px;
        height: 85px;
    }
    
    .corousel-box>.row>.divider{
        border-right: 1px solid #2f578b;
    }
    
@media (max-width: 992px) {
    .corousel-box {
        margin-top: -50px;
        border: none;
        height: auto;
    }
    .corousel-box>.row>.divider{
        border-right: none;
        border-bottom: 1px solid #2f578b;
    }
    .corousel-box>.row>div {
        height: auto;
    }
    .carousel-indicators{
        display: none;
    }
}

/* footer */

footer{
    background-color: #2f578b;
    min-height: 260px;
    color: #FFFFFF;
    text-align: center;
    font-size: 14px;
    margin-top: 60px;
}

footer .scroll-top{
    text-decoration: none;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 60px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

footer hr{
    margin-top: 0; 
    margin-bottom: 0;
}

footer .footer-content{
    padding: 20px;
    text-align: left;
    margin-top: 15px;
}

footer .footer-content a{
    text-decoration: none;
    color: #FFFFFF;
}

footer .footer-content a:hover{
    text-decoration: none;
    color: #D1EAFF;
}

footer .footer-content p:first-child{
    font-weight: bold;
}

footer .footer-content p:last-child{
    margin-top: 20px;
}

.copyright{
    background-color: #163762;
    height: 50px;
    color: #FFFFFF;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
}

.ps-logo{
    width: 44px;
    overflow: hidden;
    position: absolute;
    display: inline-block;
    margin-left: 5px;
}

.ps-logo img{
    padding-bottom: 2px;
    width: 85px;
    margin-left: 0px;
    -webkit-transition: margin .6s ease;
    -moz-transition: margin .6s ease;
    -o-transition: margin .6s ease;
    -ms-transition: margin .6s ease;
    transition: margin .6s ease;
}

.ps-logo img:hover{
    margin-left: -40px;
}

/* content layout */

.main-content{
    position: relative;
}

.container-tab {
    width: 40px;
    height: 590px;
    background-color: red;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.container-tab>[class^="bar-"]{
    height: 25%;
    width: 100%;
}

.container-tab>.bar-1{
    background-color: #e5e9ef;
}

.container-tab>.bar-2{
    background-color: #94a8c2;
}

.container-tab>.bar-3{
    background-color: #6c88ad;
}

.container-tab>.bar-4{
    background-color: #2f578b;
}

hr.small{
}

.page-title h1{
    margin-top: 80px;
}

.page-title>hr:last-of-type{
    border-color: #2f578b;
    position: relative;
    top: -21px;
    margin: auto;
    padding: 0;
    width: 12%;
    text-align: center;
}

.page-title>div{
    margin-top: 50px;
    margin-bottom: 50px;
}

/* HOME  */

div.gridbox{
    margin-top: 100px;
}

@media (max-width: 768px) {
    div.gridbox>div.row>div{
        padding-top: 30px;
    }
    div.gridbox {
        margin-top: 0px;
    }
}

div.gridbox>div:first-child>div>span{
    padding: 10px;
    color: #2f578b;
    font-size: 20px;
}

div.gridbox>div:first-child>div>i{
    top: 6px;
    position: relative;
    color: #2f578b;
}

.offert-href{
    margin-top: 100px;
    color: #2f578b;
}

.offert-href h3{
    font-size: 18px;
}

.offert-href>hr{
    margin-top: 0;
}

.offert-href>a{
    text-decoration: none;
}

.contact{
    margin-top: 80px;
}

.contact hr{
    margin-top: 0;
}

.contact-title{
    padding-top: 75px;
    color: #2f578b;
    font-size: 40px;
}

@media (max-width: 768px) {
    .contact-title{
        padding-top: 0px;
        color: #2f578b;
        font-size: 40px;
    }
    .contact-data{
        padding-top: 55px;
    }
}

.contact-data>div:last-child{
    margin-top: 25px;
}

.contact form input, .contact form textarea{
    border-radius: 0px;
}

.contact #submit{
    font-size: 20px;
    font-weight: bold;
    padding: 0;
}

.contact #submit:hover{
    text-decoration: none;
}

.contact-logo{
    position: relative;
    top: 60px;
}

.maps iframe{
    pointer-events: none;
}

/* oferta */

.offer-items>div{
    margin-top: 50px;
}

.offer-items hr{
    padding: 10px 0 10px 0;
    margin: 0;
    border-color: #2f578b;
}

.offer-items .offer-item-title{
    padding-top: 10px;
    color: #2f578b;
    font-weight: bold;
    font-size: 20px;
}

.offer-items .offer-description{
    font-size: 16px;
}

.offer-items .offer-description-aw{
    width: 100%;
    text-align: right;
    margin-top: -24px;
    font-weight: bold;
    color: #2f578b;
}

.offer-item-image{
    background-image: url(media/oferta.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 350px;
}

/* galeria */

.image-gallery{
    margin-top: 70px;
}

.image-gallery img{
    width: 100%;
}

.image-gallery .titlebox {
     color: #2f578b;
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    top: 30px;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: rgba(255, 255, 255, 0.65) none repeat scroll 0% 0%;
    transition: opacity 0.6s ease 0s;
    opacity: 0;
}

.image-gallery .titlebox:hover {
    opacity: 1;
}

.image-gallery .titlebox {
    text-align: center;
}

.image-gallery .titlebox span {
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
}

.image-gallery .titlebox p {
    padding-top: 70px;
}
.nav-justified{
width: 60% !important;
float: right !important;
}

@media only screen and (max-width: 769px){
.nav-justified{
width: 100% !important;
}
}
.bufet_top_image{
margin-bottom:60px;
}

.bufet_top_image img {
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
}
.daily_menu{
margin-bottom: -60px;
}
.daily_menu p {
margin:0;
}

.daily_menu p img{
left: 0;
    right: 0;
    margin: auto;
   width:100%;
}
@media only screen and (max-width: 1400px){
.daily_menu p {
overflow:hidden;
}
.daily_menu p img{
margin-left: 50%;
    transform: translateX(-50%);
width: unset;
}
}

@media only screen and (max-width: 665px){
.daily_menu p img{
zoom: 0.7;
}
@media only screen and (max-width: 463px){
.daily_menu p img{
zoom: 0.5;
}
}
