* {
    padding : 0;
    margin : 0;
}

::selection {
    background: #66EE66;
}
::-moz-selection {
    background: #66EE66;
}

body,
html {
    color : #333;
    background-color: #999;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    line-height: 1.3em;
    position: relative;
}

/* preload bg-images */
body::after{
    position: absolute; 
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(../img/rating_rate.png) url(../img/close.png);
}

select,
input,
button,
textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    display: block;
    border-radius: 3px;
}
button,
input,
a {
    transition: background 0.18s, color 0.18s;
}
textarea {
    padding: 4px;
    box-sizing: border-box;
    overflow-x: hidden;
}
button,
input[type='submit'] {
    border: 0;
    cursor: pointer;
}
select {
    padding: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
li {
    list-style-type: none;
}
#wrapper {
    position: relative;
    overflow: hidden;
    background-color: #FFF;
}
.clr {
    clear: both;
    overflow: hidden;
}


/* Under Construction */
#under_construction {
    position: relative;
    width: 500px;
    margin: 4% auto;
    padding: 20px;
    max-width: 92%;
    box-sizing: border-box;
    border: 1px solid #CCC;
}
#under_construction h2 {
    margin: 0 0 12px 0;
}


/* Login */

#loginForm {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #CCC;
}
#infotext {
    margin-bottom: 12px;
}
#accountWrapper {
    max-width: 600px;
    margin: 40px auto 60px;
}
#accountWrapper input {
    width: 100%;
}
#accountWrapper input[type='text'],
#accountWrapper input[type='password'] {
    padding: 6px 12px;
    box-sizing: border-box;
    border: 1px solid #CCC;
    margin: 0 0 6px 0;
}
#user_account_options {
    margin-top: 24px;
}

/* Menu */

#navbar {
    overflow: hidden;
    position: relative;
    width: 100%;
}
#nav_inner {
    clear: both;
    width: 1000px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    left: 0;
    margin: 6px 0 0 0;
    display: none;
    border-bottom: 1px solid #CCC;
}
#nav_inner > a {
    display: block;
    line-height: 52px;
    text-decoration: none;
    color: #333;
    padding: 0 20px;
    box-sizing: border-box;
}
#nav_inner > a.bordered_navitem {
    border-bottom: 2px dotted #CCC;
}
#nav_inner > a:hover,
#nav_inner > a:focus,
#nav_inner > a:active {
    background: #999;
    color: #FFF;
}
#navbar_upper {
    overflow: hidden;
}
#menu_toggle_holder {
    width: 72px;
    float: left;
    display: block;
    line-height: 52px;
}
#menu_toggle {
    background: #999 url("../img/menu.png") no-repeat center;
    background-size: 50% auto;
    border-radius: 3px;
    position: relative;
    width: 72px;
    max-width: 100%;
    height: 54px;
    float: left;
    cursor: pointer;
}
#menu_toggle.active {
    background: #999 url("../img/close.png") no-repeat center;
    background-size: 60% auto;
}
#menu_notifications {
    position: absolute;
    right: 0;
    top: 0;
    background: #EE0000;
    color: #FFF;
    text-align: center;
    width: auto;
    height: 25px;
    line-height: 23px;
    border-radius: 25px;
    text-decoration: none;
    margin: 6px 6px 0 0;
    padding: 0 12px;
}
#menu_notifications:hover {
    background: #BB0000;
}
#nav_search {
    display: block;
    float: right;
    width: 70%;
}
#nav_search input#keyword_input {
    width: 70%;
    margin: 0 5% 0 0;
    line-height: 52px;
    color: #999;
    border: 1px solid #CCC;
    float: right;
    padding: 0 4%;
    border-radius: 3px;
    box-sizing: border-box;
}
#nav_search input#keyword_input.was_focused {
    color: #333;
}
#nav_search input#searchSend {
    max-width: 25%;
    width: 75px;
    float: right;
    line-height: 54px;
    cursor: pointer;
    border-radius: 3px;
    background: #66EE66 url("../img/search.png") no-repeat center;
    background-size: auto 70%;
}
#nav_search input#searchSend:hover {
    background: #44CC44 url("../img/search.png") no-repeat center;
    background-size: auto 70%;
}

/* CONTENT */

#content {
    max-width: 96%;
    width: 1000px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 22px auto;
}

#logo_wrapper {
    margin: 0 auto;
    position: relative;
}
#logo {
    width: 120px;
    height: 120px;
    margin: 12px auto;
    display: block;
    clear: both;
    background: url("../img/logo.png") no-repeat center;
    background-size: 100% auto;
    transition: background 0.18s;
}
#logo:hover,
#logo:focus,
#logo:active {
    background-size: 108% auto;
}

