/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2014-jan-09, 14:01:59
    Author     : Tor, Michael
*/

html, body {
    margin: 0px;
}

html, html a {
    -webkit-font-smoothing: antialiased !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
    clear: both;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 10px;
    background: url("/content/resources/img/bg.png") fixed;
    white-space: nowrap;
}

h1 {
    display: block;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: normal;
}

button i {
    margin-right: 4px;
}

.no-padding-left {
    padding-left: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

div.logo {
    border: 1px solid #ccc;
    float: left;
    padding: 3px;
    margin-right: 20px;
    border-radius: 2px;
    -webkit-box-shadow:  0 1px 1px rgba(0,0,0,0.3);
        -moz-box-shadow:  0 1px 1px rgba(0,0,0,0.3);
        box-shadow:  0 1px 1px rgba(0,0,0,0.3);
}

div.logo:hover {
    border: 1px solid #aaa;
        -webkit-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
        -moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
        box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    }

img.logo {
    float: left;
    border-radius: 2px;
}

div.header {
    clear: both;
    overflow: auto;
}

    div.header h1 {
        float: left;
        line-height:16px;
        margin-top: 10px;
        color: #eb3a44;
        font-weight: normal;
        margin-bottom: 0;
    }

        div.header h1 a {
            color: inherit;
            text-decoration: none;
        }

        div.header h1 span {
            color: #000;
            font-size: 14px;
            font-weight: bold;
            letter-spacing: 0px;
        }

div.menu,
#content,
div.header,
.stats,
#articleImageDialog,
#listItems,
#answers,
#uploadImage,
#surveyItems,
#addDish,
#survey-stats, 
#summertime {
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);
    /* box-shadow: 0 0 5px rgba(0,0,0,.2); */
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    /* border: 1px solid #aaa; */
    border-radius: 2px;
    margin-bottom: 10px;
    padding: 20px;
    background: #f9f9f9;
    /* background: rgba(255,255,255,0.6); */
    overflow: hidden;
}

div.menu {
    padding: 5px 0;
    width: auto;
    /* float: left; */
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #21292f;
    color: #fff;
    border: none;
    /* box-shadow: none; */
    -webkit-box-shadow: inset 0 0px 10px rgba(0,0,0,.5);
    -moz-box-shadow: inset 0 0px 10px rgba(0,0,0,.5);
    box-shadow: inset 0 0px 10px rgba(0,0,0,.5);
}

.menu i {
    color: #eb3a44;
}

div.menu:hover {
    /* width:180px; */
}
    
    div.menu hr {
        margin-bottom: 0px;
        margin-top: 0px;
        width: 200%;
        display: none;
    }
    
    div.menu button {
        float: left;
        margin-bottom: 3px;
        margin-right: 3px;
    }
    
    div.menu a button {
        line-height: 12px;
        padding: 6px;
        border: none;
    }

    div.menu h2 {
        font-size: 14px;
        font-weight: normal;
        cursor: pointer;
        margin-bottom: 10px;
        margin-top: 0;
        -webkit-transition:color 200ms ease-in;  
        -moz-transition:color 200ms ease-in;  
        -o-transition:color 200ms ease-in;  
        transition:color 200ms ease-in; 
    }
        div.menu h2:hover {
            /* color: #555; */
        }
    
    div.menu .section {
        padding: 20px;
        padding-bottom: 5px;
        padding-top: 15px;
        position: relative;
        padding-left: 50px;
        overflow: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
        div.menu .section:hover {
            -webkit-box-shadow:  inset 0 0px 8px rgba(0,0,0,0.3);
            -moz-box-shadow:  inset 0 0px 8px rgba(0,0,0,0.3);
            box-shadow:  inset 0 0px 8px rgba(0,0,0,0.3);
        }
        div.menu .section:hover .section-icon {
            color: #aaa;
        }
        
        div.menu .section .section-icon {
            position: absolute;
            font-size: 17px;
            left: 17px;
            top: 50%;
            margin-top: -12px;
            color: #ddd;
            text-shadow: 1px 1px 1px #111;
        }
        
        div.menu .section .subsection {
            margin-left: -50px;
            padding-left: 50px;
        }
        
        .subsection div a, .subsection button {
            background-color: #fff;
            border-radius: 2px;
            color: #000 !important;
            padding: 4px;
            display: inline-block;
            line-height: 1em;
            margin-bottom: 3px;
            border: none;
            text-decoration: none;
        }
        
        div.menu .section .subsection.open {
            margin-bottom: 10px;
        }
        
            div.menu .section .subsection.open h2 {
                /* font-weight: bold; */
            }

            div.menu .section .subsection div {
                display:none;
                overflow: hidden;
            }

            div.menu .section .subsection.open div {
                margin-bottom: 5px;
            }
            
            .admin-badge {
                display: inline-block !important;
                /* float: right; */
                position: relative;
                top: 3px;
                height: 16px;
                padding: 0 5px;
                background: #eb3a44;
                color: #fff;
                margin-left: 5px;
                margin-bottom: 0 !important;
                border-radius: 10px;
                font-size: 11px;
                line-height: 16px;
                font-weight: 600;
                -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.8);
                -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.8);
                box-shadow: 0 1px 2px rgba(0,0,0,0.8);
            }

