/*
Theme Name: Eltec
Theme URI: -
Description: template grafico del sito eltecdomotica.it
Version: 1.0
Author: Andrea Piccolo
Author URI: -
Tags: -
*/

@charset "utf-8";
/* CSS Document */
/* -- generale -------------------------------------------------------------- */

html {
    font-size: 16px;
}

body {
    color: #333333;
    font-family: Verdana, 'Trebuchet MS', sans-serif;
    font-size: 12px;
    font-size: 0.75rem;
    background-color: #E7E7E7;
    margin: 0;
    padding: 0;
    text-align: center;
    background-repeat: no-repeat;
    background-position-x: center;
    background-attachment: fixed;
}

img {
    border: 0;
}


h1 {
    font-size: 2em;
    font-size: 1.5rem;
    margin: .67em 0
}

h2 {
    font-size: 1.5em;
    font-size: 1.125rem;
    margin: .75em 0
}

h3 {
    font-size: 1.17em;
    font-size: 0.8775rem;
    margin: .83em 0
}

h4,
p,
blockquote,
ul,
fieldset,
form,
ol,
dl,
dir,
menu {
    margin: 1.12em 0
}

h5 {
    font-size: .83em;
    font-size: 0.6225rem;
    margin: 1.5em 0
}

h6 {
    font-size: .75em;
    font-size: 0.5625rem;
    margin: 1.67em 0
}

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
    font-weight: bolder
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    html {
        font-size: 2rem;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* -- container ------------------------------------------------------------- */

#container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* -- header ---------------------------------------------------------------- */

#header {
    background: transparent;
    display: block;
    float: left;
    clear: both;
    height: 80px;
    padding: 0;
    margin: 0;
}

#logo {
    display: block;
    width: 192px;
    height: 60px;
    float: left;
    clear: none;
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
}

#logo h1 {
    display: block;
    height: 60px;
    padding: 0;
    margin: 0;
}

#logo h1 a {
    display: block;
    height: 60px;
    text-decoration: none;
}

#logo h1 a span {
    display: none;
    color: transparent;
}

#header h5 {
    display: block;
    width: 192px;
    padding: 0;
    margin: 0;
    padding-left: 10px;
    color: #6E83A0;
}

#searchbox {
    float: left;
    clear: none;
    display: none;
    width: 300px;
    height: 55px;
    padding-top: 20px;
    margin-left: 550px;
}

#searchbox label {
    display: none;
}

#searchbox input {
    border: 1px solid #6E83A0;
    margin-left: 3px;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    
    #header {
        position: absolute;
        right: 0;
        top: 0;
    }

    #logo {
        width: 350px;
    }

    #logo h5 {
        width: auto;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* -- navigation ------------------------------------------------------------ */

#navigation {
    display: block;
    float: left;
    clear: both;
    background-color: #E7E7E7;
    max-width: 960px;
    height: 80px;
    margin: 0;
    padding: 0;
}

#button_menu {
    display: none;
}

#navigation ul {
    display: block;
    float: left;
    clear: both;
    width: 1000px;
    height: 80px;
    margin: 0;
    padding: 0;
}

#navigation li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline;
}

#navigation ul > li a {
    display: block;
    float: left;
    clear: none;
    width: 144px;
    height: 65px;
    margin: 0;
    padding: 0;
    padding-top: 15px;
    border: 0;
    text-decoration: none;
    font-size: 14px;
    font-size: 0.875;
    font-weight: normal;
    text-align: center;
    color: #B6DBEE;
    background-repeat: no-repeat;
    background-image: url('images/nav_center.png');
    background-position: -22px 0;
}

#navigation ul > li:first-child a {
    background-image: url('images/nav_first.png');
    width: 192px;
    background-position: 0 0;
}

#navigation ul > li:last-child a {
    background-image: url('images/nav_last.png');
    width: 192px;
    background-position: 0 0;
}

#navigation ul > li.current_page_item a {
    background-image: url('images/nav_center_selected.png');
}

#navigation ul > li.current_page_item:first-child a {
    background-image: url('images/nav_first_selected.png');
}

#navigation ul > li.current_page_item:last-child a {
    background-image: url('images/nav_last_selected.png');
}

#navigation ul > li a:hover {
    color: #038DCC;
    background-image: url('images/nav_center_over.png');
}

#navigation ul > li:first-child a:hover {
    background-image: url('images/nav_first_over.png');
}

