/*
 Theme Name:   Legatus Premium Child Theme
 Theme URI:    //legatus.orange-themes.com/
 Description:  Legatus Premium Wordpress Child Theme
 Author:       Orange Themes
 Author URI:   //www.orange-themes.com/
 Template:     legatus-theme
 Version:      2.0.9
 Tags: 
 Text Domain:  legatus-theme-child
*/

@import url("../legatus-theme/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
/*-----------------------------------------Video responsive-------------------------------------------*/

.video-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.video-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.wpp-thumbnail {
    border-bottom: 5px solid #427AEB !important;
}

del {
    background: #FFFF00;
    padding: 0 2px;
	text-decoration: none;
}

/* search */
.search-form {
	right: 200px;
	top: 200px;
}

.search-field {
       background-color: transparent;
       background-image: url(//www.tg24.info/shop/wp-content/themes/legatus-theme/images/icon-search.png);
       background-position: 5px center;
       background-repeat: no-repeat;
       background-size: 20px 20px;
       border: none;
       cursor: pointer;
       height: 30px;
       margin: 0;
       padding: 0 0 0 34px;
       position: relative;
       -webkit-transition: width 400ms ease, background 400ms ease;
       transition: width 400ms ease, background 400ms ease;
       width: 30px;
}

.search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 992px;
}
.search-form
.search-submit { 
    display:none;
}

/* agenda */

.page-id-71374 .header .header-menu {
    border-top: 1px solid #ffa502;
    background: #ffa502;
    border-bottom: 1px solid #ffa502;
}

.page-id-71374 .header .header-menu .main-menu > li > a {
    background: #ffa502;
    color: #FFFFFF;
}


body.single-ai1ec_event .article-controls {display: none !important}

.ai1ec-posterboard-view .ai1ec-date-block-wrap {background: orange;}

.ai1ec-posterboard-view.ai1ec-posterboard-aligned .ai1ec-end-date-divider {border-color: transparent transparent transparent orange;}

.wp-embedded-content {
   max-width:100% !important;
   width:100% !important;
}

.wp-embed-site-title {display:none !important;}

/* mercatino */

.displayaditemseven h4{
    font-size: 20px;
}

.awpcp-multiple-region-selector {
    margin-bottom: 20px;
}

.awpcp-page h2{
    margin-top: 20px;
}

.displayaditemseven {
    font-size: 15px;
}

.displayaditemsodd h4{
    font-size: 20px;
}

.displayaditemsodd {
    font-size: 15px;
}

.awpcp-menu-items {
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid #d7d7d7;
}

.changecategoryselect .awpcp-category-dropdown-container {
    margin-bottom: 40px;
    margin-right: 5px;
}

.awpcp-category-dropdown-label {
    margin-right: 10px;
    font-size: 18px;
}

.changecategoryselect{
    margin-top: 10px;
}

.awpcp-clearboth {
    border-bottom: 1px solid #d7d7d7;
}

.awpcp-title {
    background: none !important;
    border-top: none !important;
    border-bottom: none !important;
    font-size: 24px !important;
}

.showawpcpadpage {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px 0 10px;
}

.fixfloat {
    display: flex !important;
    padding-top: 20px;
}

.twitter-share-button {
    width: 121px !important;
    height: 35px !important;
    margin-top: 0px !important;
}

.facebook-share-button {
    width: 121px !important;
    height: 35px !important;
}

.tw_button {
    margin-right: 20px;
}

.adviewed {
    font-size: 15px;
}

p.maincategoryclass {
    padding: 10px;
}

#awpcpcatlayout {
    margin-top: 20px;
}

.g img {
   	height: auto;
    max-width: 100%;
}

/* colore e stile main menu */
.header .header-menu {
    display: block;
    border-top: 1px solid #427aeb;
    background: #427aeb;
    border-bottom: 1px solid #427aeb;
}

.header .header-menu .main-menu > li > a {
    background: #427aeb;
    color: #FFFFFF;
}

.header .header-menu .main-menu > li:hover a {
    background: #FFFFFF;
    color: #427aeb;
}

