/*St. Mina Holmdel PurityIII template custom code*/


/*Taraneem Style*/

/*import Amiri  Arabic Font for Taraneem pages*/
@import url(https://fonts.googleapis.com/earlyaccess/amiri.css);
@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
@import url(https://fonts.googleapis.com/earlyaccess/lateef.css); 
@import url(https://fonts.googleapis.com/earlyaccess/scheherazade.css);

.mainbody {
	//background:black;
	text-align:center;
	margin: auto; 
	//width:500px;
	//font-size: 1.8vw;
	font-size:110%; 
}

h4.title    { 
	color:red;
	//font-size:1.8em; 
	font-size:140%; 
	font-weight: bold;
}

p.warding   { 
	color:#bbb; 
	//font-size:1.2em; 
	font-size:110%; 
	font-weight: bold;
}


p.warding-boxed   { 
  color:#bbb;
  padding:10px;
  border: 2px solid #333;
  border-radius: 15px;
  display: inline-block;
}

p.wording-box:after { 
  content: "2";
}

p.repeating { 
	color:yellow;
	//font-size:1.4em;
	font-size:120%; 
	font-weight: bold;
}

p.repeating-boxed { 
	color:yellow;
  padding:10px;
  border: 2px solid #333;
  border-radius: 15px;
  display: inline-block;
}

.amiri 			{font-family: 'Amiri', serif; margin: auto;}
.scheherazade	{font-family: 'Scheherazade', serif; margin: auto;}

/*endof Taraneem Style*/



/* youtube videos size */
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* end of youtube videos size */


/* coptic font */

@font-face {
  font-family: Coptic;
  src: url(/copticfonts/CSAvvaShenouda.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* end of coptic font */


/* Gothic Arc BG */

.t3-sl-1 {
  background: url("/images/gothicarch-blue-fade-60.png") repeat-x left top 1px;
}


/*
.t3-wrapper {
  background: url("/images/gothicarch-blue-fade.png") repeat-x left top 800px;
}
*/

/* end of Gothic Arc BG */

* {
  @include box-sizing(border-box);
}

$pad: 20px;
.row-tmp {
  clear: both;
}

.grid {
  background: white;
  margin: 0 0 $pad 0;
  &:after {
    /* Or @extend clearfix */
    content: "";
    display: table;
    clear: both;
  }
}

/*[class*='col-'] {
  float: left;
  padding-right: $pad;
  .grid &:last-of-type {
    padding-right: 0;
  }
}*/

.col-2-3 {
  width: 66.66%;
}

.col-1-3 {
  min-height: 100px;
  width: 33.33%;
  padding-right: 2px;
  padding-bottom: 2px;
}

.col-1-2 {
  width: 50%;
}

.col-1-4 {
  width: 25%;
}

.col-1-8 {
  width: 12.5%;
}

.module-tmp {
  padding: 10px;
  background: #eee;
}


/* Opt-in outside padding */

.grid-pad {
  padding: 10 0 10 10;
  [class*='col-']:last-of-type {
    padding-right: 10;
  }
}

div#myContent {
  width: 100%;
  height: 140px;
  min-height: 120px;
}

.overlay-live {
  border: 0px;
  width: 100%;
  height: 100%;
  background: url("http://www.stminas.org/images/stories/Buttons-round-streaming-live.png");
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  background-position: center;
}

.overlay-live2 {
  border: 0px;
  width: 100%;
  height: 100%;
  background: url("http://www.stminas.org/images/livestreamnewbutton.png");
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  background-position: center;
}

.overlay-live:hover {
  background: url("http://www.stminas.org/images/stories/Buttons-round-streaming-live-down.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.overlay-pope {
  border: 0px;
  width: 100%;
  height: 100%;
  background: url("http://www.stminas.org/images/stories/Buttons-round-streaming-pope.png");
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  background-position: center;
}


}
.overlay-pope:hover {
  background-image: url("/images/stories/Buttons-round-streaming-pope-down.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.overlay-abounas {
  border: 0px;
  width: 100%;
  height: 100%;
  background: url("http://www.stminas.org/images/stories/Buttons-round-streaming-abounas.png");
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  background-position: center;
}

}
.overlay-abounas:hover {
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-abounas-down.png");
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
}
.overlay-audio {
  border:0px;
  width:100%;
  height:100%;
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-audio.png");
  background-repeat:no-repeat;
  display: block;
  background-size:contain;
  background-position:center;
}

}
.overlay-audio:hover {
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-audio-down.png");
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
}
.overlay-songs {
  border:0px;
  width:100%;
  height:100%;
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-songs.png");
  background-repeat:no-repeat;
  display: block;
  background-size:contain;
  background-position:center;
}

}
.overlay-songs:hover {
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-songs-down.png");
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
}
.overlay-media_lib {
  border:0px;
  width:100%;
  height:100%;
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-media_lib.png");
  background-repeat:no-repeat;
  display: block;
  background-size:contain;
  background-position:center;
}
.overlay-media_lib:hover {
  background:url("http://www.stminas.org/images/stories/Buttons-round-streaming-media_lib-down.png");
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
}

/* youtube streaming playlist */
#video_container {
  position: relative;
}
#video_player div,
#video_player figcaption {
  display: table-cell;
  vertical-align: top;
}
#video_container video {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
}
#video_player figcaption {
  width: 25%;
}
#video_player figcaption a {
  display: block;
}
#video_player figcaption a {
  opacity: .5;
  transition: 1s opacity;
}
#video_player figcaption a img,
figure video {
  width: 100%;
  height: auto;
}
#video_player figcaption a.currentvid,
#video_player figcaption a:hover,
#video_player figcaption a:focus {
  opacity: 1;
}
@media (max-width: 700px) {
  #video_player video,
  #video_player figcaption {
    display: table-row;
  }
  #video_container {
    padding-top: 56.25%;
  }
  #video_player figcaption a {
    display: inline-block;
    width: 33.33%;
  }
}

/* Livestream pages style */
.nagButton {
    display: inline-block;
    background-color: #0077bb;
	/*width: 320px;*/
    border: none;
	border-radius: 8px;
    color: #FFFFFF;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
	transition: all 0.5s;
	margin: 5px;
}

.nagButton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.nagButton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.nagButton:hover span {
  padding-right: 25px;
}

.nagButton:hover span:after {
  opacity: 1;
  right: 0;
}
/* DivTable Styles*/
.divTable{
	display: table;
	/*width: 100%;*/
}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	/*border: 1px solid #999999;*/
	display: table-cell;
	padding: 3px 10px;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}

/* End of Livestream pages style */

.modal-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.modal-window:target {
  opacity: 1;
  pointer-events: auto;
}

.modal-window>div {
  width: 320px;
  height:495px ;
  position: relative;
  margin: 10% auto;
  padding: 2rem;
  background: #fff;
  color: #444;
}

.modal-window header {
  font-weight: bold;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.modal-close:hover {
  color: #000;
}

.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

#myimg:hover {opecity: 0.7}

.reg_wrapper { 
  overflow:hidden;
}

.reg_wrapper div {
   min-height: 20px;
   padding: 10px;
}
#reg_one {
  float:left; 
  margin-right:10px;
  width:400px;
}
#reg_two { 
  overflow:hidden;
  margin:10px;
  min-width:400px;
}

@media screen and (max-width: 450px) {
   reg_one { 
    float: none;
    margin-right:0;
    width:auto;
    border:0;
  }
}

