/* 
    Document   : main
    Created on : Aug 12, 2015, 6:39:14 PM
    Author     : imsparsh
    Description: Custom styles
*/

@font-face{
    font-family: 'CaviarDreams';
    src: url('./../fonts/CaviarDreams.ttf');
}
@font-face{
    font-family: 'Roboto';
    src: url('./../fonts/Roboto-Light.ttf');
}
@font-face{
    font-family: 'metro';
    src: url('./../fonts/metro.ttf');
}
@font-face {
  font-family: 'Sintony';
  font-style: normal;
  font-weight: 400;
    src: url('./../fonts/Sintony-Regular.ttf');
}
*{
    font-family: 'CaviarDreams';
    transition: all 0.2s linear;
}
a{
    text-decoration: none !important;
}
p{
    font-family: 'Roboto';
}
body{
    padding: 0 !important;
    overflow-x: hidden;
}
table{
    padding: 0 !important;
}
.row{
    margin: 0;
}

.jumbotron{
    padding: 0;
    height: 150px;
    background: #fff;
    margin: 0;
}
#main .jumbotron{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: -moz-linear-gradient(left,rgba(255,255,255,1),rgba(0,0,0,0));
    background: -ms-linear-gradient(left,rgba(255,255,255,1),rgba(0,0,0,0));
    background: -webkit-linear-gradient(left,rgba(255,255,255,1),rgba(0,0,0,0));
    background: linear-gradient(left,rgba(255,255,255,1),rgba(0,0,0,0));
    background: -o-linear-gradient(left,rgba(255,255,255,1),rgba(0,0,0,0));
    z-index: 9;
}

.jumbotron .header .logo{
    height: 130px;
    margin-top: 10px;
    margin-left: 100px;
    float: left;
}
#main .jumbotron .header .logo{
    background: transparent;
}

.jumbotron .header img.guru{
    float: right;
    height: 130px;
    margin-top: 10px;
    margin-right: 50px;
}

.navbar-header{
    color: black;
}
.navbar-collapse{
    padding: 0;
}
#main button.navbar-toggle{
    background: white;
}

button.navbar-toggle .glyphicon{
    font-size: 22px;
    color: white;
    background: black;
    padding: 8px;
    border: 0px solid white;
    border-radius: 5px;
}
#main button.navbar-toggle .glyphicon{
    font-size: 25px;
    padding: 0;
    color: black;
    background: white;
}
#nav{
    width: 100%;
    float: left;
    margin: 0;
    height: 51px;
    font-family: 'Palua One', cursive;
    text-transform: uppercase;
    background: black
}
#main #nav{
    position: absolute;
    top: 150px;
    width: 100%;
    background: transparent;
    z-index: 9;
}

#nav ul{
    margin: 5px 0;
    border-radius: 0;
}
#nav li{
    width: 12.35%;
}
#nav li ul li{
    width: auto;
}
#nav li a{
    background: white;
    color: black;
    font-size: 15px;
    border-radius: 0;
    text-align: center;
    font-weight: 900;
}
#main #nav li a{
    background: -ms-linear-gradient(left,rgba(255,255,255,.8),rgba(0,0,0,.5),rgba(255,255,255,.6));
    background: -webkit-linear-gradient(left,rgba(255,255,255,.8),rgba(0,0,0,.5),rgba(255,255,255,.6));
    background: -o-linear-gradient(left,rgba(255,255,255,.8),rgba(0,0,0,.5),rgba(255,255,255,.6));
    background: linear-gradient(left,rgba(255,255,255,.8),rgba(0,0,0,.5),rgba(255,255,255,.6));
    background: -moz-linear-gradient(left,rgba(255,255,255,.8),rgba(0,0,0,1),rgba(255,255,255,.6));
    color: white;
    text-shadow: 1px 0 10px black;
}

#nav li a:hover{
    background: black;
    color: white;
}
#main #nav li a:hover{
    background: white;
    color: black;
    text-shadow: 0 0 0;
}

#main #nav li li a{
    background: white;
    color: black;
    text-shadow: 0 0 0;
}
#main #nav li li a:hover{
    background: black;
    color: white;
    text-shadow: 0 0 0;
}
#main{
    width: 100%;
    margin: 0;
    background: white;
}
#main #containment{
    width: 100%;
    float: left;
    margin: 0;
    background: black;
    color: black;
}

