/*
Theme Name: Patricia
Theme URI: http://patriciadoreye.com
Author: PHPSmashCode
Author URI: https://phpsmashcode.com/
Description: Theme developeded for http://patriciadoreye.com
Version: 1.0
Tags: blog,  custom-menu, featured-images 
Text Domain: patriciadoreye

*/
/*  
	CSS Reset by Eric Meyer - Released under Public Domain
    http://meyerweb.com/eric/tools/css/reset/
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

:focus {
    outline: 0;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    color: #000000;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: #000000;
}

a hover {
}

/*
img {
	width: 100%;
	height: auto;
}
*/

/* Selection */

::selection {
    background-color: #66ccff;
    color: #ffffff;
}

::-moz-selection {
    background-color: #66ccff;
    color: #ffffff;
}

/* Headers */

h1 {
    font-weight: normal;
    font-style: normal;
    font-family: 'ralewaylight';
    font-size: 1.5rem;
    text-align: left;
}

h2 {
    font-family: 'ralewaymedium';
    font-size: 1rem;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

h3 {
    font-family: 'ralewaylight';
    font-size: 1.6rem;
    line-height: 2.5rem;
    margin: 20px 0 30px 0;
    text-transform: uppercase;
}

h4 {
    float: left;
    font-family: 'ralewaylight';
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

h5 {
    float: left;
    font-family: 'ralewaythin';
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 0 0 10px 10px;
}

/* NAV */

.barra-menu {
    width: 100%;
    overflow: hidden;
    top: 0;
}

.menu {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #333;
    z-index: 2;
}

.lista-menu li {
    text-transform: uppercase;
    display: inline-block;
    float: left;
    width: 14.28571428571429%;
    /*border-right: 1px solid #7E7E7E;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;*/
}

/*.lista-menu li:first-child {
    width: 11%;
}
.lista-menu li:nth-child(2) {
    width: 12%;
}
.lista-menu li:nth-child(3) {
    width: 12%;
}
.lista-menu li:nth-child(4) {
    width: 12%;
}
.lista-menu li:nth-child(5) {
    width: 12%;
}
.lista-menu li:nth-child(6) {
    width: 18%;
}
.lista-menu li:nth-child(7) {
    width: 12%;
}
.lista-menu li:last-child {
    border-right: none;
    width: 11%;
}*/

.lista-menu a, .btn-menu {
    display: block;
    width: 100%;
    height: 3em;
    line-height: 3em;
}
nav li ul {
    position: absolute;
    display: none;
    width: inherit;
}

nav li:hover ul {
    display: block;
}
#menu-item-69 {
    background-color: #ffffff;
    text-align: left;
    float: left;
    display: contents;
	white-space: nowrap;
}
#menu-item-461 {
    background-color: #ffffff;
    text-align: left;
    float: left;
    display: contents;
	white-space: nowrap;
}
#menu-item-560 {
    background-color: #ffffff;
    text-align: left;
    float: left;
    display: contents;
    white-space: nowrap;
}
#menu-item-565 {
    background-color: #ffffff;
    text-align: left;
    float: left;
    display: contents;
    white-space: nowrap;
}
.btn-menu {
    display: none;
}

/* Alignment */

.aln-izquierda {
    text-align: left;
}

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

.aln-derecha {
    text-align: right;
}

/* Colors */

.lista-menu a, .btn-menu {
    text-decoration: none;
    color: #000;
    background-color: #fff;
    transition: background-color 0.5s ease;
}

.lista-menu a:hover {
    color: #000;
    background-color: #e6e6e6;
}

nav {
    margin: 0 auto;
    text-align: center;
}

nav p {
    font-family: 'ralewaylight';
    font-size: 1.2rem;
    margin-top: 10px;
    text-transform: uppercase;
}

.logo {
    height: 400px;
    margin: 20px 0;
    transition: all 0.5s;
}

/* Fade Hide Logo - Homepage */

.hide {
    opacity: 0;
    top: -300px;
}

.show {
    opacity: 1;
    top: 0;
}

/* Sticky */

#navWrap {
    height: 10px;
}

