
/*
 * GENERAL
 */

body {
    font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFF;
}

/* Topbar F&P Logo */
.topbar {
    width: 100%;
    height: 50px;
    text-align: center;
    background: #000;
}
.topbar h1 {
    font-size: 14px;
    line-height: normal;
    margin: 0;
}
.topbar img {
    width: 156px;
    height: 25px;
    margin: 12px auto;
}

/* Wrapper */
div.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
    background: #E2E3E5;
}
.row {
    margin: 0;
    max-width: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 30px;
    color: #FFF;
    border: none;
    outline: none;
    background: #000;
    text-transform: uppercase;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.btn:active,
.btn:focus,
.btn:hover {
    color: #FFF;
    background: #666;
}
.btn-green {
    background: #50C819;    
}
.btn-green:active,
.btn-green:focus,
.btn-green:hover {
    background: #45AD16;
}
.btn-blue {
    background: #003778;    
}
.btn-blue:active,
.btn-blue:focus,
.btn-blue:hover {
    background: #002045;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}
.btn-long {
    padding-left: 50px;
    padding-right: 50px;
}
.btn-bold {
    font-weight: 600;
}

.link-green {
    position: relative;
    margin-left: 17px;
    padding-left: 17px;
    color: #50C819;
    font-weight: 700;
    text-transform: uppercase;
}
.link-green:hover {
    color: #45AD16;
}
.link-green:before {
    position: absolute;
    content: '|';
    top: 0;
    left: 0;
    color: #b3b4b4;
}

/* Separator */
hr.sm {
    width: 25px;
    height: 3px;
    border: 0;
    text-align: left;
    background: #000;
}

/* Font */
.gotham {
    font-family: 'Gotham A', 'Gotham B', 'proxima-nova', Arial, Helvetica, sans-serif;
}



/* HEADER */
.page-header {
    background: #FFF;
}
.page-header .header {
    position: relative;
    color: #666;
    text-align: center;
    background: #E2E3E5;
}
.page-header .header:before,
.page-header .header:after {
    position: absolute;
    content: '';
    top: 15px;
    bottom: 0;
    height: 450px;
}
.page-header .header:before {
    width: 220px;
    left: 0;
    background: url('/media/23605/karunch-header-left.jpg') no-repeat;
}
.page-header .header:after {
    width: 210px;
    right: 0;
    background: url('/media/23604/karunch-header-right.jpg') no-repeat;
}
.page-header .header-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 100px 0 90px;
}
.page-header .header h1 {
    margin-bottom: 10px;
    font-size: 44px;
    font-weight: bold;
    text-transform: uppercase;
}
.page-header .header h2 {
    margin-bottom: 30px;
    padding: 0 5%;
    font-size: 20px;
    font-weight: 300;
}
/* Sub-header */
.sub-header {
    border-top: 1px solid #CBCBCB;
    border-bottom: 1px solid #CBCBCB;
}
.sub-header h1 {
    padding-left: 13px;
}





/*
 * LANDING PAGE
 */

div.row.intro {
    padding-top: 40px;
}
.intro h1 {
    margin: 0 0 20px;
    line-height: 45px;
}
.intro .btn-green {
    margin-bottom: 50px;
}
.landing-intro p {
    color: #666;
    font-size: 18px;
}
.landing-intro strong {
    display: block;
}

.your-fridge {
    padding-left: 0;
}
.your-fridge img {
    width: 100%;
}




/* Image stack */
.stack {
    position: relative;
    float: left;
    width: 450px;
    margin: 10px 0 30px 10px;
    background: #FFF;
    border: 30px solid #FFF;
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
}
.stack:before {
    content: "";
    width: 115%;
    height: 115%;
    background: #EFF4DE;
    border: 30px solid #FFF;
     
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -30px;
     
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
     
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);
    -ms-transform: rotate(-7deg);
    transform: rotate(-7deg);
}
.stack:after {
    content: "";
    width: 115%;
    height: 115%;
    background: #768590;
    border: 30px solid #FFF;
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -9px;
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -webkit-transform: rotate(7deg);
    -moz-transform: rotate(7deg);
    -o-transform: rotate(7deg);
    -ms-transform: rotate(7deg);
    transform: rotate(7deg);
}
.stack h1 {
	margin: 10px 0 0;
	text-align: center;
	font-weight: bold;
}


/* Last entries */