.site_headline {
    margin: 0 0 12px;
}


/* FRONT */

.recipe_box {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #CCC;
    padding: 3.5% 0 2% 0;
}
.recipe_box_image {
    margin: 7px 0;
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 3px;
    background-size: cover!important;
}
.recipes_site_headline {
    border-bottom: 3px dotted #66EE66;
    padding: 0 0 16px 0;
    font-size: 2em;
    line-height: 1em;
    margin: 42px 0 0 0;
}
.recipe_box_headline {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    padding: 6px 0 8px 0;
}
.recipe_box_headline:hover,
.recipe_box_headline:focus,
.recipe_box_headline:active {
    text-decoration: underline;
}
.recipe_author {
    font-size: 0.8em;
    font-style: italic;
}
.recipe_box_short {
    position: relative;
    height: 5.1em;
    overflow: hidden;
}
.recipe_box_short_fade {
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 1%, rgba(255,255,255,0) 40%, rgba(255,255,255,1) 76%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 1%,rgba(255,255,255,0) 40%,rgba(255,255,255,1) 76%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 1%,rgba(255,255,255,0) 40%,rgba(255,255,255,1) 76%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
}
.recipe_box_more_btn {
    padding: 4px 8px;
    background: #6E6;
    border-radius: 3px;
    color: #FFF;
    right: 0;
    bottom: 0;
    z-index: 10;
    position: absolute;
    cursor: pointer;
    display: block;
    text-decoration: none;
}
.recipe_box_more_btn:hover,
.recipe_box_more_btn:focus,
.recipe_box_more_btn:active {
    background: #44CC44;
}


/* RECIPE */

.owl-carousel {
    cursor: pointer;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #CCC;
    padding: 6px 0;
}
#recipe_single_headline {
    font-size: 2.2em;
    line-height: 1em;
}
#recipe_single_author {
    margin: 6px 0;
    font-size: 0.8em;
    font-style: italic;
}
#recipe_single_rating {
    width: 100%;
    overflow: hidden;
    min-width: 220px;
    margin: 0 0 20px 0;
}
.rating_star_empty {
    background: url("../img/rating_empty.png") no-repeat center;
    background-size: 95% auto;
}
.rating_star_half {
    background: url("../img/rating_half.png") no-repeat center;
    background-size: 95% auto;
}
.rating_star_full {
    background: url("../img/rating_full.png") no-repeat center;
    background-size: 95% auto;
}
.rating_star {
    float: left;
}
#recipe_single_rating #rating_num {
    line-height: 30px;
}
#recipe_single_rating .rating_star {
    width: 30px;
    height: 30px;
}
.recipe_box .recipe_box_rating {
    overflow: hidden;
    width: 100%;
    margin: 0 0 4px 0;
}
.recipe_box .rating_star {
    width: 22px;
    height: 22px;
}
#recipe_single_images {
    margin: 12px 0 40px 0;
    clear: both;
    width: 100%;
}
#recipe_single_rating #rating_nums {
    float: left;
    margin: 2px 0 0 8px;
}
#recipe_single_images .owl-item > div {
    width: 326px;
    height: 240px;
    overflow: hidden;
    background-size: cover!important;
    position: relative;
    border-radius: 3px;
}
#recipe_single_images .imagePopUpTrigger {
    opacity: 0;
    background: #66EE6666 url(../img/zoom.svg) no-repeat center;
    background-size: 50% auto;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s;
    cursor: pointer;
}
#recipe_single_images .imagePopUpTrigger:hover {
    opacity: 0.8;
}
#recipe_single_ingredients {
    border-collapse: collapse;
    border: 0;
    width: 100%;
    margin: 24px 0 40px 0;
}
#recipe_single_ingredients tr.ingredient_holder:nth-child(odd) {
    background: #DDD;
}
.ingredient_holder {
    border-bottom: 1px solid #EEE;
}
.ingredient_holder .ingredient_amount {
    border-left: 1px solid #DDD;
    padding: 4px 4px 4px 12px;
}
.ingredient_holder .ingredient_amount .amount_number {
    padding: 0 3px 0 0;
}
.ingredient_holder td {
    padding: 4px;
    width: 100%;
    vertical-align: top;
}
.sortable_ingredient_placeholder {
    height: 182px;
    background-color: #999;
}

