/***** Home page content *****************/
.page-template-page-home #dgo-sect-1,
.page-template-page-home-alt #dgo-sect-1 {
	height: 542px;
	background: none;
}

	/***** Home Slide Show *************/
	.metaslider {
		position: relative;
		width: 100%;
		height: 542px;
		overflow: hidden;
	}

	.slides {
		position: absolute;
		left: 50%;
		top: 50%;
		height: 100%;
		width: 1918px;
		-webkit-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
		z-index: 9;
	}

	.flex-direction-nav a {
		top: 265px !important;
	}

	.metaslider .caption-wrap {
		width: 560px !important;
		top: 30px;
		bottom: inherit !important;
		left: 781px !important;
		background: none !important;
		font-family: 'Economica', sans-serif;
		font-size: 30px;
		font-size: 3rem;
		opacity: 1 !important;
	}

	.metaslider .caption {
		padding: 0 !important;
	}

	.metaslider .caption a,
	.metaslider .caption a:visited,
	.metaslider .caption a:hover {
		color: #fff;
		text-decoration: none;
	}

	.metaslider .slides .caption img {
		position: relative;
		float: left;
        max-width: 245px !important;
		z-index: 99;
	}

	.metaslider .caption a>span {
		display: block;
		position: relative;
		float: left;
		background: url(../png/bg-trans-black2.png) repeat !important;
		width: 149px;
		padding: 20px 10px 20px 80px;
		top: 122px;
		left: -60px;
		line-height: 1.2;
		z-index: 9;
	}

	.metaslider .caption span span {
        display: inline-block;
		background: url(../png/arrow-right-white-shadow.png) 60% bottom no-repeat;
		text-shadow: #333 2px 2px 8px;
	}

	.metaslider .slides li:hover .caption span span {
		background-image: url(../png/arrow-right-green-shadow2.png);
	}

	.metaslider .slide-120 .caption-wrap {
		width: 560px !important;
		top: 30px;
		left: 703px !important;
	}

	.metaslider .slide-120 .caption span {
		top: 111px;
		left: -65px;
	}

	.metaslider .slide-121 .caption-wrap {
		width: 740px !important;
		top: 25px;
		left: 600px !important;
	}

	.metaslider .slide-121 .caption span {
		top: 125px;
		left: -65px;
	}

	.metaslider .slide-523 .caption-wrap {
		top: 25px;
		left: 785px !important;
	}

	.metaslider .slide-523 .caption span {
		top: 125px;
		left: -65px;
	}

	.metaslider .slide-523 .caption p {
		background-position: 75% bottom;
	}

	.metaslider .slide-524 .caption-wrap {
		top: 10px;
		left: 770px !important;
	}

	.metaslider .slide-524 .caption span {
		top: 136px;
		left: -65px;
	}

	.metaslider .slide-524 .caption p {
		background-position: 92% bottom;
	}

	.metaslider .slide-85467 .caption-wrap {
		left: 834px !important;
	}

    .metaslider .slide-85467 .dc-slide-button {
        max-width: 225px;
		text-align: center;
		top: 396px;
    }

    .metaslider .dc-slide-button,
    .metaslider .dc-slide-button:visited {
        position: relative;
        top: 373px;
        display: block;
        max-width: 233px;
        padding: 11px 48px 12px 19px;
        font-family: 'Ek Mukta', sans-serif;
        font-size: 40px;
        color: #fff;
        font-weight: 500;
        line-height: 1 !important;
        background: #22ba15;
        border: 2px solid #22ba15;
        transition: all 0.1s linear;
	}

    .metaslider .dc-slide-button:hover {
        text-decoration: none;
        color: #000 !important;
        background: #fff;
	}

    .metaslider .dc-slide-button:after {
        content: '';
        position: absolute;
        border-left: solid;
        border-top: solid transparent;
        border-bottom: solid transparent;
        border-width: 15px;
        margin: 6px 0 0 18px;
        color: #fff;
        transition: color 0.1s linear;
	}

    .metaslider .dc-slide-button:hover:after {
        color: #22ba15;
    }

    @media screen and (max-width: 805px) {
        .metaslider .dc-slide-button,
        .metaslider .dc-slide-button:visited {
            top: 233px;
            max-width: 198px;
            font-size: 32px;
            padding: 9px 30px 8px 16px;
        }

        .metaslider .dc-slide-button:after {
            border-width: 11px;
            margin: 6px 0 0 16px;
        }
    }

    @media screen and (max-width: 522px) {
        .metaslider .dc-slide-button,
        .metaslider .dc-slide-button:visited {
            top: 180px;
            max-width: 148px;
            font-size: 24px;
            padding: 8px 26px 6px 12px;
        }

        .metaslider .dc-slide-button:after {
            border-width: 9px;
            margin: 4px 0 0 14px;
        }
    }
	/***** end Home Slide Show *********/

