/*
 Theme Name:     rrportfolio
 Theme URI:      http://rrportfolio.sk
 Author:         Ronald Ruzicka
 Author URI:     http://rrportfolio.sk
 Description:    Architect theme
 Version:        1.0.0
*/

/* ===================================
*        #Table of content
*
*        01. General
*        02. Grid
*        03. Typography
*        04. Header
*        05. Sidebar
*        06. Footer
*        07. Portfolio
*        08. Contact form
*        09. Awesome font icons
*        10. Accordion
*        11. Shadows
*        12. Isotope Masonry
*        . Media Queries
*
* =====================================*/

/*
Color palette
#195d8d - dark blue
#e9266d - pink
#B0C72B - green
*/

/* ===================================
            1. GENERAL
=====================================*/
body {
    font: 400 1em/1.5em Helvetica, 'Open Sans', Arial, sans-serif; /* font-style font-variant font-weight 1em/1.5em 'Open Sans', sans-serif; */
    background: #fff;
}

.left {
    float: left;
    padding-right: 1.5em;
}

.right {
    float: right;
    padding-left: 1.5em;
}

.full-width {
    clear: both;
    width: 100%;
}

.align-center {
    text-align: center;
}

#main {
    margin: 0 auto 2em;
    max-width: 1000px;
}

.main_inner {
    margin: 0 auto 1em;
}

.img_wrap {
    margin-bottom: 1.5em;
}

figure {
    margin: 0 1em 1em 0;
}

.map {
    width: 100%;
}

.partners {
    background: #eee;
    padding: 1em;
    text-align: center;
}

.partners ul {
    margin: 0;
}

.partners li {
    display: inline-block;
    margin: 10px 20px;
    vertical-align: middle;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
}

.partners li:hover {
    transform: translateY(-5px);  
    -ms-transform: translateY(5px);        /* IE 9 */  
    -webkit-transform: translateY(-5px);   /* Safari and Chrome */
}


/* ===================================
             2. GRID
=====================================*/
.column {
    float: left;
    padding: 0 0.75em 1.5em;
}

.row {
    margin-bottom: 1.5em;
    width: 100%;
}

.half {
    width: 50%;
}

.third {
    width: 33.3333%;
}

.two-thirds {
    width: 66.6666%;
}

.fourth {
    width: 25%;
}

.fifth {
    width: 20%;
}

.sixth {
    width: 16.6666%;
}

/* ===================================
            3. TYPOGRAPHY
=====================================*/
a {
    color: #B0C72B;
    display: inline-block;
    text-decoration: underline;  
    transition: all 0.2s ease-in;
    -webkit-transition:  all 0.2s ease-in;
}

a:hover {
    text-decoration: none;
}

a img {
    text-decoration: none;
    vertical-align: bottom;
}

.portfolio_link:hover {
    transform: translateY(0); 
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
}

div img {
    display: block;
}

p {
    color: #111;
    font-size: 0.875em;
    margin-bottom: 1.71428em;
	padding: 0 1.5em 0 0;
}

#footer p {
    color: #fff;
}

h1, h2, h3 {
    color: #195d8d;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin-bottom: 24px;
}

h1 {
    font-size: 2em;             /* 32px/16px = 2 */
    line-height: 1.125em;        /* 36px/32px = 1.125 */
   /* padding: 0 0 1.125em 0;*/     /* 36px/32px = 1.125 */
}

h2 {
    font-size: 1.5em;            /* 24px/16px = 1.5 */
    line-height: 1.3333em;            /* 32px/24px = 1.33333 */
    /*padding: 0 0 1em 0;   */       /* 24px/24px = 1 */
}

h3 {
    font-size: 1.125em;          /* 18px/16px = 1.125 */
    line-height: 1.3333em;       /* 24px/18px = 1.3333 */
   /* padding: 0 0 1.3333em 0;    */ /* 24px/16px = 1.3333 */
}

ul {
    font-size: 0.875em;
    margin-bottom: 1.5em;
}

small {
    font-size: 0.75em;
}

blockquote {
    color: #111;
    background: #f7fae6;
    border-left: 5px solid #B0C72B;
    font-size: 1em;
    font-style: italic;
    font-weight: 400;
    padding: 0.5em 1em;
    margin-bottom: 1.2em;
/*    quotes: "\201C""\201D""\2018""\2019";*/
}

