/*
Theme Name: Bedtime
Theme URI: http://beardo.co/
Author: Beardo
Author URI: http://beardo.co/
Description: Bedtime theme v1.0
License: GNU General Public License
License URI: license.txt
Tags: bedtime theme, bootstrap
*/


html, body { width: 100%; height: 100%; }
body { font-family: 'Lato', sans-serif; background-color: #f2f2f2; color: #373737; font-size: 17px; }

.overfix { overflow: auto; zoom: 1; clear: both; }
.derow { margin-left: -15px; margin-right: -15px; }
.img-full img { width: 100%; height: auto; }
.slider_row { 
  margin-bottom: 30px; 
  background-color: #ffffff; 
  -webkit-border-bottom-left-radius: 15px;
  -webkit-border-bottom-right-radius: 15px;
  -moz-border-radius-bottomleft: 15px;
  -moz-border-radius-bottomright: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

h1, h2, h3, h4, h5, h6, 
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.jsn-bootstrap3 h1, .jsn-bootstrap3 h2, .jsn-bootstrap3 h3, .jsn-bootstrap3 h4, .jsn-bootstrap3 h5, .jsn-bootstrap3 h6, .jsn-bootstrap3 .h1, .jsn-bootstrap3 .h2, .jsn-bootstrap3 .h3, .jsn-bootstrap3 .h4, .jsn-bootstrap3 .h5, .jsn-bootstrap3 .h6
{ font-family: 'Lato', serif; color: #2287DC; margin-top: 0; font-weight: 300; }


a { color: #2287DC; }
a:hover { color: #2287DC; text-decoration: underline; }

img.alignleft { float: left; margin-right: 10px; margin-bottom: 10px; }
article img.size-large { width: 100%; height: auto; }
.hideme { opacity: 0; }
.hidethis { display: none; }

.fixedpos { position: fixed; top:0; z-index: 999; width: 100%; }
.img-holder {   
  background-size: 100% auto;
}
.img-holder.mobile {   
  background-size: inherit !important;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

.logo_col { z-index: 99; }

div.inline { display: inline; }

.category_boxes .greyblock {
  margin-top: 70px;
}

.category_boxes .greyblock:first-child {
  margin-top: 45px;
}

.category_boxes .greyblock h3.category-head {
  margin-top: -55px;
  margin-bottom: 10px;
}

.jsn-bootstrap3.greyblock .tabbable .tab-content { 
  background-color: #e1e0e0; 
  -webkit-border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.greyblock {
  background-color: #e1e0e0;
  border: 4px solid #ffffff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.grayblock_inner {
  padding: 15px;
  padding-bottom: 0;
}

.radbottom {
  -webkit-border-top-right-radius: 0px;
  -webkit-border-top-left-radius: 0px;
  -moz-border-radius-topright: 0px;
  -moz-border-radius-topleft: 0px;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  -webkit-border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.radtop {
  -webkit-border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-border-bottom-right-radius: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -moz-border-radius-bottomright: 0px;
  -moz-border-radius-bottomleft: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.greyblock .post-categories { font-size: 14px; margin-top: 15px; margin-left: 10px; }
.greyblock .post-categories span { color: #949494; }

#content_wrap .jsn-bootstrap3 .tabbable .tab-content { 
  background-color: #e1e0e0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  
}

.greyblock ul, .contest_submit_block ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.greyblock ul.bedtime-articles li {
  border-bottom: 2px solid #ffffff;
}
.greyblock .tabbable ul li:last-child {
  border-bottom: 0;
}

.greyblock ul.bedtime-articles li a.post-title,
.greyblock ul.bedtime-articles li h4 a.post-title {
  font-weight: bold;
  font-size: 16px;
  color: #5c5c5c;
  
}

.greyblock ul.bedtime-articles li h4 { display: inline-block; }
.greyblock ul.bedtime-articles li:last-child { border-bottom: 0; }

.greyblock.featured ul.bedtime-articles li a.post-title {
  font-weight: 300;
  font-size: 30px;
  color: #2287dc;
  
}

a.post-title.effect6 {
  z-index: 10;
  margin-bottom: 15px;
}

.greyblock ul.bedtime-articles h3 { display: inline-block; }
#top_articles .greyblock ul.bedtime-articles h3 a { color: #2287dc; font-weight: 300; font-size: 30px; }

.authorposts li.btn, .jsn-bootstrap3 a.btn, form.form input[type=text]:not(.btn):not(.button), form.form input[type=password], form.form textarea, form.form select, form.form #wp-story-wrap, form.form input[type=file] {
  display: inline-block;
  background-color: #f2f2f2;
  padding: 5px;
  color: #a3a3a3;
  font-weight: bold;
  -webkit-box-shadow: -3px 3px 0px 0px rgba(201,201,201,1);
  -moz-box-shadow: -3px 3px 0px 0px rgba(201,201,201,1);
  box-shadow: -3px 3px 0px 0px rgba(201,201,201,1);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  margin: 11px 15px;
  font-size: 11.5px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

form.form input[type=text]:not(.btn):not(.button), form.form input[type=password], form.form textarea, form.form select, form.form #wp-story-wrap, form.form input[type=file] {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  border: 0;
  font-size: 17px;
}

form.form textarea { min-height: 250px; }

form.form label { color: #224867; font-weight: bold; font-size: 16px; }
form.form h2 { font-size: 20px; font-weight: 400; }

hr.flat { border-top: 2px solid #c9c9c9; }
div.excdeviders { text-align: center;  }
hr.excdevider { border-top: 1px solid #e2e2e2; width: 100%; }
.maincontent_center article:last-child div.excdeviders hr { display: none; }

.greyblock .tabbable ul.nav-tabs, .contest_submit_block ul { margin-top: -10px; margin-left: 20px; }
#top_articles .greyblock .tabbable ul.nav-tabs, .contest_submit_block ul { margin-left: 330px; display: inline-block; }
#top_articles .greyblock.smallthumb .tabbable ul.nav-tabs, .contest_submit_block ul { margin-left: 25px; }
#top_articles .greyblock .tabbable .tab-content {
  padding-top: 0;
  margin-top: -18px;
  display: block;
}
#top_articles .greyblock .tabbable .tab-content h3 { margin-top: 25px; }

.contest_submit_block ul { margin: -15px 0 20px 0; position: relative; display: block; }
.contest_submit_block ul li { position: relative; display: inline-block; }
.contest_submit_block ul li span { display: inline-block; padding: 13px 15px 7px 13px; }

.greyblock .tabbable ul.nav-tabs li, .contest_submit_block ul li { border: 0; }
.greyblock .tabbable ul.nav-tabs li.active, .contest_submit_block ul li.active { background-color: #EC8D24; }
.greyblock .tabbable ul.nav-tabs li.active:after, .contest_submit_block ul li.active:after { 
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 6px 6px 0 0;
  border-color: rgba(0, 0, 0, 0) #224867;
  display: block;
  width: 0;
  z-index: 1;
  left: -6px;
  top: 0;  
}
.greyblock .tabbable ul.nav-tabs li, .contest_submit_block ul li { font-size: 15px; }
.greyblock .tabbable ul.nav-tabs li a, .contest_submit_block ul li span { padding-top: 13px; padding-bottom: 7px; color: #224867; }
.greyblock .tabbable ul.nav-tabs li.active a, .contest_submit_block ul li.active span { color: #FFF; background-color: transparent; border: 0; font-weight: bold; }
.greyblock .tabbable ul.nav-tabs > li > a:hover { background-color: transparent; color: #EC8D24; border-color: rgba(0,0,0,0); font-size: 15px; }
.greyblock .tabbable ul.nav-tabs > li.active > a:hover { color: #FFF; }

.greyblock .tabbable .tab-content { padding-bottom: 0; padding-top: 0; overflow: auto; zoom: 1;}
.greyblock ul.bedtime-articles .front.post-thumb { float: left; }
.greyblock .post-thumb .effect6 img { 
  /* float: left !important;  */
  border: 4px solid #ffffff; 
  /* margin-bottom: 10px;  */
  margin-right: 20px; 
  max-width: 100%;   
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#featured_tabs .tab-content { padding-bottom: 0; padding-top: 9px; }
#top_articles .tabbable ul li a.btn,
a.btn.btn-primary, form.form input.btn.btn-primary, 
.authorposts li.btn.btn-primary {
  background-color: #224867;
  border-color: #224867;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  background-image: none;
  margin-top: 20px;
  text-shadow: 0;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

ul.bedtime-articles a.btn.btn-primary, form.form input.btn.btn-primary { float: right; }
ul.authorposts { margin: 0; margin-bottom: 20px; padding: 0; }
.authorposts li.btn.btn-primary { display: inline-block; float: none; clear: both; }
.authorposts li.btn.btn-primary a, .authorposts li.btn.btn-primary a:hover { color: #ffffff; }

form.form input.btn.btn-primary {
  -webkit-box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  -moz-box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  margin: 0 0 15px 0;
  font-size: 15px;
  font-weight: bold;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

a.category-link img {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px; 
}

a.category-link { 
  display: block;  
  border: 4px solid #ffffff; 
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;  
  position: relative;
  margin-bottom: 25px; 
}
a.category-link span.category-title { 
  display: block; 
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 5px 0;
  background-color: rgba(255,255,255,0.75);
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.go-overlay { 
  display: block; 
  font-size: 36px;
  font-weight: 300;
  padding: 0 10px; 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  margin-left: -33px;
  margin-top: -25px;
  background-color: rgba(255,255,255, 0.75);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.go-overlay:hover {
  color: #EC8D24;
/*   -webkit-box-shadow: 0px 0px 3px 5px #FFF;
  -moz-box-shadow: 0px 0px 3px 5px #FFF;
  box-shadow: 0px 0px 3px 5px #FFF; */
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -kthtml-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

/*==================================================
 * Effect 6
 * ===============================================*/
 
 
.titlefx.effect6 {
  width: 50%;
  left: 25%;
  right: 25%;
  top: 32px;
  z-index: 0;
  position: absolute;
  display: block;
  height: 2px;
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.75);
}
  
}
.effect6
{
  	position:relative;
    /*
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    */
}
.effect6kick:before, .effect6kick:after
{
	content:"";
    position:absolute; 
    z-index:-1;
    -webkit-box-shadow:0 0 15px rgba(0,0,0,1);
    -moz-box-shadow:0 0 15px rgba(0,0,0,1);
    box-shadow:0 0 15px rgba(0,0,0,1);
    top:50%;
    bottom:0;
    left:25%;
    right:25%;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}

a.effect6 { position: relative; }

#beforefooter, #beforefooter .textwidget{ text-align: -moz-center; text-align: center; text-align: -webkit-center; }
#beforefooter { margin-top: 35px; margin-bottom: 35px; }
#footer { margin-top: 25px; }
.rowsocket { padding-bottom: 25px; font-size: 12px; color: #7a7a7a; }

body .row_white { 
  padding-top: 22px;
  background-color: #ffffff;
  -webkit-border-bottom-left-radius: 15px;
  -webkit-border-bottom-right-radius: 15px;
  -moz-border-radius-bottomleft: 15px;
  -moz-border-radius-bottomright: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.sidebar-box { margin-bottom: 20px; }

/************* TOP START **************/

.mosttop { padding-top: 10px; padding-bottom: 10px; }
.top-box, .top-box .textwidget { text-align: -moz-center; text-align: center; text-align: -webkit-center; }

/************* TOP END **************/


/************* MENU START **************/

.headertop .menurow { 
  background-color: #ffffff; 
  -webkit-border-top-left-radius: 15px;
  -webkit-border-top-right-radius: 15px;
  -moz-border-radius-topleft: 15px;
  -moz-border-radius-topright: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.menurow .logo img { padding-top: 10px; padding-bottom: 11px; }

.navbar-toggle .icon-bar { background-color: #c02a38; }

.nav { margin-bottom: 0; }
.navbar-nav { border-bottom: 0; }
.navbar-default, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.active>a { 
  background-image: none; 
  background-color: transparent; 
  border-radius: 0;
  border: 0;
  -webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.navbar-brand, .navbar-nav>li>a { text-shadow: none; }
.navbar-nav>li>a {
  background-color: transparent;
  border: 0;
}

.primarymenu ul.dropdown-menu { border-top: 1px solid #c02a38; }
.primarymenu ul.dropdown-menu:hover { margin-top: -1px; }
.primarymenu li.active ul.dropdown-menu { margin-top: -1px; }


.primarymenu .dropdown-menu a { border-bottom: 1px solid #428194; padding-bottom: 10px; margin-bottom: 5px; color: #FFFFFF; }
.primarymenu .dropdown-menu a:hover { color: #6CBFBF; }
.primarymenu .dropdown-menu li:last-child a { border-bottom: 0; padding-bottom: 5px; margin-bottom: 0; }
.primarymenu .dropdown-menu>.active>a, .primarymenu .dropdown-menu>.active>a:hover, .primarymenu .dropdown-menu>.active>a:focus { background-color: transparent; background-image: none; color: #6CBFBF;  }


#primary-menu { margin-top: -6px; }
.primarymenu  .navbar-nav>li>a {
  font-family: 'Lato', sans-serif;
  color: #2287dc;
  font-size: 20px;
  padding: 20px 30px 20px 30px;
  margin-top: 6px;
  text-align: center;
  border-right: 2px solid #eaeaeb;
}

.primarymenu  .navbar-nav>li.current-menu-item>a { border-right: 0; }

.primarymenu  .navbar-nav>li.current-menu-item:after 
{
content: '';
position: absolute;
border-style: solid;
border-width: 6px 6px 0 0;
border-color: transparent #224867;
display: block;
width: 0;
z-index: 1;
left: -6px;
top: 0;
}

.primarymenu  .navbar-nav>li.current-menu-item {
  background-color: #ec8d24; 
}
.primarymenu  .navbar-nav>li.current-menu-item>a {
  color: #ffffff;
}

#secondary-menu li a {
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
}
#secondary-menu li a:hover, #secondary-menu li a:focus { background-color: transparent; color: #224867; }
.secmenu_row { position: relative; }
.secondary_menu, .bluestripe { 
  background-color: #2287dc;
}
.bluestripe { padding: 5px 0; }

.oversidemargin {
  margin-right: -6px;
  margin-left: -6px;
  position: relative;
}
.wraplow, .wraphigh {
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
}
.wraplow {
  bottom: -4px;
}
.wraphigh {
  top: -6px;
}

.wraplow:before 
{
content: '';
position: absolute;
border-style: solid;
border-width: 0 6px 6px 0;
border-color: transparent #224867;
display: block;
width: 0;
z-index: 1;
left: -6px;
top: 0;
}
.wraplow:after
{
content: '';
position: absolute;
border-style: solid;
border-width: 0 0 6px 6px;
border-color: transparent #224867;
display: block;
width: 0;
z-index: 1;
right: -6px;
top: 0;
}

.wraphigh:before 
{
content: '';
position: absolute;
border-style: solid;
border-width: 6px 6px 0 0;
border-color: transparent #224867;
display: block;
width: 0;
z-index: 1;
left: -6px;
top: 0;
}
.wraphigh:after
{
content: '';
position: absolute;
border-style: solid;
border-width: 6px 0 0 6px;
border-color: transparent #224867;
display: block;
width: 0;
z-index: 1;
right: -6px;
top: 0;
}

.slider_wrapper, .rowfootersplit  { position: relative; }
.slider_wrapper img { 
  width: 100%; 
  height: auto;
  -webkit-border-bottom-left-radius: 15px;
  -webkit-border-bottom-right-radius: 15px;
  -moz-border-radius-bottomleft: 15px;
  -moz-border-radius-bottomright: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

#secondary-menu { margin: 6px 0; }
.secondary_menu .navbar-nav>li>a { padding: 0 15px 2px 15px; border-right: 1px solid #ffffff; line-height: 11px; }
.secondary_menu .navbar-nav>li:last-child>a { border-right: 0; padding-right: 0; }


.primarymenu  .navbar-nav>li>a:focus, .primarymenu  .navbar-nav>li>a:hover { color: #224867; background-color: transparent; }




ul.nav li.dropdown:hover > ul.dropdown-menu{ display: block; }
a.menu:after, .dropdown-toggle:after { content: none; }
.nav .dropdown-toggle { cursor: pointer !important; }
.nav .dropdown-menu { margin-top: -1px; margin-left: -1px; }
.topmenu .nav>li>a:hover, .topmenu .nav>li>a:focus, .topmenu .nav>li>a { background-color: #f5f5f5; padding-top: 6px; }
.nav.nav-pills .dropdown-menu { margin-top: 0px; margin-left: -1px; }
.dropdown-menu { background-color: #00556E; border-top: 0; }
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-submenu:hover>a, .dropdown-submenu:focus>a { background-color: #00556e; color: #e4b600; background-image: none; }
.dropdown-menu>li>a { color: #FFFFFF; }
.dropdown-menu>li>a:hover { color: #FFFFFF; }
.dropdown-menu .divider { background-color: #003e56; border-bottom: 1px solid #004458; }
.dropdown-menu li a span.description { color: #a7b8b8; font-size: 11px; }
.dropdown-menu .dropdown-header { padding: 0; text-align: center; }
.dropdown-menu .dropdown-header a, .dropdown-menu .dropdown-header a:hover { color: #428194; }




.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}

/* MENU FIXED */

.navbar_wrap img { 
  /* width: auto;  */
  -webkit-transition: max-height 0.4s;
  -moz-transition: max-height 0.4s;
  transition: max-height 0.4s;
}

.navbar_wrap.fixed { position: fixed; width: 100%; z-index: 99; top: 0; }
.navbar_wrap.fixed img { 
  max-height: 40px; 
  width: auto; 
  -webkit-transition: max-height 0.4s;
  -moz-transition: max-height 0.4s;
  transition: max-height 0.4s;
}
.navbar_wrap.fixed li { margin-top: 0; }

.menu-box label { display: none; }
.menu-box form { margin-top: 17px; margin-left: -24px; }
.menu-box input[type='text'] { 
  padding: 2px 30px 2px 8px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  background-color: #e5e5e5;
  border: 0;
  max-width: 100%;
}
.menu-box #searchsubmit { 
  text-indent: -1000px;
  width: 24px;
  height: 24px;
  background: transparent url('images/search-icon.png') no-repeat 50% 50% ;
  border: 0;
  position: absolute;
  right: 35px;
  top: 19px;
  
}

/*
.navbar_wrap.fixed nav.navbar { background-color: #242931; }
.navbar_wrap.fixed nav.navbar>div.container { margin-top: -7px; margin-bottom: -58px; }
.navbar_wrap.fixed nav.navbar .logo img { width: 118px; height: auto; }
.navbar_wrap.fixed nav.navbar-nav>li>a { margin-top: 0; }
.navbar_wrap.fixed nav.navbar .logo a { margin-top: -26px; }
.navbar_wrap.fixed .primarymenu .navbar-nav>li { width: 88px; margin-top: 0; }
.navbar_wrap.fixed .primarymenu .navbar-nav>li.current_page_item  a { background-color: #2d3a4e; border-color: #242931; }
.navbar_wrap.fixed .primarymenu .navbar-nav>li.logo { width: 118px; }
.navbar_wrap.fixed .primarymenu .navbar-nav>li>a { padding: 33px 0; }
.navbar_wrap.fixed .primarymenu .navbar-nav>li.logo >a { padding: 0; }
*/
/************* MENU END **************/



.text-hide a, .text-hide a:hover, .primarymenu .navbar-nav>li.text-hide>a, .primarymenu .navbar-nav>li.text-hide>a:hover {
  font: 0/0 a;
  color: rgba(0, 0, 0, 0);
  text-shadow: none;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
}



.commentswrap p.form-submit {
  clear: both;
  zoom: 1;
  overflow: auto;
}
.commentswrap {
  margin-top: 30px;
  margin-bottom: 30px;
}
.comment-form-comment label { display: block; clear: both; }
.comment-form-comment textarea { width: 100%; }

.wr-element-divider.noborder>div { border: 0; }

/*********** GRAVITY FORMS START ************/

.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container input[type=text], 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container input[type=password], 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container input[type=url], 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container input[type=tel], 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container input[type=email], 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container select:not([multiple]),
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container textarea, 
.gform_wrapper .gfield_label_hidden.gfield_contains_required .ginput_container select[multiple]{ background-image: none; }


/*********** GRAVITY FORMS END ************/


#toTop {
  width: 36px;
  height: 36px;
  line-height: 43px;
  text-indent: 1px;
  font-size: 24px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none;
  -webkit-transition: all .25s linear;
  -moz-transition: all .25s linear;
  -o-transition: all .25s linear;
  transition: all .25s linear;
  background-color: #ec8d24;
  color: #FFFFFF;
}

li.divider {
  border-bottom: 1px solid #2287DC;
  font-size: 0.1px;
  line-height: 8px;
  margin-bottom: 3px;
}

/*** Footer ***/

#footer a:hover { color: #224867; text-decoration: none;  }
#footer ul { list-style-type: none; padding-left: 0px; font-size: 12px; color: #2287dc; font-weight: bold; }
#footer h4 { font-size: 16px; color: #2287dc; font-weight: bold; }
.rowfooter { padding-top: 15px; padding-bottom: 15px; }
#nav_menu-4 ul#menu-story-categories { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; }
#nav_menu-4 li { padding-right: 10px; }
.row.rowfooter { 
  background: #ffffff; 
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
} 

.socialfooter { font-size: 13px; font-weight: bold; text-align: right; }
.socialfooter i { font-size: 18px; font-weight: normal; }


/* SINGLE POST START */

article p { font-size: 16px; }
h1.article-title { margin-bottom: 20px; font-size: 30px; }
h2.article-title a { font-size: 18px; font-weight: bold; }
.post-meta { margin-bottom: 20px; }
h3.category-head { font-size: 30px; }
h3.category-head a.read-more { margin-top: 4px; background-color: #ffffff; }

/* SINGLE POST END */


/* PAGE CATEGORIES START */

.slider_row .widget_text h3.slider-title {
  margin-top: 15px;
  margin-left: 30px;
  font-size: 30px;
}

.slider_wrapper .greyblock.radbottom .tabbable ul.nav-tabs { margin-left: 15px; }


/* PAGE CATEGORIES END */




/* AUTHOR START */

.author-social a { color: #a7a7a7; }
.autor_stories_wrap a.btn.btn-primary { 
  margin: 0 15px 15px 0; 
  -webkit-box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  -moz-box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  box-shadow: -3px 3px 0px 0px rgba(180,180,180,1);
  padding-left: 15px;
  padding-right: 15px;
}

h2.autor_stories_title { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #c9c9c9; }

input.readonly { cursor:not-allowed; }

/* AUTHOR END */

.archive article { margin-bottom: 25px; }
article .post-meta { font-size: 14px; }
article .post-meta .published-by { display: inline-block; }


.slider_wrapper p { margin: 0; }
.carousel_inner .btn-carousel {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 15px;
  font-size: 19px;
  font-weight: 400;
  color: #ffffff;
  min-width: 90%;
  text-align: left;
}
.carousel_inner .btn-carousel i {
  float: right;
  font-size: 24px;
  font-weight: 200;
  line-height: 24px;
}

.carousel-control.right {

  text-indent: 2px;
  background-image: none;
  right: 25px;
}
.carousel-control.left {
  text-indent: 2px;
  text-align: left;
  background-image: none;
  left: 20px;
}

.carousel-control {
  top: 50%;
  width: 28px;
  font-size: 24px;
  opacity: 0.4;
  height: 50px;
  margin-top: -40px;
  text-shadow: none;
}

.carousel-control:hover, .carousel-control:focus {
  opacity: 1;
}

.flagwrap span, .flagwrap a span { font-size: 10px; }
.flagwrap, .flagwrap a { font-size: 12px; color: #dedede; }
.flagwrap a:hover { color: #d9534f; }

article .download { margin-bottom: 15px; }
article .download a { color: #bb0706; font-size: 14px; }
article .download a i { font-size: 14px; }
.gform_wrapper .gform_footer { padding: 0; margin: 0; }


img.front_thumb { max-width: 290px; max-height: 290px; }
.greyblock.withthumb .tabbable ul.bedtime-articles h3 { display: block; }

.recent_posts_box { padding: 20px; }
.recent_posts_wrap { max-height: 480px; overflow-y: hidden; }
.greyblock .recent_posts_wrap ul.bedtime-articles li { padding: 5px 0 0 0; }

.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background-color: rgba(66,66,66,0.5); }
.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar, 
.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, 
.mCS-dark-thick.mCSB_scrollTools.mCSB_scrollTools_onDrag .mCSB_dragger:hover .mCSB_dragger_bar { 
  background-color: rgba(66,66,66,0.6); 
}

.top_tax_image {
  width: 100%;
  max-width: 1000px;
  height: 274px;
  -webkit-border-bottom-left-radius: 15px;
  -webkit-border-bottom-right-radius: 15px;
  -moz-border-radius-bottomleft: 15px;
  -moz-border-radius-bottomright: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.tax_title, .tax_title_closed { text-align: center; font-weight: bold; font-size: 30px; text-transform: uppercase; }
.tax_title_closed { color: #ec8d24; }
.tax_title span { display: inline-block; border-bottom: 3px solid #2287DC; padding-bottom: 5px; }
.tax_title.is_over span { border: 0; }
.field_thumb img { max-width: 250px; width: 100%; height: auto; }
.field_strong { font-weight: bold; }
.field_label { color: #2287DC; font-weight: bold; font-size: 23px; text-transform: uppercase; }
.field_full { width: 100%; display: block; }
.contest_deadline, .contest_description { margin: 20px 0; }
.register_form { padding: 10px; border-top: 3px solid #2287DC; background-color: #fff; }
.submit_steps { padding: 10px; background-color: #f2f2f2; }

.icon_col img { margin: 0 5px; }
.place_num { font-size: 18px; }
.prize_story_title { font-size: 22px; text-transform: uppercase; }
.first_prize_col .icon_col, .first_prize_col .place_num { color: #ec8d24; }
.second_prize_col .icon_col, .second_prize_col .place_num { color: #666666; }
.third_prize_col .icon_col, .third_prize_col .place_num { color: #2387dc; }
.prize_col .prize_author a { color: #000; font-size: 16px; }
.prize_col .prize_author { display: block; margin-bottom: 10px; }
.prize_col .prize_desc { color: #5c5c5c; font-size: 16px; }

.contest_prizes .section_head { font-size: 23px; margin-bottom: 15px; display: block; }
.deadline_date { font-size: 20px; }
.contest_links a { color: #5e5e5e; font-weight: bold; text-decoration: underline; text-transform: uppercase; }
.row_awards_info { margin-bottom: 20px; }

.row_awards_info .first_winner, .row_awards_info .first_winner a { color: #ec8d24; }
.row_awards_info .second_winner, .row_awards_info .second_winner a { color: #666666; }
.row_awards_info .third_winner, .row_awards_info .third_winner a { color: #2387dc; }

.register_form form.form input[type="text"]:not(.btn):not(.button), 
.register_form form.form input[type="password"], 
.register_form form.form textarea, form.form select, 
.register_form form.form #wp-story-wrap, form.form input[type="file"] {
  background-color: #E6E6E6;
}

.bottom_vote_wrap { margin: 20px 0; text-align: center; }
.bottom_vote_wrap .count-box { display: none; }
.top_vote_wrap {
  color: #EE8D00;
  font-size: 16px;
  text-align: right;
}
.top_vote_button, ._liked {
  color: #EE8D00;
  font-size: 16px;
  display: inline-block;
}

.row_author_info ._liked {
  font-size: 22px;
  font-weight: bold;
}

._liked {
  background: transparent url('images/like.svg') no-repeat left center;
  padding-left: 30px;
}

.archive.tax-contest article img { 
  width: 100%; 
  height: auto; 
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.archive.tax-contest article .top_vote_wrap { text-align: left; }
.archive.tax-contest article .published-by a {
  color: #373737;
}
.archive.tax-contest article h2 {
  color: #2287DC;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  width: 85%;
  border-bottom: 4px solid #2287DC;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
hr.rowsplitter {
  border: none;
  line-height: 1px;
  height: 4px;
  background-color: #E5E5E5;
  width: 100%;
  margin-top: 0;
}


.top_vote_button .wpulike .counter a, .top_vote_button .wpulike .counter a:hover, .bottom_vote_wrap .like_trigger, .bottom_vote_wrap .like_triggered {
  background-color: transparent;
  color: #d9d9d9;
  border: 0;
  font-size: 16px;
  box-shadow: none;
  text-shadow: none;
  font-weight: normal;
  background: transparent url('images/like_grey.svg') no-repeat left center;
  padding-left: 30px;
}
.top_vote_button .wpulike .counter .count-box { display: none; }
.top_vote_button .wpulike .counter a:hover, .top_vote_button .wpulike .counter a[data-ulike-status="2"], 
.bottom_vote_wrap .like_triggered, .bottom_vote_wrap .like_trigger:hover {
  color: #EE8D00;
  background: transparent url('images/like.svg') no-repeat left center;
}
.top_vote_button .wpulike .counter a[data-ulike-status="2"] {
  cursor: text;
}
.like_trigger {
  cursor: pointer;
  padding-top: 4px;
  padding-bottom: 4px;
}
article img{
	max-width: 100%;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  .main_cont_wrap.frontpage .container {
    max-width: 1030px;
  }
  
  #top_articles .greyblock.smallthumb  ul.bedtime-articles .front.post-thumb { max-width: 50%; margin-right: 20px; }
  
}


@media (min-width: 768px) {
  .primarymenu #primary_nav { float: right; }
  .jsn-bootstrap3 #pp_categories  .col-md-8.greyblock  { width: 65.1976%; z-index: 0; }
}



@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}


@media  (max-width: 992px) {
  .container { max-width: 960px; }
  #gform_fields_2 { padding-right: 15px; }
  #footer .gform_footer.top_label { margin-right: 18px; }
  #first_content_front_row .col-md-8 { width: 100%; }
  #first_content_front_row .col-md-4 { display: none; }
  
  .primarymenu  .navbar-nav>li>a {
    padding: 20px 20px 20px 20px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
/*   .wr-element-container img  { width: 100%; height: auto; } */
/*   .navbar_wrap.fixed nav.navbar>div.container { margin-top: -28px; } */
  
  .frontpage>.container {
    padding: 0;
  }
  .frontpage .jsn-bootstrap3 .row.category_boxes { margin-left: -15px; margin-right: -15px;  }
  ul.bedtime-articles li:last-child { margin-bottom: 15px; }
  .grayblock_inner { padding: 0; padding-top: 15px; }

}


@media (max-width: 767px) {
  .mainwrapper { padding: 0 20px; }
  .wr_fullwidth {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  
  #secondary-menu.nav>li { display: inline-block; }
  .primarymenu .navbar-nav>li>a { border-right: 0; padding: 10px; }
  #search_toggler { color: #bebebe; float: right; padding: 12px 10px 9px 0; cursor: pointer; }
  .menu_right_widget { display: none; margin-bottom: 20px; margin-top: 10px; }
  .menu_right_widget .menu-box form { margin: 0; }
  .menu_right_widget .menu-box input[type='text'] { width: 100%; }
  .menu_right_widget .menu-box #searchsubmit { top: 2px; }
  
  .jsn-bootstrap3.greyblock .panel-group .panel { background-color: #E1E0E0; }
  .panel-group.responsive.visible-xs .panel-heading { padding: 0; background-image: none; background-color: #E1E0E0; }
  .panel-group.responsive.visible-xs .panel-heading a { display: block; padding: 10px; color: #224867; font-weight: bold; font-size: 15px; }
  .panel-group.responsive.visible-xs .panel-heading a.clicked { background-color: #EC8D24; color: #FFFFFF; }
  .panel-collapse .bedtime-articles .post-thumb, .category_boxes .grayblock_inner .post-thumb { float: left; clear: right; }
  .frontpage>.container { padding: 0; }
  .frontpage .jsn-bootstrap3 .row.category_boxes { margin-left: -15px; margin-right: -15px;  }
  ul.bedtime-articles li:last-child { margin-bottom: 15px; }
  .grayblock_inner { padding: 0; padding-top: 15px; }
  
  hr.rowsplitter { display: none; }
}

@media (max-width: 480px) {
  
}

@media (max-width: 995px) {
  #nav_menu-4 ul#menu-story-categories { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; }

}


/*** PRINT ***/
@media print {

}