/* font sizes */
h1{
    font-size: 2em;
}
h2{
    font-size: 1.8em;
}
h3, h4{
    font-size: 1.5em;
}
p{
    font-size: 1.2em;
}
a p{
    font-size: 1.2em;
}
svg{
    height:2em;
    width:2em;
}
/* common for all */
.collapsed {
    display: none;
}
/* main body */
body {
    background: url(../images/fondo.jpg) no-repeat center fixed;
    background-size: cover;
    text-align: center;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    text-rendering:optimizeLegibility;
    letter-spacing: 0.025em;
}
/* header */
header {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-image: url(../images/title.jpg);
    background-size: cover;
    background-color: #ffffff;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0;
    align-content: center;
    padding: 10em 1em 1em 1em;
    text-align: center;
    width: 90%;
    margin: auto;    
    box-shadow: 0px 2px 2px black;
}
header img{
    border-radius:50%;
    justify-self:center;
    box-shadow: 0px 2px 2px black;
    width:12em;
    transition: opacity 1s, transform 1s;
}
header hgroup{
    background-color: rgba(255,255,255, 0.6);
    border-radius:5px;
    box-shadow: 0px 2px 2px black;
    text-shadow: -1px 0 LightYellow, 0 1px LightYellow, 1px 0 LightYellow, 0 -1px LightYellow;
    padding:1em 3em;
    margin:auto;
}
header img:hover{
    opacity:0.7;
    transform: rotate(20deg);
    cursor:pointer;
}
/* navigation */
.topNav{
    position:fixed; 
    left:0; 
    top:0;
    width:100%;
    background-color: rgba(0, 0, 0, 0.6); 
    text-align:left;
    z-index:2;
}
.topNav ul{
    list-style-type: none;
    margin:0; padding:5px 0 0;
    display: grid;    
    grid-template-columns: max-content;
    grid-auto-flow: column;  
    grid-gap:5px;
    align-content: center;    
    text-align: center;  
}
ul.centered {
    justify-content: center;
}
.topNav ul li {            
    display: inline-grid;
    padding:5px;
    grid-template-rows: max-content max-content;    
    align-content: center;    
}
.topNav ul li a{            
    text-decoration:none;
    color:ghostwhite;
    margin:0;
    transition: color 0.5s;
}
.topNav ul li a p{                
    margin:0;
}
.topNav ul li a:hover{            
    color:cornflowerblue;
}
/* navigation submenus */
.navfloat, .searchfloat, .socialfloat, .transfloat, .tagfloat {
    width:100%;
    color: ghostwhite;
    padding: 1em;
}
.myfiltros{
    grid-template-columns:max-content max-content max-content !important;
}
.navfloat hr, .searchfloat hr, .socialfloat hr, .transfloat hr, .tagfloat hr{
    width: 90%;
    margin: auto;
    height: 2px;
    background: linear-gradient(white, gray);
}
.navfloat ul {
    display: inline-grid;
    grid-auto-flow:column;    
}
.navfloat ul li{
    display: inline-grid;
    grid-gap: 2px;
    padding: 5px;
    grid-template-rows: max-content max-content;
    align-content: center;
    text-align: center;
}
.navfloat ul li a{
    padding:5px;
    text-decoration: none;    
    margin:auto;
    color:white;
}
aside.navBlackBgrnd{
    background-color: rgba(0, 0, 0, 0.6);
    border-radius:5px;
    width:90%;
    padding:0;
    margin: 5px auto 5px auto;
}
aside.navBlackBgrnd p{    
    padding:15px 0px;
}
aside.navBlackBgrnd ul{
    margin:0; padding:0;
}
aside.navBlackBgrnd ul li a p{
    font-size:0.8em;
    margin:0px auto;
}
a.linkenabled {
    color: ghostwhite;
}
ul li a.linkdisabled{
    color: black;
}
ul li a.linkdisabled:hover {
    color: black;
}
.searchfloat div {
    display: inline-grid;
    grid-template-columns: 1fr max-content;
    align-content: center;
    text-align: center;
}
.searchfloat input{
    font-size:1.2em;
    padding:10px;
    border-radius:5px;
}
.searchfloat input:focus{
    box-shadow: 0 0 20px #6495ED;
}
.searchfloat button{
    color:ghostwhite;
    background-color:cornflowerblue;
    border-radius:10px;
    border-color: transparent;
    padding:10px;
    margin-left:5px;
}
.searchfloat button:hover{
    opacity: 0.6;
    cursor: pointer;
    box-shadow: 0 0 3px 5px rgba(100, 149, 237, 0.5);
}
.socialfloat ul{
    padding:20px;
}
.goog-te-gadget .goog-te-combo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
}
.searchfloat #searchActive{
    display:block;
    text-align:left;
}
.cfilter label{
    color:white; margin:2px; font-weight:bold;
}
.cfilter input[type=checkbox]{
    font-weight:bold; color:black;
}
/* trick to hide google publicity in translator */
.goog-logo-link {
    display: none;
}
.goog-te-banner-frame {
    visibility: collapse !important;
}
#google_translate_element div {
    color: rgba(0, 0, 0, 0);
}
/* body */
.articlesBody{
    background-color:rgba(195, 199, 141, 0.7);
    border-radius:10px;
    width:90%;
    margin-left:auto; margin-right:auto;
    margin-top:20px;
    box-shadow: 0px 2px 2px black;
}
article{
    background-color:rgba(234, 225, 216, 0.6);
    border-radius:10px; 
    width:70%; 
    margin:10px auto 10px auto;
    padding:10px;
    font-weight:bold;  
    box-shadow: 0px 2px 2px black;
}
article h2 a{
    text-decoration:none; color:black;
    border-bottom:0 solid cornflowerblue;
    transition: border-bottom 0.25s, opacity 0.5s;
    border-radius:5px;
}
article h2 a:hover{
    border-bottom:5px solid cornflowerblue; opacity:0.7;
}
article hr{
    width:50%; height:5px; border:none; outline:none;
    background-image: linear-gradient(#ffcb6b, #ffc861);
    border-radius:5px; opacity:0.8;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 25% 100%);  
}
article img {
    cursor:pointer;
    margin: 5em auto;
    max-width: 90%;
    display: block;
    overflow: hidden;
    border: 10px solid #fff;
    border-radius: 4px;
    border-color: #e5e5e5;
    background-color: #e5e5e5;
    padding-bottom: 4em;
    transition: opacity 0.5s, box-shadow 0.5s, transform 0.5s;
}
article img:nth-of-type(n+1){
    transform: rotate(5deg);
}
article img:nth-of-type(2n){
    transform: rotate(-5deg);
}
article img:nth-of-type(n+1):hover {
    transform: rotate(0);
}
article img:nth-of-type(2n):hover {
    transform: rotate(0);
}
article img:hover {
    box-shadow: 0 0 3px 5px rgba(100, 149, 237, 0.5);
    opacity:0.7;
}
article iframe {
    width:80%; 
    height:30vw;    
}
ul.socialarticle{
    list-style-type: none;
    display:grid;
    grid-auto-flow: column;  
    align-content:baseline;
    margin:20px; padding:0;
}
ul.socialarticle li {            
    display: grid;
    grid-template-rows: max-content min-content;
    grid-template-columns:min-content;
    align-content: center;  
    justify-content:center;
    padding:5px;
    margin:auto;
}
ul.socialarticle li a{            
    text-decoration:none;
    color:black;
    margin:0;
}
ul.socialarticle li a p{                
    margin:0;
}
ul.socialarticle li svg{            
    background-color:cornflowerblue;
    padding:20px;
    justify-self:center;
    border-radius:10px;
}
ul.socialarticle li a:hover svg{            
    box-shadow: 0 0 3px 5px rgba(100, 149, 237, 0.5);
    opacity:0.6;
}
ul.socialarticle li a:hover p{                
    opacity:0.6;
}
.articleshareimage{
    width:4em;
}
.articleshareimage:hover{
    opacity:0.7;
}
.articlecomopener{
    text-decoration:none;
    color:black;
    font-size:1em;
    transition: font-size 0.5s, text-decoration 0.5s;
}
.articlecomopener:hover{
    font-size:1.4em;
    text-decoration:underline;
}
.articleformopener{
    text-decoration:none;
    color:black;
    font-size:1em;
    padding:5px;
    border-radius:5px;
    background-color:rgba(79, 112, 129, 0.9);
}
.articleformopener:hover{
    background-color:rgba(128, 128, 128, 0.7);
}
article section{
    margin-left:auto;margin-right:auto;
    background-color:transparent;
}
article section article{
    background-color:rgba(90, 187, 222, 0.6); 
    border-radius:10px; 
    width: 60%; 
    text-align:center; 
    margin:auto; 
    padding:5px;
}
.articlepagenumtext{
    font-weight:bolder;
    margin:0px auto 5px auto;

}
/* body asides */
.button {
    display: inline-grid;
    padding: 5px;
    grid-template-rows: max-content 1em;
    align-content: center;
    justify-content: center;
}
.button a{ 
    background-color:cornflowerblue;
    border-radius:10px;
    padding:10px;
    text-decoration: none;
    color:black;
    font-weight:bold;
    margin:0;
}
.button p{                
    margin:0;
}
.button a:hover{            
    opacity:0.6;
    box-shadow: 0 0 3px 5px rgba(100, 149, 237, 0.5);
}
.button a:visited{            
    color:ghostwhite;
}
.shortupright {
    position: fixed;
    bottom: 4em;
    right: 1em;
}
.shortupleft {
    position: fixed;
    bottom: 4em;
    left: 1em;
}
.extraupright {
    position: fixed;
    bottom: 14em;
    right: 1em;
}
.floatform{
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    bottom:0%;
    left:30%;
    width:40%;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    text-align:right;
}
.floatform p{
    font-size:1.3em;
    margin-right:10px;
}
.floatform input[type=text]{
    width:85%;
    margin-left:5px;
    font-size:0.9em;
    padding:10px;
}
.floatform textarea{
    width:85%;
    margin-left:5px;
    font-size:0.9em;
    padding:10px;
}
.floatform input[type=checkbox]{
    font-size:0.9em;
    margin-right:5px;
}
.formcloser{
    font-size:2em;
    font-weight:bold;
    text-decoration:none;
    color:rgba(250,250,250,0.8);
    margin-right:15px;
}
.formcloser:hover{
    color:rgba(250,250,250,0.4);
}
.floatform input[type=submit]{
	background-color:rgba(70,140,207,1);
	border-radius:20px;
	border:1px solid #3866a3;
	color:white;
	font-size:1em;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
    padding:5px;
}
.floatform input[type=submit]:hover{
	background-color:rgba(70,140,207,0.6);
}
.socialfloat ul{
    list-style:none;
    display:inline-block;
}
.socialfloat ul li{
    padding:5px;
}
.socialfloat img{
    width:70px;
    height:70px
}
.socialfloat img:hover{
    opacity:0.7;
}
/* asides */
.cooknotice {
    margin: 0;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 2.5%;
    width: 90%;
}
.cooknotice p {
    grid-column-start: 1;
    grid-column-end: span col2-start;
}
.buttonCookies {
    text-decoration: none;
    color: white;
    background-color: rgba(79, 112, 129, 0.9);
    border-radius: 10px;
    padding: 10px;
    font-weight: bold;
    display: inline-block;
    margin: 10px auto 10px auto;
}
.buttonCookies:hover{
    color:cornflowerblue;
}
.linkCookies {
    color: red;
}
/* footer */
footer{
    background-color:rgba(195, 199, 141, 0.4);
    border-radius:10px;
    width:90%;
    margin-top:20px; margin-bottom:20px;
    margin-left:auto; margin-right:auto;
    font-weight:bold;
    font-size:1.3em;
    padding:5px;    
}
footer h4{
    margin: 5px auto;
}
footer a{
    color:black; 
}
footer a:hover{
    color:cornflowerblue; 
    opacity:0.7;
}
footer ul{
    list-style:none;
    margin:10px auto;padding:0;
}
/* effects */
.runnerimg{
    width:100px;
}
#runner {
    transform: none;
    background: none;
    border: none;
    padding: 0;
    width: 5em;
}
#runner:hover {
    border:none; opacity:1; box-shadow:none;
}
/* aside for the single pages */
.commentform, .commentReceived {
    text-align: center;
    margin: 50px;
    background-color: rgba(234, 225, 216, 0.6);
    border-radius: 10px;
    width: 70%;
    margin: 10px auto 10px auto;
    padding: 10px;
    font-weight: bold;
    box-shadow: 0px 2px 2px black;
}
.commentform h4, .commentReceived h4{
    margin:0 auto;
}
.commentform form a{
    text-decoration:underline;
    color:blue;
}
.commentform form a:hover{
    cursor:pointer;
}
.commentform form{
    margin: 1em auto;
    padding: 10px;
    max-width:50%;
    background-color:skyblue;
    border-radius: 5px; border:solid 5px cornflowerblue;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 5px;
    align-content: center; font-weight:bold;
    justify-content: center;  
}
.commentform form input {    
    padding:10px;
    border-radius:5px; border:solid 2px cornflowerblue;
}
.commentform form input:focus{    
    background: radial-gradient(#dcedef, white);
    outline:none !important;
    border:solid 2px skyblue;
    box-shadow: 0 0 10px skyblue;
}
.commentform form textarea {    
    font-size: 1.2em; border-radius:5px; 
    padding:10px; border:solid 2px cornflowerblue;
    resize:none;   
}
.commentform form textarea:focus {    
    background: radial-gradient(#dcedef, white);
    outline:none !important;
    border:solid 2px skyblue;
    box-shadow: 0 0 10px skyblue;
}
.commentform form input[type=submit] {
    grid-column: 1 / span 2;
    padding: 1em 1.2em;
    border-radius: 10px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    background-color:cornflowerblue;
    border: none;
    cursor: pointer;
    outline: none;
    align-self: center;
    justify-self: center;
}
.commentform input[type=submit]:hover{
    opacity:0.6;
    box-shadow: 0 0 3px 5px rgba(100, 149, 237, 0.5);   
}
/* adaptive */
/* small screen */
@media screen and (max-width: 60em) {
    /* font sizes*/
    svg {
        height: 1.6em;
        width: 1.6em;
    }
    a p {
        font-size: 0.9em;
    }
    .articlesBody {
        width: 99%;
    }
    article {
        width: 85%;
    }
    .articleimage {
        width: 80%;
    }
    article iframe {
        width: 100%;
        height: 70vw;
    }
    .commentform{
        width: 85%;
    }
    .commentform form, .commentReceived {
        display: flex;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .commentform h4{
        font-size:1.2em;
    }
    #faceSharer{
        display: none;
    }
    .floatform {
        left: 10%;
        font-size: 70%;
        width: 80%;
    }
    .socialfloat img {
        width: 60px;
        height: 60px
    }
    #butstories2 {
        display: none;
    }
    #lapkitaimg {
        width: 40%;
    }
}
/* large screen */
@media screen and (min-width: 60em) {
    #butstories1{
        display:none;
    }
    .articleimage {
        max-width: 45em;
        max-height:45em;
    }
}
@media screen and (max-height: 400px) {
    #showmetite {
        display: inline-block !important;
    }
    .socialtite {
        display: none;
    }
}


/* don't delete Blazor stuff */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}