#main #containment #homecarousel{
    height: 100%;
}
#main #containment #homecarousel .item{
    
}
#main #containment #homecarousel img{
    height: 100%;
    width: 100%;
}
#event{
    height: 100px;
    width: 100%;
    padding: 10px 50px;
    color: white;
    background: black;
}
#event.margined{
    margin-top: 51px;
}
#main + #event{
    margin-top: 0;
}
#event .dated{
    float: left;
}
#event p{
    line-height: 30px;
    font-size: 20px;
    margin-top: 10px;
    margin-left: 50px;
}
#event span{
    font-size: 40px;
    margin-top: 10px;
    margin-left: 50px;
}

#newsfeed{
    background: #fff;
    color: black;
    padding: 10px 100px;
}
#newsfeed h1{
    margin-bottom: 40px;
}
#newsfeed .viewall{
    text-align: right;
    font-size: 20px;
    margin-bottom: 30px;
    margin-right: 100px;
    margin-top: -20px;
}
#upcomings{
    width: 100%;
    text-align: center;
    background: #333;
    color: white;
    box-shadow: 0 0 10px black;
}
#upcomings h1{
    margin: 0;
    padding: 30px 0 10px;
}
#upcomings p{
    padding: 20px;
    font-size: 16px;
    margin: 0;
}
#upcomings p a{
    color: #ccc;
    cursor: pointer;
}
#newsletter{
    background: #fff;
    padding: 20px 50px;
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: black;
}
#newsletter table th, #newsletter table td{
    width: 50%;
    text-align: center;
}
#newsletter table td{
    text-align: left;
    padding-left: 50px;
}
#newsletter table input:not(.btn .checkbox), #newsletter table select{
    padding: 5px 10px;
    font-size: 16px;
    line-height: 22px;
    width: 70%;
}
#newsletter table input.btn{
    width: 70%;
    margin: 10px auto;
}
#newsletter #newserror{
    color: red;
    padding: 20px;
}
#social{
    background: #eee;
    height: 620px;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: black;
    padding-top: 20px;
}
#social hr{
    margin: 10px;
}
#social #homeupcomings,#social #facebook{
    margin: 0 0 0 2%;
    height: 520px;
    background: transparent;
    color: black;
    width: 48%;
    font-size: 22px;
    font-weight: 700;
    float: left;
    padding: 20px;
    text-align: center;
}
#social #facebook{
    margin: 0 2% 0 0;
}

.articles{
    width: 100%;
    padding: 50px 100px;
    background: white;
    box-shadow: 0 0 5px black;
    height: 700px;
    text-align: center;
}
.articles h1{
    text-align: center;
}
.articles .artcontainer{
    height: 400px;
    width: 100%;
}
.articles .artcontainer .articlepot{
    height: 100%;
    background: rgba(240,240,240,.5);
    width: 30%;
    margin-left: 2.9%;
    float: left;
    overflow: hidden;
}
.articles .artcontainer .articlepot .caption h3{
    height: 30px;
    overflow: hidden;
    color: maroon;
}
.articles .artcontainer .articlepot .caption p:first-of-type{
    height: 80px;
    overflow: hidden;
}
.articles .artcontainer .articlepot .caption p:nth-of-type(2){
    font-size: 20px;
}
.articles .more{
    width: 200px;
    padding: 20px;
    margin: 100px;
    background: #444;
    color: white;
    font-size: 20px;
}

.posts{
    background: #eee;
    padding: 0px 0 50px;
    margin: 0;
}
.posts *{
    font-family: 'Sintony';
}

.posts .heading{
    text-align: left;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 700;
    padding: 20px;
    padding-left: 150px;
    font-family: 'CaviarDreams';
    background: linear-gradient(right, #ccc, #fff, #999);
    background: -moz-linear-gradient(left, #eee , #fff, #fefefe, #aaa);
    background: -ms-linear-gradient(left, #eee , #fff, #fefefe, #aaa);
    background: -webkit-linear-gradient(left, #eee , #fff, #fefefe, #aaa);
    background: -o-linear-gradient(left, #eee , #fff, #fefefe, #aaa);
}
.posts img{
    margin: 20px auto;
}
#footer{
    width: 100%;
    background: #111;
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 25px;
    padding: 30px 0 20px;
}
#footer p span{
    font-size: 14px;
}

#cowprotection .row img{
    margin: 20px auto;
}
#cowprotection .row ul li{
    font-family: 'Roboto';
}
#cowprotection .row p{
    margin-bottom: 30px;
}

