﻿@import url('https://fonts.googleapis.com/css?family=Montserrat');

html {
    height: 100%;
    width: 100%;
}

body {
        
}

button#chooser_button_at_top {
    font-family: 'Montserrat', serif;        
}

.chooser_description {
    font-family: 'Montserrat', serif;        
}

.btn:hover {
    color: white;
}

.chooser_container {
    width:100%;
    /*height: 80px;*/    
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: 'Montserrat', serif;        
}

.chooser_container_left {
    width: 50%;
}

.chooser_container_right {
    width: 50%;
}

.qty-chooser {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #000000;    
}


.chooser_top_container {
    vertical-align: middle;    
    padding-left: 10px;
}

.page_size {
    font-size: 10px;
    color: darkgray;
    font-weight: bold;
    padding: 5px;
    margin-top: 50px;
    border: 1px solid black;
}

/* Label on the Chooser Card.*/
.quantity-chooser {
    width: 70%;
    font-size: 15px;    
}

.quantity-chooser > strong {
    font-size: 17px;
    font-weight: bold;    
}

/* top container */
.page-content-top {
    margin-top: 130px;
}

/* Choose Description */
.chooser_description  {
    color: black;
    font-size: 25px;
}

/* Add to Cart Button */
.catering-addtocart {
    color: white;
    font-size: 25px;
    /*background-color: #01B200;*/
    /*background-color: #F7A933 !important;*/
    background-color: #999999;
    border-radius: 5px;
    width: 350px;
    float: right;    
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);    
}


/* Main Container */
.selector_container {	
    font-family: 'Montserrat', serif;        
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; /* center items in box*/
    align-items: center; /* center items in box */
    padding-top: 15px;
    padding-bottom: 35px;
    /*overflow: hidden;*/
    width: 100%;
}

/* Element Card */
.selector_card {
    height: 300px;
    min-height: 300px;
    width: 220px;   
    min-width: 220px; 
    margin: 10px 15px 10px 15px;    
    border: 1px solid lightgray;
    border-radius: 10px;
    box-shadow: 1px 5px 15px #D3D3D3;
    background-color: white;
}

/* Element Picture container */
.selector_card_image {
    display: block;        
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    height: 60%;
    width: 180px;
    background-color: #fff;    
}

/* Element Card Container */
.selector_card_info {
    height: 38%;
    width: 95%;
    margin: 3px 3px 3px 3px;    
    display: block;
    margin: 0 auto;
    padding-top: 15px;
}

/* Element Card Name */
.selector_card_name {
    text-align: center;
    color: black;
    font-size: 15px;
    font-weight: bold;
    height: 55%;
}

