/* 

Mediaqueries Contents: 

01. Global
02. Notebook
03. Tablet
04. Mobile
05. Firefox Image Issue Fix 
06. WP Admin Bar

*/

/* ----------------------------------------------------------------------------------------------------- */
/* 01. Global Responsive Styles */
/* ----------------------------------------------------------------------------------------------------- */

#centered {
padding-top: 50px;
padding-bottom: 50px;	
}
#logo,
#name,
#description,
#button {
max-width: 80%;
margin-left: auto;
margin-right: auto;
}
#logo img,
#widget-center-area img {
max-width: 80%;
height: auto;	
width: auto;
}
#widget-center-area {
max-width: 60%;
margin: 0 auto;	
}

/* ----------------------------------------------------------------------------------------------------- */
/* 02. Notebook Device Styles */
/* ----------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 1280px) {
	
/* Containers */	
#widget-center-area {
max-width: 80%;
}
	
/* Font Sizes */
#name {
font-size: 120px;
line-height: 110px;
letter-spacing: -3px;
}
#description {
font-size: 28px;
line-height: 32px;
font-weight: 300;
}	

/* Spacing */
#centered {
padding-top: 35px;
padding-bottom: 35px;	
}
#logo {
margin-bottom: 35px;	
}
#name {
margin-bottom: 30px;
}
#description {
margin-bottom: 55px;
}
#button {
margin-bottom: 20px;	
}
  
/* End of Notebook Mediaqueries */
}

/* ----------------------------------------------------------------------------------------------------- */
/* 03. Tablet Device Styles */
/* ----------------------------------------------------------------------------------------------------- */

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

/* Font Sizes */
#name {
font-size: 90px;
line-height: 80px;
letter-spacing: -2px;
}
#description {
font-size: 24px;
line-height: 28px;
}	

/* Spacing */
#centered {
padding-top: 25px;
padding-bottom: 25px;	
}
#logo {
margin-bottom: 35px;	
}
#name {
margin-bottom: 30px;
}
#description {
margin-bottom: 55px;
}
#button {
margin-bottom: 20px;	
}
  
/* End of Tablet Mediaqueries */
}


/* ----------------------------------------------------------------------------------------------------- */
/* 04. Mobile Device Styles */
/* ----------------------------------------------------------------------------------------------------- */

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

/* Containers */
body {}
#content-container {
overflow-x: hidden; 
overflow-y: auto;
}	
#logo,
#name,
#description,
#button,
#widget-center-area {
max-width: 90%;
}
/* Mobile Navigation */
#header {display: none;}
#menu-mobile-sidebar {
display: block; 
width: 24px; 
height: 15px; 
margin: 0 0 35px 0;
}   
#menu-mobile-sidebar .menu-button {
position: absolute;
top: 25px;
left: 25px;
width: 24px;	
cursor: pointer;
}
#menu-mobile-centered {
display: block; 
width: 24px; 
height: 15px; 
margin: 0 0 25px 0;
}
#menu-mobile-centered .menu-button {
position: absolute;
top: 25px;
left: 25px;
width: 24px;	
z-index: 2;
cursor: pointer;
}
#menu-mobile-sidebar svg,
#menu-mobile-centered svg {
width: 24px; 
height: auto;	
}

/* Sidebar */
#sidebar-inner {
padding: 22px 25px 25px 25px;
}
#sidebar-inner .widget {
display: block;	
padding-bottom: 34px;
}
#sidebar-inner .social {
padding-bottom: 34px;
}
/* Font Sizes */
#name {
font-size: 70px;
line-height: 60px;
letter-spacing: -1px;
}
#description {
font-size: 20px;
line-height: 24px;
}

/* Spacing */
#centered {
padding-top: 20px;
padding-bottom: 20px;	
}
#logo {
margin-bottom: 35px;	
}
#name {
margin-bottom: 30px;
}
#description {
margin-bottom: 55px;
}
#button {
margin-bottom: 50px;	
}