.entries {
    padding: 40px;
	color: #FFF;
	text-align: center;
    background: #363636; /* Old browsers */
    background: -moz-linear-gradient(top,  #363636 0%, #000000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#363636), color-stop(100%,#000000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #363636 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #363636 0%,#000000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #363636 0%,#000000 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #363636 0%,#000000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#363636', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    overflow-x: hidden;
}
.entries-title {
    display: inline-block;
    position: relative;
    margin: 0 auto 30px;
    line-height: 24px;
    font-size: 24px;
    color: #FFF;
    text-transform: uppercase;
}
.entries-title:before,
.entries-title:after {
    content: '';
    position: absolute;
    top: 10px;
    width: 165px;
    height: 2px;
    background: #FFF;
}
.entries-title:before {
    left: -200px;    
}
.entries-title:after {
    right: -200px;
}

.entry a {
    display: block;
}
.entry a:hover,
.entry a:focus {
    -moz-box-shadow: 0 0 6px 3px rgba(255,255,255, 0.8);
    -webkit-box-shadow: 0 0 6px 3px rgba(255,255,255, 0.8);
    box-shadow: 0 0 6px 3px rgba(255,255,255, 0.8);
}
.entry a img {
    width: 100%;
}



/*
 * FORM PAGE
 */

.page-header .col-text {
    padding: 20px;
}
.page-header .col-img {
    padding: 0;
}
.page-header .col-img img {
    width: 100%;
}

.page-header h1 {
    margin: 20px 0;
    font-size: 40px;
    font-weight: 300;
}

.page-header h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.page-content h2 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 300;
}

/* Form */
form {
    margin: 0;
}
form .page-content {
    background: #EEE;
}
form .page-content h2 {
    margin-top: 30px;
}
form .page-content .large-4 {
    padding-left: 30px;
    padding-right: 30px;
}
form .page-content .large-4:nth-child(2) {
    border-left: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    min-height: 720px;
}
.upload-field .btn {
    margin-top: 10px;
}
form .page-content label {
    margin-bottom: 3px;
}
form .page-content input,
form .page-content select,
form .page-content textarea {
    margin: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
form .page-content textarea {
    max-width: 100%;
}
form .page-content .checkbox {
    position: relative;
    margin-bottom: 15px;
}
form .page-content .checkbox input[type="checkbox"] {
    position: absolute;
    top: 5px;
}
form .page-content .checkbox label {
    margin-left: 25px;
}
form .page-content label a {
    text-decoration: underline;
}

.text-block p {
    font-size: 14px;
    margin: 0 0 10px;
}
.text-block {
    margin-bottom: 20px;
}

/* Orbit */
.orbit-container {
    height: 290px;
}
.orbit-container li.selected:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 103px;
    height: 102px;
    background: url('/media/23609/select-this-fridge.png');
}
.orbit-bullets-container,
.orbit-bullets,
.orbit-slide-number {
   display: none !important;
}
.orbit-slides-container img {
    margin: 0 auto;
    max-height: 250px;
}
.orbit-container .orbit-prev,
.orbit-container .orbit-next {
    background: rgba(0, 0, 0, 0.5);
}
.orbit-caption {
    bottom: -80px !important;
    color: #333 !important;
    text-align: center;
    background: none !important;
}
.orbit-caption button {
    display: block;
    margin: 10px auto 0;
}


/* Form group */
.form-group {
    margin: 0 0 12px;
}
.form-group.address .edit {
    float: right;
}
.form-group-submit {
    margin-top: 20px;
}

.privacy {
    padding: 10px 0 5px;
    font-size: 11px;
    background: #EEE;
}


/* Validation */

