section {
    padding-top: 3.5vw;
}

section#primary {
    padding-top: unset;
}

@media screen and (max-width: 767px) {
    #frontpage-search .widget_search > form {
        flex-direction: column;
    }

    #frontpage-search .widget_search > form > label {
        width: 100%;
        margin-bottom: 3vw;
    }
}


/* Section: Images Slider */
#frontpage-slider {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	clear: both;
	margin: 0 auto;
	padding: 0;
}

div#frontpage-slider ul.slick-dots {
    bottom: 0;
    height: 6.4em;
    padding-top: 4em;
    background: linear-gradient(180deg, rgba(196, 196, 196, 0) 0%, rgba(0, 0, 0, 0.67) 100%);
}

div#frontpage-slider ul.slick-dots button:before {
    opacity: 1;
    color: #FFFFFF;
    font-size: 1rem;
}

div#frontpage-slider ul.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #917102;
}

#frontpage-slider .image-slide {
	position: relative;
}

#frontpage-slider .image-slide img {
	width: 100%;
	height: 520px;
	object-fit: cover;
}

#frontpage-slider .image-slide .container {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	max-width: 1170px;
	margin: 0 auto;
}

#frontpage-slider .image-slide-content {
	position: relative;
	z-index: 5;
	top: 132px;
	left: 1vw;
    min-width: 49vw;
    width: 547px;
	max-width: 91%;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.45;
	margin: 15px;
    text-align: left;
}

@media screen and (max-width: 767px) {
    #frontpage-slider .image-slide-content {
        position: static;
        text-align: center;
    }

    #frontpage-slider .image-slide-content > h2 {
        margin: 2rem;
    }
}

@media screen and (min-width: 320px) {
    #frontpage-slider .image-slide-content {
        font-size: 15px;
    }
}

@media screen and (min-width: 375px) {
    #frontpage-slider .image-slide-content {
        font-size: 16px;
    }
}

@media screen and (min-width: 425px) {
    #frontpage-slider .image-slide-content {
        font-size: 17px;
    }
}

@media screen and (min-width: 768px) {
    #frontpage-slider .image-slide-content {
        font-size: 18px;
    }
}

#frontpage-slider .image-slide-content .desc-link > h2 {
    font-size: inherit;
	padding-left: 30px;
	padding-right: 30px;
    border-radius: 20px;
    box-sizing: border-box;
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.5));
    line-height: 2.75rem;
}

#frontpage-slider .image-slide-content > div {
	background-color: rgba(255, 255, 255, 0.9);
	padding: 30px;
}

#frontpage-slider .image-slide-content .desc-contents {
    margin-bottom: 1em;
}

#frontpage-slider .image-slide-content .desc-text {
    color: #3F3F3F;
    font-size: 1.1em;
}

#frontpage-slider .image-slide-content .desc-link {
    color: #FFFFFF;
    outline: none;
    font-size: 1.7em;
}

#frontpage-slider .image-slide-content .desc-link > span {
    color: inherit;
    margin: 1.375em;
}

#frontpage-slider .slick-arrow {
    z-index: 1;
    transition: all 0.125s ease-in-out;
    position: absolute;
    top: 50%;
    background: #FFFFFF;
    opacity: 0.9;
    border-radius: 2px;
    height: 4.4vw;
    width: 3.3vw;
    min-height: 28px;
    min-width: 16px;
    background-image: url(/wp-content/themes/dhwpbstart/assets/img/Arrow.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

#frontpage-slider .slick-arrow:before {
    display: none;
}

#frontpage-slider .slick-next {
    transform: rotate(180deg);
    top: calc(50% - 2.2vw);
}
@media screen and (max-width: 636px) {
    #frontpage-slider .slick-next {
        top: calc(50% - 14px);
    }
}

#frontpage-slider .slick-prev {
    left: 0;
}

#frontpage-slider .slick-next {
    right: 0;
}

/* Section: Latest Servies */
#latest-services {
    display: flex;
    text-align: left;
}

#latest-services .row > div {
    margin-bottom: 2vw;
}

.tile {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 20px;
    height: 100%;
    z-index: 0;
    padding: 10px 12px;
    position: relative;
}

.tile-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.786458) 49.88%, #000000 100%);
    opacity: 0.5;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
}

.tile-title {
    padding-top: 200px;
    color: #FFFFFF;
    font-family: Exo;
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 37px;
}

.tile-desc {
    background: #FFFFFF;
    opacity: 0.9;
    padding: 20px;
    font-family: Exo;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
    color: #3F3F3F;
    margin-top: 10px;
    height: 12em;
}

.tile-link {
    border: 1px solid #917102;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 6px;
    transition: all 0.125s ease-in;
    color: #3F3F3F;
    position: absolute;
    bottom: 3em;
}

.tile-link:hover{
    background-color: #917102;
    color: white;
}

.tile-link > span {
    color: inherit;
    margin: 21px;
}