#message img{
    float: left;
    margin: 40px 50px;
}
#message .gray{
    color: gray;
    font-family: 'CaviarDreams';
}
#ourmanagement img{
    float: right;
    height: 250px;
    width: auto;
    margin: 40px 30px 20px;
}
#ourmanagement img:not(:first-child){
    width: auto;
    height: auto;
}
#project .compress{
    width: 60%;
}
#project hr{
    height: 2px;
    background: #d8d8d8;
}
#project table{
    text-align: center;
}
#project table.donation th,#project table.donation td{
    width: 50%;
    text-align: center;
}
#project .thumbnail{
    display: inline-block;
    background: transparent;
    box-shadow: 0 0 0;
    border: 0 solid black;
    width: 180px;
    text-align: center;
}
#project .thumbnail img{
    height: 100px;
    width: 100px;
}
#timings table{
    width: 80%;
    margin: 30px auto;
}
#timings table td{
    width: 50%;
    padding-left: 10%;
}
#sankirtan img{
    float: left;
    margin: 25px;
}
#preaching hr{
    height: 2px;
    background: #d8d8d8;
}
#preaching img{
    float: left;
    margin: 25px;
}
#preaching img:nth-of-type(2){
    float: right;
}
#preaching img:nth-of-type(3){
    float: none;
    margin: 25px auto;
}
#preaching table td{
    width: 50%;
    padding-left: 10%;
}
#preaching table.programs td, #preaching table.programs th{
    width: auto;
    padding-left: 0;
    text-align: center;
}
#vedicasharam img{
    display: inline-block;
    margin: 20px;
}
#goshala img{
    float: none;
    margin: 25px auto;
}
#howtohelp table{
    text-align: center;
}
#howtohelp table.donation th,#project table.donation td{
    width: 50%;
    text-align: center;
}
#video{
    text-align: center;
}
#video hr{
    height: 2px;
    background: #d8d8d8;
}
.videoframe{
    height: 480px !important;
    width: 853px !important;
}
#howtoreach .routemap{
    height: 450px;
    width: 900px;
}

/****************************************************************************/
#event{
    display: none;
}
.posts{
    margin-top: 51px;
}
/*****************************************************************************/

#contactus .contactsection{
    background: #fff;
    text-align: center;
    padding: 30px 20px;
    border-top: 3px solid #999;
    margin-top: 50px;
}
#contactus .contactsection:first-of-type{
    margin-left: 4.1%;
}
#contactus .contactsection:hover{
    border-top: 2px solid #ccc;
}
#contactus .contactsection p{
    color: #aaa;
    text-shadow: 0 1px 2px #999;
    font-size: 20px;
}
#contactus .contactsection:hover p{
    color: #666;
    text-shadow: 0 0 0;
    font-size: 18px;
}
#donate table{
    background: transparent;
}
#donate .error{
    color: red;
}
#donate table tr.break{
    height: 50px;
}
#latestnews .thumbnail{
    display: inline-block;
    background: transparent;
    box-shadow: 0 0 0;
    border: 0 solid black;
    width: 32%;
    float: left;
    margin: 30px 0 20px 0.9%;
    background: transparent;
    text-align: center;
    overflow: hidden;
    height: 300px;
}
#latestnews .thumbnail img{
    height: 100%;
    width: 100%;
}
#latestnews .thumbnail iframe{
    height: 200px !important;
    width: 100% !important;
    margin: 20px auto;
}
#latestnews .thumbnail .posttitle{
    font-size: 20px;
    color: black;
}

#picturegallery{
    text-align: center;
}
#picturegallery .pwi_album_description, #picturegallery .pwi_pager{
    color: black !important;
}
#picturegallery .pwi_album_description a, #picturegallery .pwi_pager a{
    color: #99f;
}

