
@import url('https://fonts.googleapis.com/css?family=Questrial&display=swap');

p,a{
    font-family: 'Questrial', sans-serif !important;
    font-size: 13px;
    line-height: 23px;
    letter-spacing: 0.7px;
}
/*News dinamic*/
.news-post{
	font-size:0px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-column{
	font-size: initial;
	width: 50%;
	
}

.news-text{
	/*padding-left: 5%;
    padding-right: 5%;*/
    padding: 6%;
}

.news-block-wrap div:nth-child(even) {
	flex-direction: row-reverse;
}

.slide-direction-fix .news-post{
	flex-direction: row-reverse;
}

.ama-slide-fix .news-block-wrap {
    background: #715880;
}

.news-column.news-text{
    color: white;
}

.news-column.news-text p{
    margin: 0;
}

.news-column.news-foto{
    min-height: 510px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background-size .2s ease-in !important;
}

.bg-fixes{
    background-position: center !important;
    background-repeat: repeat-x !important;
    background-size: 100% 100% !important;
}


.ep-foto-row{
    width: 50%;
    position: relative;
}

.ep-foto-row .news-foto{
    width: 100%;
    transition: opacity 1.5s linear;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
}

.ep-foto-row:hover .main-foto{
    /*display: none !important;*/
    opacity: 0 !important;
    transition: opacity 1.5s linear;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: background-size 0.5s ease;
    transition: background 0.5s ease;
}

.ep-foto-row:hover .hover-foto{
    /*display: block !important;*/
    opacity: 1 !important;
    transition: opacity 1s linear;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.ep-foto-row .hover-foto{
    position: absolute;
    top: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 1s linear;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
  
}



/*HEADER*/

.header-main {

    /*background: transparent !important;*/
}
.site-header {
    background: transparent !important;
    /*border-bottom: 8px solid #715880;*/
}

.site {
    background-color: transparent !important;
}

body {
    background-image: url(https://www.amagioielli.it/wp-content/uploads/2019/05/content-bg2.png?id=534) !important;
    background-size: 59% 70%;
    background-repeat-x: repeat;
}

.logo {
    height: 100%;
    margin: auto;
    padding: 11px 0 0;
    position: relative;
    width: 70% !important;
    text-align: center;
}

.logo img {
    width: 30% !important;
}


.top-link {
    margin: 22px 0 0 !important;

}

.top-link {
    text-align: center;
    top: 30px;
}


.top-link-left {
    float: initial !important;
    display: inline-flex;
    /* margin: auto; */
    /* display: inline-flex; */
    /* align-content: center; */
    /* align-items: center; */
}

.language-chooser.language-chooser-text.qtranxs_language_chooser{
    display: inline-flex;
}


.widget a {
    color: white !important;
}

.widget {
    background-color: #715880 !important;
}

.top-link li, .top-link2 li {
    display: inline-block !important;
}

.ep-foto-row .ep-zoomin{
background-size: 165%;
}
.ep-foto-row .ep-zoomin:hover{
    background-size: 200% !important;
    opacity: 1 !important;
    transition: background-size 0.5s ease;
}

.wrapper {
    width: 1350px;

}


#masthead .top-link a {
    color: #FFE0AA !important;
    font-family: pt sans;
    font-size: 15px !important;
    margin: 0 30px 0 0;
    padding: 0;
  }

  .footer-left a, .footer-link a, .footer-right > p  {
    font-size: 14px !important;

}

.footer-main h5{
    font-size: 19px !important;
}

.footer-right > p > a {
    font-size: 14px !important;
}

.top-head-right {
    border: 0px !important;
    top: 61px !important;

}

.top-head-right h5 {
    color: white !important;
    font-size: 19px !important
}

.top-head-right p {
    color: white !important;
    font-size: 14px !important;

}

.fixed-header #panel a {
    color: white !important;

}

@media (max-width: 767px) {
    /*News & Eventi*/
    .news-post {
        display: block;
        margin-bottom: 15%;
    }
    
    .news-column {
        width: 100%;
    }
    
    .news-text {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ep-foto-row {
        width: 100%;
    }

    .ep-foto-row .ep-zoomin {
        background-size: 200%;
    }

    .ep-foto-row .ep-zoomin:hover {
        background-size: 250% !important;
    }
    
    /*END News & Eventi*/
    }

    @media only screen and (max-width: 960px) and (orientation: landscape){
        .top-link {
            top: 0px;
        }

        .fixed-header .logo {
            text-align: center !important;
            margin: auto !important;
        }

        .logo {
            margin: auto !important;
        }

    }

    @media only screen and (max-width: 480px){
        .logo img {
            max-width: 78% !important;
            padding-left: 0 !important;
        }


    }