/* Element Card Price */
.selector_card_price {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

/* Element Card Quantity */
.selector_card_quantity {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

/* Action Box */
.selector_card_actionbox {    
    width: 100%;
    height: 45%;         
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

.img-chooser-minus {
    height: 25px;
    width: 25px;
    margin-left: 15px;
    margin-right: 15px;    
    vertical-align: middle;
}

.img-chooser-plus {
    height: 25px;
    width: 25px;
    margin-left: 15px;
    margin-right: 15px;    
    vertical-align: middle;
}

/* Q U E R Y  S I Z E S */

        /*LARGE DESKTOP*/
        @media (min-width: 1201px) and (max-width: 2000px) {

            .page_size:before {
                content: "Page Size: 1201-2000";
            }

            a#chooser_button_at_bottom {
                visibility: hidden;                
            }
            
        }

        /* DESKTOP */
        @media (min-width: 1025px) and (max-width: 1200px) {
            .page_size:before {
                content: "Page Size: 981-1200";
            }
           
            a#chooser_button_at_bottom {
                visibility: hidden;
            }

            
        }	


        /* PORTRAIT TABLET AND DESKTOP */
	/*@media (min-width: 768px) and (max-width: 980px) {*/
        @media (min-width: 768px) and (max-width: 1024px) {

            .page_size:before {
                content: "Page Size: 768-980";
            }

            .chooser_description {
                font-size: 20px;                
            }


            .selector_container {
                font-family: 'Montserrat', serif;
                display: -webkit-flex;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center; /* center items in box*/
                align-items: center; /* center items in box */
                padding-top: 15px;
                padding-bottom: 35px;
                width: 100%;
            }

		.chooser_container_left {
		    width: 60%;
		}
		
		.chooser_container_right {
		    width: 40%;
		}


            .catering-addtocart {
                /*background-color: #F7A933 !important;*/
                background-color: #999999;
                border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
                width: 70%;
                visibility: visible;
            }

            .btn {
                /*background-color: #999999 !important;
                color: white !important;*/
            }

            .btn:hover {
                /*background-color: #999999;
                color:white;*/
            }

            a#chooser_button_at_top {
                visibility: visible;
                font-family: 'Montserrat', serif;        
            }

            a#chooser_button_at_bottom {
                visibility: hidden;
            }

        }

        /* LANDSCAPE PHONE TO PORTRAIT TABLET */
        @media(max-width: 767px) {

            .page_size:before {
                content: "Page Size: 767";
            }
            
            .chooser_description {
                font-size: 22px;                
                color: white;                
                background-color: #009FFF;
                margin-top: -16px;
                position: fixed;
                height: 70px;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .catering-addtocart {
                /*background-color:#F7A933 !important;*/
                background-color: #999999;
                border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
                width: 280px;
            }

             /*a#chooser_button_at_top {
                visibility: hidden;
            }*/

             a#chooser_button_at_bottom {
                font-family: 'Montserrat', serif;        
                height: 60px;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #AAAAAA;
                color: white;
                position: fixed;
                bottom: 0px;
                border-radius: 0px;
                padding-top: 20px;
                visibility: visible;
            }
            
             .selector_container {
                 padding-top: 60px;
             }

        }

        /* LANDSCAPE PHONES AND DOWN */
        @media(max-width: 480px) {

            .page_size:before {
                content: "Page Size: 480";
            }
            
            .selector_container {
                margin-top: 45px;
            }

            .selector_card {
                height: 180px;
                min-height: 180px;
                width: 370px;
                min-width: 340px;
                border: 1px solid lightgray;
                border-radius: 10px;
                box-shadow: 1px 5px 15px #D3D3D3;
                display: flex;
            }


            .selector_card_image {
                margin: auto 0;
                background-repeat: no-repeat;
                background-size: 100% auto;
                background-position: center;
                height: 80%;
                width: 45%;
                background-color: #fff;
                border-radius: 10px;
                justify-content: center;
                align-items: center;
                flex-direction: row;
                order: 1;
            }

            /* Element Card Container */
            .selector_card_info {
                height: 100%;
                width: 55%;
                border-left: 1px solid lightgray;
                display: block;
                margin: 0 auto;
                padding-top: 10px;
                flex-direction: row;
                order: 2;
            }

            /* Element Card Name */
            .selector_card_name {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            /* Element Card Price */
            .catering_card_price:before {
                content: "$";
            }

            .horiz-line {
                visibility: hidden;
            }

            .catering_card_price {
                height: 15%;
            }

            /* Element Card Quantity */
            .catering_card_quantity {
                height: 15%;
            }

            /* Action Box */
            .selector_card_actionbox {
                height: 25%;
                padding-top: 30px !important;
            }

            .add-to-cart {
                height: 50px !important;
                padding-top: 0px !important;
            }

                .add-to-cart > .qty > .catering-qty-controls {
                    margin-left: 1px;
                    margin-right: 1px;
                }

            /* Clean up formatting */
            p {
                margin: 0px 0px 0px 0px;
            }

            .catering_title {
                font-size: 25px;
                line-height: 30px;
            }

            .img-chooser-minus {
                height: 25px;
                width: 25px;
                margin-left: 10px;
                margin-right: 10px;
                vertical-align: middle;
            }

            .img-chooser-plus {
                height: 25px;
                width: 25px;
                margin-left: 10px;
                margin-right: 10px;
                vertical-align: middle;
            }

            .chooser_description {
                color: white;
                font-size: 18px;
                background-color: #009FFF;
                margin-top: -16px;
                position: fixed;
                height: 70px;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .chooser_container {
                /*padding-top: 120px;*/
            }

            a#chooser_button_at_top {
                visibility: hidden;
                font-family: 'Montserrat', serif;        
            }

            a#chooser_button_at_bottom {
                height: 60px;
                font-family: 'Montserrat', serif;        
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #AAAAAA;
                color: white;
                position: fixed;
                bottom: 0px;
                border-radius: 0px;
                padding-top: 20px;

            }

            .selector_container {
                padding-top: 15px;
            }
        }

 
