/**
* Template Name: Solid
* Template URL: https://templatemag.com/solid-bootstrap-business-template/
* Author: TemplateMag.com
* License: https://templatemag.com/license/
*/

/*	################################################################
	1. GENERAL STRUCTURES
################################################################# */
* {
    margin: 0;
    padding: 0px;
}

body {
    background: #ffffff;
    margin: 0;
    height: 100%;
    color: #384452;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

p {
    padding: 0;
    margin-bottom: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #384452;
    /*margin-top: 10px;*/
}

img {
    height: auto;
    max-width: 100%;
}

a {
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-transition: background-color .4s linear, color .4s linear;
    -moz-transition: background-color .4s linear, color .4s linear;
    -o-transition: background-color .4s linear, color .4s linear;
    -ms-transition: background-color .4s linear, color .4s linear;
    transition: background-color .4s linear, color .4s linear;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #01b2fe;
}

::-moz-selection {
    color: #fff;
    text-shadow: none;
    background: #2B2E31;
}

::selection {
    color: #fff;
    text-shadow: none;
    background: #2B2E31;
}

.systemImage {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto 20px;
    align-items: center
}

.systemImage img {
    width: 50%;
}

.systemImage h2 {
    text-align: center;
}

.codehub {
    border: 1px solid #000;
    padding: 2%;
    margin-top: 30px;
    overflow: hidden;
}

.codehub img {
    float: left;
    width: 10%;
    /*max-width: 35%;*/
    margin-right: 10px;
    border-radius: 5px;
}

.imgWrap {
    height: 160px;
    width: 100%;
    overflow: hidden;
    display: inline-flex;
    align-items: flex-end;

}

.imgWrap img {
    width: 100%;
    height: auto;
    display: block;
}

.casestudies {
    margin-top: 50px;
    overflow: hidden;
}

.casestudies ul > li {
    margin-bottom: 50px;
    list-style: none;
    overflow: hidden;
}

.casestudies ul > li img {
    margin-right: 30px;
    width: 300px;
}

.casestudies h5 {
    color: #000;
    font-size: 2rem;
    border-left: 5px solid #000;
    padding-left: 10px;
}

.casestudies h5 + p {
    border-top: 1px solid #000;
    padding-top: 20px;
}

.casestudies img {
    float: left;
    width: 35%;
    /*max-width: 35%;*/
    margin-right: 10px;
    border-radius: 5px;
}


.imgCenter {
    background: rgba(255, 255, 255, 0.99) url(../img/bokeh.jpg) center center /cover no-repeat;
    height: 500pxpx;
    position: relative;
    padding: 5px;
    overflow: hidden;
    margin: 30px 0;

}

.imgCenter::after {
    content: '';
    background: #e8e8e8;
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
}

.imgCenter img {
    max-width: 80%;
    margin: 30px auto;
    display: block;
    position: relative;
    z-index: 1000;
}

.centered {
    text-align: center
}

.logo {
    width: 70%;
    height: auto;
}

.confirmbox {
    border: 1px solid #ccc;
    padding: 10px 12px;
}

.font-weight-bold {
    font-weight: bold;
}

.privacy{
    margin-left: 1.3rem;
    margin-top: 30px;
}



.privacy_cont h4::before{
    content: '【';
    margin-left: -1rem
}
.privacy_cont h4::after{
    content: '】';
}

.privacy li{
    list-style-type: decimal;
    margin-bottom: 3rem;
}

/*	################################################################
	BOOTSTRAP MODIFICATIONS & TWEAKS
################################################################# */
.jumbotron{
    padding-left: 2rem!important;
    padding-right: 2rem!important;
    padding-top: 1rem;
    padding-bottom: 1.1rem;
    background: #dedede url(../img/adv.jpg) 0 0 no-repeat;
}

.navbar {
    min-height: 70px;
    padding-top: 10px;
    margin-bottom: 0px;
}

.navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    padding: 0
}

.navbar-header .navbar-brand {
    color: white;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #00b3fe;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #00b3fe;
    background-color: transparent;
}