#navigation ul > li:last-child a:hover {
    background-image: url('images/nav_last_over.png');
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    #navigation {
        height: auto;
        display: block;
        float: none;
    }

    #button_menu {
        display: block;
        width: 300px;
        height: 80px;
        background-color: black;
        border-radius: 0;
        color: #ffffff;
        font-size: 2rem;
        border: 0;
        text-align: center;
    }

    #navigation > div {
        display: none;
        margin-top: 10px;
    }

    #navigation ul{
        height: auto;
    }

    #navigation ul > li a,
    #navigation ul > li:first-child a,
    #navigation ul > li:last-child a,
    #navigation ul > li a:hover,
    #navigation ul > li:first-child a:hover,
    #navigation ul > li:last-child a:hover{
        float: none;
        width: 100%;
        height: auto;
        background-image: none;
        text-align: center;
        background-color: black;
        font-size: 1.5rem;
        padding:0;
        padding-top: 20px;
        padding-bottom: 20px;
        margin:0;
    }

    #navigation ul > li.current_page_item a,
    #navigation ul > li.current_page_item:first-child a,
    #navigation ul > li.current_page_item:last-child a {
        background-image: none;
        color: #ff6600;
    }

    #content_top {
        display: none;
    }

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* -- content --------------------------------------------------------------- */

#content_top {
    display: block;
    float: left;
    clear: both;
    max-width: 960px;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    background-image: url('images/cont_top.png');
}

#content {
    display: block;
    float: left;
    clear: both;
    max-width: 960px;
    margin: 0;
    padding: 0;
    background-image: url('images/cont_center.png');
    background-repeat: repeat-y;
}

/* main bar */

#mainBar {
    display: block;
    float: left;
    clear: none;
    width: 556px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
}

/* post, entry */

.post-wrapper,
.entry {
    background-color: #FFFFFF;
    opacity: 0.9;
    filter: alpha(opacity=90);
    padding-bottom: 10px;
}

.post-title {
    display: none;
    height: 28px;
    font-size: 16px;
    font-size: 1rem;
    background-color: #FFFFFF;
    border-top: 1px solid #FFFFFF;
    margin: 0;
}

.post-title a {
    text-decoration: none;
    font-weight: normal;
    color: #ff6600;
    display: block;
    padding: 5px;
}

.post-title a:hover {
    text-decoration: underline;
}

.post {
    margin: 10px;
    font-size: 12px;
    font-size: 0.75rem;
}

.post .alignleft {
    float: left;
    clear: none;
}

.post .alignright {
    float: right;
    clear: none;
}

.post a,
.post-data a,
.post-footer a {
    text-decoration: none;
    border-bottom: 1px dotted #AAAAAA;
    color: #494949;
}

.post-data {
    margin: 10px;
    font-size: 10px;
    font-size: 0.625rem;
    color: #494949;
}

.post-footer {
    display: none;
    margin: 10px;
    margin-bottom: 20px;
    font-size: 10px;
    font-size: 0.625rem;
    color: #494949;
}

.entry {
    padding: 10px;
}

.entry h3 {
    font-weight: normal;
}

.article-page .post-title,
.article-page .post-footer,
.single .post-title,
.single .post-footer {
    display: block;
}

/* comments */

.commentbox {
    display: none;
}

/* gallery */

.gallery {
    overflow: auto;
    height: 200px;
}

.gallery .gallery-item {
    margin-right: 5px;
    border: 0;
}

.gallery .gallery-item img {
    border: 1px solid #CCCCCC;
    padding: 2px;
}

/* side bar */

#sidebar {
    display: block;
    float: left;
    clear: none;
    width: 374px;
    padding: 0;
    margin: 0;
    padding-right: 10px;
}

#sidebar form {
    display: block;
    margin: 20px 0;
}

#sidebar h3,
#sidebar h4 {
    height: 18px;
    font-size: 12px;
    font-size: 0.75rem;
    background-color: #6B2633;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #000000;
    margin: 0;
    padding: 5px;
    font-weight: normal;
    color: #FFFFFF;
}

#sidebar ul {
    list-style-position: inside;
    list-style-type: none;
}

#sidebar li {
    margin-top: 10px;
    padding: 0px;
}

#sidebar li a,
#sidebar td a {
    text-decoration: none;
    border-bottom: 1px dotted #AAAAAA;
    color: #494949;
}

/* widget */

.widget-container {
    width: 374px;
    padding: 0;
    padding-bottom: 15px;
    margin: 0;
    margin-bottom: 10px;
    background-image: url('images/sidebar_0_footer.png');
    background-repeat: no-repeat;
    background-position: 0 bottom;
}

