/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .youtube-video{
          width:100%;
          height:290px;
          position:relative;
  }
   #two_block_video{
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
 }
 }
 
 /* Small devices (portrait tablets and large phones, 600px and up) */
 @media only screen and (min-width: 600px) {
         .youtube-video{
              width:100%;
              height:290px;
              position:relative;
         }
	  #two_block_video{
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
 }
      }
  /* Medium devices (landscape tablets, 768px and up) */
  @media only screen and (min-width: 768px) {
          .youtube-video{
          width:100%;
          height:290px;
          position:relative;
      }
       #two_block_video{
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
 }
  }
  /* Large devices (laptops/desktops, 992px and up) */

  @media only screen and (min-width: 992px) {
          .youtube-video{
          width:100%;
          height:290px;
          position:relative;
      }
       #two_block_video{
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
 }
  }

  /* Extra large devices (large laptops and desktops, 1200px and up) */
  @media only screen and (min-width: 1200px) {
      .youtube-video{
          width:100%;
          height:290px;
          position:relative;
      }
       #two_block_video{
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
 }
  }

  .video_frame{
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: 56.25%;
}
  /* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 150px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
@media only screen and (max-width:990px){
.modal-content{
  width:80% !important;
}
.desktopVer{
  display:none !important;
}
.imgwidth{
  width:320px !important;
}
}
/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 36%;
box-shadow: 3px 1px 18px 15px rgba(0,0,0,0.75);
}

/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
@media only screen and (min-width:992px){
.featurepadmar .text{
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-top:20px;
}
.featurepadmar .item .button{
padding-left: 22px;
margin-bottom: 0 !important;
margin-top: 0 !important;
}
.imgwidth{
width:350px !important;
}
.logopad .container .font-hl{
min-height:34px;
padding-bottom:0;
font-size:36px;
}
.logopad .container .text>p{
font-size:20px;
}
}

  /* The Modal (background) */
  .modal1 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 150px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    @media only screen and (max-width:990px){
    .modal-content{
      width:80% !important;
    }
    .desktopVer{
      display:none !important;
    }
    .imgwidth{
      width:320px !important;
    }
    }
    /* Modal Content */
    .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 36%;
    box-shadow: 3px 1px 18px 15px rgba(0,0,0,0.75);
    }
    
    /* The Close Button */
    .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    }
    
    .close:hover,
    .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    }
    @media only screen and (min-width:992px){
    .featurepadmar .text{
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top:20px;
    }
    .featurepadmar .item .button{
    padding-left: 22px;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    }
    .imgwidth{
    width:350px !important;
    }
    .logopad .container .font-hl{
    min-height:34px;
    padding-bottom:0;
    font-size:36px;
    }
    .logopad .container .text>p{
    font-size:20px;
    }
    }
    
     /* The Close Button */
     .close1 {
      color: #aaaaaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      }
      
      .close1:hover,
      .close1:focus {
      color: #000;
      text-decoration: none;
      cursor: pointer;
      }