.sticky {
    width: 1280px;
    left: 50%;
    margin-left: -640px;
    height: 100px; /*60px*/
    position: fixed;
    padding: 10px 0 0 0;
    top: 0;
    z-index: 23;
    /*background-color: rgba(255, 255, 255, 0.95);*/
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0); /* IE6-9 */
}

#header {
}

#main_content {
}

#footer p {
}

/* Alignment */

.center {
    text-align: center;
    margin: 140px 0 100px 0;
    letter-spacing: 1px;
    line-height: 2rem;
}
#nospace {
	padding: 0 !important;
}

/* Containers */

#container {
    position: relative;
    width: 1280px;
    display: table;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
    font-family: 'ralewaylight';
    font-size: 1rem;
    line-height: 1.6rem;
    z-index: 1;
}

.full-width {
    width: 100%;
    float: left;
    text-align: justify;
    padding: 0 0 50px 0;
    /*border-bottom: 1px solid #cccccc;*/
}

.full-width:last-child {
    border-bottom: 0px solid #cccccc;
}

.full-width a {
    text-decoration: underline;
}

.half {
    width: 50%;
    float: left;
    text-align: justify;
}

.half img {
    /*width: auto;*/
    height: auto;
}
.page-id-5 .half img {
    width: auto;
    height: auto;
}
.description {
    width: 75%;
    float: left;
    text-align: justify;
}
.desc {
    font-size: 0.85rem;
    margin: 0 20px 10px 0px;
    line-height: 1.3rem;
}
.third {
    width: 33%;
    float: left;
}

.third img {
    width: 97%;
    height: auto;
}

.quarter {
    width: 25%;
    float: left;
}

.quarter img {
    width: 100%;
    height: auto;
    border: 10px solid #ffffff;
}

.one-height {
    float: left;
    width: 16%;
    margin-right: 10px;
}

.one-height img {
    width: 100%;
    height: auto;
}

.one-height:last-child {
    margin-right: 0;
}

/* LAYOUT HOMEPAGE */

/*.home .one-height {
    width: 220px;
}*/
.home .seven-height {
    width: 90%;
	float: left;
}
.one-height img {
    width: 410px;
    height: 266px;
    /*width: 200px;
    height: 263px;*/
}


.two-height {
    display: table-cell;
    background-color: #e5e5e5;
    width: 250px;
    height: 260px;
    float: right;
    margin-top: -450px;
    padding: 20px 20px;
    font-size: 0.9rem;
    line-height: 1.4rem;
    text-align: justify;
    letter-spacing: 0.5px;
}

.two-height p {
    text-decoration: underline;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
}

.two-height a {
    text-transform: uppercase;
    text-decoration: none;
}

.three-height {
    max-width: 480px;
    padding: 0 25px 0 0;
    text-align: justify;
    letter-spacing: 0.5px;
}

.six-height {
    display: table-cell;
    width: 100%;
    padding-top: 25px;
    text-align: left;
}
#m-right {
	margin-right: 25px;
}
.video-title {
    width: 25%;
    float: left;
	text-align: left;
}

.video-desc {
    width: 55%;
    float: left;
    text-align: justify;
    padding-right: 50px;
}

.video-title-itw {
    width: 26%;
    float: left;
}

.video-desc-itw {
    width: 68%;
    float: left;
    text-align: justify;
}

.video-credit-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

.video-credit {
    width: 15%;
    font-size: 0.95rem;
    line-height: 1.5rem;
    float: left;
}
.thanks {
    font-size: 0.85rem;
}

#column-count {
    text-align: left;
    -webkit-column-count: 4; /* Chrome, Safari, Opera */
    -moz-column-count: 4; /* Firefox */
    column-count: 4;
    font-size: 0.9rem;
}

#column-count li {
    color: #000000;
    text-transform: uppercase;
}

#column-count ul a {
    text-decoration: none;
}

#column-count li:hover {
    background-color: #66ccff;
    color: #ffffff;
}

.slider {
    width: 100%;
    float: left;
    text-align: justify;
    /*padding: 20px 0 0 0;*/
}

/*.slider img {
    margin: 0 9px 0 0;
}*/