#content {
    display:inline-block;
    vertical-align: top;
    font-size:14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* border-top: 3px solid #eb3a44; */
    min-width: 300px;
    max-width: 800px;
}

#content.restaurantMainForm {
    max-width: 550px;
}

    #content h2, #articleImageDialog h2, #listItems h2 {
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0;
        margin-bottom: 20px;
    }

button > div {
    padding: 7px 10px;
}
    
button, input[type=submit], input[type=button], .button {
    padding: 7px 10px;
    outline: none;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none !important;
    border-radius: 2px;
    border: 1px solid #aaa;
    background-color: #fff;
   /* IE10 Consumer Preview */ 
    background-image: -ms-linear-gradient(top, #FFFFFF 0%, #F7F7F7 100%);

    /* Mozilla Firefox */ 
    background-image: -moz-linear-gradient(top, #FFFFFF 0%, #F7F7F7 100%);

    /* Opera */ 
    background-image: -o-linear-gradient(top, #FFFFFF 0%, #F7F7F7 100%);

    /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F7F7F7));

    /* Webkit (Chrome 11+) */ 
    background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F7F7F7 100%);

    /* W3C Markup, IE10 Release Preview */ 
    background-image: linear-gradient(to bottom, #FFFFFF 0%, #F7F7F7 100%);
    -webkit-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    color: #333;
    margin: 0;
    text-align: center;
    
    -webkit-transition:all 200ms ease-in;  
    -moz-transition:all 200ms ease-in;  
    -o-transition:all 200ms ease-in;  
    transition:all 200ms ease-in;
}
    
    #content button {
        line-height: 12px;
        /* padding: 6px; */
    }
    
    a button {
        padding: 7px 10px;
        margin: 0;
        text-decoration: none !important;
        line-height: 12px;
        padding: 6px;
    }

    a, 
    a:visited,
    a:hover {
        color: inherit;
    }

button:active,
button[type=submit]:active,
input[type=button]:active,
div.logo:active {
    -webkit-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    background: #f5f5f5;
    transition: none;
}

input, label {
    display: block;
}

input[type="text"]:disabled {
    background-color:#DDDDDD;
    color: #333333;
}

thead {
    font-weight: bold;
}

thead tr td {
    padding-bottom: 5px;
    /* text-align: center; */
}

#content table {
    margin-bottom: 15px;
    border-spacing: 0px;
}

table {
    font-size: 14px;
}

table td {
    padding-right: 20px;
    max-width: 400px;
    line-height: 1.15em;
    padding-bottom: 5px;
    position: relative;
    white-space: normal;
}

td.adminShortNote {
    width: 100px;
}

table a {
    text-decoration: none;
}

#imageContainer {
    width: auto;
    margin-right: -10px;
    margin-bottom: 10px;
    float: left;
}

.welcome p {
    margin-bottom: 0 !important;
    font-size: 14px;
}

fieldset {
    width: 460px;
    margin:0px 0px 10px 0px;
}

div.inputLabelPair {
    display:inline-block;
    vertical-align: top;
    width: auto;
}

