/*
Theme Name: Bosio
Author: MK WEB
Author URI: https://www.bosio.fr/
Description: Site web Bosio 
*/

body {
    font-family: 'Varela Round', sans-serif; 
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    color: dargray;
	background-color: white;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    margin-top: 0px;
    margin-bottom: 20px;
    color: dargray;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

a {
    color: gray;
    text-decoration: none;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

    a:hover, a:focus {
        text-decoration: none;
        outline: none;
        opacity: 1;
        color: #6195FF;
    }

p {
	color: dargray;
}

td{
	color: dargray;
}

.main-color {
    color: #6195FF;
}

.white-text {
    color: #FFF;
}

::-moz-selection {
    background-color: #6195FF;
    color: #FFF;
}

::selection {
    background-color: #6195FF;
    color: #FFF;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none
}


/* -- section  -- */

.section {
    position: relative;
}

.md-padding {
    padding-top: 5px;
    padding-bottom: 160px;
}

.sm-padding {
    padding-top: 5px;
    padding-bottom: 20px;
}

.hd-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.xl-padding {
    padding-top: 5px;
}

/* --  background section  -- */

.bg-grey {
    background-color: #FAFAFA;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

.bg-dark {
    background-color: #1C1D21;
}

/* --  background image section  -- */

.bg-img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

    .bg-img .overlay {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        background: #1C1D21;
    }




/* --  section header  -- */

.section-header {
    position: relative;
    margin-bottom: 60px;
}

    .section-header .title {
        text-transform: capitalize;
    }

.title:after {
    content: "";
    display: block;
    height: 4px;
    width: 40px;
    background-color: #6195FF;
    margin-top: 20px;
}

.text-center .title:after {
    margin: 20px auto 0px;
}

/* --  Input  -- */

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="url"], input[type="tel"], textarea {
    height: 40px;
    width: 100%;
    border: none;
    background: #F4F4F4;
    border-bottom: 2px solid #EEE;
    color: #354052;
    padding: 0px 10px;
    opacity: 0.95;
    -webkit-transition: 0.2s border-color, 0.2s opacity;
    transition: 0.2s border-color, 0.2s opacity;
}

textarea {
    padding: 10px 10px;
    min-height: 80px;
    resize: vertical;
}

    input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="url"]:focus, input[type="tel"]:focus, textarea:focus {
        border-color: #6195FF;
        opacity: 1;
    }

/* --  Buttons  -- */

.main-btn, .white-btn, .outline-btn {
    display: inline-block;
    padding: 10px 35px;
    margin: 3px;
    border: 2px solid transparent;
    border-radius: 3px;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.main-btn {
    background: #6195FF;
    color: #FFF;
}

.white-btn {
    background: #FFF;
    color: #10161A !important;
}

.outline-btn {
    background: transparent;
    color: #6195FF !important;
    border-color: #6195FF;
}

    .main-btn:hover, .white-btn:hover, .outline-btn:hover {
        opacity: 0.8;
    }


/*------------------------------------*\
	Logo
\*------------------------------------*/

.navbar-brand {
    padding: 0;
}

    .navbar-brand .logo, .navbar-brand .logo-alt {
        max-height: 50px;
        display: block;
    }

#nav:not(.nav-transparent):not(.fixed-nav) .navbar-brand .logo-alt {
    display: none;
}

#nav.nav-transparent:not(.fixed-nav) .navbar-brand .logo {
    display: none;
}

#nav.fixed-nav .navbar-brand .logo-alt {
    display: none;
}

@media only screen and (max-width: 767px) {
    .navbar-brand{
       margin-top: 5px;
       float:right;
    }

    #nav.nav-transparent .navbar-brand .logo-alt {
        display: none !important;
    }

    #nav.nav-transparent .navbar-brand .logo {
        display: block !important;
    }
}


/*------------------------------------*\
	Navigation
\*------------------------------------*/

#nav {
    padding-top: 100px;
    -webkit-transition: 0.2s padding;
    transition: 0.2s padding;
    z-index: 999;
    /* text-transform: uppercase; */
	background-image: url("img/bg_header.jpg");
	}

    #nav.navbar {
        border: none;
        border-radius: 0;
        margin-bottom: 1px;		
        /* border-bottom: 20px #0094ff solid; */
    }

    #nav.fixed-nav {
        position: fixed;
        left: 0;
        right: 0;
        padding: 0px 0px;

    }

    #nav.nav-transparent {
        background: transparent;
    }