.full-three-thumbs {
    margin: 30px 0 0 0;
}

.full-three-thumbs img {
    margin: 0 25px 0 0;
}

.full-three-thumbs img:last-child {
    margin: 0 0 0 0;
}

/* HOMEPAGE */

.home h5 {
    text-transform: uppercase;
}

.page-id-62 a {
    text-decoration: none;
}

.size {
    width: 100% !important;
}
.blue h3::before { 
    content: " ";
	border-left: 2px solid #66ccff;
    margin-right:10px;
}
.yellow h3::before { 
    content: " ";
    border-left: 2px solid #ffcc66;
    margin-right:10px;
}
.red h3::before { 
    content: " ";
    border-left: 2px solid #ff6666;
    margin-right:10px;
}
.pink h3::before { 
    content: " ";
    border-left: 2px solid #ff66ff;
    margin-right:10px;
}
.green h3::before { 
    content: " ";
    border-left: 2px solid #66ff66;
    margin-right:10px;
}
.grey h3::before { 
    content: " ";
    border-left: 2px solid #999999;
    margin-right:10px;
}




/* ABOUT */

.page-id-5 .half p {
    display: inline;
}

/* Portfolio image info bloc text */

.portfolio-title {
    text-transform: uppercase;
    font-family: 'ralewaymedium';
    font-size: 1rem;
    margin: 15px 0 15px 0;
}

.portfolio-text {
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1.3rem;
    text-align: justify;
}

.btn-download {
    font-size: 0.8rem;
    letter-spacing: 1px;
    background-color: #cccccc;
    width: 100%;
    height: 25px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.5s ease;
	cursor: pointer;
}

.btn-download:hover {
    background-color: #666666;
    color: #cccccc;
}

.portfolio-gallery {
    font-family: 'ralewaymedium';
    font-size: 1rem;
    margin: 20px 0 10px 0;
}

.portfolio-gallery-list {
    margin: 10px 0 20px 0;
}

.portfolio-gallery-list li {
    font-size: 0.8rem;
    line-height: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Royal Slider Portfolio */

#gallery-1 {
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Royal Slider Single Slide Homepage */

.contentSlider {
    width: 100%;
}
#slide-reset-height .rsOverflow {
    padding-top: 0;
}
.contentSlider img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-slider-bg {
    width: 86%;
    padding: 24px 7%;
}

/* Royal Slider BOOKS */

.page-template-template-books .royalSlider {
    margin-top: 205px;
}

/* Royal Slider PHOTOGRAPHERS */

.page-template-template-photographers_SAVE .btn-download {
    display: none;
}

.page-template-template-photographers_SAVE .royalSlider {
    margin-top: 215px;
}

.page-template-template-photographers_SAVE .btn-download {
    display: none;
}

.page-template-template-photographers_SAVE .rsThumb img {
    height: 263px !important;
}
.page-template-template-itw-press .royalSlider {
    margin-top: 230px;
}

/* Royal Slider Video Gallery */

#video-gallery {
    width: 100%;
}

.videoGallery .rsTmb {
    padding: 14px;
}

.videoGallery .rsThumbs .rsThumb {
    width: 220px;
    height: 95px;
    border-bottom: 1px solid #2E2E2E;
}

.videoGallery .rsThumbs {
    width: 220px;
    padding: 0;
}

.videoGallery .rsThumb:hover {
    background: #cccccc;
}

.videoGallery .rsThumb.rsNavSelected {
    background-color: #02874A;
    border-bottom: #02874A;
}

.sampleBlock {
    left: 3%;
    top: 1%;
    width: 100%;
}

.rsABlock.sampleBlock {
    text-transform: none;
}

/* VIDEO CAPTION */

.rsABlock.sampleBlock {
    max-width: 1280px;
    left: 50%;
    margin-left: -640px;
    margin-top: 60px !important;
    text-decoration: none;
    font-size: 1rem;
    color: #000000;
    line-height: 1.7rem;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.90)
}

