/*
*   Main Stylesheet for static Al Salami & Sons Website
*   By Murshid C.
*/

@import url('https://fonts.googleapis.com/css?family=Rubik');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');

html, body {
    margin:0;
    padding:0;
}

body {
    font-family: 'Rubik', sans-serif;
}

/* Global */

.pull-right {
    float:right;
}

.clear-fix {
    clear:both;
}

.img-responsive {
    width:100%;
}

.separator {
    text-align: center;
    border-bottom: solid 2px #df7a5f;
    width: 100%;
    margin-top: 36px;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 32px;
    padding-bottom: 16px;
    color: #df7a5f;
}

h1, h2, h3 {
    font-weight: bold;
    color: #0d3e2c;
}

h1 {
    font-size: 40pt;
}

/* Collections */

.collection-title {
    display: flex;
    margin-top: 36px;
    margin-bottom: 12px;
}

.collection-title > h1 > span {
    display: block;
    font-size: 18pt;
}

.collection-title > .banner-1 {
    margin-left: auto;
    order: 2;
}

.collection-table {
    width:100%;
}

.collection-table tr:nth-child(odd) {
    background:rgba(0, 0, 0, 0.055);
}

.collection-table tr > td, .collection-table tr > th {
    padding:8px;
}

.collection-table tr > th {
    background:#396857;
    color:white;
}

.collection-table tr td > .ingredients-list {
    font-size:12px;
}

.collection-table tr td > .ingredients-list li {
    
}

.collection-table tr td > .name {
    font-size:20px;
}

.collection-table tr td > .size {
    border: solid 2px #396857;
    border-radius: 8px;
    padding: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #396857;
    margin-right: 8px;
    margin-bottom: 2px;
    display: inline-block;
}

.collection-table tr td > .price-before {
    text-decoration: line-through;
    margin-right:12px;
    display:block;
    min-width:100px;
}

.collection-table tr td > .price-after {
    font-size:24px;
    display:block;
    min-width:100px;
}

/* Gallery */

@media only screen and (min-width: 1200px) {
    .gallery-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-bottom:24px;
    }
    
    .gallery-item {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .gallery-item.seperator {
        width:10px;
        background:#df7a5f;
        height:100%;
    }
    
    .gallery-image {
        flex-shrink: 0;
        min-width: 100%;
        min-height: 100%;
        width: 350px;
    }
}

/* Smartphone Styles (Responsive) */

@media only screen and (max-width: 1200px) {
    .gallery-container {
        width:100%;
        overflow:hidden;
        overflow-x:scroll;
        box-sizing: border-box;
        white-space: nowrap;
        display: flex;
        margin-bottom:12px;
        padding-bottom: 6px;
    }
    
    .gallery-item {
        display:inline-block;
    }
    
    .gallery-item.seperator {
        width:10px;
        background:#df7a5f;
        height:100%;
    }
    
    .gallery-image {
        height:320px;
    }
}

/* Gallery Overlay Preview */

#gallery-preview-overlay {
    position:fixed;
    z-index:999;
    background:rgba(0, 0, 0, 0.548);
    width:100%;
    height:100%;
    left:0;
    top:0;
    display:none;
}

#gallery-preview-overlay.show {
    display:block;
}

#gallery-preview-overlay .image-container {
    background: white;
    width: 100%;
    height: 100%;
    padding: 24px;
}

#gallery-preview-image {
    background-image: url('/alsalami/img/res/branch-alain.jpg');
    background-repeat:no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    background-size:contain;
}

/* Banners */

.banner-1 {
    background: url('../img/banner-1-01.png');
    background-size: cover;
    width: 90px;
    height: 90px;
    font-size: 18pt;
    color: white;
    font-weight: bold;
    line-height: 1;
    position: relative;
}

.banner-1 > span {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%) translateX(-50%);
    text-align: center;
    left: 50%;
}

/* Map */

#map {
    height:600px;
}

/* Custom Icons */

ul.social-icons {
    list-style-type:none;
    padding:0;
    margin:0;
    display:inline-block;
}

ul.social-icons a {
    margin-right:8px;
    display:inline-block;
}

ul.social-icons li {
    border-radius:8px;
    background-color:white;
    color:#396857;
    width:22px;
    height:22px;
    float:left;
    background-repeat:no-repeat;
    background-size:cover;
    background-image:url('../img/social-icons-green.png');
}

ul.social-icons li.social-instagram {
    background-position-y:0px;
}

ul.social-icons li.social-facebook {
    background-position-y:-44px;
}

ul.social-icons li.social-youtube {
    background-position-y:-22px;
}

ul.social-icons li:last-child {
    margin-right:0;
}

/* Font-Awesome Overrides */

.fa-circle {
    border-radius:50%;
    background-color:#396857;
    color:white;
    padding:6px;
    font-size:11px;
    width:12px;
    height:12px;
    line-height:12px;
}

.fa-rounded-rect {
    border-radius:9px;
    background:white;
    color:#396857;
}

/* Header Section */

.header-max-width {
    margin:0 auto;
    max-width:1080px;
}

.header-primary {
    padding:24px;
    color:#396857;
}

.header-primary .header-logo {
    font-weight: bolder;
    text-transform: uppercase;
    float:left;
    margin-right:32px;
}

.header-primary .header-logo > .header-logo-name {
    font-size:24px;
}

.header-primary .header-logo > .header-logo-year {
    font-size:12px;
}

.header-primary .header-links {
    float:left;
    padding:8px;
}

