.top-pictures {
    position: relative;
    display: inline-block;
}

.top-pictures .container {
    background: none;
    position: absolute;
    bottom: 20px;
    text-align: right;
}

.top-pictures .container-caption {
    background: none;
    position: absolute;
    top: 120px;
    margin-left: 90px;
}

.logformc {
    background: none;
    position: absolute;
    bottom: 20px;
    z-index: 100;
}

.caption {
    color: #303030;
    background-color: #f0edef;
    font-size: 2.9rem;
    font-weight: 600;
}

.notreg {
    color: #303030;
    background-color: #f0edef;
    padding: 0.2rem;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1rem;
}

.form-control {
    color: #003563;
    border-radius: 0;
    border: none;
    text-align: center;
}

.form-border{
    border-right: 1px solid #5f829c;
}

.button-on-green {
     display: flex;
     justify-content: center;
     padding-top: 5px;
     padding-bottom: 5px;
     width: 100%;
     color: white;
     font-weight: bolder;
     background-color: #2eca55;
     border: 1px solid #2eca55;
 }

.button-on-green:hover{
    color: #303030;
}

.button-on-white {
    display: flex;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    color: black;
    font-weight: bolder;
    background-color: white;
    border: 1px solid white;
}

button {
    width: 100%;
    background-color: #51af4d !important;
    border-radius: 0 !important;
    border: 1px solid #51af4d!important;
}

.icon-main{
    width: 100px;
    margin-bottom: 15px;
}

.image-on-first-page{
    width: 100%;
    max-width: 236px;
}

.image-on-first-page-caption{
    margin-top: 10px;
    font-weight: bold;
}

.button-yellow {
    background-color: #f4c12e!important;
    border: 1px solid #f4c12e!important;
}


@media all and (max-width: 767px){
    h2{
        font-size: 1.5rem;
    }

    .top-pictures {
        min-height: 200px;
        margin: 0;
        padding: 0;
    }
    .top-pictures .container {
        bottom: 0px;
    }

    .top-pictures .container-caption{
        display: none;
    }
    .logformc {
        position: relative;
        background-color: #17365c;
        bottom: 0;
        margin-left: 0;
        transform: none;
        max-width: 100%;
        padding: 10px;
    }
    .top-pictures img{
        min-height: 200px;
        width: 100vw;
        object-fit: cover;
    }
    .form-border{
        border-right: none;
        border-right: 15px solid #ffffff;
    }
    .form-control {
        text-align: left;
        font-size: 0.8rem;
    }
    .icon-main{
        width: 27%;
        margin-bottom: 10px;
    }

    .mobile-icon-main>div:not(:first-child){
        margin-top: 50px;
    }

    .image-on-first-page-caption{
        line-height: 1.2rem;
    }
    
    .notreg {
        color: #FFFFFF;
        background-color: #909090;
        padding: 0.2rem;
        font-size: 0.7rem;
        font-weight: normal;
        line-height: 0.7rem;
    }

    .btn{
        font-size: 0.8rem;
    }
}

@media all and (max-width: 991px) {
    h2{
        font-size: 1.5rem;
    }
    .caption {
        font-size: 3rem;
        line-height: 3rem;
    }
}

@media all and (min-width: 1200px) {
    h2{
        font-size: 1.6rem;
    }
    .caption2 {
        margin-bottom: 9rem;
    }
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    .caption2 {
        margin-bottom: 5rem;
    }
}

@media all and (min-width: 768px) and (max-width: 991px) {
    .caption2 {
        margin-bottom: 3rem;
    }
}

@media all and (max-width: 767px) {
    .caption2 {
        margin-bottom: 3rem;
    }
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  margin-right: 5px;
  margin-left: 5px;
}

.from-me {
    width: 100%;
    right: 0;
    background: #f4f4f5;
}

.from-me:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    border-top: 10px solid #f4f4f5;
    border-left: 10px solid #f4f4f5;
    border-bottom: 10px solid transparent;
    border-right: 10px solid transparent;
}

.message-text {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 15px 0 15px;
}

.message-time {
    text-align: right;
    font-size: 0.8rem;
    padding: 15px;
}
