﻿#banner .item {
    border-radius: 5px;
}

    #banner .item .caption {
        position: absolute;
    }

        #banner .item .caption h1 {
            color: #434546;
            font-family: 'nexabook';
        }

        #banner .item .caption h2 {
            color: #d0202e;
            font-family: 'nexaxbold';
        }

        #banner .item .caption p {
            color: #434546;
            font-family: 'nexabook';
        }

        #banner .item .caption .btn {
            color: #d0202e;
            font-family: 'nexabook';
            border: 4px solid #d0202e;
            display: table;
        }

        #banner .item .caption p {
            font-size: 18px;
            line-height: 24px;
            margin-top: 15px;
        }

        #banner .item .caption .btn {
            font-size: 15px;
            border-radius: 5px;
            padding: 14px 35px;
            margin-top: 27px;
        }

#banner .owl-dots {
    bottom: 20px;
    text-align: center;
}

.owl-dots {
    width: 100%;
    position: absolute;
}

    .owl-dots .owl-dot {
        width: 12px;
        height: 12px;
        border: 3px solid #002f5d;
        display: inline-block;
        margin: 0 7.5px;
    }

        .owl-dots .owl-dot.active {
            background: #002f5d;
        }
@media screen and (max-width:768px) {
      #banner .container {
          padding:0;
    }
}
@media screen and (min-width:320px) {
    #banner {
        margin-bottom: 30px;
    }

        #banner .item {
            height: 400px;
            background-position: left top !important;
            background-size: cover !important;
        }

            #banner .item .caption {
                top: 88px;
                left: 30px;
                max-width: 290px;
                width: auto;
                z-index:1;
            }

                #banner .item .caption h1 {
                    font-size: 26px;
                    line-height: 26px;
                     z-index:1;
                }

                #banner .item .caption h2 {
                    font-size: 35px;
                    line-height: 35px;
                    margin-top: 15px;
                     z-index:1;
                }
}

@media screen and (min-width:768px) {
    #banner {
        margin-bottom: 0px;
    }

        #banner .item {
            height: 409px;
        }

            #banner .item .caption {
                top: 88px;
                left: 30px;
                right: auto;
                max-width: 290px;
                width: auto;
            }

                #banner .item .caption h1 {
                    font-size: 26px;
                    line-height: 26px;
                }

                #banner .item .caption h2 {
                    font-size: 35px;
                    line-height: 35px;
                    margin-top: 15px;
                }
}

@media screen and (min-width:992px) {
    #banner .item {
        height: 409px;
    }

        #banner .item .caption {
            top: 88px;
            right: 30px;
            left: auto;
            max-width: 290px;
            width: auto;
        }

            #banner .item .caption h1 {
                font-size: 26px;
                line-height: 26px;
            }

            #banner .item .caption h2 {
                font-size: 35px;
                line-height: 35px;
                margin-top: 15px;
            }
}

@media screen and (min-width:1200px) {
    #banner .item {
        height: 509px;
    }

        #banner .item .caption {
            top: 88px;
            right: 30px;
            max-width: 490px;
            width: auto;
        }

            #banner .item .caption h1 {
                font-size: 33px;
                line-height: 33px;
            }

            #banner .item .caption h2 {
                font-size: 65px;
                line-height: 52px;
                margin-top: 15px;
            }
}
/**********************Box Type 1***********/
.home_header {
    text-align: center;
    background: no-repeat;
    padding: 0;
    margin-top: 48px;
}

    .home_header h5 {
        color: #939393;
        font-family: 'nexaxbold';
        font-size: 22px;
        margin-bottom: 20px;
    }

        .home_header h5:after {
            width: 60px;
            height: 10px;
            background: #939393;
            content: '';
            display: block;
            margin: auto;
        }