.header-primary .header-links > ul {
    list-style-type:none;
    padding:0;
    margin:0;
    text-transform: uppercase;
    font-weight: bold;
    font-size:16px;
}

.header-primary .header-links > ul li {
    float:left;
    list-style-type:none;
    padding:0;
    margin:0;
    font-size:14px;
    transition:.1s ease-in;
    border:2px solid white;
    border-radius:20px;
    margin-right:8px;
}

.header-primary .header-links > ul li:hover {
    border:2px solid #396857;
}

.header-primary .header-links > ul li.active {
    background:#396857;
    color:white;
    border:2px solid #396857;
}

.header-primary .header-links a {
    padding:5px;
    padding-left:20px;
    padding-right:20px;
    display:inline-block;
}

.header-primary .header-links a:link {
    color:inherit;
    text-decoration: none;
}

.header-primary .header-links a:active {
    color:inherit;
    text-decoration: none;
}

.header-primary .header-links a:visited {
    color:inherit;
    text-decoration: none;
}

.header-primary .header-links a:hover {
    text-decoration: none;
}

.header-primary .header-contact {
    float:right;
    font-weight:bold;
    padding-top:10px;
}

.header-secondary {
    background-color:#396857;
    padding:8px;
    color:white;
    text-transform: uppercase;
    font-size:12px;
}

.header-secondary .social-text {
    display:inline-block;
}

.header-secondary .header-socials-table {
    float:right;
}

/* View Container */

.view-container-inner {
    max-width: 1080px;
    margin:0 auto;
}

.view-margin-top {
    margin-top:28px;
}

/* Categories */

.category {
    font-family: 'Roboto Slab', sans-serif;
    margin-top:36px;
}

.category-preview {
    background-size:cover;
    background-position:center;
    height:400px;
}

.category-title {
    font-size: 34px;
    text-transform: uppercase;
    color: #396857;
    margin-top:10px;
    overflow: hidden;
}

.category-description {
    font-size: 20px;
    color: #1a2924;
}

/* Branches */

.branch-table tr td {
    border:none;
}

.branch-table {
    width:100%;
    color:#396857;
}

.branch-preview {

}

.branch-preview > img {
    width: 100%;
    height: auto;
}

.branch-info {
    padding-left:30px;
}

.branch-title {
    margin-top:16px;
    color:#396857;
    font-size:24px;
    font-weight:bold;
}

.branch-location {

}

.branch-country {
    font-size:12px;
}

.branch-contact {
    font-size:22px;
    margin-bottom:16px;
    color:#df7a5f;
}

.branch-buttons {
    padding-right:24px;
    text-align:right;
}

.branch-button:link, .branch-button:active, .branch-button:visited {
    color:white;
    text-decoration: none;
}

.branch-button {
    font-family: 'Rubik', sans-serif;
    background: #396857;
    border-radius: 18px;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 24px 10px 24px;
    margin-left: 14px
}

.branch-button .fa {
    margin-right:8px;
    font-size:14px;
}

/* About */

.statement {
    margin-top:32px;
}

.statement .title {
    text-align: center;
    font-size: 28px;
    font-weight: bolder;
    color: #396857;
    color: #df7a5f;
    text-transform: uppercase;
}

.statement .info {
    text-align: justify;
    margin-bottom: 12px;
    width: 60%;
    margin: 32px auto;
    font-weight: bold;
}

.about .avatar {
    margin:32px auto;
    display:inherit;
    width:180px;
    height:180px;
}

.about .title {
    margin-top:24px;
    font-size:24px;
    color:#396857;
}

.about .info {
    text-align: justify;
    margin-bottom:12px;
}

.about .name {
    text-align: center;
    font-size:18px;
    font-weight: bolder;
    color:#396857;
    text-transform: uppercase;
}

.about .position {
    font-size:13px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.separator-b {
    width: 100%;
    height: 3px;
    background: #00000024;
    margin-top: 48px;
    margin-bottom: 48px;
}

.quote {
    font-size:32px;
    color: #396857;
}

/* Footer */

.footer a:link,.footer a:visited, .footer a:active {
    color:inherit;
    text-decoration: none;
}

.footer {
    margin-top:32px;
    color:white;
    background:#2b4e41;
}

.footer-max-width {
    max-width:1080px;
    margin:0 auto;
}

.footer-content {
    padding:24px;
}

.footer-content table {
    width:100%;
}

.footer .logo {
    width:130px;
}

.footer .copyrights {
    text-align:center;
    margin-bottom:16px;
    color:#55796c;
    font-size:12px;
}

/* Smartphone Styles (Responsive) */

@media only screen and (max-width: 600px) {
    .header-primary .header-links a {
        padding: 5px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .header-primary .header-links {
        float:none;
        padding: 8px;
        margin: 0 auto;
        display: table;
    }
    .header-primary .header-contact {
        display:none;
    }
    .category-preview {
        height: 240px;
    }
    .statement .info {
        width:80%;
    }
    .branch-buttons {
        padding-right:none;
        text-align: center;
    }
    h1 {
        font-size: 24pt;
    }
    .collection-title h1 > span {
        font-size: 12pt;
    }
}

/* Bootstrap Overrides */

.carousel-control-next {
    opacity: 1;
}

.carousel .carousel-image {
    width:100%;
    height:720px;
    background-size:cover;
    background-position: center;
}

@media only screen and (max-width: 1200px) {
    .carousel .carousel-image {
        height:400px;
    }
}

/*.carousel-item > img {
    display:block;
    margin:0 auto;
    height:600px;
    width: auto;
}*/