/**
 * Admin CSS file
 */
#fm-tabs > div{
    display:none;
}
#fm-settings{
    background: #ffffff;
    padding: 15px;
}
.fm-meta-control {
    margin-bottom: 15px;
}

.fm-meta-control label {
    display: block;
    font-weight: bold;
}

#fm-admin-promo {
    background-color: #fcf8e3;
    border: 1px solid #faebbe;
    color: #8a6d3b;
    padding: 15px;
}

#fm_event_meta .inside code {
    word-break: break-all;
}

.border{
    border: 1px solid red;
}

/*Spider events*/
.fm_repeat_type_list{
    float: left;
    width: 30%;
}
.fm_repeat_advanced{
    float: left;
    width: 68%;
}
#fm_choose_day_container div label{
    width: 120px;
    display: inline-block;
}
#fm_choose_day_container div label:after{
    clear: both;
}
#fm_choose_day_container div label input{
    float: right;
    margin: 1px;
}
.fm_icon{
    max-width: 64px;
    max-height: 64px;
}

.fm-modal .fm-calendar-event,
.fm-events .fm-calendar-event{
    width:47%;
    display: inline-block;
    margin:0 20px 10px 0;
}

.fm-events .fm-calendar-event{
    width:42%;
}
.fm-modal .fm-calendar-event span:first-child,
.fm-events .fm-calendar-event span:first-child{
    border: 1px solid #C8C8C8;
    display: inline-block;
    width: 89%;
    box-sizing: border-box;
    padding: 2px 2px 2px 7px;
    color: #7C7C7C;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
}

.fm-events .fm-calendar-event span:first-child{
    width: 81%;
}
.fm-modal .fm-calendar-event:nth-child(even){
    margin-right:0;
}

.fm-events .fm-calendar-event:after{
    clear: both;
}

.fm-modal .fm-calendar-event .fm-calendar-event-add,
.fm-events .fm-calendar-event-delete{
    display: inline-block;
    text-align: center;
    float: left;
    vertical-align: middle;
    border-radius: 2px;
    height: 24px;
    width: 24px;
    color: #FFFFff;
    background-color: #0074A2;
    cursor: pointer;
    font-size: 19px;
}


.fm-events .fm-calendar-event-edit{

}
.fm-events .fm-calendar-event-edit a{
    font-size: 0;
    display: inline-block;
    float: left;
    margin: 0 1px;
    border-radius: 2px;
    height: 24px;
    width: 24px;
    background: url("../images/edit_icon.png") no-repeat center center;
}
.fm-events .fm-calendar-event-delete{
    line-height: 20px;
}

.fm-calendar-event-add {
    cursor: pointer;
}

.fm-modal {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: scroll;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.fm-modal:target {
    opacity:1;
    pointer-events: auto;
}
.fm-modal > div.fm-excluded-events {
    width: 500px !important;
    position: relative;
    margin: 10% auto;
    padding: 0px 20px 16px 20px !important;
    border-radius: 1px;
    background: #fff;
}
.fm-modal > div.fm-preview {
    position: relative;
    margin: 5%;
    padding: 5px 20px 13px 20px;
    border-radius: 1px;
    background: #fff;
    min-width:600px;
}

.fm-close {
    background: url(../images/close.png);
    display: inline-block;
    position: absolute;
    right: 0px;
    height: 29px;
    top: 0px;
    width: 29px;
    text-decoration: none;
    z-index: 4;
}

.fm-excluded-events h2{
    margin: 15px 0;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #B2B2B2;
}

.wd_stay_active {
    background: none repeat scroll 0% 0% green !important;
    box-shadow: 0px 1px 3px 0px #178FE5 inset !important;
    color: #FFF !important;
    font-weight: 700 !important;
}
#fm_event_pickup_date, #fm_event_pickup_time {
    height: 27px;
    border: 1px solid #A1A1A1;
    border-radius: 0;
    font-size: 13px;
    color: #444444;
    padding: 0 5px 0 27px;
    margin-top: 1px;
}

#fm_event_pickup_date {
    background:url(../images/admin_day.jpg) no-repeat left;
    margin: 1px 8px;
}
#fm_event_pickup_time {
    background:url(../images/admin_time.jpg) no-repeat left;
}

