/*!
 * Start Bootstrap - Stylish Portfolio v5.0.9 (https://startbootstrap.com/theme/stylish-portfolio)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

body,
html {
    font-family: "Pridi", serif;
    width: 100%;
    height: 100%;
}

body {
    font-family: "Mitr", sans-serif;
    background: url(../img/bg_patterin.png);
    background-repeat: repeat;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
}

.content-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
}

.content-section-heading h2 {
    font-size: 3rem;
}

.content-section-heading h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}

.map {
    height: 30rem;
}
@media (max-width: 992px) {
    .title2 {
    color: #ec3727;
    font-size: 40px !important;
    line-height: 1;
}

.title1 {
    color: #ec3727;
    font-size: 18px !important;
    padding-bottom: 5px;
}

.title {
    color: #ec3727;
    font-size: 16px !important;
    line-height: 1 !important;
}
    .map {
        height: 75%;
    }
    .card-home .card1 {
        width: 50% !important;
        left: 25% !important;
        z-index: 10;
        transform: rotateZ(0deg);
        -moz-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
        transition: all 0.5s ease-out 0.3s;
        background-color: transparent;
        border: 0px;
    }
    .card-home .card2 {
        width: 40% !important;
        left: 40% !important;
        margin-top: 10%;
        z-index: 9;
        transform: rotateZ(4deg);
        -moz-transform: rotateZ(4deg);
        -webkit-transform: rotateZ(4deg);
        transition: all 0.5s ease-out 0.4s;
        background-color: transparent;
        border: 0px;
    }
    .card-home .card3 {
        width: 30% !important;
        left: 55% !important;
        margin-top: 15%;
        z-index: 8;
        transform: rotateZ(10deg);
        -moz-transform: rotateZ(10deg);
        -webkit-transform: rotateZ(10deg);
        transition: all 0.5s ease-out 0.5s;
        background-color: transparent;
        border: 0px;
    }
    .card-home .card4 {
        width: 40% !important;
        left: 20% !important;
        margin-top: 10%;
        z-index: 9;
        transform: rotateZ(-4deg);
        -moz-transform: rotateZ(-4deg);
        -webkit-transform: rotateZ(-4deg);
        transition: all 0.5s ease-out 0.6s;
        background-color: transparent;
        border: 0px;
    }
    .card-home .card5 {
        width: 30% !important;
        left: 15% !important;
        margin-top: 15%;
        z-index: 8;
        transform: rotateZ(-10deg);
        -moz-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
        transition: all 0.5s ease-out 0.7s;
        background-color: transparent;
        border: 0px;
    }
}

.map iframe {
    pointer-events: none;
}

.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
    color: #fff;
}

.scroll-to-top:hover {
    background: #343a40;
}

.scroll-to-top i {
    font-weight: 800;
}

.masthead {
    min-height: 20rem;
    position: relative;
    display: table;
    width: 100%;
    height: 100vh;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.masthead h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}

.img-fluid1 {
    width: 100%;
}

.img-fluid2 {
    width: 100%;
}
.card-home {
    width: 100%;
    height: 100vh;
    padding-top: 10%;
}
@media (min-width: 992px) {
    .title2 {
        color: #ec3727;
        font-size: 40px !important;
        line-height: 1;
    }
    
    .title1 {
        color: #ec3727;
        font-size: 18px !important;
        padding-bottom: 5px;
    }
    
    .title {
        color: #ec3727;
        font-size: 18px !important;
        line-height: 0.8;
    }
    .card-home {
        width: 40% !important;
    }
    .card {
        width: 350px !important;
        border-radius: 20px;
        border: 0px solid;
        padding: 15px 15px 5px 15px;
        box-shadow: 5px 10px 18px #989898;
        margin: 0 auto;
    }
    .img-fluid1 {
        width: 100%;
    }

    .img-fluid2 {
        width: 50%;
    }

    .masthead {
        height: 100vh;
    }

    .masthead h1 {
        font-size: 5.5rem;
    }
    .card-home .card1 {
        width: 40% !important;
        left: 30% !important;
        margin-top: 10px;
    }
    .card-home .card2 {
        width: 30% !important;
        left: 40% !important;
        margin-top: 5% !important;
    }
    .card-home .card3 {
        width: 20% !important;
        left: 50% !important;
        margin-top: 10% !important;
    }
    .card-home .card4 {
        width: 30% !important;
        left: 30% !important;
        margin-top: 5% !important;
    }
    .card-home .card5 {
        width: 20% !important;
        left: 30% !important;
        margin-top: 10% !important;
    }
    .card-container {
        height: 78vh !important;
        margin: 0 auto;
    }
    .logo-1 {
        height: 20vh;
        margin-top: 0 !important;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .title2 {
        color: #ec3727;
        font-size: 40px !important;
        line-height: 1;
    }
    
    .title1 {
        color: #ec3727;
        font-size: 18px !important;
        padding-bottom: 5px;
    }
    
    .title {
        color: #ec3727;
        font-size: 18px !important;
        line-height: 0.8;
    }
    .logo-1 {
        height: 20vh;
        margin-top: -15% !important;
    }
    .card-home {
        width: 80% !important;
    }
    .card {
        width: 300px !important;
        border-radius: 20px;
        border: 0px solid;
        padding: 15px 15px 5px 15px;
        box-shadow: 5px 10px 18px #989898;
        margin: 0 auto;
    }
    .img-fluid1 {
        width: 100%;
    }

    .img-fluid2 {
        width: 40%;
    }

    .masthead {
        height: 100vh;
    }

    .masthead h1 {
        font-size: 5.5rem;
    }
    .card-home .card1 {
        width: 90% !important;
        left: 5% !important;
        margin-top: 80px;
    }
    .card-home .card2 {
        width: 80% !important;
        left: 15% !important;
        margin-top: 110px !important;
    }
    .card-home .card3 {
        width: 70% !important;
        left: 26% !important;
        margin-top: 120px !important;
    }
    .card-home .card4 {
        width: 80% !important;
        left: 4% !important;
        margin-top: 110px !important;
    }
    .card-home .card5 {
        width: 70% !important;
        left: 2% !important;
        margin-top: 150px !important;
    }
    .card-container {
        height: 62vh !important;
        margin: 0 auto;
    }
}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) {
    .title2 {
        color: #ec3727;
        font-size: 40px !important;
        line-height: 1;
    }
    
    .title1 {
        color: #ec3727;
        font-size: 18px !important;
        padding-bottom: 5px;
    }
    
    .title {
        color: #ec3727;
        font-size: 18px !important;
        line-height: 0.8;
    }
    .logo-1 {
        height: 20vh;
        margin-top: -15% !important;
    }
    .card-home {
        width: 80% !important;
    }
    .card {
        width: 300px !important;
        border-radius: 20px;
        border: 0px solid;
        padding: 15px 15px 5px 15px;
        box-shadow: 5px 10px 18px #989898;
        margin: 0 auto;
    }
    .img-fluid1 {
        width: 100%;
    }

    .img-fluid2 {
        width: 40%;
    }

    .masthead {
        height: 100vh;
    }

    .masthead h1 {
        font-size: 5.5rem;
    }
    .card-home .card1 {
        width: 90% !important;
        left: 5% !important;
        margin-top: 70px;
    }
    .card-home .card2 {
        width: 80% !important;
        left: 15% !important;
        margin-top: 90px !important;
    }
    .card-home .card3 {
        width: 70% !important;
        left: 26% !important;
        margin-top: 110px !important;
    }
    .card-home .card4 {
        width: 80% !important;
        left: 4% !important;
        margin-top: 90px !important;
    }
    .card-home .card5 {
        width: 70% !important;
        left: 2% !important;
        margin-top: 110px !important;
    }
    .card-container {
        height: 58vh !important;
        margin: 0 auto;
    }
}
@media (min-width: 1024px) {
    .title2 {
        color: #ec3727;
        font-size: 40px !important;
        line-height: 1;
    }
    
    .title1 {
        color: #ec3727;
        font-size: 18px !important;
        padding-bottom: 5px;
    }
    
    .title {
        color: #ec3727;
        font-size: 18px !important;
        line-height: 0.8;
    }
    .card-home {
        width: 40% !important;
        height: 100vh;
        padding-top: 2% !important;
    }
    .card {
        width: 350px !important;
        border-radius: 20px;
        border: 0px solid;
        padding: 15px 15px 5px 15px;
        box-shadow: 5px 10px 18px #989898;
        margin: 0 auto;
    }
    .img-fluid1 {
        width: 80%;
    }

    .img-fluid2 {
        width: 50%;
    }

    .masthead {
        height: 100vh;
    }

    .masthead h1 {
        font-size: 5.5rem;
    }
    .card-home .card1 {
        width: 37% !important;
        left: 32% !important;
        margin-top: 10px;
    }
    .card-home .card2 {
        width: 33% !important;
        left: 38% !important;
        margin-top: 25px!important;
    }
    .card-home .card3 {
        width: 28% !important;
        left: 44% !important;
        margin-top: 65px!important;
    }
    .card-home .card4 {
        width: 33% !important;
        left: 30% !important;
        margin-top: 25px!important;
    }
    .card-home .card5 {
        width: 28% !important;
        left: 29% !important;
        margin-top: 65px!important;
    }
    .card-container {
        height: 75vh !important;
        margin: 0 auto;
    }
    .logo-1 {
        height: 20vh;
        margin-top: 0 !important;
    }
}
@media (min-width: 1900px) {
    .title2 {
        color: #ec3727;
        font-size: 40px !important;
        line-height: 1;
    }
    
    .title1 {
        color: #ec3727;
        font-size: 18px !important;
        padding-bottom: 5px;
    }
    
    .title {
        color: #ec3727;
        font-size: 18px !important;
        line-height: 0.8;
    }
    .card-home {
        width: 40% !important;
        height: 100vh;
        padding-top: 2% !important;
    }
    .card-container {
        height: 70vh !important;
        margin: 0 auto;
    }
    .img-fluid1 {
        width: 70%;
    }
    .card-home .card1 {
        width: 40% !important;
        left: 30% !important;
        margin-top: -20px;
    }
    .card-home .card2 {
        width: 35% !important;
        left: 36% !important;
        margin-top: 20px !important;
    }
    .card-home .card3 {
        width: 30% !important;
        left: 42% !important;
        margin-top: 40px !important;
    }
    .card-home .card4 {
        width: 35% !important;
        left: 29% !important;
        margin-top: 20px !important;
    }
    .card-home .card5 {
        width: 30% !important;
        left: 28% !important;
        margin-top: 40px !important;
    }
    .card-container {
        height: 70vh !important;
        margin: 0 auto;
    }
}
#sidebar-wrapper {
    position: fixed;
    z-index: 2;
    right: 0;
    width: 250px;
    height: 100%;
    transition: all 0.4s ease 0s;
    transform: translateX(250px);
    background: #1d809f;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    font-size: 1.2rem;
    background: rgba(52, 58, 64, 0.1);
    height: 80px;
    line-height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a {
    color: #fff;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: 0 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    transition: all 0.4s ease 0s;
}

.menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 50px;
    z-index: 999;
}

.menu-toggle:focus,
.menu-toggle:hover {
    color: #fff;
}

.menu-toggle:hover {
    background: #343a40;
}

.service-icon {
    background-color: #fff;
    color: #1d809f;
    height: 7rem;
    width: 7rem;
    display: block;
    line-height: 7.5rem;
    font-size: 2.25rem;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.callout {
    padding: 15rem 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 100%),
        url(../img/bg-callout.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.callout h2 {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    max-width: 30rem;
}

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 530px;
    margin: auto auto 1rem;
}

.portfolio-item .caption {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.portfolio-item .caption .caption-content {
    color: #fff;
    margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
    font-weight: 300;
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .portfolio-item {
        max-width: none;
        margin: 0;
    }

    .portfolio-item .caption {
        transition: background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, background-color 0.7s;
        transition: clip-path 0.25s ease-out, background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }

    .portfolio-item .caption .caption-content {
        transition: opacity 0.25s;
        margin-left: 5rem;
        margin-right: 5rem;
        margin-bottom: 5rem;
    }

    .portfolio-item img {
        transition: -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(-1px);
        clip-path: inset(-1px);
    }

    .portfolio-item:hover img {
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }

    .portfolio-item:hover .caption {
        background-color: rgba(29, 128, 159, 0.9);
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
}

.map iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

footer.footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

footer.footer .social-link {
    display: block;
    height: 4rem;
    width: 4rem;
    line-height: 4.3rem;
    font-size: 1.5rem;
    background-color: #1d809f;
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
    background-color: #155d74;
    text-decoration: none;
}

a {
    color: #1d809f;
}

a:active,
a:focus,
a:hover {
    color: #155d74;
}

.btn-primary {
    background-color: #1d809f !important;
    border-color: #1d809f !important;
    color: #fff !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #155d74 !important;
    border-color: #155d74 !important;
}

.btn-secondary {
    background-color: #ecb807 !important;
    border-color: #ecb807 !important;
    color: #fff !important;
}

.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:hover {
    background-color: #ba9106 !important;
    border-color: #ba9106 !important;
}

.btn-dark {
    color: #fff !important;
}

.btn {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.bg-primary {
    background-color: #1d809f !important;
}

.text-primary {
    color: #1d809f !important;
}

.text-secondary {
    color: #ecb807 !important;
}
.card {
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    border: 0px solid;
    padding: 15px 15px 5px 15px;
    box-shadow: 5px 10px 18px #989898;
}

.card2 {
    border-radius: 20px;
    border: 1px solid #ff0000;
    padding-top: 15px;
    padding-bottom: 15px;
}
.card-body {
    padding: 0.3rem;
    margin-bottom: 20px;
}

.title2 {
    color: #ec3727;
    font-size: 30px;
    line-height: 1;
}

.title1 {
    color: #ec3727;
    font-size: 14px;
    padding-bottom: 5px;
}
.title {
    color: #ec3727;
    font-size: 14px;
    line-height: 0.8;
}
.btn-group-lg > .btn,
.btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 13px;
}

.logo-yamaha-card {
    width: 30%;
    padding: 5px;
}

.bg-CardResult {
    background: url(../img/CardResult.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 15px;
}
.img-FB {
    width: 1150px;
    height: 550px;
    position: absolute;
    z-index: 1;
}

.bg-CardResult2 {
    width: 450px;
    height: 550px;
    position: absolute;
    z-index: 9;
    margin-top: 210px;
    margin-left: 50px;
    text-align: center;
}
.title1-FB {
    color: #ec3727;
    font-size: 34px;
    padding-bottom: 5px;
}

.title-FB {
    color: #ec3727;
    font-size: 38px;
}

.spanner {
    position: absolute;
    top: 50%;
    left: 0;
    background: transparent;
    width: 100%;
    display: block;
    text-align: center;
    height: 300px;
    color: #fff;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: "";
    position: absolute;
    top: 0;
}
.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.show {
    visibility: visible;
}

.spanner,
.overlay {
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.spanner.show,
.overlay.show {
    opacity: 1;
}

.card-home .card1 {
    width: 65%;
    left: 18%;
    z-index: 10;
    transform: rotateZ(0deg);
    -moz-transform: rotateZ(0deg);
    -webkit-transform: rotateZ(0deg);
    transition: all 0.5s ease-out 0.3s;
    background-color: transparent;
    border: 0px;
}
.card-home .card2 {
    width: 55%;
    left: 33%;
    margin-top: 10%;
    z-index: 9;
    transform: rotateZ(4deg);
    -moz-transform: rotateZ(4deg);
    -webkit-transform: rotateZ(4deg);
    transition: all 0.5s ease-out 0.4s;
    background-color: transparent;
    border: 0px;
}
.card-home .card3 {
    width: 45%;
    left: 47%;
    margin-top: 15%;
    z-index: 8;
    transform: rotateZ(10deg);
    -moz-transform: rotateZ(10deg);
    -webkit-transform: rotateZ(10deg);
    transition: all 0.5s ease-out 0.5s;
    background-color: transparent;
    border: 0px;
}
.card-home .card4 {
    width: 55%;
    left: 12%;
    margin-top: 10%;
    z-index: 9;
    transform: rotateZ(-4deg);
    -moz-transform: rotateZ(-4deg);
    -webkit-transform: rotateZ(-4deg);
    transition: all 0.5s ease-out 0.6s;
    background-color: transparent;
    border: 0px;
}
.card-home .card5 {
    width: 45%;
    left: 7%;
    margin-top: 15%;
    z-index: 8;
    transform: rotateZ(-10deg);
    -moz-transform: rotateZ(-10deg);
    -webkit-transform: rotateZ(-10deg);
    transition: all 0.5s ease-out 0.7s;
    background-color: transparent;
    border: 0px;
}

.start .card-bg {
    left: -100%;
    opacity: 0;
    transform: rotateZ(0deg);
    -webkit-transform: rotateZ(0deg);
    -moz-transform: rotateZ(0deg);
}

.card-container {
    height: 67vh;
    margin: 0 auto;
}

.card-bg {
    position: absolute;
    top: 23%;
}

.card-bg a {
    display: block;
    position: relative;
}

.card-bg a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    bottom: 1px;
}

.card-bg h1 {
    margin-top: 0;
}

.card-bg p {
    line-height: 1.75em;
    margin-bottom: 0;
}
.logo-1 {
    height: 20vh;
    margin-top: -15px !important;
}
