/*
STYLE.CSS - tandijbefizetesek.hu
digiwood.hu 
WOODWORK
soos tamas alias piczege.porec

narancs       #e6772e
kék           #0c4e86
piros         #e64a45
szürke        #3d4c53
*/

@font-face {
  font-family: 'gothic';
  src: url('../fonts/gothic.eot');
  src: local('gothic'), 
       url('../fonts/gothic.woff') format('woff'), 
       url('../fonts/othic.ttf') format('truetype');
}
@font-face {
      font-family: 'wfont';
      src: url('../fonts/wfont/font/wfont.eot?24457390');
      src: url('../fonts/wfont/font/wfont.eot?24457390#iefix') format('embedded-opentype'),
           url('../fonts/wfont/font/wfont.woff?24457390') format('woff'),
           url('../fonts/wfont/font/wfont.ttf?24457390') format('truetype'),
           url('../fonts/wfont/font/wfont.svg?24457390#wfont') format('svg');
      font-weight: normal;
      font-style: normal;
    }
@font-face {
	font-family: 'Raleway-Regular';
	src: url('../fonts/Raleway-Regular.eot');
	src: local('☺'), 
	     url('../fonts/Raleway-Regular.woff') format('woff'), 
	     url('../fonts/Raleway-Regular.ttf') format('truetype'), 
	     url('../fonts/Raleway-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Raleway-Thin';
	src: url('../fonts/Raleway-Thin.eot');
	src: local('☺'), 
	url('../fonts/Raleway-Thin.woff') format('woff'), 
	url('../fonts/Raleway-Thin.ttf') format('truetype'), 
	url('../fonts/Raleway-Thin.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
  font-family: 'Raleway-ExtraBold';
  src: url('../fonts/Raleway-ExtraBold.eot');
  src: local('0'),
    url('../fonts/Raleway-ExtraBold.woff') format('woff'),
    url('../fonts/Raleway-ExtraBold.ttf') format('truetype'),
    url('../fonts/Raleway-ExtraBold.svg') format('svg');
  font-weight: 800;
  font-style: normal;
}
body { 
  background: #F3F3F3 !important;
  color: #303C6C !important;
  font-family: 'gothic' !important;
  font-size: 20px !important;
  line-height: 1.6;  
}
.bgk-red{background-color: #a31e04;}
.color-red{color: #a31e04 !important;}
.bgk-lightgrey{background-color: #aaaca9;}
.color-lightgrey{color: #aaaca9 !important;}
.bgk-darkgrey{background-color: #42483e;}
.color-darkgrey{color: #42483e !important;}
.bgk-lightcream{background-color: #e4c880;}
.color-lightcream{color: #e4c880 !important;}
.bgk-darkcream{background-color: #bd993c;}
.color-darkcream{color: #bd993c !important;}
.color-white{color: #fff !important;}
.color-green{color: #A3B745 !important;}
.bgk-ovlightblue{background-color: #329A9A;}
.color-ovilightblue{color: #329A9A !important;}
.bgk-ovidarkblue{background-color: #285653;}
.color-ovidarkblue{color: #285653 !important;}

.bgk-black{background-color: #000;}
.color-white{color: #fff !important;}

.hide{display:none;}

.demo-icon
  {
    font-family: "wfont";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 1.2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  }
.the-icons {
  font-size: 30px;
  line-height: 24px;
}
.the-icons-small {
  font-size: 18px;
  line-height: 24px;
}
.orangeicon{
  color: #0c4e86;
  font-size: 24px;
}
.orangeicon-small{
  color: #0C4E87;
  font-size: 20px;
}
.pdftitle{
  font-size: 18px;
  margin-left: 10px;
}
.h-1200{
  height:1200px;
}
.w100{
  width:100%;
}
/*-----------------------------------*\
  $MAINPAGE
\*-----------------------------------*/
.edited{
  /*margin-left: -40px;*/
  font-size: 22px;
}
.mainpage{ 
  display:flex; 
}
#content{
  transition: margin-left .8s;
  /*height: 100vh; */
  padding: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;  
}
.mheader{
  width:768px !important;
  display:block !important;
  margin: 0 auto;
}
.mheader h3{
  color: white;
  margin-left: 30px;
  font-size: 38px;  
}
.maincontent-container{
  width:100%;
  margin:auto;
  background-color: #B4DFE5;
}
.maininfo-content{
  margin-top: 20px;
  font-weight: 300;
  font-size: 22px;
}
.content-container{
  width:100%;
  margin:auto;
  background-color: #B4DFE5;
}
.content-maintitle{
  width: 100%;
  display: inline-block;
  font-size: 112px;
  line-height: 0.8;
  margin-top: 30px;
  /*opacity: 0.5;*/
}
.content-subtitle{
    font-size: 48px;
    line-height: 1.4;
    margin-top: -102px;
    margin-right: 153px;
    margin-bottom: 96px;
    text-align: right;
    font-family: 'Raleway-ExtraBold';
    color: #a31e04;
}
.rbuttons{
  width:100%;
  margin:auto;
  background-color: #303C6C;
  height: 80px;
  padding-top: 8px; 
}
.mainbutton{
  padding: 3px 10px;
  background-color: #F39063 !important;
  border-radius: 5px;
  border-color: #F39063 !important;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 4px solid;
  line-height: 1.5;
  color: #fff !important; 
  margin-top: 10px;
  margin-right: 10px;
  float: right;
  text-transform: uppercase;
  font-weight: 600;      
}
.mainbutton:hover{
  color: #303C6C !important;     
}
.ybutton {
    background-color: transparent;
    padding: 10px 20px;
    color: #0c4e86 !important;
    border: 1px solid #0c4e86;
    cursor: pointer;
    float: right;
    border-radius: 3px;
    display: inline-block;
  }
.datatable{
  width: 100%;
  padding: 10px 17px;
  display: inline-block;
  background: #fff;
  border: 1px solid #E6E9ED;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
  opacity: 1;
}
.tabletitle{
  border-bottom: 2px solid #E6E9ED;
  padding: 1px 5px 6px;
  margin-bottom:30px;
  position:relative;
  height: 50px;  
}
.dib{
  display: inline-block;
}
.formitem{
  display: flex;
  margin-bottom: -10px;
}
.formlabel{
  text-align: right;
  position: relative;
  min-height: 1px;
  float: left;
  padding-right: 10px;
  padding-left: 10px;
  /*margin-top: 4px;*/
  order: 0 !important;  
}
.forminput{
  display: flex;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #888;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;  
}
.forminput-small{
  width: 10%;
  height: 38px;
  padding: 6px 6px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #888;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;  
}
.formhelp{
  font-size: 12px;
  color: #bbb;
}
textarea.forminput {
  height: 150px;
  font-size: 16px;
}
.dataitem{
  display: flex;
  margin-bottom: -25px;
}
.datainput{
  display: flex;
  width: 100%;
  height: 24px;
  padding-top: 2px;
  line-height: 1.5;
  color: #888;
  background-color: #fff;
  background-clip: padding-box;
  border: none; 
}
.formbutton{
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; 
  cursor: pointer; 
  margin-bottom: 20px;
}
.yellowbutton{
  background: #0c4e86;
  border: 1px solid #0c4e86;  
}
.archivtitle{
  height: 30px;
  text-align: right;
  background-color: #ddd;
}
.archivtitle:hover{
  background-color: #eee;
}
.archivtitle a{
  color: #A31E04 !important;
  font-size: 18px;
  font-weight: 600;
}
.archivtitle a:hover{
  color: #0c4e86 !important;
}
.archivbox{
  background-color: #e3e3e3;
  padding: 5px;
  line-height: 1.3;
  height: 102px;
}
.input-1 {
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  color: #555;
  display: block;
  font-size: 14px;
  height: 34px;
  line-height: 1.42857;
  padding: 6px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 100%;  
  margin-bottom: 10px;
}
.info{
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  padding-left: 30px;  
}
.courses{
  margin-top:20px; 
  margin-bottom:5px; 
  width:768px;
}
/*-----------------------------------*\
  $KAPCSOLÓ

<label class="switch">
  <input type="checkbox" checked>
  <span class="switchslider round"></span>
</label>  

style="float: right; margin-top: -35px;"
\*-----------------------------------*/
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
  margin-top: 20px;
  margin-bottom: 18px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.switchslider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.switchslider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .switchslider {
  background-color: #71C39A;
}
input:focus + .switchslider {
  box-shadow: 0 0 1px #00C176;
}
input:checked + .switchslider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.switchslider.round {
  border-radius: 34px;
}
.switchslider.round:before {
  border-radius: 50%;
}   
/*-----------------------------------*\
  PRODUCTS
\*-----------------------------------*/
#info{
    margin: 10px auto 10px auto;
    padding: 0 5px;
    overflow: hidden;
    position: relative;
    width: 768px;
}
#maininfo{
    margin: 0 auto;
    /*margin-top: 50px;*/
    overflow: hidden;
    position: relative;
    width: 768px;
}
#carousel{
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    width: 768px;
}
#carousel img{
  width: 236px;
}
.carousel-slide{
  position: relative;
  border: 10px solid transparent;
  color: #888;
  float: left;
  font-size: 20px;
  height: 256px;
  width: 256px;
}
#products{

}
.products-subtitle{
  padding: 10px;
}
.subtitle-span{
  color: #303C6C !important;
  font-family: 'gothic' !important;
  font-size: 26px !important;
  font-weight: 700; 
} 
.products-subtitle h3{
  color: #303C6C !important;
  font-size: 26px !important;
  margin-top: -10px !important;
  margin-bottom: 0px !important;
  text-align: left !important;
  font-weight: 600;
}
.products-subtitle h3 span{
  color: #000 !important;
  font-size: 48px !important;  
}
.products-subtitle p {
    font-size: 20px !important;
    line-height: 1.3;
    color: #000;
  }
.product-content{
  color: #555;
  font-size: 18px;
  font-family: 'Raleway-Regular';
} 
.product-content img{
  width: 100%;
}
.product-content h2{
  color: #e6772e;
  font-size: 36px;
  font-family: 'Raleway-Regular'; 
  line-height: 1.3; 
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 1rem;
  position: relative;    
  border-bottom-color: rgba(230, 119, 46, 0.3);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}
.product-content h2::after{
  content: "";
  display: block;
  height: 0.4rem;
  left: 50%;
  margin-left: -2rem;
  margin-top: -0.2rem;
  position: absolute;
  top: 100%;
  width: 4rem; 
  background-color: #e6772e; 
}
.product-content h3{
  color: #329A9A;
  font-size: 24px;
  font-family: 'Raleway-Regular'; 
  line-height: 1.1;     
  text-align: center;
  margin-bottom: 20px;
  margin-top: -28px;
}
.productimage-container {
    width: 100%;
    overflow: hidden;
}
.productimage {
  width: 100%;
  height: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out; 
}
.productimage:hover{
  -webkit-transform: scale(1.1);
  transform: scale(1.1); 
}
.pricebox{
    background-color: #0c4e86;
    top: 12px;
    color: #fff;
    font-weight: 500;
    padding: 3px 10px;
    position: absolute;
    right: 12px;
    z-index: 5;
    border-radius: 3px;
}
.producttitle{
  height:170px;
  overflow: hidden;
}
.producttitle h3{
  margin-top: 40px;
  font-size: 18px;
  text-align:center;
}
.titlebox{
    top: 200px;
    color: #000 !important;
    position: absolute;
    font-size: 22px !important;
    background-color: rgb(255,255,255,0.6);
    width: 100%;
}
.subtitlebox{
    top: 200px;
    color: #a31e04 !important;
    position: absolute;
    left: 20px;
    font-size: 14px !important;
    font-family: Raleway-ExtraBold;
}
.headerpic{
  width: 500px !important;
  position: relative;
  /*z-index: -1;*/
}
.matematika, .magyar{
  color: #303C6C;
  font-family: gothic;
  font-size: 26px;
  font-weight: 600;  
}
.matematika{
  text-align: left;
}
.place{
  border-right: 1px solid #0c4e86;
}
/*-----------------------------------*\
  FOOTER
\*-----------------------------------*/
footer{
  background-color: #B4DFE5;
  text-align: center;
  color: #303C6C;
  line-height: 1.3;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 160px;
  display:flex;
}
.copyright{
  color: #303C6C;
  font-size: 16px;
}
.footertext{
  color:#303C6C;
  font-size: 16px;
}
.footertext a{

}
.footertext a:hover{
  color: #fff;
}
/*-----------------------------------*\
  $MESSAGES
\*-----------------------------------*/
#message_error {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,.1);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  background: #cf1538;
}
#message_warning {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,.1);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  background: #ffaa57;
}
#message_ok {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,.1);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
  background: #a9cc5b;
}
.messagebutton{
  float: right;
  cursor: pointer;
}
/*-----------------------------------*\
  RESP
\*-----------------------------------*/
@media screen and (max-width: 768px) {
  .hide{
    display:block;
  }
  #content.mainpage {
  background: url(../img/main.jpg) no-repeat; 
  }        
  #content { 
    /*margin-left: -68px;    */
  }
  .content-container{
    padding: 10px;
    padding-left: 8%;
  }
  .maincontent-container{
    width:100%;
  }   
  .content-maintitle{
    font-size: 68px;
    margin-top: 30px;
  }
  .content-subtitle{
    margin-left: 0;
    margin-top: 0;
    font-family: 'Raleway-Regular';
    font-size: 25px;
  }
  .rbuttons{
    margin-top: 0 !important;
  }
  .mainbutton{
    padding: 5px 3px;
    margin-top: 10px;
    margin-right: 5px; 
    text-transform: none; 
  }
  #maininfo{
    width:100%;
  }
  .menubox{
    height:160px;         
  }
.subtitle-span{
  letter-spacing: 2px;  
  }
#products{
  margin-top: -70px;
}
#carousel{
  width: 360px !important; /* 280px */
  /*margin-left:15px; */
  }
#info{
  width: 320px !important; /* 280px */
  /*margin-left:15px; */
  }  
.carousel-slide{
  height: 355px;
  width: 355px;
  }
#carousel img {
    width: 335px;
  }
.purejscarousel-btn {
    /*top: 20% !important;*/
  }  
.titlebox {
    top: 260px;
    font-size: 38px !important;
  }
.subtitlebox {
    top: 280px;
    font-size: 25px !important;
  }
.products-subtitle{
    margin-top: 0 !important;
  }
.product-content h3 {
  text-align: left;
  font-size: 30px !important;
  }
.products-subtitle h3 {
    color: #a31e04 !important;
    font-size: 30px !important;
    text-align: center  !important;
  }
.products-subtitle p{
    width: 100%;
  }  
.headerpic{
    width: 100% !important;
  }
.matek{
  text-align:left;
  }
.place{
  border-right: none;
  }
.h-1200{
    height:1600px;
  }
.forminput-small{
    width:14%;
  }
.mheader{
  width:100% !important;
}                       
.formlabel{
  width: 30% !important;
}
.courses{
  width:100%;
}
footer{
  margin-top:340px;
}   
}  