.fancybox-live{
    position: fixed;
    z-index: 7777;
    top: 45%;
    right: 10px;
    color: white;
    width: 7%;
    height: 12%;
    background: white;
    padding: 5px;
    box-shadow: 0 0 5px black;
}
.fancybox-live img{
    width: 100%;
    height: 100%;
}

#vaishnavacal #calendar iframe{
    width: 100%;
    height: 600px;
}

#homeupcomings .eventsec{
    height: 90px;
    margin: 10px auto;
    background: white;
    width: 80%;
    padding: 20px;
    font-size: 17px;
    border-radius: 10px;
    border-left: 2px darkblue solid;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-family: 'Sintony' !important;
}
#homeupcomings h2{
    text-align: left;
}
#homeupcomings .small{
    float: right;
    background: gray;
    padding: 10px;
    border-radius: 5px;
    color: white;
}
#homeupcomings .spanleft{
    float: none;
}
#homeupcomings .eventsec .eventdate, #homeupcomings .eventsec .eventinfo{
    float: left;
}
.eventsec .eventdate{
    width: 20%;
    font-family: 'Roboto';
}
 .eventsec .eventinfo{
    width: 80%;
    text-align: center;
    color: darkblue;
    font-size: 20px;
    letter-spacing: .03em;
}
 .eventsec .eventtype{
    height: 40%;
    color: #555;
    font-size: 14px;
    letter-spacing: .05em;
    font-family: 'Roboto';
}
#articleindex .articlepot{
    float: left;
    overflow: hidden;
}
#articleindex .articlepot{
    height: 100%;
    background: rgba(240,240,240,.5);
    width: 30%;
    margin-left: 2.9%;
    float: left;
}
#articleindex .articlepot .caption h3{
    height: 30px;
    overflow: hidden;
    color: maroon;
}
#articleindex .articlepot .caption p:first-of-type{
    height: 80px;
    overflow: hidden;
}
#articleindex .articlepot .caption p:nth-of-type(2){
    font-size: 20px;
}

@media (max-width: 1300px) {
    #nav li a{
        font-size: 12px;
    }
    #nav li{
        width: 12%;
    }
    #nav li:last-child{
        width: 14.5%;
    }
    #nav li ul li{
        width: auto;
    }
    #nav li ul li:last-child{
        width: auto;
    }
}
@media (max-width: 1200px) {
    .eventsec .eventdate{
        width: 20%;
    }
     .eventsec .eventinfo{
        width: 80%;
        font-size: 18px;
        letter-spacing: 0;
    }
     .eventsec .eventtype{
        height: 40%;
        font-size: 14px;
        letter-spacing: .05em;
    }    
    .articles{
        height: 650px;
    }
    .articles .artcontainer{
        height: 370px;
    }
}
@media (max-width: 1100px) {
    #nav li{
        width: 11.5%;
    }
    #nav li:last-child{
        width: 19.4%;
    }
    #nav li ul li{
        width: auto;
    }
    #nav li ul li:last-child{
        width: auto;
    }
    .nav li a{
        padding: 10px 0;
        text-align: center;
    }
    .nav li{
        margin-left: 0 !important;
    }
    #video h3{
        font-size: 20px;
    }
    .videoframe{
        height: 450px !important;
        width: 800px !important;
    }
    #homeupcomings .eventsec{
        width: 100%;
    }
    .articles .artcontainer{
        height: 340px;
    }
}

