/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 *   Customized by: SSB
 *
 * ============================================= */


body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

a:active,
a:hover {
  outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}


@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}





/* ------------------------------------------
  PAGE STYLES
--------------------------------------------- */

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #fff;
  background: #3399FF;
  font:normal 100%/1.4;
  
  font-family: 'Raleway', sans-serif;
}

section {
  border-bottom: 0px solid #999;
  text-align: center;
  padding: 25px 0 0;
  height: auto;
  min-height: 800px;
  width: 100%;
}

/* 769px > x */
@media only screen and (max-width: 768px) {
  section {
    margin-bottom: 400px;
}
}

h1 {
  font-family: 'Josefin Slab', serif;
  font-size: 3.5em;
  font-weight: 300;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: .5em;
  margin-top: 2em;
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 3.25em;
    }
}

h2 {
  font-size: 1.75em;
  font-weight: 300;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: .25em;
}

h3 {
  font-size: 1.5em;
  font-weight: 300;
  text-align: center;
  margin-bottom: .25em;
}

h4 {
  width: 96%;
  margin: auto;
  font-size: 1.25em;
  font-weight: 300;
  text-align: left;
  margin-bottom: 1em;
}


h5 {
  font-size: 1.3em;
  font-weight: 300;
  text-align: left;
  margin-left: 10px;
}
  
p {
  font-size: 1em;
  font-weight: 200;
  width: 90%;
  margin: auto;
  margin-bottom: 10px;
  text-align: left;
}

.img-align {
  float: left;
  }
@media only screen and (max-width: 640px) {
  .nowrap {
    overflow: auto;
    }
  .img-align {
    text-align: center;
    float: none;
  }
}

/* ------------------------------------------
  DIV STYLES
--------------------------------------------- */


.contact {
	position: relative;
	width: 40%;
	min-width: 320px;
	height: auto;
	min-height: 200px;
	border: 1px solid #999;
        border-radius: 20px;
        background:#3399FF;  
	margin: 0px auto 5px auto;
	padding: 20px 20px 20px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

/* 1024px > x */
@media only screen and (max-width: 1024px) {

	.contact {
	width: 50%;
	}
}

@media only screen and (max-width: 773px) {
        .contact {
		width: 70%;
	}
}

/* 667px > x */
@media only screen and (max-width: 667px) {
        .contact {
		width: 90%;
	}
}

@media screen and (max-width: 567px) {
        .img-hide {
		display: none;
	}
}

.contact p {
  font-size: 1.1em;
  font-weight: 200;
  margin-bottom: 10px;
}

.contact li {
	text-align: left;
}

.contact a:link    {
  text-decoration:  none;
  color:            #fff;
  } 

.contact a:hover   {
  text-decoration:  none;
  color:            #236bb2;
  } 
  
.contact a:active    {
  text-decoration:  none;
  color:            #236bb2;
  } 


.content {
        position: relative;
	width: 400px;
	background: #3399FF; 
	border-radius: 0px;
	left: 0;
	margin: 0 auto 0px auto;
	padding: 30px 0px 30px 0px;
}

/* 1024px > x */
@media only screen and (max-width: 1024px) {

	.content {
		width: 400px;
	}
}

/* 769px > x */
@media only screen and (max-width: 768px) {
        .content {
		width: 100%;
	}
}

.content1{
        position: relative;
	width: 55%;
	min-width: 320px;
	height: auto;
	min-height: 350px;
	border: 1px solid #999;
        border-radius: 20px;
        background: #3399FF;  
	margin: 0px auto 5px auto;
	padding: 20px 10px 20px 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

/* 1024px > x */
@media only screen and (max-width: 1024px) {

	.content1 {
		width: 75%;
	}
}

/* 769px > x */
@media only screen and (max-width: 768px) {
        .content1 {
		width: 90%;
	}
}

.content1 p {
  font-size: 1.1em;
  font-weight: 200;
  width: 96%;
  margin: auto;
  margin-bottom: 10px;
  text-align: left;
  
}


.content1 a:link    {
  text-decoration:  none;
  color:            #3399FF;
  } 

.content1 a:hover   {
  text-decoration:  none;
  color:            #236bb2;
  } 
  
.content1 a:active    {
  text-decoration:  none;
  color:            #236bb2;
  } 




/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
  background: #3399FF;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}



.logo {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
  font-family: 'Josefin Slab', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  padding: 0 20px;
  color: #fff;
  float: left;
}

@media only screen and (max-width: 320px) {
        .logo {
		font-size: 18px;
	}
}



/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}


@media screen and (min-width: 40em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}
@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
  }
}


.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid white;
  text-decoration: none;
  background: #3399FF;
  padding: 0.7em 1em;
  color: #fff;
  width: 100%;
  float: left;
}

.nav-collapse a:active,
.nav-collapse a:hover,
.nav-collapse a:focus,
.nav-collapse .active a {
  background: #3399FF;
}
@media screen and (min-width: 40em) {
  .nav-collapse a {
    border-left: 1px solid white;
    padding: 1.02em 2em;
    text-align: center;
    border-top: 0px;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  background: #236bb2;
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}

/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
  background: #3399FF;
}

.nav-toggle:before {
  color: #fff; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon 78*/
}