.navbar-default {
    background-color: #d3d3d3;
    border-color: transparent;
}

.dropdown-menu {
    background: #d3d3d3;
}

.navbar-default .navbar-toggle {
    border: none;
    border-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #202b38;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.dropdown-menu > li > a {
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    color: #00b3fe;
}

.btn-theme {
    color: #fff;
    background-color: #384452;
    border-color: #384452;
    margin: 4px;
}

.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
    color: #fff;
    background-color: #00b3fe;
    border-color: #00b3fe;
}

.dmbutton:hover,
.dmbutton:active,
.dmbutton:focus {
    color: #ffffff;
    background-color: #222222;
    border-color: #ffffff;
}

.dmbutton {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #ffffff;
    color: #ffffff;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding-top: 1.025rem;
    padding-right: 2.25rem;
    letter-spacing: 0.85px;
    padding-bottom: 1.0875rem;
    padding-left: 2.25rem;
    font-size: 1.55rem;
    cursor: pointer;
    font-weight: normal;
    line-height: normal;
    margin: 0 0 1.25rem;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    -webkit-appearance: none;
    font-weight: normal !important;
}

.mtb {
    margin-top: 30px;
    margin-bottom: 80px;
}

.mb {
    margin-bottom: 60px;
}

.mb1 {
    margin-bottom: 10px;
}

.mt {
    margin-top: 60px;
}

.hline {
    border-bottom: 2px solid #384452;
}

.hline-w {
    border-bottom: 2px solid #ffffff;
    margin-bottom: 25px;
}

/*	################################################################
	SITE WRAPS
################################################################# */

#pageheader {
    padding-bottom: 0px;
    text-align: center;
    overflow: hidden;

    height: 230px;
}

#pageheader.about {
    background: #fff url(../img/t-back.jpg) 0 60% no-repeat;
    background-size: cover
}

#pageheader.ec {
    background: #fff url(../img/webshop.jpg) 0 60% no-repeat;
    background-size: cover
}

#pageheader.consul {
    background: #fff url(../img/consul.jpg) 0 40% no-repeat;
    background-size: cover
}

#pageheader.system {
    background: #fff url(../img/system.jpg) 0 50% no-repeat;
    background-size: cover
}

#pageheader.wine {
    background: #fff url(../img/wine2.jpg) 0 53% no-repeat;
    background-size: cover
}

#pageheader.privacy{
    background: #fff url(../img/privacy.jpg) 0 58% no-repeat;
    background-size: cover;
    margin: 0;
}

#pageheader.adv {
    background: #fff url(../img/adv_header.jpg) right center no-repeat;
    background-size: cover
}

/*#pageheader img{
    position: relative;
    bottom: 50vh;
}*/
#headerwrap {
    /*background-color: #00b3fe;*/
    /*min-height: 550px;*/
    max-height: 550px;
    /*padding-top: 100px;*/
    padding-bottom: 0px;
    text-align: center;
    overflow: hidden;
}

#headerwrap h3,
h5 {
    color: white;
    font-weight: 400;
}

#headerwrap h1 {
    color: white;
    margin-bottom: 25px;
}

#headerwrap .img-responsive {
    margin: 0 auto;
}

/* Services Wrap */
#serviceWrap > div {
    height: 400px;
    margin-bottom: 100px
}
#serviceWrap > div > h4{
    height: 4rem
}
html[lang="en"] #serviceWrap > div > p:first-of-type {
    height: 200px;
    margin: 0 5px;
}

#serviceWrap > div > p:first-of-type {
    height: 190px;
    margin: 0 5px;
}

#service {
    margin-top: 100px;
    margin-bottom: 80px;
}

#service i {
    color: #00b3fe;
    font-size: 60px;
    padding: 15px;
}

/* Portfolio Wrap */
#portfoliowrap {
    padding-top: 60px;
    margin-bottom: 60px;
    display: block;
    text-align: center
}

#portfoliowrap h3 {
    margin-bottom: 25px;
}