/* Pages */
#page {
width: 90%; 
margin: 100px auto; 
padding: 50px; 
}

/* End of Mobile Mediaqueries */
}


/* ----------------------------------------------------------------------------------------------------- */
/* 05. Firefox Image Issue Fix */
/* ----------------------------------------------------------------------------------------------------- */

/*  The #logo image is inside a shrink-wrapping container, which then has to compute it's width based on the width of the image. And then the max-width of the image is 100% of the container's width.
The CSS spec doesn't actually define the behavior of such markup,  where the parent's width depends on the child and the child's width depends on the parent.
See https://bugzilla.mozilla.org/show_bug.cgi?id=823483 for some discussion on the issue. 
The hack is below and cannot use percentages for a liquid design. */

@media screen and (max-width: 1800px) {@-moz-document url-prefix() {#logo  { width: 1700px; }}}
@media screen and (max-width: 1700px) {@-moz-document url-prefix() {#logo  { width: 1600px; }}}
@media screen and (max-width: 1600px) {@-moz-document url-prefix() {#logo  { width: 1500px; }}}
@media screen and (max-width: 1500px) {@-moz-document url-prefix() {#logo  { width: 1400px; }}}
@media screen and (max-width: 1400px) {@-moz-document url-prefix() {#logo  { width: 1300px; }}}
@media screen and (max-width: 1300px) {@-moz-document url-prefix() {#logo  { width: 1200px; }}}
@media screen and (max-width: 1200px) {@-moz-document url-prefix() {#logo  { width: 1100px; }}}
@media screen and (max-width: 1100px) {@-moz-document url-prefix() {#logo  { width: 1000px; }}}
@media screen and (max-width: 1000px) {@-moz-document url-prefix() {#logo  { width: 900px; }}}
@media screen and (max-width: 900px)  {@-moz-document url-prefix() {#logo  { width: 800px; }}}
@media screen and (max-width: 800px)  {@-moz-document url-prefix() {#logo  { width: 700px; }}}
@media screen and (max-width: 700px)  {@-moz-document url-prefix() {#logo  { width: 600px; }}}
@media screen and (max-width: 600px)  {@-moz-document url-prefix() {#logo  { width: 500px; }}}
@media screen and (max-width: 500px)  {@-moz-document url-prefix() {#logo  { width: 400px; }}}
@media screen and (max-width: 400px)  {@-moz-document url-prefix() {#logo  { width: 300px; }}}
@media screen and (max-width: 300px)  {@-moz-document url-prefix() {#logo  { width: 260px; }}}
@media screen and (max-width: 260px)  {@-moz-document url-prefix() {#logo  { width: 250px; }}}

/* ----------------------------------------------------------------------------------------------------- */
/* 06. WP Admin Bar Mediaqeuries when logged in */
/* ----------------------------------------------------------------------------------------------------- */

.admin-bar #wpadminbar {} /* Height 32px */
.admin-bar #main-container {top: -32px;}
.admin-bar #content-container {top: 32px;}
.admin-bar #sidebar {padding-top: 32px;}
.admin-bar #header .menu-button {top: 82px;}

@media screen and (max-width: 782px) {
.admin-bar #wpadminbar {} /* Height 46px */
.admin-bar #main-container {top: -46px;} 
.admin-bar #content-container {top: 46px;}
.admin-bar #sidebar {padding-top: 46px;}
.admin-bar #header .menu-button {top: 96px;}
}

@media screen and (max-width: 600px) {
.admin-bar #wpadminbar {position: absolute; top: -46px !important;}  /* Height 46px */
.admin-bar #main-container {top: -46px;}
.admin-bar #content-container {top: 46px;}
.admin-bar #sidebar {padding-top: 46px;}
.admin-bar #menu-mobile-centered .menu-button {top: 25px;}
.admin-bar #menu-mobile-sidebar .menu-button {top: 71px;}
}