/* 
Theme Name: castlxing
castlxing WordPress Theme, Copyright 2015 fissionbyte
Author: Yash karnad
Author URI: http://www.fissionbyte.com/
Author Email:yashkarnad@gmail.com
Description: Castlxing is the ideal theme for those who want to start a simple personal blog. While still new, it has a strong potential for aggresive expansion
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:white, green, one-column,two-columns,right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu,featured-images
*/

/*Common styles*/

ul,
ol {
	list-style: none;
	
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}


.alignleft {
	display: inline;
	float: left;
	margin-right: 2em;
        
}

.alignright {
	display: inline;
	float: right;
	margin-left: 2em;
        
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
        
}

 .alignnone {
	display: block;
	margin: 0 0 1.75em 0;

}

img {
	
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}



.sticky{
    position: absolute;
    background-color: #cccccc;
}



select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  vertical-align: middle;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus,
select
{
  border-color: rgba(14, 230, 28, 1);
  outline: 0;
  outline: thin dotted \9;
/*   IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0,255,0,0.3), 0 0 8px rgba(14, 230, 28, 1);
     -moz-box-shadow: inset 0 1px 1px rgba(0,255,0,0.3), 0 0 8px rgba(14, 230, 28, 1);
          box-shadow: inset 0 1px 1px rgba(0,255,0,0.3), 0 0 8px rgba(14, 230, 28, 1);
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,255,0,0.3);
     -moz-box-shadow: inset 0 1px 1px rgba(0,255,0,0.3);
          box-shadow: inset 0 1px 1px rgba(0,255,0,0.3);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
         
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/*The Theme header*/
a{
    text-decoration: none;
    color:#000;
 }
 
 a:visited{
     color:#000;
 }
 
 .site-title a{
     font-family: 'PT Sans Narrow', sans-serif;
      font-size: 50px;
      padding-left:20px
 }
 
 .site-description{
     font-size: 14px;
     padding-left: 20px;
     position:relative;
     bottom:10px;
 }
 
 .site-title img{
     margin-top: 30px;
 } 
 
 
 body{
     overflow-x: hidden;
     
 }


#img-less{
  padding: 60px;
}


#menu-links {
	
	
	display: block;
	float: left;
	margin: 0 auto 6px;
       padding-left: 2%;
      }
      
#menu-links ul {

	list-style: none;
	margin: 0 0 0 -0.8125em;
     padding-left:30em;
    white-space:nowrap;
   
   	}
        
        .hide-stuff{
            display:none;
        }       

#menu-links li {

position: relative;
float: left;
bottom:50px;


}

#menu-links a {

	display: block;
	line-height: 3.333em;
	padding: 0 1.5125em;
	text-decoration: none;
        font-family: 'PT Sans Narrow', sans-serif;
       
}


#menu-links ul ul {
    	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 6.333em;
         left: 0;
	width: 188px;
	z-index: 99999;
        padding-left: 0;
      
}

#menu-links ul ul ul {
	left: 100%;
	top: 3.12em;
        
}

#menu-links ul ul a {
	color: black;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
        background-color:white;
        box-shadow: 1px 1px 1px #888888;
}

#menu-links ul ul :hover > a{
 background: #0ee61c;
 text-decoration: none;
}

#menu-links ul li:hover > ul {
	display: block;
}

ul li:after{
    position: absolute;
    width: 70%;
    content: "";
    top: 9px;
    left: 60%;
    margin-left: -45%;
    
}



#menu-links ul li:hover:after{
   height: 3px;
  background: #0ee61c;
 }

 .current-menu-item a{
     color:#0ee61c;
     font-weight: 600;
 }

#menu-links li.current_page_item > a:before{
	position: absolute;
	content: "";
	width: 70%;
	height: 3px;
	background: #0ee61c;
	left: 15%;
        top: 9px;
	display: block;
        
}

.head-img{
    margin-top: -55px;
    margin-bottom: 40px;
    width:100%;
    height: 100%;
   
}

/*Sidebar.php*/
.sidebar-main{
   
   float: right;
   margin-right: 7.6%;
   width: 18.8%;
  
}

.side1{
    
    background-color: white;
   
  
}

.side1 li{
    padding-left: 7px;
    position: relative;
    bottom:19px;
    right:40px;
    width:11em;
    padding-top: 10px;
    padding-bottom: 10px;

   list-style-type: none;
    
}

.side1 li a{
    color:#89867e;
      font-family: 'PT Sans Narrow', sans-serif;
   font-weight: 500;
}