.portfolio {
    padding: 0 !important;
    margin: 0 !important;
    display: block;
}


.portfolio-item .title:before {
    border-radius: 0;
    display: none
}

.portfolio-item p {
    margin: 0px 0 30px;
}

.portfolio-item h3 {
    margin: -10px 0 10px;
    font-size: 16px;
    text-transform: uppercase;
}


.tpl6 h3 {
    color: #fff;
    margin: 0;
    padding: 40px 5px 0;
    font-size: 16px;
    text-transform: uppercase;
}

.tpl6 .dmbutton {
    display: inline-block;
    margin: 30px 5px 20px 5px;
    font-size: 13px;
}

.tpl6 .bg {
    height: 100%;
    width: 100%;
    background-color: #00b3fe;
    background-color: rgba(0, 179, 254, .9);
    text-align: center;
}

/* Testimonials Wrap */
#twrap {
    background: url(../img/t-back.jpg) no-repeat center top;
    margin-top: 0px;
    padding-top: 60px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 450px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#twrap i {
    font-size: 50px;
    color: white;
    margin-bottom: 25px;
}

#twrap p {
    color: white;
    font-size: 15px;
    line-height: 30px;
}

/* clients logo */
#cwrap {
    background: #f7f7f7;
    margin-top: 0px;
    padding-top: 80px;
    padding-bottom: 100px;
}

#cwrap h3 {
    margin-bottom: 60px;
}

/* Footer */
#footerwrap {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #384452;
}

#footerwrap p {
    color: #bfc9d3;
}

#footerwrap h4 {
    color: white;
}

#footerwrap i {
    font-size: 30px;
    color: #bfc9d3;
    padding-right: 25px;
}

#footerwrap i:hover {
    color: #00b3fe
}

/*	################################################################
	PAGE CONFIGURATIONS
################################################################# */
/* General Tweaks */


#langbar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-right: 10px;

}

#langbar button {
    padding: 5px 20px
}

/*#langbar .dropdown{
   display: flex;
    flex-direction: column; 
}*/

#langbar .dropdown-menu {
    min-width: 119px;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

#langbar .open > .dropdown-menu {
    display: flex;
    justify-content: space-between;
}

#langbar .dropdown-menu li {
    padding: 0;
    margin: 0;
    width: 100%;

}

#langbar .dropdown-menu li:first-of-type {}

#blue {
    /*background: #00b3fe;*/
    /*margin-top: 60px;
	margin-bottom: 60px;
	padding-top: 25px;
	padding-bottom: 25px;*/
}

#blue.topmargin {
    /*background: #00b3fe;*/
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#blue h3 {
    color: #00b3fe;
    margin-left: 15px;
}

.ctitle {
    color: #00b3fe;
    font-weight: 700;
    margin-bottom: 15px;
}

csmall {
    font-size: 12px;
    color: #b3b3b3;
}

csmall2 {
    font-size: 12px;
    color: #f39c12
}

.spacing {
    margin-top: 40px;
    margin-bottom: 40px;
}

.badge-theme {
    background: #00b3fe;
}

/* Contact Page */
#contactwrap {
    background: url(../img/contact.jpg) no-repeat center top;
    margin-top: -60px;
    padding-top: 0px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 400px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Blog Page */
.popular-posts {
    margin: 0px;
    padding-left: 0px;
}

.popular-posts li {
    list-style: none;
    margin-bottom: 20px;
    min-height: 70px;
}

.popular-posts li a,
.popular-posts li a:hover {
    color: #2f2f2f;
    text-decoration: none;
}

.popular-posts li img {
    float: left;
    margin-right: 20px;
}

.popular-posts li em {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #b3b3b3
}

.popular-posts p {
    line-height: normal;
    margin-bottom: auto;
}

.share i {
    padding-right: 15px;
    font-size: 18px;
}


/* Contact Form */

.contact-form input,
.contact-form textarea {
    padding: 10px 12px;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    height: auto;
}

.contact-form .form-send {
    text-align: center;
}