strong {
    color: #B0C72B;
}

.image_title {
    font-size: 1em;
    padding: 0.6666em 0;
    text-align: center;
}

.label {
    color: #195d8d;  
}

::selection {
    background: #195d8d;
    color: #fff;
}

::-moz-selection {
    background: #195d8d;
    color: #fff;
    font-style: italic;
}

::-webkit-input-placeholder {
    color: #fff;
    font-size: 0.875em;
    font-style: italic;
}

:-moz-placeholder { /* Firefox 18- */
    color: #fff;
    font-size: 0.875em;
    font-style: italic;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #fff;  
    font-size: 0.875em;
    font-style: italic;
}

:-ms-input-placeholder {  
    color: #fff;  
    font-size: 0.875em;
    font-style: italic;
}

.main_sidebar h2 {
    font-size: 1.125em;
    margin-bottom: 0.83333em;
}

.main_sidebar p {
    font-size: 0.8125em;
    margin-bottom: 0.7692em;
}

.active {
    color: #111;
}

/* ===================================
              4. HEADER
=====================================*/
#header {
    margin: 0 auto;
    max-width: 1000px;
}

#inner_header {
    background: #195d8d; /* Old browsers */
    height: 80px;
    margin: 10px auto 30px;
    padding: 0.9375em 1.5em;
    position:relative;
}

#logo {
    float: left;
    width: 118px;
}

#main_nav {
    float: right;
}

#main_nav li {
    display: block;
    float: left;
    padding: 0 0 0 1.25em;
}

#main_nav a {
    color: #fff;
    line-height: 3.42857142em;
    text-decoration: none;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
}

#main_nav a:hover {
    color: rgba(255,255,255,0.6);
}

.lang {
    padding-top: 5px;
}

#secondary {
    float: right;
}

#secondary li {
    display: inline-block;
    margin-left: 10px;
}

#secondary ul {
    margin: 0;
}
/* ===================================
            5. SIDEBAR
=====================================*/
.main_sidebar {
    width: 33.3333%;
}

/* ===================================
              6. FOOTER
=====================================*/
#footer {
    background: #195d8d;
    margin: 0 auto;
    padding: 1.5em;
    text-align: center;
    max-width: 1000px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;  
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

#footer_nav li {
    display: inline-block;
}
#footer_nav a {
    color: #fff;
}
#footer_nav li:before {
    color: #fff;
    content: "|";
    padding: 0 10px;
}
#footer_nav li:first-child:before {
    content: close-quote;
}

.facebook {
    color: #fff;
    margin-left: 0.5em;
}

#footer a:hover {
    color: rgba(255,255,255,0.6);
}

/* ===================================
            7. PORTFOLIO
=====================================*/
.portfolio_block {
    margin: -30px 0 0 -30px;
}

.portfolio_block .portfolio_item {
    display: inline-block;
    float: left;
    vertical-align: middle;
}

.columns3 .portfolio_item {
    width: 33.3333%;
}