/* data topmenu */
.data {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 10px;
    color: #727272;
}

/* titoli news e hover */
.article-big-block .article-header h2 a,
.article-small-block .article-header h2 a,
.article-big-block .article-content h2 a,
.article-small-block .article-content h2 a {
    color: #000000;
    display: -webkit-box;
}

.article-big-block .article-header h2 a:hover,
.article-small-block .article-header h2 a:hover,
.article-big-block .article-content h2 a:hover,
.article-small-block .article-content h2 a:hover{
    color: #0A53A0;
    text-decoration: underline;
}


/* titoli pannelli con grafica stondata */
.content-panel .panel-header b:after {
    display: block;
    position: absolute;
    background: inherit;
    width: 29px;
    height: 29px;
    right: -17px;
    top: 0px;
    border-radius: 100px;
    z-index: -1;
    content: '';
}


/* dimensioni slider e custom */
.slider-container .slider-content {
    height: 350px;
    width: 100%;
}

.slider-container .slider-content .slider-info {
    left: 0px;
    bottom: 0px;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
    padding: 50px 20px 30px 15px;
    font-size: 25px;
    line-height: 1;
    width: 100%;
    max-width: 645px;
    text-align: left;
    text-transform: none;
}

.slider-container .slider-content ul li:hover .slider-info {
    text-decoration: underline;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.slider-data {
	color: #ffffff;
  	font-weight: 600; 
	font-size: 14px;
  	font-family: Arial, sans-serif;
	margin-bottom: 15px;
}

/* destra sinistra */
.left {
    float: left;
}

.right {
    float: right;
}

.image-category {
    position: relative;
    font-size: 12px;
    top: -12px;
    left: 0px;
    padding: 2px;
    padding-right: 9px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 2;
    color: #FFF;
    margin-bottom: 10px;
}

.image-category.list-big {
    top: -18px;
}

.image-category.list-small {
    left: 0px;
    font-size: 12px;
}

.image-category-wwp {
    position: relative;
    font-size: 12px;
    top: 200px;
    left: -350px;;
    padding: 2px;
    padding-right: 9px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 2;
    color: #FFF;
}

.vspace10 {
    margin-top: 10px;
}

.article-date {
    color: #da6d15;
    font-weight: 600;
    display: block;
}

.content-panel {
    display: block;
    margin-bottom: 0;
    border-bottom: transparent;
    padding-bottom: 0;
}

.article-big-block, .article-small-block {
    clear: both;
}

.myButton {
	background-color:#599bb3;
	-moz-border-radius:13px;
	-webkit-border-radius:13px;
	border-radius:13px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:13px 35px;
	text-decoration:none;
}

.myButton:hover {
	background-color:#408c99;
}

.myButton:active {
	position:relative;
	top:1px;
}

ul li a i {
    font-style: normal;
    display: none;
}

.header .header-menu ul.main-menu > li > ul.sub-menu li > a {
    display: block;
    width: 280px;
    float: none;
    margin: 0px;
    background: #427AEB;
    color: #fff;
    width: auto;
    font-size: 13px;
    position: relative;
}

.header .header-menu ul.main-menu > li > ul.sub-menu li, .header .header-menu ul.main-menu > li > ul.sub-menu li:hover {
    margin: 0px;
    background: #254D88;
    padding: 0px;
}

/* slider phone */

@media only screen and (max-width: 640px) { 
.slider-container .slider-content .slider-info {
    width: 100%;
}

.slider-container .slider-controls .slider-control a {
height: 22px;
}

.slider-container .slider-content .slider-info {
width: 95%;
}

.header .header-menu .phone-icon {
background: #437aeb;
    color: #ffffff;
    box-shadow: none;
}

	.header-middle .logo-image {
    zoom: 68% !important;
}
	
}

@media only screen and (max-width: 419px) { 
.slider-container .slider-content  .set-image-border {
right: 44%;
}
}
.grecaptcha-badge{
    visibility: hidden !important;
    opacity:0 !important;
} 
	