#recipe_keywords {
    clear: both;
    margin: 12px 0 0 0;
    border-top: 1px solid #CCC;
    padding: 20px 0 0 0 ;
    overflow: hidden;
}
.floatet_keyword {
    display: block;
    text-decoration: none;
    float: left;
    padding: 3px 9px;
    margin: 0 6px 6px 0;
    border-radius: 32px;
    background: #999;
    color: #FFF;
    border-radius: 3px;
    cursor: pointer;
}
.floatet_keyword:hover,
.floatet_keyword:focus,
.floatet_keyword:active {
    background: #777;
}

.comment.comment_level_1 {
    margin-left: 15px;
}
.comment.comment_level_2 {
    margin-left: 30px;
}
.comment.comment_level_3 {
    margin-left: 45px;
}
.comment.comment_level_4 {
    margin-left: 60px;
}
.comment.comment_level_5 {
    margin-left: 75px;
}
.comment.comment_level_6 {
    margin-left: 90px;
}
.comment.comment_level_7 {
    margin-left: 105px;
}
.comment.comment_level_8 {
    margin-left: 120px;
}
.comment.comment_level_9 {
    margin-left: 135px;
}
.comment.comment_level_10 {
    margin-left: 150px;
}
@media (max-width: 600px) {
    .comment.comment_level_1 {
        margin-left: 5px;
    }
    .comment.comment_level_2 {
        margin-left: 10px;
    }
    .comment.comment_level_3 {
        margin-left: 15px;
    }
    .comment.comment_level_4 {
        margin-left: 20px;
    }
    .comment.comment_level_5 {
        margin-left: 25px;
    }
    .comment.comment_level_6 {
        margin-left: 30px;
    }
    .comment.comment_level_7 {
        margin-left: 35px;
    }
    .comment.comment_level_8 {
        margin-left: 40px;
    }
    .comment.comment_level_9 {
        margin-left: 45px;
    }
    .comment.comment_level_10 {
        margin-left: 50px;
    }
    .c_info {
        display: none;
    }
}

.comment_control_element {
    margin-right: 6px;
}
.flex_right {
    margin-left: auto;
}
.edit_comment_btn {
    width: 25px;
    height: 25px;
    background: #EEEE00 url(../img/edit.png) no-repeat center;
    background-position: center;
    background-size: 83%;
    border-radius: 3px;
    cursor: pointer;
}
.edit_comment_btn:hover,
.edit_comment_btn:focus,
.edit_comment_btn:active {
    background-color: #BBBB00;
}
.delete_comment_btn {
    width: 25px;
    height: 25px;
    background: #EE0000 url(../img/delete_bin.png);
    background-position: center;
    background-size: 83%;
    border-radius: 3px;
    cursor: pointer;
}
.delete_comment_btn:hover,
.delete_comment_btn:focus,
.delete_comment_btn:active {
    background-color: #BB0000;
}
#add_comment_holder {
    overflow: hidden;
    clear: both;
}
.submit_btn.add_comment_btn,
.submit_btn.add_sub_comment_btn {
    width: 120px;
    height: 32px;
    line-height: 32px;
    float: right;
}
.submit_btn.add_sub_comment_btn {
    background: #999;
    display: none;
    margin: 0;
    position: absolute;
    right: 0;
    border-radius: 3px;
    bottom: -13px;
}
.submit_btn.add_sub_comment_btn:hover,
.submit_btn.add_sub_comment_btn:focus,
.submit_btn.add_sub_comment_btn:active {
    background: #555;
}
.comment_header {
    display: flex;
    border-bottom: 1px solid #CCC;
    padding: 8px 0;
}
.flex_right {
    margin-left: auto;
}
.comment_header > div {
    align-self: center;
}
#comments > h3 {
    margin: 24px 0 12px;
}
#comments > h4 {
    margin-top: 12px;
}
.comment .comment_text {
    padding: 8px 0;
    white-space: pre-wrap;
}
.comment .comment_content {
    border-left: 3px solid #44CC44;
    padding: 0 4px;
    overflow: hidden;
    background: #EEE;
}
.comment {
    margin-bottom: 18px;
}
.comment_answer_holder {
    position: relative;
}
.comment .comment_footer {
    overflow: hidden;
}
.c_info {
    color: #777;
}
#add_comment_holder {
    display: none;
    margin-top: 18px;
}
#new_sub_comment_submit,
#new_comment_submit {
    margin-top: 4px;
    border-radius: 3px;
}
.new_comment_text {
    height: 160px;
}
.add_comment_form {
    position: relative;
}
.edit_comment_text_wrapper {
    position: relative;
    display: none;
}
.edit_comment_text_wrapper .edit_comment_text {
    margin: 12px 0;
    background: #FFF;
    height: 180px;
}
.emoji-menu {
    top: 0;
    right: 32px!important;
}
@media(min-width: 600px) {
    #new_sub_comment_submit,
    #new_comment_submit,
    .submit_btn.edit_comment_submit {
        width: 120px;
        height: 32px;
        line-height: 32px;
        margin-top: 4px;
    }
    #new_comment_cancel,
    #new_sub_comment_cancel,
    .cancel_btn.edit_comment_cancel {
        width: 120px;
        height: 32px;
        line-height: 32px;
        margin: 4px 0 0 4px;
    }
    .add_comment_form {
        padding-bottom: 60px;
    }
}




