﻿.responsive {
  max-width: 100%; /* Used in List.aspx to make the Image responsive in the GridView gvWordsList_Img */
  height: auto;
}
.slatewidth 
{
    width: calc(100%-40px)!important;
}
.watermarked { 
    padding:2px 0 0 2px;
    border:1px solid #fff;
    color:Gray;
    font-size:16px;
}
.watermarkedNew {
   font-family: Verdana; 
   font-size:14px; 
   font-weight:normal; 
   color:Gray;
   text-align:justify; 
   line-height:25px;
   width:100%;
  }

.nose*/lect {
 -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently 
                                  supported by Chrome and Opera */
}

.headerimage /* Used in Header Section of Site.master */
{
    width:100%; 
    max-width:332px; 
    max-height:130px;
}

.image {
   position: relative;
   width:100%;
   height:auto;
   text-align:center;
}

.para {
   font-family: Verdana; 
   font-size:14px; 
   font-weight:normal; 
   color:Black;
   text-align:justify; 
   line-height:30px;
   width:100%;
  }
  
.gv_colsize35 {
  max-width:35px;
}
.gv_colsize135 {
  max-width:250px;
}
.gv_font14 {
    font-size:14px;
}

/* CP (Container Panel) font is used in FAQ & FAQ-About-Sourashtrians */
.cp_font14 {
    margin:10px; 
    padding-left:0px; /* Changed to 0px from 15px*/
    color:Black; 
    font-size:14px
}
.font15_title {
   font-family: sans-serif; 
   font-size:15px;
}
.font16_title {
   font-family: sans-serif; 
   font-size:16px;
}
.font18_title {
   font-family: sans-serif; 
   font-size:18px;
}
.font20_title {
   font-family: sans-serif; 
   font-size:20px;
}
.hdrrow {
   color:White; 
   background-color:Gray;
   border:1px solid black;
   text-align:center;
}
.bodyrow {
   color:Black; 
   border:1px solid black;
   text-align:center;
}

/* The Following Fonts are used in List.aspx Grid View */
.list_gv_font12 { font-family: sans-serif; font-size:12px; } /* For Sou. Word & Meaning & Translation in Tamil Lipi */
.list_gv_font14 { font-family: sans-serif; font-size:14px; } /* For English Word & Meaning & Translation & All Headers */
.list_gv_font17 { font-family: sans-serif; font-size:17px; } /* For Sou. Word & Sentence in Devanagari Lipi */
.list_gv_font18 { font-family: sans-serif; font-size:18px; } /* For Sou. Word & Sentence in Ramarai Lipi */

.font14 {
   width:20%;
   font-family: sans-serif; 
   font-size:14px;
   border:1px solid black;
}
.font16 {
   width:20%;
   font-family: sans-serif; 
   font-size:16px;
   border:1px solid black;
}
.font17 {
   width:20%;
   font-family: sans-serif; 
   font-size:17px;
   border:1px solid black;
}
.font20 {
   width:20%;
   font-family: sans-serif; 
   font-size:20px;
   border:1px solid black;
}

.font14_left {
   width:20%;
   font-family: sans-serif; 
   font-size:14px;
   border:1px solid black;
   text-align:left;
   padding-left:5px;
}
.font16_left {
   width:20%;
   font-family: sans-serif; 
   font-size:16px;
   border:1px solid black;
   text-align:left;
   padding-left:5px;
}
.font17_left {
   width:20%;
   font-family: sans-serif; 
   font-size:17px;
   border:1px solid black;
   text-align:left;
   padding-left:5px;
}
.font18_left {
   width:20%;
   font-family: sans-serif; 
   font-size:18px;
   border:1px solid black;
   text-align:left;
   padding-left:5px;
}
.font20_left {
   width:20%;
   font-family: sans-serif; 
   font-size:20px;
   border:1px solid black;
   text-align:left;
   padding-left:5px;
}
.textbox {
   font-family: sans-serif; 
   font-size:16px;
   width:100%;
   max-width:300px;
   height:30px
}  
.textbox_20 {
   font-family: sans-serif; 
   font-size:20px;
   width:100%;
   max-width:300px;
   height:30px
} 

.lnheight 
{
    line-height:20px;
}
 
 .pagelink {
   color:Blue; font-size:16px; font-style:normal; text-decoration:none;
  }
  
/* Converting Table to Div for Responsive Screen */
/* Website Reference : https://wisdmlabs.com/blog/responsive-tables-using-css-div-tag/*/

.resp-table 
{
    width: 100%;
    background-color:#f9f9f9;
    display: table;
    text-align:center;
}
.resp-table-ad 
{
    display: table;
}
.resp-tr
{
   vertical-align:middle;
   text-align:left;
   display: table-row;
}
.resp-td
{
   vertical-align:middle;
   text-align:left;
   overflow:auto;
   display: table-cell;
}
.resp-td-main-navigation 
{
   background:#4675ff;
   vertical-align:middle;
   text-align:left;
   display: table-cell;
}

/* DEFAULTS
----------------------------------------------------------*/