div.inputLabelPair input, div.inputLabelPair label {
    display:inline;
}

input.inline {
    display:inline;
}

#loadingImage {
    vertical-align: middle;
}

div.img {
    padding:5px 0px;
    overflow:hidden;
    white-space: initial;
}

.img img {
    max-height: 100px;
    max-width: 100px;
    height: auto;
}

.img img.selected {
    border:4px solid #2b542c;
}

.img.selected {
    background-color:#b7e2b8;
}

.img img.fbselected {
    border:4px solid #2b3654;
}

.img.fbselected {
    background-color:#b7c1e2;
}

.img.selected.fbselected {
    background-color:#b7c1e2;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b7c1e2+0,b7e2b8+20,b7c1e2+40,b7e2b8+60,b7c1e2+80,b7e2b8+100 */
    background: rgb(183,193,226); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(183,193,226,1) 0%, rgba(183,226,184,1) 20%, rgba(183,193,226,1) 40%, rgba(183,226,184,1) 60%, rgba(183,193,226,1) 80%, rgba(183,226,184,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(183,193,226,1) 0%,rgba(183,226,184,1) 20%,rgba(183,193,226,1) 40%,rgba(183,226,184,1) 60%,rgba(183,193,226,1) 80%,rgba(183,226,184,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(183,193,226,1) 0%,rgba(183,226,184,1) 20%,rgba(183,193,226,1) 40%,rgba(183,226,184,1) 60%,rgba(183,193,226,1) 80%,rgba(183,226,184,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7c1e2', endColorstr='#b7e2b8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.img input {
    display: inline;
}

.hidden {
    display: none;
}

#imageForm {
    margin-top: 10px;
}

.helper-text {
    text-align: left;
    display:block;
    font-size: 12px;
    color: #003580;
    font-style: italic;
    white-space: normal;
}

.itemActions {
    width: 110px;
    text-align: center;
}

.listItem .itemActions {
    width: auto;
    float: left;
}

.sortable td {
    padding: 5px;
}

.sortable .drag-handle {
    margin-right: 7px;
}

td.name {
    width: 340px;
}

.imageItemActions button {
    width: 200px;
}

.listItem .drag-handle {
    position: static;
}

tbody .sortable {
    position: relative;
}

.answer, .listItem {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 5px;
    border: none;
    border-radius: 2px;
    background: #fff;
    -webkit-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    white-space: normal;
}

#listItems .listItems .listItem {
    padding: 10px;
}

#listItems .listItems .drag-handle {
    position: absolute;
    margin-right: 0;
}

.answer hr, .listItem hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

    .answer h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .answer .date {
        margin: 0;
        padding: 0;
        margin-top: 5px;
        font-style: italic;
    }
    
    .answer .itemActions {
        margin-top: 5px;
    }

input[type=text], input[type=number], input[type=date],
body#login input[type=password] {
    font-size: 14px;
    width: 100%;
    display: block;
    padding: 5px 10px 5px 10px;
    margin: 5px 0;
    height: 35px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 2px;
    
    background: #fff;
    border: 1px solid #aaa;
    color: #444;
    -webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
}

body#login form {
    width: 300px;
    position: relative;
}

fieldset {
    position: relative;
}

form fieldset {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 0;
    white-space: normal;
    position: relative;
    overflow: hidden;
}

select, textarea {
    background: #fff;
    border: 1px solid #aaa;
    padding: 5px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    margin: 5px 0;
    color: #444;
    font-size: 14px;
}

form select {
    padding: 7px;
}

form .input-container select {
    margin-top: 0;
}

form textarea {
    font-family: Arial, sans-serif;
    padding: 10px;
    resize: vertical;
}

hr {
    height: 0;
    border: 0;
    /* border-top: 1px solid #aaa; */
    border-top: 1px solid #ccc; 
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: -20px;
    margin-left: -20px;

}

#restaurantForm hr {
    margin-right: -20px;
    margin-left: -20px;
}

#restaurantForm fieldset hr {
    margin-left: -20px;
    margin-right: -20px;
}

#content hr {
    margin-left: -20px;
    margin-right: -20px;
}