/* IMAGE / TAG POPUP */

#imagePopUpHolder {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 100;
}
#imagePopUpBackdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0,0.7);
    top: 0;
    left: 0;
}
#imagePopUp {
    position: relative;
    margin: 0 auto;
    width: 1000px;
    max-width: 96%;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}
#imagePopUpClose {
    width: 67px;
    height: 82px;
    position: relative;
    float: right;
    background: #66EE66 url(../img/close.png) no-repeat;
    background-position: center 29px;
    background-size: 62% auto;
    cursor: pointer;
    margin: 0 0 2% 0;
}
#imagePopUpClose:hover {
    background-color: #44CC44;
}
#imagePopUp img {
    clear: both;
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}





/* ADD RECIPE */

#add_recipe_header {
    margin: 0 0 22px 0;
}
.add_recipe_add_btn {
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: #FFF;
    text-align: center;
    background: #999;
    background-size: auto 80%;
    margin: 12px 0;
    border-radius: 3px;
    cursor: pointer;
    border-radius: 3px;
}
.add_recipe_add_btn:hover {
    background: #555;
    background-size: auto 80%;
}
.form_part {
    overflow: hidden;
    margin: 0 0 12px 0;
    width: 100%;
}
.form_part label,
.form_part input {
    width: 100%;
    display: block;
}
.form_part select {
    border: 1px solid #CCC;
}
.form_part input,
.form_part select,
-form_part .select2 {
    border: 0;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #CCC;
}
.form_textarea {
    resize: none;
    width: 100%;
    border: 0;
    border: 1px solid #CCC;
}
.snack_form .form_part #add_images_holder input {
    width: 100%;
    border: 0;
    float: none;
}
.add_recipe_note {
    font-style: italic;
    color: #AAA;
}
.add_recipe_ingredients_title,
.add_recipe_images_title {
    font-weight: bold;
    margin: 32px 0;
    padding: 0 0 12px 0;
    border-bottom: 4px dotted #66EE66;
}
#recipe_desc_limit {
    clear: both;
    text-align: right;
    width: 100%;
    font-style: italic;
}
.snack_form .add_ingredient_part,
.snack_form #add_images_holder {
    overflow: hidden;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.snack_form .add_ingredient_part {
    border-bottom: 2.3px dotted #CCC;
    padding: 34px 0;
    background: #FFF;
    position: relative;
}
.snack_form .add_ingredient_part .add_ingredient_content {
    position: relative;
    margin: 0 0 0 60px;
}
.snack_form .add_ingredient_part .add_ingredient_num {
    float: left;
    width: 44px;
    border-right: 2.3px dotted #CCC;
    height: 100%;
    position: absolute;
    font-size: 2em;
    text-align: right;
    padding: 0 6px 0 0;
}
.snack_form .add_ingredient_part:first-child {
    padding: 0 0 34px 0;
}
#recipe_persons {
    overflow: hidden;
    width: 100%;
    clear: both;
}
#recipe_desc_inner {
    white-space: pre-line;
    clear: both;
    margin: 12px 0;
    padding: 12px 0 0 0;
    border-top: 3px dotted #66EE66;
}
#recipe_desc_inner a {
    color: #999;
}
#recipe_desc_inner a:hover,
#recipe_desc_inner a:focus,
#recipe_desc_inner a:active {
    color: #44CC44;
}
#recipe_persons_input {
    float: left;
    width: 32px;
    line-height: 30px;
    font-size: 1.4em;
    padding: 2px 0 0 0;
    text-align: center;
    -webkit-appearance: none;
    font-family: sans-serif;
    display: block;
    border: 1px solid #ccc;
}
.recipe_person_text {
    float: left;
    margin: 7px 0;
}
#recipe_time {
    overflow: hidden;
    width: 100%;
    clear: both;
    margin: 12px 0 0 0;
}
#recipe_time.time_left {
    width: auto;
    float: none;
}
.snack_form .form_part .new_recipe_time_wrap {
    width: 100%;
    overflow: hidden;
}
#new_recipe_time_hours,
#new_recipe_time_minutes {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 42px 4px 12px;
}
.form_part .add_recipe_time_part {
    width: 48%;
    float: left;
    position: relative;
}
.form_part .add_recipe_time_part_first {
    margin: 0 4% 0 0;
}
.add_recipe_time_part .add_recipe_time_desc {
    position: absolute;
    right: 12px;
    top: 0;
    line-height: 29px;
}
#recipe_over_desc {
    overflow: hidden;
}
.snack_form .add_ingredient_part input {
    margin: 10px 0;
}

