/*
Theme Name:     Nexus Child
Description:    My custom Child theme Nexus theme 
Author:         G.Nicolazzo
Author URI:     http://www.omniteca.it/about/
Template:       Nexus
Version:        0.1.0
*/ 
/*
blu scuro #2a3465
verde #9bc100
footer grigio #686b74
*/
@import url("../Nexus/style.css"); 
/* global */
h1, h2, h3, h4, h5, h6 { color: #2a3465!important; font-variant: small-caps; }
.entry-content strong { color: #2a3465!important; }
h1 { font-size: 32px!important; }
h2 { font-size: 26px!important; }
h3 { font-size: 24px!important; }
h4 { font-size: 20px!important; }
h5 { font-size: 18px!important; }
h6 { font-size: 16px!important; }
body { font-weight: 300!important; }
.et_quote { font-size: 18px!important; }

/* header */

.page-id-285224 #main-header { display:none;} /* hide for blank page racconti*/
#main-header { padding-top: 0px;  }
#top-info { padding-top: 10px; padding-bottom: 10px}
#main-header .container { border-left: 1px solid #E0E0E0; border-right: 1px solid #E0E0E0;
 -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.07); -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.07); box-shadow: 0 0 15px rgba(0, 0, 0, 0.07); }
#logo { padding-top: 20px!important; padding-left: 10px;}
/*TODO*/
/*.header-banner { width: 60%;}*/
#et-secondary-menu { font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;   width: 90%; margin: 0 auto;}
#et-secondary-nav, #et-secondary-nav li { display: inline-block;  }
.et-secondary-nav { float:right}
#menu-secondary-menu li {float:left;   margin-right: 15px; text-align: right;}
/* scarica racconto images fix */
.page-id-285224 .sdm_download_thumbnail_image {
    width: auto !important;
    height: 150px !important;
}
.page-id-285224 .sdm_download_title {
    line-height: 1.2em!important;
}
/* MENU*/
/***************************** DIVI SPACE MENU ICONS *******************************/


 .header-promo { float: right; padding-top: 15px; margin-right: 15px; color: #2a3465!important /*border: 1px solid #ececec;*/}
 .header-menu-promo,  .header-menu-promo-title { float:left;  margin-right: 15px;}
 .header-menu-promo-title span { letter-spacing: 2px;}
 .menu-icons { float:left; width: 64px;height: 64px; margin-left: 10px; }
 .menu-text, .menu-text-title { float:left;  }
 .menu-text a { height: 100px; line-height: 64px; white-space: nowrap; margin-left: 10px; color: #2a3465!important }

/************************************* END *****************************************/
#top-header, #et-secondary-nav li ul { background-color: #686b74; }
#top-header { font-size: 12px; line-height: 13px; z-index: 100000; color: #ffffff; }
#top-header a, #top-header a { color: #ffffff; }
#top-header, #et-secondary-nav li ul { -moz-transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out; -webkit-transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out; transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out; }
	#top-header .container { padding-top: 10px; font-weight: 600; }
.et_fixed_nav #top-header { top: 0; left: 0; right: 0; }
.et_duplicate_social_icons { display: none; }
#main-header { line-height: 23px; font-weight: 500; top: 0; background-color: #fff; width: 100%; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); position: relative; z-index: 99999; }
.et_fixed_nav #main-header, .et_fixed_nav #top-header { position: fixed; }
#top-header,
	#top-header .container,
	#top-header #et-info,
	#top-header .et-social-icon a { line-height: 1em; }
	#top-header .container { padding-top: .75em;   padding-bottom: 5px; }
	#et-info, #et-secondary-menu > ul > li a { padding-bottom: .75em; display: block; }
        .nav li ul, .et_mobile_menu { width:240px!important}
        #top-menu li li, .et_mobile_menu li a { padding: 0 20px!important; }
        .nav li ul, .et_mobile_menu { padding: 20px 10px!important }
        /* menu */
        /*#et-secondary-nav ul li a:hover { background-color: rgba(125,125,125,0.03); }*/
        /*#top-menu > li.current-menu-item > a { color: #FFFFFF!important; background-color: #a9d300; }
        /*#top-menu > li.current-menu-item > a, #top-menu li li a, .et_mobile_menu li a { color: #2a3465!important; }*/
        .categories-tabs:after, .home-tab-active, .home-tab-active:before, a.read-more, .comment-reply-link, h1.post-heading, .form-submit input, .home-tab-active:before, .et-recent-videos-wrap li:before, .nav li ul, .et_mobile_menu {
            background-color: #FFFFFF!important;
        }
		#respond .comment-form .form-submit input {
			background-color: #a9d300!important;
		}
        .categories-tabs li, .categories-tabs li a {color: #333!important;}

        #top-menu li li a, .et_mobile_menu li a { font-family: 'Open Sans', Arial, sans-serif; font-size: 14px!important;color: #333!important; padding:13px 20px!important; margin: 0!important /*text-shadow:none!important;*/ background-color: #FFFFFF!important}
        #top-menu li li a:hover, .et_mobile_menu li a:hover { color: #333!important; background-color: #ededed!important; padding:13px 20px!important; margin: 0!important/*font-weight: bold;*/ /*text-shadow:none!important;*/ }
        /*#top-header .et-cart-info { margin-left: 15px; }*/ 
 
        #social-container-home { width:100%; background: #f8f8f8; height: 170px; border: 1px solid #CCC; margin: 10px 0;}
.sponsored-space { width:100%; background: #f8f8f8; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; margin: 10px 0;  font-style: italic; }
.sponsored-space p { margin: 0px 10px; }

.entry-content .question-survey { width:100%; background: #f8f8f8; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; margin: 10px 0 10px 0;  font-style: italic; padding: 10px 0 !important }

/* Secondary Navigation */
	#et-secondary-nav li { position: relative; text-align: right;   margin-left: 20px; }
	#et-secondary-nav li ul { position: absolute; right: 0; padding: 1em 0; }
	#et-secondary-nav li ul ul { right: 220px; margin-top: -4em; }
	#et-secondary-nav li ul li { display: block; }
	#et-secondary-nav li ul { z-index: 999999; visibility: hidden; opacity: 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
	#et-secondary-nav li ul { -webkit-transform: translate3d(0,0,0); }
	#et-secondary-nav li.et-hover > ul { visibility: visible; }
	#et-secondary-nav li > ul { width: 220px; }
	#et-secondary-nav li:hover > ul { opacity: 1; visibility: visible; }
	#et-secondary-nav li li { padding: 0 2em; margin: 0; }
	#et-secondary-nav li li a { padding: 1em; width: 100%; font-size: 12px; line-height: 1em; margin-right: 0; display: block; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
	#et-secondary-nav ul li a:hover { background-color: rgba(0,0,0,0.03); }

		/* IE7 Fix */
		#et-secondary-nav li:hover { visibility: inherit; }

	/* Dropdown Arrows */
	#et-secondary-nav .menu-item-has-children > a:first-child:after { font-family: 'ETmodules';  content: "\25be" ; font-size: 16px; position: absolute; right: 0; top: 0; font-weight: 800; }
	#top-menu .menu-item-has-children > a:first-child, .fullwidth-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child { padding-right: 20px; }
	#top-menu li .menu-item-has-children > a:first-child { padding-right: 40px; }
	#top-menu li .menu-item-has-children > a:first-child:after, .fullwidth-menu li li.menu-item-has-children > a:first-child:after { right: 20px; top: 6px; }
	#et-secondary-nav .menu-item-has-children > a:first-child:after { top: 0; }
	#et-secondary-nav li .menu-item-has-children > a:first-child:after { top: .67em; right: auto; left: 2.3em; }

   /* widget middle colun */     
.et-main-description {
    background: rgba(0,0,0,0.7);
}

/* featured post */
.home .et-first .excerpt-wrap { padding: 61px 62px 0 100px!important;}
/* post */
.et-single-post-ad-above { text-align: right; margin: 0 0 10px 0px!important; width:100%; padding: 0px!important}
.et-main-image { width:auto!important}
.post-metainfo .title { font-size: 14px!important; }
.entry-content { text-align: justify; }
.entry-content .post-meta { font-size:20px; }
.entry-content .post-meta a { font-size: 20px; }
#et-box-author p, #et-post-share span { font-variant: small-caps; }

/* CF7 */
/*.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar { background-color: rgba(0,0,0,0.1)!important; border: none !important; width: 100% !important; -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important; border-radius: 0 !important; font-size: 14px; color: #999 !important; padding: 16px !important; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    box-sizing: border-box; }
.wpcf7-submit { color: #a9d300 !important; margin: 8px auto 0; cursor: pointer; font-size: 20px; font-weight: 500; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 6px 20px;
    line-height: 1.7em; background: transparent; border: 2px solid; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -moz-transition: all 0.2s; -webkit-transition: all 0.2s;
    transition: all 0.2s; }
.wpcf7-submit:hover { background-color: #eee;  border-color:#eee; padding: 6px 20px !important; }
.wpcf7 p { color: #999 !important }
.wpcf7 .wpcf7-validation-errors { color: #000000 !important}
.wpcf7 .wpcf7-mail-sent-ok { color: #a9d300 !important}*/
/* HOME */
#sidebar .widget {   padding: 0 35px 30px!important;}
#sidebar h4.widgettitle { padding: 17px 35px!important; margin: 0 -35px 30px!important; }

/* front-end POST SUBMIT*/
#fep-tags, label[for=fep-tags], #fep-featured-image { display:none!important;}
#fep-new-post #fep-post-title, #fep-new-post #fep-tags { width: 98%!important; }
.wppb-user-forms ul li { list-style: none;}
.wppb-user-forms input { height: 35px;}
#wppb-edit-user-profilo-autori .form-submit input { background-color: #9bc100!important}

/* sidebar */
.g, .g-11 { width: 300px; margin: 1px 0px 1px -30px!important; }

/* footer */
#copyright { text-align: center!important;}
.fwidget { line-height: 1.4em; text-align:justify }
#footer-widgets h4 { color:  #9bc100!important; }

.home .et-first, .home .et-second, .home .et-third, .home .et-fourth, .home .et-fifth, .home .et-sixth, .home .et-seventh{ width: 160px; height: 250px; padding: 2px 2px }
    .et-description h2 { font-size: 24px!important; }
    .et-main-image img { width: 160px!important; height: 250px!important;}
    /*.et-description { margin-left: 200px!important;} */
    .post-thumbnail .container { min-height: 140px; }

/*------------------------------------------------*/
/*-----------[Fast Secure Contact Form]-----------*/
/*------------------------------------------------*/

/* Alignment DIVs */
.fscf-div-clear             { clear:both; }
.fscf-div-field-left        { clear:left; float:left; width:99%; margin-right:10px; }
.fscf-div-field-prefollow   { clear:left; float:left; width:99%; max-width:250px; margin-right:10px; }
.fscf-div-field-follow      { float:left; padding-left:10px; width:99%; max-width:250px; }
.fscf-div-label             { text-align:left; padding-top:5px; }
.fscf-div-captcha-sm        { width:175px; height:50px; padding-top:2px; }
.fscf-div-captcha-m         { width:250px; height:65px; padding-top:2px; }
.fscf-image-captcha         { border-style:none; margin:0; padding:0px; padding-right:5px; float:left; }
.fscf-image-captcha-refresh { border-style:none; margin:0; padding:0px; vertical-align:bottom; }

/* Styles of labels, fields and text */
.fscf-required-indicator { text-align:left; }
.fscf-required-text      { text-align:left; }
.fscf-hint-text          { font-size:x-small; font-weight:normal; }
.fscf-div-error          { text-align:left; color:red; }
.fscf-div-redirecting    { text-align:left; }
.fscf-fieldset-field     { border:1px solid black; width:97%; max-width:500px; padding:10px; }
.fscf-label              { text-align:left; }
.fscf-option-label       { display:inline; }
.fscf-input-select, .fscf-input-text, .fscf-input-captcha { height:30px; border: 1px solid #d4d2d2 !important; border-radius: 1px  !important; -webkit-border-radius: 1px !important; -moz-border-radius: 1px !important; color: #303030 !important; padding: 7px !important; margin: 0px !important; 
background: url(images/contact_input.png) repeat-x #f7f7f7 !important; border: 1px solid #cccccc !important; width: 100% !important; color: #111111 !important; padding: 8px !important;
}
.fscf-input-captcha      { width:158px!important; margin-top: 5px!important}
.fscf-input-textarea     { background: url(images/contact_input.png) repeat-x #f7f7f7 !important; border: 1px solid #cccccc !important; width: 100% !important; color: #111111 !important; padding: 8px !important; }
.fscf-input-select       { height:50px!important; color:#333333; width:102%!important;}
.fscf-input-checkbox     {  }
.fscf-input-radio        {  }
.fscf-button-submit { color: #a9d300 !important; margin: 8px auto 0; cursor: pointer; font-size: 20px; font-weight: 500; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 6px 20px;
    line-height: 1.7em; background: transparent; border: 2px solid; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -moz-transition: all 0.2s; -webkit-transition: all 0.2s;
    transition: all 0.2s; }
.fscf-button-submit:hover { background-color: #eee;  border-color:#eee; padding: 6px 20px !important; }
.fscf-button-reset       {  }
.fscf-button-vcita       {  }
.fscf-button-div-vcita   {  }
.fscf-powered-by         { text-align:center; }
.input {  }
input.input {  }
textarea.input { width: 95% !important; }
.fscf_div_clear_contact2 { margin-bottom: 10px;}

#et-contact p input, #et-contact p textarea {  }
#et-contact p textarea { width: 95% !important; }
#et-contact p #et_contact_captcha { width: 20px !important; }

/* Placeholder Style - WebKit browsers - Safari, Chrome */
::-webkit-input-placeholder { opacity:0.6; color:#333333; }

/* Placeholder Style - Mozilla Firefox 4 - 18 */
:-moz-placeholder { opacity:0.6; color:#333333; }

/* Placeholder Style - Mozilla Firefox 19+ */
::-moz-placeholder { opacity:0.6; color:#333333; }

/* Placeholder Style - Internet Explorer 10+ */
:-ms-input-placeholder { opacity:0.6; color:#333333; }

@media only screen and ( min-width: 961px ) and ( max-width: 1300px ) {
    .home .et-first, .home .et-second, .home .et-third, .home .et-fourth, .home .et-fifth{  padding: 2px 8px }
    .home .et-sixth, .home .et-seventh, #et-social-icons{ display:none; }
    .header-banner { float: right; text-align:right!important; }
}

@media only screen and ( min-width: 767px ) and ( max-width: 960px ) {
    .et-featured-post.et-first, .et-featured-post.et-second, .et-featured-post.et-third, .et-featured-post.et-fourth, .home .et-fifth, .home .et-sixth{ margin: 2px 18px; }
    .home .et-seventh, #et-social-icons{ display:none; }
    .header-banner { float: none; text-align:center; }
    #logo { float: none; text-align:center; margin: 0 auto; display: block; }
}

@media only screen and ( min-width: 478px ) and ( max-width: 766px ) {
    .et-featured-post.et-first, .et-featured-post.et-second, .et-featured-post.et-third, .et-featured-post.et-fourth, .home .et-fifth, .home .et-sixth{ margin: 20px 15px; }
    .home .et-seventh, #et-social-icons{ display:none; }
    .header-banner { float: none; text-align:center; }
    #logo { float: none; text-align:center; margin: 0 auto; display: block; }
    .header-promo {     float: none; text-align: center; margin: 0 auto!important;}
    .header-promo .header-menu-promo { float: none!important; margin: 0 auto!important; text-align: center; width: 100%; height: 84px}
    .header-menu-promo-title { width:100%!important}
    .menu-text-title { margin: 0 auto; width: 70%; text-align: center; float:none;}
}

@media only screen and ( max-width: 478px ) {
    .et-featured-post.et-first, .et-featured-post.et-second, .et-featured-post.et-third, .et-featured-post.et-fourth,.home .et-fifth, .home .et-sixth,.home .et-seventh { margin: 10px 40px; }
    .header-promo {     float: none; text-align: center; margin: 0 auto!important;}
    .header-promo .header-menu-promo { margin: 0 auto!important; width: 100%!important;}
    .header-menu-promo-title { width:100%!important}
    .menu-text-title { margin: 0 auto; width: 70%; text-align: center; float:none;}
	.entry-content p img.alignright,.entry-content p img.alignleft, .entry-content img.alignright, .entry-content img.alignleft { float:none; display:block; text-align:center; margin:10px auto !important}
}
