/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.2;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

ul,
ol{
	list-style-type: none;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#cal{
	background-color: #faf9f2;
	padding: 0;
}
#owl-demo{margin-top: 0px;}
#owl-demo .item img{
	display: block;
	width: 100%;
	height: auto;
}
.owl-item ul.item{
	overflow: hidden;
	width: 80%;
	margin: 0 auto;;
}
.owl-item ul.item li{
	width: 30%;
	float: left;
	margin-right: 3%;
	margin-bottom: 3%;
}
.owl-buttons{
	width: 100%;
	position: absolute;
	top: 50%;
}
	.owl-buttons div{
	width: 20px;
	height: 36px;
	position: absolute;
	}
	.owl-buttons .owl-prev{
	background: url(../img/cal_arr_l.png) no-repeat center center!important;
	left: 3%;
	}
	.owl-buttons .owl-next{
	background: url(../img/cal_arr_r.png) no-repeat center center!important;
	right: 3%;
	}
.cal-icon img{
	width: inherit!important;
	height: inherit!important;
	display: inline!important;
	margin-right: 3%;
}
#instagram{
	width: 80%;
	margin: 0 auto;
	text-align: right;
}
#instafeed{
	width: 100%;
	padding: 0;
	margin: 5px 0 0;
}
	#instafeed li{
	float: left;
	width: 11.5%;
	margin: .5%;
	}
	#instafeed li img{
	width: 100%;
	height: 100%;
	}

/* ==========================================================================
	instagram
========================================================================== */
.ig-b- { display: inline-block; }
.ig-b- img { visibility: hidden; }
.ig-b-:hover { background-position: 0 -60px; } .ig-b-:active { background-position: 0 -120px; }
.ig-b-v-24 { width: 137px; height: 24px; background: url(//badges.instagram.com/static/images/ig-badge-view-sprite-24.png) no-repeat 0 0; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
.ig-b-v-24 { background-image: url(//badges.instagram.com/static/images/ig-badge-view-sprite-24@2x.png); background-size: 160px 178px; } }



/* ==========================================================================
	Media Queries
========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@media screen and (max-width: 640px) and (orientation: portrait){
	.owl-item ul.item
	{
		width: 85%;
	}
	.owl-item ul.item li{
		width: 45%;
		float: left;
		margin-right: 3%;
		margin-bottom: 3%;
	}
	#page4 .owl-buttons
	{
		top: 48%;
	}
	#page4 .owl-buttons .owl-prev
	{
		width: 10px;
		height: 27px;
		background-size: 100% 100% !important;
		left: 2% !important;
	}
	#page4 .owl-buttons .owl-next
	{
		width: 10px;
		height: 27px;
		background-size: 100% 100% !important;
		right: 2% !important;
	}
}
@media screen and (max-width: 640px) and (orientation: landscape){
	#page4 .anim2
	{
		top: 8% !important;
	}
	#page4 .anim3
	{
		left: 65% !important;
	}
	#page4 .owl-buttons
	{
		top: 45%;
	}
	#page4 .owl-buttons .owl-prev
	{
		width: 8px;
		height: 23px;
		background-size: 100% 100% !important;
		left: 0% !important;
	}
	#page4 .owl-buttons .owl-next
	{
		width: 8px;
		height: 23px;
		background-size: 100% 100% !important;
		right: 0% !important;
	}
}