/*TABS*/
#fm-tabs, #fm-tabs div{
    background: none #ffffff;
    border: 0;
}
.fm-tabs{
    list-style-type: none;
}
.fm-tabs li,
#fm-settings-content .nav-tab-wrapper a{
    display: inline-block;
    border: 1px solid #A5A5A5;
}
.fm-tabs li a,
#fm-settings-content .nav-tab-wrapper a{
    display: table-cell;
    text-align: center;
    width: 100px;
    height: 30px;
    vertical-align: middle;
    text-decoration:none;
    color:#5E5E5E;
    font-size: 16px;
}

#fm-settings-content .nav-tab-wrapper a{
    background: #ffffff;
    height: 21px;
    margin-right: 4px;
    display: inline-block;
    font-weight: normal;
    padding-top: 2px;
}

.fm-tabs li a:focus{
    box-shadow:none;
}
.fm-tabs li:hover a,.fm-tabs li.ui-state-active a,
#fm-settings-content .nav-tab-wrapper a:hover,#fm-settings-content .nav-tab-wrapper a.nav-tab-active{
    color:#ffffff;
    background: #0074A2;
}

#fm-settings-content .nav-tab-wrapper {
    border-bottom:0;
    padding-left: 0;
}

.fm-tabs li:hover,.fm-tabs li.ui-state-active,
#fm-settings-content .nav-tab-wrapper a.nav-tab-active{
    border: 1px solid transparent;
}

.fm-tab-inner{
    padding: 15px;
}

/*Preview */
.ui-selecting { background: #FECA40 !important; }
.ui-selected { background: #F39814 !important;}

.event_cal_add {
    width: 350px;
    height: 130px;
    padding: 40px 20px 0;
    border: 1px solid #cccccc;
    position: absolute;
    z-index: 9999;
    background: #ffffff;
}
.event_cal_add .close{
    display: block;
    line-height: 18px;
    width: 20px;
    font-size: 8pt;
    margin-top: 1px;
    margin-right: 1px;
    position: absolute;
    font-family: tahoma;
    text-align: center;
    top: 0;
    right: 0;
    cursor: pointer;
    background-size: contain;
    height: 20px;
}

.event_cal_add .add_event_to_cal{
    display: block;
    cursor: pointer;
    padding-bottom: 10px;
    margin: 25px 0 0 0;
    width: 78px;
    text-align: center;
    line-height: 30px;
    height: 20px;
    background: #e3e3e3;
    border: 1px solid #eeeeee;
}
.event_cal_add .fm_notification{
    display: block;
    height: 20px;
    margin: 25px 0 0 0;
}
span.fm_error{
    color: #bc0b0b;
    display: block;
    padding-left: 36px;
    height: 20px;

}
#fm_calendar_meta h3.hndle{
    color:#0074A2;
    text-transform:uppercase;
    font-size: 17px;
}
#fm-settings a.button{
    border: 1px solid #A1A1A1;
    padding: 0px 15px;
    box-shadow: none;
    border-radius: 0;
    color: #000;
    font-weight: bold;
}
#fm-settings a.button:hover{
    border: 1px solid transparent;
    color: #fff;
    background: #0074A2;
}
#fm-settings input[type="text"],
#fm-settings select,
#fm_theme_meta input[type="text"]:not(#fm_event_location),
#fm_calendar_meta input[type="text"]:not(.fm-search),
#fm_calendar_meta select,
#fm_event_meta input[type="text"]:not(#fm_event_date_from):not(#fm_event_date_to):not(#fm_event_location),
#fm_event_meta select,
#fm_event_meta #fm_event_year_month,
#fm-settings .form-field input, #fm-settings input.regular-text{
    width:250px;
    border: 1px solid #A1A1A1;
}
#fm_event_date_from,#fm_event_date_to{
    border: 1px solid #A1A1A1;
}

#fm-settings  input[type="checkbox"],
#fm_event_meta  input[type="checkbox"],
#fm-settings  input[type="radio"]{
    position: absolute;
    z-index: -1;
    margin: 0 !important;
    width: 5px !important;
    height: 5px !important;
    min-width: 5px !important;
}


