/* W3C styles */

.w3-input{padding:4px;display:block;border:none;border-bottom:1px solid #ccc;width:35%}
.w3-input-medium{padding:4px;display:block;border:none;border-bottom:1px solid #ccc;width:50%}
.w3-input-long{padding:4px;display:block;border:none;border-bottom:1px solid #ccc;width:90%}
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{float:left;width:100%}
@media (min-width:601px){
	.w3-col.m1{width:8.33333%}
	.w3-col.m2{width:16.66666%}
	.w3-col.m3,.w3-quarter{width:24.99999%}
	.w3-col.m4,.w3-third{width:33.33333%}
	.w3-col.m5{width:41.66666%}
	.w3-col.m6,.w3-half{width:49.99999%}
	.w3-col.m7{width:58.33333%}
	.w3-col.m8,
	.w3-twothird{width:66.66666%}
	.w3-col.m9,
	.w3-threequarter{width:74.99999%}
	.w3-col.m10{width:83.33333%}
	.w3-col.m11{width:91.66666%}
	.w3-col.m12{width:99.99999%}
}
@media (min-width:993px){
	.w3-col.l1{width:8.33333%}.w3-col.l2{width:16.66666%}
	.w3-col.l3{width:24.99999%}.w3-col.l4{width:33.33333%}
	.w3-col.l5{width:41.66666%}.w3-col.l6{width:49.99999%}
	.w3-col.l7{width:58.33333%}.w3-col.l8{width:66.66666%}
	.w3-col.l9{width:74.99999%}.w3-col.l10{width:83.33333%}
	.w3-col.l11{width:91.66666%}.w3-col.l12{width:99.99999%}
}
/*     
.w3-content{max-width:980px;margin:auto}.w3-rest{overflow:hidden}

.w3-content{max-width:1280px;margin:auto}.w3-rest{overflow:hidden}
*/
.w3-content{max-width:980px;margin:auto}.w3-rest{overflow:hidden}
.w3-hide{display:none!important}.w3-show-block,.w3-show{display:block!important}.w3-show-inline-block{display:inline-block!important}

@media (max-width:601px){
	.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}
}
@media (min-width:993px){
	.w3-hide-large{display:none!important}
}
@media (max-width:992px) and (min-width:601px){
	.w3-hide-medium{display:none!important}
}
@media (max-width:1024px) and (min-width:601px){
	.w3-hide-tablet{display:none!important}
}

.w3-top,.w3-bottom{position:fixed;width:100%;z-index:1}.w3-top{top:0}.w3-bottom{bottom:0}
.w3-border-top{border-top:1px solid #ccc!important}.w3-border-bottom{border-bottom:1px solid #ccc!important}
.w3-border-left{border-left:1px solid #ccc!important}.w3-border-right{border-right:1px solid #ccc!important}

/*
.w3-display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
.w3-display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
*/
.w3-display-left{position:fixed;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
.w3-display-right{position:fixed;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}

.w3-display-container:hover .w3-display-hover{display:block}.w3-display-container:hover span.w3-display-hover{display:inline-block}.w3-display-hover{display:none}
.w3-row-padding,.w3-row-padding>.w3-half,.w3-row-padding>.w3-third,.w3-row-padding>.w3-twothird,.w3-row-padding>.w3-threequarter,.w3-row-padding>.w3-quarter,.w3-row-padding>.w3-col{padding:0 8px}
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}

.w3-image{max-width:100%;height:auto}img{margin-bottom:-5px}a{color:inherit}
.w3-card,.w3-card-2{box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.w3-card-4,.w3-hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}

.w3-bar-block .w3-dropdown-hover,.w3-bar-block .w3-dropdown-click{width:100%}
.w3-bar-block .w3-dropdown-hover .w3-dropdown-content,.w3-bar-block .w3-dropdown-click .w3-dropdown-content{min-width:100%}
.w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;padding:8px 16px}
.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;outline:none;display:block}
.w3-bar .w3-dropdown-hover,.w3-bar .w3-dropdown-click{position:static;float:left}
.w3-bar .w3-button{white-space:normal}
.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;outline:none;white-space:normal;float:none}
.w3-bar-block.w3-center .w3-bar-item{text-align:center}.w3-block{display:block;width:100%}

.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}
.w3-margin{margin:16px!important}
.w3-margin-top{margin-top:16px!important}
.w3-margin-bottom{margin-bottom:16px!important}
.w3-margin-left{margin-left:16px!important}
.w3-margin-right{margin-right:16px!important}
.w3-padding-small{padding:4px 8px!important}
.w3-padding-medium{padding:8px 16px!important}
.w3-padding{padding:8px 16px!important}
.w3-padding-large{padding:12px 24px!important}
.w3-padding-8{padding-top:8px!important;padding-bottom:8px!important}
.w3-padding-12{padding-top:12px!important;padding-bottom:12px!important}
.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}
.w3-padding-24{padding-top:24px!important;padding-bottom:24px!important}
.w3-padding-30{padding-top:30px!important;padding-bottom:30px!important}
.w3-padding-32{padding-top:32px!important;padding-bottom:32px!important}
.w3-padding-36{padding-top:36px!important;padding-bottom:36px!important}
.w3-padding-40{padding-top:40px!important;padding-bottom:40px!important}
.w3-padding-44{padding-top:44px!important;padding-bottom:44px!important}
.w3-padding-48{padding-top:48px!important;padding-bottom:48px!important}
.w3-padding-56{padding-top:56px!important;padding-bottom:56px!important}
.w3-padding-64{padding-top:64px!important;padding-bottom:64px!important}

