/*RESET*/
html, body, header, nav, aside, section, footer, article, span, div, ul, li, a, div, h1, h2, h3, h4, h5, h6 {
margin:0;
padding:0;
}
*,
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
input::-moz-focus-inner { 
border: 0; 
}
a:hover, a:active, a:focus {
outline:0;
}
button::-moz-focus-inner {
border: 0;
}
img{
border:0 none;
outline:0;
}
a{
text-decoration:none;
color:#444;
}
li {
list-style-type:none;
}
.center {
text-align: center;
}
.clear {
clear: both;
}
/*-----------------
Under Construction 
------------------*/
#under-construction{ 
font-size: 23px; 
}
#under-construction section{
border-collapse: collapse;
margin-top: 10%;
background:#fff;
}
#under-construction img{
border-collapse: collapse;
border:0 none;
outline:medium none;
width:350px;
height:350px;
} 

/*--- HOMEPAGE---*/
.body-home{
background-image: url('https://deyand.com/img/beach-summer.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height:100vh;
}
.home-wrapper{
width:80%;
margin:0 auto;
}
.home-header{
background:transparent;
border:none;
}
.home-header .home-menu a{
color:#fff !important;
}
.main-home{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color:#fff;
margin: 0 auto;
min-height: 0;
}
.main-home .home-title{
position: relative;
font-family: 'Indie Flower', cursive;
font-size:78px;
font-weight: 700;
top:100px;
}
.main-home .home-text{
margin: 100px auto 0;
}
.home-langmenu ul li a{
color:#fff !important;
}
.home-wrapper footer{
background: transparent;
width:80%;
border:none;
color:#fff;
position: absolute;
bottom: 0;
}
/* Site Start */
body { 
background: none repeat 0 0 #fff;
color: #006400; 
font-size: 17px; 
font-family: 'Comfortaa', cursive, Arial, sans-serif; 
}
#wrapper{
width:75%;
margin:0 auto;
}

/*-----
HEADER
------*/
header{
background:none repeat scroll 0 0 #fff;
height:70px;
/*    
#41ab6b
#428842
#019875
#72bf7b
#96c840
#2ecc71
#7dc692
#33cc66
#B1E68C
#abe087
#ABE389
#E6F8DA
#C9EFB2
#85c420
#b4e664
#8fcc6b
#4ba93c
#006400*/
width:100%;
margin:0 auto;
border-bottom:1px solid #ccc/*4ba93c/*72bf75*/;
}
/*------------
LANGUAGE MENU
-------------*/
#langmenu {
display: block;
line-height: 25px;
float:right;
text-align: right;
}
#langmenu ul li {
display: inline;
list-style-type: none;
}
#langmenu ul li a {
color: #006400;
font-size: 17px;
padding-left: 3px;
padding-right: 3px;
text-decoration: none;
}
#langmenu .active{
text-decoration:underline;
}
#langmenu ul li a:hover {
background-color: #64a93c;
color: #fff;
}
/*-------------
NAVIGATION MENU
---------------*/
#main-nav{
display:block;
padding:28px 0 0;
}
#main-nav ul{
text-align:center;
}
#main-nav li{
display:inline;
}
#main-nav a {
position: relative;
display: inline-block;
margin: 0px 25px 15px;
outline: none;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 400;
color: #006400;
text-shadow: 0 0 1px rgba(255,255,255,0.3);
font-size:18px;
padding:15px;
-webkit-transition: color 0.5s;
-moz-transition: color 0.3s;
transition: color 0.3s;
/* Menu Effect: borders slight translate */
overflow: hidden;
padding: 0 10px;
height: 20px;
}
#main-nav a:hover,
#main-nav a:focus {
outline: none;
}
#main-nav a span {
position: relative;
display: inline-block;
-webkit-transition: -webkit-transform 0.3s;
-moz-transition: -moz-transform 0.3s;
transition: transform 0.3s;
}

#main-nav a span::before {
position: absolute;
top: 100%;
content: attr(data-hover);
font-weight: 700;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}

#main-nav a:hover span,
#main-nav a:focus span {
-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
transform: translateY(-100%);
}