@media screen and (min-width: 0px) and (max-width: 500px) {
    .videoGallery .rsTmb {
        padding: 6px 8px;
    }

    .videoGallery .rsTmb h5 {
        font-size: 12px;
        line-height: 17px;
    }

    .videoGallery .rsThumbs.rsThumbsVer {
        width: 100px;
        padding: 0;
    }

    .rsDefault .rsTmb h5 {
        font-size: 12px !important;
    }

    .rsDefault .rsBtnCenterer {
        top: 23% !important;
    }

    .videoGallery .rsThumbs .rsThumb {
        width: 100px;
        height: 70px;
    }

    .videoGallery .rsTmb span {
        display: none;
    }

    .videoGallery .rsOverflow,
    .royalSlider.videoGallery {
        height: 300px !important;
    }

    .sampleBlock {
        font-size: 14px;
    }

    .page-template-template-interview .rsContent {
        padding-top: 0;
    }

    .page-template-template-interview .rsDefault .rsThumbsVer {
        padding-top: 0;
    }
}

/*-------------------------
	CONTACT WPForms
--------------------------*/

.page-id-127 .three-height {
    margin-left: 50px;
}

div.wpforms-container-full, div.wpforms-container-full .wpforms-form * {
    font-weight: normal !important;
}

/*-------------------------
	The footer
--------------------------*/

footer {
    height: 245px;
    color: #ccc;
    font-size: 1rem;
    font-family: 'ralewaylight';
    position: relative;
    z-index: 0;
    background-color: #ffffff;
}

/* Set a width to the outermost UL and center it */

footer > ul {
    width: 1280px;
    position: fixed;
    left: 50%;
    bottom: -340px;
    margin-left: -640px;
    padding-bottom: 140px;
    z-index: -1;
}

/* The four columns of links */

footer > ul > li {
    width: 16.66666666666667%;
    float: left;
}

footer ul {
    list-style: none;
}

/* The links */

footer > ul > li ul li {
    font-weight: bold;
    line-height: 1.8;
    font-size: 0.75rem;
    text-transform: uppercase;
}

footer > ul > li ul li a {
    text-decoration: none !important;
    color: #666666 !important;
}

footer > ul > li ul li a:hover {
    color: #000000 !important;
}

/* The company logo */

footer a.logo {
    color: #e4e4e4 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    text-transform: uppercase;
    margin-left: 30px;
    display: inline-block;
    margin-top: 7px;
}

footer a.logo i {
    font-style: normal;
    position: absolute;
    width: 60px;
    display: block;
    left: 48px;
    top: 18px;
    font-size: 12px;
    color: #999;
}

footer a.logo:before {
    content: '';
    display: inline-block;
    background: url('img/patricia-d-oreye-logo-small.png') no-repeat 0px 0px;
    width: 85px;
    height: 152px;
    vertical-align: text-top;
}

/* Common styles for the four color bars */

