/**
 * @file
 * Styling for Views in Bartik.
 */

/* Teaser style hide title */


.views-view-grid article>header>h2 {
  visibility: hidden;
}

/* Tab styles */
.views-displays .tabs .open > a {
  border-radius: 7px 7px 0 0;
}
.views-displays .tabs .open > a:hover,
.views-displays .tabs .open > a:focus {
  color: #0071B3;
}
.views-displays .secondary .form-submit {
  font-size: 0.846em;
}

/* Tabs action list styles */
.views-displays .tabs .action-list {
  padding: 0;
}

/* Contextual filter options styles */
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
  background-color: #F9F9F9;
}

/* Views action dropbutton styles */
.views-ui-display-tab-actions .dropbutton .form-submit {
  color: #0071B3;
}
.views-ui-display-tab-actions .dropbutton .form-submit:hover,
.views-ui-display-tab-actions .dropbutton .form-submit:focus {
  color: #018FE2;
}

.view-buddhism-row, .view-services-row {
  border-top: none !important; 
  border-right: none !important; 
  border-left: none !important; 
  border-style:dashed;
}

.view-branches-row {
   width: 295px;
   height: 200px;
   border-bottom: 1px;
   border-right: 1px;
   border-style:dashed;
   font-size: 16px !important;
}

.view-branches-row span{
  font-size: 20px;
  font-weight: bold;
}

.view-branches-row a{
  font-weight: bold;
}

.view-branch .item-list {
  margin-bottom: 5px;
}

.view-branch .item-list ul li {
  padding-left: 5px;
  display: inline-block;
}

.view-branch .item-list h3{
  height:35px;
  padding-top: 6px;
  text-indent: 5px;
  color: white;
  font-weight: bold;
  background-color: #DB9657;
}

.view-buddhism-row img, .view-services img{
  max-width: 225px;
}

.view-buddhism-row td, .view-services td{
  border:none !important;
}

.view-pearls-of-wisdom h3 {
  margin-top: 15px;
  background-color: #DB9657;
}

.block-views-blockview-buddhist-audio-block-buddhist-audio h2{
  margin-top: 15px;
  background-color: #DB9657;
  color: white;
  font-size: 26px;
  font-weight: bold;
  height:30px;
}

.block-views-blockview-buddhist-audio-block-buddhist-audio .views-row {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px;
  border-bottom-style: dotted;
}

.block-views-blockview-buddhist-audio-block-buddhist-audio .views-field-field-portrait-teaser-poster {
  width: 30%; 
  float: left;
}

.block-views-blockview-buddhist-audio-block-buddhist-audio .views-field-field-short-description-1 {
  width: 70%; 
  float: left;
  padding-right: 35px;
}

.views-field-field-portrait-teaser-poster{
  padding-right: 0px !important;
  border: none;
  width: 200px;
}

.row-events-page{
  
  border-left: none;
  border-right: none;
}

.row-events-page .views-field-field-short-description{
  padding-left: 20px !important;
  
  border: none;
}

.path-upcoming-events table{
  border-collapse: collapse;
}

/**
  Adaptive difination
**/

@media only screen and (min-width: 320px) and (max-width: 320px){
  .view-visit-us iframe{
    width: 300px;
    height: 200px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 2px !important;
  }
  
  .views-field-field-portrait-teaser-poster{
    width: 33vw;
  }
  
  /** Adaptive display for Table list display in Views pages**/  
  
  .views-field-field-horizontal-teaser {
    width: 110px;
  }
  
  .views-field-field-horizontal-teaser img {
    width: 100px;
    height: 67px;
  }
  
  .views-field-field-short-description-1 {
    width: 200px;
  }
  

}

@media only screen and (max-width: 767px) {
  .view-branch iframe {
    visibility: hidden;
    height: 0px;
  }
}


@media only screen and (min-width: 360px) and (max-width: 360px){
  .view-visit-us iframe{
    width: 350px;
    height: 220px;
  }

  .view-vistit-us table {
    width: 360px !important;
  }
  
  .view-vistit-us div {
    width: 360px !important;
  }
  
  .view-vistit-us table tr>td:nth-child(odd) {
    width: 350px;
    padding: 2px 0px 2px 0px !important;
  }
  
  .view-vistit-us table tr>td:nth-child(even) {
    width: 1px;
  }
  
  .views-field-field-portrait-teaser-poster{
    width: 33vw;
  }
  
   /** Adaptive display for Table list display in Views pages**/  
  
   td:nth-child(odd),td:nth-child(even) {
     padding: 2px !important;
   }
   
   
  .views-field-field-horizontal-teaser {
    width: 150px !important;
  }
  
  .views-field-field-horizontal-teaser img {
    width: 150px;
    height: 100px;
  }
  
  .views-field-field-short-description-1 {
    width: 200px !important;
  }
}

