/*
Theme Name: Chapter One
Theme URL: http://www.chapteronerestaurant.com
Author: Rhys Jenkins http://www.weareopen.ie
*/


/* ================================================
 *
 * iPad Landscape Stylings
 *
 * ==============================================*/


@media only screen and (max-width: 64.062em) { 

    #menu-nav .button_container {
        left: 20px;
    }
    .themes ul li {
        font-size: 15px;
        padding-right: 15px;
    }
    .full-row.lower-section {
        padding: 40px 20px;
    }
    .burger-container {
        width:6%;
    }


    .button_container_book {
        left:25px;
    }   
    .overlay-book .button_container_book {
        top: 50px;
    }
}
/* ================================================
 *
 * Tablet Portrait Stylings 
 *
 * ==============================================*/

@media only screen and (max-width: 56.250em) {
    .themes ul {
        margin: 90px 0 20px 20px;
    }
    .themes ul li {
        padding-right: 9px;
    }
    .overlay-nav.open {
        width: 45%;
    }
    .overlay-book.open {
        width: 100%;
    }
    header {
        height: auto;
        overflow: hidden;
    }
    .burger-container {
        position: absolute;
    }
    .logo-container {
        width: 100%;
        height: auto;
        padding: 25px 0px 15px;
    }
    .main-nav-container {
        width: 100%;
        display: block;
    }
    .logo-container img.logo {
        width: 140px;
    }
    .themes ul li {
        padding-right: 0;
        margin-right: 18px;
    }
    .header-grid .ogham {
        background-position: 0px top;
        margin: 0;
        background-image: none;
        height:auto;
        padding-bottom: 20px;
    }
    .header-grid .themes ul {
        margin: 0px 0 0 30px;
    }
/*
    ul.menu {
        padding-bottom:30px;
    }
*/
    .booking-iframe {
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    body.fixed {
        position:fixed;
    }
    .overlay-book.open {
        overflow-y: scroll;
        top:0px;
    }
}




/* ------------ 768 BREAKPOINT -------------- */	

@media only screen 
and (min-width : 481px) 
and (max-width : 767px) {

header	{
	height: 140px;
}

.small-book {
	display: none;
}

.logo  {
	float: left;
	margin: 5px 0 0 50px;
}

.ogham  {
	margin: 10px 0 0 0;
	width: 100%;
	height: 120px;
	background-image: url(../images/chapter_one_ogham.png);
	background-position: 150px 10px;
	background-size: 720px auto;
	background-repeat: no-repeat;
	float: left;
	position: relative;
}
    #menu-nav .button_container,.overlay-book .button_container_book {
        top: 20px;
    }

/*
.themes ul {
	list-style: none;
	display: block;
	margin: 90px 0 20px 240px;
	z-index: 9999;
	position: absolute;
}
*/

.themes ul li {
	float: left;
	font-size: 15px;
	letter-spacing: 1px;
	font-style: italic;
	font-family: "museo-sans", Helvetica, Arial, sans-serif;
	font-weight: 100;
	line-height:26px;
	color: #aaaaaa;
	-webkit-text-stroke: 0.35px;
}

.people-nav, .land-nav, .food-nav {
	padding: 0px 16px 0px 0px;
}

aside {
	width: 180px;
	float: left;
	padding-left: 0;
	padding-top: 15px;
}

.section-body {
	margin: 20px 20px 0 200px;
	max-width: 650px;
	background: #222222;
}


.opening {
	margin: 20px 0 0 200px;
	line-height: 22px;
}

.social ul {
	list-style: none;
	margin: 20px 0 0 50px;
}

.contact ul {
	list-style: none;
	display: block;
	text-align: right;
	width: 150px;
	margin: 0 0 0 0;
}
    a.book-button {
        font-size:15px;
    }
            #popup-item .content-popup {
        left: calc(50% - 250px);
        top: calc(50% - 150px);
        width: 500px;
    }
    .pop-overlay {
        top:40px;
    }
    .pop-overlay h2 {
        line-height:16px;
    }
    #popup-item.show {
        opacity:1;
    }
    .content-popup .content-block-1 {
        margin: 0px 0 10px 0;
    }
    .content-popup .content-block-1 .pad-right p, .content-popup .content-block-1 .pad-left p {
        font-size:14px;
    }
    .header-grid {
        height: 100px;
    }
    .header-grid .themes ul {
        margin: 70px 0 0 00px;
    }
    body.fixed {
        position:fixed;
    }
    .overlay-book.open {
        overflow-y: scroll;
        top:0px;
    } 
    div#load_screen > div#loading{
      top:12%;
    }

}