footer p {
    width: 100%;
    margin-right: 10%;
    padding: 0;
    line-height: 18px;
    font-size: 1.1rem;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
    cursor: default;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

footer > ul > li:hover p {
    opacity: 1;
}

/*-------------------------
	The different colors
--------------------------*/

footer p.home {
    background-color: none;
}

footer p.home:before {
    background-position: 0 -110px;
}

footer p.services {
    background-color: none;
}

footer p.services:before {
    background-position: 0 -129px;
}

footer p.reachus {
    background-color: none;
}

footer p.reachus:before {
    background-position: 0 -89px;
}

footer p.clients {
    background-color: none;
}

footer p.clients:before {
    background-position: 0 -69px;
}

/* @ font-face */

@font-face {
    font-family: 'ralewaylight';
    src: url('font/raleway-light-webfont.woff2') format('woff2'),
    url('font/raleway-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'ralewaythin';
    src: url('font/raleway_thin-webfont.woff2') format('woff2'),
    url('font/raleway_thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'ralewaymedium';
    src: url('font/raleway-medium-webfont.woff2') format('woff2'),
    url('font/raleway-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* RESPONSIVE */

@media only screen and (max-width: 1300px) {

	#container {
    max-width: 1280px;
	width: auto;
    display: flow-root;
	}	

    footer {
        display: none;
    }
	
    .one-height {
        width: 15%;
    }

    .rsABlock.sampleBlock {
        left: 0;
        margin-left: 0;
    }

    .two-height {
        height: 260px;
        margin-top: -370px;
    }
}

@media only screen and (max-width: 960px) {
	
	body {overflow-x:hidden;} 

    .half {
        width: 100%;
        margin-top: 20px;
    }

    .half img {
        width: auto;
    }

    .center {
        margin-top: 90px;
    }

    .three-height {
        max-width: 100%;
        padding: 0;
    }

    .two-height {
        display: none;
    }

    .full-three-thumbs {
        margin: 30px 0 0 0;
        text-align: center;
    }

    .third {
        width: 50%;
        float: left;
    }

    .third:last-child {
        display: none;
    }

    .quarter {
        width: 50%;
        float: left;
    }

    .quarter img {
        width: 97%;
        border: none;
    }

    #column-count {
        font-size: 0.8rem;
        line-height: 1.4rem;
    }

    /* ARTICLES */
    .rsGCaption {
        left: 0 !important;
    }

    .portfolio-gallery-list {
        display: none;
    }

    .portfolio-title {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    .btn-download {
        height: 65px;
        margin-bottom: 20px;
        padding: 20px;
        background-color: #666666;
        color: #ffffff;
        font-weight: bold;
    }

    /* MOTION */
    .center {
        margin-top: 90px;
    }

    #slide-reset-zero .royalSlider {
        margin-top: -55px !important;
    }

    .rsDefault .rsBtnCenterer {
        top: 12% !important;
    }

    .video-title {
        width: 60%;
    }

    /* INTERVIEWS */
    .rsABlock.sampleBlock {
        display: block;
        top: 440px !important;
    }

    .video-desc-itw {
        width: 85%;
    }

    .video-desc {
        width: 85%;
    }

    .video-title-itw {
        width: 60%;
    }
}

/* Media Queries */

@media screen and (max-width: 800px) {
	
    #pagina {
        width: 100%;
    }

    .btn-menu {
        display: block;
        background-color: #e6e6e6;
    }

#submenu {
        display: none;
    }
  /* Sub Menus */

nav li ul {
    position: relative !important;
    display: block !important;
    width: inherit;
  }

	.lista-menu li:first-child {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(2) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(3) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(4) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(5) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(6) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:nth-child(7) {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
	.lista-menu li:last-child {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
	}
    #column-count ul {
        width: 500px;
        list-style: none;
        max-height: 200px;
        margin: 0;
        overflow: auto;
        padding: 0;
        text-indent: 10px;
    }

    .video-title {
        width: 100%;
    }

    .video-desc {
        padding-top: 20px;
    }

    .video-title-itw {
        width: 100%;
    }

    .video-desc-itw {
        width: 100%;
        padding-top: 20px;
    }

    .video-credit {
        width: 100%;
        padding: 25px 0;
        line-height: 1.4rem;
    }

    .page-template-template-photographers_SAVE .center {
        margin: 140px 0 10px 0;
    }

    /* HOME */
    .home .rsImg.rsMainSlideImage {
        width: auto !important;
    }
	.home .one-height {
    width: 30%;
	}
    .one-height:nth-child(4) {
        display: none;
    }
    .one-height:nth-child(5) {
        display: none;
    }
    .one-height:last-child {
        display: none;
    }
    /* ROYALSLIDER IMAGE BIG IMG */
    .rsImg.rsMainSlideImage {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .page-template-template-books .rsImg.rsMainSlideImage {
        width: 100% !important;
        margin-left: 0 !important;
    }
	
	.page-template-template-article .royalSlider {
        margin-top: 45px !important;
    }
	
	.page-template-template-article-cannes .page-id-551 .royalSlider {
    	margin-top: 0;
	}
	.page-id-551 .royalSlider {
    margin-top: 50px !important;
}

    .royalSlider {
        margin-top: 300px !important;
    }

    .page-template-template-books .royalSlider {
        margin-top: 250px !important;
    }

    .page-template-template-itw-press .royalSlider {
        margin-top: 230px !important;
    }
	
    .page-template-template-photographers_SAVE .royalSlider {
        margin-top: 370px !important;
    }

    .page-template-template-article .rsDefault .rsGCaption {
        top: 367px !important;
    }

    .page-template-template-article .btn-download {
        width: 94%;
        height: 25px;
    }
	.page-template-template-itw-press .btn-download {
        width: 85%;
        height: 25px;
    }

    /* INTERVIEWS */
    .rsABlock.sampleBlock {
        display: block;
        top: 310px !important;
    }

    .video-desc-itw {
        width: 85%;
    }
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 2rem;
        text-decoration: none;
    }

    .logo {
        height: auto;
    }

    .fade img {
        width: 40%;
        height: auto;
    }

    .center {
        margin: 60px 0 50px 0;
        letter-spacing: 0;
    }

    .full-width {
        padding: 0 0 50px 0;
        text-align: left;
    }

    .half {
        text-align: left;
    }

    .half img {
        width: 100%;
        height: auto;
    }

    .half p {
        display: none;
    }

    .full-three-thumbs {
        margin: 0 0 0 0;
    }

    .full-three-thumbs img {
        width: 100%;
        height: auto;
    }

    #column-count ul {
        width: 250px;
    }

    .page-id-127 .three-height {
        margin-left: 0;
    }

    /* INTERVIEWS */
    .rsABlock.sampleBlock {
        top: 150px !important;
        padding: 0;
    }

    .video-title-itw {
        width: 80%;
    }

    .page-template-template-article .btn-download {
        width: 86%;
    }

    /* PHOTOGRAPHERS */
    .page-template-template-photographers_SAVE .portfolio-text p {
        display: none;
    }

    .page-template-template-photographers_SAVE .center {
        margin: 40px 0 10px 0;
    }
}

/*=============  Code Start =================*/

/*--------------- Gallery Popup Styling Start ----------------*/

/*Gallery Popup Button*/
.gallery-btn-wrapper {
    text-align: center;
    display: none;
}

.gallery-btn-wrapper #showFullGallery{
    color: #fff;
    background-color: #007bff;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    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;
    -webkit-appearance: button;
}