@media only screen and (min-width: 375px) and (max-width: 384px){
  .view-visit-us iframe{
    width: 360px;
    height: 200px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 5px !important;
  }
  
  .views-field-field-portrait-teaser-poster{
    width: 33vw;
  }
  
  /** Adaptive display for Table list display in Views pages**/  
  
   td:nth-child(odd),td:nth-child(even) {
     padding: 2px !important;
   }
   
   
  .views-field-field-horizontal-teaser {
    width: 150px !important;
  }
  
  .views-field-field-horizontal-teaser img {
    width: 150px;
    height: 100px;
  }
  
  .views-field-field-short-description-1 {
    width: 200px !important;
  }
}

@media only screen and (min-width: 400px) and (max-width: 400px){
  .view-visit-us iframe{
    width: 380px;
    height: 275px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 5px !important;
  }
  
  /** Adaptive display for Table list display in Views pages**/  
  
   td:nth-child(odd),td:nth-child(even) {
     padding: 2px !important;
   }
   
   
  .views-field-field-horizontal-teaser {
    width: 150px !important;
  }
  
  .views-field-field-horizontal-teaser img {
    width: 150px;
    height: 100px;
  }
  
  .views-field-field-short-description-1 {
    width: 250px !important;
  }
}

@media only screen and (min-width: 412px) and (max-width: 414px){
  .view-visit-us iframe{
    width: 400px;
    height: 300px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 5px !important;
  }
  
  /** Adaptive display for Table list display in Views pages**/  
  
   td:nth-child(odd),td:nth-child(even) {
     padding: 2px !important;
   }
   
   .views-field-field-portrait-teaser-poster{
    width: 33vw;
  }
   
  .views-field-field-horizontal-teaser {
    width: 150px !important;
  }
  
  .views-field-field-horizontal-teaser img {
    width: 150px;
    height: 100px;
  }
  
  .views-field-field-short-description-1 {
    width: 200px !important;
  }
}

@media only screen and (min-width: 480px) and (max-width: 480px){
  .view-visit-us iframe{
    width: 460px;
    height: 300px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 5px !important;
  }
}

@media only screen and (min-width: 568px) and (max-width: 568px){
  .view-visit-us iframe{
    width: 540px;
    height: 360px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 2px !important;
  }
}

@media only screen and (min-width: 598px) and (max-width: 604px){
  .view-visit-us iframe{
    width: 570px;
    height: 380px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 15px !important;
  }
}

@media only screen and (min-width: 667px) and (max-width: 667px){
  .view-visit-us iframe{
    width: 640px;
    height: 440px;
  }

  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 15px !important;
  }
}


@media only screen and (min-width: 690px) and (max-width: 690px){
  .view-visit-us iframe{
    width: 670px;
    height: 460px;
  }

  .view-visit-us>.view-content .views-row {
    margin-left: 65px;
  }
  
  .view-vistit-us table tr>td>img {
    float: left !important;
  }
  
  table tr>td {
    padding: 15px !important;
  }
}


@media only screen and (min-width: 720px) and (max-width: 736px){
  .view-visit-us iframe{
    width: 700px;
    height: 480px;
  }

  .view-visit-us>.view-content .views-row {
    margin-left: 80px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 768px){
  .view-visit-us iframe,.view-branch iframe{
    width: 750px;
    height: 500px;
  }

  .view-visit-us>.view-content .views-row {
    margin-left: 80px;
  }
}

@media only screen and (min-width: 769px) {
  .view-visit-us iframe,.view-branch iframe{
    width: 100%;
  }
}



@media only screen and (min-width: 1024px) and (max-width: 1024px){
  .view-knowledge-buddhism>.view-content>div, .view-between-ignorance-and-enlightenment>.view-content>div, .view-pearls-of-wisdom>.view-content>div {
    padding-left: 15px;
  }
}








