/* Language homepage styles.

   developer:   marionm (updated by estevaot, April 12th 2021)
   requires:    /language/css/language.css.en
   ========================================================================== */


/* language overrides
   ========================================================================== */

#main-content.grid-auto>*>* {
    padding: 0 60px 0 0;
    width: 340px;
}

#main-content.grid-auto>*>*:last-child {
    padding: 0;
    width: 280px;
}

#language-header {
    padding-top: 60px;
    background:none;
}

#language-header h1 {
    color: black;
    padding-left: 30px;
}

#language-header h1 div {
    background: url('/language/img/Wolfram-Language-Symbol.png') no-repeat left center;
    color: #000000;
    font-size: 70px;
    height: 210px;
    line-height: 210px;
    padding: 0 0 0 197px;
    font-weight: bolder;
}

#language-header h1 small {
    top: -65px;
    position: relative;
    left: 195px;
    color: #d71318;
    font-size: 27px;
    font-weight: bolder;
    font-style: italic;
    display: block;
}

#language-header h2 {
    color: #d71318;
    font-size: 27px;
    font-style: italic;
}

#language-header h3 {
    font-size: 21px;
    color: #474646;
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* main overrides
   ========================================================================== */

.language main {
    padding: 0 0 100px 0;
}

/* page header
   ========================================================================== */

#description {
    margin: 0 0 40px 0;
}

#description h2 {
    color: #f77700;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    margin: 1.2rem 0 1rem;
    font-style: italic;
}

#description h3 {
    color: #474646;
    font-size: 21px;
    font-weight: 600;
    line-height: 36px;
    margin: 0;
    display: inline;
}

#description p {
    font-size: 21px;
    line-height: 36px;
    color: #4e4d4d;
    font-weight: 400;
    margin: 0 0 20px 0;
    display: inline;
}

#description span.highlight {
    color: #555555;
    font-size: 100%;
    font-weight: 600;
}
.mini-m.left-57 {
    margin: 0 0 0 57px;
    border-bottom: 0;
    padding-bottom: 0;
}

#description nav {
    display: grid;
    grid-template-columns: 30% 25% 20% 25%;
    grid-template-rows: auto;
    margin: 45px 0;
    border: 1px solid #ccc;
    border-right: 0;
    border-left: 0;
    padding: 25px 0;
    justify-items: center;
}

#description nav a {
    align-self: center;
    justify-self: center;
}

#description nav a:hover, 
#description nav a:hover div span {
    color: #f77700;
}

#description nav a:nth-child(3) {
    margin-left: 2rem;
}

#description nav img {
    margin: -2px 9px 0 0;
}

#description .new-functions-list {
    top: 140px;
}

#description nav .mini-m {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: #333;
}

#description nav a > div {line-height: 1.2;}


/* main-content
   ========================================================================== */

#main-content a:hover img,
#main-content a:active img {
    opacity: .8;
}

#main-content .h4 {
    color: #444;
    font-size: 18px;
}

#main-content a:hover .h4,
#main-content a:active .h4 {
    color: #f77700;
}


/* eiwl section
   ========================================================================== */

#eiwl {
    padding-top: 45px;
}

#eiwl h2,
#footer h2 {
    color: #f77700;
    font-size: 21px;
    font-weight: 400;
    margin: 10px 0;
}

#eiwl div a {
    color: #393939;
    display: block;
    font-weight: 600;
    line-height: 120%;
    position: relative;
    width: 40%;
    margin: 0 .5rem;
	font-size: 95%;
}

#eiwl #experienced a {
    margin-right: 0rem; 
	width: 25%;
}

#eiwl #experienced a.long {
	width: 38%;
}

#eiwl #experienced a.long h2:hover {
	color: #f77700;
}

#eiwl a:hover {
    color: #f77700;
}

#eiwl img {
    float: left;
    margin: 0 10px 0 0;
    vertical-align: top;
}

#eiwl span {
    position: relative;
    vertical-align: top;
}

#eiwl #experienced {
	background: url('/language/img/back-experienced-2.png') no-repeat left center; 
	width: 963px; 
	height: 127px;
    padding: 45px 0;
    margin-bottom: 45px;
}

#eiwl #experienced  h2{
	font-size: 18px; 
	font-style: italic; 
	padding: 10px 0 0 20px; 
	margin: 40px 0 15px 0; 
	color: #0696b6;
}

#eiwl #new {
	background: url('/language/img/back-new-2.png') no-repeat left center; 
	width: 963px; 
	height: 127px;
    padding: 44px 0;
}

#eiwl #new h2 {
	font-size: 18px; 
	font-style: italic; 
	padding: 10px 0 0 20px; 
	margin: 40px 0 15px 0;
}

#eiwl .first {
	margin-left: 3rem;
}

#eiwl #experienced a.second {
	width: 19%; 
	margin-left: 2.8rem;
}

#eiwl .free {
	background-color: #ed4402; 
	color: #fff; 
	border-radius: 2px; 
	font-size: 9px; 
	margin-left: 6px; 
	padding: 1px 6px;
}


#eiwl h2 {
    font-size: 18.6px;
    line-height: 14px;
    color: #454545;
    font-style: italic;
}

/* page footer
   ========================================================================== */

.home hr {
    margin: 50px 0 5px;
    height: 2px;
    border-top: 0;
    background: #f77700;
}

#footer {
    margin-top: 40px;	
}

#footer h2 {
    margin: 0 0 10px 0;
	font-size: 18.6px; 
	font-style: italic; 
	padding: 0; 
	color: #5e635f;
}

#footer p {
    font-size: 18px;
}

#footer a {
    color: #393939;
    font-weight: 600;
}

#footer a:hover,
#footer a:active {
    color: #f77700;
}

#footer span {
    color: #ddd;
    display: inline-block;
    margin: 0 8px 0 4px;
}

#footer span.chevron-after {
    color: #f77700;
    font-size: 20px;
}

#footer ul {
    list-style: none;
}

#footer .right {
    float: right;
}

#footer .right img {
    margin: 0 8px 0 0;
    vertical-align: top;
}

#footer .grid-auto {
    margin: 0 0 0 10px;
}

#footer .grid-auto>ul {
    padding: 0;
    width: 230px;
    display: inline-block;
    vertical-align: top;
}

#footer .grid-auto li {
    display: block;
    float: none;
}