/* slider.css */
.mgSlider,
.mgSlider .frame /* form slider-links.html */ {
    position: relative;
    height: 550px;
}

.mgSlider .slide {
    display: none;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    text-align: center;
    width: 100%;
    height: 100%;
}

.mgSlider .slide.current {
    display: block;
}

.mgSlider .slide.fade {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}


.mgSlider table {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    border-collapse: collapse;
    border: 0;
    padding: 0;
    margin: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.2);
}

.mgSlider table tr,
.mgSlider table td {
    border: 0;
    padding: 0;
    margin: 0;
}

.mgSlider table td { text-align: center; }
/* *** */


.mgSlider table {
    text-align: center;
    box-sizing: border-box;
}

.mgSlider table h1{
    display: inline-block;
    max-width: 850px;
    font-weight: normal;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.mgSlider table p { font-size: 23px; }

.mgSlider table a.grey {
    background: #cecece;
    color: #000;
}


.mgSlider table div {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    border-radius: 15px;
    display: inline-block;
}

@media all and (max-width: 599px){
    .mgSlider table h1 { 
        font-size: 30px;
        line-height: 40px;
    }
    .mgSlider table div {
        padding: 20px;
        margin: 0 10px;
    }
}

@media all and (min-width: 600px) and (max-width: 960px) {
    .mgSlider table div {padding: 40px;}
}

@media all and (min-width: 961px) {
    .mgSlider table div { padding: 60px;}

    .mgSlider table h1 {
        font-size: 40px;
        line-height: 65px;
    }
}



/*services-icon*/
.services-container {
    margin-top: -55px;
    margin-bottom: 40px;
    position: relative;
}

.services-container a { display: block; }

.services-container .content {
    max-width: 720px;
    text-align: center;
    margin: 20px auto 40px auto;
}


.services-container .border {
    border: 1px solid #e7e7e7;
    padding: 30px;
    text-align: center;
    background: #fff;
    -webkit-box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.15);
}


table div h1::after {
    content: ' ';
    display: block;
    width: 100px;
    height: 1px;
    background-color: #ED1E26;
    border: none;
    margin:15px auto 25px auto;
}

@media all and ( max-width: 960px) {
    .services-container h2 { 
        font-size: 30px; 
        text-align: center;
    }

    .services-container .content {
        padding: 10px;
    }
}
@media all and (max-width: 960px) {
    .anchor {position: relative;}
    #services {
        position: absolute;
        top: -155px;
    }
}


@media all and (min-width: 961px) {
    .anchor {position: relative;}
    #services {
        position: absolute;
        top: -150px;
    }
}