body{
	background-color: #b3e0ff;
	font-size:87.5%;
	font-family: 'Open Sans', sans-serif;
	color:#666666;
	line-height:1.7em;
	text-align:left;
}

a{
	text-decoration:none;
	color:#004d80;
}

a:hover{
	color:#002d4d;
}

h1{
    text-align: center;
    color:#004d80;

}
h2{
        text-align: center;
	color:#0099cc;

}

.clr{
	clear:both;
}

#container{
	margin:0 auto;
	width:80%;
	overflow:auto;
	clear:both;

}


.main-header
{
    margin: 0 auto;

}


#header
{
    display:inline-block;
	background-color: white;
    width: 100%;
    text-align: center;
}
.main-header img#logo{
    width: 200px;
    transition: width 2s;
}

#header-text
{
    font-size:150%;

}

#text_header
{
    font-size:100%;

}

.column {

    width: 100%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.main-header .main-nav{
	background:#004d80;
	height:40px;
	border-radius:5px;
	border:#c13046 1px solid;
}

.main-header .main-nav ul{
	list-style:none;
	margin:0;
	padding:0;
}

.main-header .main-nav li{
	float:left;
	display:inline;
	margin-right:3px;
}

.main-header .main-nav li a{
	color:#fff;
	display:inline-block;
	padding:10px 20px;
	height:20px;
}

.main-header .main-nav li:last-child
{
    float:right;
  margin-right:0px;
}

.fa {
  font-size: 30px;
  text-align: center;
  text-decoration: none;

}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.main-header .main-nav li a:hover,.main-header .main-nav li a.active{
	background:#002d4d;
	color:#fff;
	border-radius:5px;
}

#slideshow
{
    margin: 0 auto;
    padding: 10px 0px;

}


.swipe{
    overflow:auto;
    white-space:nowrap;
    max-height: 100px
}

.mySlides
{
    border-radius: 8px;
    margin: 0 auto;

    width: 100%;


}
.mySlide
{
    border-radius: 8px;
    margin: 0 auto;

    width: 80%;


}
#content{
	overflow:auto;
	width:100%;
	float:left;
	transition: width 1s; /* animation */
}

#content article{
	border-radius:5px;
	overflow:auto;
	background:#ffffff;
	padding:10px 15px;
	margin-top:10px;

}

#content article span{
	font-style:italic;
	color:#000000;
}

#content a{

     text-decoration: underline;
}

#content a.readmore{
	display:block;
	float:right;
	color:#ffffff;
	padding:5px 9px;
	background:#004d80;
	border-radius:5px;
        text-decoration: none;
}

#content a.readmore:hover{
	background:#002d4d;
}



#sidebar .block{
	border-radius:5px;
	background:#ffffff;
	margin: 10px 0 0 10px;
	padding:10px 15px;
	overflow:auto;
}

footer{
	background:#004d80;
	height:40px;
	border:#c13046 1px solid;
	border-radius:5px;
	margin-top:10px;
}

footer p{
	color:#fff;
	margin:0;
	padding:10px 0 0 0;
	text-align:center;
}


img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

#thumbnails { display: block; margin-bottom: 10px; }
#thumbnails ul li { float: left; margin-right: 26px; margin-bottom: 12px; }

/** clearfix **/
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }

html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/* Start Media Queries */

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px)  and (max-width : 1070px) {

	#container{
		width:95%;
	}



	.main-header img#logo{
		margin: 0 auto;
		display:block;
		width:100%;
                float: none;
		transition: width 1s; /* animation */
	}

        #text_header
        {

            display: block;
            font-size: 100%;
            transition: width 1s;

        }

	.main-header .main-nav{
		height:40px;
		border-radius:5px;
		border:#c13046 1px solid;
		transition: height 1s; /* animation */
	}

	#content{
		overflow:auto;
		width:100%;
		float:none;
		transition: width 1s; /* animation */
	}

	#sidebar{
		width:100%;
		float:none;
	}

	#sidebar .block{
		margin-left:0;
	}

}

/* Small Tablets (portrait and landscape) ----------- */
@media only screen and (min-width : 569px) and (max-width : 767px) {

	#container{
		width:95%;
	}

	.main-header img#logo{
		margin:auto;
		display:block;
		width:100%;
                float:none;
		transition: width 1s; /* animation */
	}

        #text_header
        {
            margin: 0 auto;
            display: block;
            transition: width 1s;
            font-size: 80%;

        }


	.main-header .main-nav{
		height:auto;
		border-radius:5px;
		border:#c13046 1px solid;
		display:block;
		overflow:hidden;
		width:99%;
		transition: width 1s; /* animation */
	}

	.main-header .main-nav ul{
		padding:2% 1%;
		text-align:center;
		width:98%;
	}

	.main-header .main-nav li{
		float:none;
		display:block;
		margin-right:0px;
		width:100%;
		border-bottom:solid #a3293b 1px;
	}

	.main-header .main-nav li a{
		margin-bottom:2px;
		text-align:center;
	}

	.main-header .main-nav li a:hover,.main-header .main-nav li a.active{
		display:block;
	}

	#content{
		overflow:auto;
		width:99%;
		float:none;
	}


	#sidebar{
		width:100%;
		float:none;
	}

	#sidebar .block{
		margin-left:0;
	}
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 240px) and (max-width : 568px) {
	#container{
		width:95%;
	}

	.main-header img#logo{
		margin:auto;
		display:block;
		width:100%;
                float: none;
		transition: width 1s; /* animation */
	}


        #text_header
        {
            margin: 0 auto;
            display: block;
            font-size: 60%;
            transition: width 1s;
        }
	.main-header .main-nav{
		height:auto;
		border-radius:5px;
		border:#c13046 1px solid;
		display:block;
		overflow:hidden;
		width:99%
	}

	.main-header .main-nav ul{
		padding:2% 1%;
		text-align:center;
		width:98%;
	}

	.main-header .main-nav li{
		float:none;
		display:block;
		margin-right:0px;
		width:100%;
		border-bottom:solid #a3293b 1px;
	}

	.main-header .main-nav li a{
		margin-bottom:2px;
		text-align:center;
	}

	.main-header .main-nav li a:hover,.main-header .main-nav li a.active{
		display:block;
	}

	#content{
		overflow:auto;
		width:100%;
		float:none;
	}

	#content a.readmore{
		display:block;
		float:none;
		border-radius:5px;
		text-align:center;
	}

	#sidebar{
		width:100%;
		float:none;
	}

	#sidebar .block{
		margin-left:0;
	}
}

