/*
Theme Name:     Customizr Child
Theme URI:      http://themesandco.com/customizr
Description:    A child theme for the Customizr WordPress theme. This child theme simply includes 2 files : style.css to add your custom css and functions.php where you can extend Customizr's core code. In order to keep your code as clean and flexible as possible, try to use Customizr's hooks API for your customizations. Do something awesome and have fun !
Author:         Nicolas Guillaume (nikeo)
Author URI:     http://themesandco.com
Template:       customizr
Version:        1.0.0
*/

/* Your awesome customizations start right here !
-------------------------------------------------------------- */
/* START OF Change Slider to Fader */
/* Make Carousel fade - adapt 2s to required delay */
.carousel-inner > .item {
-webkit-transition: opacity 2s ease-in-out ;
transition:         opacity 2s ease-in-out ;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
opacity:        1;
z-index:        1;
left:           0;
}
.carousel-inner > .active.left {
opacity:        0;
z-index:        2;
left:           0;
}
.carousel-inner > .active.right {
opacity:        0;
z-index:        2;
left:           0;
}
 
/* remove previous/next arrows from home page only */
.home .carousel-control {
display:        none ;
}
/* END OF Change Slider to Fader */


a,
.btn-link,
.navbar-link:focus,
.navbar .nav > li > a:hover,
.navbar .nav li.dropdown.open.active > .dropdown-toggle,
.carousel-control:focus,
.widget h3:before,
.navbar-wrapper .navbar h2,
h2.site-description,
.navbar .nav > li.current-menu-item > a, 
.navbar .nav > li.current-menu-ancestor > a,
.archive .archive-header .format-icon:before,
.dropdown-menu > li.current-menu-ancestor > a,
.dropdown-submenu:focus > a,
.widget.widget_rss li li:before,
.social-block a:hover,
.page-links button.btn,
#footer #calendar_wrap table a,
footer#footer .colophon a.back-to-top {
     color: #0c6938;
}
.nav-list > .active > a:focus,
.nav-pills > .active > a:focus {
     background-color: #0c6938;
}
a.thumbnail:focus {
     border-color: #0c6938;
}
.tc-header {
     border-top-color: #0c6938;
}
.nav .dropdown-toggle .caret,
.navbar .nav li.dropdown > a:focus .caret,
.navbar .nav li.dropdown.open.current-menu-ancestor > .dropdown-toggle 
.caret {
     border-top-color: #0c6938;
     border-bottom-color: #0c6938;
}
blockquote,
.dropdown-menu > li.current-menu-ancestor > a:after {
     border-left-color: #0c6938
}
a:focus,
.btn-link:focus {
     color: #970505;
}
.navbar .btn-navbar[disabled],
#wp-calendar th {
     background-color: #970505;
}
.btn-primary[disabled] {
     background-color: #970505;
     *background-color: #7e0404;
}
.nav .dropdown-toggle:focus .caret {
     border-top-color: #970505;
     border-bottom-color: #970505;
}
.btn-primary.active {
     background-color: #650303 \9;
}
.navbar .btn-navbar[disabled] {
     background-color: #7e0404;
     *background-color: #650303;
}
h3.assistive-text {
     color: #f93c3c;
}
.uneditable-input:focus {
     border-color: #f93c3c;
     -webkit-box-shadow: 0 0 8px #f93c3c;
     -moz-box-shadow:     0 0 8px #f93c3c;
     box-shadow:         0 0 8px #f93c3c;
}
.dropdown-submenu:focus > a,
.dropdown-menu > .active > a:focus {
     background-color: #d70707;
     background-image: -webkit-gradient(linear, 0 0, 0 100%, 
from(#0c6938), to(#c80606));
     background-image: -webkit-linear-gradient(top, #0c6938, #c80606);
     background-image: -moz-linear-gradient(top, #0c6938, #c80606);
     background-image: -o-linear-gradient(top, #0c6938, #c80606);
     background-image: linear-gradient(to bottom, #0c6938, #c80606);
     filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0c6938' , 
endColorstr='#ffc80606' , GradientType=0)
}
.btn-primary {
     /* background-color: #c30606;
     background-image: -moz-linear-gradient(top, #0c6938, #970505);
     background-image: -webkit-gradient(linear, 0 0, 0 100%, 
from(#0c6938), to(#970505));
     background-image: -webkit-linear-gradient(top, #0c6938, #970505);
     background-image: -o-linear-gradient(top, #0c6938, #970505);
     background-image: linear-gradient(to bottom, #0c6938, #970505);
     filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0c6938' , 
endColorstr='#ff970505' , GradientType=0);
    border-color: #970505 #970505 #4d0202; 
     background-color: #970505; */
}
.btn-info {
     background-color: #f93737;
     background-image: -moz-linear-gradient(top, #fa5454, #f70a0a);
     background-image: -webkit-gradient(linear, 0 0, 0 100%, 
from(#fa5454), to(#f70a0a));
     background-image: -webkit-linear-gradient(top, #fa5454, #f70a0a);
     background-image: -o-linear-gradient(top, #fa5454, #f70a0a);
     background-image: linear-gradient(to bottom, #fa5454, #f70a0a);
     filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffa5454' , 
endColorstr='#fff70a0a' , GradientType=0);
     border-color: #f70a0a #f70a0a #b00505;
     background-color: #f70a0a; 
}
.navbar .btn-navbar {
     background-color: #ab0505;
     background-image: -moz-linear-gradient(top, #c80606, #7e0404);
     background-image: -webkit-gradient(linear, 0 0, 0 100%, 
from(#c80606), to(#7e0404));
     background-image: -webkit-linear-gradient(top, #c80606, #7e0404);
     background-image: -o-linear-gradient(top, #c80606, #7e0404);
     background-image: linear-gradient(to bottom, #c80606, #7e0404);
     filter: 
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc80606' , 
endColorstr='#ff7e0404' , GradientType=0);
     border-color: #7e0404 #7e0404 #340202;
     *background-color: #7e0404;
}
.btn-info[disabled] {
     background-color: #f70a0a;
     *background-color: #0c6938;
}
.btn-info.active {
     background-color: #c80606 \9; 
}
.navbar .btn-navbar.active {
     background-color: #4d0202 \9;
}
a.carousel-control:hover {
     color: #0c6938;
}
.widget.widget_archive li:before,
.widget.widget_categories li:before,
.widget.widget_calendar li:before,
.widget.widget_pages li:before,
.widget.widget_links li:before,
.widget.widget_meta li:before,
.widget.widget_recent_entries li:before,
.widget.widget_recent_comments li:before,
.widget.widget_nav_menu li:before,
.widget.widget_rss li:before {
     color: #0c6938; 
}
.tc-grid {

border-bottom: 3px solid #f39220;

}
h2.entry-title a {
    width: 100%;
    font-size: 60%; 
}
.tc-post-list-grid .entry-summary { text-align: left }
.tc-header {border-bottom: 0px; border-top: 2px #0c6938 solid;}
.sticky-enabled .tc-header { border-bottom: 1px #ccc solid }
.tc-slider-controls { width: 3% }
.container { margin-top:10px }
.widget.widget_archive li:before, .widget.widget_calendar li:before, .widget.widget_categories li:before, .widget.widget_links li:before, .widget.widget_meta li:before, .widget.widget_nav_menu li:before, .widget.widget_pages li:before, .widget.widget_recent_comments li:before, .widget.widget_recent_entries li:before, .widget.widget_rss li:before 
{ left:-1px; }
.tc-fade-hover-links a:not([class*=round-div]), .tc-fade-hover-links a:visited, .tc-fade-hover-links button, .tc-fade-hover-links input[type=button], .tc-fade-hover-links input[type=submit] { text-decoration:none }
footer#footer { border-top: 0}
.rss-widget-icon {display:none}
.widget_archive h3:before {content: none}
.widget_tag_cloud h3:before {content:none}
footer#footer h3 a { font-size: 100%; }
.widget_nav_menu h3:before {
    content: none;
}
.widget.widget_rss li:before { content:none; }

/* form ricerca nel menu */

.navbar .nav .my-nav-menu-search {
    float: right;
}
.navbar .nav {
    width: 100%;
}

.my-nav-menu-search .search-submit {
    display: none;
}
.my-nav-menu-search .search-form .screen-reader-text {
    position: absolute;
    left: -9999px;
    overflow: hidden;
}

.my-nav-menu-search .search-field {
    background-color: transparent;
    background-image: url(/wp-content/themes/customizr-child/ricerca.png);
    background-repeat: no-repeat;
    background-position: 5px center;
    -webkit-background-size:    18px 18px;
    background-size:            18px 18px;
    border: none;
    -webkit-box-shadow:    none;
    -moz-box-shadow:       none;
    box-shadow:            none;
    cursor: pointer;
    height: 26px;
    margin: 2px 0 2px 0;
    padding: 0 0 0 36px;
    position: relative;
    -webkit-transition:    width 400ms ease, background 400ms ease;
    -moz-transition:       width 400ms ease, background 400ms ease;
    -o-transition:         width 400ms ease, background 400ms ease;
    transition:            width 400ms ease, background 400ms ease;
    width: 0px;
}

.my-nav-menu-search .search-field:active,
.my-nav-menu-search .search-field:focus {
    background-color: #fafafa;
    color: #5a5a5a;
    border: 2px solid #c3c0ab;
    cursor: text;
    outline: 0;
    width: 70px;
    -webkit-box-shadow:	none;
    -moz-box-shadow: 	none;
    box-shadow:         none;
    margin: 0;
}
@media (max-width: 979px){
    .navbar .nav .my-nav-menu-search {
        float: left;
    }
    .navbar .nav {
        width: auto;
    }
}