.input-validation-error, .field-validation-error { }
.validation-summary-errors ul { list-style: none; color: #800000; font-size: 11px; font-weight: bold; }

/* Error Handling - apply foundation error styles to mvc error classes :- this should be changed at some point to use an mvc helper that generates correct error classes  */
span.field-validation-error, small.field-validation-error { display: block; padding: 0.375em 0.25em; /* margin-top: -1.3125em; */ margin: 1px 0 1em; font-size: 0.80em; font-weight: bold; background: #df1a00; background: rgba(223, 26, 0, 0.9); color: white;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
}

input.input-validation-error,
textarea.input-validation-error { border-color: #df1a00; background-color: rgba(223, 26, 0, 0.1); }
  input.input-validation-error:focus,
  textarea.input-validation-error:focus { background: #fafafa; border-color: #999999; }

select.input-validation-error { border-color: #df1a00; background-color: rgba(223, 26, 0, 0.1); }
  select.input-validation-error:focus { background: #fafafa; border-color: #999999; }


/* fine uploader */
.qq-uploader { position: relative; width: 100%; }
 .qq-upload-button { display:inline-block; margin: 7px 0; padding:6px 16px; text-align:center; background:#222; color: #FFF;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
 } 
.qq-upload-button-hover { background:#666; }
.qq-upload-button-focus { outline: 1px dotted #000; }
.qq-upload-drop-area, .qq-upload-extra-drop-area { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 30px; z-index: 2; color:#FFF; background: #222; text-align: center; }
  .qq-upload-drop-area span { display: block; position: absolute; top: 50%; width: 100%; margin-top: -8px; }
.qq-upload-extra-drop-area { position: relative; margin-top: 50px; padding-top: 30px; height: 20px; min-height: 40px; }
.qq-upload-drop-area-active { background: #222; }
.qq-upload-list { margin: 0; padding: 0; list-style: none; }
  .qq-upload-list li { margin: 0; padding: 9px; line-height:1.1; background-color: #222; }
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-retry, .qq-upload-failed-text, .qq-upload-finished, .qq-upload-delete { color: #FFFFFF; margin-right: 12px; }
.qq-upload-file { }
.qq-upload-spinner { display: inline-block; background: url('/imgs/ajax-loader-white.gif'); width: 16px; height: 16px; vertical-align: text-bottom; }
.qq-drop-processing { display: none; color: #FFF; }
.qq-drop-processing-spinner { display: inline-block; background: url('/imgs/ajax-loader.gif'); width: 16px; height: 16px; vertical-align: text-bottom; }
.qq-upload-finished { display: none; width: 16px; height: 16px; vertical-align: text-bottom; }
.qq-upload-retry, .qq-upload-delete { display: none; color: #FFF; }
.qq-upload-cancel, .qq-upload-delete { color: #FFF; }
.qq-upload-retryable .qq-upload-retry { display: inline; }
.qq-upload-size, .qq-upload-cancel, .qq-upload-retry, .qq-upload-delete { font-size: 11px; font-weight: normal; }
.qq-upload-failed-text { display: none; font-style: italic; font-weight: bold; }
.qq-upload-failed-icon { display: none; width: 16px; height: 16px; vertical-align: text-bottom; }
.qq-upload-fail .qq-upload-failed-text { display: inline; }
.qq-upload-retrying .qq-upload-failed-text { display: inline; color: #D60000; }
.qq-upload-list li.qq-upload-success { background-color: #5DA30C; color: #FFFFFF; }
.qq-upload-list li.qq-upload-fail { background-color: #D60000; color: #FFFFFF; }
.qq-progress-bar { background:#222; width: 0%; height:2px; border-radius:5px; margin-bottom: 3px; display: none; }



/* Foundation Reveal Modals */

.reveal-modal {
    position: absolute;
    left: 0;
    right: 0;
    width: 95%;
    max-width: 1000px;
    top: 50%;
    z-index: 110;
    height: auto;
    margin: auto;
    /*-webkit-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);*/
}
.reveal-modal .row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 62.5em;
}
.reveal-modal .close-reveal-modal {
    top: 0;
    right: 0;
    padding: 0 7px;
    color: #FFF;
    font-size: 26px;
    background: #000;
    text-decoration:none;
}

#prev-entry, #next-entry{ display:none; position:absolute; top:40%; padding:0 5px 5px 8px; line-height:40px; font-size:50px; color:#fff; background:#000; }
#prev-entry{ left:0; }
#next-entry{ right:0; }

.gallery > a, .top-5 > a{ position:relative; }
.gallery > a > span.vote-icon, .top-5 > a > span.vote-icon{ position:absolute; z-index:1; top:4px; right:4px; display:inline; color:#fff; padding:4px; font-size:10px; font-weight:bold; font-style:normal; line-height:1; vertical-align:middle; }

.gallery > a > span.vote-icon:before, .top-5 > a > span.vote-icon:before{ top:0; right:0; content: ''; position: absolute; z-index:-1; border:14px solid transparent; border-top-color:#000; border-right-color:#000; }

.vote { min-width:120px; background-color:#E01902; }
.vote:hover, .vote.voted { background-color:#000; }
.votes{ min-width:120px; display:inline-block; background:#000; color:#fff; text-transform: uppercase;  font-size: 18px; line-height: 1.1; font-weight:normal; padding:6px 12px; margin:0 0 5px; text-align: center; }


.voting { float:right; text-align:right; }
.vote { display:inline-block; background:#000 url('/media/21220/tick.png') no-repeat 5px 50%; color:#fff; text-transform:uppercase; font-weight:bold; text-decoration:none; cursor:pointer; padding:6px 10px 6px 40px; margin:0 0 5px; }
  .vote.loading { background:#000 url('/imgs/ajax-loader-white.gif') no-repeat 5px 50%; }
  .vote:hover { color:#fff; background-color:#222; }
.votes { font-size:11px; }

.orbit-next, .orbit-prev {
    display: block !important;
}



/*
 * THANKS Page
 */

.page-thanks {
    padding-bottom: 40px;
    text-align: center;
    background: #EEE;
}
.page-thanks h2 {
    padding-top: 30px;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}
.page-thanks p.thanks-text {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 300;
}
.simple-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 50px auto 20px;
    background: #F7F7F7;
    border: 30px solid #F7F7F7;
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.simple-stack img {
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
.simple-stack h1 {
    margin: 10px 0 0 0;
}

.page-thanks .social {
    width: 350px;
    margin: 30px auto;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}
.page-thanks .social .social-text {
    float: left;
    margin: 0 20px;
}
.page-thanks .addthis_toolbox {
    float: left;
}





/*
 * GALLERY Page
 */


.page-gallery {
    margin: 0;
}
.page-gallery .entry-title {
    margin-bottom: 0;
}
.page-gallery .entries-container {
    margin-top: 30px;
}
.pagination {
    margin-top: 20px;
}
.pagination a {
    display: inline-block;
    padding: 0 2px;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
}
.pagination a.active {
    text-decoration: underline;
}

.gallery-search {
    width: 100%;
    max-width: 350px;
}
.gallery-search .columns:nth-child(2) {
    padding-left: 0;
}
.gallery-search label {
    padding-top: 3px;
    color: #FFF;
    font-weight: 600;
    text-align: left;
}
.gallery-search input {
    height: 30px;
    margin: 0 10px 0 0;
    padding: 3px 8px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

h5.gallery {
    padding-top:10px;
}


/*
 * TERMS Page
 */

.page-terms {
    background: #F9F9F9;
    padding: 30px;
}
.page-terms .page-title {
    font-size: 23px;
    margin: 10px 0 35px;
}
.page-terms ol li {
    margin: 10px 0 15px;
    line-height: normal;
}
.page-terms ol li ul {
    list-style-type: lower-latin;
}


.entry a{ position:relative; }
.entry a .people-choice{ color:#fff; font-weight:bold; font-style:normal; font-size:11px; line-height:1.1; background:#4AA009; position:absolute; bottom:-4px; right:-4px; left:-4px; padding:4px; text-transform:uppercase; }

.people-choice-winner{ min-width:120px; background:#4AA009; color:#fff; padding:16px 8px; text-transform: uppercase; }
.people-choice-winner span{ display: block; font-size: 15px; font-weight: bold; line-height: 1.2; text-align: center; }




/*
 * RESPONSIVE
 */


@media (max-width: 1200px) {

    /* Header */
    .page-header .header:before,
    .page-header .header:after {
        display: none;
    }
    .page-header .header-content {
       padding: 30px 0 45px;
}

    /* Landing page */
    .your-fridge {
        padding-top: 30px;
    }

    /* Gallery */
    .entries {
        padding: 40px 20px;
    }

}

@media (max-width: 1024px) {
    
    /* Header */
    .page-header .header h1 {
        line-height: normal;
        font-size: 40px;
    }

    /* Form */
    form .page-content {
        padding: 0 10%;
    }
    form .page-content .large-4:nth-child(2) {
        border: 0;
        min-height: 300px;
    }

    /* Buttons */
    .btn {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* Landing page */
    .intro {
        text-align: center;
    }
    .your-fridge {
        display: none;
    }
    hr.sm {
        margin: 20px auto;
    }

}

@media (max-width: 640px) {

    /* Header */
    .page-header .header .link-green {
        display: block;
        margin: 20px 0 0 0;
        padding: 0;
    }
    .page-header .header .link-green:before {
        display: none;
    }
    .page-header .header h1 {
        font-size: 35px;
    }
    .sub-header h1 {
        padding: 0;
        font-size: 30px;
        text-align: center;
    }

    /* Landing page */
    .intro .landing-text p {
        margin-bottom: 15px;
        font-size: 14px;
    }
    .intro .landing-text.landing-intro p {
        font-size: 16px;
    }

    /* Form */
    form .page-content {
        padding: 0;
    }

}

@media (max-width: 480px) {

    /* Header */
    .page-header .header-content {
        padding: 30px 10px 30px;
    }
    .page-header .header h1 {
        margin: 0 0 15px;
        line-height: 30px;
        font-size: 30px;
    }

    /* .xsmall-block-grid-1 li {
        width: 100%;
        clear: both;
    } */

    /* Landing page */
    .intro .landing-text p {
        font-size: 13px;
    }
    .intro .landing-text.landing-intro p {
        font-size: 15px;
    }


    .page-thanks .social .social-text {
        float: none;
        margin: 20px 0;
    }
    .page-thanks .addthis_toolbox {
        float: none;
        width: 150px;
        margin: 0 auto;
    }

}