#fm-settings  .checkbox-div,
#fm_event_meta  .checkbox-div{
    width: 13px;
    height: 12px;
    background: #FDFDFD;
    border: 1px solid #CBCBCB;
    border-radius: 0px;
    position: relative;
    display: inline-block;
    top: 2px;
    margin-right: 7px;
    margin-left: 15px;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}
#fm-settings  .checkbox-div:first-child{
    margin-left: 0px;
}

#fm-settings .checkbox-div input[type="checkbox"]:checked + label ,
#fm_event_meta .checkbox-div input[type="checkbox"]:checked + label ,
#fm-settings  .checkbox-div input[type="radio"]:checked + label {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    background: #CBCBCB;
    position: absolute;
    top: 2px;
}

#fm-settings  input[type="submit"] {
    background: #0074A2;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    border: 0;
    border-radius: 0;
    padding: 5px 25px;
    height: auto;
}


#fm_event_meta  .checkbox-div label,
#fm-settings  .checkbox-div label {
    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: "";
    position: absolute;
    width: 9px;
    height: 8px;
    background: #CBCBCB;
    border-radius: 0px;
    top: 2px;
    left: 2px;
}

#fm_calendar_meta .add_event_plus{
    display:inline-block;
    width:18px;
    height:18px;
    border-radius:100%;
    background:#0074A2;
    color:#ffffff;
    text-shadow:1px -1px 2px #005C82;
    margin-left:8px;
    text-align:center;
    font-weight: bold;
    font-size: 15px;
    line-height: 17px;
}
#fm_calendar_meta .fm-calendar-event-add a:focus{
    box-shadow:none;
}
#fm_event_meta .repeat_format{
    width: 90px;
    display: inline-block;
}
#fm_event_meta .repeat_format_monthly{
    width: 66px;
    display: inline-block;
}
#fm_event_meta #fm_event_year_month{
    margin: 10px 0 0 95px;
}
#fm_event_meta #fm_choose_day_container{
    margin-top: 10px;
}
#fm_event_meta #fm_choose_day_container .checkbox-div{
    margin-left: 0px;
}
#fm_event_meta .fm_repeat_advanced  input[type="text"],
#fm_event_meta .fm_repeat_advanced  select{
    width: auto;
}

#fm_event_meta #fm_monthly,
#fm_event_meta .fm_event_repeat_event_div{
    margin:10px 0;
}

#fm_event_meta .select_to_enable_disable{
    width:122px !important;
}

#fm_theme_meta label{
    display:inline-block;
    width:290px;
    font-weight: normal;
    font-size: 15px;
}

#fm_theme_meta .fm-tab-inner > div{
    margin:20px 0;
}
#fm_theme_meta .fm-tab-inner > div:first-child{
    margin-top:0;
}
#fm_theme_meta .with_fm_color:after,
#fm-settings-content .fm-addons_updates:after,
#fm-settings-content .main-plugin:after,
#fm-settings-content:after{
    content:'';
    display:table;
    clear:both;
}
#fm_theme_meta .with_fm_color label{
    float: left;
    margin-top: 5px;
    width: 293px;
}
#fm_theme_meta .with_fm_color > div{
    float: left;
}
.fm-import-settings form{
    float:left;
    width:45%;
}
.fm-import-settings input[type=file]{
    margin: 10px 0;
}
.fm-import-settings .fm-calendar-event-import{
    font-size: 15px;
}

#fm-settings-content #add_on_title{
    margin-bottom:20px;
}