.side1 li a:hover{
    color:#0ee61c;
}
.widget-title{
   width: 170px;
    padding-left: 7px;
    padding-bottom: 20px;
    padding-top: 10px;
    font-size: 25px;
    white-space: nowrap;
    font-family: 'PT Sans Narrow', sans-serif;
 }
 
 #s{
     width: 170px;
     height: 25px;
 }
 .navbar-form{
     white-space: nowrap;
 }
 
 .submit{
     padding: 8px 10px 8px 10px;
 }
 
 #submit-search{
    margin-left: 5px;
    font-size:10px;
   position: relative;
   bottom:5px;
 }
 
 #search-topic,#archive-choice,#category-choice{
     font-family: 'PT Sans Narrow', sans-serif;
     font-weight: 600;
     font-size: 30px;
     color:#0ee61c;
     
 }
 
 #search-topic span,#archive-choice span,#category-choice span{
     color:#000;
 }
 
.side1 .sub-menu
	{
		
	margin: 0.7667em 0 0 2px;
	padding-top: 0.7667em;
       line-height: -100px;
		
        
	}
/* Captions*/
 .wp-caption,.gallery-caption{
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img,embed,
iframe,
object {
	max-width: 100%;
        border-color: #eee;
}
.wp-caption-text {
	color: #989eae;
	display: block;
	font-size: 12px;
	line-height: 1.4;
}

/*The Page*/
.full-page,.archives,.sample-Page,.search-part{
    float: left;
    margin: 0 -26.4% 0 20px;
   width: 60%;
  font-family: 'PT Sans Narrow', sans-serif;
}

#post-title a{
    font-size: 35px;
    
}

.main-content-style{
    padding-bottom: 50px;
}

.main-content-style small{
    white-space: nowrap;
}

.content-category{
    color:#0ee61c;
    font-weight: 600;
}

.entry-content li{
    display:none;
}

.content-editor a,.pagination-links a,.submit{
    color: white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  *background-color: #51a351;
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
   
}

.content-editor a{
    width:80px;
  padding: 10px 20px 10px 20px;
 
}

.pagination-links {
    position: relative;
    left:23em;
    margin: 48px 0;
    
}

.pagination-links a{
 padding:10px 20px 10px 20px;  
}

#comment-state{
   font-family: 'PT Sans Narrow', sans-serif;
     font-weight: 600; 
}

#content-author a{
    color:#0ee61c;
    font-weight: 600;
    
}

#post-tags{
    font-weight: 600;
    padding-bottom: 10px;
}


#previous-post,#next-post{
    font-weight: 600;
           
}

#previous-post u,#next-post u{
        border-bottom: 4px solid #0ee61c;
        text-decoration: none;
}

#previous-post span,#next-post span{
    font-weight: 200;
    
}

#previous-post{
    margin-left: 300px;
       
}

#next-post{
    margin-left: 70px;
}

textarea{
    height: 200px;
   
}

.comments_form{
    margin-left: 30px;
}

#comments{
    margin-top: 90px;
   padding-bottom: 40px;
   list-style-type: none;
}

#comments hr{
    opacity: 0.3;
    
}

.comment-respond{
margin-left:-20px; 
}

#comments > p{
    font-size: 25px;
}

.comment-form-comment label{
    display: none;
}


.comment-meta,.bypostauthor{
	list-style-type: none;
        margin-top: 30px;
}


.comment-author .avatar {
    padding-right: 20px;
   
	}
       
.comment-edit-link
{
font-weight: 600;

        }      
        
 .comment-reply-link{
   
     font-weight: 600;
     color:#0ee61c;
}

.fn{
   font-size: 22px;
   color: #0ee61c;
}

.entry-title{
      font-family: 'PT Sans Narrow', sans-serif;
}

#not-found p{
    font-family: 'PT Sans Narrow', sans-serif;
    
}

.page-links {
	clear: both;
	font-size: 12px;
	font-weight: 900;
	line-height: 2;
	margin: 24px 0;
	text-transform: uppercase;
}

.page-links a,
.page-links > span {
	background: #fff;
	border: 1px solid #fff;
	display: inline-block;
	height: 22px;
	margin: 0 1px 2px 0;
	text-align: center;
	width: 22px;
}

.page-links a {
	background: #0ee61c;
	
	color: #fff;
	text-decoration: none;
}

.page-links a:hover {
	background: #0ee61c;
	border: 1px solid #41a62a;
	color: #fff;
}

.page-links > .page-links-title {
	height: auto;
	margin: 0;
	padding-right: 7px;
	width: auto;
}


	
 /*Footer Styling*/
.pg-footer a{
   color:white;
  
  
}

