@font-face {
  font-family: 'AugustScriptBoldfree';
  src: url('mywebsite/AugustScriptBoldfree.eot?#iefix') format('embedded-opentype'),
       url('mywebsite/AugustScriptBoldfree.woff') format('woff'),
       url('mywebsite/AugustScriptBoldfree.ttf') format('truetype'),
       url('mywebsite/AugustScriptBoldfree.svg#AugustScriptBoldfree') format('svg');
  font-weight: normal;
  font-style: normal;
}

#listaportrait li ul {
  color: #ffffff;
  margin: 0;
}

#listaportrait2 li ul {
  color: #ffffff;
  margin: 0;
}

.description {
  padding: 0 200px;
}

a.parent:link,
a.parent:visited,
a.parent:active {
  color: #ffffff;
  text-decoration: none;
  outline: none !important;
}

a.parent:hover {
  color: red;
  text-decoration: none;
  outline: none !important;
}

a:link,
a:visited,
a:active {
  color: #ffffff;
  text-decoration: none;
  outline: none !important;
}

a:hover {
  color: red;
  text-decoration: none;
  outline: none !important;
}

.alert {
  width: 40%;
  text-align: center;
  position: absolute;
  top: 7%;
  right: 15%;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(https://i.gifer.com/Pbzw.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px; /* width/height / 2 */
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

body {
  background-color: #000000;
}

.container-fluid {
  padding-left: 0;
}

.col-md-8 {
  margin-left: 0;
  padding-left: 0;
}

.sidebar {
  font-family: 'Arial';
  opacity: 0.8;
  text-align: justify;
  color: #ffffff;
  line-height: 160%;
  font-size: 14px;
  width: 100%;
  padding: 40px 0 0 60px;
  display: none;
  -webkit-animation: mover 1.6s ease-out;
  animation: mover 1.6s ease-out;
  position: relative;
}

@-webkit-keyframes mover {
  0% { transform: translateX(-400px); }
  100% { transform: translateX(0); }
}
@keyframes mover {
  0% { transform: translateX(-400px); }
  100% { transform: translateX(0); }
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,46,102,.8);
  padding-top: 10%;
  transition: all 1.5s ease;
  clip-path: polygon(0 0, 0 0, 0 100%, 0px 100%);
  opacity: 0.8;
}

.slidere::before{
  content:"";
  position:absolute; inset:0;
  background: none;
  -webkit-clip-path: inherit;
  clip-path: inherit;
}


.photo-pro {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 7%;
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

.pattern {
  position: absolute;
  background-image: url("mywebsite/background/wheat.png");
  width: 100%;
  height: 100%;
  padding-top: 10%;
  background-repeat: repeat;
  display: none;
}

.ciccio li { padding-left: 20px; }
.ciccio2 li { padding-left: 20px; }

.ciccio li:hover { color: red; }
.ciccio2 li:hover { color: red; }

.rbutton {
  display: none;
  color: #ffffff;
  font-size: 14px;
  opacity: 0.8;
}

.social {
  width: 100px;
  height: 250px;
  padding: 30px;
  position: absolute;
  bottom: 10px;
  right: 30px;
  display: none;
}

.social ul > li { padding-bottom: 30px; }

.album-list {
  color: #ffffff;
  background-color: inherit;
  padding: 6px 0 6px 20px;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  display: none;
  -webkit-animation: mover 1.3s ease;
  animation: mover 1.3s ease;
  position: relative;
}

#statuspanel[type="status"] { display: none !important; }
#statusbar-display { display: none !important; }
#TabsToolbar {
  -moz-appearance: none !important;
  background-color: #C4C4EC !important;
}

.album-list2 {
  color: #ffffff;
  background-color: inherit;
  padding: 6px 0 6px 20px;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  position: relative;
}

.album-list li:hover { color: red; }
.menuact { color: red; }

.tabcontent { color: #ffffff; }

.title { font-size: 45px; }

.round-photo {
  margin: 5% 20%;
  width: 150px;
  height: 150px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

@media (min-width: 700px) and (max-width: 900px) {
  .sidebar {
    font-size: 9px;
    padding-left: 30px;
  }
  .title { font-size: 25px; }
  .form-group { display: none; }
  .social { right: 0; }
  .round-photo {
    margin: 5% 20%;
    width: 80px;
    height: 80px;
    border: 2px solid #ffffff;
    border-radius: 50%;
  }
  .carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    max-height: 280px; /* Set slide height here */
  }
}

.tab-photo {
  padding-right: 40px;
  display: none;
  -webkit-animation: mover3 1s ease-in-out;
  animation: mover3 1s ease-in-out;
  position: relative;
  z-index: 99;
}

@-webkit-keyframes mover3 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes mover3 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.singlephoto {
  box-shadow: 0 0 30px #000;
  border: 2px solid #fff;
 margin-top: 22px !important; 
}




.carousel-caption {
  position: relative;
  left: auto;
  right: auto;
  top: 5px;
  padding: 0;
  margin: 0;
}

.item {
  display: none;
  position: relative;
  transition: left .5s ease-in-out; /* correzione da .transition(...) */
  margin: 0;
}

/* item attivo */
.item.active {
  padding: 0;
  margin: 0;
}

hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}

a.vote:link,
a.vote:visited,
a.vote:active {
  color: #ffffff;
  text-decoration: none;
  outline: none !important;
}

a.vote:hover {
  opacity: 0.5;
  text-decoration: none;
  outline: none !important;
}



.carousel-control.left,
.carousel-control.right {
  top: 120px;
  height: 70%;
  background: none;
  opacity: 0.8;
}

.carousel-control.left:hover,
.carousel-control.right:hover { opacity: 1; }


  .carousel-control {
  width: 46px;               /* invece del 15% di Bootstrap */
  height: 46px;
 
}
.item img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 80vh;
  max-width: 80vw;
  border-top-left-radius: 15px 15px;
  border-top-right-radius: 15px 15px;
  border-bottom-left-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
}

.exif2 {
  color: #ffffff;
  position: absolute;
  bottom: 8px;
  left: 29.8%;
  right: 29.8%;
  z-index: 99;
  padding: 10px;
  background-color: #002e65;
  opacity: 0.7;
  display: none;
  border-bottom-left-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
}

.fb-share img {
  display: inline;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.form-control {
  background-color: rgba(1, 26, 56, 0.8);
  border: 1px solid rgba(50, 82, 122, 0.8);
}

.input-group-addon {
  background-color: rgba(1, 36, 78, 0.8);
  border: 1px solid rgba(50, 82, 122, 0.8);
}

/* NB: nel tuo HTML talvolta è id="aforismi".
   Metto entrambi i selettori per coprirli tutti e due. */
.aforismi,
#aforismi {
  text-align: justify;
  color: #ffffff;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 60%;
  padding: 20px;
  margin-left: 25%;
  -webkit-animation: fadein 10s;
  -moz-animation: fadein 10s;
  -ms-animation: fadein 10s;
  -o-animation: fadein 10s;
  animation: fadein 10s;
 
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tr {
  display: inline-block;
  width: 150px;
  margin-bottom: 7px;
  text-align: center;
}

  @media (max-width: 1400px){
    
   .carousel-caption{ bottom:6px; } 


.carousel-inner .item .singlephoto{ margin-top:22px; max-width:85% !important; height:auto; }


}
