/*
    Document   : EditYourWeb stylesheet
    Author     : Thar Design
    Description: Stylesheet for template EditYourWeb
*/

@font-face {
    font-family: 'sansationregular';
    src: url('../fonts/Sansation-Regular-webfont.eot');
    src: url('../fonts/Sansation-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Sansation-Regular-webfont.woff') format('woff'),
         url('../fonts/Sansation-Regular-webfont.ttf') format('truetype'),
         url('../fonts/Sansation-Regular-webfont.svg#sansationregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
	margin: 0;
}
html, body{
    font-family: 'Roboto', sans-serif;
}
html {
	position: relative;
	min-height: 100%;
}
body{
	/* Margin bottom by footer height */
	margin-bottom: 200px;
}
h1,h2,h3,h4,h5,h6{
    font-weight: lighter;
}
.contents{
	padding-bottom: 10px;
}
.sidebar h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: .3em;
}
.navbar-brand {
    font-family: 'sansationregular';
	color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}

/* Header */
.header{
    color: #fff;
}
.header>.container>.navbar {
	height: auto;
	color: #000000;
	font-size: 14px;
	font-family: "Trebuchet MS", arial, verdana;
	text-decoration: none;
	padding-right: 5px;
	padding-left: 5px;
	background-color: #aaaaaa;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.navbar-nav>li>a{
    font-size: 1.1em!important;
    color: #eee;
	padding: 15px 8px;
}
.navbar-nav>li>a:hover, .navbar-nav>li>a:focus{
    color: #222;
    background: none;
}
.navbar-nav>li.active>a {
    color: #222!important;
    background: #eee;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
	background: none;
}

.navbar-nav>li.active>a, .navbar-nav>li.childactive>a {
	color: #4a5e03;
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
}

/* Open default child menus*/
@media(max-width:767px) {
    li.active>a>.caretcontent, li.active>a>.caret, li.childactive>a>.caretcontent, li.childactive>a>.caret {
        display:none;
    }
    li.active>.dropdown-menu, li.childactive >.dropdown-menu {
        display: block;
    }
    li.active>.dropdown-menu li a, li.childactive >.dropdown-menu li a {
        padding: 5px 15px 5px 25px;
    }
    li.active .dropdown-menu, li.childactive, .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}


.sub_menu li a {
	color: #000;
}

/* expand 3th level menu to right */
.dropdown>.dropdown-menu .dropdown-menu {
	left: 100%;
	top: 0;
}


/* Forms */
.search-form{
    margin-top: .5em;
}
.search-form #search{
    margin-right: .3em;
}
.comment_form{
    margin-bottom: .8em;
}

/* Calendar */
.start_day {
    margin: 5px 5px 0 0;
	background-color: #222;
}
.calendarevent hr{
	border-top: 2px #222 solid !important;
}
.calendarevent .event_next::before {
	content: url(../img/next.png);	
}
/* Offers */
.offer-image {
	position:relative;
	overflow:hidden;
	padding-bottom:100%;		
}
.offer-image img{
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}	
.offer-content {
	text-align: center;
	margin: 20px 0;
	border: 1px solid #000;
	-webkit-box-shadow: 0 5px 30px 0 rgba(0,0,0,.6);
	-moz-box-shadow: 0 5px 30px 0 rgba(0,0,0,.6);
	box-shadow: 0 5px 30px 0 rgba(0,0,0,.6);
}
.offer-info {
	padding: 5px;
	background-color: #ffffff;
}
.offer-info:hover {
	background-color: #ececec;
}	
.offer-title {
	font-weight: bold;
}
.offer-title a{
	color: #666;
}
.offer-info:hover a, .offer-title a:hover{
	color: #000;
}
.offer-regular {
	margin-left: 5px;
}
.offer-from {
	color: #ff0000;
	text-decoration: line-through;
}
.offer-for {
	font-weight: bold;
	margin-left: 5px;
}
.offer-ask {
	margin-left: 5px;
	font-style: italic;
}
/* == SLIDESHOW > HEADER == */
/* >>Arrows: different position & using images */
.slick-prev, .slick-next {
    top: 75%;
}
.slick-prev:before, [dir='rtl'] .slick-prev:before, .slick-next:before, [dir='rtl'] .slick-next:before {
    content: none;
}
.slick-arrow {
	width: 42px;
	height: 42px;
	opacity: .75;
}
.slick-prev {
	background: url(../img/prev.png) no-repeat;
	left: 5px;
}
.slick-next {
	background: url(../img/next.png) no-repeat;
	right: 5px;
}
.slick-prev:hover, .slick-prev:focus {
	background: url(../img/prev.png) no-repeat;
	opacity: 1;
}
.slick-next:hover, .slick-next:focus {
	background: url(../img/next.png) no-repeat;
	opacity: 1;
}

