/*START WIDTH @1440px(laptop)*/
html, body, p {
	margin: 0;
	padding: 0;
}

body {
    font-family: sans-serif;
}

/*BEGIN NAV */
.title {
    display: inline-block;
    text-align: center;
    top: 4px;
    left: 3px;
    position: fixed;
    color: #2f85c7;
    border: 3px solid #2f85c7;
    width: 17.1%;
}

nav {
    display: block;
    z-index: 100;
    position: fixed;
}

ul {
    list-style-type: none;
    margin: 1 0 0 0;
    padding: 0;
    /*background-color: #0066cc;*/
    background-color: #474747;
    position: fixed;
    width: 82%;
    right: 0;
}

li {
    float: left;
}

li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover {
	color: white;
    /*background-color: #0066cc;*/
    background-color: #99c2ff;
    text-decoration: none;
}

li a:visited {
	color: white;
}
/*END NAV*/

/*SEARCH */
#search {
    display: block;
    margin-top: 26px;
    right: 8px;
    position: fixed;
}

input[type="search"] {
    background: 10px 6px darkgrey;
    border: 0 none;
    font: 12px Arial, Helvetica, Sans-serif;
    color: #fff;
    width: 150px;
    padding: 6px 15px 6px 35px;
    border-radius: 5px;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}

input[type="search"]:focus {
    width: 200px;
}
/*END SEARCH*/


/*SOCIAL MEDIA ICONS*/
.social-media {
    width: 150px;
    height: 100px;
    font-size: 25px;
    margin-top: 65px;
    margin-right: -34px;
    position: fixed;
    top: 0;
    right: 0;
}

i {
    /*color: #80c3ff;
    color: #99c2ff;*/
    color: #2f85c7;
    /*color: #0066cc;*/
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
/*END SOCIAL*/

.wrapper {
	position: relative;
	z-index: 5;
}

.inner-wrapper {
	width: 1200px;
	margin: 0 auto;
	padding-top: 100px;
    padding-bottom: 30px;
}

.clear {
	clear: both;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 5px;
 /*   margin-left: 0px;*/
    color: grey;
    /*color: #474747;*/
    /*color: #0066cc;*/
}

h3 {
    font-size: 17px;
    margin-bottom: 30px;
	/*color: grey;*/
    /*color: #92ccff;*/
    /*color: #0066cc;*/
    color: #80c3ff;
    /*color: #6eaadc;*/
}

h3 {
    text-align: center;
}

a {
	color: blue;
	text-decoration: none;
}

a:hover {
	color: red;
	text-decoration: underline;
}

a:visited {
	color: purple;
}

span {color: blue;
}

p {
	font-family: "Sans-serif";
    font-size: 16px;
	/*color: black;*/
    color: #474747;
	line-height: 15px;
    /*line-height: 28px;*/
	text-align: justify;
	margin-left: 1px;
	margin-right: 1px;
}

.blocks2 {
	float: left;
	width: 271px;
	height: 330px;
	margin: 15px 13px 5px 13px; 
/*	border: 2px solid black;*/
    border-bottom: 1px solid grey;
}

.images {
	width: 269px;
	height: 180px;
	margin: 4 auto;
	/*border: 1px solid black;*/
/*	border-bottom: 4px solid black;*/
}

.button {
    width: 76px;
    padding: 2px;
    margin: 1px 0px 0px 195px;
    color: #474747;
    background-color: #99c2ff;
}

h5 {
    margin-top: 20px;
    margin-bottom: 8px;
    padding-right: 10px;
    color: #474747;
    /*color: #0066cc;*/
}

h4 { 
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 16px; 
}

.images2{
    width: 80%;
    margin-bottom: 10px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    line-height: 25px;
    padding: 3px 8px;
    background-color: #92ccff;
    color: white;
    text-align: center;
    margin-bottom: 5px;
}

.modal-body {
    padding: 2px 10px;
    text-align: center;
}

.modal-body p {    
    line-height: 22px;
    text-align: center;
    font-size: 14px;
    /*color: grey;*/
    color: #474747;
}    

.modal-footer {
    padding: 3px 8px;
    background-color: #0066cc;
    color: white;
    text-align: right;
    font-size: 15px;
}

.modal-footer a {
	color: white;
}

#footer {
    padding-bottom: 50px;
}

.blocks1 {
    float:left;
    display: inline-block; 
    width: 48%;
    padding: 1%;
    margin-top: 5px
}

span {
    color: #80c3ff;
    font-size: 15px
}


/* tablet @768px */
@media all and (max-width: 768px) {

	body {
		background-color: #e6e6ff;
	}

	ul {
	    width: 81.5%;
	}

	.inner-wrapper {
		width: 100%;
	}	

	.blocks2 {
		margin: 5px 0px 0px 75px;
		border-bottom: none;	
	}



/* med. mobile @375 */
@media all and (max-width: 375px) {

	body {
		background-color: white;
	}

   	.inner-wrapper {
		width: 100%;
        padding-top: 140px;
	}

    .title{
        width: 22%;
    }

    ul {
        width: 75%;
        margin: 14px 0px 0px 0px;
    }

    #search {
        margin-top: 108px;
        left: 94px;
    }

    .social-media {
        margin-top: 68px;
        margin-right: -17px;
    }

	p {display: none;
	}

	.blocks2 {
		height: 220px;
		padding-top: 10px; 
		border-bottom: 2px solid black;
		margin: 5px 0px 0px 55px;
	}

	.images { 
	margin-bottom: -4px
	}

    .modal {
        padding-top: 180px;
    }