.cancel_btn,
.submit_btn {
    width: 100%;
    height: 48px;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: pointer;
    line-height: 48px;
    padding: 0;
    border: 0;
    margin: 0 0 12px 0;
}
.cancel_btn {
    background: #999;
    border-radius: 3px;
}
.cancel_btn:hover,
.cancel_btn:focus,
.cancel_btn:active {
    background: #555;
}
.submit_btn {
    background: #66EE66;
    border-radius: 3px;
}
.submit_btn:hover,
.submit_btn:focus,
.submit_btn:active {
    background: #44CC44;
}

#add_recipe_buttons {
    border-top: 1px solid #CCC;
    padding: 42px 0 0 0;
}


/* ALL RECIPES */

.pagination {
	overflow: hidden;
	margin: 18px 0 12px;
}
.pagination .page_btn_holder,
.pagination .pagination_pagenum {
  width: 32%;
  height: 2em;
  line-height: 2em;
  margin: 0 2% 0 0;
  float: left;
  text-align: center;
}
.pagination .page_btn_holder.last {
  margin: 0;
}
.pagination .page_btn_holder a {
	background: #999;
	display: block;
	box-sizing: border-box;
	color: #FFF;
    text-decoration: none;
    border-radius: 3px;
}

.pagination .page_btn_holder a:hover,
.pagination .page_btn_holder a:focus,
.pagination .page_btn_holder a:active {
	background: #555;
}


/* SORT */

#sort_elements.margined {
    margin-top: 4%;
}
#sort_elements .sort_btn {
    width: 45px;
    height: 45px;
    float: left;
    display: block;
    background: #999;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% auto;
    margin: 0 6px 0 0;
    border-radius: 30px;
    cursor: pointer;
}
#sort_elements .sort_btn:hover {
    background-color: #555;
}
#sort_elements .sort_btn.sort_name {
    background-image: url("../img/sort_title.png");
}
#sort_elements .sort_btn.sort_date {
    background-image: url("../img/sort_new.png");
}
#sort_elements .sort_btn.sort_rating {
    background-image: url("../img/sort_rating.png");
    background-size: 95% auto;
}
#sort_elements .sort_btn.sort_time {
    background-image: url("../img/sort_time.png");
}
#sort_elements .sort_btn.active_sort {
    background-color: #66EE66;
}



/* SEARCH */

#search_by_keyword {
    clear: both;
    margin: 0 0 22px;
    padding: 0 0 22px 0;
    font-size: 1.4em;
    border-bottom: 3px dotted #66EE66;
}



/* KEYWORDS */
#addTagPopup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 100;
}
#addTagPopup #addTagPopupBackdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
}
#addTagPopup #addTagPopupContent {
    background: #FFF;
    padding: 20px;
    width: 450px;
    max-width: 92%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 4% auto 0;
    clear: both;
    position: relative;
}
#addTagPopupClose {
    width: 35px;
    height: 35px;
    float: right;
    position: relative;
    cursor: pointer;
    margin: 0 0 6px 0;
    background: #66EE66 url("../img/close.png") no-repeat center;
    background-size: 68% auto;      
}
#addTagPopupClose:hover {
    background-color: #44CC44;
}
.tagPopupTrigger {
    padding: 4px 12px;
    float: left;
    background: #999;
    color: #FFF;
    margin: 6px 0 0 0;
    cursor: pointer;
    border-radius: 3px;
}
.tagPopupTrigger:hover {
    background: #555;
}


/* MY RECIPES */