/* -- default nav -- */
@media only screen and (min-width: 768px) {

    .main-nav ul {
        padding: 0px 0px;
        border-top: 7px #0094ff solid;
    }

    .main-nav li {
        padding: 0px 15px;
    }

        .main-nav li a {
            font-size: 14px;
            -webkit-transition: 0.2s color;
            transition: 0.2s color;
        }

    .main-nav > li > a {
        color: white;
        padding: 10px 0px;
    }

    #nav.nav-transparent:not(.fixed-nav) .main-nav > li > a {
        color: #fff;
    }

    .main-nav > li > a:hover, .main-nav > li > a:focus, .main-nav > li.active > a {
        background: transparent;
        color: #0094ff;
    }

    .main-nav > li > a:after {
        content: "";
        display: block;
        height: 0px;
        width: 0%;
        background: url('../img/li-marker.png') center top no-repeat;
        -webkit-transition: 0.2s width;
        transition: 0.2s width;
    }

    .main-nav > li > a:hover:after, .main-nav > li.active > a:after {
        width: 100%;
    }

    /* dropdown */
    .has-dropdown {
        position: relative;
    }

        .has-dropdown > a:before {
            font-family: 'FontAwesome';
            content: "\f054";
            font-size: 6px;
            margin-left: 6px;
            float: right;
            -webkit-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
            transform: rotate(90deg);
            -webkit-transition: 0.2s transform;
            transition: 0.2s transform;
        }

    .dropdown {
        margin-top: 2px;
        position: absolute;
        right: -50%;
        top: 0;
        background-color: white;
        width: 260px;
        -webkit-box-shadow: 0px 5px 5px -5px rgba(53, 64, 82, 0.2);
        box-shadow: 0px 5px 5px -5px rgba(53, 64, 82, 0.2);
        -webkit-transform: translateY(15px) translateX(50%);
        -ms-transform: translateY(15px) translateX(50%);
        transform: translateY(15px) translateX(50%);
        opacity: 1;
        visibility: hidden;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }

    .main-nav > .has-dropdown > .dropdown {
        top: 100%;
        right: 20%;
    }

        .main-nav > .has-dropdown > .dropdown .dropdown.dropdown-left {
            right: 150%;
        }

    .dropdown li a {
        display: block;
        color: #313131;
        padding: 5px 5px;
    }

    .dropdown li:nth-child(1) a {
        line-height: 30px;
    }

    .has-dropdown:hover > .dropdown {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0px) translateX(50%);
        -ms-transform: translateY(0px) translateX(50%);
        transform: translateY(0px) translateX(50%);
    }

    .has-dropdown:hover > a:before {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    .nav-collapse {
        display: none;
    }

    .description_img {
        text-align: center;
    }
}


/* -- mobile nav -- */

@media only screen and (max-width: 767px) {
    #nav {
        padding: 0px 0px;
    }

        #nav.nav-transparent {
            background: #FFF;
        }

    .main-nav {
        position: fixed;
        left: 0;
        height: calc(100vh - 80px);
        -webkit-box-shadow: 0px 80px 0px 0px #1C1D21;
        box-shadow: 0px 80px 0px 0px #1C1D21;
        max-width: 250px;
        width: 0%;
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
        margin: 0;
        overflow-y: auto;
        background: #1C1D21;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }

    #nav.open .main-nav {
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
        width: 100%;
    }

    .main-nav li {
        border-top: 1px solid rgba(250, 250, 250, 0.1);
    }

        .main-nav li a {
            display: block;
            color: #FFF;
            -webkit-transition: 0.2s all;
            transition: 0.2s all;
        }

    .main-nav > li.active {
        border-left: 6px solid #6195FF;
    }

    .main-nav li a:hover, .main-nav li a:focus {
        background-color: #6195FF;
        color: #FFF;
        opacity: 1;
    }

    .has-dropdown > a:after {
        content: "\f054";
        font-family: 'FontAwesome';
        float: right;
        -webkit-transition: 0.2s -webkit-transform;
        transition: 0.2s -webkit-transform;
        transition: 0.2s transform;
        transition: 0.2s transform, 0.2s -webkit-transform;
    }

    .dropdown {
        opacity: 0;
        visibility: hidden;
        height: 0;
        background: rgba(250, 250, 250, 0.1);
    }

        .dropdown li a {
            padding: 6px 10px;
        }

    .has-dropdown.open-drop > a:after {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .has-dropdown.open-drop > .dropdown {
        opacity: 1;
        visibility: visible;
        height: auto;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }
}