.boxType1 {
    position: relative;
}

    .boxType1 figure {
        position: relative;
        overflow: hidden;
    }

        .boxType1 figure > img {
            width: 100%;
        }

    .boxType1 figcaption {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        font-family: 'nexaxbold';
        font-size: 15px;
    }

        .boxType1 figcaption span,
        .boxType1 figcaption:after,
        .boxType1 figcaption:before,
        .boxType1 figcaption .arrow {
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -ms-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

        .boxType1 figcaption:after,
        .boxType1 figcaption:before {
            position: absolute;
            content: '';
            top: 0;
            width: 100%;
            height: 100%;
        }

        .boxType1 figcaption:after {
            z-index: 1;
            background: rgba(0, 0, 0, 0.50);
            opacity: 0;
        }

        .boxType1 figcaption:before {
            position: relative;
            width: 12px;
            background: #d0202e;
            margin-left: -12px;
            float: left;
        }

        .boxType1 figcaption span {
            position: relative;
            top: 58%;
            background: #d0202e;
            color: #fff;
            padding: 16px 25px 15px;
            margin-top: -26px;
            display: table;
            z-index: 2;
        }

        .boxType1 figcaption p {
            color: #fff;
            position: absolute;
            font-size: 18px;
            line-height: 21px;
            bottom: 10px;
            padding: 0 15px;
        }

        .boxType1 figcaption .arrow {
            width: 54px;
            height: 52px;
            background: url(/Content/Themes/Images/hover_arrow.jpg) no-repeat;
            background-size: cover;
            position: absolute;
            top: 58%;
            margin-top: -26px;
            right: -100%;
            display: block;
            z-index: 2;
            opacity: 0;
        }

    .boxType1 a:hover figcaption .arrow {
        right: 0;
        opacity: 1;
    }

    .boxType1 a:hover figcaption:before {
        margin-left: 0;
    }

    .boxType1 a:hover figcaption:after {
        opacity: 1;
    }

    .boxType1 .owl-dots {
        text-align: center;
        margin-top: 10px;
    }

    .boxType1 .owl-dot:last-of-type {
        margin-right: 0;
    }

.gray_bg {
    background: #f1f1f1;
   
}

.gray {
    background: #eaeaea;
}

#media .boxType1 figcaption span,
#media .boxType1 figcaption .arrow {
    top: 50%;
}

#fast_access {
    margin-bottom: 50px;
}

    #fast_access .media {
        display: table;
    }

    #fast_access .media-left,
    #fast_access .media-body {
        display: table-cell;
        color: #002f5d;
        vertical-align: middle;
    }

    #fast_access .media-left {
        padding-right: 30px;
    }

    #fast_access .media-body {
        padding: 50px 0 40px;
        font-family: 'nexaxbold';
    }

    #fast_access .media .media-body h4 {
        font-size: 16px;
        line-height: 21px;
        margin-bottom: 17px;
        font-family: 'nexaxbold';
    }

    #fast_access .media .media-body p {
        font-family: 'nexaregular';
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 28px;
    }

    #fast_access .media .media-body a:hover {
        color: #fff;
    }

@media screen and (min-width:320px) {
    .home_header {
        margin-top: 0px;
    }

    .boxType1,
    .media {
        margin-bottom: 40px;
    }
}

@media screen and (min-width:768px) {
    .home_header {
        margin-top: 48px;
    }

    .boxType1,
    .media {
        margin: 0 auto 30px;
    }

        .boxType1 .embed-responsive,
        .boxType1 .embed-responsive-item,
        .boxType1 .embed-responsive iframe {
            height: 100%;
        }
}

@media screen and (min-width:992px) {
    .boxType1 .embed-responsive,
    .boxType1 .embed-responsive-item,
    .boxType1 .embed-responsive iframe {
        height: 145px;
        padding-bottom: 0;
    }
}

@media screen and (min-width:1200px) {
    .boxType1 .embed-responsive,
    .boxType1 .embed-responsive-item,
    .boxType1 .embed-responsive iframe {
        height: 268px;
        padding-bottom: 0;
    }
}
