@font-face {
    font-family: SukhumvitSet;
    src: url('/css/fonts/subset-SukhumvitSet-Medium.ttf');
}
@font-face {
    font-family: CSPraKas;
    src: url('/css/fonts/CSPraKas.otf');
}
.logo {
    height: 43px;
    margin-top: 8px;
}
#searchinsure {
    color: #4dc1ea;
    margin-bottom: 30px;
    font-family: SukhumvitSet;
}
.searchinsure-p {
    font-size: 22px;
}
.header {
    background-color: #0d3b66;
    color: #d3d2ce;
    height: 35px;
    padding: 8px;
    text-align: center;
    padding-right: auto;
}
.buttonh {
    background-color: white;
    color: #0d3b66;
    cursor: pointer;
    width: 100%;
    margin: 0px;
    border: none;
}
.text-image-slide {
    font-size: 16px;
    padding: 20px 50px;
}
.text-standard h1 {
    color: #4dc1ea;
    margin: 40px 0px;
}
@media (min-width: 40rem) {
    .buttonh {
        background-color: white;
        color: #0d3b66;
        padding: 15px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 20px;
        margin-top: 5px;
        border: none;
        text-align: center;
        font-size: 16px;
    }
    .header {
        background-color: #0d3b66;
        color: #d3d2ce;
        height: 35px;
        padding: 8px;
        text-align: right;
        padding-right: 80px;
    }
}
.buttonh:hover {
    background-color: #4dc1ea;
    color: white;
}
.buttonselect {
    background-color: #4dc1ea;
    color: white;
}
.ahead {
    color: white;
}
.btn-group .menuhome:not(:last-child) {
    border-right: none;
    /* Prevent double borders */
}
.menuhome {
    padding-top: 0px;
    float: left;
    height: 90px;
    width: 145px;
    transition: height 1s;
    background-color: white;
    color: black;
    border: 1px solid #d3d2ce;
    border-radius: 0px 0px 10px 10px;
    text-align: center;
    font-size: 20px;
}
.menuhome:hover {
    border: none;
    height: 125px;
    padding-top: 0px;
}
.menuhomeselect {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #4dc1ea;
    color: white;
    padding-top: 0px;
}
.menu2 {
    display: none;
}
.menuhomemobile {
    width: 100%;
    text-align: left;
    padding: 10px;
    background-color: white;
    /* Green */
    border: none;
    border: 1px solid #d3d2ce;
    font-size: 18px;
    text-align: center;
}
.menu-1 {}
.menu-1:hover {
    background-color: #4dc1ea;
    color: white;
    padding-top: 0px;
}
.menu-11:hover {
    background-color: #54997a;
    color: white;
    padding-top: 0px;
}
.menu1select {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #54997a;
    color: white;
    padding-top: 0px;
}
.menu-2:hover {
    background-color: #ebd15f;
    color: white;
    padding-top: 0px;
}
.menu2select {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #ebd15f;
    color: white;
    padding-top: 0px;
}
.menu-2p:hover {
    background-color: #fab449;
    color: white;
    padding-top: 0px;
}
.menu2pselect {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #fab449;
    color: white;
    padding-top: 0px;
}
.menu-3:hover {
    background-color: #e3346d;
    color: white;
    padding-top: 0px;
}
.menu3select {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #e3346d;
    color: white;
    padding-top: 0px;
}
.menu-3p:hover {
    background-color: #8c4267;
    color: white;
    padding-top: 0px;
}
.menu3pselect {
    border: none;
    height: 125px;
    padding-top: 0px;
    background-color: #8c4267;
    color: white;
    padding-top: 0px;
}
.menu-4:hover {
    background-color: #567897;
    color: white;
    padding-top: 0px;
}
.showimg {
    background-color: white;
    width: 380px;
    height: 170px;
    margin-left: -90px;
    margin-bottom: 20px;
    "
 border: 0px;
    border-radius: 10px;
    opacity: 0.4;
    filter: alpha(opacity=40);
}
.txt {
    width: 380px;
    height: 160px;
    margin-left: -90px;
    margin-bottom: 20px;
    color: white;
    font-size: 32px;
}
.txtlogo {
    width: 380px;
    height: 180px;
    margin-left: 30%;
    margin-bottom: 20px;
}
.txtimg {
    float: right;
    padding: 0px;
    margin-left: 50%;
    margin-bottom: -3%;
}
@media(max-width: 70rem) {
    .txtlogo {
        margin-left: -15%;
        margin-bottom: -30px;
    }
    .showimg, .txt {
        display: none;
    }
    .txtimg {
        float: right;
        padding: 0px;
        margin-left: 35%;
        margin-bottom: -5%;
    }
}
@media(max-width: 40rem) {
    .txtimg {
        display: none;
    }
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -15%;
    }
}
@media(max-width: 36rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -18%;
    }
}
@media(max-width: 32rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -20%;
    }
}
@media(max-width: 27rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -28%;
    }
}
@media(max-width: 24rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -31%;
    }
}
@media(max-width: 22rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -33%;
    }
}
@media(max-width: 20rem) {
    .txtlogo {
        width: 200px;
        margin-left: -10%;
        margin-bottom: -35%;
    }
}
.btnshow {
    background-color: #fab449;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
}
.searchinsure {
    padding: 30px 50px 0px;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #888888;
}
.txtsearch {
    font-size: 16px;
}
.btnsearchinsure {
    background-color: #4dc1ea;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    width: 100%;
}
@media(max-width: 70rem) {
    .menuhome {
        padding-top: 0px;
        width: 100px;
        transition: height 1s;
        border: 1px solid #d3d2ce;
        border-radius: 0px 0px 10px 10px;
        text-align: center;
        font-size: 12px;
    }
}
@media(max-width: 48rem) {
    .menu1 {
        display: none;
    }
    .menu2 {
        display: block;
    }
    .text-image-slide {
        font-size: 16px;
        padding: 20px 0px;
    }
}
.title-buy-insure {
    color: #0d3b66;
    margin-bottom: 30px;
}
.btnact {
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.act1 {
    background-color: white;
    color: #F7941D;
    border: 2px solid #F7941D;
}
.act1:hover {
    background-color: #F7941D;
    color: white;
}
.act2 {
    background-color: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}
.act2:hover {
    background-color: #4CAF50;
    color: white;
}
.home_insure_hover {
    padding-top: 20px;
    transition: .5s;
}
.home_insure_hover:hover {
    box-shadow: 0px 0px 10px #d3d2ce;
}
.btn_home_hover {
    border: 2px solid #4dc1ea;
    color: #4dc1ea;
    background-color: white;
    margin: 30px 0px;
    padding: 7px 45px;
}
.btn_home_hover:hover {
    color: white;
    background-color: #4dc1ea;
}
.insure1-h {
    color: #4dc1ea;
    font-size: 24px;
    padding-bottom: 20px;
    padding-top: 20px;
}
.insure1-b {
    padding-bottom: 10px;
    font-family: CSPraKas;
    color: black;
    font-size: 20px;
}
.insure1-txt {
    font-family: CSPraKas;
    color: black;
    font-size: 18px;
}
#btnscall {
    /*display: none;*/
    position: fixed;
    bottom: 20px;
    right: -15%;
    z-index: 99;
    cursor: pointer;
    -moz-transition: 1s ease;
    -webkit-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
}
#transfer_bank {
    color: #FFFFFF;
    display: block;
    position: fixed;
    width: 200px;
    height: 45px;
    background-color: #E1386E;
    bottom: 20px;
    right: 30px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    padding-top: 10px;
    -moz-transition: 1s ease;
    -webkit-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
}
.person_img {
    position: relative;
    width: 70%;
    left: -70%;
    -moz-transition: left 1s ease;
    -webkit-transition: left 1s ease;
    -o-transition: left 1s ease;
    transition: left 1s ease;
}
.img-buttom1 {
    position: relative;
    left: -90%;
    -moz-transition: left 1.5s ease;
    -webkit-transition: left 1.5s ease;
    -o-transition: left 1.5s ease;
    transition: left 1.5s ease;
}
.img-buttom2 {
    position: relative;
    left: -90%;
    -moz-transition: left 1s ease;
    -webkit-transition: left 1s ease;
    -o-transition: left 1s ease;
    transition: left 1s ease;
}
.animation_index {
    left: 0%;
    right: 0%;
    display: block;
}
.nameimg {
    font-size: 20px;
    padding-top: 10px;
}
.company {
    padding: 15px 15px;
    height: 80px;
}
.menuprofile {
    background-color: white;
    /* Green */
    width: 97%;
    border: 1px solid #d3d2ce;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
}
.btn-group-vertical .menuprofile:not(:last-child) {
    border-bottom: none;
    /* Prevent double borders */
}
#profile {
    color: white;
    background-color: #54997a;
}
.headprofile {
    color: #4dc1ea;
    font-size: 22px;
}
#profile_profile {
    display: block;
}
#profile_pass {
    display: none;
}
#profile_car {
    display: none;
}
#profile_bank {
    display: none;
}
#namemenu {
    color: #0d3b66;
}
.btn-group-justified {
    background-color: white;
    color: #0d3b66;
    box-shadow: 0px 0px 5px #888888;
    padding: 10px;
    text-align: center;
}
.btn1 {
    margin: 0px 20px;
    background-color: white;
    border: 5px solid white;
    font-size: 14px;
}
.btn1:hover {
    border-bottom-color: #4dc1ea;
}
.btn1select {
    border-bottom-color: #4dc1ea;
}
#txtscroll::-webkit-scrollbar-thumb {
    background-color: red;
    outline: 1px solid slategrey;
}
.insure_result {
    height: 190px;
    margin: 10px 0px;
    border: 1px solid #D8D8D8;
    border-left: none;
    border-radius: 0px 5px 5px 0px;
}
.img_result {
    text-align: center;
    height: 190px;
    margin: 10px 0px;
    border-radius: 5px 0px 0px 5px;
    border: 1px solid #D8D8D8;
}
.insurebrand {
    margin-top: 5px;
    font-size: 18px;
}
.classinsure {
    padding: 0px;
    font-size: 16px;
    color: #D8D8D8;
}
.priceinsure {
    font-size: 30px;
    color: #4dc1ea;
    float: right;
}
.txtprice {
    position: absolute;
    bottom: 5px;
}
.txtinsure {
    padding-bottom: 10px;
}
.insure-txt {
    margin: 25px 0px;
    font-size: 18px;
    font-family: CSPraKas;
}
.orderuser {
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ed145b;
}
.ordercar {
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #3cb878;
}
.orderinsure {
    margin-left: 10px;
    border: 1px solid #4dc1ea;
}
#myBar {
    width: 1%;
    height: 30px;
    background-color: #ed145b;
}
#formpayment2 {
    display: none;
}
#formpayment3 {
    display: none;
}
#formpayment4 {
    display: none;
}
.btn-formpayment3 {
    background-color: white;
    height: 100px;
    width: 150px;
    padding: 10px 0px;
    margin: 30px 0px;
    box-shadow: 0px 0px 1px #888888;
}
.btn-group .btn-formpayment3:not(:last-child) {
    border-right: none;
    /* Prevent double borders */
}
#formpayment3-txt {
    margin-top: 10px;
    color: #ed145b;
}
#formpayment3-txt2 {
    margin-top: 10px;
    color: #4dc1ea;
}
#formpayment3-txt3 {
    margin-top: 10px;
    color: #54997a;
}
#formpayment3_1 {
    display: block;
}
#formpayment3_2 {
    display: none;
}
#formpayment3_3 {
    display: none;
}
.carousel {
    margin: 0 30px;
    width: calc(100% - ($button-spacing * 2));
}
.carousel[data-shift="1"] .carousel-inner>.item {
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.carousel .carousel-inner>.item.row {
    margin: 0;
}
.carousel .carousel-control {
    background: none;
    color: transparent;
    overflow: hidden;
    text-shadow: none;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    width: 30px;
}
.carousel .carousel-control:before {
    color: #444;
    font-family: 'Glyphicons Halflings';
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 30px;
}
.carousel .carousel-control:after {
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    content: '';
    height: 60%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    width: 100%;
}
.footer-image p {
    padding-left: 70px;
}
@media(max-width: 412px) {
    .footer-image img {
        width: 260px;
    }
    .footer-image p {
        padding-left: 10px;
    }
    #imglogo {
        width: 140px;
        bottom: 100px;
    }
    /*  .txtlogo{
    margin-left: -10%;
    margin-bottom: -40%;
  }*/
}
.why-Insurance {
    padding: 25px 0px;
}
@media(max-width: 360px) {
    .logo {
        padding-left: 22px;
    }
    #searchinsure {
        font-size: 25px;
    }
    .searchinsure-p {
        font-size: 16px;
    }
    #searchinsure {
        margin-bottom: 10px;
    }
    .title-buy-insure {
        font-size: 25px;
    }
    .why-Insurance h1 {
        font-size: 25px;
    }
    .why-Insurance-2 h1 {
        font-size: 25px;
    }
    .text-standard h1 {
        color: #4dc1ea;
        margin: 40px 0px;
        font-size: 25px;
    }
}
@media(max-width: 320px) {
    .footer-image img {
        width: 260px;
    }
    .footer-image p {
        padding-left: 10px;
    }
    #imglogo {
        width: 140px;
        bottom: 100px;
    }
    .txtlogo {
        margin-left: -10%;
        margin-bottom: -40%;
    }
    .logo {
        padding-left: 25px;
        height: 35px;
        margin-top: 8px;
    }

}
.carousel .carousel-control.left {
    left: -30px;
}
.carousel .carousel-control.left:before {
    content: '\e079';
}
.carousel .carousel-control.left:after {
    right: -100%;
}
.carousel .carousel-control.right {
    right: -30px;
}
.carousel .carousel-control.right:before {
    content: '\e080';
}
.carousel .carousel-control.right:after {
    left: -100%;
}