/*
    Theme Name: La Pizzeria
    Theme URI: 
    Author: Aljun Capapas
    Author URI: https://www.twitter.com/JuanDevWP
    Description: Theme designed for lapizzeria
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: CSS Grid, Flexbox ready, mobile first, lapizzeria theme
    Text Domain: lapizzeria
*/

html {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
body{
    margin:0;
}
*, *:before, *:after {
    box-sizing: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
}
h1{
    font-size: 40px;
}
h2{
    font-size: 40px;
}
h3{
    font-size: 28px;
}
h4{
    font-size: 24px;
}
.clear,
.clear::after {
    content: '';
    clear:both;
    display: block;
}
.container{
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.sr-text{
    display: none;
}
.text-center{
    text-align: center;
}
.primary-text{
    color: #a61206;
}
.button{
    background-color: #a61206;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    width: auto;
    color:#fff;
    padding: 15px 80px;
    margin-top: 20px;
    display: inline-block;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}
.primary{
    background-color: #a61206;
    transition: background-color .5s ease;
}
.primary:hover{
    background-color: #7b0d04;
}
.secondary{
    background-color: #f19f30;
    transition: background-color .5s ease;
}
.secondary:hover{
    background-color: #da8b20;
}
/*Header*/
header.site-header{
    border-bottom: 1px solid #c1c1c1;
    padding-bottom: 30px;
}
.logo{
    text-align: center;
}
@media (min-width: 768px) {
    .logo{
        text-align: left;
    }
}
@media (min-width: 992px) {
    .logo{
        text-align: center;
    }
}
/* .logo img{
    width:250px;
} */
@media (min-width: 768px) {
    header.site-header .container{
        position: relative;
    }
    header.site-header .header-information{
        position: absolute;
        top: 0;
        right: 0;
    }
}
.address{
    display: block;
    clear: both;
    padding-top: 10px;
}
.address p{
    margin: 0;
    font-size: 14px;
    text-align: center;
}
@media (min-width: 768px) {
    .address p{
        text-align: right;
    }
}

/*Social Menu*/
nav.socials ul{
    list-style-type: none;
    text-align: center;
    padding: 0;
}
@media (min-width: 768px) {
    nav.socials ul{
        float: right;
    }
}
nav.socials ul li {
    position: relative;
    display: inline-block;
}
nav.socials ul li a:before{
    font-family: 'Font Awesome 5 Brands';
    display: inline-block;
    vertical-align: top;
    padding: 0 5px;
    font-size: 30px;
    color: #000;
    -webkit-font-smoothing: antialiazed;
}

nav.socials li a[href*="facebook.com"]:before{
    content: "\f09a";
}
nav.socials li a[href*="twitter.com"]:before{
    content: "\f099";
}
nav.socials li a[href*="pinterest.com"]:before{
    content: "\f231";
}
nav.socials li a[href*="youtube.com"]:before{
    content: "\f167";
}
nav.socials li a[href*="instagram.com"]:before{
    content: "\f16d";
}

/*Main Menu*/
nav.site-nav{
    display: none;
}
@media (min-width: 768px) {
    nav.site-nav{
        display: block;
    }
}
nav.site-nav ul{
    list-style: none;
    margin: 0;
    padding:0;
    width: 100%;
    display: table;
}
@media (min-width: 768px) {
    nav.site-nav ul li{
        display:table-cell;
        width: 1%;
    }
}
@media (min-width: 992px) {
nav.site-nav ul li.menu-item-has-children {
    position: relative;
}
nav.site-nav ul li.menu-item-has-children ul.sub-menu {
    display: none;
}
nav.site-nav ul li.menu-item-has-children:hover ul.sub-menu {
    display: block;
    position:absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
}
nav.site-nav ul li.menu-item-has-children:hover ul.sub-menu li {
    display: block;
    padding-left: 30px;
}
}
nav.site-nav ul li a{
    text-align: center;
    padding: 20px 0;
    display: block;
    font-weight: bold;
    text-decoration: none;
    text-transform:uppercase;
    color:#000;
    font-family: 'Raleway', sans-serif;
}
.site-nav .current_page_item a,
.single-post .site-nav .menu-item-27 a,
.single-specialties .site-nav .menu-item-31 a{
    border-bottom: 8px solid #a61206;
}

/*Responsive Menu Button*/
@media (max-width: 767px) {
    .mobile-menu a{
        background-color: #a61206;
        height: 40px;
        line-height: 40px;
        width: 100%;
        text-align: center;
        display: block;
        color: #fff;
        font-size: 20px;
        text-transform: uppercase;
        font-family: 'Raleway', sans-serif;
    }
}
@media (min-width: 768px) {
    .mobile-menu a{
        display: none;
    }
}

/*Hero Image*/
.hero{
  background-repeat: no-repeat;  
  background-size:cover;
  background-position: center center;
  height:450px;
  display: table;
  margin:0 auto;
  text-align: center;
  width:100%;
  position: relative;
}
.hero:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.hero .hero-content{
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .hero-text{
        width: 80%;
        margin: 0 auto;
    }
    
}
@media (min-width: 992px) {
    .hero-text{
        width: 60%;
        margin: 0 auto;
    }
    
}
.main-content{
    padding: 60px;
    background-color: #fff;
    position: relative;
}
@media (min-width: 768px) {
    .main-content{
        margin-top: -90px;
    }   
}
.content-text p {
    font-size: 18px;
    line-height: 50px;
}

/*Boxes*/
.box-information{
    display: grid;
}
@media (min-width: 768px) {
    .box-information{
        grid-template-columns: repeat(3, 1fr); /*repeat 1fr 3 times = 33.33% each*/
    }  
}
.box-information .single-box img{
    width: 100%;
    display: block;
}
.box-information .single-box{
    display: grid;
    color: #fff;
    text-align: center;
}
@media (min-width: 600px) {
    .single-box{
        display: grid;
        grid-template-columns: 2fr 3fr; /* column width 40% 60%*/
    } 
}
@media (min-width: 768px) {
    .single-box{
        grid-template-columns: unset;
        grid-template-rows: 1fr 1fr; /* 2 rows divided equally eg. 600px height, 1fr = 300px*/
    }  
}
.single-box:nth-child(1){
    background-color: #f19f30;
}
.single-box:nth-child(2){
    background-color: #127427;
}
.single-box:nth-child(3){
    background-color: #a61206;
}
@media (min-width: 768px) {
    .single-box:nth-child(2) img{
        order:2;
    }
    .single-box:nth-child(2) div{
        order:1;
    }
}

.content-box{
    display: grid;
    grid-template-rows: 10% 20% 60% 10%;
    grid-template-areas: "."
                         "top"
                         "text"
                         ".";
}
.content-box *{
    align-self: center;
}
@media (min-width: 992px) {
    .content-box{
        grid-template-rows: 10% 30% 40% 20%;
    }
}
.content-box h3{
    grid-area: top;
    margin: 5px 0;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
}
.content-box p{
    grid-area: text;
}

/*Footer*/
footer{
    margin-top: 30px;
    padding: 30px 0;
    border-top: 1px solid #c1c1c1;
    text-align: center;
}
footer nav ul{
    list-style: none;
}
footer nav ul li{
    display: inline-block;
}
footer nav ul li:last-child .separator{
    display: none;
}
footer nav ul li a{
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}
footer .current-menu-item a,
.single-post footer .menu-item-27 a,
.single-specialties footer .menu-item-31 a{
    color: #a61206;
}
footer .location{
    margin-top: 30px;
}
footer p{
    margin: 0 0 5px 0;
    font-size: 14px;
}
footer .copyright{
    margin-top: 20px;
}

/*Grid*/
img{
    max-width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .container-grid{
        margin-left: 10px;
        margin-right: -10px;
    }
    .container-grid:after{
        content: '';
        display: block;
        clear: both;
    }
    [class*='columns'] {
        padding: 0 10px;
        float: left;
    }
    .columns1-4{
        width:25%;
    }
    .columns2-4{
        width: 50%;
    }
    .columns3-4{
        width:75%;
    }
    .columns1-3{
        width: 33.33%;
    }
    .columns2-3{
        width: 66.66%;
    }
}

/*Specialties*/
.our-specialties {
    padding: 0 60px;
}
.page-template-our-menu .specialty-content{
    padding: 20px;
}
.specialty-content h4{
    border-bottom: 1px solid #dfdfdd;
    padding: 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.specialty-content a{
    color: #000;
    text-decoration: none;
}
.specialty-content span{
    /* float: right; */
    font-size: 30px;
    color: #f19f30;
    font-family: 'Open Sans', sans-serif;
}
.specialty-content p{
    color: #3d3d3d;
    line-height: 30px;
}

/* Single Specialties */
.single-specialties p.ingredients,
.single-specialties p.price{
    color: #a61206;
    font-size: 30px;
    margin: 0;
}
.single-specialties p.price span{
    color: #000;
}

/*Blog*/
article.entry{
    margin-top: 30px;
}
header.entry-header{
    margin-top: 20px;
}
header.entry-header .date,
.entry-information .date{
    background-color: #f19f30;
    float: left;
    width: 70px;
    height: 70px;
    text-align: center;
    padding-top: 5px;
    margin-right: 20px;
}
header.entry-header .date time,
.entry-information .date time{
    font-size: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
header.entry-header .date time span, 
.entry-information .date time span {
    font-size: 16px;
    display: block;
    text-transform: uppercase;
}
header.entry-header .entry-title{
    float: right;
    width: calc(100% - 90px);
}
header.entry-header h2{
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
}
header.entry-header p.author,
.entry-information p.author {
    text-transform: uppercase;
    color: #000;
    margin-top: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin: 0;
}
.entry-information p.author {
    display: inline;
    float: left;
    margin-top: 35px;
}

p.author i{
    color: #f19f30;
    font-size: 30px;
}
.entry-content p{
    margin-bottom: 0;
    line-height: 24px;
}
.entry-information {
    padding-top: 30px;
}

/*Sidebar*/
aside.sidebar {
    margin-top: 3px;
}
.sidebar .widget{
    margin-bottom: 20px;
}
.sidebar .widget h3{
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}
.sidebar .widget ul {
    list-style: none;
}
.sidebar .widget ul li {
    margin-bottom: 20px; 
}
.sidebar .widget ul li a{
    color: #000;
    text-decoration: none;
}
.sidebar .widget ul li a:hover{
    color: #f19f30;
}

/*Comments*/
.comment-respond h3{
    font-weight: 300;
    text-align: center;
}
@media (min-width: 768px) {
    .comments{
        width: 80%;
    }
}
@media (min-width: 992px) {
    .comments{
        width: 60%;
    }
}
.comment-respond form label {
    width: 200px;
    display: inline-block;
    text-align: right;
    padding-right: 20px;
    font-weight: bold;
}
input#wp-comment-cookies-consent,
.comment-form-cookies-consent label {
    width: auto!important;
}
.comment-respond form input,
.comment-respond form textarea {
    padding: 10px;
    width: calc(100% - 220px);
}
.comment-respond form input[type="submit"] {
    margin: 0 auto;
    display: inline-block;
    border: none;
    width: auto;
    background-color: #a61206;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    text-transform: uppercase;
}
p.form-submit {
    text-align: center;
}
.comment-notes, 
.logged-in-as,
p.comment-form-cookies-consent {
    text-align: center;

}
.logged-in-as a {
    color: #a61206;
    text-align: center;
    display: block;
}
/*Comment Lists*/
ol.commentlist {
    list-style: none;
}
ol.commentlist li.comment {
    background-color: #e1e1e1;
    padding: 20px;
    margin-bottom: 20px;
}
ol.commentlist li.comment cite {
    color: #a61206;
    font-weight: bold;
    font-size: 20px;
}
li.comment .comment-author {
    margin-bottom: 10px;
}
li.comment a {
    color: #a61206;
    text-decoration: none;
}
li.comment ul.children {
    list-style: none;
}
li.comment ul.children li {
    background-color: #fff;
    margin-top: 20px;
}
/*Gallery*/
#gallery-1 .gallery-item {
    width: 50%!important;
    margin: 0;
    padding: 0px 5px !important;
}
@media (min-width: 768px) {
    #gallery-1 .gallery-item {
        width: 25%!important;
    }
}
#gallery-1 img {
    border: none!important;
}

/*Reservation*/
.reservation{
    background-image: url(img/bg_contact.jpg);
    background-repeat: no-repeat;
    background-position: top left;
}
@media (min-width: 768px) {
    .reservation-info {
        margin-left: 50%;
    }
}
form.reservation-form h2{
    font-weight: 700;
    font-size: 20px;
}
form.reservation-form .field{
    width: 100%;
    margin-bottom: 20px;
}
form.reservation-form .field input,
form.reservation-form .field textarea {
    width: 100%;
    border: 3px solid #000;
    padding: 15px 10px;
    font-size: 16px;
}
form.reservation-form .field textarea {
    height: 200px;
}
form.reservation-form ::-webkit-input-placeholder {
    color: #000!important;
}
form.reservation-form :moz-placeholder {
    color: #000!important;
}
form.reservation-form ::moz-placeholder  {
    color: #000!important;
}
form.reservation-form ::-ms-input-placeholder {
    color: #000!important;
}
form.reservation-form input[type="submit"]{
    border: none;
}

/* Front Page */
.home div.hero {
    min-height: 750px;
}
@media (min-width: 768px) {
    .home .main-content {
        margin-top: 0;
        padding: 0;
    }
    .home .hero-text{
        width: 40%;
    }
    
}
.home .hero-text p {
    line-height: 40px;
    font-size: 18px;
}

.specialty-content {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.specialty-content .information {
    position: absolute;
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(241,169,48,0.75);
    text-align: center;
    color: #fff;
    padding: 5px;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.specialty-content:hover .information {
    top: 0;
    opacity: 1;
}
.specialty-content .information .price {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    margin-top: 30px;
}
.specialty-content .information h3{
    font-size: 30px;
    margin-top: 40px;
    font-weight: 700;
}
.specialty-content .information p {
    margin: 0 0 10px 0;
    color: #fff;
}
.specialty-content .information a {
    color: #fff;
}
@media (max-width: 767px) {
    .specialty-content {
        overflow: visible;
        display: block;
        margin-bottom: 30px;
    } 
    .specialty-content .information {
        position: relative;
        opacity: 1;
        background-color: #f19f30;
        padding: 30px;
    }
    .specialty-content img {
        width: 100%;
    }
}

/*Ingredients */
section.ingredients {
    background-image: url(img/bg_ingredients.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-top: 50px;
    padding: 80px 0;
    color: #fff;
}
section.ingredients h3 {
    line-height: 60px;
    font-size: 40px;
    font-weight: 700;
}
section.ingredients p {
    line-height: 40px;
    font-size: 20px;
}
@media (max-width: 767px) {
    section.ingredients p,
    section.ingredients h3 {
        text-align: center;
    }
    section.ingredients a {
        margin: 0 auto;
        display: block;
        width: 250px;
    }
}
section.ingredients .image {
    padding-top: 30px;
    text-align: center;
}
section.ingredients .image img {
    width: 80%;
}

/*Home page Reservation*/
section.location-reservation {
    background-image: url(img/bg_ingredients.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-top: 50px;
}
.home .pl-0 {
    padding-left: 0;
}
.home .reservation-info {
    margin: 0;
    color: #fff;
    padding: 50px;
}
.home .reservation-form h2 {
    text-align: center;
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 20px 0;
}
.home .reservation-form input:not(input[type="submit"]),
.home .reservation-form textarea {
    background-color: transparent;
    border: 4px solid #fff!important;
    color: #fff!important;
}
.home form.reservation-form ::-webkit-input-placeholder {
    color: #fff!important;
}
.home form.reservation-form :moz-placeholder {
    color: #fff!important;
}
.home form.reservation-form ::moz-placeholder  {
    color: #fff!important;
}
.home form.reservation-form ::-ms-input-placeholder {
    color: #fff!important;
}
.leaflet-map {
    height: 100%!important;
    outline: none!important;
}