.entry-link{
  padding: 40px;
}
.imglink{
  opacity: 0.5;
  transition: 0.5s;
}

.imglink:hover{
  opacity:1.0;
}

.class2{
  padding-left:40px!important;
}

/*
.mythumb:hover{
  border-color:#5AADDD;
  border-width: 3px;
  box-shadow: 4px 4px 2px grey;
}

.sch-mod-thumb:hover{
  border-color:#f6d155;
  border-width: 5px;
}*/

ul.my-hor-menu >li{
  float:left;
  border-bottom-style:none;  
}
ul.my-hor-menu >li >a{
  line-height:24px;
  padding-right:15px;
}
ul.my-hor-menu >li >a:before{
  content:'\f111';
}

.carousel-inner > div > img{
  width: 85%;
  margin: auto;
}

.entry-link > a >h4{
  word-wrap: break-word;
}
.entry-link > a >h4:after{
  font-family: FontAwesome;
  content: ' \f08e';
}
.entry-quote > blockquote > p:first-of-type:before{
  font-family: FontAwesome;
  content: '\f10d  ';
}
.entry-quote > blockquote > p:last-of-type:after{
  font-family: FontAwesome;
  content: '  \f10e';
}
#sp-main-body,
#sp-page-title,
#sp-header,
#sp-header .logo {
	-webkit-transition: .0s ease-in-out;
	-moz-transition:    .0s ease-in-out;
	-ms-transition:     .0s ease-in-out;
	-o-transition:      .0s ease-in-out;
	transition:         .0s ease-in-out;
}



@media only screen and (min-width: 992px) {
    /* For mobile phones: */
  .flex-container{
    display: -webkit-flex; /* Safari */
    -webkit-flex-direction: row; /* Safari 6.1+ */
    display:flex;
    flex-direction:row;
  }
  .flex-row{
    display: -webkit-flex; /* Safari */
    -webkit-flex-direction: column; /* Safari 6.1+ */
    display:flex;
    flex-direction:column;
    margin-right:10px;
    margin-left:0px;
    padding-left:0px;
    padding-right:0px;
  }
  article.flex-item{
    width:100%;
    margin-bottom: 10px;
    padding-right: 0px;
    padding-left:0px;
  }
  .flex-container > .flex-row:last-of-type{
    margin-right:0px;
  }
  article.flex-item > .my-frame{
    margin-bottom:0px;
  }
  
  
}
@media only screen and (max-width: 575px) {
  .entry-header.has-post-format{
    margin-left:0px;
  }
  h2[itemprop="name"] {
    font-size: 18px;
  }
  .d-none{
     display: none!important;
  }
  
}
@media only screen and (max-width: 992px) {
  .d-none{
     display: none!important;
  }
  .d-md-none{
    display: none!important;
  }
}
/* -- portfolio overlay -- */
.my-overlay-wrapper{
  position:relative;
  overflow:hidden;
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
}
.my-overlay-img{
  width:100%;
  transform: scale(1,1);
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
}
.my-overlay-wrapper:hover .my-overlay-img{
 transform: scale(1.15,1.15);
}

.my-overlay{  
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.3);
  color:#fff;
  opacity: 0;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  font-size: 1.5em;
}


.my-overlay-wrapper:hover .my-overlay{
  opacity:1;
}

.my-overlay-wrapper:hover .my-overlay .my-overlay-content{
  /*opacity:1;*/
  transform: scale(1.0,1.0);
}

.my-overlay-vertical{
  display: table;
  width: 100%;
  height: 100%;
}
.my-overlay-vertical > div{
  display: table-cell;
  vertical-align: middle;
  text-align: center; 
}

.my-overlay-content{
  transform: scale(0.2,0.2);
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
}
 
.my-overlay-btn{
  background-color: #5AADDD;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;  
  padding: 0.1em 1em;
}
.my-overlay-btn:hover{
  background-color:#fff;
  color: #5AADDD;
  border-color: #5AADDD;
  transition: none;
  -webkit-transition: none;
}

.my-overlay-pop{
  color: #fff;
  padding: 0.1em 0.5em;
}
.my-overlay-pop:hover{
  background-color: rgba(50,50,50,0.6);
  color: #fff;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
  transition: none;
  -webkit-transition: none;
}
.my-overlay-thumb{
  padding:1px;
}
.my-overlay h4{
  font-size:inherit;
}
.custombanner{
  background-position: center center;
  background-repeat: round;
  background-size: cover;
}

h2[itemprop="name"]{
  font-weight:bold;
}
.overlay
 {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     display: inline-block;
 }

.astroid-logo-text > a {
  text-decoration:none;
}
#astroid-sticky-header > .container {
  margin:auto;
}