.w3-padding-68{padding-top:68px!important;padding-bottom:68px!important}
.w3-padding-72{padding-top:72px!important;padding-bottom:72px!important}
.w3-padding-76{padding-top:76px!important;padding-bottom:76px!important}
.w3-padding-80{padding-top:80px!important;padding-bottom:80px!important}
.w3-padding-84{padding-top:84px!important;padding-bottom:84px!important}
.w3-padding-88{padding-top:88px!important;padding-bottom:88px!important}

.w3-padding-top-8{padding-top:8px!important}
.w3-padding-top-12{padding-top:12px!important}
.w3-padding-top-16{padding-top:16px!important}
.w3-padding-top-24{padding-top:24px!important}



.w3-left{float:left!important}
.w3-right{float:right!important}
.w3-button:hover{color:#000!important;background-color:#ccc!important}
.w3-btn,.w3-button{border:none;display:inline-block;outline:0;padding:8px  16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-transparent,.w3-hover-none:hover{background-color:transparent!important}
.w3-hover-none:hover{box-shadow:none!important}

/* Overrides */
.w3-button{
	padding:8px  8px;
}

/* Colors */
.w3-amber,.w3-hover-amber:hover{color:#000!important;background-color:#ffc107!important}
.w3-aqua,.w3-hover-aqua:hover{color:#000!important;background-color:#00ffff!important}
.w3-blue,.w3-hover-blue:hover{color:#fff!important;background-color:#2196F3!important}
.w3-light-blue,.w3-hover-light-blue:hover{color:#000!important;background-color:#87CEEB!important}
.w3-brown,.w3-hover-brown:hover{color:#fff!important;background-color:#795548!important}
.w3-cyan,.w3-hover-cyan:hover{color:#000!important;background-color:#00bcd4!important}
.w3-blue-grey,.w3-hover-blue-grey:hover,.w3-blue-gray,.w3-hover-blue-gray:hover{color:#fff!important;background-color:#607d8b!important}
.w3-green,.w3-hover-green:hover{color:#fff!important;background-color:#4CAF50!important}
.w3-light-green,.w3-hover-light-green:hover{color:#000!important;background-color:#8bc34a!important}
.w3-indigo,.w3-hover-indigo:hover{color:#fff!important;background-color:#3f51b5!important}
.w3-khaki,.w3-hover-khaki:hover{color:#000!important;background-color:#f0e68c!important}
.w3-lime,.w3-hover-lime:hover{color:#000!important;background-color:#cddc39!important}
.w3-orange,.w3-hover-orange:hover{color:#000!important;background-color:#ff9800!important}
.w3-deep-orange,.w3-hover-deep-orange:hover{color:#fff!important;background-color:#ff5722!important}
.w3-pink,.w3-hover-pink:hover{color:#fff!important;background-color:#e91e63!important}
.w3-purple,.w3-hover-purple:hover{color:#fff!important;background-color:#9c27b0!important}
.w3-deep-purple,.w3-hover-deep-purple:hover{color:#fff!important;background-color:#673ab7!important}
.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#f44336!important}
.w3-sand,.w3-hover-sand:hover{color:#000!important;background-color:#fdf5e6!important}
.w3-teal,.w3-hover-teal:hover{color:#fff!important;background-color:#009688!important}
.w3-yellow,.w3-hover-yellow:hover{color:#000!important;background-color:#ffeb3b!important}
.w3-white,.w3-hover-white:hover{color:#000!important;background-color:#fff!important}
.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
.w3-grey,.w3-hover-grey:hover,.w3-gray,.w3-hover-gray:hover{color:#000!important;background-color:#bbb!important}
.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}
.w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#fff!important;background-color:#616161!important}
.w3-pale-red,.w3-hover-pale-red:hover{color:#000!important;background-color:#ffdddd!important}
.w3-pale-green,.w3-hover-pale-green:hover{color:#000!important;background-color:#ddffdd!important}
.w3-pale-yellow,.w3-hover-pale-yellow:hover{color:#000!important;background-color:#ffffcc!important}
.w3-pale-blue,.w3-hover-pale-blue:hover{color:#000!important;background-color:#ddffff!important}
.w3-text-red,.w3-hover-text-red:hover{color:#f44336!important}
.w3-text-green,.w3-hover-text-green:hover{color:#4CAF50!important}
.w3-text-blue,.w3-hover-text-blue:hover{color:#2196F3!important}
.w3-text-yellow,.w3-hover-text-yellow:hover{color:#ffeb3b!important}
.w3-text-white,.w3-hover-text-white:hover{color:#fff!important}
.w3-text-black,.w3-hover-text-black:hover{color:#000!important}
.w3-text-grey,.w3-hover-text-grey:hover,.w3-text-gray,.w3-hover-text-gray:hover{color:#757575!important}

/* Tennin Books colors */
.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#11345E!important}
.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#11345E!important;background-color:#fff!important}

//.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#234A83!important}
//.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#234A83!important;background-color:#fff!important}

//.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#0A1D3B!important}
//.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#0A1D3B!important;background-color:#fff!important}

//.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#11375B!important}
//.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#11375B!important;background-color:#fff!important}

//.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#305A8A!important}
//.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#305A8A!important;background-color:#fff!important}

//.w3-tennin,.w3-tennin-hover:hover{color:#fff!important;background-color:#0D192F!important}
//.w3-text-tennin-med,.w3-hover-text-tennin-med:hover{color:#0D192F!important;background-color:#fff!important}

.w3-text-amber{color:#ffc107!important}
.w3-text-aqua{color:#00ffff!important}
.w3-text-light-blue{color:#87CEEB!important}
.w3-text-brown{color:#795548!important}
.w3-text-cyan{color:#00bcd4!important}
.w3-text-blue-grey,.w3-text-blue-gray{color:#607d8b!important}
.w3-text-light-green{color:#8bc34a!important}
.w3-text-indigo{color:#3f51b5!important}
.w3-text-khaki{color:#b4aa50!important}
.w3-text-lime{color:#cddc39!important}
.w3-text-orange{color:#ff9800!important}
.w3-text-deep-orange{color:#ff5722!important}
.w3-text-pink{color:#e91e63!important}
.w3-text-purple{color:#9c27b0!important}
.w3-text-deep-purple{color:#673ab7!important}
.w3-text-sand,.w3-hover-text-sand:hover{color:#fdf5e6!important}
.w3-text-teal{color:#009688!important}
.w3-text-light-grey,.w3-hover-text-light-grey:hover,.w3-text-light-gray,.w3-hover-text-light-gray:hover{color:#f1f1f1!important}
.w3-text-dark-grey,.w3-hover-text-dark-grey:hover,.w3-text-dark-gray,.w3-hover-text-dark-gray:hover{color:#3a3a3a!important}
.w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important}
.w3-border-green,.w3-hover-border-green:hover{border-color:#4CAF50!important}
.w3-border-blue,.w3-hover-border-blue:hover{border-color:#2196F3!important}
.w3-border-yellow,.w3-hover-border-yellow:hover{border-color:#ffeb3b!important}
.w3-border-white,.w3-hover-border-white:hover{border-color:#fff!important}
.w3-border-black,.w3-hover-border-black:hover{border-color:#000!important}
.w3-border-grey,.w3-hover-border-grey:hover,.w3-border-gray,.w3-hover-border-gray:hover{border-color:#bbb!important}



/* Setting Changes for Tablets */

@media only screen and (min-width: 601px) {
	div.nav-g-upper{
		//no changes
	}
	.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:38%}
	.w3-input-medium{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:50%}
	.w3-input-long{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:90%}
}

/* Settings Changes for Desktops */

@media only screen and (min-width: 769px) {
	.w3-padding-80{
		padding-top:90px!important;
		padding-bottom:90px!important;
		// width:1024px;
	}
}



