﻿#slideshow {
    width: 100% !important;
}

.SliderButton
{
    padding:6px 16px;
    text-decoration:none;
}

.SliderButton:hover {
    background-color:#a9a9a9;
}

.divPics {
    height: 400px;
    width: 100% !important;
    padding: 0;
    overflow: hidden;
    margin: auto;
    clear: left;
    z-index: -1;
}

.divImage {
    height: 300px;
    width: 100% !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

.divImageGray {
    height: 400px;
    width: 100% !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

    .divImageGray:hover {
        transition: all .4s ease;
        -webkit-transition: all .4s ease;
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
    }



@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox*/
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera*/
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.divSlideTitleBar {
    font-family: "PT Sans Narrow", sans-serif;
    display: inline-block;
    font-weight: bold;
    padding-left: 15px;
    text-transform: uppercase;
    color: #007cbb;
}

.divSubTextBar {
    font-size: 1.4em;
    padding: 10px 0px 0px 20px;
}

.divSlideTitle {
    font-size: 4em;
    font-family: 'Geologica', sans-serif;
}

.divSubText {
    font-size: 1.1em;
    padding: 0px 40px 0px 40px;
}

#main {
    margin: 20px;
}

#nav {
    margin: auto !important;
    height: 18px;
    display: table;
}

    #nav div {
        float: left;
        /*background: url(/images/dot_off.png) no-repeat top center;*/
        border-radius: 50px;
        border: 4px solid #2b2726;
        background-color: #2b2726;
    }

        #nav div:hover, #nav div:active {
            float: left;
            /*background: url(/images/dot_off.png) no-repeat top center;*/
            border-radius: 50px;
            border: 4px solid #7c7574;
            background-color: #7c7574;
        }

    #nav a {
        display: inline-block;
        width: 18px;
        height: 10px;
    }

    #nav div.activeSlide {
        /*background: url(/images/dot_on.png) no-repeat top center;*/
        /*border-radius: 30px;*/
        border: 4px solid #2b2726;
        background-color: transparent;
    }

        #nav div.activeSlide a {
        }

    #nav a:focus {
        outline: none;
    }

.divSliderContentBox {
    padding: 20px 20px 20px 0px;
    overflow: hidden;
    opacity:1;
}

/********** Responsive *************/
/*wide width**********************************************/
@media (min-width: 901px) {

    .divServicesWrap {
        width: calc(100% - 500px);
    }


    .divServicesBox {
        background-image: url('/images/template/HomeService.jpg');
    }

    .divSliderContentWrapper {
        width: 100%;
        max-width: 1000px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
    }

    .divSliderContentWrapperBar {
        /*width: 100%;*/
        /*max-width: 1100px;*/
        position: absolute;
        top: 20%;
        right: 20px;
        transform: translateY(-65%);
        text-align: center;
        /*background-color: rgba(255,255,255,0.7);*/
        text-align: right;
        -webkit-animation: fadein 2s; /* Safari, Chrome and Opera*/
        -moz-animation: fadein 2s; /* Firefox*/
        -ms-animation: fadein 2s; /* Internet Explorer */
        -o-animation: fadein 2s; /* Opera*/
        animation: fadein 2s;
    }

}

/*medium width**********************************************/
@media (min-width: 701px) and (max-width: 901px) {

    .divServicesWrap {
        width: calc(100% - 500px);
    }


    .divServicesBox {
        background-image: url('/images/template/HomeService.jpg');
    }

    .divSlideTitleBar {
        font-size: 4em;
        font-family: 'Geologica', sans-serif;
    }

    .divSubTextBar {
        font-size: 1em;
        padding: 0px 20px 0px 20px;
    }

    .divSliderContentWrapper {
        width: 100%;
        max-width: 1000px;
        position: relative;
        top: 45%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
    }

    .divSliderContentWrapperBar {
        /*width: 100%;*/
        /*max-width: 1100px;*/
        position: absolute;
        top: 20%;
        right: 20px;
        transform: translateY(-65%);
        text-align: center;
        /*background-color: rgba(255,255,255,0.7);*/
        text-align: right;
        -webkit-animation: fadein 2s; /* Safari, Chrome and Opera*/
        -moz-animation: fadein 2s; /* Firefox*/
        -ms-animation: fadein 2s; /* Internet Explorer */
        -o-animation: fadein 2s; /* Opera*/
        animation: fadein 2s;
    }

}

/* mobile width*******************************************/
@media (max-width: 700px) {

    .divServicesWrap {
        width: calc(80%);
    }


    .divServicesBox {

    }

    .imgSliderLogo {
        display: none;
    }

    .divSliderContentWrapper {
        width: 96%;
        max-width: 1000px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
        font-size: smaller !important;
    }

        .divSliderContentWrapper div:nth-child(2) {
            font-size: 14px !important;
        }

    .divSlideTitle {
        font-size: 2em;
        font-family: 'Geologica', sans-serif;
    }

    .divSubText {
        font-size: .9em;
        padding: 0px 40px 0px 40px;
    }

    .divSliderContentWrapperBar {
        width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(50%) !important;
        text-align: center !important;
        background-color: rgba(255,255,255,0.7);
    }

    .divSlideTitleBar {
        font-size: 2.4em !important;
        font-family: 'Geologica', sans-serif;
    }

    .divSubTextBar {
        font-size: 1em;
        padding: 0px 20px 0px 20px;
    }

    .divSliderContentBox {
        padding: 20px 0px 20px 0px;
        overflow: hidden;
    }
}


/********** End Responsive *************/