/*-----
SECTION
------*/
section {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
width: 100%;
margin:20px auto;
height: auto;
min-height:420px;
font-size: 17px; 
font-weight:400;
text-align: center;
}
#home {
line-height:450px;
}
#home img {
border:0 none;
outline:medium none;
vertical-align:middle;
width:450px;
max-width:100%;
height:auto;
}
section h4{
margin-top:45px;
}
/*--------
PORTFOLIO
--------*/
.og-grid {
list-style: none;
padding: 10px 0;
margin: 0 auto;
text-align: center;
width: 100%;
}
.og-grid li {
display: inline-block;
height: auto;
margin: 15px;
vertical-align: top;
/*-moz-box-shadow: 3px 3px 4px #ccc; 
-webkit-box-shadow: 3px 3px 4px #ccc; 
box-shadow: 3px 3px 4px #ccc;*/
}
.og-grid li:hover{
box-shadow:none;
}
.og-grid li > a,
.og-grid li > a img {
outline: none;
display: block;
position: relative;
}
.og-grid li > a{
text-decoration: none !important; 
text-align: center;
}
.og-grid li > a:after{
background: none repeat scroll 0 0 rgba(100,169,60, 0.9)/*(180,231,116, 0.9)#b4e774/#64a93c/#e6f8da*/;
content: attr(data-title); 
position: absolute; 
left: 0; 
bottom: 0; 
padding: 5px 0;
width: 100%; 
text-decoration: none !important; 
color: #fff; 
opacity: 1; 
-webkit-transition: 0.5s; 
-moz-transition: 0.5s; 
-o-transition: 0.5s; 
-ms-transition: 0.5s;
}
.og-grid li > a:hover:after, 
.og-grid li > a:focus:after { 
opacity: 1;  
padding:88.5px 0;
}
.og-grid li > a:hover,
.og-grid li > a img:hover {
box-shadow:none !important;
transition: all 0.5s ease-out 0s;
}
.og-expanded{
border:none;
box-shadow:none !important;
}
.og-grid li.og-expanded > a::after {
top: auto;
/*border: solid transparent;*/
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-bottom-color: #E6F8DA;
border-width: 15px;
left: 50%;
margin: -20px 0 0 -15px;
}
.og-expander {
position: absolute;
background: #fff;
top: auto;
left: 0;
width: 80%;
margin-top: 10px;
text-align: left;
height: auto !important;
overflow: hidden;
margin-left:10%;
border:1px dotted #347574;
padding-bottom:25px;
}

.og-expander-inner {
padding: 50px 30px;
height: 100%;
}
.og-close {
position: absolute;
width: 40px;
height: 40px;
top: 20px;
right: 20px;
cursor: pointer;
}

.og-close::before,
.og-close::after {
content: '';
position: absolute;
width: 75%;
top: 50%;
height: 1px;
background: #888;
transform: rotate(45deg);
}

.og-close::after {
transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
background: #333;
}
.og-fullimg,
.og-details {
width: 50%;
height:auto;
float: left;
height: 100%;
overflow: hidden;
position: relative;
}
.og-details {
padding: 0 40px 0 40px;
}
.og-fullimg {
text-align: center;
}
.og-fullimg img {
display: inline-block;
max-height: 100%;
max-width: 100%;
}
.og-details h3 {
font-weight: 300;
font-size: 27px;
padding: 0 0 10px 0;
margin-bottom: 10px;
text-decoration:underline;
}
.og-details p:first-child {
font-style:italic;
}
.og-details p {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #375757;
}

.og-details a {
font-weight: 700;
font-size: 16px;
color: #347574;
text-transform: uppercase;
letter-spacing: 2px;
padding: 10px 20px;
border: 2px solid #ddd;
display: inline-block;
margin: 30px 0 0;
outline: none;
}

.og-details a::before {
content: '\2192';
display: inline-block;
margin-right: 10px;
}

.og-details a:hover {
border-color: #4ba93c;
color: #4ba93c;
}
.og-loading {
width: 20px;
height: 20px;
border-radius: 50%;
background: #ddd;
box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
position: absolute;
top: 50%;
left: 50%;
margin: -25px 0 0 -25px;
animation: loader 0.5s infinite ease-in-out both;
}

