/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/


@font-face {
    font-family: 'CeraRegular';
    src: url('common/fonts/cera-regular/Cera.eot'); /* IE9 Compat Modes */
    src: url('common/fonts/cera-regular/Cera.ttf'), /* IE6-IE8 */
         url('common/fonts/cera-regular/Cera.woff') format('woff'); /* Modern Browsers */
    font-style: normal;
    font-weight: normal;
}

.post-widget-text em {
	font-size: 12px;
}


/* 12. EVENTS CALENDAR */
.homecalendar_out .hc_dbox_evboxhead{display:-webkit-box;display:-ms-flexbox;display:flex;height:100px}
.homecalendar_out .hc_dbox_event{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;
  -ms-flex-direction:column-reverse;flex-direction:column-reverse;-ms-flex-preferred-size:100%;flex-basis:100%}
.homecalendar_out .hc_main{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#7C7C7E;padding:1px 0 1px 1px;
  -ms-flex-wrap:wrap;flex-wrap:wrap;font-family: 'CeraRegular';}
.homecalendar_out .hc_main > div{width:calc(100%/7);border-bottom:1px solid;border-right:1px solid}
.homecalendar_out .homecalendar_month_title{text-transform:uppercase;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:25px;
  text-align:center;font-size:50px;color:#6E6F71;font-weight:700}
.homecalendar_out .homecalendar_month_title > a{width:70px;display:block}
.homecalendar_out .homecalendar_month_title > span{width:100%}
.homecalendar_out{padding:50px 0 240px;}
.homecalendar_out .homecalendar_title{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:20px}
.homecalendar_out .homecalendar_title > span:first-child{color:#6E6F71;font-size:30px;padding-right:15px;white-space:nowrap}
.homecalendar_out .homecalendar_title > span:last-child{position:relative;width:100%}
.homecalendar_out .homecalendar_title > span:last-child::after,
.homecalendar_out .homecalendar_title > span:last-child::before{position:absolute;content:"";display:block;border-top:1px solid rgba(0,0,0,0.2);
width:100%}
.homecalendar_out .homecalendar_title > span:last-child::after{top:8px}
.homecalendar_out .homecalendar_title > span:last-child::before{bottom:0}
.homecalendar_out .hc_dbox.hc_dbox_day0,.homecalendar_out .hc_dbox.hc_dbox_day6{background-color:#E8E8E8}
.homecalendar_out .hc_dbox .hc_dbox_evbox{display:none;position:absolute;z-index:1;top:20%;min-width:600px;min-height:150px;
  background-color:rgba(255,255,255,0.9);-webkit-box-shadow:0 0 80px 0 #6E6F71;box-shadow:0 0 80px 0 #6E6F71}
.homecalendar_out .hc_dbox.hc_dbox_day1 .hc_dbox_evbox{left:60%}
.homecalendar_out .hc_dbox.hc_dbox_day2 .hc_dbox_evbox{left:25%}
.homecalendar_out .hc_dbox.hc_dbox_day3 .hc_dbox_evbox{left:20%}
.homecalendar_out .hc_dbox.hc_dbox_day4 .hc_dbox_evbox{left:-80%}
.homecalendar_out .hc_dbox.hc_dbox_day5 .hc_dbox_evbox{right:-90%}
.homecalendar_out .hc_dbox.hc_dbox_day6 .hc_dbox_evbox{right:20%}
.homecalendar_out .hc_dbox.hc_dbox_day0 .hc_dbox_evbox{right:15%}
.homecalendar_out .hc_dbox_window{max-height:250px;overflow-x:hidden;overflow-y:scroll}
.homecalendar_out .hc_dbox.open .hc_dbox_evbox{display:block}
.homecalendar_out .hc_dbox_evboxhead span{background-image:url(/wp-content/uploads/2016/03/logo_diakonima.png);background-repeat:no-repeat;
  background-size:120px;background-position:20px calc(100% - 20px);width:calc(100% - 80px)}
.homecalendar_out .hc_dbox_evboxhead a{background-image:url(/wp-content/themes/salient-child/common/imgs/close-x.png);background-repeat:no-repeat;
  background-position:calc(100% - 10px) 10px;width:80px}
.homecalendar_out .hc_dbox .hc_dboxev{padding:0 20px 20px;border-bottom:2px solid #E8E8E8;margin-bottom:20px}
.homecalendar_out .hc_dboxevt{color:#7D090B;font-size:16px;margin-bottom:10px;font-weight: 600}
.homecalendar_out .hc_dboxevc{font-size:14px;color:#000}
.homecalendar_out .hc_dboxevc i {font-size: 14px;}
.homecalendar_out .hc_dbox_date{font-size:21px;text-transform:uppercase;margin-bottom: 5px;}
.homecalendar_out .hc_dbox.hc_dbox_have{cursor:pointer;background-color:#850d11;color:#fff}
.homecalendar_out .hc_row_head{background-color:#E8E8E8; font-weight: 600; text-transform:uppercase;padding:10px;font-size:14px;
color:#363847;-webkit-box-sizing:border-box;box-sizing:border-box}
.homecalendar_out .homecalendar_month_title a{background-size:cover;background-position:center;background-repeat:no-repeat}
.homecalendar_out .homecalendar_month_title a:first-child{background-image:url(/wp-content/themes/salient-child/common/imgs/leftargre.png)}
.homecalendar_out .homecalendar_month_title a:last-child{background-image:url(/wp-content/themes/salient-child/common/imgs/rightargre.png)}
#cal_ajaxbox{min-height:600px;position:relative}
#cal_ajaxbox .hc_dbox_loading{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);
  transform:translate(-50%,-50%);width:100px}
#cal_ajaxbox .hc_dbox_loadtext{position:absolute;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);
  transform:translate(-50%,-50%);top:calc(50% + 70px);left:50%}
.homecalendar_out .hc_dbox{background-color:#fff;height:150px;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;
  display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;
  flex-direction:column}
.hc_dbox_evboxdate.hc_dbox_blue{font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px;
padding:10px 20px;background-color:#850d11;color:#fff;font-size:20px}
.hc_dbox_evboxdate.hc_dbox_blue > span:first-child{width:100%}
.hc_dbox_event .hc_dbox_titlessd > .hc_dbox_titless {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    margin: 0 0 5px;
    font-size: 12px;
    padding: 0 0 2px;
	line-height: 16px;
}
.mobile_only {
    display: none!important;
}

.hc_dboxevc a { color: #850d11; text-decoration: underline; }

.hc_dbox_event .hc_dbox_titlesako {
	font-size: 12px;
}

.homecalendar_out .hc_dbox.current .hc_dbox_date .hc_dbox_date_number {
    position: relative;
    width: 25px;
    display: inline-block;
    text-align: center;
    height: 29px;
}

.homecalendar_out .hc_dbox.current .hc_dbox_date .hc_dbox_date_number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 2px solid #fff;
}

@media(max-width:800px){
	.homecalendar_out { padding: 20px 10px; box-sizing: border-box; }
  .homecalendar_out .hc_main { display: block; padding: 0px; background-color: #e8e8e8; max-height: 300px; overflow-x: hidden; overflow-y: scroll; }
  .homecalendar_out .hc_row_head { display: none; }
  .homecalendar_out .hc_dbox { display: none; }
  .homecalendar_out .hc_dbox.hc_dbox_have { display: flex;
    flex-wrap: nowrap;
    width: 100%;
    flex-direction: row; height: auto; background-color: #e8e8e8;padding: 0 0 10px; }
  .homecalendar_out .hc_dbox.hc_dbox_have.hc_dbox_notinmonth {display: none}
  .homecalendar_out .hc_dbox.hc_dbox_have .hc_dbox_event > span {display: none; }
  .homecalendar_out .hc_dbox .hc_dbox_evbox { display: block; position: relative; top: initial; left: initial; z-index: 1;
    min-width: initial; min-height: initial; background-color: #e8e8e8; box-shadow: initial; left:0!important; right: 0!important; }
  .homecalendar_out .hc_dbox .hc_dbox_evbox .hc_dbox_evboxhead {display: none; }
  .homecalendar_out .hc_dbox_evboxdate.hc_dbox_blue { display: none; }
  .homecalendar_out .hc_dbox_date { text-align: center; background-color: #850d11; font-size: 24px;     display: flex;
    flex-basis: 15%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;}
    .homecalendar_out .hc_dbox_event {
    display: flex;
    flex-direction: column-reverse;
    flex-basis: 85%;
}
  .homecalendar_out .hc_dbox_date .hc_dbox_daymob { font-size: 14px; }
  .homecalendar_out .hc_dbox .hc_dboxev { padding: 10px; border-bottom: 0; margin-bottom: 0; background-color: #dadbdd; margin-bottom: 10px; }
  .homecalendar_out .hc_dbox .hc_dboxev:last-child { margin-bottom: 0px; }
  /* .homecalendar_out .homecalendar_title > span:first-child { font-size: 26px; } */
  #cal_ajaxbox { min-height: 180px; position: relative; }
  .homecalendar_out .homecalendar_month_title { display: block; text-align: left; font-size: initial; margin-bottom: 15px; }
  .homecalendar_out .homecalendar_month_title > select { border: 0; background-color: #dadbdd; font-family: "CeraBold";
    text-transform: uppercase; font-size: 19px; color: #000; padding: 5px; outline: none; height:40px; width: 210px; }
  .month_full {display: none;}
  .hc_dbox_event .hc_dbox_titlessd > .hc_dbox_titless {display: none;}
  .hc_dbox_event .hc_dbox_titlesako {display: none;}

  .patrautok .patrautok_other_tit { height: initial; }

  .head_menu_empty .mobile_only {display: inherit!important;}
  .head_menu_empty a {
    text-align: center;
    font-size: 13px;
    /* color: #353535; */
    background: #7d090b;
    color: #fff!important;
    width: 90px;
    padding: 5px 1px;
    margin-left: auto;}

	.homecalendar_out .homecalendar_title > span:first-child, .homecalendar_out .homecalendar_title > span:first-child {
    	font-size: 24px;
	}
	.mobile_not {
		display: none!important;
	}
	.mobile_only {
		display: inherit!important;
	}

	.mobile_only.hc_not_event { width: 100% !important; }
	.homecalendar_out{padding:50px 0;}
}