.contact-form .form-send button {
    background: #384452;
    border: 0;
    padding: 12px 40px;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
    font-size: 16px;
}

.contact-form .form-send button:hover {
    background: #00b3fe;
}

.contact-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
}

.contact-form .loading {
    display: none;
    color: #555;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin: 15px 0;
}

.contact-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.contact-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin: 15px 0;
}

.contact-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin: 15px 0;
}

/* Copyrights */

#copyrights {
    background: #202b38;
    padding: 20px 0;
    text-align: center;
}

#copyrights p {
    margin-bottom: 5px;
    color: #fff;
}

#copyrights a {
    color: #00b3fe;
}

.credits {
    color: #fff;
}

.avatars {
    margin-top: 50px;
}

.avatars li {
    list-style: none;
    display: flex;
}

.talk {
    margin-bottom: 40px;
}

.talk figure.talk-Limg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin: 0;

}

.avatar1 img {
    border: 3px solid #00b3fe;
}

.avatar2 img {
    border: 3px solid #009685;
}

.avatar3 img {
    border: 3px solid #fe9300;
}


/* 回り込み解除 */
.talk:after,
.talk:before {
    clear: both;
    content: "";
    display: block;
}

/* ----- 左の場合 ----- */

/* 左画像 */
.talk-Limg {
    margin-left: 4px;
    margin-top: -1px;
    float: left;
    width: 100px;
    height: 100px;

}

/* 左からの吹き出しテキスト */
.talk-Ltxt1 {
    color: #444;
    position: relative;
    margin-left: 120px;
    padding: 1.2em;
    border: 3px solid #00b3fe;
    background-color: #fff;
    border-radius: 5px;
}

.talk-Ltxt2 {
    color: #444;
    position: relative;
    margin-left: 120px;
    padding: 1.2em;
    border: 3px solid #009685;
    background-color: #fff;
    border-radius: 5px;
}

.talk-Ltxt3 {
    color: #444;
    position: relative;
    margin-left: 120px;
    padding: 1.2em;
    border: 3px solid #fe9300;
    background-color: #fff;
    border-radius: 5px;
}

/* 左の三角形を作る */
.talk-Ltxt1:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #00b3fe;
    top: 15px;
    left: -20px;
}

.talk-Ltxt2:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #009685;
    top: 15px;
    left: -20px;
}

.talk-Ltxt3:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fe9300;
    top: 15px;
    left: -20px;
}

.talk-Ltxt1:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 15px;
    left: -16px;
}

.talk-Ltxt2:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 15px;
    left: -16px;
}

.talk-Ltxt3:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 15px;
    left: -16px;
}

.avatars li p {
    font-weight: bold;
    font-size: 1.8rem;
}

@media screen and (max-width: 320px) {
    #langbar button {
        padding: 5px 10px;
    }

    #langbar .dropdown-menu {
        min-width: 99px;
    }

    .dropdown-menu > li > a {
        padding: 3px 0px;
    }

    #serviceWrap > div > p:first-of-type {
        height: 100px;
    }
    
    

    @media screen and (max-width: 767px) {
        .casestudies img {
            float: initial;
            width: 100%;
            margin-right: initial;
        }

        .imgWrap {
            height: 10vh;
        }

        .systemImage {
            flex-wrap: wrap;
        }

        .systemImage img {
            width: 80%;
        }

        .casestudies ul > li img {
            margin-right: 0px;
            width: 100%;
        }

        #langbar {
            position: absolute;
            right: 50px;
            top: 20px
        }


    }

}

@media screen and (max-width: 800px) {
    .logo {
        margin-left: 15px;
    }

    .logo img {
        width: 80%;
        padding-top: 5px;
    }

    #serviceWrap > div > p:first-of-type {
        height: 150px;
        margin: 0 20px;

    }
    html[lang="en"] #serviceWrap > div > p:first-of-type{
        height: 150px;
    }

    /*  #pageheader img{
    position: relative;
    bottom: 0%;
}  */
}