.gallery-btn-wrapper #showFullGallery:hover{
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    cursor: pointer;
}

/*Gallery Popup*/

#allGalleryPopup{
    position: fixed;
    z-index: 1050;
    background-color: white;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    transition: 0.3s;
}

.popup-hide{
    opacity: 0;
    visibility: hidden;
}

.popup-show{
    opacity: 0.95;
    visibility: visible;
}

.popup-header{
    height: 60px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
}

.popup-title{
    font-weight: bold;
    margin: 0 0 0 25px;
}

.popup-header .close{
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    -webkit-transition: 0.3s time;
    -moz-transition: 0.3s time;
    -ms-transition: 0.3s time;
    -o-transition: 0.3s time;
    transition: 0.3s time;
}

.popup-header .close:hover{
    color: #222;
    cursor: pointer;
}

.popup-body{
    padding: 20px 30px;
}

.all-gallery-items .gallery-item-wrapper {
    display: inline-block;
    width: 50%;
}

.all-gallery-items .gallery-item{
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #000;
    display: block;
    padding: 0 5px;
    -webkit-transition: 0.3s time;
    -moz-transition: 0.3s time;
    -ms-transition: 0.3s time;
    -o-transition: 0.3s time;
    transition: 0.3s time;
}

.all-gallery-items .gallery-item:hover {
    color: #fff;
    background-color: #66ccff;
}

@media screen and (max-width: 800px){

    .gallery-btn-wrapper{
        display: block;
		z-index: 1;
		position: relative;
    }

    .page-template-template-article #column-count{
        display: none;
    }
}

@media screen and (max-width: 767px){

    .all-gallery-items .gallery-item{
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 600px){
	
	.full-width {
    padding: 0 0 0 0;
	}
    .all-gallery-items .gallery-item-wrapper {
        width: 100%;
    }
	
    /* HOME */
	.home .portfolio-text {
    display: none;
	}
	.one-height img {
    width: 100%;
    height: auto;
	}
	.home .one-height {
    width: 100%;
	}
}

/*--------------- Gallery Popup Styling Ends ----------------*/

/*=============  Code Ends =================*/