#myrecipes_list,
#mytags_list {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}
.myrecipe_num,
.mytag_num {
    font-size: 1.4em;
}
#notification_list .notification_holder {
    display: block;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    padding: 10px 4px;
}
#notification_list .notification_holder > * {
    align-self: center;
}
#notification_list .notification_holder a {
    text-decoration: none;
    color: #333;
    padding: 7px 0;
    width: auto;
    display: block;
}
#notification_list .notification_holder a:hover,
#notification_list .notification_holder a:focus,
#notification_list .notification_holder a:active {
    color: #777;
}
#myrecipes_list tr,
#mytags_list tr,
#notification_list .notification_holder {
    border-bottom: 1px solid #CCC;
}
#myrecipes_list tr td,
#mytags_list tr td {
    padding: 10px 4px;
    vertical-align: middle;
}
#myrecipes_list .myrecipe_title,
#mytags_list .mytag_title {
    width: 90%;
}
#myrecipes_list tr td .myrecipe_open_link {
    padding: 0 12px;
    display: block;
    line-height: 2.2em;
    background: #66EE66;
    color: #FFF;
    text-align: center;
    width: 70px;
    text-decoration: none;
    border-radius: 3px;
}
#myrecipes_list tr td .myrecipe_edit_link {
    display: block;
    width: 2.2em;
    line-height: 2.2em;
    background: #EEEE00 url("../img/edit.png") no-repeat center;
    background-size: auto 70%;
    height: 2.2em;
    border-radius: 3px;
}
#myrecipes_list tr td .myitem_remove_link,
#notification_list .notification_holder .notification_remove_link {
    display: block;
    width: 2.2em;
    line-height: 2.2em;
    background: #EE0000 url("../img/close.png") no-repeat center;
    background-size: auto 70%;
    height: 2.2em;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
}

#myrecipes_list tr td .myrecipe_open_link:hover,
#myrecipes_list tr td .myrecipe_open_link:focus,
#myrecipes_list tr td .myrecipe_open_link:active {
    background-color: #44CC44;
}
#myrecipes_list tr td .myrecipe_edit_link:hover,
#myrecipes_list tr td .myrecipe_edit_link:focus,
#myrecipes_list tr td .myrecipe_edit_link:active {
    background-color: #BBBB00;
}
#myrecipes_list tr td .myitem_remove_link:hover,
#myrecipes_list tr td .myitem_remove_link:focus,
#myrecipes_list tr td .myitem_remove_link:active,
#notification_list .notification_holder .notification_remove_link:hover,
#notification_list .notification_holder .notification_remove_link:focus,
#notification_list .notification_holder .notification_remove_link:active {
    background-color: #BB0000;
}

#mytags_list tr td .mytag_edit_link {
    display: block;
    width: 2.2em;
    line-height: 2.2em;
    background: #EEEE00 url("../img/edit.png") no-repeat center;
    background-size: auto 70%;
    height: 2.2em;
}
#mytags_list tr td .myitem_remove_link {
    display: block;
    width: 2.2em;
    line-height: 2.2em;
    background: #EE0000 url("../img/close.png") no-repeat center;
    background-size: auto 70%;
    height: 2.2em;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
}

#mytags_list tr td .mytag_edit_link:hover,
#mytags_list tr td .mytag_edit_link:focus,
#mytags_list tr td .mytag_edit_link:active {
    background-color: #BBBB00;
}
#mytags_list tr td .myitem_remove_link:hover,
#mytags_list tr td .myitem_remove_link:focus,
#mytags_list tr td .myitem_remove_link:active {
    background-color: #BB0000;
}

#removeItemPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
#removeItemBackdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
}
#removeItemPopupContent {
    position: relative;
    width: 320px;
    box-sizing: border-box;
    padding: 22px;
    background: #FFF;
    overflow: hidden;
    margin: 20% auto;
    text-align: center;
}
#removeItemPopupContent .remove_item_form {
    margin: 22px 0 0 0;
    overflow: hidden;
}
.remove_item_form .submit_btn {
    margin: 0;
}

#edit_recipe_ex_images .edit_recipe_image_holder {
    margin: 7px 0;
    display: block;
    width: 32%;
    float: left;
    height: 240px;
    overflow: hidden;
    margin: 0 2% 2% 0;
    position: relative;
    cursor: pointer;
}
#edit_recipe_ex_images .thumb_toggle {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(1,1,1,0.5);
    color: #FFF;
    padding-top: 38%;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transition: all 0.2s;
}
.image_thumb_checkbox {
    display: none;
}
#edit_recipe_ex_images .thumb_toggle:hover {
    opacity: 1;
}
#edit_recipe_ex_images .thumb_toggle:hover .image_thumb {
    display: block;
}
#edit_recipe_ex_images .edit_recipe_image_holder .image_thumb {
    display: none;
    width: 42px;
    height: 42px;
    position: absolute;
    left: 10px;
    top: 10px;
    transition: all 0.2s;
    background: #FFF url("../img/rating_empty.png") no-repeat center;
    background-size: 60% auto;
}
#edit_recipe_ex_images .edit_recipe_image_holder .image_thumb.active {
    display: block;
}
#edit_recipe_ex_images .edit_recipe_image_holder .recipe_edit_image {
    background-size: cover!important;
    height: 100%;
    position: relative;
}
#edit_recipe_ex_images {
    overflow: hidden;
    margin: 0 0 12px 0;
}
#edit_recipe_ex_images .edit_recipe_image_holder .edit_recipe_remove_image {
    position: absolute;
    right: 10px;
    top: 0px;
    width: 42px;
    height: 52px;
    background: #66EE66 url(../img/close.png) no-repeat;
    background-position: center 18px;
    background-size: 62% auto;
    cursor: pointer;
}
#edit_recipe_ex_images .edit_recipe_image_holder:nth-child(3n + 3) {
    margin: 0;
}
#add_images_holder input {
    margin: 0;
    padding: 0;
}



