* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.s_logo {
    width: 100%;
    max-width: 160px;
    position: relative;
    z-index: 99;
    /*top: 3px;*/
}

.s_headerinner {
    /* height: 78px; */
    padding: 2px;
}

.s_header {
    /* background: #225aa4; */
    border-top: 3px solid #225aa4;
    border-bottom: 1px solid #81a8dc;
}



/*.tm-home-slider .flexslider {
    height: 500px;
    overflow: hidden;
}*/

@media only screen and (min-width: 768px) and (max-width: 991px) {
.tm-home-slider .flexslider {
    height: 285px;
    overflow: hidden;
}
.tm-home-slider .flexslider .slides li .caption {
    position: absolute;
    z-index: 2;
    text-align: center;
    width: 100%;
    top: 15%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
}
@media only screen and (min-width: 992px) and (max-width: 1149) {
.tm-home-slider .flexslider {
    height: 500px;
    overflow: hidden;
}

}
    .tm-home-slider .flexslider .slides li .caption {
        position: absolute;
        z-index: 2;
        text-align: center;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    }

    .tm-home-slider .flexslider .slides li:after {
        content: '';
        background-color: rgba(0, 0, 0, 0.25);
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        top: 0;
        z-index: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: visible;
        opacity:0;
    }

    .tm-home-slider .flexslider .slides li .caption h3 {
        font-size: 38px;
        text-transform: uppercase;
        font-weight: 700;
    }

    .tm-home-slider .flexslider .slides li .caption * {
        color: #fff;
    }

    .tm-home-slider .flexslider .slides li .caption h1 {
        font-size: 50px;
        text-transform: uppercase;
        font-weight: 700;
    }

    .tm-home-slider .flexslider .slides li .caption * {
        color: #fff;
    }

    .tm-home-slider .flexslider .slides li .caption h1 span {
        color: #0087be;
    }

    .tm-home-slider .flexslider .slides li .caption p {
        margin-top: 20px;
        margin-bottom: 0;
        padding: 0 20%;
    }

    .tm-home-slider .flexslider .slides li .caption .tm-btn {
        margin-top: 27px;
    }


.tm-btn {
    border: 0 none;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    padding: 17px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
}

.btn-blue {
    background-color: #0087be;
}

.tm-btn:hover {
    color: #fff !important;
}

.btn-blue:hover {
    background-color: #225AA4;
}


.login_container {
    border: 1px solid #dcdcdc;
    padding: 20px 40px !important;
    position: absolute !important;
    min-width: 300px;
    max-width: 450px;
    top: 155px;
    right: 5%;
    z-index: 99;
    background: #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

    .login_container h3 {
        color: #696565;
        text-align: center;
        margin: 0;
        padding-bottom: 15px;
    }

    .login_container input[type=button] {
        padding: 10px;
        width: 100%;
        margin-top: 16px;
        margin-bottom: 14px;
        background: #225aa4;
        border: none;
        outline: none;
        color: #ccc;
        cursor: pointer;
    }

        .login_container input[type=button]:hover {
            background: #15355f;
            color: #fff;
        }

    .login_container h4 {
        font-size: 15px;
        text-align: right;
        color: #225aa4 !important;
        margin-top: 10px;
        cursor: pointer;
        -webkit-transition: color 4s; /* Safari */
    }

        .login_container h4:hover {
            text-decoration: underline;
            color: red !important;
        }

.custom-form .form-group {
    position: relative;
    padding-top: 16px;
    margin-bottom: 8px;
}

    .custom-form .form-group .animated-label {
        position: absolute;
        top: 20px;
        left: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        font-weight: 300;
        opacity: 0.8;
        cursor: text;
        transition: 0.2s ease all;
        margin: 0;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

        .custom-form .form-group .animated-label:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 45%;
            height: 2px;
            width: 10px;
            visibility: hidden;
            background-color: #225aa4;
            transition: 0.2s ease all;
        }

    .custom-form .form-group.not-empty .animated-label {
        top: 0;
        font-size: 12px;
        color: #225aa4;
    }

    .custom-form .form-group .form-control {
        position: relative;
        z-index: 1;
        border-radius: 0;
        border-width: 0 0 1px;
        border-bottom-color: rgba(0, 0, 0, 0.25);
        height: auto;
        padding: 3px 0 5px;
    }

        .custom-form .form-group .form-control:focus {
            box-shadow: none;
            border-bottom-color: rgba(0, 0, 0, 0.12);
        }

            .custom-form .form-group .form-control:focus ~ .animated-label {
                top: 0;
                opacity: 1;
                color: #225aa4;
                font-size: 14px;
            }

                .custom-form .form-group .form-control:focus ~ .animated-label:after {
                    visibility: visible;
                    width: 100%;
                    left: 0;
                }

.btn {
    position: relative;
    display: block;
    margin: 20px 0px 10px 0 !important;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    background-color: #225aa4;
    color: #fff !important;
    transition: background-color .3s;
    width: 100%;
}

    .btn:hover {
        background-color: #15355f;
    }

    .btn > * {
        position: relative;
    }

    .btn span {
        display: block;
        padding: 3px;
    }

    .btn:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 0;
        padding-top: 0;
        border-radius: 100%;
        background-color: rgba(236, 240, 241, .3);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .btn:active:before {
        width: 120%;
        padding-top: 120%;
        transition: width .2s ease-out, padding-top .2s ease-out;
    }

.s_footer {
    padding: 20px 0 8px 0;
    text-align: center;
    /* border-bottom: 13px solid #e2e0e0; */
    background: #ffffffad;
    color: #6d6d6d;
}

.logotxt {
    color: #01458e;
    font-size: 19px;
    margin-left: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    top: 16px;
    float: right;
}

    .logotxt span {
        font-size: 10px;
        display: block;
        color: #5d5a5a;
        padding: 0 2px;
        font-weight: 600;
    }

.s_ratiobtn {
    margin: 5px !important;
    position: relative;
    top: 2px;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

    [type="radio"]:checked + label,
    [type="radio"]:not(:checked) + label {
        position: relative;
        padding-left: 25px;
        padding-right: 10px;
        cursor: pointer;
        line-height: 20px;
        display: inline-block;
        color: #225aa4;
        letter-spacing: 1px;
    }

        [type="radio"]:checked + label:before,
        [type="radio"]:not(:checked) + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 20px;
            height: 20px;
            border: 1px solid #ddd;
            border-radius: 100%;
            background: #fff;
        }

        [type="radio"]:checked + label:after,
        [type="radio"]:not(:checked) + label:after {
            content: '';
            width: 12px;
            height: 12px;
            background: #0087be;
            position: absolute;
            top: 4px;
            left: 4px;
            border-radius: 100%;
            -webkit-transition: all 0.2s ease;
            transition: all 0.2s ease;
        }

        [type="radio"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0);
            transform: scale(0);
        }

        [type="radio"]:checked + label:after {
            opacity: 1;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

.marginleft15 {
    margin-left: 15px;
}

@media screen and (max-width: 460px) {
    .marginleft75 {
        /* margin-left: 75px; */
    }

    .login_container {
        top: 25%;
        right: 0;
        left: 0;
    }

    .logotxt {
        display: none;
    }

    [type="radio"]:checked + label, [type="radio"]:not(:checked) + label {
        display: block;
        margin: 0px 0 10px 0;
    }
}

.errortxt {
    color: red;
    text-align: center;
    font-weight: bolder;
    background: #deecff82;
    padding: 7px;
    border: 1px solid #bed5f5;
}
