.error-msg{
    border-color: red!important;
    background-color: rgba(255, 0, 0, 0.15)!important;
}
.top{
    background-color: red;
    padding: 20px 0;
}
.top img{
    max-height: 74px;
    display: inline-block;
    position: absolute;
    top: 0;
}
.top .container h3{
    color: white;
    font-weight: bold;
    padding: 0;
    margin: 0;
    display: inline-block;

}
.main{
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 50px 0;
}
.main:before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
    content: " ";
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0 25%;
    /*background-position: left center;*/
}

.text{
    padding: 50px 0;
}
.dark-footer{
    background-color: #202020;
    padding: 30px 0;
    color: white;
}
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.border-right{
    border-right: lightgrey solid 1px;
}
.light-footer {
    padding: 30px 0;
}
.light-footer p{
    color: #7a7a7a;

}
#myCarousel h1{
    color: white;
}
.center {
    position: absolute;
    left: 0;
    top: 40%;
}
.form-top{
    height: 100px;
    position: relative;
}
.form-title{
    background-color: red;
    text-align: center;
    padding: 20px 0 15px 0;
    color: white;
    margin: 0 5px;
    height: 100%;
}
.form-top .left-triangle{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 50px solid white;
    border-right: 223px solid transparent;
}

.form-top .right-triangle{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 50px solid white;
    border-left: 222px solid transparent;
}

.form-fields{
    background-color: white;
    padding: 20px 50px;
}
form div h2{
    margin: 0;
}
.form-check{
    margin-bottom: 10px;
    padding-left: 0!important;
    text-align: left;
}
.form-check input[type=radio]:first-child{
    display: inline-block;
    margin: 0 10px 0 0 ;
}
.form-check input[type=radio]:last-child{
    display: inline-block;
    margin: 0 10px 0 20px ;
}
.form-fields .btn{
    background-color: red;
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: bold;
}
.form-fields .btn:hover{
    background-color: #c50000;
}
.light-footer .text-center{
    margin-bottom: 20px;
}
.carousel-item{
    background-color: rgba(0, 0, 0, 0.3);
}
 /*Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
    .top h3{
        font-size: 24px;
    }
    .top .container p{
        margin: 0;
    }
    .top img{
        max-height: 98px;
    }
    .center {
        position: absolute;
        left: 0;
        top: 0;
    }
    .contact-form{
        margin-top: 50px;
    }
    .form-title h2{
        font-size: 26px;
    }
    .text{
        padding: 20px;
    }
    .form-top .left-triangle{
        border-right: 200px solid transparent;
    }

    .form-top .right-triangle{
        border-left: 200px solid transparent;
    }
    .main:before{
        background-size: 175% 55%;
        background-repeat: repeat-y;
        background-position: 0 0;
    }
    .carousel-item h1{
        margin-top: 120px;
        font-size: 28px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {

    .top img{
        max-height: 107px;
    }

}
 /*Medium devices (tablets, 768px and up)*/
@media (min-width: 576px) and (max-width: 768px) {
    .form-title h2{
        font-size: 22px;
    }
    .form-fields{
        padding: 20px;
    }
    .main:before{
        background-size: 100% 110%;
    }
}