@font-face {
font-family: "Nunito Sans regular";
src: url("fonts/NunitoSans-Regular.ttf");
}
@font-face {
font-family: "Nunito Sans bold";
src: url("fonts/NunitoSans-Bold.ttf");
}

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


* {
	margin: 0;
	padding: 0;
}

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



body {
    font: 16px/26px Nunito Sans regular, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
	
}

/* ===================
    MAIN
   =================== */


.gray{
	background-color: #f5f6f7;
}
.divbox{
	width: 100px;
}
.in{
	text-decoration:underline;
}
.header-container {
	z-index:1;
	position:relative;
	height: 113px;
	background-color: rgba(160, 172, 189, 0.3);
}
.gallery-container{
	
	height: 640px;
	background-color:#7ca6be;
	margin-top:-123px;
}
.bgservice{
	background-image: url(../img/service.jpg);

}

.gallery{
	 background-image: url("../img/home.jpg");
	 background-repeat:none;
	 background-position-x: right;
	 height:640px;	
}

.textgallery{
	
	width: 60%;
    height: 400px;
	
	margin-top: 170px;
	margin-left:auto;
	margin-right:auto;
	border-radius:5px;
	text-align: center;
	color:white;
}
.bgopacity{
	background-color: rgba(160, 172, 189, 0.2);
}
.textgallery h1{
	padding-top: 154px;
	font-size:30px;
	letter-spacing: 0.3em; 
}
.textgallery p{
	font-size:18px;
	letter-spacing: 0.15em; 
}
.textgallery h1,.textgallery p{
	color:white;
	text-align:center;
}
.textgallery a{	
	text-align:center;
	margin-top: 15px;
   
}
.menuservice{
	min-height: 400px;
}
.menuservice li:hover{
	background-color:#ffc61b;
	border-radius:5px;
}
.contact p{
	width:200px;
}
form{
	display:inline-block;
	width:80%;
}
form button{
	display:block;
	float:right;
	
	
}
form input{
	border: 2px solid #00a7d9;
    border-radius: 4px;
	margin-bottom:25px;
	height:30px;

}

textarea[type=message-box] {
  width: 80%;
  height:200px;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #00a7d9;
  border-radius: 4px;
  resize: none;
  float: inherit;

}

.rvForm{
	
}
.rvForm p{
	float:left;
	width:275px;
	height:34px;
	margin-top: 15px;
}
.rvForm input{
	float:right;
	margin-top: 15px;
	margin-bottom: 0px;	
}




.footer-container,
.main aside {
    /*background: #a0acbd;*/

}

.title {
    color: white;
}
.txtblue {
    color: #00a7d9;
}
.blue{
	background-color: #00a7d9;
}

.btngray{
	background-color: #a0acbd;
}

.button{
  color: white;
  border: 1px solid  #fff;
  border-radius:4px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;

	
}

.linkmenu a{
	display:inline-block;
}
.articles{
	
	display:none;
}
.modalblock{
	padding-top: 40px;
	padding-bottom: 70px;
	text-align: center;
	width: 200px;
	
}


/* ==============
    MOBILE: Menu
   ============== */


nav ul {
    margin: 0;
    padding-top: 37px;
	padding-left: 0px;
	list-style-type: none;
}

nav ul li {
	float: left;
	padding-left: 30px;
}


nav a {
	
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    color: white;
	
	font-family: Nunito Sans bold;
    letter-spacing: 0.12em;
	
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}
.right{
	float:right!important ;
}


article header {
	
	margin-bottom:30px;
}

.footer-container footer {
    color: white;
    /*padding: 20px 0;*/
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1{
	font-size: 1.15em;
	color: #536165;
}

p{
	color: #343434;
}

aside ul{
	padding-left: 18px;
	
}
button a {
	color:white;
	text-decoration:none;
}

.topmargin{
	margin-top: 50px;
	margin-left: 10%;
}
.leftTenP{
	margin-left: 11%;
	border-radius: 50%;
}
.leftTenP:hover{
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.marginleftmax{
	margin-right: 0% !important;
}
.clearmargin{
	padding-bottom:0px !important;
}
.center{
	text-align:center;
}
.servicescontent {
	padding-bottom: 50px;
}
.servicescontent p{
	width:75%;
	margin: 0 auto;
}


footer{
	height:150px;
}
footer ul {
	text-align:center;	
	margin-top:50px;
	margin-bottom:10px;

	
}
footer ul li {
	display:inline-block;
	text-decoration: none;
	color: #343434;
}
footer ul li a {
text-decoration: none;
	color: #343434;
}
footer ul li a:hover {
text-decoration: underline;

}

/* ==========================================================================
   POPUP WINDOW
   ========================================================================== */

/* 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: 700px;
  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;

}
.modal-body div {
	display:inline-block;
	margin-right:15px;
}
.modal-body div p { 
	float:left;

}
.modal-body div a { 
	float:left;
}

/* 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, .closeRv {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}










/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 480px) {
	
	.wrapper {
    width: 100% !important ;
    margin: 0 0% !important ;
	
	}
	.logo{
		margin-top:15px;
	}
	nav ul li {
    float: left;
    padding-left: 24px;
	}
	nav ul {
    margin: 0;
    padding-top: 17px;
    padding-left: 0px;
    list-style-type: none;
	}
	
	#myBtnRv{
		display:none;
	}
	#myBtn{
		display:none;
	}
	.gallery-container, .gallery {
		height: 531px;
   
	}
	.textgallery {
		width: 80%;
		height: 400px;
		margin-left: auto;
		margin-right: auto;
		border-radius: 5px;
		text-align: center;
		color: white;
		margin-top: 0px;
	}	
	.textgallery h1, .textgallery p {
		color: #36454f;
		text-align: center;
	}
	.textgallery h1 {
		padding-top: 50%;
		font-size: 21px;
		letter-spacing: 0.3em;
	}
	.leftTenP  {
	 margin-left: 17%;	
	}
	
	
	
	
}
@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
    
    nav a {
        float: left;
       
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
		/*
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
				*/
    }

/* ============
    WIDE: Menu
   ============ */

    .logo {
        float: left;
		margin-top:30px;
		margin-left:25px;
    }

    nav {
        float: right;
        width: 68%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        width: 37%;
		margin-left: 10%;
    }

    .main aside {
        width: 28%;
		margin-right: 10%;
    }
	.fl{
		 float: left;
	}
	.fr{
		 float: right;
	}
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1280px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

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