.page-template-page-home #content,
.page-template-page-home-alt #content {
	float: none;
	width: 100%;
}

.page-template-page-home #content .entry-content>h1,
.page-template-page-home #content .entry-content>p,
.page-template-page-home-alt #content .entry-content>h1,
.page-template-page-home-alt #content .entry-content>p {
	width: 90%;
	max-width: 880px;
	margin: 0 auto 27px auto;
}

.page-template-page-home #content .entry-content>p,
.page-template-page-home-alt #content .entry-content>p {
    font-size: 21px;
    font-size: 2.1rem;
}

.page-template-page-home #content hr,
.page-template-page-home-alt #content hr {
	width: 69%;
	background-color: #cac7f2;
	margin-top: 40px;
}

.page-template-page-home #content a.content-read-more-link,
.page-template-page-home-alt #content a.content-read-more-link {
	float: none;
	left: inherit;
	margin: 0 auto;
	font-size: 24px;
	font-size: 2.4rem;
	width: 150px;
	background-size: 10px;
}

	/***** Home sidebar content ****************/
	#dgo-sect-5 * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

	#dgo-sect-5 {
		background: url(../jpg/bg-home-sect.jpg) center top / cover no-repeat;
		padding: 60px 0 0;
	}

	.page-template-page-home-alt #dgo-sect-5 {
		background: url(../jpg/bg-home-new-sect.jpg) center top / cover no-repeat;
		padding: 60px 0;
	}

	#dgo-sect-5 .dgo-content {
        max-width: 1200px;
        width: 96%;
        padding: 0 2%;
	}

	#dgo-sect-5 #secondary {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
		width: 100%;
		max-width: none;
	}

	#dgo-sect-5 aside {
        flex: 0 1 300px;
        margin: 0 0 60px;
		padding: 15px;
		background: #fff;
	}

	#dgo-sect-5 aside img {
		width: 100%;
		height: auto;
	}

	#dgo-sect-5 aside h3,
    .widget_sp_image h3 {
		font-family: 'Roboto Condensed', sans-serif;
		font-size: 30px;
		font-size: 3rem;
		color: #958786;
		text-align: center;
		padding: 30px 0 20px 0;
	}

	#dgo-sect-5 aside p,
    .widget_sp_image p {
        font-family: 'Rubik', sans-serif;
        font-weight: 300;
		font-size: 16px;
		font-size: 1.6rem;
		color: #484848;
		line-height: 1.6;
		padding: 10px 4%;
	}

	#dgo-sect-5 aside .home-side-text {
		min-height: 100px;
	}

	#dgo-sect-5 aside a.home-side-link,
	#dgo-sect-5 aside a.home-side-link:visited,
    .widget_sp_image a.home-side-link,
    .widget_sp_image a.home-side-link:visited {
		display: block;
		width: 72%;
		margin: 0 auto;
		padding: 2px 5% 2px 4%;
		font-family: 'Roboto', sans-serif;
		font-size: 17px;
		font-size: 1.7rem;
		color: #bebbbf;
		border: #dcdfdc 1px solid;
		border-bottom-width: 2px;
		border-radius: 5px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
		background: #fff url(../png/arrow-right-white-bg-green.png) right center no-repeat;
		background-size: contain;
	}
	
	#dgo-sect-5 aside a.home-side-link:hover,
    .widget_sp_image a.home-side-link:hover {
		color: #fff;
		text-decoration: none;
		background-color: #8cc63f;
	}

        /***** Home sidebar widget in page sidebar **********/
        .widget_sp_image {
            padding: 5%;
        }

        .widget_sp_image .widget-title {
            display: none !important;
        }
        /***** end Home sidebar widget in page sidebar ******/
	/***** end Home sidebar content ************/