/* Issue tracker */
#tracker_title {
    margin-bottom: 1.2em;
}
#issue_form {
    overflow: hidden;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 2px dotted #CCC;
    border-bottom: 2px dotted #CCC;
}
#issue_list {
    overflow: hidden;
    clear: both;
}
.issue {
    overflow: hidden;
    padding: 8px 0;
    border-bottom: 1px solid #CCC;
    position: relative;
}
.issue .issue_title {
    font-weight: bold;
    padding: 4px;
    position: relative;
}
.issue .issue_date {
    padding: 4px;
    font-style: italic;
}
.issue .issue_description {
    white-space: pre-line;
    padding: 4px;
}
.issue .issue_title.triage,
.issue_legend_0 {
    background: #66EE66;
}
.issue .issue_title.doing,
.issue_legend_1 {
    background: #EEEE66;
}
.issue .issue_title.testing,
.issue_legend_2 {
    background: #66EEEE;
}
.issue .issue_title.done,
.issue_legend_3 {
    background: #999999;
}
#issue_legend {
    margin: 20px 0 0 0;
    padding-bottom: 20px;
    clear: both;
    overflow: hidden;
    border-bottom: 2px dotted #CCC
}
#issue_legend > div {
    padding: 4px 6px;
    float: left;
    box-sizing: border-box;
    margin-right: 2%;
    width: 23.5%;
    border-radius: 3px;
}
#issue_legend > div.issue_legend_3 {
    margin-right: 0;
}
.issue_admin_tools {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #EEE;
    padding: 6px;
    box-sizing: border-box;
}
.issue_delete_form {
    float: right;
    overflow: hidden;
}
.issue_delete_form input.delete_issue_btn {
    background: #EE0000 url("../img/delete_bin.png") no-repeat center;
    background-size: auto 65%;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
}
.issue_delete_form input.delete_issue_btn:hover {
    background-color: #BB0000;
}
.issue_status_form {
    float: right;
    height: 25px;
    width: 240px;
}
.issue_status_select {
    width: 120px;
    height: 25px;
    padding: 0 0 0 6px;
    float: left;
    border: 0;
}
.issue_status_form input.save_issue_status_btn {
    background: #CCCCCC;
    padding: 4px 0;
    width: 100px;
    margin: 0 16px 0 4px;
    box-sizing: border-box;
    border-radius: 3px;
    float: left;
    cursor: pointer;
}
.issue_status_form input.save_issue_status_btn:hover {
    background: #AAAAAA;
}
.user_delete_issue {
    position: absolute;
    right: 6px;
    top: 4px;
}
.user_delete_issue .user_issue_delete_btn {
    width: 22px;
    height: 22px;
    background: #EE0000 url("../img/delete_bin.png") no-repeat center;
    background-size: auto 65%;
    border-radius: 3px;
    cursor: pointer;
}
.user_delete_issue .user_issue_delete_btn:hover {
    background-color: #BB0000;
}
.issue_form_error {
    background: #EE0000;
    color: #FFF;
    padding: 4px;
    box-sizing: border-box;
    margin-bottom: 6px;
}


/* Snack of the Year */

#soty_wrapper {
    text-align: center;
}

#soty_wrapper .site_headline.soty {
    color: #6E6;
    font-size: 3.4em;
    margin-bottom: 1em;
}