.widget-container h2 {
    display: block;
    width: 354px;
    height: 25px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    margin: 0;
    color: #ff6600;
    font-weight: normal;
    background-image: url('images/sidebar_0_top.png');
    background-repeat: no-repeat;
}

.widget-container .textwidget,
.widget-container > ul {
    display: block;
    width: 354px;
    padding: 0;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    background-image: url('images/sidebar_0_center.png');
    background-repeat: repeat-y;
}

.widget-container > ul {
    padding-bottom: 10px;
}

.widget-container .textwidget a {
    color: #038DCC;
}

.widget-container .textwidget li {
    list-style-type: circle;
}

.widget-container .textwidget > p {
    margin: 0;
}

/* white */

.widget-container.eltec-white {
    background-image: url('images/sidebar_0_footer.png');
}

.widget-container.eltec-white h2 {
    color: #E77918;
    background-image: url('images/sidebar_0_top.png');
}

.widget-container.eltec-white .textwidget {
    color: #000000;
    background-image: url('images/sidebar_0_center.png');
}

.widget-container.eltec-white .textwidget a {
    color: #E77918;
}

/* grey */

.widget-container.eltec-grey {
    background-image: url('images/sidebar_1_footer.png');
}

.widget-container.eltec-grey h2 {
    color: #E77918;
    background-image: url('images/sidebar_1_top.png');
}

.widget-container.eltec-grey .textwidget {
    color: #000000;
    background-image: url('images/sidebar_1_center.png');
}

.widget-container.eltec-grey .textwidget a {
    color: #E77918;
}

/* black */

.widget-container.eltec-black {
    background-image: url('images/sidebar_2_footer.png');
}

.widget-container.eltec-black h2 {
    color: #E77918;
    background-image: url('images/sidebar_2_top.png');
}

.widget-container.eltec-black .textwidget {
    color: #FFFFFF;
    background-image: url('images/sidebar_2_center.png');
}

.widget-container.eltec-black .textwidget a {
    color: #E77918;
}



@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    #content_top {
        display: none;
    }

    #content {
        display: block;
        float: none;
        background-image: none;
        background-color: #FFFFFF;
    }

    #mainBar,
    #sidebar {
        display: block;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .widget-container,
    .widget-container h2,
    .widget-container > ul,
    .widget-container.eltec-white,
    .widget-container.eltec-white h2,
    .widget-container.eltec-white .textwidget,
    .widget-container.eltec-white > ul,
    .widget-container.eltec-grey,
    .widget-container.eltec-grey h2,
    .widget-container.eltec-grey .textwidget,
    .widget-container.eltec-grey > ul,
    .widget-container.eltec-black,
    .widget-container.eltec-black h2,
    .widget-container.eltec-black .textwidget,
    .widget-container.eltec-black > ul {
        width: 100%;
        background-image: none;
        height: auto;
    }

    .widget-container.eltec-grey,
    .widget-container.eltec-grey h2,
    .widget-container.eltec-grey .textwidget,
    .widget-container.eltec-grey > ul{
        background-color: #DDDDDD;
    }

    .widget-container.eltec-black,
    .widget-container.eltec-black h2,
    .widget-container.eltec-black .textwidget,
    .widget-container.eltec-black > ul {
        background-color: black;
    }

    .widget-container h2,
    .widget-container.eltec-white h2,
    .widget-container.eltec-grey h2,
    .widget-container.eltec-black h2,
    .widget-container.eltec-white .textwidget,
    .widget-container.eltec-grey .textwidget,
    .widget-container.eltec-black .textwidget{
        margin: 0;
        padding: 0;
    }

    .widget-container.eltec-white .textwidget > p,
    .widget-container.eltec-grey .textwidget > p,
    .widget-container.eltec-black .textwidget > p{
        padding-left: 10px;
        padding-right: 10px;
    }

    input,
    select,
    textarea {
        font-size: 1rem;
        border: 1px solid black;
        border-radius: 5px;
    }

    
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* -- footer ---------------------------------------------------------------- */

#footer {
    display: block;
    float: left;
    clear: both;
    max-width: 960px;
    width: 100%;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    text-align: center;
    font-weight: normal;
    font-size: 10px;
    font-size: 0.625rem;
    color: #B6DBEE;
    background-image: url('images/foot_center.png');
    background-repeat: repeat-y;
}

#footer *,
#footer a:visited,
#footer a:hover {
    color: #B6DBEE;
}



@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}