/*
Theme Name: iSleep
Theme URI: http://web.davidncatia.com/
Author: David Afonso
Description: Magazine theme for Centro do Sono
Template: simplemag
Version: 1.0
*/
/* Colors

My-color: 
blue: 3E6CA5;
yellow: #ffcc0d;

.main-menu

Gray:

	dark: 292727  
	light: f0eeed

Blue: 
	dark  #11263F
	main: #3E6CA5

*/

@import url("../simplemag/style.css");
/* ----  Simple Mag @media querie ---------------

@media only screen and (max-width: 959px) {
}
@media only screen and (min-width: 960px) and (max-width: 1199px) {
}
@media only screen and (min-width: 801px) and (max-width: 959px) {
}
@media only screen and (max-width: 800px) {
}
@media only screen and (max-width: 720px) {
}
@media only screen and (min-width: 641px) and (max-width: 720px) {	
}
@media only screen and (min-width: 481px) and (max-width: 640px) {
}
@media only screen and (max-width: 480px) {
}
@media only screen and (max-width: 320px) {
}

/* Your CSS code goes here
-------------------------------------- */

/* Header 
---------------*/
a.logo img {
	max-width: 37.1%;
}

/* There is an offset of 106px*/
header#masthead {
		background-color: #3E6CA5;
}
@media (min-width: 801px) and (max-width: 959px) {
	header#masthead {
		height: 295px;
	}
}
@media (min-width: 960px) and (max-width: 1199px) {
	header#masthead {
		height: 332px;
	}
}
@media (min-width: 1200px) {
	header#masthead {
		height: 357px;
	}
}

/*
@media only screen and (min-width: 1319px){
	header#masthead {
			height: 362px;
	}
{*/


ul#main-nav a {
	color: white;
}

.tagline {
	color: #444;
	margin-top: -40px;
}

.color-site-dark, .color-site-dark .sub-menu{
	background: #11263F;
}

#searchform {
	background: transparent !important;
}


@media (max-width: 479px){
	.tagline {
		visibility: hidden;
	}
}
@media (min-width:480px) and (max-width:767px){	
	.tagline {
		margin-top: -20px;
		font-size: 0.6em;
	}
}

@media (min-width:768px) and (max-width:960px){	
	.tagline {
		margin-top: -30px;
		font-size: 0.8em;
	}
}

#masthead .main-menu .sub-menu .sub-links li {
	font-size: 0.65em;
}


.entry-image{
	background-color: transparent !important;
}


/* Breadcrumbs, date and sticky menu control
---------------*/
span.entry-category {
	display: none !important;
}
span.entry-date {
	display: none !important;
}
#mysticky-wrap {
	height: 0px !important;
}


/*  Exchange Store
---------------*/
#it-exchange-store {
	float: right;
}

/* Team members
---------------*/
@media (min-width: 479px){
	/*.team_profile_wrap {
		height: 355px !important;
	}*/
}

@media (min-width:480px) and (max-width:767px){	
	.team_member_wrap {
		height: 440px !important;
	}
	.team_profile_wrap {
		height: 395px !important;
	}
}

@media (max-width: 479px){
	.team_member_wrap {
		height: 420px !important;
	}
	.team_profile_wrap {
		height: 415px !important;
	}
}

/* Visual Form Builders
---------------*/
.myform{
	border: 0px !important;
	margin-left: 0px !important;
	background-color: transparent !important;
}

label.vfb-desc {
	font-weight: 600;
	margin-top: 0px;
}
.vfb-span {
	padding: 0px 10px 0px 0px;
}
label.vfb-choice {
	padding-left: 4px;
}
.vfb-item {
	padding-bottom: 10px;
}
.vfb-legend {
	color: inherit !important;
}
input.vfb-checkbox, input[type="checkbox"].vfb-checkbox, input.vfb-radio, input[type="radio"].vfb-radio{
	margin: 0px;
}
.visual-form-builder label.vfb-choice{
	margin-left: 5px !important;
}

@media (min-width: 782px){
	ul.vfb-section {
		width: 20vw;
		position: static;
	}
}

/* ----Hide comments are closed warning ----------*/
p.message.warning {
	display: none;
}

/* = WPML customization
-------------------------------------------------------------- */

#lang_sel {
	float: right;
	padding: 7px 0px 0px 10px;
}

#lang_sel li {
	width: 119px !important;
}

#searchform button {
    margin: 0px;
	top: 0;
}
.top-strip #searchform input {
    margin: 0px;
}