:root{
--text-color:white;
--base-color:#36454F;
--secondary-color: white;
}

.whitemode
{
--text-color:black;
--base-color:white;
--secondary-color: #36454F;
}



.fa {
  text-align: center;
  padding: 5px;
  font-size: 40px;
  width: 30px;
  text-decoration: none;
  margin: 0px 5px 0px 0px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

/*Kinézet az oldalon*/
* {
  box-sizing: border-box;
}

html {
    height:100%;
}

Body {
	color:var(--text-color);
	background-color:var(--base-color);
	margin: auto;
	width:100%;
	min-height:100%; 
	position:relative;
}

#theme-switch{
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  border:0px;
  background-color: var(--base-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
}

#theme-switch svg{
fill: var(--secondary-color);
}

#theme-switch svg:last-child{
display: none;
}

.whitemode #theme-switch svg:first-child{
display: none;
}

.whitemode #theme-switch svg:last-child{
  display: block;
}
/*Fejléc*/
.header
{
	width:100%;
	height: 70px;
	background-color: #D4E7F3;
	margin: 0px;
}
.header h2
{
	color: blue;
	text-align: center;
	padding: 12px;
	font-family: Verdana;
	margin:0px;
}
.header a
{
	float: left;
	text-align: center;
	box-sizing: border-box;
	padding-left: 10px;
	padding-top: 5px;
}

.navbar 
{
	overflow: hidden;
	background-color: #333;
}

.navbar a
{
  float: left;
  font-size: 17px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown 
{
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn 
{
  font-size: 17px;  
  border: none;
  outline: none;
  color: white;
  padding: 10px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
/* színezés az aktívhoz */
.navbar a.active 
{
  background-color: #AFE1AF;
  color: #00A36C;
}

.navbar a:hover, .dropdown:hover .dropbtn 
{
  background-color: #ddd;
  color: black;
}

.dropdown-content 
{
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a 
{
  float: none;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover 
{
  background-color: #ddd;
}

.dropdown:hover .dropdown-content 
{
  display: block;
}

.column 
{
  float: left;
  width: 50%;
  padding: 10px;
  text-align:left;
}

/* a sor miatt kell, hogy ne lebegjenek egymásra a hasábok */
.row:after 
{
  content: "";
  display: table;
  clear: both;
}

/* Responzivitás*/
@media screen and (max-width: 600px) 
{
  .column {
    width: 100%;
  }
}

/*index oldal article rész*/
.articles
{
	width:100%;
}

/*munkák h1 részei*/
#h2
{
	width: 70%;
	border-bottom:1px solid #D4E7F3;
	/*font-style:italic;*/
	text-align:left;
	overflow:auto;
	margin: 50px auto 15px auto;
}


/*munkak elsö cikk*/
#article
{
	width: 70%;
	text-align:left;
	overflow:auto;
	font-size:17px;
	margin: 15px auto 15px auto;
}


/*Képek*/
div.polaroid {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  background-color: white;
  margin-bottom: 25px;
}

div.container_inside {
  text-align: center;
  font-style:italic;
  padding: 10px 20px;
}

.container {
  position: relative;
  width: 100%;
  display: block;
  margin:auto;
}
/*Az eltűnős gombhoz*/
.image {
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #333;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
/*A link a boxban*/
#linkinbox a:link{
	color:white;
}

#linkinbox a:visited{
	color:hotpink;
}
#linkinbox a:hover{
	color:yellow;
}
/*Egészen idáig*/

/*Láb*/
#footer_stlye_for_div { /*Doboz kinézete*/
	background-color:#D4E7F3;
	border-radius:5px;
	margin:auto;
}

#footer_column { /*Doboz tartalma*/
	text-align:center;
	float: left;
	width: 33.33%;
	margin:auto;
}

#footer_row:after { /*Következő tartalom*/
	content: "";
	display: table;
	clear: both;
	margin:auto;
}


/*Világos mód gomb
.white-mode {
  background-color: white;
  color: black;
}
*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 39px; /*60*/
  height: 22px; /*34*/
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider.round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 16px; /*26*/
  width: 16px; /*26*/
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider.round {
  /*background-color: #2196F3;*/
  background-color: black;
}

input:focus + .slider.round {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider.round:before {
  -webkit-transform: translateX(15px); /*26*/
  -ms-transform: translateX(15px); /*26*/
  transform: translateX(14px); /*26*/
}

.links a:hover{
	color:#FFBF00;
}

.links a{
	color:#8A9A5B;
}

.footer {
    background-color: #4B61D1;
    height: 55px;
    position:absolute;
	bottom:0px;
	width: 100%;
}

.footer h4 {
	color: white;
	font-weight:bold;
	font-style:italic;
	text-align: center;
}

.footer-ghost{
	height:55px; 
}

pre code {
  background: #273138;
  font-family: 'Courier New', Courier, monospace;
  font-size:14px;
  border-radius: 7px;
  display: block;
  color: white;
  width: 960px;
  margin: auto;
  white-space: pre-line;
  word-wrap: break-word;
  white-space: -moz-pre-line;
  white-space: -o-pre-line;
  padding: 20px;
}


.outer {
  background: #b4b4b4;
  opacity: 0.9;
  width: 960px;
  margin: 10px auto;
  border-radius: 7px 7px 8px 8px;
  

  &.yosemite {
    background: #f6f6f6; /* Old browsers */
    background: -moz-linear-gradient(top,  #f6f6f6 0%, #dadada 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#dadada)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f6f6f6 0%,#dadada 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f6f6f6 0%,#dadada 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f6f6f6 0%,#dadada 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f6f6f6 0%,#dadada 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#dadada',GradientType=0 ); /* IE6-9 */

  }
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #f9f9f9;
  border-radius: 50%;
  margin: 10px 4px 0 4px ;
  
  &.red {
    background: #FF6057;
    border: 1px solid #E14640;
  }

  &.amber {
    background: #FFBD2E;
    border: 1px solid #DFA123;
  }

  &.green {
    background: #27C93F;
    border: 1px solid #1DAD2B;
  }
}

.mac-content {
  padding: 10px;
  background: #273138;
  border-radius: 0px 0px 7px 7px;
}