/* -- nav btn collapse -- */

.nav-collapse {
    position: relative;
    float: left;
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-right: 5px;
    cursor: pointer;
    z-index: 99999;
}

    .nav-collapse span {
        display: block;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;
        width: 25px;
    }

        .nav-collapse span:before, .nav-collapse span:after {
            content: "";
            display: block;
        }

        .nav-collapse span, .nav-collapse span:before, .nav-collapse span:after {
            height: 4px;
            background: white;
            -webkit-transition: 0.2s all;
            transition: 0.2s all;
        }

            .nav-collapse span:before {
                -webkit-transform: translate(0%, 10px);
                -ms-transform: translate(0%, 10px);
                transform: translate(0%, 10px);
            }

            .nav-collapse span:after {
                -webkit-transform: translate(0%, -14px);
                -ms-transform: translate(0%, -14px);
                transform: translate(0%, -14px);
            }

#nav.open .nav-collapse span {
    background: transparent;
}

    #nav.open .nav-collapse span:before {
        -webkit-transform: translateY(0px) rotate(135deg);
        -ms-transform: translateY(0px) rotate(135deg);
        transform: translateY(0px) rotate(135deg);
    }

    #nav.open .nav-collapse span:after {
        -webkit-transform: translateY(-4px) rotate(-135deg);
        -ms-transform: translateY(-4px) rotate(-135deg);
        transform: translateY(-4px) rotate(-135deg);
    }


/*------------------------------------*\
	Header
\*------------------------------------*/

header {
    position: relative;
}

#home {
    height: 100vh;
}

    #home .home-wrapper {
        position: absolute;
        left: 0px;
        right: 0px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        text-align: center;
    }

.home-content h1 {
    text-transform: uppercase;
}

.home-content button {
    margin-top: 20px;
}

.header-wrapper h2 {
    display: inline-block;
    margin-bottom: 0px;
}

.header-wrapper .breadcrumb {
    float: right;
    background: transparent;
    margin-bottom: 0px;
    padding: 1px 0px;
}

    .header-wrapper .breadcrumb .breadcrumb-item.active {
        color: gray;
    }

.breadcrumb > li + li:before {
    color: gray;
}



/*------------------------------------*\
	Footer
\*------------------------------------*/

#footer {
    position: relative;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

    .footer-logo > a > img {
        max-height: 80px;
    }

.footer-follow {
    text-align: center;
    margin-bottom: 20px;
}

    .footer-follow li {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 13px;
    }

        .footer-follow li a {
            display: inline-block;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border-radius: 3px;
            background-color: #6195FF;
            color: #FFF;
        }

.footer-copyright p {
	border-top:1px solid #bebebe;
    text-align: center;
    font-size:12px;
	margin-top: 5px; 
	padding-top:5px;
    /* text-transform: uppercase; */
}


/*------------------------------------*\
	Responsive
\*------------------------------------*/


@media only screen and (max-width: 991px) {
}