.filter {
    margin-bottom: 20px !important;
    
}

#imageContainer {
    clear: both;
    overflow: auto;
    margin-bottom: 0;
}

#imageContainer td {
    max-width: 120px;
}

#imageContainer td button {
    margin-top: 5px;
    margin-bottom: 5px;
}

#imageContainer img {
    border-radius: 0px;
}

fieldset {
    border-radius: 2px;
    border: 1px solid #ccc;
    padding: 20px;
    /* -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); */
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.2); */
    overflow: hidden;
}

fieldset legend {
    font-size: 14px;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-bottom: -10px;
    border-bottom: 0;
    width: auto;
    background: #f9f9f9;
}

button span.icon {
    font-size: 12px;
    margin-right: 5px;
}

div.header h1 span.dot {
    margin: 5px;
    margin-right: 3px;
    font-weight: bold;
    font-size: 20px;
}

.images {
    clear: both;
    /* overflow: auto; */
    margin-bottom: 0px;
    margin-right: -10px;
}

.images .image {
    float: left;
    width: 200px;
    margin-right: 10px;
}

button.red-border {
    border-color: #eb3a44;
    border-width: 2px;
}

button.green-border {
    border-color: #009933;
    border-width: 2px;
    font-weight: 700;
    font-size: 14px;
}

button.red-border {
    border-color: #eb3a44;
    border-width: 2px;
    font-weight: 700;
    font-size: 14px;
}

.itemActions button {
    padding: 4px;
    line-height: 1em;
    text-align: center;
}

table .itemActions button {
    /* padding: 4px 6px; */
    padding: 0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 1em;
    text-align: center;
}

table .itemActions button.red-border {
    background: #eb3a44;
    color: #fff;
    border: 0;
}

table .itemActions button.green-border {
    background: #009933;
    color: #fff;
    border: 0;
}

table .itemActions button i {
    margin-right: 0;
}

.stats {
    margin-bottom: 0;
    margin-top: 20px;
    padding: 0;
}

.stats .stat {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    width: 25%;
    padding: 20px;
    text-align: center;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    height: 125px;
    width: 125px;
}

.stats .stat.first {
    border-left: none;
}

.stats .stat .big {
    font-size: 25px;
    line-height: 1em;
    color: #aaa;
}

table input[name=filter] {
    width: 100%;
    color: #aaa;
    margin-top: 0;
    display: compact;
}

#articleImageDialog {
    background: #f9f9f9;
}

input.tag[type=checkbox] {
   position: absolute;
   left: -9999px;
}

label.tag, div.tag {
    padding: 4px;
    border-radius: 2px;
    background: #fff;
    border: 1px solid #aaa;
    font-size: 12px;
    line-height: 12px;
    width: auto;
    position: relative;
    overflow: hidden;
    float: left;
}

label.tag {
    background: #e5e5e5;
    color: #777;
    -webkit-transition:box-shadow 200ms ease-in;  
    -moz-transition:box-shadow 200ms ease-in;  
    -o-transition:box-shadow 200ms ease-in;  
    transition:box-shadow 200ms ease-in;
}

div.tag {
    margin-right: 2px;
    margin-bottom: 2px;
}

label.tag:hover {
    border: 1px solid #777;
    -webkit-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    box-shadow:  0 1px 3px rgba(0,0,0,0.3);
}

label.tag:active {
    -webkit-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    box-shadow:  0 1px 1px rgba(0,0,0,0.1);
    transition: none;
}

input[type=checkbox]:checked + label.tag {
   background: #fff;
   color: #000;
   border: 1px solid #777;
   /* -webkit-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    box-shadow:  0 1px 3px rgba(0,0,0,0.3); */
}

.not-listed {
    opacity: 0.5;
}

.closed-restaurant {
    opacity: 0.5;
    font-style: italic;
}

#listItems, #answers, #uploadImage, #articleImageDialog, #surveyItems, #addDish, #survey-stats, #summertime {
    width: auto;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

#articleImageDialog {
    max-width: 410px;
}

.prosAndCons {
    box-sizing: border-box;
    width:50%;
    padding:1%;
    float:left;
}