@media (max-width: 599px) {
    #myrecipes_list,
    #myrecipes_list tbody,
    #myrecipes_list tr,
    #myrecipes_list tr td,
    #mytags_list,
    #mytags_list tbody,
    #mytags_list tr,
    #mytags_list tr td {
        display: block;
        overflow: hidden;
        padding: 0;
    }
    #mytags_list tr td,
    #myrecipes_list tr td {
        float: left;
    }
    #mytags_list .mytag_num,
    #myrecipes_list .myrecipe_num {
        width: 10%;
        padding-bottom: 2px;
    }
    #mytags_list tr,
    #myrecipes_list tr {
        padding-bottom: 12px;
        margin-bottom: 22px;
    }
    #mytags_list tr td.mytag-open,
    #myrecipes_list tr td.myrecipe_open {
        clear: both;
    }
    #myrecipes_list tr td.myrecipe_open,
    #myrecipes_list tr td.myrecipe_edit,
    #myrecipes_list tr td.myrecipe_remove {
        width: 32%;
        margin-top: 12px;
    }

    #mytags_list tr td.mytag_edit,
    #mytags_list tr td.mytag_remove {
        width: 49%;
        margin-top: 12px;
    }
    #mytags_list tr td.mytag_edit,
    #myrecipes_list tr td.myrecipe_open,
    #myrecipes_list tr td.myrecipe_edit {
        margin-right: 2%;
    }
    #mytags_list tr td .mytag_edit_link,
    #mytags_list tr td .myitem_remove_link,
    #myrecipes_list tr td .myrecipe_open_link,
    #myrecipes_list tr td .myrecipe_edit_link,
    #myrecipes_list tr td .myitem_remove_link {
        width: 100%;
        padding: 0;
    }
    
    #edit_recipe_ex_images .edit_recipe_image_holder {
        width: 49%;
        height: 160px;
    }
    #edit_recipe_ex_images .edit_recipe_image_holder:nth-child(3n+3) {
        margin: 0 2% 2% 0;
    }
    #edit_recipe_ex_images .edit_recipe_image_holder:nth-child(2n+2) {
        margin: 0;
    }
}




/* FOOTER */

#footer {
    background: #999;
    margin: 40px 0 0 0;
    color: #FFF;
    line-height: 28px;
    padding: 20px 0 60px 0;
}
#footer_inner {
    max-width: 92%;
    width: 1000px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
}
.footer_box {
    float: left;
}
.footer_box.footer_box_a {
    width: 30.33332%;
    margin: 0 3% 0 0;
}
.footer_box.footer_box_b{
    width: 66.6665%;
}
.footer_copyright {
    font-style: italic;
    margin: 12px 0 0 0;
}
.footer_box ul li a {
    text-decoration: none;
    color: #FFF;
}
.footer_box ul li a:hover,
.footer_box ul li a:focus,
.footer_box ul li a:active {
    text-decoration: underline;
}
#footer #footer_logo {
    width: 76px;
    max-width: 90%;
}

#footer #footer_logout {
	margin: 6px 0 0 0;
	padding: 4px 6px;
    border-radius: 3px;
	background: #FFF;
}
#footer #footer_logout:hover {
    background: #DDD;
}

@media (min-width: 600px) and (max-width: 999px) {
    .recipe_box {
        width: 48%;
        margin: 0 4% 0 0;
        float: left;
    }
    #recipe_single_images .owl-item img {
        height: 350px;
    }
    .recipe_box:nth-child(even) {
        margin: 0;
    }
    #recent_recipes .recipe_box:last-child {
        display: none;
    }
}
@media (min-width: 600px) {
    .recipe_box {
        padding: 12px 0 1% 0;
    }
    .recipe_box_headline {
        height: 2.5em;
        overflow: hidden;
    }
    .snack_form .form_part label {
        float: left;
        width: 30%;
    }
    .snack_form .form_part input,
    .snack_form .form_part .select2,
    .snack_form .form_part select,
    .form_textarea,
    .snack_form .form_part #new_recipe_time_wrap {
        float: left;
        width: 70%;
    }
    .snack_form .add_ingredient_part input {
        width: 100%;
        float: none;
    }
    #recipe_time {
        float: left;
        width: 48%;
        text-align: right;
        margin: 7px 0;
        clear: none;
    }
    #recipe_persons {
        width: 48%;
        float: left;
        margin: 0 4% 0 0;
    }
    .cancel_btn,
    .submit_btn {
        float: left;
        width: 48%;
    }
    .cancel_btn {
        margin: 0 4% 0 0;
    }
}
@media (min-width: 1000px) {
    .recipe_box {
        width: 32%;
        margin: 0 2% 0 0;
        float: left;
    }
    #recipe_single_ingredients {
        width: 48%;
        margin: 0 4% 40px 0;
        float: left;
    }
    #recipe_description {
        float: right;
        width: 48%;
    }
    #recipe_single_ingredients.full_size,
    #recipe_description.full_size {
        width: 100%;
        float: none;
    }
    #recipe_single_images .owl-item img {
        height: 400px;
    }
    .recipe_box:nth-child(3n+3) {
        margin: 0;
    }
}