@media (max-width: 1000px) {
    #howtoreach .routemap{
        height: 400px;
        width: 95%;
    }

    #vaishnavacal #calendar iframe{
        height: 500px;
    }
    #homeupcomings h2{
        text-align: center;
    }
    #homeupcomings .small{
        float: none;
        display: block;
        width: 70%;
        margin: 10px auto;
    }
}
@media (max-width: 900px) {
    .jumbotron .header img.guru{
        display: none;
    }
    .jumbotron .header .logo{
        margin: 10px auto;
        float: none;
    }
    #newsfeed{
        padding: 10px 0;
    }
    #newsfeed h1{
        padding-left: 10%;
        margin-bottom: 20px;
    }
    .videoframe{
        height: 400px !important;
        width: 700px !important;
    }
    .articles .artcontainer{
        height: 320px;
    }
}
@media (max-width: 767px) {
    .navbar-header{
        z-index: 21;
    }
    #nav{
        height: auto;
        margin-top: -20px;
        z-index: 20;
    }
    #main #nav{
        height: auto;
        margin-top: 60px;
    }
    #nav li ul{
        width: 100%;
    }
    #nav li{
        width: 99.9%;
    }
    #nav li:last-child{
        width: 99.9%;
    }
    #nav li ul li{
        width: 99.9%;
    }
    #nav li ul li:last-child{
        width: 99.9%;
    }
    #main #nav li a{
        background: -moz-linear-gradient(left,rgba(255,255,255,.5),rgba(0,0,0,0),rgba(255,255,255,.2));
        background: -ms-linear-gradient(left,rgba(255,255,255,.5),rgba(0,0,0,0),rgba(255,255,255,.2));
        background: -webkit-linear-gradient(left,rgba(255,255,255,.5),rgba(0,0,0,0),rgba(255,255,255,.2));
        background: -o-linear-gradient(left,rgba(255,255,255,.5),rgba(0,0,0,0),rgba(255,255,255,.2));
        background: linear-gradient(left,rgba(255,255,255,.5),rgba(0,0,0,0),rgba(255,255,255,.2));
        background: rgba(0,0,0,.7);
    }

    #nav li a:hover{
        background: black;
        color: white;
    }
    #main #nav li a:hover{
        background: white;
        color: black;
        text-shadow: 0 0 0;
    }

    #main #nav li li a{
        background: white;
        color: black;
        text-shadow: 0 0 0;
    }
    #main #nav li li a:hover{
        background: black;
        color: white;
        text-shadow: 0 0 0;
    }
    .fancybox-live{
        width: 10%;
    }    
    #social{
        height: 1140px;
        font-size: 23px;
        padding-top: 20px;
    }
    #social #homeupcomings,#social #facebook{
        margin: 0 auto;
        width: 98%;
        font-size: 20px;
        float: none;
    }
    #social #homeupcomings{
        height: 600px;
    }
    #social #facebook{
        margin: 0 auto;
    }
    #upcomings h1{
        font-size: 30px;
    }
    #newsfeed{
        padding: 10px 0;
        overflow-x: hidden;
    }
    #newsfeed h1{
        font-size: 30px;
        margin-bottom: 0;
        margin-top: 5px;
    }
    #newsfeed .viewall{
        text-align: right;
        font-size: 18px;
        margin-bottom: -20px;
        margin-right: 10%;
        margin-top: 0;
    }
    #newsfeed.indexpage .posttitle{
        font-size: 15px;
        line-height: 18px;
   }
    #latestnews .thumbnail{
        display: block;
        width: 98%;
        float: none;
        margin: 30px auto 20px;
    }
    #latestnews .thumbnail .posttitle{
        font-size: 18px;
    }
    #preaching img{
        float: none;
        width: 98%;
        margin: 20px auto;
    }
    #sankirtan img{
        float: none;
        width: 98%;
        margin: 20px auto;
    }
    #vedicasharam img{
        float: none;
        width: 98%;
        margin: 20px auto;
    }
    #video h3{
        font-size: 18px;
    }
    .videoframe{
        height: 285px !important;
        width: 500px !important;
    }
    #contactus .contactsection:first-child{
        margin-left: 0;
    }
    #vaishnavacal #calendar iframe{
        height: 500px;
    }
    #homeupcomings .eventsec{
        width: 80%;
    }
     .eventsec .eventdate{
        font-size: 16px;
    }
    .articles{
        padding: 50px 100px;
        height: auto;
    }
    .articles .artcontainer{
        height: auto;
    }
    .articles .artcontainer .articlepot{
        height: 400px;
        width: 80%;
        margin-left: 9.9%;
        float: none;
    }
    #articleindex .articlepot{
        height: 400px;
        width: 40%;
        margin: 10px 5%;
    }
    
    #newsletter{
        padding: 20px 0px;
        margin: 0;
        font-size: 17px;
        font-weight: 500;
    }
    #newsletter table td{
        padding-left: 0px;
    }
    #newsletter table input:not(.btn .checkbox), #newsletter table select{
        font-size: 14px;
        line-height: 20px;
        width: 60%;
    }
    #newsletter table input.btn{
        width: 100%;
    }
}
@media (max-width: 600px) {
    .posts .heading{
        padding: 20px 0;
        text-align: center;
    }
    #preaching table.programs td, #preaching table.programs th{
        text-align: center;
        font-size: 8px;
    }
    .pwi_album{
            float: left;
            padding: 0.5em;
            width: 48%;
            height: 320px;
            margin-bottom: 70px;
            margin-top: 30px;
    }
    #howtoreach .routemap{
        height: 350px;
        width: 95%;
    }
    #vaishnavacal #calendar iframe{
        height: 400px;
    }
    .articles .artcontainer .articlepot{
        width: 100%;
        margin: 10px 0;
    }
    #articleindex .articlepot{
        height: 400px;
        width: 45%;
        margin: 10px 2.5%;
    }
}
@media (max-width: 550px) {
    #video h3{
        font-size: 15px;
    }
    .videoframe{
        height: 220px !important;
        width: 400px !important;
    }
    #homeupcomings .eventsec{
        width: 100%;
    }
    .articles{
        padding: 50px;
    }
    .articles .more{
        margin: auto;
        font-size: 18px;
    }
    #articleindex .articlepot{
        height: 420px;
        width: 80%;
        margin: 10px 10%;
        float: none;
    }
}
@media (max-width: 450px) {
    .fancybox-live{
        width: 15%;
    }
    *{
        font-size: 95%;
    }
    #upcomings h1{
        font-size: 23px;
    }
    #message img{
        float: none;
        margin: 40px auto;
        width: 90%;
    }
    #ourmanagement img:last-of-type{
        margin: 20px auto;
        float: none;
        width: 95%;
    }
    #newsfeed.indexpage .posttitle{
        font-size: 13px;
        line-height: 15px;
   }
    #newsfeed h1{
        font-size: 25px;
        padding-left: 0;
        text-align: center;
    }
    #newsfeed .viewall{
        text-align: center;
        font-size: 15px;
        margin-right: 0;
    }
    #latestnews .thumbnail .posttitle{
        font-size: 14px;
    }
    .videoframe{
        height: 165px !important;
        width: 300px !important;
    }
    #howtoreach .routemap{
        height: 300px;
        width: 99%;
    }
     .eventsec .eventinfo{
        width: 80%;
        font-size: 16px;
    }
     .eventsec .eventtype{
        font-size: 11px;
        letter-spacing: 0;
    }
    .articles{
        padding: 50px 20px;
    }
    .articles .artcontainer .articlepot{
        height: 380px;
    }
    #articleindex .articlepot{
        width: 90%;
        margin: 10px 5%;
    }
}
@media (max-width: 400px) {
    .pwi_album{
            float: none;
            padding: 0.5em;
            width: 98%;
            height: 320px;
            margin-bottom: 70px;
            margin-top: 30px;
    }
    .pwi_photo{
            float: none;
            padding: 0.5em;
            text-align: center;
            margin-bottom: 40px;
    }
    #video h3{
        font-size: 14px;
    }
    #howtoreach .routemap{
        height: 200px;
        width: 99.9%;
    }
    #vaishnavacal #calendar iframe{
        height: 300px;
    }
    #homeupcomings .small{
        width: 85%;
    }
    #articleindex .articlepot{
        height: 410px;
        width: 90%;
        margin: 10px 5%;
    }
}
@media (max-width: 350px) {
    .articles .artcontainer .articlepot{
        height: 350px;
    }
    #footer code{
        display: block;
    }
    #articleindex .articlepot{
        height: 400px;
        width: 98%;
        margin: 10px 1%;
    }
}
@media (max-width: 320px) {
    #video h3{
        font-size: 12px;
    }
    .videoframe{
        height: 135px !important;
        width: 250px !important;
    }
    #vaishnavacal #calendar iframe{
        height: 250px;
    }
     .eventsec .eventdate{
        font-size: 14px;
    }
     .eventsec .eventinfo{
        font-size: 14px;
    }
    .articles .artcontainer .articlepot{
        height: 330px;
    }
}