@media screen and (max-width: 805px) {
	/***** Home Slide Show *************/
	.page-template-page-home #dgo-sect-1,
	.page-template-page-home-alt #dgo-sect-1 {
		height: auto;
	}

	.metaslider {
		height: 361px;
	}

	.slides {
		width: 1277px;
	}

	.flex-direction-nav a {
		top: 175px !important;
	}

	.metaslider .caption-wrap {
		font-size: 20px;
		font-size: 2rem;
		left: 520px !important;
	}

	.metaslider .slide-120 .caption-wrap {
		left: 466px !important;
		top: 20px;
	}

	.metaslider .slide-121 .caption-wrap {
		width: 480px !important;
		left: 415px !important;
		top: 20px;
	}

	.metaslider .slide-523 .caption-wrap,
	.metaslider .slide-524 .caption-wrap {
		left: 525px !important;
		top: 17px;
	}

	.metaslider .slides .caption img {
		width: 160px !important;
	}

	.metaslider .slides .slide-121 .caption img {
		width: 320px !important;
	}

	.metaslider .slides .slide-523 .caption img,
	.metaslider .slides .slide-524 .caption img {
		width: 155px !important;
	}

	.metaslider .caption a>span {
		width: 89px;
		padding: 14px 16px 14px 50px;
		top: 82px;
		left: -30px;
	}

	.metaslider .slide-120 .caption a>span {
		top: 76px;
		left: -40px;
	}

	.metaslider .slide-121 .caption a>span {
		top: 76px;
		left: -40px;
	}

	.metaslider .slide-523 .caption a>span,
	.metaslider .slide-524 .caption a>span {
		top: 75px;
		left: -35px;
	}

	.metaslider .slide-85467 .caption-wrap {
		left: 547px !important;
	}

    .metaslider .slide-85467 .dc-slide-button {
        max-width: 165px;
		top: 245px;
    }

	.metaslider .caption span span {
		background-size: 17px;
		background-position: 72% bottom;
	}
	/***** end Home Slide Show *********/


	/***** Home sidebar content ****************/
	#dgo-sect-5 aside h3 {
		padding: 40px 0 16px 0;
	}

	#dgo-sect-5 aside p {
		padding: 10px 8%;
	}
	/***** end Home sidebar content ************/
}

@media screen and (max-width: 522px) {
	.page-template-page-home #content,
	.page-template-page-home-alt #content {
		width: 100%;
		margin: 0;
	}

	.page-template-page-home #content .entry-content img,
	.page-template-page-home-alt #content .entry-content img {
		width: 100%;
	}

		/***** Home Slide Show *************/
		.metaslider {
			height: 272px;
		}
	
		.slides {
			width: 963px;
		}

		.flex-direction-nav a {
			top: 135px !important;
		}

		.metaslider .caption-wrap {
			top: 10px;
			left: 380px !important;
		}

		.metaslider .slide-120 .caption-wrap {
			left: 352px !important;
			top: 16px;
		}

		.metaslider .slide-121 .caption-wrap {
			width: 410px !important;
			left: 300px !important;
			top: 10px;
		}

		.metaslider .slide-523 .caption-wrap,
		.metaslider .slide-524 .caption-wrap {
			left: 400px !important;
			top: 13px;
		}

		.metaslider .slides .caption img {
			width: 126px !important;
		}

		.metaslider .slides .slide-120 .caption img {
			width: 144px !important;
		}

		.metaslider .slides .slide-121 .caption img {
			width: 250px !important;
		}

		.metaslider .slides .slide-523 .caption img,
		.metaslider .slides .slide-524 .caption img {
			width: 120px !important;
		}

		.metaslider .caption a>span {
			top: 53px;
			left: -30px;
		}

		.metaslider .slide-120 .caption a>span {
			top: 46px;
		}

		.metaslider .slide-121 .caption a>span,
		.metaslider .slide-522 .caption a>span,
		.metaslider .slide-523 .caption a>span {
			top: 56px;
		}

        .metaslider .slide-85467 .caption-wrap {
            left: 410px !important;
        }

        .metaslider .slide-85467 .dc-slide-button {
            max-width: 122px;
            top: 196px;
        }
		/***** end Home Slide Show *********/
	/***** end Home page content *************/
}


@media screen and (max-width: 500px) {
	#dgo-sect-5 {
		margin-top: 40px;
	}
}


@media screen and (max-width: 385px) {
	/***** Home Slide Show *************/
	.metaslider .caption-wrap {
		font-size: 17px;
		font-size: 1.7rem;
	}

	.metaslider .caption a>span {
		width: 83px;
	}

	.metaslider .caption-wrap span span {
		background-size: 14px;
	}
	/***** end Home Slide Show *********/
}
/***** end Home page content *************/
