/*** header bar ***/
.recipes .header_normal {
    width : 100%;
    height : 48px;
    margin : 0;
    padding : 0 0 0 0;
    background-color : #EFEFEF;
    position : relative;
}

.recipes .recipes_tab_wrapper {
    width: 402px;
    height: 48px;
    margin-left: 11px;
    margin-right: 11px;
    /* font-family: "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    display: block;
    position: relative;
    float: left;
}

.recipes .tab_recipe {
    width: 200px;
    /* font-family: "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    font-size: 25px;
    color: #FFFFFF;
    background-color: #0071F9;
    display: block;
    border: 1px solid #0071F9;
    border-radius: 10px 0 0 10px;
    text-align: center;
    position: relative;
    float: left;
    line-height: 44px;
}

.recipes .tab_tag {
    width: 200px;
    /* font-family: "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    font-size: 25px;
    color: #0071F9;
    display: block;
    border: 1px solid #0071F9;
    border-radius: 0 10px 10px 0;
    border-left: 1px;
    text-align: center;
    position: relative;
    float: left;
    line-height: 44px;
}

/*.recipes .add_button {
    width : 48px;
    height : 48px;
    margin : 0 0 0 20px;
    padding : 0;
    display : block;
    position : relative;
    float : left;
    background-image : url("../res/add.png");
    background-size : contain;
    background-repeat : no-repeat;
}*/

/*.recipes .edit_button {*/
/*    width : 60px;*/
/*    margin : 0 0 0 40px;*/
/*    padding : 0;*/
/*    !* font-family : "Noto Sans", "Noto Sans CJK JP Light", sans-serif; *!*/
/*    font-size : 25px;*/
/*    color : #0071F9;*/
/*    display : block;*/
/*    text-align : right;*/
/*    position : relative;*/
/*    float : left;*/
/*    line-height : 48px;*/
/*}*/

/*.recipes .share_button {*/
/*    width : 60px;*/
/*    margin : 0 100px 0 40px;*/
/*    padding : 0;*/
/*    !* font-family : "Noto Sans", "Noto Sans CJK JP Light", sans-serif; *!*/
/*    font-size : 25px;*/
/*    color : #0071F9;*/
/*    display : block;*/
/*    text-align : right;*/
/*    position : relative;*/
/*    float : left;*/
/*    line-height : 48px;*/
/*}*/

.recipes .header_mesh_logo {
    width : 88px;
    height : 48px;
    margin : 0 88px 0 16px;
    padding : 0;
    display : block;
    position : relative;
    float : left;
    object-fit: fill;
}

.recipes .header_title_normal {
    margin : 0;
    padding : 0;
    color : #353535;
    /* font-family : "Noto Sans", "Noto Sans CJK JP", sans-serif; */
    font-size : 21px;
    display : block;
    text-align : center;
    position : relative;
    float : left;
    line-height : 48px;
    width: calc(100% - 16px - 88px - 88px - 16px - 16px - 48px - 48px - 48px - 16px);
}

.recipes .contents_button {
    width : 48px;
    height : 48px;
    margin : 0 56px 0 auto;
    padding : 0;
    display : block;
    position : relative;
    float : right;
    background-image : url("../res/media.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .devices_button {
    width : 24px;
    height : 24px;
    margin : 12px 84px 12px 0px;
    padding : 0;
    display : block;
    position : relative;
    float : right;
}

.recipes .devices_button img {
    width: 100%;
    height: 100%;
}

.recipes .menu_button {
    width : 24px;
    height : 24px;
    margin : 12px calc(12px) 12px 12px;
    padding : 0;
    display : block;
    position : relative;
    float : right;
    background-image : url("../res/settings.png");
    background-size : contain;
    background-repeat : no-repeat;
}

/*1024px*/

.recipes .help_button {
    width : 24px;
    height : 24px;
    margin : 12px calc(12px + 16px) 12px 12px;
    padding : 0;
    display : block;
    position : relative;
    float : right;
    background-image : url("../res/help-sp.png");
    background-size : contain;
    background-repeat : no-repeat;
}

/*** edit header bar ***/
.recipes .header_edit {
    width : 100%;
    height : 48px;
    margin : 0;
    padding : 0 0 0 0;
    /*background-color : #A0A0A0;*/
    background-color : #EFEFEF;
    position : relative;
}

.recipes .export_button {
    width : 48px;
    height : 48px;
    margin : 0 232px 0 20px;
    padding : 0;
    display : block;
    position : relative;
    float : left;
    background-image : url("../res/export.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .copy_button {
    width : 48px;
    height : 48px;
    margin : 0 0 0 20px;
    padding : 0;
    display : block;
    position : relative;
    float : left;
    background-image : url("../res/copy.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .delete_button {
    width : 48px;
    height : 48px;
    margin : 0 auto 0 56px;
    padding : 0;
    display : block;
    position : relative;
    float : left;
    background-image : url("../res/delete.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .header_title_edit {
    position: absolute;
    margin : 0 auto;
    left: 0;
    right: 0;
    padding : 0;
    /*color : #FFFFFF;*/
    color : #353535;
    /* font-family : "Noto Sans", "Noto Sans CJK JP", sans-serif; */
    font-size : 22px;
    display : block;
    text-align : center;
    line-height : 48px;
}

.recipes .done_button {
    margin : 0 20px 0 0px;
    padding : 0;
    /* font-family : "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    font-size : 25px;
    color : /*#FFFFFF*/#0071F9;
    display : block;
    text-align : right;
    position : relative;
    float : right;
    line-height : 48px;
}

.recipes .header_normal_inner {

}

.recipes .alert_bar {
    position: absolute;
    height: 44px;
    line-height: 44px;
    width: 100%;
    background-color: #0071F9;
}

.recipes .alert_bar_icon {
    position: absolute;
    top: 14px;
    left: 32px;
    width: 16px;
    height: 16px;

    background-image : url("../res/alertIcon.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .alert_bar_text {
    position: absolute;
    top: 0px;
    left: 56px;
    line-height: 18px;
    padding-top: 13px;
    text-decoration: underline;
    color: #FFFFFF;
    font-size: 18px;
}

/*1024px*/

/*** recipe container ***/
.recipes .recipe_container {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    width : 100%;
    height : 100%;
    min-width: 720px;
    min-height: 560px;
    margin-top: 0px;
    padding-top: 40px;
    padding-bottom: 44px;
    overflow-y : scroll;
    background-image: url("../res/texture_recipe.png");
    background-repeat: repeat;
    background-position: top left;
}

.recipes .recipe_container_wrapper_with_alert {
    margin-top: 44px;
    padding-top: 40px;
    padding-bottom: 88px;
}

/*** recipe ***/
.recipes .recipe_wrapper {
    /*width : 27%;*/
    width : 260px;
    height: 258px;
    /*margin : 30px 3.28% 10px 3.28%;*/
    margin-left : 57px;
    margin-bottom : 60px;
    float : left;
    position : relative;
    background-color : #FFFFFF;
    border : 1px solid #AAAAAA;
    /*border-radius : 10px;*/
    box-shadow : 0 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.recipes .recipe_wrapper:before {
    content:"";
    display: block;
    padding-top: 100%; /* 高さを幅の75%に固定 */
}

.recipes .recipe_content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.recipes .recipe_image_wrapper {
    display: block;
    margin : 0;
    padding: 0 0 0 0;
    position : relative;
    width : 100%;
    height : auto;
    background-color : #FFF;
    /*border-radius : 10px 10px 0 0;*/
}

.recipes .recipe_image_wrapper:before {
    display: block;
    content: "";
    padding-top: 75%;
}

.recipes .recipe_image_content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 12px;
}

.recipes .recipe_add_button_image_wrapper {
    width: 100%;
    height: 100%;
    border: solid 1px;
    border-color:#0071F9;
}

.recipes .recipe_image {
    widows: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
}

.recipes .recipe_add_button_image {
    width: 48px;
    height: 48px;
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.recipes .recipe_select {
    width : 100%;
    height : 100%;
    margin : 0;
    padding : 0;
    position : absolute;
    top : 0;
    left : 0;
    background : rgba(0, 0, 0, 0.2);
    /*border-radius : 10px;*/
    border : 2px solid /*#00FF00*/#0071F9;
}

.recipes .recipe_select_check {
    width : 26px;
    height : 26px;
    margin : 0;
    padding : 0;
    position : absolute;
    top : 10px;
    right : 10px;
    background-size : contain;
    background-image : url("../res/checked_circle.png");
    background-repeat : no-repeat;
}

.recipes .recipe_infos {
    width : 100%;
}

.recipes .recipe_title {
    max-width : 100%;
    margin : 0 4.58% 1% 4.58%;
    /* font-family : "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    font-size : 20px;
    color : #000000;
    white-space : pre;
    /*overflow : scroll;*/
    overflow : hidden;
    text-overflow : ellipsis;
}

.recipes .recipe_add_button_text {
    max-width : 100%;
    margin : 0 4.58% 1% 4.58%;
    /* font-family : "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    font-size : 20px;
    color : #0071F9;
    white-space : pre;
    /*overflow : scroll;*/
    overflow : hidden;
    text-overflow : ellipsis;
}

.recipes-sp .recipe_date_wrapper {
    position: absolute;
    width: 100%;
}

.recipes .recipe_infos .info_text_wrapper {
    display: -webkit-flex;
    -webkit-justify-content: space-between;
}

.recipes .recipe_resident_state {
    /* font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif; */
    font-size: 14px;
    color: #0071F9;
    padding: 0 12px 12px 12px;
    margin-top: 4px;
}

.recipes .recipe_resident_state:after {
    content: "";
    position: absolute ;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-bottom-color: #0071F9;
    border-width: 0px 0px 12px 12px;
}

.recipes .recipe_resident_state_disable:after {
    border-bottom-color: #9B9B9B;
    opacity: 0.2;
}

.recipes .recipe_infos .info_button_wrapper {
    position: absolute;
    right: 4.58%;
}

.recipes .recipe_date {
    /* font-family : "Noto Sans", "Noto Sans CJK JP", sans-serif; */
    font-size : 14px;
    color : #666666;
    padding : 0 4.58% 0 4.58%;
    margin-top : 4px;
    margin-bottom : 6px;
}

.recipes .recipe_info_button {
    margin : 8px 0 0 12px;
    display : inline-block;

    width : 12px;
    height : 12px;
    background-image : url("../res/more.png");
    background-size : contain;
    background-repeat : no-repeat;
}

.recipes .disabled_icon {
    opacity : 0.3;
}

.recipes .recipe_resident {
    width : 100%;
    height : 100%;
    margin : 0;
    padding : 0;
    position : absolute;
    top : 0;
    left : 0;
    background : rgba(0, 0, 0, 0);
    border : 2px solid #81C151;
    pointer-events: none;
    -ms-touch-action: none;
    touch-action: none;
}

.recipes .footer {
    width: 100%;
    height: 48px;
    display: -webkit-flex;
    bottom: 0;
    margin: 0;
    background-color: #FFFFFF;
    border-top: 1px dashed #CCCCCC;
    position: absolute;
}

.recipes .up_arrow {
    width: 7%;
    height: 100%;
    margin-left: 7%;
    display: inline-block;
    background-image: url("../res/up_arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .device_icon {
    width: 5%;
    height: 100%;
    margin-left: 20px;
    margin-right: 20px;
    background-image: url("../res/device.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .device_name {
    width: 77%;
    height: 100%;
    font-size: 25px;
    line-height: 48px;

    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* タグリスト */

.recipes .tag_list_container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.recipes .tag_list_wrapper {
    position: relative;
    width: 100%;
    height: 10%;
    background-color: #FFFFFF;
    border-top: dashed 1px gray;
    border-bottom: solid 1px gray;
}

.recipes .tag_add_wrapper {
    display: -webkit-flex;
    -webkit-justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

.recipes .add_tag_icon {
    width: 50px;
    height: 50px;
    margin: 5px;
    margin-left: 360px;
    background-image: url("../res/add.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .add_new_tag {
    font-size: 18px;
    margin-left: 40px;
    margin-right: 80px;
    color: #0071F9;
}

.recipes .tag_list_each_wrapper {
    position: relative;
    width: 100%;
    height: 90%;
    background-color: #FFFFFF;
}

.recipes .tag_each_wrapper_inner {
    position: relative;
    width: 100%;
    height: 12%;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #FFFFFF;
    border-bottom: solid 1px gray;
}

.recipes .tag_wrapper_flex {
    display: -webkit-flex;
    -webkit-justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.recipes .icon_wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.recipes .tag_icon.tag_not_connected {
    opacity: 0.3;
}

.recipes .icon_wrapper img.caution {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 2px;
}

.recipes .tag_icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.recipes .tag_info {
    width: 230px;
    height: 100%;
    margin-left: 20px;
}

.recipes .tag_name {
    position: relative;
    width: 100%;
    height: 50%;
    font-weight: bold;
    font-size: 16px;
    text-align: center;

    display: -webkit-flex;
    -webkit-justify-content: flex-start;
    align-items: center;
}

.recipes .tag_device_name {
    width: 100%;
    height: 50%;
    font-size: 14px;
    /* font-family: "Noto Sans", "Noto Sans CJK JP Light", sans-serif; */
    text-align: center;

    display: -webkit-flex;
    -webkit-justify-content: flex-start;
    align-items: center;
}

.recipes .tag_battery {
    padding: 8px;
    width: 60px;
    height: 100%;
}

.recipes .img_tag_battery {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .tag_remaining_battery {
    padding: 8px;
    width: 60px;
    height: 100%;
}

.recipes .remaining_percentage {
    display: block;
    width: 100px;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .remaining_time {
    display: block;
    width: 100px;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.recipes .devices_button {
    display: none;
}
