/* -----------------------------------
 * Slidebars
 * Version 0..10
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, #sb-site, .sb-site-container, .sb-slidebar {
	/* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html, body {
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
	height: auto;
	position: relative; /* Required for static Slidebars to function properly. */
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
	overflow: hidden; /* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
}

/* ----------
 * 002 - Site
 */

#sb-site, .sb-site-container {
	/* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
	width: 100%;
	position: relative;
	z-index: 1; /* Site sits above Slidebars */
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 999; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #fff; /* Default Slidebars background colour, overwrite this with your own css. */
	-webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-slidebar {
	left: 0; /* Set Slidebar to the left. */
}

.sb-right {
	right: 0; /* Set Slidebar to the right. */
}

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
	display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
	z-index: 99999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
	-webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

/* Slidebar widths for browsers/devices that don't support media queries. */
	.sb-slidebar {
		width: 30%;
	}

	.sb-width-thin {
		width: 15%;
	}

	.sb-width-wide {
		width: 45%;
	}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
	.sb-slidebar {
		width: 70%;
	}

	.sb-width-thin {
		width: 55%;
	}

	.sb-width-wide {
		width: 85%;
	}
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
	.sb-slidebar {
		width: 55%;
	}

	.sb-width-thin {
		width: 40%;
	}

	.sb-width-wide {
		width: 70%;
	}
}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
	.sb-slidebar {
		width: 40%;
	}

	.sb-width-thin {
		width: 25%;
	}

	.sb-width-wide {
		width: 55%;
	}
}

@media (min-width: 992px) { /* Slidebar widths on large screens. */
	.sb-slidebar {
		width: 30%;
	}

	.sb-width-thin {
		width: 15%;
	}

	.sb-width-wide {
		width: 45%;
	}
}

@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */
	.sb-slidebar {
		width: 20%;
	}

	.sb-width-thin {
		width: 5%;
	}

	.sb-width-wide {
		width: 35%;
	}
}

/* ---------------
 * 004 - Animation
 */

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
	-webkit-transition: -webkit-transform 400ms ease;
	   -moz-transition: -moz-transform 400ms ease;
	     -o-transition: -o-transform 400ms ease;
	        transition: transform 400ms ease;
	-webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
}

/* --------------------
 * 005 - Helper Classes
 */

.sb-hide {
	display: none;
}

#calendar h4 {
    margin-top: 0px!important;
}
#calendar_top {
    font-size: 20px;
    border-top: 1px solid #E0E0E0;
    padding: 5px 0px;
}
.date-year {
    position: absolute;
    top: 10px;
    left: 27px;
    color: white!important;
}
.date-month-start {
  position: absolute;
  width: 100%;
  top: 68px;
  text-align: center;
  font-size: 12px;
  padding-left: 2px;
}
.date-day-start {
  position: absolute;
  width: 100%;
  top: 22px;
  text-align: center;
  font-size: 40px;
  padding-left: 2px;
}
.form-control {
    max-width: 100%!important;
}


@media (max-width: 767px) {
    .navbar {
        display:none;
    }
    .top_mobile {
        display:block !important;
    }
    #sb-site {
        margin: 0px !important;
    }
    .sb-slidebar {
    width: 100%!important;
}
}

.sb-slidebar {
    margin-top: 93px;
    width: 600px;
}

.sb-slidebar .sf-menu {
    padding: 0;
    margin: 0;
    list-style-type: none !important;
    width: 100%;
    border-radius: 0 0 15px 0;
    display: block;
    font-family: 'Open Sans',sans-serif;
    font-size: 14px;
    line-height: 1.428571429;
}
.sb-slidebar.sb-active {
    background: white;
}
.sb-slidebar .sf-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
    position:relative;
}

.sb-slidebar .sf-menu li a {
    width: 100%;
    display: inline-block;
    padding: 1em;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 1.3em;
    background: #fff;
    border-bottom: 1px solid #cfcfcf;
    transition: transform .1s;
    font-weight: 300;
}

.sb-slidebar .sf-menu li a:hover {
    background: #ffe18e;
    -webkit-transform: translateZ(0) translateX(5px);
    transform: translateZ(0) translateX(5px);
}

.sb-slidebar .sf-menu-sub li a {
    background: #f0f0f0;
    padding-left:35px;
    color: #4d4d4d;
}

.sb-slidebar .sf-menu-sub li .sf-menu-sub li a {
    padding-left:70px;
}

.sb-slidebar .sf-menu li a:before {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -5px;
    display: block;
    width: 10px;
    content: '';
    background: #ffc72c;
    height:100%;
}

.top_mobile {
    top:0px;
    width:100%;
    position:fixed;
    z-index:99;
    height:20px;
    background-color: transparent;
    display:none;
}
.sb-slidebar.sb-slidebar.sb-active {
    overflow-x: hidden;
}
.sb-toggle-left {
    padding: 0px;
    float: left !important;
    display: block;
    border-radius: 0px 0px 0px 10px;
    margin-top: 0px;
    z-index: 999;
}



.sb-slidebar li .plus {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62px;
    padding: 10px;
    border-bottom: 1px solid #ffac12!important;
    background: #ffc72c;
    border: 0;
    z-index: 999;
}
.sb-slidebar li .plus .fa {
    position: absolute;
    top: 1rem;
    left: 60%;
    width: .1rem;
    height: 1rem;
    margin-left: -.05rem;
    content: '';
    -webkit-transition: -webkit-transform .1s ease;
    transition: transform .1s ease;
    font-size:24px;
}
.sb-slidebar li .plus .fa:after {
    position: absolute;
    top: 1rem;
    left: -.45rem;
    width: 1rem;
    height: .1rem;
    margin-top: -.55rem;
    content: '';
    background: #d47415
}
.sb-slidebar li .plus .item-toggle:hover {
    background: #ffe18e;
}
.sb-slidebar li .plus .item-toggle {
    border-bottom-color: #ffac12;
    background: #ffcd45
}
.sb-slidebar li .plus .fa {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}
.sb-slidebar li .plus .fa:after {
    opacity: 0
}


.sb-slidebar li .plussub {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62px;
    padding: 10px;
    border-bottom: 1px solid #ffac12!important;
    background: #ffc72c;
    border: 0;
    z-index: 999;
    margin-right: 62px;
    height: 62px;
}
.sb-slidebar li .plussub .fa {
    position: absolute;
    top: 1rem;
    left: 60%;
    width: .1rem;
    height: 1rem;
    margin-left: -.05rem;
    content: '';
    -webkit-transition: -webkit-transform .1s ease;
    transition: transform .1s ease;
    font-size:24px;
}

.sb-slidebar li .plussub .fa:after {
    position: absolute;
    top: 1rem;
    left: -.45rem;
    width: 1rem;
    height: .1rem;
    margin-top: -.55rem;
    content: '';
    background: #d47415
}
.sb-slidebar li .plussub .item-toggle:hover {
    background: #ffe18e;
}
.sb-slidebar li .plussub .item-toggle {
    border-bottom-color: #ffac12;
    background: #ffcd45
}
.sb-slidebar li .plussub .fa {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}
.sb-slidebar li .plussub .fa:after {
    opacity: 0
}