ul {
    margin:0px;
    padding:0px 0px 0px 5px;
    list-style-type: disc;
    list-style-position: inside;
}

.survey-option-color {
    height: 17px;
    width: 17px;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    right: 10px;
}

#listItems {
    width: 350px;
}

.drag-handle {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.drag-handle:hover {
    background: #e5e5e5;
}

#survey-stats {
    padding-bottom: 10px;
}

#survey-stats #chart {
    margin-bottom: 10px;
}

#survey-stats .survey-option-color {
    float: left;
    margin-right: 10px;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    position: relative;
    top: -1px;
    left: 0;
}

#survey-stats div.stat {
    position: relative;
}

.listItem-content {
    display: none;
}

.listItem-content.open {
    display: block;
}

.listItem h3 {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
}

.listItem h3 i {
    width: 10px;
}

input.color {
    color: transparent;
}

form .row {
    margin-left: 0;
}

form .input-container {
    padding-left: 0;
    text-align: center;
}

form label, form p {
    text-align: left;
}

form .inputLabelPair input {
    margin-right: 5px;
}

.article-image-full {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

#comment {
    position: fixed;
    top:100px;
    bottom:200px;
    left:800px;
    min-width: 200px;
    max-width: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border:1px solid #000;
    border: 1px solid #aaa;
    padding: 10px;
    border-radius: 2px;
    background: #fff;
    -webkit-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
    box-shadow:  0 1px 3px rgba(0,0,0,0.3);
}

.tag-list {
    width: 150px;
}

.lunchhours, .breakfasthours {
    display: none;
}

.no-left-padding {
    padding-left: 0;
}

.selected td {
    padding-bottom: 0;
}

.article-tags {
   display: block;
   white-space: normal;
}

#dishCategoryContainer, 
#restaurantKitchenContainer,
#restaurantLabelContainer,
#restaurantVisitorTypeContainer,
#pictogramContainer,
#restaurantContainer {
    margin-bottom: -5px;
}

.addButton {
    float: left;
    border:1px solid #aaaaaa;
    background-color:#e5e5e5;
    min-height:24px;
    line-height:24px;
    border-radius:3px;
    padding:0px 4px 0px 4px;
}

.addButton {
    background-color:#F5F5F5;
    text-decoration: none;
    position: relative;
    padding-left: 25px;
    margin-left: 3px;
    margin-bottom: 3px;
}

#addedPictogramItems .addButton {
    padding-right: 25px;
}

.addButton .drag-handle {
    margin-right: 0;
    position: absolute;
    top: 3px;
    right: 3px;
}

.addButton .drag-handle:hover {
    background: none;
}

.addButton .addButton-remove,
.addButton .addButton-add {
    position: absolute;
    width: 16px;
    height: 16px;
    text-align: center;
    top: 4px;
    left: 4px;
    line-height: 15px;
    background-color: #FAFAFA;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-weight: bold;
    cursor:default;
}

.addButton .addButton-remove:hover,
.addButton  .addButton-add:hover {
    border:1px solid #888888;
    background-color: #f0f0f0;
    text-decoration: none;
}

#addedItemSwiperItems .addButton {
    display:block;
    margin-top:4px;
    position: relative;
    float: none;
}

.addButton a {
    display:inline-block;
    padding:4px;
    line-height: 14px;
    background-color:#FAFAFA;
    border:1px solid #cccccc;
    border-radius: 3px;
    font-weight: bold;
}

.addButton a:hover {
    border:1px solid #888888;
    background-color: #aaaaaa;
    text-decoration: none;
}

.input-container fieldset {
    text-align: left;
}

#reviewForm, #heroBannerLinkForm {
    width: 500px;
}

.img-container {
    position: relative;
    width: auto;
}

.img-container img {
    max-width: 100%;
}

#reviewForm .img-container .fa-times,
#heroBannerLinkForm .img-container .fa-times {
    position: absolute;
    z-index: 2;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 2px;
    right: 5px;
    top: 5px;
    text-align: center;
    line-height: 25px;
    color: #eb3a44;
    cursor: pointer;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.bootbox-body {
    white-space: normal;
    font-size: 16px;
}