#fm-settings-content .fm_coming_soon {
    position: absolute;
    top: 44px;
    left: 0;
}
#fm-settings-content .fm-add-on a{
    text-decoration: none;
}
#fm-settings-content .fm-add-on h2{
    color: #229DBF;
    font-size: 16px;
    margin-bottom: 9px;
    padding: 0 0 7px;
    line-height: 1.2;
}
#fm-settings-content .fm-addon-descr{
    font-size: 13px;
    line-height: 18px;
    height: 100%;
    width: 53%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 10px 10px;
    background: #23282D;
    color: #D1DDE0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotateY(-90deg);
    -moz-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    background: #2c3f52;
    color: #ed4e6e;
}
#fm-settings-content .fm-addon,
#fm-settings-content .fm-addon-price{
    display: inline-block;
    margin-top: 15px;
    font-size: 15px;
    border: 1px solid #DCDCDC;
    font-weight: bold;
}
#fm-settings-content .fm-addon{
    background: #FFFFFF url(../images/Add_Ons.jpg) no-repeat 6px center;
    color: #66686B;
    padding: 9px 12px 9px 45px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#fm-settings-content .fm-addon-price{
    background: #FFFFFF;
    color: #229CBF;
    padding: 9px 12px;
}
#fm-settings-content .fm-add-on:hover .fm-addon-price,
#fm-settings-content .fm-addon-price:hover{
    background: #229CBF;
    color: #DDECF1;
}
#fm-settings-content .fm-add-on:hover .fm-addon,
#fm-settings-content .fm-addon:hover{
    background: #23282D url(../images/Add_Ons_hover.jpg) no-repeat 6px center;
    color: #DDDEDE;
}
#fm-settings-content .fm-addon span{
    border-left: 1px solid #A7A9AB;
    padding: 4px 10px 4px 10px;
}
#fm-settings-content .fm-addon-descr span{
    padding: 5px 0 5px 10px;
    border-left: 1px solid #93CEE0;
}
#fm-settings-content a:focus{
    outline:none;
    box-shadow:none;
}
#fm-settings-content .fm-add-on{
    width:310px;
    float:left;
    margin-right:40px;
    margin-bottom:57px;
    -webkit-perspective: 1700px;
    -moz-perspective: 1700px;
    perspective: 1700px;
    -webkit-perspective-origin: 0 50%;
    -moz-perspective-origin: 0 50%;
    perspective-origin: 0 50%;
    position: relative;
}
#fm-settings-content .main-plugin .fm-add-on{
    float: left;
    margin-right: 25px;
    height: auto;
}
#fm-settings-content .fm-figure{
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
    width:100%;
    height: 232px;
    margin: 0;
}
#fm-settings-content .fm-figure-img{
    overflow: hidden;
}
#fm-settings-content .fm-figure-img img{
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}
#fm-settings-content .fm-figure:hover img{
    -webkit-transform: translateX(25%);
    -moz-transform: translateX(25%);
    -ms-transform: translateX(25%);
    transform: translateX(25%);
}
#fm-settings-content .fm-figure:hover figcaption{
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}
#fm-settings-content .fm-addon-subtitle {
    font-size: 25px;
    border-bottom: 1px solid #C1C4C7;
    padding-bottom: 23px;
}
#fm-settings-content .main-plugin .main-plugin-img {
    float: left;
    margin-right: 2%;
    width: 26%;
}
#fm-settings-content .main-plugin .main-plugin-img img{
    max-width:100%;
}
#fm-settings-content .main-plugin .main-plugin-info {
    float: left;
}
#fm-settings-content .main-plugin {
    margin-bottom: 25px;
}
#fm-settings-content .main-plugin_desc-cont p,
#fm-settings-content .main-plugin_desc-cont {
    font-size: 14px;
}
#fm-settings-content .main-plugin-desc-info p{
    margin: 2px 0 13px;
}
#fm-settings-content .fm-addons_updates .main-plugin-desc-info p{
    margin: 2px 0 4px;
}
#fm-settings-content .main-plugin-desc {
    margin-bottom: 12px;
}
#fm-settings-content .main-plugin-info h2 {
    padding: 0;
    line-height: 1;
    margin-bottom: 14px;
}
#fm-settings-content .main-plugin-info h2 a {
    color: #323A45;
    text-decoration: none;
    font-weight: bold;
}
#fm-settings-content .main-plugin-desc-info {
    border-bottom: 1px solid #C0C4C7;
    width: 71%;
}
#fm-settings-content .fm-addons_updates .main-plugin-desc-info {
    border-bottom: 0;
    width: 100%;
}
#fm-settings-content  .update-info {
    background:url(../assets/updates_icon.jpg) no-repeat;
    padding-left:25px;
    color: #bc0b0b;
}
#fm-settings-content .fm-addons_updates .fm-figure {
    margin-bottom: 10px;
}
#fm-settings-content .fm-addons_updates .fm-addon-descr-update {
    border-top: 1px solid #898989;
    padding-top: 6px;
}
#fm-settings-content .fm-addons_updates h2{
    color: #323A45;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.fm_more_updates {
    display: none;
}