﻿/* rotate for style */
.rotate {
    background: #F02311;
    color: #FFF;
    width: 200px;
    height: 200px;
    text-align: center;
    font: normal 1em Arial;
    position: relative;
    top: 50px;
    left: 50px;
}

/* code for rotating */
.rotated {
    -webkit-transform: rotate(45deg); /* Chrome, Safari 3.1+ */
    -moz-transform: rotate(45deg); /* Firefox 3.5-15 */
    -ms-transform: rotate(45deg); /* IE 9 */
    -o-transform: rotate(45deg); /* Opera 10.50-12.00 */
    transform: rotate(45deg); /* Firefox 16+, IE 10+, Opera 12.10+ */
}



  #toggle {
      
 }

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#box1 {
    width: 300px;
 
    border: 1px solid blue;
    box-sizing: border-box;
    height: 100px;
    background: green;
}


iframe {
    width: 500px; /* It should not be 100% */
    height: 500px;
 margin-left: auto;   /* Automatic margin from left */
    margin-right: auto; /* Automatic margin from right */
} 

.containerSlide {
    position: relative;
    width: 50%;
}

.imageSlide {
    display: block;
    width: 100%;
    height: auto;
    opacity: .8;
}

.overlaySlide {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #008CBA;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.containerSlide:hover .overlaySlide {
    bottom: 0;
    height: 100%;
}

.textSlide {
    color: white;

    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

/*click to hide functions css*/
#myToggle {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: lightblue;
    margin-top: 10px;
}

.opacityImg{
    opacity: .5;
   width: 100%;
    height: auto;
}