body   
{
    background: #6fc1f3; /* Blue Background color outside Portal content area which merges with Background Image Sunny Sky*/
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    /*border-top: thick solid #6fc1f3;*/ /* The Top Border on the screen. It is Green Color in CTG site*/
    color: #696969; /* #696969 */
	background-image: url("../background.png");
	background-repeat:repeat-x;
}



/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 100%; /* 1200px */
    /*background-color: White; #696969 - Dark Gray, Portal content background color */
    background-color:#585858;border-collapse:collapse;border-spacing:0; top:0px;
    margin: 14px auto 10px auto;    
    /* border: 1px solid #496077 */ /* This is the outer border for the portal */
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #4b6c9e;
    width: 100%;
}

.main
{
    padding: 0px 0px;
    margin: 0px 0px 0px 0px;
    min-height: 560px;
    background-color: #f9f9f9;
}

.title
{
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.footer
{
    background-color: #3e3e3e;
    padding: 8px 0px 0px 0px;
    margin: 0px 10px;
    text-align: center;
    line-height: normal;
}

.border
{
    padding-left:10px;
    text-align:left;
    border-collapse:collapse;
    border-spacing:0;
    width: 80%;
    margin-left:auto; /* To align the table to Center */
    margin-right:auto; /* To align the table to Center */
    text-align:center; /* To align the table content to Center */
}


/* New Multi-Level dropdown Menub  */
/* As per Video - https://www.youtube.com/watch?v=krZvPvpOHm4*/

.main-navigation 
{
    background:#4675ff;
}

ul
{
    list-style:none;
    margin: 0 auto;
    padding:0;
}

ul li
{
    list-style:none;
    position:relative;
    float:left;
    padding: 5px 0;
    padding-right: 10px;
    width: auto;
}

ul li:hover
{
    background:#6fc1f3;
}

ul li:last-child
{
    border-right: none;
}

ul li a
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-size:15px;
    font-weight: 500;
    text-decoration:none;
    float:left;
    padding: 3px 5px;
    color:#FFF;
}

ul li ul
{
    position:absolute;
    top: 35px;
    background:#000;
    left: 0;
    display:inline;
    visibility:hidden;
}

ul li ul li
{
    display:block;
    padding: 5px 0;
    background:#4675ff;
    border-right:none;
    border-bottom: px solid rgba(255, 255, 255, .2);
    min-width: 160px;
}

ul li ul li a
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-size:14px;
    font-weight: 500;
    text-decoration:none;
    float:left;
    padding: 3px 10px;
    color:#FFF;
}

ul li:hover ul 
{
    display:block;
    visibility:visible;
    border-right:none;
    border-bottom: px solid rgba(255, 255, 255, .2);
    box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.2);
    z-index:1;
}

/* While Hovering the first level dropdown, hide the second level */

ul li:hover ul li ul 
{
    display:none;
}

/* While Hovering the second level dropdown, display the second level */

ul li ul li:hover ul
{
    left: 60%;
    top: 10px; /* The second level dropdown will be 10px below the first level */
    display:block;
    visibility:visible;
    z-index:1;
}   

/* Multi-Level dropdown Menu
--------------------------------------------- */
    
.title{width:100% !important;}
.page {max-width: 1200px;width: 100% !important;}

@media(max-width:900px) {
    .main > table td {
        width: calc(100% - 20px) !important;
        display: block;
        padding-left:10px;
    }
}
@media(max-width:768px){
    .table td {
    width: 50%;
    display: inline-block;
    }
    
    ul
    {
        display:block;
    }
    ul li
    {
        display:block;
    }
    ul li:hover
    {
        background:#6fc1f3;
    }
    ul li ul
    {
        width:100%;
        z-index:1;
    }
    ul li:hover ul 
    {
        display:block;
        visibility:visible;
        background:#000;
    }
    .footer_sec {display:none;}
}

@media(max-width:510px) {
    .table td {
    width: 50% !important;
    display: block;
    }
    
    .gv_font14 {font-size:14px;} /* increased to 15 for a better viewablity */
    
    .list_gv_font12 { font-size:10px; } /* Used in List.aspx */
    .list_gv_font14 { font-size:12px; } /* Used in List.aspx */
    .list_gv_font17 { font-size:15px; } /* Used in List.aspx */
    .list_gv_font18 { font-size:16px; } /* Used in List.aspx */

    .font15_title {font-size:12px;}
    .font16_title {font-size:12px;}
    .font18_title {font-size:14px;}
    .font20_title {font-size:16px;}
    
    .font14_left {font-size:11px;}
    .font16_left {font-size:12px;}
    .font17_left {font-size:13px;}
    .font20_left {font-size:16px;}
    
    .font14 {font-size:11px;}
    .font16 {font-size:12px;}
    .font17 {font-size:13px;}
    .font20 {font-size:16px;}
    
    ul
    {
        display:block;
    }
    ul li
    {
        display:block;
    }
    ul li:hover
    {
        background:#6fc1f3;
    }
    ul li ul
    {
        width:100%;
        z-index:1;
    }
    ul li:hover ul 
    {
        display:block;
        visibility:visible;
    }
    
    .footer_sec {display:none;}
}