/* >>Dots: different position & colors */
.slick-dots {
    position: absolute;
	right: 20px;
    text-align: right;
}
.slick-dots li button:hover:before, .slick-dots li button:focus:before {
    opacity: .75;
}
.slick-dots li button:before {
    opacity: 1;
    color: #ffffff;
}
.slick-dots li.slick-active button:before {
    opacity: 0.7;
	color: #ff0000;
}

/* slick squares */
.slick-dots li button:before {
	background-color: #ffffff;
	content: "";
	width: 15px;
	height: 15px;
}
.slick-dots li.slick-active button:before {
	background-color: #E30713;
}


/* >>Captions: correspond with captionTypes in Settings */
.slick-slide .caption {
	background-color: rgba(33, 33, 33, 0.6);
	color: #ffffff;
	text-transform: uppercase;
	padding: 5px 10px;
}
.caption.top-left {
    background-color: #585858;
    -webkit-box-shadow: 10px 10px 15px 0 rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 15px 0 rgba(0,0,0,0.75);
    box-shadow: 10px 10px 15px 0 rgba(0,0,0,0.75);
    border: 1px solid white;
    padding: 15px;
	top: 10%;
    left: 10%;
}
.caption.top-right {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    top: 10%;
    right: 10%;
}
.caption.bottom-left {
    background-color: #ffffff;
	color: #585858;
    border: 1px solid #585858;
	margin-left: 40px;
	bottom: 10%;
}
.caption.bottom-right {
	bottom: 40px;
	right: 40px;
}
.caption.bottom {
	bottom: 0;
	left: 10%;
	right: 10%;
	text-align: center;
}
@media (max-width: 991px) {
	.caption.top-right {
		font-size: 25px;
		left: 50%;
	}
	.caption.bottom-right {
		font-size: 11px;
		left: 50%;
	}
}
@media (max-width: 650px) {
	.caption.top-right {
		font-size: 20px;
		left: 40%;
	}
	.caption.bottom-left {
		bottom: 50px;
	}
	.caption.bottom-right {
		font-size: 10px;
		left: 40%;
	}
}
@media (max-width: 500px) {
    .slick-slide>.caption {
		display: none !important;
	}
}


/* Footer */
footer{
	padding: 2.5em 0 3.2em 0;
	background: #222;
	color: #eee;
	/* Set the fixed height of the footer here */
	height: 200px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
footer a{
	color: #fff;
}
footer a:hover, footer a:active, footer a:visited {
    color:  #fff;
    text-decoration: underline;
}
footer>.container>div>ul{
	list-style: none;
	list-style-position: outside;
	padding: 0;
}
footer>.container>div>ul>li{
	list-style: none;
}
footer>.container>.col-md-3{
	margin: 0 auto;
}
footer .copyright{
    text-align: center;
    margin-top: .8em;
}

/* Media Queries */
@media(max-width:767px){
    body{
        /* Margin bottom 0 because position is relative */
        margin-bottom: 0;
    }
    footer {
        position: relative;
        height: auto;
    }
    .nav{
        border-top: 1px solid #eee!important;
    }
    .nav>li{
        border-bottom: 1px solid #eee!important;
    }
}