.bootbox-close-button {
    margin-top: 0 !important;
    width: 25px;
    height: 25px;
    right: 5px;
    top: 5px;
    position: absolute;
}

.modal-footer {
    margin-top: 0;
    padding-top: 0;
    border: none;
    text-align: center;
}

.modal.info .modal-footer .btn,
.modal.warning .modal-footer .btn,
.modal.error .modal-footer .btn {
    border-radius: 20px;
    line-height: 1;
    outline: none;
}

.modal-body {
    text-align: center;
    padding-top: 35px;
    padding-bottom: 20px;
}

.item-type-badge {
    font-size: 10px;
    padding: 1px 3px;
    color: #fff;
    width: auto;
    float: right;
    /* font-weight: 600; */
}

.restaurant-badge {
    background: #DF401C;
}

.toplist-badge {
    background: #00415D;
}

.podcast-badge {
    background: #FCBA1A;
}

.article-badge {
    background: #009AB3;
}

.itemSectionItem {
    position: relative;
    cursor: pointer;
}

.itemSectionItem .drag-handle {
    position: static;
}

.start-page-item-separator {
    width: 100%;
    height: 2px;
    background-color: #000;
}

.start-page-item-separator.no-line {
    background-color: transparent;
}

.overlay-dialog-wrapper {
    background: rgba(0,0,0,0.5);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
}

.overlay-dialog {
    position: fixed;
    top: 20%;
    /* border: 1px solid #ccc; */
    border-radius: 2px;
    padding: 20px;
    width: 400px;
    max-width: 60%;
    left: 50%;
    margin-left: -200px;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}



.open-close-restaurantlist.open .open-list {
    display: none;
}
.open-close-restaurantlist.open .close-list {
    display: block;
}

.open-close-restaurantlist.closed .open-list {
    display: block;
}
.open-close-restaurantlist.closed .close-list {
    display: none;
}

.restaurant-list.closed {
    height: 0px;
    overflow: hidden;
}

.article-tags.closed {
    height: 0px;
    overflow: hidden;
}

.modal-content {
    border-radius: 3px !important;
    border: none !important;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.error .modal-content {
    border-top: 10px solid #eb3a44 !important;
    border-bottom: 10px solid #eb3a44 !important;
}

.warning .modal-content {
    border-top: 10px solid #d2c935 !important;
    border-bottom: 10px solid #d2c935 !important;
}

.info .modal-content {
    border-top: 10px solid #009933 !important;
    border-bottom: 10px solid #009933 !important;
}

.modal-content .bootbox-close-button {
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.modal-content .icon {
    width: 42px;
    height: 42px;
    line-height: 42px;
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -22px;
    text-align: center;
    border-radius: 3px;
    background: #fff;
    font-size: 20px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.info .modal-content .icon {
    color: #009933;
}

.error .modal-content .icon {
    color: #eb3a44;
}

.warning .modal-content .icon {
    color: #d2c935;
}

#restaurants .old, #explanations .old {
    color: #eb3a44 !important;
    font-weight: 600;
}

.submit-main-form {
    position: fixed;
    bottom: 30%;
    left: 1010px;
}

.datepicker:after {
    border-bottom: 10px solid #db1f26;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: -8px;
    /***/
    display: none;
    /***/
}

.datepicker:before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ccc;
    top: -9px;
    display: none;
}

.datepicker {
    padding: 83px 5px 5px 5px;
    background-image: url("/content/resources/img/calendar.png");
    background-size: 100%;
    background-repeat: no-repeat;
    border: none;
    border-radius: 2px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 1px 6px rgba(0,0,0,.3);
    width: 225px;
    margin-top: 10px;
}

.datepicker-days thead tr:nth-child(2) {
    background: #333;
    color: #fff;
    border-radius: 2px;
}

th.dow {
    border-radius: 0;
}

.datepicker-days thead tr:nth-child(2) {
    background: #BEBEBE;
    color: #fff;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
}

th.prev, th.next {
    padding: 0 !important;
    height: 15px !important;
}

.datepicker-years {
    padding: 5px;
}

.datepicker-months {
    padding: 5px;
}

.datepicker td span {
    width: 61px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 400px;
        margin: 30px auto;
    }
}