.pg-footer{
    color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #363636;
  *background-color: #222222;
  background-image: -moz-linear-gradient(top, #444444, #222222);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
  background-image: -webkit-linear-gradient(top, #444444, #222222);
  background-image: -o-linear-gradient(top, #444444, #222222);
  background-image: linear-gradient(to bottom, #444444, #222222);
  background-repeat: repeat-x;
  border-color: #222222 #222222 #000000;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
   float: none;
   margin-right: 0;
  clear: both;
  font-size: 12px;
  line-height: 2.2em;
  padding: 1.2em 0.5em;
  text-align: center;
    
}

select{
    height: 30px;
    width: 160px;
}
/*Mobile Optimization*/

@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

@media screen and (min-width: 320px) and (max-width: 490px) and (orientation: portrait){
    
	/* Simplify the basic layout */
	.main-header {
       
        width: auto;
	}
         
        .head-img{
    margin-top: -20px;
 height: auto;
  
}

#menu-links{
    display: none;
}

#img-less{
  padding: 20px;
}

.site-title img{
     margin-top: 0px;
     width:140px;
 }
       
  .hide-stuff,#menu-links li{
    display:none;
}


        
.box-shadow-menu {
  position: relative;
padding-left: 87.25%;

}

.box-shadow-menu:before {
 content: "";
  position: absolute;
  top: -70px;
  bottom: 0.21em;
  width: 1.7em;
  height: 1.5em;
  background: linear-gradient(
    to bottom, 
    black, black 20%, 
    white 20%, white 40%, 
    black 40%, black 60%, 
    white 60%, white 80%, 
    black 80%, black 100%
  );
 
}

#menu-stuff li a{
    text-decoration: none;
   font-family: 'PT Sans Narrow', sans-serif;
   font-size: 25px;
   font-weight: 300;
   color:#0ee61c;
    line-height: 60px; 
    padding-left: 40px;
    white-space:nowrap;
}

.full-page,.archives,.sample-Page,.search-part{

    margin-left: 0px;
   
}

 .sidebar-main {
		
                  width: 89%;
                margin-top: 50px;
	}
        
        #s{
            width:220px;
        }       
 
 .full-page,.archives,.sample-Page,.search-part{
   
   width: 100%;
   
}/*
        
*/       .site-title a{
            font-size: 40px;
        }
        
        #menu-links{
            padding-left: 4em;
            width: auto;
        }
        
        #menu-links ul{
            font-size: 12px;
           
        }
       
        
       #nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	
        .pagination-links{
    position: relative;
    left:1em;
    margin: 48px 0;
   
    
}
.paging-nav .loop-pagination {
	margin-top: -5px;
	text-align: center;
}

.paging-nav .page-numbers {
	display: inline-block;
	font-size: 17px;
	margin-right: 1px;
        margin-top: 10px;
	padding: 7px 16px;
	
}

.paging-nav a {
	color: white;
}

#comments{
width: 60%;
margin-left:20px;

}

.comment-form-comment #comment{
   width:130%;
}

#previous-post{
    margin-left: 0px;
       
}

#next-post{
    margin-left: 40px;
}


}

@media screen and (min-width: 410px) and (max-width: 860px) and (orientation: landscape){
   
    .site-title a{
        font-size:44px;
    }
    
         .head-img{
    margin-top: 0px;
    
}

#menu-links{
    display: none;
}



    
    .hide-option{
    display: inline;
}



.box-shadow-menu {
  position: relative;
padding-left: 87.25%;

}

.box-shadow-menu:before {
 content: "";
  position: absolute;
  top: -70px;
  bottom: 0.21em;
  width: 2.1em;
  height: 1.8em;
  background: linear-gradient(
    to bottom, 
    black, black 20%, 
    white 20%, white 40%, 
    black 40%, black 60%, 
    white 60%, white 80%, 
    black 80%, black 100%
  );
 
}

#menu-stuff li a{
    text-decoration: none;
   font-family: 'PT Sans Narrow', sans-serif;
   font-size: 30px;
   font-weight: 300;
   color:#0ee61c;
    line-height: 60px; 
    padding-left: 190px;
    white-space:nowrap;
}


.full-page,.archives,.sample-Page,.search-part{

    margin-left: 0px;
   
}

 .sidebar-main {
		
                width: 89%;
                margin-top: 50px;

	}
        
        #s{
            width:220px;
        }       
 
 .full-page,.archives,.sample-Page,.search-part{
   
   width: 100%;
   
}
.pagination-links {
    position: relative;
    left:0em;
    margin: 48px 0;
    
}
#previous-post{
    margin-left: 0px;
       
}

#next-post{
    margin-left: 40px;
}


    
}

@media screen and (min-width: 760px) and (max-width: 1000px) and (orientation: portrait){
    
    #menu-links {
   float: right;

       }
      
       
      
      #menu-links ul {
	
     	 padding-left: 10em;
    
	}
        
        .hide-stuff{
            display:none;
        }       

        #s{
            width:140px;
        }
        
        .pagination-links {
    position: relative;
    left:0em;
    margin: 48px 0;
    
}

#previous-post{
    margin-left: 0px;
       
}

#next-post{
    margin-left: 40px;
}

    
}

@media screen and (min-width: 1020px) and (max-width: 1100px) and (orientation: landscape){
    
    #menu-links {
   float: right;

       }
      
      
      #menu-links ul {
	
     	 padding-left: 10em;
    
	}
        
        .hide-stuff{
            display:none;
        }  
    
         .pagination-links {
    position: relative;
    left:0em;
    margin: 48px 0;
    
}
}