/*
	Todd Motto Labs
	URL: www.toddmotto.com
*/

a,
a:hover {
	text-decoration:none;
} 
ul,
ol {
	list-style:none;
} 
  
/*------------------------------------*\
    Flaunt JS Navigation
\*------------------------------------*/
    
.nav {
	position:relative;
	display:inline-block;
       
      
}
.nav-list {
	text-align:left;
}
.nav-item {
	float:left;
	*display:inline;
	zoom:1;
	position:relative;
}
.nav-item a {
	display:block;
	color:#464646;
	padding:10px 10px;
	
}
.nav-item > a:hover {
	background:none;
}
.nav-item:hover .nav-submenu {
	display:block;
}
/* Navigation submenu */
.nav-submenu {
	display:none;
	position:absolute;
	left:0;
	width:180px;
}
.nav-submenu-item a {
	background:#8B2770;
	border-bottom:1px solid #9A337E;
	display:block;
	padding:15px;
}
.nav-submenu-item a:hover {
	background:#932C77;
}
/* Mobile navigation */
.nav-mobile {
	display:none; /* Hide from browsers that don't support media queries */
	cursor:pointer;
	position:absolute;
	top:0;
	right:0;
	background:#3D3D3B url(../img/nav.svg) no-repeat center center;
	background-size:18px;
	height:50px;
	width:50px;
}
/* Mobile navigation, clickable area for revealing <ul> */
.nav-click {
	position:absolute;
	top:0;
	right:0;
	display:none;
	border-left:1px solid #8B2870;
	height:49px;
	width:50px;
	cursor:pointer;
}
.nav-click i {
	display:block;
	height:48px;
	width:48px;
	background:url(../img/drop.svg) no-repeat center center;
	background-size:20px;
}
.nav-click:hover {
	background-color:#6E1656;
}
.nav-rotate {
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-o-transform:rotate(180deg);
	transform:rotate(180deg);
} 
 
/*------------------------------------*\
    Media Queries
\*------------------------------------*/
 
@media only screen and (min-width: 800px) and (max-width: 1100px) {
    
 
	.nav-item {    
		font-size: 15px; 
    } 
      
	.nav {
		padding: 0 0 0px 0; 
	}
    
    .menu {   
    margin-top: 100px; max-width: 905px; margin: 0 auto; ; 
} 
  
       

    .logo {
        margin-top: 0px
    }
    
    .logo img {
        width: 180px; 
    }
    .nav-item a {    
        padding: 0 10px 0 0; font-size: 15px;
    }
      
}   
  
  
@media only screen and (min-width: 30px) and (max-width: 967px) {
	.nav-mobile {
		display:block;
	}  
	.nav { 
		width:100%; float: right; 
		 padding: 50px 0 5px 0; 
	}
	.nav-list { width: 100%;
		display:none; text-align: right;
	}
	.nav-item {
		width:100%;
		float:none; 
        border-bottom: 1px solid #eee;
    }
        .nav-item:last-child{
            border: none;
              
        }     
     
	.nav-item > a {
		padding:15px;
        background: ; font-size: 17px; 
	}
	.nav-click {
		display:block;
	}   
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	} 
	.nav-item:hover .nav-submenu {
		display:none;
	} 
	.nav-submenu {
		position:static;
		width:100%;
	}
     
    .logo {
        margin: 0; margin-top: 6px;
    }
    
    .header-top {
        display: none;
    }
    
    .he-right {display: inline-block; float: right}
     
} 

@media only screen and (min-width: 30px) and (max-width: 420px){
    .cert {width: 180px; margin: auto; }
}

@media only screen and (min-width: 30px) and (max-width: 980px){
    .foto {max-width: 450px; margin: auto;
}
    
@media only screen and (min-width: 30px) and (max-width: 507px){
    .foto {max-width: 219px; margin: auto;
}    
    