@media only screen and (max-width: 767px) {
    .section-header h2.title {
        font-size: 31.5px;
    }

    .main-btn, .default-btn, .outline-btn, .white-btn {
        padding: 8px 22px;
        font-size: 14px;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .header-wrapper h2 {
        margin-bottom: 20px;
        text-align: center;
        display: block;
    }

    .header-wrapper .breadcrumb {
        float: none;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    #portfolio [class*='col-xs'] {
        width: 100%;
    }

    #numbers [class*='col-xs'] {
        width: 100%;
    }

    .contact-form .input:nth-child(1), .contact-form .input:nth-child(2) {
        width: 100%;
    }

    .contact-form .input:nth-child(2) {
        margin-left: 0px;
    }

    .reply-form form .input, .reply-form form .input {
        width: 100%;
    }

        .reply-form form .input:nth-child(2) {
            margin-left: 0px;
        }



    .blog-author .media .media-left {
        display: block;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .blog-author .media {
        text-align: center;
    }

        .blog-author .media .media-heading .author-social {
            margin-top: 10px;
            float: none;
        }

        .blog-author .media .media-left img {
            margin: auto;
        }

    .blog-comments .media .media {
        margin: 0px -15px;
    }
}



/*------------------------------------*\
	Owl theme
\*------------------------------------*/

/* -- dots -- */

.owl-theme .owl-dots .owl-dot span {
    border: none;
    background: #EEE;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.owl-theme .owl-dots .owl-dot:hover span {
    background: #6195FF;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #6195FF;
    width: 20px;
}

/* -- nav -- */

.owl-theme .owl-nav {
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.owl-theme:hover .owl-nav {
    opacity: 1;
}

.owl-theme .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #6195FF;
    color: #FFF;
    padding: 0px;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    line-height: 50px;
    margin: 0;
}

.owl-theme .owl-prev {
    left: 0px;
}

.owl-theme .owl-next {
    right: 0px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    opacity: 0.8;
    background: #6195FF;
}


/*------------------------------------*\
	Back to top
\*------------------------------------*/

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #3CB371;
    border-radius: 3px;
    color: #FFF;
    z-index: 9999;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    cursor: pointer;
}

    #back-to-top:after {
        content: "\f0aa";
        font-family: 'FontAwesome';
    }

    #back-to-top:hover {
        opacity: 0.8;
    }

/*------------------------------------*\
	Preloader
\*------------------------------------*/


#preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #FFF;
    z-index: 99999;
}

.preloader {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

    .preloader span {
        display: inline-block;
        background-color: #6195FF;
        width: 25px;
        height: 25px;
        -webkit-animation: 1s preload ease-in-out infinite;
        animation: preload 1s ease-in-out infinite;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        border-radius: 50%;
    }

        .preloader span:nth-child(1) {
            -webkit-animation-delay: 0s;
            animation-delay: 0s;
        }

        .preloader span:nth-child(2) {
            -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
        }

        .preloader span:nth-child(3) {
            -webkit-animation-delay: 0.15s;
            animation-delay: 0.15s;
        }

        .preloader span:nth-child(4) {
            -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
        }

@-webkit-keyframes preload {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes preload {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}


#options {
    padding: 0 0 10px 0;
}

#filters {
    position: relative;
    padding: 0;
    margin: 25px 0 0 0;
}

    #filters li {
        display: block;
        margin: 0 10px 10px 0;
        float: left;
        padding: 0;
        list-style: none;
    }

        #filters li a.selected {
            color: #fff;
            background: #0094ff;
            text-decoration: none;
        }


.hover_img {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    width: 250px; /* Set a small width */
}

    /* Add a hover effect (blue shadow) */
    .hover_img:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.hover_img_medium {
    margin-top: 5px;
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    width: 450px; /* Set a small width */
}

    /* Add a hover effect (blue shadow) */
    .hover_img_medium:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.hover_video {
    margin-top: 5px;
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    height: 300px;
}

    /* Add a hover effect (blue shadow) */
    .hover_video:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.description_img {
    color: #313131;
    font-size: small;
    padding-bottom: 10px;
}

.videos img {
    padding-top: 5px;
    width: 350px;
    height: auto;
}

a.video {
    float: left;
    position: relative;
}

    a.video span {
        width: 350px;
        height: 350px;
        position: absolute;
        background: url("../img/play.png") no-repeat;
        background-position: 50% 40%;
        background-size: 30%;
    }

@media screen and (max-width: 767px) {
    .description_img {
        float: left;
    }
}


/*------------------------------------*\
	Contact
\*------------------------------------*/

.contact {
    margin: 15px 100px;
    text-align: center;
}

    .contact i {
        font-size: 24px;
        color: white;
        margin-bottom: 20px;
    }

.contact-form {
    text-align: center;
    margin-top: 5px;
	margin-bottom: 20px;
}

    .contact-form .input {
        margin-bottom: 20px;
    }


        .contact-form .input:nth-child(1), .contact-form .input:nth-child(2) {
            width: calc(50% - 10px);
        }

        .contact-form .input:nth-child(2) {
            margin-left: 15px;
        }

		.vertical-align {
  display: flex;
  flex-direction: row;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
  display: flex;
  align-items: center;

}