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

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

::-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;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
	html, body{	 height: 100%;   background-color: rgb(38, 42, 43);}
	
	.slidecontainer {
    width: 960px;
		height: 647px;
    margin: auto;
		position: relative;
		top: 50%;
    margin-top: -323px;
		border: 1px solid rgb(73, 82, 84);
	}
	
	img.slidesjs-slide{
		max-width: 100%;
		width: auto !important;
		right: 0;
    margin: 0 auto;
	}

	.slidesjs-control {  z-index: 0;	}
	.slidecontainer img.last{ left: 0 !important; z-index: -1 !important;}
	
	
	
	#slides{	position: relative	}
	
	.slidesjs-previous, .slidesjs-next{
		position: absolute;
    top: 0;
    height: 100%;
    display: block;
    color: rgba(0, 0, 0, 0);
		z-index: 9999999;
    width: 50%;
	}
	
	.slidesjs-previous:hover{
		/*background-color: rgba(0,0,0,0.2);*/
		background-image: url(../img/left.png);
		background-repeat: no-repeat;
		background-position: 5% 52%; 
	}
	.slidesjs-next{
		right: 0;
	}

	.slidesjs-next:hover{
		/*background-color: rgba(0,0,0,0.2);*/
		background-image: url(../img/right.png);
		background-repeat: no-repeat;
		background-position: 95% 52%; 
	}

	.toolbar{
		max-width: 100%;
		height: auto;
	}





/* ==========================================================================
   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) {

}

 /* For tablets & smart phones */
    @media (max-width: 767px) {
      body {
        padding-left: 10px;
        padding-right: 10px;
      }
      .slidecontainer {
        width: auto;
				height: auto;
				top: auto;
				margin-top: 5px;
      }
    }

    /* For smartphones */
    @media (max-width: 480px) {
      .slidecontainer {
        width: auto;
				height: auto;
				top: auto;
				margin-top: 5px;
      }
    }

    /* For smaller displays like laptops */
    @media (min-width: 768px) and (max-width: 979px) {
      .slidecontainer {
        width: 724px;
				height: auto;
				top: auto;
				margin-top: 5px;
      }
    }
		
		

/* ==========================================================================
   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;
    }
}