@keyframes loader {
0% { background: #ddd; }
33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}
@media screen and (max-width: 830px) {

.og-expander h3 { font-size: 32px; }
.og-expander p { font-size: 13px; }
.og-expander a { font-size: 12px; }

}

@media screen and (max-width: 650px) {

.og-fullimg { display: none; }
.og-details { float: none; width: 100%; }
 
}

/*--------
CONTACTS
-------*/
#contact{
margin-top:15px;
}
#contact h4{
font-size:21px;
font-weight:400;
margin-top:0;
line-height:30px;
text-align:center;
padding:15px;
}
#contact-form {
margin-top: -38px;
}
#contact-form {
margin: 0 auto;
max-width: 992px;
}
#contact-form .pad {
padding: 0 20px;
width:75%;
margin:0 auto;
}
.plant {
color: #fff;
display: none;
padding: 140px 0 0;
position: absolute;
top: 0;
width: 100%;
}
#contact-form .grid .boxxy {
padding: 10px;
}
.g-1-2 {
width: 47.70%;
}
.g-3, .g-4, .g-5 {
width:95.9%;
margin:0 auto;
}
.g-1, .g-1-2, .g-1-3, .g-2-3, .g-1-4, .g-3-4 {
display: inline-block;
letter-spacing: normal;
text-rendering: auto;
vertical-align: top;
word-spacing: normal;
}
#contact-form .grid #subject, #contact-form .grid #math {
height: 70px;
resize: none;
}
#contact-form .grid #message {
height: 140px;
resize: none;
overflow:auto;
}
#contact-form .grid input,
#contact-form .grid textarea{
border: 1px solid #ddd;
font-size: 17px;
padding: 10px 0 10px 20px;
width: 100%;
}
#contact-form .grid input:focus,
#contact-form .grid textarea:focus{
border: 1px solid #4ba93c;
outline: none;
color:#347574;
}
#contact-form .grid .error {
border: 1px solid #e22d2d;
}
/*.btn, .coming-soon, #contact-form.sent .form-plant, input, textarea {
border-radius: 1px;
}*/
button, input {
line-height: normal;
}
button, input, select, textarea {
font-family: inherit;
font-size: 100%;
margin: 0;
}
#contact-form .grid #message {
overflow: auto;
vertical-align: top;
}
.submit {
background-color: #90c843;
border: medium none;
border-radius: 70px;
color: #fff;
display: inline-block;
font-size: 17px;
font-weight: 400;
height: 100px;
margin: -70px auto 15px;
position: relative;
text-transform: uppercase;
transition: all 0.5s ease-out 0s;
width: 100px;
z-index: 20;
cursor:pointer;
bottom:15px;
}
.submit:hover, .submit:active {
transform: rotate(60deg);
}
#contact .success-message{
color: #90c843;
padding: 40px 0 0;
text-align: center;
text-transform: uppercase;
font-size:18px;
font-weight:700;
letter-spacing:1px;
}
/*-------
FOOTER
-------*/
footer{
background:none repeat 0 0 #fff;  
font-style:italic;
font-size:14px;
text-align:right;
width:100%;
padding:15px;
border-top:1px solid #ccc/*4ba93c*/;
height:50px;
margin:0 auto;
/*position:fixed;
bottom:0;
left:0;
right:0;*/
}

@media only screen and (min-width: 1600px) {
section {
margin-top:10%;
min-height:700px;
}
#home img {
vertical-align:middle;
width:450px;
}
.container > #funshine, #contact {
margin-top:10%;
}
}
@media only screen and (max-width: 800px) {
/*-----
Header
-----*/
#main-nav a {
margin:0 20px 15px;
}/*--------
PORTFOLIO
---------*/
.og-details {
padding: 0 40px;
overflow:visible;
}
/*------- 
CONTACTS
--------*/
#contact-form .pad{
width:100%;
padding:0;
}
.g-1-2 {
width:100%;
}
.g-3, .g-4, .g-5 {
width:100%;
}
.submit{
margin: -35px auto 55px;
}
}
@media only screen and (max-width: 640px) {
#wrapper{
width:80%;        
}
.main-home .home-title{
font-size:42px;
}
/*-----
Header
-----*/
#main-nav a {
margin:0 4px 15px;
}
/*--------
PORTFOLIO
---------*/
.og-details {
padding: 0;
}
.og-expander-inner {
height: 100%;
padding: 10px 30px;
}
.og-close {
width: 30px;
height: 10px;
top: 10px;
right: -0px;
}
.submit{
bottom:0;
}
}
@media only screen and (max-width: 480px) {
#main-nav ul li{
display:block;
}
.error-page{
margin: 100px auto 0;
}
}
@media only screen and (max-width: 360px) {
/*----
HOME
----*/
#home {
line-height:350px;
}
section {
min-height:350px;
}
/*--------
PORTFOLIO
---------*/
.og-grid>li{
margin:10px 0;
}
.og-grid li > a img {
display: block;
outline: medium none;
position: relative;
width: 250px;   
}
.og-grid li > a:hover:after, 
.og-grid li > a:focus:after { 
opacity: 1;  
padding:72px 0;
}
}
/*CONTACT FORM SENT*/
/*
#contact-form.sent .form-plant {
background-color: #4ba93c;
position: relative;

.btn, .coming-soon, #contact-form.sent .form-plant, input, textarea {
border-radius: 16px;
}
#contact-form.sent .plant {
display: block;
letter-spacing: 0;
}
#contact p.plant {
color: #fff;
display: none;
padding: 140px 0 0;
position: absolute;
top: 0;
width: 100%;
}

#contact-form.sent button.submit {
background: url("/img/check.png") no-repeat scroll center center #4ba93c;
color: #4ba93c;
cursor: default;
font-size: 0;
}
.grid [class*="g"] {
font-family: sans-serif;
}
}
*/