.portfolio_item_wrapper {
    cursor: pointer;
    margin: 30px 0 0 30px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.portfolio_item_img {
    position: relative;
}

.portfolio_item_wrapper .view {
    background: rgba(176, 199, 43, 0.7);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.portfolio_item_wrapper:hover .view {
    opacity: 1;
}

.portfolio_item_wrapper a {
    position: relative;
    text-decoration: none;
}

.portfolio_item_wrapper .fa {
    color: #fff;
}

.portfolio_link {
    display: block;
    height: 100%;
    width: 100%;
}

.portfolio_item .fa-2x {
    padding: 0;
}

.zoom.icon {
    display: block;
    height: 30px;
    margin: -15px 0 0 -15px;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(2,2);
    -ms-transform: scale(2,2);
    -webkit-transform: scale(2,2);
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    width: 30px;
    z-index: 10;
}

.zoom {
    color: #fff;
    font-size: 0.875em;
    opacity: 0;
    position: absolute;
    top: 60%;
    left: 0;
    transform: scale(2, 2);
    -ms-transform: scale(2, 2);
    -webkit-transform: scale(2, 2);
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.portfolio_item_wrapper:hover .icon, .portfolio_item_wrapper:hover .zoom {
    opacity: 0.9;
    transform: scale(1,1);
    -ms-transform: scale(1,1);
    -webkit-transform: scale(1,1);
}

/* ===================================
            8. CONTACT FORM
=====================================*/
#contact_form {
    position: relative;
}

form label {
    color: #B0C72B;
    font: 0.875em/1.5em 'Open Sans', sans-serif;
}

form label.error {
    display: block;
    color: #e9266d;
    padding-top: 7px;
    font-size: 0.875em;
    font-style: italic;
    position: absolute;
    top: 0px;
    left: 435px;
}

form input[type="text"], form input[type="email"], form textarea {
    background-color: #B0C72B;
    border: 0;
    color: #fff;
    font-size: 1em;
    height: 36px;
    line-height: 1.5em;
    padding: 5px 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease-in; 
    -webkit-transition: all 0.3s ease-in;
    width: 380px;
}

.form_input {
    position: relative;
}

.form_input .label {
    background: #2c3e50;
    color: #fff;
    display: block;
    float: left;
    padding: 10px 0;
    width: 40px;
}

.form_input .form_text {
    height: 6em;
}

.form_input input {
    float: left;
}

form input[type="text"]:focus, form input[type="email"]:focus, form textarea:focus {
    background: #7f8f1f;
}

textarea {
    min-height: 6em;
}

#submit {
    background: #B0C72B url('../images/icon-submit.png') 50% 50% no-repeat;
	border: 0px;
    cursor: pointer;
    margin-top: 10px;
	text-indent: -9999px;
	height: 40px;
	width: 140px;
}

#submit:hover {
	background: #7f8f1f url('../images/icon-submit.png') 50% 50% no-repeat;
}

form input[type="text"][disabled], form input[type="email"][disabled], form textarea[disabled] {
    background:#fff;
}

form input[type="text"].error, form input[type="email"].error, form textarea.error {
    background:#e9266d;
}

.required {
    color:#e9266d;
}

#success, #error {
    display:none;
    position: relative;
}

#success span, #error span {
    display:block;
    padding: 10px;
    position:absolute;
    bottom: 0px;
    width:100%;
}

#success span {
    background: #9bd32d;
}

#error span {
    background: #e9266d;
}

#success span p, #error span p {
    color: #fff;
    font-size: 0.875em;
    font-style: italic;
    font-weight: 700;
    padding: 0;
}

/* ===================================
         9. FONT AWESOME ICONS
=====================================*/
.fa {
    color: #195d8d;
}

#footer > p > a > .fa {
    color: #fff;
}

.icon-30 {
    width: 30px; 
}

.fa-sl {
    padding-right: 0.5em;
}

.margin-bottom-sm {
    margin-bottom: 5px;
}

.input-group-addon, .input-group-btn, .input-group .form-control {
    display: table-cell;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group-addon {
    color: #fff;
    background: #2c3e50;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    padding: 6px 12px;
    text-align: center;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group .form-control {
    display: table-cell;
    width: 100%;
    margin-bottom: 0;
}

/* ===================================
            10. ACCORDION
=====================================*/
.ui-accordion-header {
    background: #2c3e50;
    color: #fff;
    cursor: pointer;
    margin: 0;
    padding: 10px 40px;
    position: relative;
}

.ui-accordion-content {
    background: #eee;
    padding: 1.5em;
}

.ui-icon {
    background: #2c3e50 url('../images/accordion-icon.png') no-repeat;
}

.ui-icon-triangle-1-e {
    background-position: 0px;
}

.ui-icon-triangle-1-s {
    background-position: -15px;
}

.ui-icon {
    display: block;
    height: 14px;
    overflow: hidden;
    width: 14px;
}

.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    margin-top: -8px;
    position: absolute;
    left: 15px;
    top: 50%;
}

/* ===================================
         12. ISOTOPE MASONRY
=====================================*/
/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}


/* ===================================
           . MEDIA QUERIES
=====================================*/
@media only screen and (max-width : 1040px) {
    body {
        padding: 0 20px;
    }
}
